/********** Modern Farmers - Custom CSS **********/
:root {
    --primary: #156031;
    --primary-light: #1e8a45;
    --primary-dark: #0f4a25;
    --secondary: #f5a623;
    --secondary-light: #f7c35a;
    --light: #f8f9fa;
    --dark: #1e2b2b;
    --dark-light: #3a4a4a;
    --gray: #6a7a7a;
    --light-gray: #eef3f0;
    --white: #ffffff;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --radius:12px; 
    --radius-pill:40px; 
    --radius-sm:6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

.bg-white {
    background-color: var(--light) !important;
}

/* ===== UTILITY ===== */
.text-primary-custom {
    color: var(--primary) !important;
}
.text-secondary-custom {
    color: var(--secondary) !important;
}
.bg-primary-custom {
    background: var(--primary) !important;
}
.bg-secondary-custom {
    background: var(--secondary) !important;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 96, 49, 0.3);
}

.btn-secondary-custom {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: var(--secondary-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
    padding: 0.7rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm-custom {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
}

/* ===== SECTION TITLES ===== */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 3px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 3px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

.section-title.text-center::before {
    width: calc(100% + 80px);
    left: -40px;
}

.section-title.text-center::after {
    width: calc(100% + 120px);
    left: -60px;
}

.section-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-heading span {
    color: var(--primary);
}

.section-subheading {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
}
.section-content {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray) !important;
    font-weight: 400;
    font-size: 0.95rem;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark);
    color: var(--white);
    padding: 6px 0;
    font-size: 0.85rem;
}

.topbar a {
    color: var(--white);
}

.topbar a:hover {
    color: var(--secondary);
}

.topbar .social-icons a {
    display: inline-block;
    margin: 0 6px;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition);
}

.topbar .social-icons a:hover {
    opacity: 1;
    color: var(--secondary);
}

.topbar .topbar-phone {
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

/* ===== NAVBAR ===== */

        .logo-wrapper {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            cursor: pointer;
            flex-shrink: 0;
        }
        .logo-wrapper img {
            height: 60px;
            width: auto;
            display: block;
        }
        
        @media (max-width: 1199.98px) {
            .logo-wrapper img {
                height: 44px;
            }
        }
        
        @media (max-width: 480px) {
            .logo-wrapper img {
                height: 38px;
            }
        }
        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }
        .logo-text .brand {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 2.1px;
            color: #1e2b2b;
            white-space: nowrap;
        }
        .logo-text .brand span {
            color: #156031;
        }
        .logo-text .tagline {
            font-size: 0.65rem;
            font-weight: 900;
            color: #5e5e5e;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }

/* ===== NAVBAR ===== */
.navbar {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar .navbar-brand img {
    height: 2.5rem;
    width: auto;
    margin-right: 10px;
}

.navbar .navbar-brand h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar .navbar-brand h1 span {
    color: var(--dark);
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    letter-spacing: 0cm;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12rem;
    padding: 0.8rem 1.8rem;
    transition: var(--transition);
    position: relative;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary);
}

.navbar .dropdown-toggle::after {
    display: inline-block !important;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 0.1rem !important;
    box-shadow: var(--shadow-hover);
    padding: 0.5rem;
    margin-top: 0;
    background: var(--white);
}

.navbar .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.8rem;
}

.navbar .dropdown-item:hover {
    background: rgba(21, 96, 49, 0.08);
    color: var(--primary);
}

.navbar .btn-quote {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 30px;
    padding: 0.8rem 1.8rem !important;
    margin-left: 0.5rem;
}

.navbar .btn-quote:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    color: var(--white) !important;
}

.navbar .nav-search {
    color: var(--dark);
    font-size: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.navbar .nav-search:hover {
    color: var(--primary);
}

.navbar .cart-btn {
    position: relative;
    color: var(--dark);
    font-size: 1.3rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.navbar .cart-btn:hover {
    color: var(--primary);
}

.navbar .cart-btn .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary) !important;
    color: var(--dark) !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
    line-height: 1.4;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel .carousel-item {
    min-height: 50rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-carousel .carousel-item .carousel-caption {
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 10%;
    right: 10%;
    text-align: left;
    padding-bottom: 60px;
}

/* Clamp the paragraph so no language overflows the slide */
.hero-carousel .carousel-item .carousel-caption .fs-5 {
    display: block;
    -webkit-line-clamp: 5;         /* Desktop: max 5 lines */
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Tighten the line height so 5 lines fit comfortably */
    line-height: 1.4;
    max-width: 720px;              /* Prevent extremely wide lines */
}

.hero-carousel .carousel-item .carousel-caption .hero-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-carousel .carousel-item .carousel-caption h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    /* max-width: 800px; */
}

.hero-carousel .carousel-item .carousel-caption h1 span {
    color: var(--secondary);
}

.hero-carousel .carousel-item .carousel-caption p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
    max-width: 100%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 8%;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 50%;
    box-shadow: var(--shadow);
}

.hero-carousel .carousel-indicators {
    bottom: 40px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    margin: 0 6px;
    transition: var(--transition);
}

.hero-carousel .carousel-indicators button.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

/* ===== CAROUSEL TEXT — SCALE DOWN ON SMALLER SCREENS ===== */
/* Tablet (≤ 992px) */
@media (max-width: 992px) {
    .hero-carousel .carousel-item .carousel-caption {
        padding-bottom: 50px;
    }
    .hero-carousel .carousel-item .carousel-caption h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 0.7rem;
    }
    .hero-carousel .carousel-item .carousel-caption .lead {
        font-size: 0.95rem;
        margin-bottom: 0.5rem !important;
    }
    .hero-carousel .carousel-item .carousel-caption .fs-5 {
        font-size: 0.88rem !important;
        -webkit-line-clamp: 4;      /* Tablet: max 4 lines */
        line-clamp: 4;
        margin-bottom: 0.9rem !important;
    }
    .hero-carousel .carousel-item .carousel-caption .hero-tag {
        font-size: 0.68rem;
        padding: 0.2rem 0.75rem;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .hero-carousel .carousel-item .carousel-caption {
        padding-bottom: 45px;
        text-align: center;
        left: 5%;
        right: 5%;
        width: 100%;
        /* padding-left: 20px; 
        padding-right: 20px; */
    }
    
    /* Optional: Make sure the container inside also respects it */
    .hero-carousel .carousel-item .carousel-caption .container {
        padding-left: 25px;
        padding-right: 0px;
    }
    .hero-carousel .carousel-item .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.55rem;
    }
    .hero-carousel .carousel-item .carousel-caption .lead {
        font-size: 0.85rem;
        margin-bottom: 0.4rem !important;
    }
    .hero-carousel .carousel-item .carousel-caption .hero-tag {
        font-size: 0.62rem;
        padding: 0.18rem 0.7rem;
        margin-bottom: 0.5rem;
    }
    .hero-carousel .carousel-item .carousel-caption .btn {
        padding: 0.5rem 1rem !important; /* Reduce padding so they fit side-by-side */
        width: auto; /* Let them size to content */
        flex: 1; /* Make them share space equally if needed */
        white-space: nowrap; /* Prevent text from breaking into two lines */
        text-align: center;
        font-size: 0.78rem;
    }
    .hero-carousel .carousel-item .carousel-caption .d-flex {
        justify-content: center;
        gap: 10px !important; /* Reduce gap slightly for mobile */
        flex-wrap: nowrap; /* FORCE them to stay in a row */
        flex-direction: row; /* Explicitly set row */
    }
}

/* Small phone (≤ 480px) */
@media (max-width: 480px) {
    .hero-carousel .carousel-item .carousel-caption .d-flex {
        flex-wrap: wrap; /* Allow stacking on tiny screens */
    }
    .hero-carousel .carousel-item .carousel-caption {
        padding-bottom: 40px;
    }
    .hero-carousel .carousel-item .carousel-caption h1 {
        font-size: 1.25rem;
    }
    .hero-carousel .carousel-item .carousel-caption .lead {
        font-size: 0.78rem;
    }
    .hero-carousel .carousel-item .carousel-caption .btn {
        padding: 0.45rem 1rem !important;
        width: 100%; /* Full width if they stack */
        font-size: 0.72rem;
    }
}

.carousel-overlay { position:absolute; inset:0; background: linear-gradient(80deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%); }
.text-white-80 { color: rgba(255,255,255,0.85); }
.display-1 span { color:#FFC107; }
.hero-stats { font-size:0.9rem; color:rgba(255,255,255,0.9); }

/* ============================================================
   Two-Tone Headings: first part inherits base color,
   accent phrase stays in the color span
   ============================================================ */
.carousel-caption h1 .title-plain {
    color: #fff !important;
}

.section-heading .title-plain {
    color: inherit !important;
}

/* ===== ABOUT SECTION ===== */
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0.1rem !important;
    padding: 1.5rem;
    box-shadow: var(--shadow-hover);
}

.about-experience h1 {
    color: var(--dark);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
}

.about-experience small {
    color: var(--dark);
    font-weight: 600;
    text-align: center;
    font-size: 0.85rem;
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(21, 96, 49, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.about-feature-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .about-experience {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 1rem;
        padding: 1rem;
    }
    .about-experience h1 {
        font-size: 2.5rem;
    }
}

/* ===== STATS / COUNTERS ===== */
.stat-box {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 0;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

/* .stat-box:hover {
    transform: translateY(-5px);
} */

.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Libre Baskerville', serif;
    line-height: 1.2;
}

.stat-box .stat-label {
    font-weight: 500;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Primary stat box - green background */
.stat-box.bg-primary-custom {
    background: var(--primary) !important;
}

.stat-box.bg-primary-custom .stat-number {
    color: var(--white);
}

.stat-box.bg-primary-custom .stat-label {
    color: var(--secondary);
}

.stat-box.bg-primary-custom .stat-icon {
    color: var(--white);
}

/* Secondary stat box - yellow background */
.stat-box.bg-secondary-custom {
    background: var(--secondary) !important;
}

.stat-box.bg-secondary-custom .stat-number {
    color: var(--dark);
}

.stat-box.bg-secondary-custom .stat-label {
    color: var(--dark);
}

.stat-box.bg-secondary-custom .stat-icon {
    color: var(--dark);
}

/* ===== SERVICES ===== */
.service-item {
    position: relative;
    border-radius: 0.1rem !important;
    box-shadow: var(--shadow);
    /* overflow: hidden; */
    transition: none; /* Remove all transitions */
    /* min-height: 350px; */
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
    /* Remove transform: translateY(-8px) */
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0.1rem !important;
    overflow: hidden;
    z-index: 0;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 0.1rem !important;
}

.service-item .service-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 0.1rem !important;
    z-index: 1;
}

.service-item .service-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--white);
    transition: 0.5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text {
    position: relative;
    z-index: 3;
    background: transparent;
    padding: 2rem 1.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.service-item .service-text .service-icon {
    width: 120px;
    height: 120px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -45px;
    margin-bottom: 1.2rem;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    font-size: 2.2rem;
    color: var(--primary);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.service-item .service-text h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-size: 1.15rem;
}

.service-item .service-text p {
    color: var(--gray);
    transition: color 0.3s ease;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: var(--white);
}

.service-item .service-text .btn-link-custom {
    color: var(--secondary);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, color 0.3s ease;
    border: none;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.service-item .service-text .btn-link-custom:hover {
    color: var(--dark);
    background: var(--secondary);
}

@media (max-width: 768px) {
    .service-item .service-text .service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-top: -38px;
    }
    .service-item {
        min-height: 300px;
    }
    .service-item .service-text {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .service-item .service-text .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
        margin-top: -33px;
    }
    .service-item {
        min-height: 280px;
    }
    .service-item .service-text {
        min-height: 260px;
        padding: 1.5rem 1rem 1rem;
    }
}

/* ===== PRODUCTS ===== */
.product-item {
    position: relative;
    border-radius: 0.1rem !important;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-item .product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--light-gray);
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    padding-top: 40px;
    transition: var(--transition);
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}

.product-item .product-overlay .btn-overlay {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
}

.product-item .product-overlay .btn-overlay:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: scale(1.1);
}

.product-item .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-item .product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-item .product-body {
    padding: 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.product-item .product-body h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.product-item .product-body .product-desc {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 
.product-item .product-body .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
} */
/* 
.product-item .product-body .price-old {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-left: 0.5rem;
} */

/* WhatsApp overlay button — green accent */
.product-item .product-overlay .btn-overlay.btn-overlay-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.product-item .product-overlay .btn-overlay.btn-overlay-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
    transform: scale(1.1);
}

/* Slight pop for the +/- button too (keeps visual symmetry) */
.product-item .product-overlay .btn-overlay.add-to-quote:hover,
.product-item .product-overlay .btn-overlay.remove-from-quote:hover {
    transform: scale(1.1);
}

/* ===== TEAM ===== */
.team-item {
    background: var(--white);
    border-radius: 0.1rem !important;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.team-item .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    overflow: hidden;
    border: 4px solid var(--primary);
    transition: var(--transition);
}

.team-item:hover .team-photo {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.team-item h5 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.team-item .team-role {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.team-item .team-bio {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-item .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--dark);
    line-height: 36px;
    text-align: center;
    margin: 0 3px;
    transition: var(--transition);
    font-size: 0.85rem;
}

.team-item .social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 150px;
    color: var(--light-gray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.4;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    z-index: 1;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}
.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 15%;
}
.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}
.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-carousel .testimonial-item {
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 0.1rem !important;
    box-shadow: var(--shadow);
    margin: 0.5rem;
    position: relative;
}

.testimonial-carousel .testimonial-item .quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.2;
}

.testimonial-carousel .testimonial-item p {
    font-size: 1rem;
    color: var(--dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-carousel .testimonial-item h5 {
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.testimonial-carousel .testimonial-item span {
    color: var(--primary);
    font-size: 0.85rem;
}

.testimonial-stars {
    display:flex; 
    align-items:center; 
    gap:0.2rem; 
    margin:0.8rem 0; 
    color:#f5a623; 
    font-size:0.85rem
}
.testimonial-stars span {
    color:var(--gray); 
    font-size:0.78rem; 
    margin-left:0.4rem; 
    font-weight:600
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--dark);
    border-radius: 50%;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    transition: var(--transition);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .testimonial-img {
        min-height: 250px;
    }
    .testimonial-img img {
        width: 70px;
        height: 70px;
    }
    .testimonial-img::after {
        font-size: 100px;
    }
    .product-item .product-overlay {
        opacity: 1;
        padding-top: 0;
        background: rgba(0, 0, 0, 0.35);
    }
    
    .product-item .product-overlay .btn-overlay {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Remove parallax from all pages except home */
.page:not(#page-home) .banner .parallax-mirror {
    display: none !important;
}
/* ===== BANNER / PARALLAX ===== */
.banner {
    background-attachment: fixed;
    /* background-attachment: scroll !important; */
    background-size: cover;
    background-position: center;
    position: relative;
    /* display: block !important; */
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    /* z-index: 0; */
}

.banner .container {
    position: relative;
    z-index: 1;
}

.container .col-lg-9 {
    width: 80% !important;
}

.banner .banner-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.banner .banner-content h2 {
    font-family: 'Libre Baskerville', serif;
    color: var(--white);
}

.banner .banner-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--white);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== CONTACT PAGE ===== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(21, 96, 49, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item .content h6 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-info-item .content p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== FORM STYLES ===== */
.form-control {
    border: 1.5px solid var(--light-gray);
    border-radius: 0.1rem !important;
    padding: 0.8rem 1.8rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 96, 49, 0.1);
}

.form-floating label {
    color: var(--gray);
    font-weight: 500;
}

.form-floating .form-control:focus ~ label {
    color: var(--primary);
}

.form-floating .form-control:focus {
    border-color: var(--primary);
}

.filter-count { 
    background:var(--light-gray); 
    color:var(--dark); 
    border-radius:20px; 
    padding:0.1rem 0.5rem; 
    font-size:0.72rem; 
    font-weight:700; 
    min-width:22px; 
    text-align:center
}

.filter-btn.active .filter-count { 
    background:rgba(255,255,255,0.2); 
    color:#fff
}

/* Category active count — white on green */
.product-filters .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Subcategory active count — dark on gold */
.subcategory-filters .filter-btn.active .filter-count {
    background: rgba(0, 0, 0, 0.12);
    color: var(--dark);
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.product-carousel .product-item {
    margin: 5px !important;
    transition: var(--transition);
    background: var(--white);
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 340px; /* Fixed minimum height */
}

.product-carousel .product-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-carousel .product-item .product-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: var(--light-gray);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel .product-item .product-image .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-carousel .product-item .product-image .product-placeholder {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

.product-carousel .product-item .product-body {
    padding: 1.2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px; /* Fixed height for body */
    height: 100%;
}

.product-carousel .product-item .product-body h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.product-carousel .product-item .product-body .product-desc {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4rem;
    line-height: 1.2;
    min-height: 2.4rem;
}
/* 
.product-carousel .product-item .product-body .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    padding-top: 0.3rem;
    border-top: 1px solid var(--light-gray);
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* Product category and badge with icons */
.product-item .product-category {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}

/* ===== PRODUCT SUBCATEGORY BADGE (top-right) ===== */
.product-item .product-subcategory {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-item .product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}

/* Carousel Navigation */
.product-carousel.owl-carousel .owl-nav.disabled,
.product-carousel.owl-carousel .owl-dots.disabled {
    display: flex !important;
}

.product-carousel.owl-carousel .owl-dots.disabled {
    display: block !important;
}

.product-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -50px;
    right: -50px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
    position: relative;
    z-index: 5;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.05);
}

.product-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
}

.product-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.product-carousel .owl-dots .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    transition: var(--transition);
}

.product-carousel .owl-dots .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}

.product-carousel .owl-dots .owl-dot:hover span {
    background: var(--primary-light);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .logo-wrapper {
        flex-shrink: 1;
    }
    .logo-text .brand {
        font-size: 1.1rem;
    }
    .product-carousel-wrapper {
        padding: 0 40px;
    }
    .product-carousel .owl-nav {
        left: -35px;
        right: -35px;
    }
}

@media (max-width: 992px) {
    .product-carousel-wrapper {
        padding: 0 35px;
    }
    .product-carousel .owl-nav {
        left: -30px;
        right: -30px;
    }
    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .product-carousel-wrapper {
        padding: 0 25px;
    }
    .product-carousel .owl-nav {
        left: -20px;
        right: -20px;
    }
    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .product-carousel .product-item .product-image {
        height: 140px;
    }
    .product-carousel .product-item {
        min-height: 340px;
    }
    .product-carousel .product-item .product-body {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .logo-wrapper {
        gap: 0.4rem;
        max-width: calc(100% - 60px); /* leave room for hamburger */
    }
    .logo-wrapper img {
        height: 34px;
        flex-shrink: 0;
    }
    .logo-text {
        min-width: 0;
        overflow: hidden;
    }
    .logo-text .brand {
        font-size: 0.9rem;
        letter-spacing: 1.1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .logo-text .tagline {
        font-size: 0.5rem;
        letter-spacing: 0.7px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-carousel-wrapper {
        padding: 0 15px;
    }
    .product-carousel .owl-nav {
        left: -10px;
        right: -10px;
    }
    .product-carousel .owl-nav .owl-prev,
    .product-carousel .owl-nav .owl-next {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    .product-carousel .product-item {
        min-height: 300px;
    }
    .product-carousel .product-item .product-body {
        min-height: 120px;
        padding: 0.8rem;
    }
    .product-carousel .product-item .product-body h5 {
        font-size: 0.85rem;
        height: 2.4rem;
        min-height: 2.4rem;
    }
    .product-carousel .product-item .product-body .product-desc {
        font-size: 0.7rem;
        height: 2rem;
        min-height: 2rem;
    }
    .product-item .product-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .product-item .product-overlay .btn-overlay {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    /* .product-carousel .product-item .product-body .price {
        font-size: 0.9rem;
        min-height: 2rem;
    } */
}

@media (max-width: 380px) {
    .logo-text .brand {
        font-size: 0.82rem;
        letter-spacing: 0.8px;
    }
    .logo-text .tagline {
        font-size: 0.45rem;
        letter-spacing: 0.5px;
    }
    .logo-wrapper img {
        height: 30px;
    }
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item .faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.faq-item .faq-question:hover {
    color: var(--primary);
}

.faq-item .faq-question .faq-toggle {
    transition: var(--transition);
    color: var(--primary);
}

.faq-item .faq-question.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
}

.faq-item .faq-answer.show {
    display: block;
}

/* ===== NEWS / BLOG ===== */
.news-item {
    background: var(--white);
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-item .news-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    overflow: hidden;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item .news-body {
    padding: 1.5rem;
}

.news-item .news-body .news-meta {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
}

.news-item .news-body .news-meta i {
    margin-right: 0.3rem;
}

.news-item .news-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-item .news-body p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-item .news-body .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-item .news-body .read-more:hover {
    gap: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
    color: rgba(255,255,255,0.8);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer h5 span {
    color: #f5a623;
}

.footer .footer-info {
    margin-bottom: 0.6rem;
}

.footer .footer-info i {
    width: 24px;
    color: #f5a623;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.75) !important;
    font-weight: normal;
    text-transform: capitalize;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #f5a623 !important;
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(5px);
}

.footer .social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-right: 6px;
}

.footer .social-btn:hover {
    background: #f5a623;
    color: #156031;
    transform: translateY(-3px);
}

.footer .footer-hours p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.footer .footer-hours h6 {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===== COPYRIGHT ===== */
.copyright {
    font-size: 0.85rem;
}

.copyright a:hover {
    color: var(--dark) !important;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 0.1rem !important;
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    font-weight: 500;
    display: none;
    animation: slideInRight 0.5s ease;
    max-width: 350px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== SPINNER ===== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .section-heading {
        font-size: 2rem;
    }
    .stat-box .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.6rem;
    }
    .section-title::before,
    .section-title::after {
        display: none;
    }
    .stat-box .stat-number {
        font-size: 1.6rem;
    }
    .stat-box {
        padding: 1.2rem;
    }
    .product-item .product-image {
        height: 180px;
    }
    .page-header {
        padding: 60px 0 40px;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        right: 16px;
        bottom: 72px;
    }
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-carousel .carousel-item .carousel-caption h1 {
        font-size: 1.4rem;
    }
    .hero-carousel .carousel-item .carousel-caption p {
        font-size: 0.85rem;
    }
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    .section-heading {
        font-size: 1.3rem;
    }
    .product-item .product-image {
        height: 150px;
    }
    .team-item .team-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .testimonial-img img {
        width: 60px;
        height: 60px;
    }
}

/* ===== GALLERY SECTION (light green background + chicken image overlay) ===== */
.gallery-section {
    position: relative;
    background: #156031f5;
    padding: 4rem 0 3rem;
    box-shadow: inset #156031 0px 0px 3px 0px;
    border-bottom: 1px solid rgba(21,96,49,0.1);
}

/* chicken image overlay - blending down on the background color translucently */
.gallery-section::after {
    position: absolute;
    content: "";
    left: 5%;
    bottom: 0;
    height: 15%;
    width: 90%;
    max-width: 90%;
    /* background: url('https://placehold.co/600x150/f5a623/transparent?text=🐔🐤🐥') no-repeat bottom center; */
    background: url('../img/chicken.png') no-repeat bottom center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* ensure gallery content is above the pseudo element */
.gallery-section > .container {
    position: relative;
    z-index: 3;
}

/* text colors for readability on light green background */
.gallery-section .section-heading,
.gallery-section .section-heading span {
    color: var(--white); 
}
.gallery-section .section-heading span {
    color: #f5a623;  /* secondary/gold for contrast */
}
.gallery-section .section-subheading {
    color: rgba(255,255,255,0.85);
}
.gallery-section .section-title {
    color: var(--secondary); ;
    background: #1e6639;
    padding: 0.2rem 0.8rem;
}
.gallery-section .section-title::before,
.gallery-section .section-title::after {
    background: var(--secondary);
}
/* gallery image hover */
.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.gallery-img-wrapper img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.3s;
}
.gallery-img-wrapper:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
    border-color: #f5a623;
}

.gallery-img-wrapper:hover img {
    transform: scale(1.03);
}

/* hover overlay with search icon */
.gallery-img-wrapper .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}
.gallery-img-wrapper:hover .gallery-overlay {
    opacity: 1;
}
.gallery-img-wrapper .gallery-overlay i {
    font-size: 2.5rem;
    color: #f5a623;
    /* background: rgba(255,255,255,0.9); */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: 0.3s;
}
.gallery-img-wrapper:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item {
    padding-right: 0px !important;
    padding-left: 0px !important;
    margin-top: 0px !important;
}
/* ===== TEAM SECTION (soft green background, readable text) ===== */
.team-section {
    position: relative;
    background: #156031f5;
    padding: 4rem 0 3rem;
    box-shadow: inset #156031 0px 0px 3px 0px;
    border-bottom: 1px solid rgba(21,96,49,0.1);
}
.team-section > .container {
    position: relative;
    z-index: 3;
}
.team-section .section-heading,
.team-section .section-heading span {
    color: var(--white);
}
.team-section .section-heading span {
    color: #f5a623;
}
.team-section .section-subheading {
    color: rgba(255,255,255,0.85);
}
.team-section .section-title {
    color: var(--secondary);
    background: #1e6639;
    padding: 0.2rem 0.8rem;
}
.team-section .section-title::before,
.team-section .section-title::after {
    background: var(--secondary);
}
.team-card {
    background: rgba(255, 255, 255, 0.808);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 0.1rem !important;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.2s;
    border: 1px solid rgba(21,96,49,0.1);
    height: 100%;
}
.team-card:hover {
    box-shadow: 0 16px 36px rgba(21,96,49,0.1);
    transform: translateY(-4px);
    background: rgba(255,255,255,0.9);
}
.team-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: #eaf3ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #156031;
    border: 3px solid #156031;
    transition: 0.2s;
}
.team-card:hover .team-icon {
    border-color: #f5a623;
    background: #fff;
}
.team-card h5 {
    font-weight: 700;
    color: #0f4a25;
}
.team-role {
    color: #156031;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.team-bio {
    color: #3a4a4a;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.team-section .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef3ee;
    color: #156031;
    line-height: 36px;
    text-align: center;
    margin: 0 3px;
    transition: 0.2s;
    font-size: 0.9rem;
    border: 1px solid rgba(0,0,0,0.05);
}
.team-section .social-links a:hover {
    background: #156031;
    color: white;
    transform: translateY(-2px);
}

/* ===== SINGLE PAGE APP (SPA) STYLES ===== */
[x-cloak] {
    display: none !important;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--white);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary);
}

/* Standardize section headings */
.section-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-heading span {
    color: var(--primary);
}

/* Partner logo standardization */
.partner-logo {
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* Remove redundant styles that might conflict */
.team-item .team-photo {
    background: var(--light-gray);
    border: 4px solid var(--primary);
}

.team-item:hover .team-photo {
    border-color: var(--secondary);
}

/* ===== SERVICE NUMBER BADGE ===== */
.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    margin-right: 0.5rem;
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

/* ===== ALPINE FADE TRANSITION ===== */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* ===== VISION MISSION VALUES SECTION (matches Gallery/Team pattern) ===== */
.vmv-section {
    position: relative;
    background: #156031f5;
    padding: 4rem 0 3rem;
    box-shadow: inset #156031 0px 0px 3px 0px;
    border-bottom: 1px solid rgba(21,96,49,0.1);
}

/* Optional background pattern or texture - can add subtle dot pattern */
.vmv-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245,166,35,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.vmv-section > .container {
    position: relative;
    z-index: 3;
}

/* Section title - same as Gallery/Team */
.vmv-section .section-title {
    color: var(--secondary);
    background: #1e6639;
    padding: 0.2rem 0.8rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.vmv-section .section-title::before,
.vmv-section .section-title::after {
    background: var(--secondary);
}

/* Section heading - white with yellow span */
.vmv-section .section-heading {
    color: var(--white);
}

.vmv-section .section-heading span {
    color: #f5a623;
}

/* Section subheading */
.vmv-section .section-subheading {
    color: rgba(255,255,255,0.85);
}

/* VMV Cards */
.vmv-card {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 0.1rem !important;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
    transition: 0.3s;
    border-top: 3px solid #f5a623;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vmv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    background: rgba(255,255,255,1);
    border-top-color: #156031;
}

/* VMV Icon */
.vmv-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eaf3ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #156031;
    margin: 0 auto 1rem;
    border: 3px solid #156031;
    transition: 0.3s;
}

.vmv-card:hover .icon {
    border-color: #f5a623;
    background: #fff;
}

/* VMV Heading */
.vmv-card h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    color: #0f4a25;
    margin-bottom: 0.3rem;
}

/* VMV Text */
.vmv-card p {
    color: #3a4a4a;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vmv-section {
        padding: 3rem 0;
    }
    .vmv-card {
        padding: 1.5rem 1.2rem;
        margin-bottom: 1rem;
    }
    .vmv-card .icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ===== ABOUT CAROUSEL ===== */
#about-carousel {
    overflow: hidden;
    border-radius: 0.1rem !important;
    box-shadow: var(--shadow-hover);
    position: relative;
    height: 100%;
    min-height: 500px;
}

#about-carousel .carousel,
#about-carousel .carousel-inner,
#about-carousel .carousel-item {
    height: 100%;
    min-height: 500px;
}

#about-carousel .about-carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

#about-carousel .about-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.1rem !important;
}

#about-carousel .about-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(21, 96, 49, 0.95) 0%, rgba(21, 96, 49, 0.6) 50%, transparent 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 0 0 0.1rem 0.1rem;
}

#about-carousel .about-carousel-overlay h5 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

#about-carousel .about-carousel-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}
/* 
#about-carousel .carousel-control-prev,
#about-carousel .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#about-carousel:hover .carousel-control-prev,
#about-carousel:hover .carousel-control-next {
    opacity: 1;
}

#about-carousel .carousel-control-prev-icon,
#about-carousel .carousel-control-next-icon {
    display: none;
    width: 50px;
    height: 50px;
    background-color: rgba(21, 96, 49, 0.9);
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 50%;
} */

#about-carousel .carousel-indicators {
    margin-bottom: 20px;
}

#about-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--secondary);
    opacity: 0.6;
    margin: 0 5px;
}

#about-carousel .carousel-indicators button.active {
    background-color: var(--secondary);
    border-color: transparent;
    opacity: 1;
    transform: scale(1.2);
}

/* Ensure the col-lg-6 stretches to full height */
.row.g-5.align-items-center .col-lg-6 {
    /* display: flex; */
    flex-direction: column;
}

.row.g-5.align-items-center .col-lg-6 > #about-carousel {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    #about-carousel,
    #about-carousel .carousel,
    #about-carousel .carousel-inner,
    #about-carousel .carousel-item {
        min-height: 450px;
    }
}

@media (max-width: 992px) {
    #about-carousel,
    #about-carousel .carousel,
    #about-carousel .carousel-inner,
    #about-carousel .carousel-item {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    #about-carousel,
    #about-carousel .carousel,
    #about-carousel .carousel-inner,
    #about-carousel .carousel-item {
        min-height: 350px;
    }
    
    #about-carousel .about-carousel-overlay {
        padding: 1.5rem 1rem;
    }
    
    #about-carousel .about-carousel-overlay h5 {
        font-size: 1.2rem;
    }
    
    #about-carousel .about-carousel-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    #about-carousel,
    #about-carousel .carousel,
    #about-carousel .carousel-inner,
    #about-carousel .carousel-item {
        min-height: 300px;
    }
    
    #about-carousel .carousel-control-prev-icon,
    #about-carousel .carousel-control-next-icon {
        width: 35px;
        height: 35px;
        padding: 0.8rem;
    }
    
    #about-carousel .about-carousel-overlay h5 {
        font-size: 1rem;
    }
    
    #about-carousel .about-carousel-overlay p {
        font-size: 0.75rem;
    }
}

/* ===== SERVICES PAGE ===== */

/* Service Intro Section */
.services-intro {
    padding: 2rem 0 2rem;
    text-align: center;
}

/* Service Block - Uniform Design */
.service-block {
    padding: 4rem 0;
    position: relative;
}

/* Full-width Green Service Background */
.service-block.full-green {
    background: #156031f5;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Background Image with Dark Overlay */
.service-block.full-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/service-hatching.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.service-block.full-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(21, 96, 49, 0.97) 0%, rgba(15, 74, 37, 0.95) 100%);
    z-index: 2;
}

/* Different background for Food Safety */
.service-block.full-green.food-safety::before {
    background-image: url('img/service-safety.jpg');
}

/* Container above overlay */
.service-block.full-green .container {
    position: relative;
    z-index: 5;
}

/* Service Number Badge - Default (Green) */
.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(21, 96, 49, 0.3);
}

/* Full-green version number badge - YELLOW */
.service-block.full-green .service-number {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

/* Service Content Styles */
.service-content {
    padding-right: 2rem;
}

.service-content h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Full-green version content */
.service-block.full-green .service-content h5 {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Section Title - Default (Green with lines) */
.service-block .section-title {
    color: var(--primary);
}

.service-block .section-title::before,
.service-block .section-title::after {
    background: var(--primary);
}

/* Section Title - Full Green version (YELLOW with yellow lines) */
.service-block.full-green .section-title {
    color: var(--secondary);
}

.service-block.full-green .section-title::before,
.service-block.full-green .section-title::after {
    background: var(--secondary);
}

/* Section Heading - WHITE with yellow span */
.service-block.full-green .section-heading {
    color: var(--white);
    margin-top: 1rem;
}

.service-block.full-green .section-heading span {
    color: var(--secondary);
}

.service-content .service-summary {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Full-green version summary */
.service-block.full-green .service-content .service-summary {
    color: rgba(255, 255, 255, 0.85);
}

/* Read More Button */
.btn-text {
    background: none;
    border: none;
    color: #156031;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.3rem 0;
    transition: 0.15s;
    margin-bottom: 1rem;
    display: inline-block;
}

.btn-text:hover {
    color: #0f4a25;
    text-decoration: underline;
}

/* Full-green version */
.service-block.full-green .btn-text {
    color: var(--secondary);
}

.service-block.full-green .btn-text:hover {
    color: var(--white);
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content ul li i {
    color: var(--primary);
}

/* Full-green version list */
.service-block.full-green .service-content ul li i {
    color: var(--secondary);
}

.service-block.full-green .service-content ul li {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons on green background */
.service-block.full-green .btn-primary-custom {
    background: var(--white);
    color: var(--primary);
}

.service-block.full-green .btn-primary-custom:hover {
    background: var(--secondary);
    color: var(--dark);
}

.service-block.full-green .btn-secondary-custom {
    background: var(--secondary);
    color: var(--dark);
}

.service-block.full-green .btn-outline-custom {
    border-color: var(--white);
    color: var(--white);
}

.service-block.full-green .btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Service Image Container */
.service-image {
    position: relative;
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    min-height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.02);
}

/* Stats Overlay on Service Images */
.service-stats {
    position: absolute;
    bottom: 20px;
    background: var(--white);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 2px solid var(--primary);
}

.service-stats.end-right {
    right: 20px;
}

.service-stats.start-left {
    left: 20px;
}

.service-stats h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.service-stats small {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
}

/* Service Stats — 6 services, alternating colors */
/* Green background sections → gold stat box */
#service-genetics .service-stats,
#service-nutrition .service-stats,
#service-hygiene .service-stats {
    background: var(--secondary);
    border-color: var(--primary);
}
#service-genetics .service-stats h3,
#service-nutrition .service-stats h3,
#service-hygiene .service-stats h3 {
    color: var(--primary);
}
#service-genetics .service-stats small,
#service-nutrition .service-stats small,
#service-hygiene .service-stats small {
    color: var(--dark);
}

/* Light background sections → green stat box */
#service-chicks .service-stats,
#service-equipment .service-stats,
#service-training .service-stats {
    background: var(--primary);
    border-color: var(--secondary);
}
#service-chicks .service-stats h3,
#service-equipment .service-stats h3,
#service-training .service-stats h3 {
    color: var(--secondary);
}
#service-chicks .service-stats small,
#service-equipment .service-stats small,
#service-training .service-stats small {
    color: var(--white);
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, #156031 0%, #0f4a25 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin: 3rem 0 2rem;
    text-align: center;
    color: #fff;
}

.services-cta h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.services-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-cta .btn-secondary-custom {
    background: var(--secondary);
    color: var(--dark);
}

.services-cta .btn-outline-custom {
    border-color: #fff;
    color: #fff;
}

.services-cta .btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Office Locations */
.office-locations {
    padding: 4rem 0;
}

.office-locations h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.office-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.office-card h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.office-card p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.office-card p i {
    width: 20px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .service-block {
        padding: 3rem 0;
    }
    .service-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .service-block {
        padding: 2.5rem 0;
    }
    .service-image {
        min-height: 300px;
    }
    .service-content {
        padding-right: 0;
    }
    .services-cta {
        padding: 2rem 1.5rem;
    }
    .services-cta h3 {
        font-size: 1.6rem;
    }
    .office-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-image {
        min-height: 250px;
    }
    .service-stats {
        padding: 0.5rem 1rem;
    }
    .service-stats h3 {
        font-size: 1.4rem;
    }
    .services-cta {
        padding: 1.5rem 1rem;
    }
    .services-cta h3 {
        font-size: 1.3rem;
    }
}
/* ===== PRODUCTS / SHOP PAGE (GRID + FILTERS) ===== */

/* Product Toolbar */
.product-toolbar {
    margin-bottom: 2rem;
}
/* ===== PRODUCT FILTERS (Category — top-level) ===== */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
}

.product-filters .filter-btn {
    padding: 0.4rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;   /* <-- prevents labels breaking inside the button */
}

.product-filters .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Category selected = PRIMARY GREEN */
.product-filters .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===== SUB-CATEGORY FILTERS (secondary) ===== */
.subcategory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
    padding: 0.5rem;
}

.subcategory-filters .filter-btn {
    padding: 0.4rem 1rem;
    border: 1.5px solid var(--light-gray);
    border-radius: 20px;
    background: var(--white);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.subcategory-filters .filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Sub-category selected = SECONDARY GOLD */
.subcategory-filters .filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

/* Sort Bar */
.product-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 2rem;
}

.product-sort-bar .form-select {
    border-color: var(--light-gray);
    font-size: 0.85rem;
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    cursor: pointer;
}

.product-sort-bar .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 96, 49, 0.1);
}

.product-sort-bar .form-control {
    border-color: var(--light-gray);
    font-size: 0.85rem;
}

.product-sort-bar .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 96, 49, 0.1);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem 0 2rem;
}

.product-grid .product-item {
    min-height: 340px;
    margin: 0;
}

/* Product Pagination */
.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.pagination-btn {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    color: var(--gray);
    background: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

/* Empty State */
.no-products-found {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.no-products-found i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid .product-item {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-grid .product-item {
        min-height: 320px;
    }
    .product-sort-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .product-sort-bar .form-control {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-grid .product-item {
        min-height: 300px;
    }
    .product-filters .filter-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    .subcategory-filters .filter-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }
    .product-pagination {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
}

/* ===== CART DRAWER ===== */
/* ===== CART / QUOTE DRAWER ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.cart-overlay.open {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    will-change: transform;
    z-index: 1030;
    padding: 1.5rem;
    transform: translateX(100%); /* Changed from 110% to 100% */
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    /* Ensure it doesn't cause overflow */
    left: auto;
    will-change: transform;
}

.cart-drawer.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

/* Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.cart-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.cart-header h2 i {
    color: var(--primary);
}

.cart-count {
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    margin-left: 0.3rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    padding: 0 0.5rem;
    transition: var(--transition);
    border-radius: 50%;
}

.cart-close:hover {
    color: var(--dark);
    background: var(--light-gray);
    transform: rotate(90deg);
}

/* Items scroll area */
.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.3rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray);
}

.cart-empty .big-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

/* Item row */
.cart-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item .item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
    position: relative;
    border: 1px solid var(--light-gray);
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item .item-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.35;
}

.item-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    transition: var(--transition);
    border-radius: 50%;
}

.item-remove:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.item-qty-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.6rem;
}

.item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-qty button {
    background: var(--light-gray);
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-qty button:hover {
    background: var(--primary);
    color: var(--white);
}

.item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.cart-footer {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
    flex-shrink: 0;
}

.btn-checkout {
    width: 100%;
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-checkout:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    .cart-item .item-image {
        width: 64px;
        height: 64px;
    }
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.cart-total .total-price {
    color: var(--primary);
}

/* ===== CART ITEM IMAGES ===== */

/* Product image in cart */
.cart-item .item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
    position: relative;
    border: 1px solid var(--light-gray);
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item .item-image.small {
    width: 50px;
    height: 50px;
}

.cart-item .item-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.item-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    transition: var(--transition);
    border-radius: 50%;
}

.item-remove:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Size Selection */
.item-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
    color: var(--gray);
}

.item-size select {
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 0.8rem;
    background: var(--white);
    cursor: pointer;
}

.item-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-qty button {
    background: var(--light-gray);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-qty button:hover {
    background: var(--primary);
    color: var(--white);
}

.item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.item-subtotal {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.item-actions-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.save-for-later-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.2rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.save-for-later-btn:hover {
    color: var(--primary);
}

/* Saved for Later */
.saved-for-later-section {
    margin-top: 1rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 0.8rem;
}

.saved-for-later-section h6 {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.saved-for-later-section h6 i {
    color: var(--primary);
}

.saved-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.saved-item-info {
    flex: 1;
}

.saved-item-actions {
    display: flex;
    gap: 0.3rem;
}

.move-to-cart-btn,
.remove-saved-btn {
    background: var(--light-gray);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.move-to-cart-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.remove-saved-btn:hover {
    background: #dc3545;
    color: var(--white);
}

/* Promo Code */
.cart-promo-section {
    margin-bottom: 0.8rem;
}

.cart-promo-section label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cart-promo-section label i {
    color: var(--primary);
}

.promo-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.promo-input-wrapper input {
    flex: 1;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.promo-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
}

.apply-promo-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.apply-promo-btn:hover {
    background: var(--primary-light);
}

.promo-message {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.promo-message.success {
    color: #28a745;
}

.promo-message.error {
    color: #dc3545;
}

/* Cart Summary */
.cart-summary {
    border-top: 1px solid var(--light-gray);
    padding-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.summary-row.discount-row {
    color: #28a745;
}

.summary-row.discount-row .discount-amount {
    font-weight: 600;
}

.summary-divider {
    border-top: 2px solid var(--light-gray);
    margin: 0.6rem 0;
}

.summary-row.total-row {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
}

.total-row .total-price {
    color: var(--primary);
    font-size: 1.3rem;
}

/* In Cart Indicator */
.in-cart-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(21, 96, 49, 0.3);
}

/* ===== ABOUT HOME - FIXED EQUAL HEIGHT ===== */
.about-home .row.align-items-stretch {
    align-items: stretch !important;
}

.about-image-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    min-height: 100%;
}

.about-image-grid .col-6 {
    display: flex;
    flex-direction: column;
}

.about-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 180px;
}

/* Experience badge - keeps height natural */
.about-experience {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 180px;
}

.about-content-panel {
    height: 100%;
    padding: 1rem 0;
}

.about-teaser {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limits to 4 lines on Home */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 4;
    font-size: 0.95rem;
}

.about-highlight-box {
    background: var(--light-gray);
    border-radius: 0.2rem;
    padding: 1rem;
    height: 100%;
    transition: var(--transition);
}

.about-highlight-box:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

/* WHY CHOOSE US - Differentiated */
.why-points p {
    padding: 0.5rem 0.5rem;
    margin-bottom: 0rem !important;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.04); */
    transition: var(--transition);
    font-size: 0.85rem;
}

.why-points p:hover {
    transform: translateX(4px);
    /* box-shadow: var(--shadow); */
}

.why-points strong {
    color: var(--dark) !important;
}

/* Stat boxes - already exist but update labels */
.stat-box .stat-label {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Mobile fix */
@media (max-width: 991px) {
    .about-image-grid {
        min-height: auto;
    }
    .about-img {
        min-height: 200px;
    }
    .about-experience {
        min-height: 200px;
    }
    .about-teaser {
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }
}

/* Personalization touch - Modern Farmers brand */
.about-home {
    position: relative;
}

.about-home::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: rgba(21, 96, 49, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.small {
    font-size: 0.9rem !important;
}

.about-box {
    margin-top: 1.2rem !important;
    padding-right: 0.6rem !important;
    padding-left: 0.6rem !important;
}
/* ===== ABOUT PAGE FIX - Equal Height Details + Picture, 4 boxes full width ===== */
#page-about .about-detail-card {
    background: #fff;
    border-radius: 0.1rem;
    transition: all 0.3s ease;
    border: 1px solid #eef3f0;
}

#page-about .about-detail-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

#page-about #about-carousel {
    border-radius: 12px;
    overflow: hidden;
}

#page-about .location-mini-card {
    border-radius: 0.1rem;
    box-shadow: var(--shadow);
}

/* ===== BANNER FIX - Only Home Page, No Parallax Leak ===== */
#page-home .parallax-mirror {
    display: block !important;
}

/* 7. ABOUT SERVICE BOXES NATIVE - White */
.about-service-box{
  padding:1.05rem; height:100%;
  text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center;
  transition:all 0.4s ease; position:relative; overflow:hidden;
}
.about-service-icon{
    width: 70px;
    height: 70px;
    /* background: #eef3f0; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid rgba(255,255,255,0.2); */
    /* border-radius: 12px; */
    color: #156031;
    font-size: 3.4rem;
    transition: all 0.4s ease;
    /* margin: 0 auto 1rem auto; */
    transform: scale(1.1) rotate(3deg);
}
.about-service-box h5{
  font-size:1rem; font-weight:700; 
  line-height:1.3; margin-bottom:0.1rem; text-align:center;
}
.about-service-box p{
  font-size:0.9rem; line-height:1.6; color:#6a7a7a; margin-bottom:0.8rem; text-align:center;
  display:-webkit-box; line-clamp:3; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.about-service-tag{
  background:#156031; color: var(--white);
  display:inline-block; border-radius:20px;
  padding:0.2rem 0.7rem; font-size:0.68rem; font-weight:700; letter-spacing:0.3px; text-transform:uppercase;
}

/* ===== MODERN FARMERS - NATIVE TOKEN SYSTEM v2 - ALL FIXES ===== */
.blog-grid{display:flex; flex-direction: column; justify-content: space-between; gap:1.5rem}
.blog-card{background:var(--white); border:1px solid var(--light-gray); border-radius: 0.1rem; overflow:hidden; transition:var(--transition); height:100%}
.blog-card:hover{box-shadow:var(--shadow-hover); transform:scale(1.05)}
.blog-image{height:190px; overflow:hidden; background:var(--light-gray); position:relative}
.blog-image img{width:100%; height:100%; object-fit:cover; transition:var(--transition)}
.blog-card:hover .blog-image img{transform:scale(1.05)}
.blog-body{padding:1.3rem}
.blog-meta{display:flex; gap:0.8rem; font-size:0.76rem; color:var(--gray); margin-bottom:0.6rem}
.blog-card h4{font-family:'Libre Baskerville',serif; font-size:1.05rem; line-height:1.3; margin-bottom:0.6rem}
.read-more{color:var(--primary); font-weight:600; font-size:0.85rem}

/* 10. TOKENIZATION - Scale fix */
.navbar .navbar-brand h1{font-size:1.35rem !important}
.navbar .navbar-brand img{height:1.9rem !important}
@media(max-width:1399px){.navbar .navbar-brand h1{font-size:1.15rem !important} .navbar-nav .nav-link{font-size:0.8rem !important}}


/* ===== PRODUCT CATEGORY CARDS (Homepage - image with text overlay) ===== */
.product-category-card {
    position: relative;
    display: block;
    border-radius: 0.1rem;
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    background: var(--dark);
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-category-card:hover img {
    transform: scale(1.08);
}

.product-category-card .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem;
    transition: background 0.3s ease;
}

.product-category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(21, 96, 49, 0.9) 0%, rgba(21, 96, 49, 0.6) 45%, rgba(0, 0, 0, 0.3) 100%);
}

.product-category-card .category-overlay h5 {
    margin: 0 0 0.25rem;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.product-category-card .category-overlay span {
    display: block;
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .product-category-card {
        height: 180px;
    }
    .product-category-card .category-overlay {
        padding: 0.9rem 1rem;
    }
    .product-category-card .category-overlay h5 {
        font-size: 1rem;
    }
    .product-category-card .category-overlay span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .product-category-card {
        height: 150px;
    }
    .product-category-card .category-overlay {
        padding: 0.7rem 0.8rem;
    }
    .product-category-card .category-overlay h5 {
        font-size: 0.88rem;
    }
    .product-category-card .category-overlay span {
        font-size: 0.65rem;
    }
}
/* ===== PARTNERS MARQUEE (Transparent, Infinite Horizontal Scroll) ===== */
.partners-section {
    overflow: hidden;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 1rem;
    /* Fade edges for a polished look */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: partners-scroll 50s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    text-align: center;
    background: transparent;
    border: none;
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.partner-item .partner-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.partner-item .partner-category {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

/* The infinite scroll animation */
@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-track {
        gap: 2.5rem;
        animation-duration: 35s;
    }
    .partner-item {
        min-width: 120px;
    }
    .partner-item i {
        font-size: 2rem;
    }
    .partner-item .partner-name {
        font-size: 0.85rem;
    }
    .partner-item .partner-category {
        font-size: 0.6rem;
    }
}

.partner-item .partner-logo-img {
    max-height: 100px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    filter: grayscale(100%);  /* optional: makes all logos look uniform */
    transition: filter 0.3s ease;
}

.partner-item .partner-logo-img:hover {
    filter: grayscale(0%);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 20, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.search-overlay-box {
    position: relative;
    width: 92%;
    max-width: 680px;
    max-height: 80vh;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: searchSlideIn 0.25s ease;
}

@keyframes searchSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.search-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--light-gray);
}

.search-header .search-icon {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-header input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: var(--dark);
    padding: 0.4rem 0;
    font-family: inherit;
}

.search-header input::placeholder {
    color: var(--gray);
}

.search-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-close:hover {
    color: var(--dark);
    background: var(--light-gray);
}

.search-results {
    overflow-y: auto;
    padding: 0.5rem;
    max-height: 60vh;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.search-result-item:hover {
    background: var(--light-gray);
}

.search-result-item .result-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(21, 96, 49, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.search-result-item .result-content {
    flex: 1;
    min-width: 0;
}

.search-result-item .result-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-item .result-desc {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result-item .result-type {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    /* color: var(--secondary);  */
    background: var(--secondary-light);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.4px;
}

.search-no-results {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--gray);
}

.search-no-results i {
    font-size: 2.2rem;
    color: var(--light-gray);
    margin-bottom: 0.6rem;
    display: block;
}

.search-no-results p {
    margin: 0;
    font-size: 0.95rem;
}

.search-no-results .small {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.search-hint {
    padding: 1.5rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.search-hint p {
    margin-bottom: 1rem;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.search-suggestions button {
    background: var(--light-gray);
    border: none;
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.search-suggestions button:hover {
    background: var(--primary);
    color: var(--white);
}

/* Mobile */
@media (max-width: 576px) {
    .search-overlay-box {
        width: 100%;
        max-width: 100%;
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    .search-overlay {
        padding-top: 4vh;
    }
    .search-result-item {
        padding: 0.7rem 0.8rem;
        gap: 0.7rem;
    }
    .search-result-item .result-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .search-result-item .result-title {
        font-size: 0.88rem;
    }
    .search-result-item .result-desc {
        font-size: 0.75rem;
    }
}

/* ===== PRODUCT WHATSAPP BUTTON ===== */
.btn-whatsapp-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: auto;
    padding: 0.55rem 0.8rem;
    border: none;
    border-radius: 30px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-whatsapp-product:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-product i {
    font-size: 1rem;
}
/* ============================================================= */
/* BLOG PAGE — Two-column layout + Compact Calendar              */
/* ============================================================= */

/* ---- Page header ---- */
.blog-page-header {
    margin-bottom: 2rem;
}

/* ============================================================= */
/* TWO-COLUMN LAYOUT: Posts (left) + Sidebar (right)             */
/* ============================================================= */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

/* ============================================================= */
/* COMPACT CALENDAR (sidebar widget)                             */
/* ============================================================= */
.compact-calendar {
    background: var(--white);
    border-radius: 0.1rem !important;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-gray);
}

.compact-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--light-gray);
}

.compact-cal-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
}

.compact-cal-nav {
    background: var(--light-gray);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    transition: var(--transition);
}

.compact-cal-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.compact-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.4rem;
}

.compact-cal-weekdays span {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0;
}

.compact-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.2rem;
}

.compact-cal-grid .cal-cell {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--dark);
    background: #f8fbf9;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: default;
    min-height: 32px;
}

.compact-cal-grid .cal-cell.empty {
    background: transparent;
}

.compact-cal-grid .cal-cell.past {
    color: #c5cdc9;
    /* background: transparent; */
}

.compact-cal-grid .cal-cell.today {
    font-weight: 800;
    box-shadow: 0 0 0 2px var(--secondary);
    /* background: var(--light-gray);
    color: var(--primary); */
}

.compact-cal-grid .cal-cell.has-event {
    cursor: pointer;
    font-weight: 800;
    border-width: 1px;
    border-style: solid;
    /* color: var(--primary);
    background: #f0f5f2; */
}

.compact-cal-grid .cal-cell.has-event:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
/*     
    background: var(--primary);
    color: var(--white); */
}

.compact-cal-grid .cal-cell.has-event:hover .cal-dot {
    background: var(--white) !important;
}

.compact-cal-grid .cal-num {
    line-height: 1;
    position: relative;
    z-index: 1;
}

.compact-cal-grid .cal-dot {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.compact-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 600;
}

.compact-cal-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.compact-cal-legend .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* ============================================================= */
/* NEXT UP CARD (below calendar in sidebar)                      */
/* ============================================================= */
.nextup-card {
    background: var(--white);
    border-radius: 0.1rem !important;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-gray);
}

.nextup-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nextup-empty {
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem 0;
}

.nextup-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nextup-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    background: #f8fbf9;
}

.nextup-item:hover {
    background: var(--light-gray);
    transform: translateX(4px);
}

.nextup-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    min-width: 46px;
    flex-shrink: 0;
}

.nextup-day {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    font-weight: 800;
    /* color: var(--primary); */
    line-height: 1;
}

.nextup-month {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    /* color: var(--primary); */
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
    opacity: 0.9;
}

.nextup-info {
    flex: 1;
    min-width: 0;
}

.nextup-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.nextup-title-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.nextup-loc {
    font-size: 0.7rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ============================================================= */
/* BLOG FILTERS (full width, above the two-column layout)        */
/* ============================================================= */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border: 1.5px solid #dce4e0;
    background: var(--white);
    border-radius: 40px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(21, 96, 49, 0.25);
}

.blog-filter-btn .filter-count {
    background: rgba(21, 96, 49, 0.1);
    color: var(--primary);
    padding: 0.1rem 0.55rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 22px;
    text-align: center;
}

.blog-filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* ============================================================= */
/* FEATURED POST (stacked — image on top, content below)         */
/* ============================================================= */
.featured-post {
    background: var(--white);
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    margin-bottom: 2rem;
    transition: var(--transition);

/* 
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    margin-bottom: 2rem;
    cursor: pointer;
    transition: 0.2s; */
}

.featured-default {
    cursor: pointer;
    transition: var(--transition);
}

.featured-default:hover {
    transform: translateY(-3px);
}

.featured-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.featured-image {
    position: relative;
    height: 220px;
    background: #f0f5f2;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 5rem;
}

.featured-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-content {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.featured-content p {
    color: #4a5a5a;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.6rem;
}

.featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.btn-featured-read {
    align-self: flex-start;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-featured-read:hover {
    background: var(--primary-light);
    gap: 0.8rem;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(21, 96, 49, 0.3);
}

/* Detail view */
.blog-detail {
    animation: fadeIn 0.3s ease;
}

.blog-detail-back {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 1rem 1.75rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-detail-back:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.blog-detail-image {
    position: relative;
    height: 320px;
    background: #f0f5f2;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 6rem;
}

.blog-detail-body {
    padding: 2rem 2rem 2.25rem;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-detail-meta i {
    color: var(--primary);
}

.blog-detail-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 0.85rem;
}

.blog-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5a5a;
    font-weight: 500;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.blog-detail-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #3a4a4a;
    margin-bottom: 1rem;
}

/* Share buttons */
.blog-detail-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 1.75rem 0 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.share-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    margin-right: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #000000; }
.share-linkedin { background: #0A66C2; }
.share-email { background: var(--primary); }
.share-copy { background: var(--secondary); color: var(--dark); }

.blog-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-detail-actions .btn {
    padding: 0.7rem 1.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    text-decoration: none;
}

/* ============================================================= */
/* BLOG GRID (2 columns inside the narrower main column)         */
/* ============================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.blog-card {
    background: var(--white);
    border-radius: 0.1rem !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(21, 96, 49, 0.15);
}

.blog-card-image {
    position: relative;
    height: 150px;
    background: #f0f5f2;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 3rem;
}

.blog-card-cat {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.blog-card-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.7rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-body h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.blog-card-body p {
    color: #5a6a6a;
    font-size: 0.82rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-readmore {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-readmore {
    gap: 0.65rem;
}

/* ============================================================= */
/* PAGINATION                                                    */
/* ============================================================= */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.blog-pagination-btn {
    background: var(--white);
    border: 1.5px solid var(--light-gray);
    color: var(--dark);
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.blog-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-pagination-info {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gray);
    background: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    border: 1px solid var(--light-gray);
}

/* Highlight pulse */
.blog-card.highlight,
.featured-post.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }
    30% {
        box-shadow: 0 0 0 4px rgba(21, 96, 49, 0.35), 0 14px 36px rgba(21, 96, 49, 0.15);
    }
}

/* ============================================================= */
/* RESPONSIVE                                                    */
/* ============================================================= */

/* Tablet — sidebar stacks below posts */
@media (max-width: 1100px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-sidebar {
        position: static;
        flex-direction: row;
        align-items: stretch;
    }
    .compact-calendar,
    .nextup-card {
        flex: 1;
    }
}

/* Small tablet — sidebar stacks vertically, grid to 1 col */
@media (max-width: 800px) {
    .blog-sidebar {
        flex-direction: column;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-detail-title {
        font-size: 1.4rem;
    }
    .blog-detail-body {
        padding: 1.5rem 1.25rem;
    }
    .blog-detail-image {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .compact-cal-grid .cal-cell {
        font-size: 0.7rem;
        min-height: 28px;
    }
    .featured-image {
        height: 180px;
    }
    .blog-detail-share {
        gap: 0.4rem;
    }
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .share-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .blog-detail-actions {
        flex-direction: column;
    }
    .blog-detail-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================================= */
/* CONTACT PAGE                                                  */
/* ============================================================= */

.contact-block-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-block-sub {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.contact-success-msg {
    background: #e8f5ee;
    color: #156031;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* ---- Location Tabs ---- */

.location-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.location-tab {
    flex: 1;
    background: var(--white);
    border: 1.5px solid var(--light-gray);
    padding: 0.6rem 1rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.location-tab i {
    font-size: 0.85rem;
    color: var(--primary);
    transition: var(--transition);
}

.location-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.location-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(21, 96, 49, 0.25);
}

.location-tab.active i {
    color: var(--secondary);
}

/* Address line 2 — landmark / hint */
.address-line-2 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
    padding-top: 0.3rem;
}

.address-line-2 i {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .address-line-2 {
        font-size: 0.78rem;
    }
}

/* Contact detail links */
#page-contact .d-flex .ms-3 a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

#page-contact .d-flex .ms-3 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .location-tabs {
        flex-direction: column;
    }
}

/* Phone numbers inline */
.phone-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.6;
}

.phone-list span {
    display: inline-flex;
    align-items: center;
}

.phone-sep {
    color: var(--gray);
    margin: 0 0.35rem;
    font-weight: 400;
    display: inline !important;
}

@media (max-width: 576px) {
    .phone-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .phone-sep {
        display: none !important;
    }
}

/* Address line — inline with separator */
.address-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.6;
    font-weight: 400;
}

.address-line span {
    display: inline-flex;
    align-items: center;
}

.address-sep {
    color: var(--gray);
    margin: 0 0.35rem;
    font-weight: 400;
    display: inline !important;
}

@media (max-width: 576px) {
    .address-line {
        flex-direction: column;
        align-items: flex-start;
    }
    .address-sep {
        display: none !important;
    }
}

/* ---- Map ---- */
.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--light-gray);
    margin-bottom: 1.25rem;
    background: var(--light-gray);
    animation: fadeIn 0.4s ease;
}

/* ---- Location Details ---- */
.location-details {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.4s ease;
}

.location-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f2f5f3;
}

.location-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(21, 96, 49, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.location-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark);
}

.location-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.location-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.location-text strong {
    color: var(--dark);
    font-weight: 700;
}

.location-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
}

.location-hours-row span {
    color: var(--gray);
}

.location-hours-row strong {
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .location-tabs {
        flex-direction: column;
    }
    .location-tab {
        width: 100%;
    }
    .location-map iframe {
        height: 220px !important;
    }
    .location-details {
        padding: 1.15rem;
    }
    .contact-block-title {
        font-size: 1.2rem;
    }
}

/* ===== FOOTER — REFINED ===== */

/* Office blocks */
.footer .footer-office .office-name {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
}

.footer .footer-office .office-name i {
    color: var(--secondary);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer .footer-office p {
    font-size: 0.9rem;
    line-height: 1.55;
    display: block;
    text-align: left;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: normal;
    text-transform: capitalize;
}

.footer .footer-office p i {
    color: var(--secondary);
    opacity: 0.75;
    font-size: 0.85rem;
}

/* Add a subtle divider between the two offices */
.footer .footer-office + .footer-office {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Social buttons — slightly tighter, cleaner */
.footer .btn-square.btn-secondary {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer .btn-square.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 6px 16px rgba(237, 221, 94, 0.3);
}

/* Newsletter input group */
.footer .input-group .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.footer .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer .input-group .form-control:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(237, 221, 94, 0.15);
    color: var(--light);
}

.footer .input-group .btn-secondary {
    font-weight: 700;
    padding: 0 1.3rem;
    border-radius: 0 6px 6px 0;
    white-space: nowrap;
}

/* Responsive — stack offices nicely on tablet */
@media (max-width: 991.98px) {
    .footer .footer-office p {
        
        margin-left: 0;
    }
}

/* ===== MOBILE NAV ICONS (icon-only, compact) ===== */
.mobile-nav-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    align-items: center;
    justify-content: flex-start;
    flex-basis: 100%;        /* ← ADD THIS LINE */
    width: 100%;             /* ← AND THIS LINE */
}

.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-nav-icon:hover,
.mobile-nav-icon:focus {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-icon.mobile-cart-icon .mobile-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary) !important;
    color: var(--dark) !important;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(245, 166, 35, 0.4);
}

.mobile-nav-icon .mobile-lang-code {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.mobile-nav-icon-dropdown {
    display: inline-flex;
    align-items: center;
}

/* Remove the default Bootstrap caret on the language dropdown */
.mobile-nav-icon-dropdown .mobile-nav-icon::after {
    display: none;
}

/* ===== FIX: Navbar at 1024px - prevent overlap ===== */
@media (max-width: 1199.98px) {
    /* Switch to mobile-style navbar earlier to prevent cramping */
    .navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 0.55rem 0;
    }
    
    .navbar .navbar-nav {
        border-top: 1px solid var(--light-gray);
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .navbar .btn-quote {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
        width: 100%;
    }

    /* Hide desktop-only icon row */
    .navbar .border-start,
    .navbar .ps-3.d-none.d-xl-block {
        display: none !important;
    }
    
    /* Show mobile nav actions */
    .mobile-nav-actions {
        display: flex !important;
    }
    
    /* Logo should not overlap */
    .logo-wrapper {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .logo-text .brand {
        font-size: 1.1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.6rem;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/* ============================================================= */
/* NAVBAR — Compact for laptops (1200px – 1599px)                */
/* Long languages (FR, DE) need tighter spacing to fit cleanly   */
/* ============================================================= */
@media (min-width: 1200px) and (max-width: 1599.98px) {

    /* Tighter nav links */
    .navbar .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.08rem;
    }

    /* Smaller Get Quote button */
    .navbar .btn-quote {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.8rem;
        margin-left: 0.3rem;
    }

    /* Tighter search / cart / language area */
    .navbar .nav-search {
        font-size: 0.95rem;
        padding: 0.4rem 0.5rem;
    }

    .navbar .cart-btn {
        font-size: 1.15rem;
        padding: 0.4rem 0.5rem;
    }

    .navbar .lang-switcher .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    /* Slightly narrower logo area so nav has more room */
    .logo-wrapper img {
        height: 50px;
    }

    .logo-text .brand {
        font-size: 1.15rem;
        letter-spacing: 1.6px;
    }

    .logo-text .tagline {
        font-size: 0.58rem;
    }

    /* Reduce the gap between the icon row and nav */
    .navbar .border-start {
        padding-left: 0.8rem !important;
    }

    .navbar .ps-3 {
        padding-left: 0.5rem !important;
    }
}

/* ============================================================= */
/* PRODUCT DETAIL VIEW (mirrors blog detail pattern)             */
/* ============================================================= */
.product-detail {
    animation: fadeIn 0.3s ease;
    padding-top: 1rem;
}

.product-detail-back {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.product-detail-back:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.product-detail-image {
    position: relative;
    border-radius: 0.1rem;
    overflow: hidden;
    background: var(--light-gray);
    min-height: 420px;
    box-shadow: var(--shadow);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.product-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 420px;
    color: var(--primary);
    font-size: 6rem;
    opacity: 0.3;
    background: var(--light-gray);
}

.product-detail-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-detail-subcategory {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--light-gray);
    font-weight: 500;
}

.product-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.product-detail-meta i {
    color: var(--primary);
}

.product-detail-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5a5a;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.product-detail-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #3a4a4a;
    margin-bottom: 1rem;
}

.product-detail-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin: 1.5rem 0 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.product-detail-qty {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-detail-qty label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail-qty .item-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--light-gray);
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
}

.product-detail-qty .item-qty button {
    background: var(--white);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.product-detail-qty .item-qty button:hover {
    background: var(--primary);
    color: var(--white);
}

.product-detail-qty .item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
}

.product-detail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-left: auto;
}

.product-detail-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.product-detail-share .share-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    margin-right: 0.5rem;
}

.product-detail-share .share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.product-detail-share .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Related products */
.product-detail-related {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--light-gray);
}

.product-detail-related-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-image,
    .product-detail-image img,
    .product-detail-placeholder {
        min-height: 340px;
    }
    .product-detail-title {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }
    .product-detail-buttons {
        margin-left: 0;
        width: 100%;
    }
    .product-detail-buttons .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 576px) {
    .product-detail-title {
        font-size: 1.4rem;
    }
    .product-detail-buttons .btn {
        width: 100%;
    }
}

/* ============================================================= */
/* ABOUT CAROUSEL — Brand Poster Slide                          */
/* ============================================================= */
.about-brand-slide {
    background: linear-gradient(135deg, #0f4a25 0%, #156031 50%, #1e8a45 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Subtle radial glow behind the logo */
.about-brand-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(245, 166, 35, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.about-brand-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 500px;
    animation: fadeIn 0.6s ease;
}

.about-brand-logo {
    height: 180px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
    animation: zoomIn 0.7s ease;
}

.about-brand-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.about-brand-name span {
    color: #f5a623;
}

.about-brand-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #f5a623;
    letter-spacing: 0.6px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-brand-logo {
        height: 140px;
        margin-bottom: 1.2rem;
    }
    .about-brand-name {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    .about-brand-tagline {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-brand-logo {
        height: 110px;
        margin-bottom: 1rem;
    }
    .about-brand-name {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }
    .about-brand-tagline {
        font-size: 0.88rem;
    }
    .about-brand-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .about-brand-logo {
        height: 90px;
    }
    .about-brand-name {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    .about-brand-tagline {
        font-size: 0.8rem;
    }
}