:root {
    --primary-color: #1a4d2e;
    --secondary-color: #d4af37;
    --accent-color: #8b4513;
    --dark-bg: #0f1419;
    --light-bg: #f8f6f1;
    --text-dark: #1a1a1a;
    --text-light: #f8f6f1;
    --text-muted: #476b55;
    --border-color: #e5d9c5;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #1a4d2e 0%, #2d7a4f 100%);
    --gradient-2: linear-gradient(135deg, #a37d04 0%, #f1be01 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(112, 193, 141, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(115, 181, 138, 0.8);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-menu li a::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #e0b655);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent-color);
    background: rgba(201,151,58,0.08);
}

.nav-menu li a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu li a.active {
    background: linear-gradient(135deg, var(--primary-color), #1f5438);
    color: white;
    box-shadow: 0 4px 15px rgba(22,61,40,0.25);
}

.nav-menu li a.active::before {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: var(--accent-color);
}

/* Mobile menu */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        max-width: 320px;
        padding: 2rem 1.5rem;
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        gap: 0.5rem;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d6ecd0 0%, #bac7b3 50%, #f1f8f6 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@media (max-width: 640px) {
    .hero-background::before {
        width: 400px;
        height: 400px;
        right: -50%;
    }
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 77, 46, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(255, 220, 4, 0.65);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(214, 178, 0, 0.7);
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease-out;
}

/* Carousel Styles */
.carousel-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    color: white;
}

.carousel-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}
/* Floating Cards Bridge Section */
.floating-cards-bridge {
    /*background: linear-gradient(135deg, #fdf6e3 0%, #fff9f0 100%);*/
    background: rgb(135, 177, 149);
    padding: 3rem 0;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.floating-cards-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.floating-card {
    position: relative;
    background: #b5d8b6;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    border-bottom-color: var(--primary-color);
}

.card-1 { animation: floatCard1 6s ease-in-out infinite; }
.card-2 { animation: floatCard2 7s ease-in-out infinite; }
.card-3 { animation: floatCard3 8s ease-in-out infinite; }

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.floating-card .icon i {
    display: block;
}

.floating-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.floating-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Styling */
section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/*.section-title-center {*/
/*    font-family: 'Playfair Display', serif;*/
/*    font-size: 3rem;*/
/*    font-weight: 700;*/
/*    color: var(--primary-color);*/
/*    text-align: center;*/
/*    margin-bottom: 2rem;*/
/*}*/

/* About Section */
.about {
    background: rgb(135, 177, 149);
    color: var(--text-light);
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.vm-card {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.08) 0%, rgba(212, 175, 55, 0.15) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease !important;
}

.vm-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.vm-icon i {
    display: block;
}

.vm-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vm-card p {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.7;
}
/* Collage Banner */
.collage-banner {
    position: relative;
    background: rgb(135, 177, 149);
    width: 100%;
    padding: 0 20px; /* Same as container padding */
    line-height: 0;
}

.collage-banner-inner {
    position: relative;
    max-width: 1200px; /* Same as container */
    margin: 0 auto;
    max-height: 480px;
    overflow: hidden;
    border-radius: 12px; /* Optional: adds rounded corners */
}

.collage-banner-inner img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.collage-banner-inner:hover img {
    transform: scale(1.02);
}
.collage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.35) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.collage-overlay p {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin: 0;
    text-align: center;
    padding: 0.6rem 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.7);
}

/* Values Section */
.values {
    padding: 4rem 0;
    background: rgb(135, 177, 149);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,151,58,0.1), transparent);
    border-radius: 50%;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.value-card {
    background: #c5eab3;
    padding: 1.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #e0b655);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:nth-child(1) { --card-color: #4b700d; --card-bg: #eff6ff; } /* Green */
.value-card:nth-child(2) { --card-color: #4b700d; --card-bg: #eff6ff; } /* Amber */
.value-card:nth-child(3) { --card-color: #4b700d; --card-bg: #eff6ff; } /* Blue */
.value-card:nth-child(4) { --card-color: #4b700d; --card-bg: #eff6ff; } /* Emerald */
.value-card:nth-child(5) { --card-color: #4b700d; --card-bg: #eff6ff; } /* Pink */

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--card-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: var(--card-bg);
    color: var(--card-color);
    transition: all 0.4s ease;
    position: relative;
}

.value-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--card-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--card-color);
    color: white;
}

.value-card:hover .value-icon::after {
    opacity: 0.3;
    transform: scale(1);
}

.value-icon i {
    display: block;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.value-card:hover h3 {
    color: var(--card-color);
}

.value-card p {
    font-size: 1.1rem;
    color: #6d8e77;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.25rem;
    }

    .value-card {
        padding: 1.75rem 1.25rem;
    }

    .value-icon {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
    }
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #008833 0%, #023020 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(9, 232, 91, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(136, 221, 167, 0.8),
        0 0 0 10px rgba(37, 211, 102, 0.1),
        0 0 0 20px rgba(37, 211, 102, 0.05);
    }
}
/* Image Gallery Section */
.gallery-section {
    /*background: var(--light-bg);*/
    background: rgb(135, 177, 149);
    /*padding: 3rem 0;*/
    overflow: hidden;
}

.section-header-center {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-center .section-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gallery-collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    grid-template-rows: 280px 280px;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

/* Cell shapes */
.cell-tall {
    grid-row: span 2;
}
.cell-wide {
    grid-column: span 2;
}
.cell-small {
    grid-row: span 1;
    grid-column: span 1;
}

/* Specific layout positions */
.gallery-cell:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-cell:nth-child(2) { grid-column: 2 / span 2; grid-row: 1; }
.gallery-cell:nth-child(3) { grid-column: 2; grid-row: 2; }
.gallery-cell:nth-child(4) { grid-column: 3; grid-row: 2; }
.gallery-cell:nth-child(5) { display: none; }
.gallery-cell:nth-child(6) { display: none; }

.gallery-cell {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgb(119, 163, 134);
    cursor: pointer;
}

.gallery-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-cell:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

/* Overlay shimmer on hover */
.gallery-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.0) 0%,
    rgba(212, 175, 55, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 12px;
}

.gallery-cell:hover::after {
    opacity: 1;
}

/* Swap transition classes */
.gallery-img-wrap.swapping-out img {
    animation: galleryFadeOut 0.5s ease forwards;
}

.gallery-img-wrap.swapping-in img {
    animation: galleryFadeIn 0.5s ease forwards;
}

@keyframes galleryFadeOut {
    0%   { opacity: 1; transform: scale(1); filter: blur(0px); }
    100% { opacity: 0; transform: scale(1.05); filter: blur(4px); }
}

@keyframes galleryFadeIn {
    0%   { opacity: 0; transform: scale(1.05); filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

/* Zoom-out transition variant */
.gallery-img-wrap.swapping-zoom-out img {
    animation: galleryZoomOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gallery-img-wrap.swapping-zoom-in img {
    animation: galleryZoomIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes galleryZoomOut {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.85); }
}
@keyframes galleryZoomIn {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* Slide transition variant */
.gallery-img-wrap.swapping-slide-out img {
    animation: gallerySlideOut 0.5s ease forwards;
}
.gallery-img-wrap.swapping-slide-in img {
    animation: gallerySlideIn 0.5s ease forwards;
}

@keyframes gallerySlideOut {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}
@keyframes gallerySlideIn {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
        gap: 8px;
    }

    .gallery-cell:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
    .gallery-cell:nth-child(2) { grid-column: 2; grid-row: 1; }
    .gallery-cell:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-cell:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
    .gallery-cell:nth-child(5) { display: none; }
    .gallery-cell:nth-child(6) { display: none; }
}

@media (max-width: 480px) {
    .gallery-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 150px 150px 150px;
        gap: 6px;
    }
}


/* Products Section */
.products {
    background: rgb(135, 177, 149);
}
.new-product-showcase {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #3d2817 0%, #5c3d2e 50%, #3d2817 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.new-product-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.new-product-badge {
    position: absolute;
    top: -10px;
    right: 5px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);

    color: #1a1a1a;

    padding: 12px 30px;

    border-radius: 0 0 20px 20px;

    font-weight: 700;

    font-size: 0.9rem;

    letter-spacing: 2px;

    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);

    animation: pulse 2s ease-in-out infinite;

    overflow: hidden;

    position: relative;

}



.badge-shine {

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);

    animation: shine 3s infinite;

}



@keyframes shine {

    0% { left: -100%; }

    50%, 100% { left: 100%; }

}



@keyframes pulse {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.05); }

}



.new-product-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 3rem;

    align-items: center;

    position: relative;

    z-index: 1;

}



.bestko-logo-container {

    position: relative;

    text-align: center;

    transition: transform 0.3s ease;

}



.bestko-logo-container:hover {

    transform: scale(1.05);

}



.bestko-product-img {

    max-width: 100%;

    height: auto;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));

    animation: floatProduct 3s ease-in-out infinite;

    cursor: pointer;

}



@keyframes floatProduct {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-20px); }

}



.new-label {

    position: absolute;

    top: -20px;

    right: -20px;

    background: #ff4444;

    color: white;

    width: 80px;

    height: 80px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 900;

    font-size: 1.2rem;

    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.5);

    animation: rotate 10s linear infinite, pulse 2s ease-in-out infinite;

}



@keyframes rotate {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



.new-product-info {

    color: white;

}



.new-product-info h3 {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    margin-bottom: 1rem;

    color: var(--secondary-color);

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

}



.tagline {

    font-size: 1.5rem;

    font-style: italic;

    margin-bottom: 2rem;

    color: #f8f6f1;

}



.view-details-btn {

    background: linear-gradient(135deg, var(--secondary-color) 0%, #f4d03f 100%);

    color: #1a1a1a;

    border: none;

    padding: 1rem 2.5rem;

    font-size: 1.1rem;

    font-weight: 600;

    border-radius: 50px;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);

    position: relative;

    overflow: hidden;

}



.view-details-btn::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    transition: left 0.5s ease;

}



.view-details-btn:hover::before {

    left: 100%;

}



.view-details-btn:hover {

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);

}



.view-details-btn:active {

    transform: translateY(-1px) scale(1.02);

}



.click-hint {

    font-size: 0.9rem;

    color: rgba(248, 246, 241, 0.7);

    margin-top: 1rem;

    font-style: italic;

    animation: fadeInPulse 2s ease-in-out infinite;

}



@keyframes fadeInPulse {

    0%, 100% { opacity: 0.7; }

    50% { opacity: 1; }

}



/* BESTKO Modal */

.bestko-modal {

    display: none;

    position: fixed;

    z-index: 10000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.9);

    animation: fadeIn 0.3s ease;

}



.bestko-modal-content {

    position: relative;

    background: linear-gradient(135deg, #3d2817 0%, #5c3d2e 50%, #3d2817 100%);

    margin: 2% auto;

    padding: 0;

    width: 90%;

    max-width: 1200px;

    max-height: 90vh;

    overflow-y: auto;

    border-radius: 30px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

    animation: slideDown 0.4s ease;

}



@keyframes slideDown {

    from {

        opacity: 0;

        transform: translateY(-50px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.bestko-close {

    position: absolute;

    right: 20px;

    top: 20px;

    color: var(--secondary-color);

    font-size: 3rem;

    font-weight: bold;

    cursor: pointer;

    z-index: 10;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    transition: all 0.3s ease;

}



.bestko-close:hover {

    background: rgba(255, 255, 255, 0.2);

    transform: rotate(90deg);

}



.modal-header {

    text-align: center;

    padding: 3rem 2rem 2rem;

    color: white;

}



.modal-header h2 {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    color: var(--secondary-color);

    margin-bottom: 0.5rem;

}



.modal-tagline {

    font-size: 1.5rem;

    font-style: italic;

    color: #f8f6f1;

}



/* BESTKO Carousel */

.bestko-carousel-container {

    position: relative;

    max-width: 800px;

    margin: 2rem auto;

    background: rgba(0, 0, 0, 0.3);

    border-radius: 20px;

    overflow: hidden;

}



.bestko-carousel {

    position: relative;

    width: 100%;

    height: 500px;

}



.bestko-slide {

    display: none;

    width: 100%;

    height: 100%;

    align-items: center;

    justify-content: center;

    padding: 2rem;

}



.bestko-slide.active {

    display: flex;

    animation: fadeIn 0.5s ease;

}



.bestko-slide img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));

}



.bestko-carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(212, 175, 55, 0.9);

    color: white;

    border: none;

    padding: 1rem 1.5rem;

    font-size: 2rem;

    cursor: pointer;

    border-radius: 10px;

    transition: all 0.3s ease;

    z-index: 10;

}



.bestko-carousel-btn:hover {

    background: rgba(212, 175, 55, 1);

    transform: translateY(-50%) scale(1.1);

}



.bestko-prev {

    left: 20px;

}



.bestko-next {

    right: 20px;

}



.bestko-indicators {

    position: absolute;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 10;

}



.bestko-indicator {

    width: 15px;

    height: 15px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: all 0.3s ease;

}



.bestko-indicator.active {

    background: var(--secondary-color);

    width: 40px;

    border-radius: 10px;

}



/* Modal Info Section */

.modal-info {

    padding: 3rem;

    color: white;

}



.info-section {

    margin-bottom: 2rem;

}



.info-section h3 {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    color: var(--secondary-color);

    margin-bottom: 1rem;

}



.info-section p {

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 1.5rem;

}



.product-features {

    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1rem;

}



.product-features li {

    padding: 0.8rem 1.5rem;

    background: rgba(212, 175, 55, 0.1);

    border-left: 3px solid var(--secondary-color);

    border-radius: 5px;

    font-size: 1.1rem;

}

/* Usage Grid */
.varieties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.variety-card {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.variety-card:hover {
    border-color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.variety-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.variety-card h4 i {
    font-size: 1.5rem;
}

.variety-card p {
    font-size: 1rem;
    color: rgba(248, 246, 241, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Professional Info Tables */
.info-table {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-bottom: 2px solid var(--secondary-color);
}

.table-header .table-cell {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: background 0.3s ease;
}

.table-row:hover {
    background: rgba(212, 175, 55, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 1rem 1.5rem;
    color: rgba(248, 246, 241, 0.9);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.table-cell:first-child {
    font-weight: 500;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.table-cell:last-child {
    color: #f8f6f1;
    font-weight: 600;
}

/* Nutrition Table - 3 Columns */
.info-section:has(.nutrition-note) .table-header {
    grid-template-columns: 2fr 1fr 1fr;
}

.info-section:has(.nutrition-note) .table-row {
    grid-template-columns: 2fr 1fr 1fr;
}

.info-section:has(.nutrition-note) .table-cell:nth-child(2) {
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    justify-content: center;
}

.info-section:has(.nutrition-note) .table-cell:nth-child(3) {
    justify-content: center;
}

.nutrition-note {
    font-size: 0.9rem;
    color: rgba(248, 246, 241, 0.7);
    font-style: italic;
    margin-bottom: 0;
    margin-top: 0.5rem;
}
/* BESTKO Contact in Modal */
.tagline-cta {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bestko-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.bestko-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bestko-contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.bestko-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bestko-contact-item a {
    color: #f8f6f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.bestko-contact-item a:hover {
    color: var(--secondary-color);
}

.download-btn {

    display: inline-block;

    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4f 100%);

    color: white;

    padding: 1rem 2rem;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.3s ease;

}



.download-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(26, 77, 46, 0.5);

}



.contact-cta {

    text-align: center;

    padding: 2.5rem;

    background: rgba(212, 175, 55, 0.1);

    border-radius: 20px;

    border: 2px solid var(--secondary-color);

}



.contact-cta h3 {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    color: var(--secondary-color);

    margin-bottom: 1rem;

}



.contact-cta p {

    font-size: 1.1rem;

    margin-bottom: 1.5rem;

}



.cta-btn {

    display: inline-block;

    background: linear-gradient(135deg, var(--secondary-color) 0%, #f4d03f 100%);

    color: #1a1a1a;

    padding: 1.2rem 3rem;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 700;

    font-size: 1.2rem;

    transition: all 0.3s ease;

    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);

}



.cta-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);

}



@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;;
}

.category-card:hover {
    transform: translateY(-15px) !important;
}

.category-image-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    position: relative;
}

.category-image-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.1) 0%, transparent 100%);
    z-index: 1;
    transition: all 0.4s ease !important;;
}

.category-card:hover .category-image-circle {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.category-card:hover .category-image-circle::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
}

.category-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-image-circle img {
    transform: scale(1.1);
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}
/* Category image modal */
.category-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.category-modal-overlay.active {
    display: flex;
}

.category-modal {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.category-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color), #1f5438);
}

.category-modal-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.modal-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.category-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.modal-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-gallery-item:hover img {
    transform: scale(1.1);
}

.modal-gallery-item .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 0.75rem;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modal-gallery-item:hover .image-caption {
    transform: translateY(0);
}

/* Make category circles clickable */
.category-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .category-modal {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
    }
    .modal-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}
.detailed-products {
    margin-top: 2rem;
    padding: 2rem;
    /* background: var(--light-bg); */
    background: rgb(2, 41, 15);
    border-radius: 30px;
}

.products-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    /* color: var(--primary-color); */
    color:rgb(135, 177, 149);
    text-align: center;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.product-group {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease !important;;
}

.product-group:hover {
    transform: translateY(-5px) !important;;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-group:hover .product-image img {
    transform: scale(1.1);
}

.product-group h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.product-group ul {
    list-style: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.product-group li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-group li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}/* Product cards - collapsed state */
.product-group {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-group:hover .product-image img {
    transform: scale(1.08);
}

.product-group h4 {
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    text-align: center;
    background: white;
    border-top: 3px solid var(--accent-color);
}

/* Hide product list by default */
.product-group ul {
    display: none;
}

/* Product detail modal */
.product-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.product-modal-overlay.active {
    display: flex;
}

.product-modal {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

.product-modal-header {
    display: flex;
    align-items: stretch;
    border-bottom: 3px solid var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), #1f5438);
}

.product-modal-image {
    width: 280px;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.product-modal-title-wrap h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.modal-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.product-modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.product-modal-body h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.product-detail-list li {
    padding: 0.85rem 1.2rem;
    background: #f9f7f4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.product-detail-list li:hover {
    background: #fff;
    border-left-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-detail-list li:before {
    content: "→";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Click hint on cards */
.product-group::after {
    content: "Click to view details";
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.product-group:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 768px) {
    .product-modal {
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }

    .product-modal-header {
        flex-direction: column;
    }

    .product-modal-image {
        width: 100%;
        height: 180px;
    }

    .product-modal-body {
        padding: 1.5rem;
    }

    .product-detail-list {
        grid-template-columns: 1fr;
    }
}



/* Achievements Section */
.achievements {
    /*background: var(--dark-bg);*/
    background: rgb(2, 48, 17);
    color: var(--text-light);
}

.achievements .section-title-center {
    /* color: var(--text-light); */
    color: rgba(255, 255, 255);
}

.achievements-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease !important;
}

.achievement-card:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    /*background: var(--light-bg);*/
    background: rgb(135, 177, 149);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}
.contact-icon i {
    display: block;
}
.contact-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form .btn-primary {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* Footer */
.footer {
    /*background: var(--dark-bg);*/
    background: rgb(1, 32, 11);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    /*.nav-menu {*/
    /*    display: flex !important;*/
    /*    position: fixed;*/
    /*    left: -100%;*/
    /*    top: 0;*/
    /*    flex-direction: column;*/
    /*    background: #d1e7d1;*/
    /*    width: 80%;*/
    /*    max-width: 400px;*/
    /*    height: 100vh;*/
    /*    text-align: left;*/
    /*    transition: left 0.3s ease-in-out !important;*/
    /*    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);*/
    /*    padding: 5rem 0 2rem;*/
    /*    z-index: 999;*/
    /*    gap: 0;*/
    /*    overflow-y: auto;*/
    /*}*/

    /*.nav-menu.active {*/
    /*    left: 0;*/
    /*}*/

    /*.nav-menu.active li {*/
    /*    display: block !important;*/
    /*    opacity: 1;*/
    /*    visibility: visible;*/
    /*}*/

    /*.nav-menu.active a {*/
    /*    display: block !important;*/
    /*    visibility: visible;*/
    /*}*/

    /*.nav-menu li {*/
    /*    display: block !important;*/
    /*    margin: 0;*/
    /*    padding: 0;*/
    /*    list-style: none;*/
    /*    width: 100%;*/
    /*}*/

    /*.nav-menu a {*/
    /*    display: block !important;*/
    /*    padding: 1.2rem 2rem;*/
    /*    font-size: 1.1rem;*/
    /*    border-bottom: 1px solid rgba(0, 0, 0, 0.05);*/
    /*    color: #1a1a1a;*/
    /*    text-decoration: none;*/
    /*    width: 100%;*/
    /*    box-sizing: border-box;*/
    /*}*/

    /*.nav-menu a:hover {*/
    /*    background: rgba(26, 77, 46, 0.05);*/
    /*    color: var(--primary-color);*/
    /*}*/

    /*.nav-menu a::after {*/
    /*    display: none;*/
    /*}*/

    /*.hamburger {*/
    /*    display: flex !important;*/
    /*    z-index: 1001;*/
    /*    position: relative;*/
    /*}*/

    /*.hamburger.active span:nth-child(1) {*/
    /*    transform: rotate(45deg) translate(5px, 5px);*/
    /*}*/

    /*.hamburger.active span:nth-child(2) {*/
    /*    opacity: 0;*/
    /*}*/

    /*.hamburger.active span:nth-child(3) {*/
    /*    transform: rotate(-45deg) translate(7px, -6px);*/
    /*}*/

    section {
        padding: 2rem 0;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 50px;
        width: 100%;
        overflow: hidden;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }

    .carousel-container {
        width: 100%;
        height: 250px;
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        border-radius: 15px;
    }

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .floating-cards-row {
        gap: 1rem;
    }

    .floating-card {
        min-width: 160px;
        padding: 1.5rem 1rem;
    }
    .collage-banner,
    .collage-banner img {
        height: 260px;
    }

    .collage-overlay p {
        font-size:0.8rem
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-title-center {
        font-size: 2rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .vm-card {
        padding: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .vm-card h3 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    /*.values-grid,*/
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .product-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }

    .category-card {
        padding: 0;
        width: 100%;
    }

    .detailed-products {
        padding: 2rem;
        margin-top: 3rem;
        width: 100%;
        box-sizing: border-box;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo span {
        font-size: 0.5rem;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .carousel-container {
        height: 220px;
    }

    .carousel-caption {
        padding: 2rem 1.5rem 1.5rem;
    }

    .carousel-caption h3 {
        font-size: 1.1rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 25px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title-center {
        font-size: 1.75rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .vm-card {
        padding: 1.5rem;
    }

    .vm-icon {
        font-size: 2.5rem;
    }

    .vm-card h3 {
        font-size: 1.3rem;
    }

    .vm-card p {
        font-size: 1rem;
    }

    /*.value-card {*/
    /*    padding: 2rem 1.5rem;*/
    /*}*/

    /*.value-icon {*/
    /*    font-size: 2.5rem;*/
    /*}*/

    /*.value-card h3 {*/
    /*    font-size: 1.2rem;*/
    /*}*/


    .product-categories {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .category-image-circle {
        width: 180px;
        height: 180px;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .new-product-showcase {

        padding: 2rem 1.5rem;

        margin: 2rem 0;

    }

    .new-product-badge {

        right: 10px;

        padding: 8px 20px;

        font-size: 0.75rem;

    }

    .new-product-content {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    .new-product-info h3 {

        font-size: 2rem;

    }

    .tagline {

        font-size: 1.2rem;

    }

    .new-label {

        width: 60px;

        height: 60px;

        font-size: 1rem;

    }

    /* BESTKO Modal Mobile */

    .bestko-modal-content {

        width: 95%;

        margin: 5% auto;

        border-radius: 20px;

    }

    .modal-header h2 {

        font-size: 2rem;

    }

    .modal-tagline {

        font-size: 1.2rem;

    }

    .bestko-carousel {

        height: 300px;

    }

    .bestko-carousel-btn {

        padding: 0.8rem 1rem;

        font-size: 1.5rem;

    }

    .bestko-prev {

        left: 10px;

    }

    .bestko-next {

        right: 10px;

    }

    .modal-info {

        padding: 2rem 1.5rem;

    }

    .info-section h3 {

        font-size: 1.5rem;

    }

    .info-section p {

        font-size: 1rem;

    }

    .product-features {

        grid-template-columns: 1fr;

    }

    .product-features li {

        font-size: 1rem;

    }

    .contact-cta {

        padding: 2rem 1.5rem;

    }

    .contact-cta h3 {

        font-size: 1.5rem;

    }

    .cta-btn {

        padding: 1rem 2rem;

        font-size: 1rem;

    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }


    .click-hint {

        font-size: 0.8rem;

        margin-top: 0.8rem;

    }

    .products-subtitle {
        font-size: 1.5rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-image {
        height: 180px;
    }

    .product-group h4 {
        font-size: 1.2rem;
        margin: 1.2rem 1.2rem 0.8rem 1.2rem;
    }

    .product-group ul {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }

    .product-group li {
        font-size: 1.1rem;
    }

    .achievement-icon {
        font-size: 2.5rem;
    }

    .achievement-card h3 {
        font-size: 1.3rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Responsive Tables */
.info-table {
    font-size: 0.9rem;
}

.table-header {
    grid-template-columns: 1fr 1fr;
}

.table-row {
    grid-template-columns: 1fr 1fr;
}

.table-cell {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
}

.table-header .table-cell {
    font-size: 0.8rem;
    padding: 0.8rem 0.8rem;
}

/* Nutrition Table Mobile - Stack Columns */
.info-section:has(.nutrition-note) .table-header {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.info-section:has(.nutrition-note) .table-row {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.info-section:has(.nutrition-note) .table-cell {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
}

.info-section:has(.nutrition-note) .table-cell:first-child {
    font-size: 0.85rem;
}

.nutrition-note {
    font-size: 0.8rem;
}

.bestko-contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.bestko-contact-item {
    flex-direction: row;
}

.bestko-contact-item i {
    font-size: 1.3rem;
}

.bestko-contact-item a {
    font-size: 0.85rem;
}
    .hero-title {
        font-size: 1.75rem;
    }

    .carousel-container {
        height: 200px;
        border-radius: 12px;
    }

    .btn-primary {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    .section-title,
    .section-title-center {
        font-size: 1.5rem;
    }

    .vm-card,
    /*.value-card,*/
    .achievement-card {
        padding: 1.5rem;
    }

    .category-card {
        padding: 0;
    }

    .product-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .category-image-circle {
        width: 140px;
        height: 140px;
        border-width: 3px;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .detailed-products {
        padding: 1.5rem;
    }
}
