/* ======== GLOBAL STYLES & VARIABLES ======== */
:root {
    /* * :root is where we define global CSS variables for our color palette, 
     * fonts, and consistent layout values.
     */

    /* Existing Colors */
    --primary-accent: #FFD700;
    /* Saffron/Gold for buttons and highlights */
    --text-dark: #333333;
    /* Dark text (for light backgrounds) */
    --text-light: #F0F8FF;
    /* Light creamy text (for dark backgrounds), slightly bluer for green contrast */
    --header-bg: #ffffff;
    /* White background for the header */

    /* NEW GREEN THEME */
    --brand-dark-green: #1A4D2E;
    /* Deep, rich green for main elements & dark sections */
    --brand-medium-green: #3C704D;
    /* A slightly lighter green for accents or text */
    --brand-light-green: #E6F3E9;
    /* Very light green for alternating backgrounds */
    --product-card-bg: #FFFFFF;
    /* White for product cards for contrast */
    --category-divider: #AAD799;
    /* A softer green for dividers */

    /* Update usages */
    --brand-green: var(--brand-dark-green);
    /* Default brand green now dark */
    --bg-light: var(--brand-light-green);
    /* Light background for sections */

    /* Fonts (from your HTML) */
    --font-heading: 'Playfair Display', serif;
    /* For main titles (like hero) */
    --font-body: 'Poppins', sans-serif;
    /* For all body text and links */

    /* Layout */
    --header-height: 5rem;
    /* 80px. Used to offset content and mobile menu */
}

/* ======== BASE & UTILITY STYLES ======== */
* {
    /* * A universal reset.
     * margin/padding: 0 - Removes default browser spacing.
     * box-sizing: border-box - Makes layout math intuitive. 
     * Padding and borders are included *inside* an element's width/height.
     */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* --- NEW --- Smooth Scrolling */
    scroll-behavior: smooth;
}

html {
    /* Apply scroll-behavior to html for cross-browser compatibility */
    scroll-behavior: smooth;
}

/* desktop header height ~90px; mobile ~72px — tune if needed */
:root{
  --header-offset-desktop: 80px;
  --header-offset-mobile: 76px;
}

/* apply to all major sections that are linked from the nav */
section[id]{
  scroll-margin-top: var(--header-offset-desktop);
}
@media (max-width: 768px){
  section[id]{ scroll-margin-top: var(--header-offset-mobile); }
}



body {
    /* Sets the default font and color for the whole page */
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    /* Improves readability */
}

.container {
    /* * A reusable class to center content.
     * max-width: 1200px - Sets a maximum width for large screens.
     * margin: 0 auto - The 'auto' on left/right centers it.
     * padding: 0 1.5rem - Adds 24px of space on the sides for smaller screens.
     */
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    /* Base reset for links */
    text-decoration: none;
    color: inherit;
    /* Links will inherit color from their parent */
}

ul {
    /* Removes default bullet points */
    list-style: none;
}

/* ======== BUTTON STYLES (REUSABLE) ======== */
.btn {
    /* A base class for all buttons */
    display: inline-block;
    padding: 0.75rem 1.5rem;
    /* 12px top/bottom, 24px left/right */
    border-radius: 50px;
    /* Creates the pill shape */
    font-weight: 600;
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    cursor: pointer;
    font-size: 0.9rem;
    border: 2px solid transparent;
    /* Reserve space for border on hover */
}

.btn-primary {
    /* The main "Order Now" button (desktop) */
    background-color: var(--primary-accent);
    color: var(--text-dark);
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    /* Hover effect: Transparent background, green text/border */
    background-color: transparent;
    color: var(--brand-green);
    border-color: var(--brand-green);
}

/* ======== HEADER STYLES ======== */
.header {
    width: 100%;
    position: sticky;
    /* Makes the header "stick" to the top on scroll */
    top: 0;
    left: 0;
    z-index: 100;
    /* Ensures header is above other content */
    background-color: var(--header-bg);
    /* White background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header nav {
    /* * This is the flex container for the navigation bar.
     * justify-content: space-between - Pushes logo to the left and buttons to the right.
     * align-items: center - Vertically centers all items.
     */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    /* Sets a consistent height */
}

.logo img {
    height: auto;
    /* Adjust as needed */
    width: 80px;
    display: block;
    /* Fixes potential small gaps under the image */
}

/* ======== NAVIGATION MENU (DESKTOP) ======== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* 32px space between menu items */
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    /* Dark text on white background */
    position: relative;
    /* Required for the underline animation */
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* Underline animation on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-green);
    transform: scaleX(0);
    /* Start hidden (0% width) */
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    /* Smooth ease-out */
}

.nav-link:hover {
    color: var(--brand-green);
}

.nav-link:hover::after {
    transform: scaleX(1);
    /* Animate to 100% width */
    transform-origin: left;
}

/* This is the "Order Now" button *inside* the mobile menu */
.nav-item-mobile-button {
    display: none;
    /* Hide it on desktop */
}

.nav-buttons {
    /* Container for the desktop button and mobile toggle */
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* The hamburger icon */
.nav-toggle {
    display: none;
    /* Hide on desktop */
    font-size: 1.5rem;
    color: var(--text-dark);
    /* Dark icon on white background */
    background: none;
    border: none;
    cursor: pointer;
}

/* ======== HERO SECTION ======== */
.hero {
    position: relative;
    /* For the overlay */
    width: 100%;
    /* * Full-screen height: 100% of viewport height (vh) 
     * minus the exact height of our sticky header.
     */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    /* Horizontal centering */
    text-align: center;
    overflow: hidden;
    /* Prevents animations from "spilling" */
    padding: 2rem 0;

    /* * Background image. Replace this URL with your own.
     * no-repeat center center/cover - Ensures it covers the area,
     * is centered, and doesn't tile.
     */
    background: url('/assets/images/Arabic-Indo-Pak Grocers & Halal Meats.jpg') no-repeat center center/cover;
}

/* Dark green overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Your brand green with 70% opacity */
    background-color: rgba(26, 77, 46, 0.7);
    z-index: 1;
    /* Sits *below* the text but *above* the image */
}

.hero-content {
    position: relative;
    /* Bring content above the overlay */
    z-index: 2;
    max-width: 900px;
    color: var(--text-light);
    /* Light text on the dark overlay */
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
    /* Saffron color for impact */
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Allows buttons to stack on small screens */
}

/* Base styles for *both* hero buttons */
.btn-hero-primary,
.btn-hero-secondary {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-hero-primary {
    /* Saffron button */
    background-color: var(--primary-accent);
    color: var(--brand-green);
    border-color: var(--primary-accent);
}

.btn-hero-primary:hover {
    background-color: var(--brand-green);
    color: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: translateY(-3px);
    /* Subtle lift */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    /* "Ghost" button */
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-hero-secondary:hover {
    background-color: var(--text-light);
    color: var(--brand-green);
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* ======== HERO ANIMATIONS ======== */
@keyframes fadeInUp {

    /* Defines the "fade in up" animation */
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    /* Class to apply the animation */
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Start hidden */
}

/* Staggered animation delays */
.animate-fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-fade-in-up.delay-2 {
    animation-delay: 0.4s;
}


/* ======== RESPONSIVE (MOBILE) ======== */

/* * This media query targets tablets and mobile phones.
 * 992px is a common breakpoint.
 */
@media (max-width: 992px) {

    /* --- MOBILE MENU --- */

    .nav-menu {
        /* This transforms the desktop nav into a slide-out panel */
        position: fixed;
        top: var(--header-height);
        /* Start just below the header */
        right: -100%;
        /* Start off-screen */
        width: 100%;
        max-width: 400px;
        height: calc(100vh - var(--header-height));
        background-color: var(--header-bg);
        /* White background */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);

        flex-direction: column;
        /* Stack links vertically */
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 3rem 2rem;

        /* Slide animation */
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    /* This class is added by JavaScript to show the menu */
    .nav-menu.nav-open {
        right: 0;
        /* Slide in */
    }

    .nav-link {
        font-size: 1.25rem;
        /* Make links bigger for tapping */
    }

    /* Show the mobile "Order Now" button */
    .nav-item-mobile-button {
        display: block;
        margin-top: 1rem;
    }

    .btn-primary-mobile {
        /* Style for the button *inside* the mobile menu */
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        text-align: center;
        /* Re-use styles from .btn and .btn-primary */
        background-color: var(--primary-accent);
        color: var(--text-dark);
        border: 2px solid var(--primary-accent);
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary-mobile:hover {
        background-color: transparent;
        color: var(--brand-green);
        border-color: var(--brand-green);
    }

    /* Hide desktop button, show mobile hamburger toggle */
    .btn-desktop {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* --- RESPONSIVE HERO --- */

    .hero-title {
        font-size: 2.5rem;
        /* Smaller title */
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.9rem 2rem;
        /* Smaller buttons */
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        /* Stack buttons */
        gap: 1rem;
    }
}

/* Media query for small mobile phones */
@media (max-width: 480px) {
    .logo img {
        height: auto;
        /* Make logo slightly smaller */
    }

    .nav-toggle {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
        /* Less side padding */
    }

    .nav-menu {
        max-width: 100%;
        /* Full width menu */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 80%;
        /* Make buttons wider for easier tapping */
        max-width: 250px;
    }
}

/* ======== WHY CHOOSE US SECTION ======== */
.why-choose-us {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 1 --- */
    background-color: #ffffff;
    /* White */
}

/* Reusable heading styles for sections */
.section-tagline {
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-dark);
}

/* Adjust title color on dark backgrounds */
.ramadan-sale-improved .section-title,
.dark-section .section-title {
    /* Add a .dark-section class if needed elsewhere */
    color: var(--text-light);
    /* Light text on dark green */
}


.section-subtitle {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

/* Adjust subtitle color on dark backgrounds */
.ramadan-sale-improved .section-subtitle,
.dark-section .section-subtitle {
    color: var(--text-light);
    /* Light text on dark green */
    opacity: 0.9;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: var(--brand-green);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-accent);
    margin-bottom: 1.5rem;
    transition: background-color 0.6s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--header-bg);
    /* White */
}


.feature-icon i {
    color: var(--brand-green);
    font-size: 2rem;
    transition: color 0.6s ease;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    transition: color 0.6s ease;
}

.feature-card:hover .feature-title {
    color: var(--header-bg);
    /* White */
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    transition: color 0.6s ease;
}

.feature-card:hover .feature-description {
    color: var(--text-light);
}


/* ======== SCROLL ANIMATIONS ======== */
/*
 * This class sets the "before" state for any element we want to animate.
 * It's hidden (opacity: 0) and slightly moved down (translateY).
 * The 'var(--delay, 0s)' allows us to set a custom delay per-element
 * using an inline style: style="--delay: 0.2s;"
 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.17, 0.55, 0.55, 1),
        transform 0.6s cubic-bezier(0.17, 0.55, 0.55, 1);
    transition-delay: var(--delay, 0s);
}

/* * This class will be added by our JavaScript when the element
 * scrolls into view, triggering the transition.
 */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== PRE-RAMADAN SALE SECTION (IMPROVED) ======== */
.ramadan-sale-improved {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 2 --- */
    background-color: var(--brand-dark-green);
    /* Dark Green */
    color: var(--text-light);
    /* Light text on dark background */
}

.ramadan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 3rem;
    align-items: center;
    /* Vertically align content */
}

.ramadan-text-content {
    padding: 1rem;
}

.ramadan-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--text-light);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.ramadan-main-title .accent-text {
    color: var(--primary-accent);
}

.ramadan-bullet-points {
    list-style: none;
    /* Remove default bullets */
    margin-bottom: 1rem;
    padding-left: 0;
}

.ramadan-bullet-points li {
    display: flex;
    align-items: flex-start;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    gap: 1rem;
    color: var(--text-light);
}

.ramadan-bullet-points li i {
    color: var(--primary-accent);
    font-size: 1.5rem;
    padding-top: 0.1em;
    flex-shrink: 0;
}

.ramadan-discount-info {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.ramadan-discount-info .discount-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.ramadan-discount-info .sale-dates-info {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 1rem;
}

.ramadan-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.ramadan-hero-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.4s ease;
}

.ramadan-image-container:hover .ramadan-hero-image {
    transform: scale(1.05);
}

.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 77, 46, 0.95), rgba(26, 77, 46, 0.4));
    color: var(--text-light);
    padding: 1.5rem 2rem;
    text-align: center;
}

.image-overlay-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-accent);
}

.image-overlay-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
}


/* --- Responsive for Pre-Ramadan Sale (Improved) --- */
@media (max-width: 992px) {
    .ramadan-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ramadan-text-content {
        text-align: center;
        padding: 1.5rem;
    }

    .ramadan-main-title {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .ramadan-bullet-points {
        margin-left: auto;
        margin-right: auto;
        max-width: 450px;
        padding-left: 0;
    }

    .ramadan-bullet-points li {
        justify-content: flex-start;
        font-size: 1.1rem;
        text-align: left;
    }

    .ramadan-discount-info .discount-value {
        font-size: 4rem;
    }

    .ramadan-discount-info .sale-dates-info {
        font-size: 1.2rem;
    }

    .ramadan-image-container {
        height: 450px;
    }

    .ramadan-hero-image {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .ramadan-main-title {
        font-size: 2.5rem;
    }

    .ramadan-discount-info .discount-value {
        font-size: 3.5rem;
    }

    .ramadan-bullet-points li {
        font-size: 1rem;
    }

    .ramadan-hero-image {
        height: 350px;
    }
}

/* ======== UNIQUE SERVICES SECTION ======== */
.unique-services {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 3 --- */
    background-color: #fff;
    /* Light Green */
}

.services-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-accordion {
    /* Container for the accordion items */
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--brand-green);
    background-color: var(--primary-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.accordion-item.is-active .accordion-header .accordion-icon {
    background-color: var(--brand-green);
    /* Invert icon colors */
    color: var(--primary-accent);
}


.accordion-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.4s ease;
}

.accordion-item.is-active .accordion-header .accordion-title {
    color: var(--brand-green);
    /* Highlight title */
}


.accordion-toggle-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-item.is-active .accordion-header .accordion-toggle-icon {
    transform: rotate(180deg);
    /* Flip the arrow */
}


.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-content p {
    overflow: hidden;
    padding: 0 0 0 4rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    min-height: 0;
}

.accordion-item.is-active .accordion-content {
    grid-template-rows: 1fr;
}


.services-image-col {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsive for Unique Services --- */
@media (max-width: 992px) {
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-image-col {
        order: -1;
        height: 400px;
    }

    .services-accordion {
        text-align: center;
    }

    .services-accordion .section-tagline,
    .services-accordion .section-title,
    .services-accordion .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .accordion-content p {
        padding: 0 1rem 0 1rem;
        text-align: left;
    }
}

/* ======== CERTIFICATION SECTION ======== */
.certification-section {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 4 --- */
    background-color: var(--bg-light);
    /* White */
}

.certification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.certification-text .section-subtitle {
    margin-bottom: 1.5rem;
}

.certification-details {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    max-width: 500px;
}

.certification-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.certification-logos img {
    max-width: 250px;
    width: 45%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

/* --- Responsive for Certification Section --- */
@media (max-width: 992px) {
    .certification-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .certification-text {
        text-align: center;
    }

    .certification-text .section-tagline,
    .certification-text .section-title,
    .certification-text .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .certification-details {
        margin-left: auto;
        margin-right: auto;
    }

    .certification-logos {
        gap: 1.5rem;
    }

    .certification-logos img {
        max-width: 200px;
        width: 40%;
    }
}

@media (max-width: 480px) {
    .certification-logos img {
        max-width: 150px;
        width: 45%;
    }
}

/* ======== PRODUCTS SECTION (REDESIGNED) ======== */
.products-section-redesigned {
    /* Updated Class Name */
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 5 --- */
    background-color: var(--bg-light);
    /* Light Green */
    color: var(--text-dark);
}

.products-section-redesigned .section-title {
    color: var(--brand-dark-green);
    /* Ensure title is dark green */
}

.product-category-redesigned {
    /* Updated Class Name */
    margin-bottom: 1rem;
    text-align: center;
}

.product-category-redesigned:last-child {
    margin-bottom: 0;
}

.product-category-redesigned:not(:last-child) {
    border-bottom: 2px solid var(--category-divider);
    padding-bottom: 1rem;
}

.category-title-redesigned {
    /* Updated Class Name */
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Slightly smaller */
    color: var(--brand-medium-green);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.category-title-redesigned::after {
    /* Updated Class Name */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    /* Shorter, thicker underline */
    height: 4px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

.product-grid-redesigned {
    /* Updated Class Name */
    display: grid;
    /* 5 columns on large screens */
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: start;
}

.fish-grid-redesigned {
    /* Updated Class Name */
    /* 4 columns for fish */
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
    /* Adjust max width if needed */
    margin: 0 auto;
}

.product-item-redesigned {
    /* Updated Class Name */
    background-color: transparent;
    /* No card background */
    padding: 0;
    /* Remove padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: default;
    /* No hover effect on the item itself */
    height: auto;
    /* Let content determine height */
    box-shadow: none;
    /* Remove card shadow */
}

.product-item-redesigned:hover {
    transform: translateY(-5px);
    /* Only slight lift on hover */
    box-shadow: none;
}

.product-item-redesigned::before {
    display: none;
    /* Remove hover overlay */
}

.product-image-container-redesigned {
    /* New container for image */
    width: 150px;
    /* Fixed width */
    height: 150px;
    /* Fixed height */
    border-radius: 50%;
    /* Make it circular */
    overflow: hidden;
    /* Clip image to circle */
    margin-bottom: 1rem;
    border: 3px solid var(--brand-medium-green);
    /* Green border */
    background-color: #fff;
    /* White background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item-redesigned:hover .product-image-container-redesigned {
    transform: scale(1.05);
    /* Zoom image container on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.product-item-redesigned img {
    max-width: 80%;
    /* Adjust image size within circle */
    max-height: 80%;
    height: auto;
    object-fit: contain;
    /* Remove previous image styles */
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
    /* Remove margin */
}

.product-name-redesigned {
    /* Updated Class Name */
    font-size: 1.2rem;
    /* Slightly smaller name */
    font-weight: 600;
    /* Medium weight */
    color: var(--brand-dark-green);
    margin-bottom: 0.25rem;
}

.product-description-redesigned {
    /* Updated Class Name */
    font-size: 0.9rem;
    /* Smaller description */
    color: #555;
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

/* --- Responsive Adjustments for Redesigned Products --- */
@media (max-width: 992px) {
    .category-title-redesigned {
        font-size: 2rem;
    }

    .product-grid-redesigned {
        /* 3 columns on tablet */
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .fish-grid-redesigned {
        /* 2 columns for fish */
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-container-redesigned {
        width: 130px;
        height: 130px;
    }

    .product-name-redesigned {
        font-size: 1.1rem;
    }

    .product-description-redesigned {
        font-size: 0.85rem;
        max-width: 160px;
    }
}

@media (max-width: 600px) {

    /* Add a breakpoint for smaller tablets/large phones */
    .product-grid-redesigned {
        /* 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }

    .fish-grid-redesigned {
        /* 2 columns for fish */
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-container-redesigned {
        width: 110px;
        height: 110px;
    }
}


@media (max-width: 480px) {
    .products-section-redesigned {
        padding: 2rem 0;
    }

    .category-title-redesigned {
        font-size: 1.6rem;
    }

    .product-category-redesigned:not(:last-child) {
        padding-bottom: 2rem;
    }

    .product-grid-redesigned,
    .fish-grid-redesigned {
        /* Still 2 columns, but adjust gap */
        gap: 1rem;
    }

    .product-image-container-redesigned {
        width: 100px;
        /* Smaller circle */
        height: 100px;
    }

    .product-name-redesigned {
        font-size: 1rem;
    }

    .product-description-redesigned {
        font-size: 0.8rem;
        max-width: 140px;
    }
}

/* ======== BRANDS SECTION ======== */
.brands-section {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 6 --- */
    background-color: #ffffff;
    /* White */
}

.brands-section .section-title {
    color: var(--brand-dark-green);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    /* Allow logos to wrap */
    justify-content: center;
    /* Center logos horizontally */
    align-items: center;
    /* Center logos vertically */
    gap: 2rem 3rem;
    margin-top: 20px;
    /* Row gap and column gap */
}

.brands-grid img {
    height: auto;
    /* Control max height */
    max-width: 114px;
    /* Control max width */
    width: 100%;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Ensure logo fits */
    transition: all 0.3s ease;
    /* Smooth transition */
}



/* --- Responsive Adjustments for Brands --- */
@media (max-width: 768px) {
    .brands-grid {
        gap: 1.5rem 2rem;
        /* Smaller gap */
    }

    .brands-grid img {
        height: auto;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .brands-section .section-title {
        font-size: 2rem;
        /* Smaller title on mobile */
    }

    .brands-grid {
        gap: 1rem 1.5rem;
        padding-top: 20px;
        /* Even smaller gap */
    }

    .brands-grid img {
        height: auto;
        max-width: 80px;
    }
}

/* ======== CONTACT SECTION ======== */
.contact-section {
    padding: 3rem 0;
    /* --- ODD/EVEN COLOR: Section 7 --- */
    background-color: var(--bg-light);
    /* Light Green */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 split */
    gap: 3rem;
    align-items: flex-start;
    /* Align columns to the top */
}

.contact-form-container {
    /* Container for the form */
}

/* Titles/Subtitles need dark text on light green */
.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--text-dark);
}

.contact-section .section-tagline {
    color: var(--brand-medium-green);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--brand-medium-green);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-medium-green);
    box-shadow: 0 0 0 3px rgba(60, 112, 77, 0.2);
    /* Light green focus ring */
}

.contact-form textarea {
    resize: vertical;
    /* Allow vertical resize only */
    min-height: 120px;
}

/* Submit button inherits from .btn-hero-primary */
.contact-form button[type="submit"] {
    margin-bottom: 1rem;
}

.contact-info-container {
    background-color: #fff;
    /* White card for info */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.contact-info-container h3 {
    font-family: var(--font-heading);
    color: var(--brand-dark-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info-container h4 {
    font-weight: 600;
    color: var(--brand-dark-green);
    margin-bottom: 0.5rem;
}

/* make text wrap nicely next to the icon */
.contact-info-container p {
    display: flex;
    align-items: flex-start;
    /* top-align multi-line text */
    gap: .5rem;
    margin-bottom: .75rem;
    color: #555;
    flex-wrap: nowrap;
    /* allow wrapping inside the flex row */
    min-width: 0;
    /* enable text shrinking in flexbox */
}

.contact-info-container p i {
    color: var(--brand-medium-green);
    font-size: 1.2rem;
    width: 20px;
    flex: 0 0 20px;
    /* fixed icon width */
    text-align: center;
}

/* allow long strings (emails, URLs, phones) to break */
.contact-info-container p,
.contact-info-container p a,
.contact-info-container p span {
    overflow-wrap: anywhere;
    /* modern, best */
    word-break: break-word;
    /* fallback */
}

/* optional: tighten spacing on small screens */
@media (max-width: 480px) {
    .contact-info-container p {
        gap: .4rem;
    }
}


.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
    margin-top: 2rem;
}

.map {
    width: 100%;
    min-height: 300px;
    height: auto;
    border-radius: 8px;
}

/* --- Responsive for Contact Section --- */
@media (max-width: 992px) {
    .contact-grid {
        display: flow;
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 3rem;
    }

    .contact-form-container {
        text-align: center;
        /* Center titles */
    }

    .contact-form-container .section-tagline,
    .contact-form-container .section-title,
    .contact-form-container .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form label {
        text-align: left;
        /* Keep labels left-aligned */
    }

    .contact-form button[type="submit"] {
        width: auto;
        /* Let button size itself */
    }
}

/* ======== FOOTER ======== */
.footer {
    padding: 3rem 0 1rem 0;
    /* Reduced top padding slightly */
    background-color: var(--brand-dark-green);
    color: var(--text-light);
    /* Light text on dark background */
}

.footer-grid {
    display: grid;
    /* Responsive columns: min 200px, max 1fr */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-accent);
    /* Saffron titles */
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Underline for footer titles */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 1px;
}


.footer-logo img {
    max-width: 100px;
    /* Control footer logo size */
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(240, 248, 255, 0.85);
    /* Slightly transparent text */
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    /* Needed for transform */
}

.social-icons a:hover {
    color: var(--primary-accent);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(240, 248, 255, 0.85);
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
    /* Slight indent on hover */
}

.footer-col p {
    font-size: 0.95rem;
    color: rgba(240, 248, 255, 0.85);
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    min-width: 0;
    gap: 0.75rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.footer-col p i {
    color: var(--primary-accent);
    margin-top: 0.2em;
    /* Align icon better */
    width: 16px;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Fainter border */
    font-size: 0.85rem;
    color: rgba(240, 248, 255, 0.7);
}

/* --- Responsive for Footer --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        /* Allow wider columns on tablet */
    }

    .footer-col {
        margin-bottom: 1rem;
        /* Add space between stacked columns */
    }
}

/* ======== MOVE TO TOP BUTTON ======== */
.move-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-accent);
    color: var(--brand-dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 90;
    /* Below header, above most content */

    /* --- NEW --- Initial hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

/* --- NEW --- Visible state (added by JS) */
.move-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.move-to-top:hover {
    background-color: var(--brand-dark-green);
    color: var(--primary-accent);
}






/* ===== Signature Selections – image swap fade ===== */
.services-image-wrap{
  position: relative;
  width: 100%;
  height: 100%;
}

.services-hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: opacity .35s ease, transform .35s ease;
}

.services-hero-image.is-fading{
  opacity: 0;
  transform: scale(1.02);
}

/* Optional: keep a nice aspect on tablets */
@media (max-width: 992px){
  .services-image-col{ height: 420px; }
}




/* Full-bleed map section */
.contact-section.map-full {
  padding: 40px 0 0 0; /* remove section padding */
  background: #e6f3e9; /* fallback color behind map while loading */
}

/* Make the container span full width for this section only */
.contact-section.map-full .container {
  max-width: 100%;
  padding: 0;
}

/* Map wrapper fills the viewport height minus sticky header */
.map-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  /* prevent small screens from being too short */
  min-height: 420px;
}

/* Iframe should cover fully */
.map-embed {
  position: absolute;
  inset: 0;        /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 0;
}

/* Optional floating CTA button (bottom-right) */
.map-cta {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-block;
  padding: .65rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  background: var(--primary-accent);
  color: var(--brand-dark-green);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.map-cta:hover {
  transform: translateY(-2px);
  background: var(--brand-dark-green);
  color: var(--primary-accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* On very small screens, give a bit more height */
@media (max-width: 480px) {
  .map-wrapper { min-height: 360px; }
}
