/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #1e3d59;
    flex-wrap: wrap;
}

.header .logo img {
    height: 60px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.nav a:hover,
.nav .active {
    color: #f5b041;
}

/* ================= BANNER ================= */
.banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 20px 30px;
    border-radius: 8px;
}

.banner-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 18px;
}

/* ================= PRODUCTS GRID ================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px 8%;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-card h3 {
    margin: 10px 0 5px 0;
    color: #1e3d59;
}

.product-card p {
    margin-bottom: 10px;
    font-size: 14px;
}

.product-card button {
    padding: 10px 20px;
    background: #1e3d59;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.product-card button:hover {
    background: #f5b041;
}

/* ================= FEATURED PRODUCTS ================= */
.featured {
    padding: 40px 8%;
    text-align: center;
}

.featured h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #1e3d59;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.featured-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.featured-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.featured-card h4 {
    color: #1e3d59;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
    background: #f1f1f1;
    padding: 40px 8%;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 30px;
    color: #1e3d59;
}

.testimonial-card {
    background: #fff;
    margin: 15px auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-card span {
    font-weight: bold;
    color: #1e3d59;
}

/* ================= FOOTER ================= */
.footer {
    background: #1e3d59;
    color: #fff;
    text-align: center;
    padding: 30px 8%;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

.footer a:hover {
    color: #f5b041;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 992px) {
    .banner-text h1 {
        font-size: 28px;
    }
    .banner-text p {
        font-size: 16px;
    }
    .product-card img, .featured-card img {
        height: 150px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .banner-text h1 {
        font-size: 20px;
    }

    .banner-text p {
        font-size: 14px;
    }

    .product-card img, .featured-card img {
        height: 120px;
    }

    .products-grid, .featured-grid {
        padding: 20px 5%;
    }

    .testimonial-card {
        width: 90%;
    }
}
/* Container that holds the testimonials */
.testimonial-container {
    height: 250px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
    padding: 10px;
}

/* The actual list of cards moving upward */
.comments-list {
    display: flex;
    flex-direction: column;
    animation: slideUp 15s linear infinite;
}

.comments-list:hover {
    animation-play-state: paused; /* Stops sliding when user hovers mouse */
}

@keyframes slideUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}
/* ================= SOCIAL ================= */
/* ================= PROFESSIONAL SOCIAL SECTION ================= */
.social {
    display: flex;
    justify-content: center; /* Centers the links in the footer */
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.social a {
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff; /* White text for high visibility */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px; /* Rounded pill shape */
    background: rgba(255, 255, 255, 0.1); /* Subtle glass effect */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effect for all links */
.social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #fff;
}

/* Specific Brand Colors on Hover */
.social a.instagram:hover {
    background-color: #E1306C; /* Instagram Pink */
    border-color: #E1306C;
}

.social a.facebook:hover {
    background-color: #4267B2; /* Facebook Blue */
    border-color: #4267B2;
}

.social a.whatsapp:hover {
    background-color: #25D366; /* WhatsApp Green */
    border-color: #25D366;
}