:root {
    --bg-color: #0f0f11;
    --card-bg: #1a1a1d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #009242;
    --accent-glow: rgba(0, 146, 66, 0.4);
    --border-color: #333;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --nav-height: 156px;
    /* Matches actual header height (40px top-bar + 100px nav + margins) */
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: var(--bg-color); */
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: var(--font-main);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes logoIntro {
    0% {
        transform: scale(0.8);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%) skewX(-20deg);
    }

    100% {
        transform: translateX(200%) skewX(-20deg);
    }
}

@keyframes titleReveal {
    0% {
        letter-spacing: 0em;
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        letter-spacing: 0.2em;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
    }

    100% {
        width: 100px;
    }
}

@keyframes taglineFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-logo-intro {
    animation: logoIntro 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-shimmer {
    animation: shimmerEffect 2.5s infinite;
}

.animate-title-reveal {
    animation: titleReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
    opacity: 0;
}

.animate-line-expand {
    animation: lineExpand 1s ease-out 1.2s forwards;
}

.animate-tagline-fade {
    animation: taglineFade 1s ease-out 1.6s forwards;
}

/* Removed kenBurns animation to use transitions for smoother resets */

/* Icon Rendering Fix */
.fa-solid,
.fa-brands,
[class^="fa-"],
[class*=" fa-"],
.fa {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-solid {
    font-weight: 900 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Layout */
#app {
    min-height: calc(100vh - var(--nav-height) - 100px);
    /* Adjust based on footer height */
    padding-top: var(--nav-height);
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Slider Section */
.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 640;
    /* Reduced height (3:1 ratio) */
    overflow: hidden;
    background-color: #0f0f11;
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 16 / 9;
        /* Taller ratio for mobile so it's not "very small" */
        min-height: 280px;
    }
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.5s ease-in-out;
    /* Smoothly reset when slide becomes inactive */
}

@media (max-width: 768px) {
    .slide img {
        object-fit: contain;
    }
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide.active img {
    transform: scale(1.15);
    /* New zoom state */
    transition: transform 6s linear;
    /* Slow zoom-in over 6s */
}

/* Slide Content Styling - Premium V2 */
.slide-content-wrapper {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.slide-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #009242;
    box-shadow: 0 0 15px rgba(0, 146, 66, 0.5);
}

.slide-content {
    position: relative;
    color: white;
}

.slide-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 146, 66, 0.15);
    border: 1px solid rgba(0, 146, 66, 0.3);
    color: #4ade80;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    background: linear-gradient(to bottom right, #ffffff 50%, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
    max-width: 500px;
}

.slide-actions {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #009242;
    color: white !important;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 146, 66, 0.3);
}

.slide-btn:hover {
    background: #007a37;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 146, 66, 0.4);
}

.slide-btn i {
    transition: transform 0.3s ease;
}

.slide-btn:hover i {
    transform: translateX(5px);
}

/* Animation triggers */
.active .slide-badge,
.active .slide-content h2,
.active .slide-content p,
.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .slide-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .slide-content-wrapper {
        left: 5%;
        right: 5%;
        padding: 30px 20px;
        text-align: center;
        border-radius: 20px;
        top: 60%;
    }

    .slide-content-wrapper::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .slide-content h2 {
        font-size: 2.25rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .slide-btn {
        padding: 12px 28px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at center, rgba(42, 42, 53, 0.4) 0%, var(--bg-color) 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    /* Above slides */
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    /* Mobile font size */
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
        /* Tablet font size */
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
        /* Desktop font size */
    }
}

.hero-content p {
    font-size: 1rem;
    /* Mobile font size */
    color: #dfdfdf;
    max-width: 600px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: slideUp 1s ease-out 0.8s forwards;
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
        /* Tablet font size */
    }
}

@media (min-width: 1024px) {
    .hero-content p {
        font-size: 1.2rem;
        /* Desktop font size */
    }
}

.hero-content .btn {
    opacity: 0;
    animation: slideUp 1s ease-out 1.1s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* Setup Grid for Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 60px 0;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

/* Header & Nav handled by Tailwind */
/* Animation for sticky header */
/* Animation for sticky header */
header.scrolled {
    /* Height is handled by flex container resizing */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled #top-bar {
    height: 0;
    opacity: 0;
    padding: 0;
}

header.scrolled .main-nav-container {
    height: 70px;
}

header.scrolled .logo-img {
    height: 3rem !important;
    /* h-12 equivalent (48px) - Shrink logo */
}

/* CTA Premium Section */
.cta-premium {
    background: linear-gradient(135deg, #004d23 0%, #009242 100%);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-btn-primary {
    background: white;
    color: #009242;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}

.cta-btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: white;
    color: #004d23;
}

/* Feature Cards Section - Premium Design */
.feature-section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px 40px;
    position: relative;
    overflow: visible;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 80px 30px;
    padding: 0;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white !important;
    padding: 70px 30px 40px !important;
    border-radius: 24px !important;
    text-align: center !important;
    border: 1px solid #eee !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 280px !important;
    overflow: visible !important;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1) !important;
    border-color: #009242 !important;
}

.feature-icon-wrapper {
    position: absolute !important;
    top: -42px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 84px !important;
    height: 84px !important;
    background: #009242 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    box-shadow: 0 10px 25px rgba(0, 146, 66, 0.3) !important;
    z-index: 10 !important;
    transition: all 0.4s ease !important;
}

.feature-card:hover .feature-icon-wrapper {
    transform: translateX(-50%) translateY(-5px) scale(1.1) !important;
    background: #007a37 !important;
    box-shadow: 0 15px 30px rgba(0, 146, 66, 0.4) !important;
}

.feature-card h3 {
    font-size: 1.4rem !important;
    color: #1a1a1d !important;
    font-weight: 800 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.2 !important;
}

.feature-desc {
    font-size: 1rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 0 25px 0 !important;
    flex-grow: 1 !important;
    display: block !important;
}

.read-more-link {
    color: #009242 !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.read-more-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .read-more-link {
    color: #007a37 !important;
}

.feature-card:hover .read-more-link::after {
    transform: translateX(5px);
}

/* Certificate Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    padding: 0 15px;
    flex-shrink: 0;
}

.certificate-box {
    background: white;
    width: 220px;
    height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.certificate-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover for better visibility */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Scroll Reveal Animations - Advanced */
.reveal-on-scroll {
    opacity: 0;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-down {
    transform: translateY(-60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-zoom {
    transform: scale(0.85);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

.delay-700 {
    transition-delay: 700ms;
}

.delay-800 {
    transition-delay: 800ms;
}

/* Parallax Utilities */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 1024px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* HD Certificate Portfolio Styles */
.certificate-portfolio-item {
    perspective: 1000px;
}

.clear-view-card {
    position: relative;
    background: #ffffff;
    padding: 10px;
    /* Minimal padding for maximum visibility */
    border-radius: 12px;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: #fff;
    overflow: hidden;
}

.cert-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3.5/4.5;
    /* Optimized for vertical certificates */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
}

.cert-image-frame img {
    max-width: 96%;
    /* Almost full width for clarity */
    max-height: 96%;
    object-fit: contain;
    transition: transform 0.6s ease-out;
    filter: brightness(1.02) contrast(1.02);
    /* Subtle boost for readability */
}

/* Minimalist clarity icon */
.clarity-magnifier {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 146, 66, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 146, 66, 0.3);
    z-index: 10;
}

/* Hover States - Clean & Focused */
.clear-view-card:hover {
    transform: translateY(-8px);
    border-color: #009242;
    box-shadow: 0 20px 40px -10px rgba(0, 146, 66, 0.15);
}

.clear-view-card:hover img {
    transform: scale(1.04);
    /* Subtle zoom for detail without blurring */
}

.clear-view-card:hover .clarity-magnifier {
    opacity: 1;
    transform: translateY(0);
}

/* PDF Modal Styling */
.pdf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pdf-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pdf-modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pdf-modal-overlay.active .pdf-modal-container {
    transform: scale(1);
}

.pdf-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.pdf-modal-close:hover {
    transform: rotate(90deg);
    background: #009242;
    color: white;
}

.pdf-modal-content {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.pdf-modal-content iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .pdf-modal-container {
        height: 85vh;
        border-radius: 12px;
    }

    .pdf-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 640px) {
    .clear-view-card {
        padding: 5px;
    }
}

/* Premium Gallery Grid */
.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    aspect-ratio: 1/1;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 146, 66, 0.15);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 146, 66, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1);
}

.lightbox-content {
    background: #fff;
    padding: 15px;
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.lightbox-content img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.lightbox-caption {
    background: white;
    padding: 20px 0 5px;
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.lightbox-caption p {
    color: #009242;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #009242;
    border-color: #009242;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Contact Page Styles - V4 Info Bar Layout (Light Theme) */
.contact-section {
    padding: 20px 0 0;
    min-height: auto;
    background: #ffffff;
    /* White background */
    position: relative;
    color: #1a1a1d;
    /* Dark text base */
}

.contact-v4-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-v4-header h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1d;
    /* Dark Heading */
}

.contact-v4-header p {
    font-size: 1.2rem;
    color: #555555;
    /* Medium Dark Grey */
}

.contact-form-v4 {
    max-width: 800px;
    margin: 0 auto 80px;
}

.contact-form-v4 form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .contact-form-v4 form {
        grid-template-columns: 1fr 1fr;
    }

    .form-full-width {
        grid-column: span 2;
    }
}

.form-control-v4 {
    width: 100%;
    background: #e6e6e6;
    /* Light Grey Input Bg */
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 12px 25px;
    color: #333333;
    /* Dark Input Text */
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-v4:focus {
    outline: none;
    background: #ffffff;
    border-color: #ccc;
    box-shadow: 0 0 0 4px rgba(0, 146, 66, 0.15);
}

.form-control-v4::placeholder {
    color: #888;
}

textarea.form-control-v4 {
    border-radius: 20px;
    min-height: 100px;
    resize: vertical;
}

.form-label-v4 {
    display: block;
    margin-bottom: 5px;
    margin-left: 20px;
    font-weight: 600;
    color: #444444;
    /* Darker Label */
    font-size: 0.85rem;
}

.submit-btn-v4 {
    grid-column: span 1;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 146, 66, 0.3);
}

@media (min-width: 768px) {
    .submit-btn-v4 {
        grid-column: span 2;
    }
}

.submit-btn-v4:hover {
    background: #007a37;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 146, 66, 0.4);
}

/* Info Bar Container - Use Light Grey to separate from white body */
.info-bar-container {
    background: #f4f4f4;
    /* Light Grey Section */
    width: 100%;
    padding: 80px 0 60px;
    margin-top: 60px;
    border-top: 1px solid #eaeaea;
}

.info-bar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .info-bar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.info-bar-item {
    position: relative;
    text-align: center;
    background: transparent;
}

/* Floating Icon */
.info-bar-icon-wrapper {
    position: absolute;
    top: -120px;
    /* Moves icon up to overlap the top edge of .info-bar-container */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.3s ease;
}

.info-bar-item:hover .info-bar-icon-wrapper {
    transform: translateX(-50%) translateY(-10px);
}

.info-bar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1d;
    /* Dark Title */
}

.info-bar-text {
    color: #555555;
    /* Dark Text */
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-bar-text a {
    color: #555555;
    transition: color 0.3s ease;
}

.info-bar-text a:hover {
    color: var(--accent);
}

/* Map Section */
.map-container {
    width: 100%;
    height: 450px;
    background: #e6e6e6;
    /* Placeholder bg while loading */
    margin-top: 0;
    /* Connected closely to info bar if desired, or add margin */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Removes bottom whitespace */
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Optional: To make map look slightly muted/custom if desired, or remove for default colors */
    /* For standard google map colors, remove the filter property */
    filter: none;
}

/* Basmati Detail Modal Styles */
#basmati-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#basmati-modal.active>div {
    transform: translateY(0);
}

.product-card {
    position: relative;
    cursor: pointer;
}

.detail-view-hint {
    position: absolute;
    inset: 0;
    background: rgba(0, 146, 66, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.product-card:hover .detail-view-hint {
    opacity: 1;
}

.detail-view-hint i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.product-card:hover .detail-view-hint i {
    transform: translateY(0);
}

/* Force hide menus during navigation transition */
#main-header.menu-transitioning ul.absolute {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Sticky Social Sidebar Styles */
.sticky-social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.0rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.social-link i {
    transition: transform 1.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    width: 48px;
    transform: translateX(-5px);
    filter: brightness(1.15);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.social-link:hover i {
    transform: rotate(360deg) scale(1.2);
}

.social-link.facebook {
    background: #3b5998 !important;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.social-link.linkedin {
    background: #0077b5 !important;
}

.social-link.youtube {
    background: #ff0000 !important;
}

.social-link.twitter {
    background: #000000 !important;
}

/* Hover Globs/Shadows for specific brands */
.social-link.facebook:hover {
    box-shadow: -5px 0 25px rgba(59, 89, 152, 0.5);
}

.social-link.instagram:hover {
    box-shadow: -5px 0 25px rgba(220, 39, 67, 0.5);
}

.social-link.linkedin:hover {
    box-shadow: -5px 0 25px rgba(0, 119, 181, 0.5);
}

.social-link.youtube:hover {
    box-shadow: -5px 0 25px rgba(255, 0, 0, 0.5);
}

.social-link.twitter:hover {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .sticky-social-sidebar {
        right: -38px;
        transition: right 0.3s ease;
    }

    .sticky-social-sidebar:hover {
        right: 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 10000;
    background-color: #25d366;
    color: white !important;
    padding: 9px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: whatsapp-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Pulsing background effect */
.whatsapp-floating-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: #25d366;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.3;
    animation: whatsapp-pulse 2s infinite;
}

/* Shimmer overlay */
.whatsapp-floating-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.whatsapp-floating-btn:hover::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.whatsapp-floating-btn i {
    font-size: 1.6rem;
    transition: transform 0.8s ease;
}

.whatsapp-floating-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

.whatsapp-floating-btn:hover i {
    transform: scale(1.2) rotate(360deg);
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    70% {
        transform: scale(1.1, 1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes whatsapp-pop {
    0% {
        transform: scale(0) translateY(50px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .whatsapp-floating-btn span {
        display: none;
    }

    .whatsapp-floating-btn {
        padding: 9px;
        bottom: 20px;
        right: 20px;
    }
}

/* Health Benefits Grid V2 - Precise medical/premium style */
.benefits-grid-v2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 100%;
}

@media (min-width: 640px) {
    .benefits-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid-v2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .benefits-grid-v2 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.benefit-card-v2 {
    background: #ffffff;
    border: 1px solid #f0f0f5;
    border-radius: 4px;
    /* Slightly rounded as in the image */
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.benefit-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 146, 66, 0.08);
    border-color: rgba(0, 146, 66, 0.2);
}

.benefit-icon-v2 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    /* Increased slightly for breathing room */
}

/* Default Color (Theme Green) */
.benefit-card-v2 {
    --card-accent: #009242;
}

.benefit-icon-v2 i {
    font-size: 2.5rem;
    color: var(--card-accent);
    transition: transform 0.3s ease;
}

.benefit-card-v2:hover .benefit-icon-v2 i {
    transform: scale(1.1);
}

.benefit-card-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-accent);
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

/* Color Variations */
.benefit-card-v2.accent-blue {
    --card-accent: #008cd4;
}

.benefit-card-v2.accent-green {
    --card-accent: #009242;
}

.benefit-card-v2.accent-amber {
    --card-accent: #f59e0b;
}

.benefit-card-v2.accent-teal {
    --card-accent: #0d9488;
}

.benefit-card-v2.accent-purple {
    --card-accent: #7c3aed;
}

.benefit-card-v2.accent-rose {
    --card-accent: #e11d48;
}

.benefit-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--card-accent);
}

.benefit-card-v2 p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Dark Section Enhancements */
.dark-section {
    background-color: #0f0f11 !important;
}

.dark-section h2 {
    color: #ffffff !important;
}

.dark-section .text-gray-500,
.dark-section .text-gray-600 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.dark-section .benefit-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.dark-section .benefit-card-v2 p {
    color: rgba(255, 255, 255, 0.5) !important;
}

.dark-section .benefit-card-v2:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--card-accent);
    box-shadow: 0 15px 30px -15px var(--card-accent);
    transform: translateY(-8px) scale(1.01);
}

.benefit-card-v2 {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-section .bg-gray-50\/50,
.dark-section .via-gray-200 {
    display: none !important;
}

.dark-section .bg-primary\/5 {
    background-color: rgba(0, 146, 66, 0.1) !important;
}