/*
 * AGRISTAR SOLUTIONS - ENHANCED & MODERNIZED CSS
 * Color Palette:
 *   - Primary Green (Dark): #0a3d16
 *   - Accent Green (Bright): #7ed56e
 *   - Highlight Gold: #ffb700
 *   - Neutral Background: #f9f9f9
 *   - Text Color: #333
 */

/* --- 1. Global Reset & Typography --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* A more modern, clean font for headings */
    color: #0a3d16;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #7ed56e;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a3d16;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
}

/* --- 2. Header & Navigation --- */
.main-header {
    background-color: #ffffff;
    border-bottom: 4px solid #7ed56e;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    height: 50px;
    width: auto;
}

.main-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-header nav a {
    color: #333;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.main-header nav a:hover {
    background-color: #e8f5e9; /* Light green tint */
    color: #0a3d16;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 2px solid #0a3d16;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0a3d16;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle:focus-visible {
    outline: 3px solid rgba(10, 61, 22, 0.3);
}

/* --- Header Download Button --- */
.header-download {
    margin-left: auto;
}

.download-button {
    display: flex;
    align-items: center;
    background-color: #0a3d16;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.download-button i {
    font-size: 1.6em;
    margin-right: 12px;
}

/* --- 3. Hero Banner Section --- */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: white;
}

.banner-scroll-container {
    width: 100%;
    height: 100%;
}

.banner-carousel {
    display: flex;
    width: 300%; /* 3 slides */
    height: 100%;
    animation: continuous-scroll 24s linear infinite;
    will-change: transform;
    animation-delay: 0s;
}

.banner-slide {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #0a3d16; /* Fallback color if image fails to load */
    min-height: 500px;
    flex-shrink: 0;
}

.banner-gradient-slide {
    background: linear-gradient(to right, #8a9a8a 0%, #6b7a7b 100%) !important;
    background-image: none !important;
    position: relative;
}

.banner-gradient-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #32ff32;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 22, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    opacity: 1;
    animation: fadeInContent 1s ease-in;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h2 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #ffb700;
    color: #0a3d16;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #fff;
    color: #0a3d16;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes continuous-scroll {
    0% { transform: translateX(0); }
    25% { transform: translateX(0); }
    33.33% { transform: translateX(-100%); }
    58.33% { transform: translateX(-100%); }
    66.66% { transform: translateX(-200%); }
    91.66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* --- 4. About Section --- */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
    text-align: center;
    position: relative;
}

.about-section h3 {
    font-size: 2.8em;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7ed56e, #ffb700);
    border-radius: 2px;
}

.about-section p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #666;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: justify;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    flex-basis: 300px;
    padding: 35px;
    background: #fff;
    border: 2px solid #e8f5e9;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(126, 213, 110, 0.2);
    border-color: #7ed56e;
}

.feature-item h4 {
    color: #0a3d16;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.feature-item h4 i {
    color: #7ed56e;
    font-size: 1.2em;
}

.feature-item p {
    color: #666;
    font-size: 1em;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .main-header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 4%;
    }

    .header-download {
        order: 2;
        display: flex;
        justify-content: flex-end;
        width: auto;
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: 10px;
    }

    .main-header nav {
        order: 4;
        width: 100%;
        display: none;
        background: #ffffff;
        border-radius: 14px;
        padding: 6px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        border: 1px solid #e8f5e9;
        margin-top: 5px;
    }

    .main-header nav.open {
        display: block;
        animation: fadeDown 0.25s ease;
    }

    .main-header nav ul {
        flex-direction: column;
        gap: 0;
        border-radius: 10px;
        overflow: hidden;
    }

    .main-header nav li + li {
        border-top: 1px solid #e8f5e9;
    }

    .main-header nav a {
        display: block;
        padding: 12px 18px;
        background-color: #fff;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .main-header {
        gap: 6px;
        padding: 10px 4%;
    }

    .logo {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }

    .header-download {
        order: 2;
        flex: 1 1 calc(100% - 60px);
        min-width: 0;
        display: flex;
        justify-content: flex-start;
        margin: 0;
    }

    .header-download .download-button {
        width: 100%;
        justify-content: center;
        font-size: 0.85em;
        padding: 8px 16px;
    }

    .menu-toggle {
        order: 3;
        flex: 0 0 44px;
        margin-left: 12px;
    }
}

/* --- 5. Products Section --- */
.products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 50%, #f8fff9 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7ed56e, #ffb700);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-top: 25px;
    font-weight: 400;
}

.product-carousel-container {
    position: relative;
}

.product-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.product-grid-new {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.product-grid-new::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-grid-new .product-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
}

/* Category Scroll Wrapper */
.category-scroll-wrapper {
    position: relative;
    width: 100%;
}

/* Category Scroll Container - Show 4 items, scroll for rest */
.category-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox - Hide scrollbar */
    -ms-overflow-style: none; /* IE and Edge - Hide scrollbar */
    position: relative;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Category Scroll Buttons */
.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 2px solid #7ed56e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #0a3d16;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    outline: none;
}

.category-scroll-btn:hover {
    background-color: #7ed56e;
    color: #fff;
    box-shadow: 0 6px 20px rgba(126, 213, 110, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.category-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.category-scroll-left {
    left: -25px;
}

.category-scroll-right {
    right: -25px;
}

.category-grid-scroll {
    display: flex;
    gap: 30px;
    padding: 10px 20px;
    width: max-content;
}

.category-grid-scroll .category-card {
    flex: 0 0 280px; /* Fixed width for each card */
    min-width: 280px;
    max-width: 280px;
    width: 280px;
}

/* Fixed size for category card images - match product section */
.category-card .product-image-container {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card .product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(126, 213, 110, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.category-card:hover .product-image-container::after {
    opacity: 1;
}

.category-card .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) saturate(1);
}

.category-card:hover .product-image-container img {
    transform: scale(1.2);
    filter: brightness(1.1) saturate(1.2);
}

/* Desktop: Show exactly 3 items, scroll for rest - match product section width */
@media (min-width: 1201px) {
    .category-scroll-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .category-scroll-container {
        max-width: calc((280px * 3) + (30px * 2)); /* 3 cards + 2 gaps - exactly 3 visible */
        margin: 0 auto;
        overflow-x: auto;
        overflow-y: hidden;
    }
}

.product-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.product-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: #7ed56e;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-scroll-arrow:hover {
    background-color: #7ed56e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(126, 213, 110, 0.3);
}

.product-scroll-left {
    left: -20px;
}

.product-scroll-right {
    right: -20px;
}

.product-card {
    flex: 0 0 300px; /* Do not grow, do not shrink, base width of 300px */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #ccc;
}

.product-wishlist {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #999;
    font-size: 18px;
}

.product-wishlist:hover {
    background: #fff;
    color: #e74c3c;
    transform: scale(1.1);
}

.product-wishlist i.fas {
    color: #e74c3c;
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(126, 213, 110, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 22, 0.9), rgba(126, 213, 110, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-btn {
    background-color: #fff;
    color: #0a3d16;
    padding: 14px 32px;
    border-radius: 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.product-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.4);
    background: linear-gradient(135deg, #ffb700, #ff9500);
    color: #0a3d16;
    border-color: #fff;
}

.product-btn i {
    font-size: 1.1em;
}

.product-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
}

.product-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #7ed56e, #55c57a);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    align-self: flex-start;
    box-shadow: 0 3px 10px rgba(126, 213, 110, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover .product-category-tag {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 213, 110, 0.4);
}

.product-icon {
    font-size: 2.5em;
    color: #7ed56e;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.category-card:hover .product-icon {
    transform: scale(1.2) rotate(5deg);
    color: #ffb700;
}

.product-title {
    font-size: 1.6em;
    margin: 0 0 14px;
    color: #0a3d16;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #7ed56e;
}

.product-category {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.product-description {
    font-size: 1.02em;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.product-card:hover .product-description {
    color: #555;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 2px solid #f0f8f0;
    transition: border-color 0.3s ease;
}

.product-card:hover .product-features {
    border-top-color: #e8f5e9;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e9);
    color: #0a3d16;
    padding: 7px 14px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(126, 213, 110, 0.2);
}

.feature-tag i {
    color: #7ed56e;
    font-size: 0.95em;
    transition: transform 0.3s ease;
}

.product-card:hover .feature-tag {
    background: linear-gradient(135deg, #e8f5e9, #d4edda);
    transform: translateX(4px);
    border-color: rgba(126, 213, 110, 0.4);
    box-shadow: 0 2px 8px rgba(126, 213, 110, 0.15);
}

.product-card:hover .feature-tag i {
    transform: scale(1.1);
}

.product-footer {
    padding: 0 20px 20px;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: #fff;
}

/* --- 6. Reviews Section --- */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.review-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border-top: 4px solid #7ed56e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 80px;
    color: #7ed56e;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(126, 213, 110, 0.2);
    border-top-color: #ffb700;
}

.review-card .quote {
    font-style: italic;
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    min-height: 100px;
}

.review-card .customer-name {
    font-weight: 700;
    color: #0a3d16;
    font-size: 1.1em;
    margin-bottom: 15px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
}

.review-card .customer-name::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7ed56e, #55c57a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    flex-shrink: 0;
}

.review-card:nth-child(1) .customer-name::before {
    content: 'BM';
}

.review-card:nth-child(2) .customer-name::before {
    content: 'RS';
}

.review-card:nth-child(3) .customer-name::before {
    content: 'SP';
}

.review-card .rating {
    color: #ffb700;
    font-size: 1.2em;
    margin-top: 0;
    display: flex;
    gap: 3px;
    align-items: center;
    min-height: 25px;
}

.review-card .rating i {
    transition: transform 0.2s ease;
}

.review-card:hover .rating i {
    transform: scale(1.1);
}

/* Responsive adjustments for review section */
@media (max-width: 768px) {
    .review-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .reviews-section {
        padding: 60px 0;
    }
}

/* --- 7. Contact Section --- */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.contact-section h3 {
    font-size: 2.8em;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.contact-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7ed56e, #ffb700);
    border-radius: 2px;
}

.contact-section .subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
    margin-top: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-container, .map-container {
    padding: 35px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
}

.contact-form-container:hover, .map-container:hover {
    box-shadow: 0 12px 35px rgba(126, 213, 110, 0.15);
    transform: translateY(-3px);
}

.contact-form-container h4, .map-container h4 {
    color: #0a3d16;
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 15px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: #7ed56e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(126, 213, 110, 0.1);
    background: #fff;
}

.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover {
    border-color: #b0d4b0;
    background: #fff;
}

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
    border-radius: 12px;
    display: block;
}

/* --- 8. Footer --- */
.main-footer {
    background-color: #fff;
    color: #333;
    padding: 60px 0 0;
    border-top: 1px solid #e0e0e0;
}

.footer-top-section {
    padding-bottom: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #7ed56e;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5em;
    font-weight: 700;
    color: #0a3d16;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.9em;
    color: #666;
    line-height: 1.2;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-contact-item i {
    color: #7ed56e;
    font-size: 1.1em;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-item p {
    margin: 0;
}

.footer-contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #7ed56e;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #7ed56e;
    padding-left: 5px;
}

.footer-middle-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-disclaimer {
    flex: 1;
    color: #999;
    font-size: 0.85em;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #7ed56e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1em;
}

.footer-social a:hover {
    background: #55c57a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(126, 213, 110, 0.4);
}

.footer-bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-copyright {
    color: #999;
    font-size: 0.9em;
}

.footer-copyright a {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #c2185b;
    text-decoration: underline;
}

.footer-app-download {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-app-download p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.google-play-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.google-play-btn:hover {
    transform: scale(1.05);
}

/* --- 9. WhatsApp Support Icon --- */
.whatsapp-support {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-support a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-support a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- 10. Responsive Media Queries --- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-middle-section,
    .footer-bottom-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-app-download {
        flex-direction: column;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-column {
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    .footer-links a {
        text-align: center;
        width: 100%;
    }
    .footer-app-download {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .category-scroll-container {
        max-width: calc((280px * 3) + (30px * 2) + 40px); /* 3 cards + 2 gaps + padding */
    }
}

@media (max-width: 992px) {
    .category-scroll-container {
        max-width: calc((280px * 2) + (30px * 1) + 40px); /* 2 cards + 1 gap + padding */
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h3 {
        font-size: 2.2em;
    }
    
    .about-section p {
        text-align: left;
        padding: 0 15px;
    }
    
    .feature-item {
        flex-basis: 100%;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section h3 {
        font-size: 2.2em;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-header nav ul {
        flex-direction: column;
        gap: 5px;
        width: 100%;
        text-align: center;
    }
    .hero-banner {
        height: 400px;
    }
    .banner-content h2 {
        font-size: 2em;
    }
    .product-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .category-scroll-container {
        max-width: calc((250px * 2) + (20px * 1) + 40px); /* 2 cards + 1 gap + padding */
    }
    .category-grid-scroll .category-card {
        flex: 0 0 250px;
        min-width: 250px;
        max-width: 250px;
        width: 250px;
    }
    .category-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .category-scroll-left {
        left: -20px;
    }
    .category-scroll-right {
        right: -20px;
    }
    .section-title {
        font-size: 2.2em;
    }
    .section-subtitle {
        font-size: 1em;
    }
    .product-card {
        flex: 0 0 100%;
    }
    .product-image-container {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .category-scroll-container {
        max-width: calc(280px + 40px); /* 1 card + padding */
    }
    .category-grid-scroll .category-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        width: 280px;
    }
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 16px 24px;
    min-width: 300px;
    max-width: 500px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    border-left: 4px solid;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #7ed56e;
    background: linear-gradient(135deg, #f0f8f0, #ffffff);
}

.toast-error {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea, #ffffff);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #7ed56e;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-message {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    flex: 1;
}

@media (max-width: 768px) {
    .toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}