/* ===== COMPLETE OPTIMIZED STYLE.CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111;
    transition: background 0.4s, color 0.4s;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.dark {
    background: #050505;
    color: #fff;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#preloaderVideo {
    width: 280px;
    max-width: 80%;
    object-fit: contain;
    mix-blend-mode: screen;
}

/* Preloader Fallback */
.preloader-fallback {
    display: none;
    text-align: center;
}

.preloader-fallback img {
    width: 200px;
    max-width: 70%;
    animation: logoPulse 2s ease-in-out infinite;
    filter: brightness(0) invert(1);
}

@keyframes logoPulse {

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

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* LOADER */
.loader-wrapper {
    width: 260px;
    max-width: 80%;
    height: 8px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    background: #1a1a1a;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: #f2d335;
    animation: loadBar 3.5s linear forwards;
    box-shadow: 0 0 15px #f2d335;
}

@keyframes loadBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* MAIN CONTENT */
#main-content {
    display: none;
}

/* ===== HEADER & NAVBAR ===== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    transition: background 0.4s, box-shadow 0.3s;
}

body.dark .header {
    background: rgba(5, 5, 5, 0.92);
}

/* Logo */
.logo-area img {
    width: 140px;
    max-width: 35vw;
    transition: transform 0.3s ease;
}

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

/* Hamburger button */
.hamburger {
    display: none;
    /* hidden on desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #0b2b26;
    border-radius: 3px;
    transition: 0.3s;
}

body.dark .hamburger span {
    background: #f2d335;
}

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

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

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

/* Navbar */
.navbar .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: #0b2b26;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

body.dark .nav-link {
    color: #ddd;
}

.nav-link:hover,
.nav-link.active {
    color: #0d5f18;
}

body.dark .nav-link:hover,
body.dark .nav-link.active {
    color: #f2d335;
}

/* Underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d5f18;
    transition: width 0.3s;
}

body.dark .nav-link::after {
    background: #f2d335;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Get a Quote button */
.nav-btn {
    background: #f2d335;
    color: #0b2b26 !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: #e5c700;
    transform: translateY(-2px);
}

/* Mobile theme toggle item (hidden on desktop) */
.mobile-theme-toggle-item {
    display: none;
}

/* Desktop theme toggle (keep your existing styles) */
#theme-toggle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #f2d335;
    background-size: 25px 25px;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

body:not(.dark) #theme-toggle {
    background-image: url('https://img.icons8.com/ios/50/0d5f18/crescent-moon--v1.png');
}

body.dark #theme-toggle {
    background-image: url('https://img.icons8.com/ios/50/ffffff/sun--v1.png');
}

#theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

/* ===== MOBILE STYLES (max-width: 968px) ===== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
        /* show hamburger */
    }

    /* Hide desktop nav and theme toggle */
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    body.dark .navbar {
        background: #111;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
    }

    .navbar.active {
        right: 0;
    }

    .navbar .nav-list {
        flex-direction: column;
        gap: 22px;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Hide desktop theme toggle on mobile */
    #theme-toggle {
        display: none;
    }

    /* Show mobile theme toggle inside the menu */
    .mobile-theme-toggle-item {
        display: block;
        margin-top: 10px;
    }

    .theme-toggle-mobile-btn {
        width: 45px;
        height: 45px;
        border: none;
        border-radius: 50%;
        background-color: #f2d335;
        background-size: 25px 25px;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .toggle-icon-mobile {
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: kenBurns 6s ease-in-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

body.dark .hero-overlay {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 90%;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    color: #0b2b26;
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    font-weight: 700;
}

body.dark .hero h1 {
    color: #fff;
}

.hero p {
    color: #1e3b36;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

body.dark .hero p {
    color: #ddd;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background: #f2d335;
    color: #0d5f18;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(242, 211, 53, 0.3);
}

.hero-btn:hover {
    background: #e5c700;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(242, 211, 53, 0.5);
}

.hero-btn1 {
    display: inline-block;
    margin-top: 30px;
    margin-left: 30px;
    padding: 14px 35px;
    background: #0d5f18;
    color: #f2d335;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(242, 211, 53, 0.3);
}

.hero-btn1:hover {
    background: #0ebe25;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(242, 211, 53, 0.5);
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

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

.indicator.active {
    background: #f2d335;
    border-color: #f2d335;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(242, 211, 53, 0.5);
}

.indicator:hover {
    background: rgba(242, 211, 53, 0.7);
    transform: scale(1.2);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 5%;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-family: 'Cinzel', serif;
    color: #0b2b26;
    position: relative;
    display: inline-block;
}

body.dark .section-title h2 {
    color: #f2d335;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f2d335;
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #2d2d2d;
    line-height: 1.8;
}

body.dark .about-text p {
    color: #ddd;
}

.about-card {
    background: #0d5f18;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 35px rgba(13, 95, 24, 0.2);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(13, 95, 24, 0.4);
}

.about-card h3 {
    font-size: 1.7rem;
    font-family: 'Cinzel', serif;
    margin-bottom: 1.3rem;
    color: #f2d335;
}

.about-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 20px;
}

.about-card ul li {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.about-card ul li:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== SERVICES ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 35px 25px;
    border-radius: 20px;
    background: #f5f5f5;
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

body.dark .service-card {
    background: #101010;
    border-color: #222;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

body.dark .service-card:hover {
    box-shadow: 0 25px 45px rgba(242, 211, 53, 0.2);
}

.service-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0d5f18;
    font-size: 1.5rem;
    font-family: 'Cinzel', serif;
}

body.dark .service-card h3 {
    color: #f2d335;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

body.dark .service-card p {
    color: #bbb;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: #0d5f18;
    color: #fff;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 35px rgba(13, 95, 24, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(13, 95, 24, 0.4);
}

.team-card img {
    width: 200px;
    height: 200px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f2d335;
    transition: transform 0.3s ease;
}

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

.team-card h3 {
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
}

.team-card span {
    color: #f2d335;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* ===== CONTACT SECTION - FIXED ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

/* Contact Info Card */
.contact-info-card {
    background: #0d5f18;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(13, 95, 24, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(13, 95, 24, 0.4);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.contact-detail h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #f2d335;
    margin-bottom: 5px;
}

.contact-detail p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100%;
}

body.dark .contact-form-card {
    background: #101010;
    border-color: #222;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

body.dark .contact-form-card:hover {
    box-shadow: 0 25px 45px rgba(242, 211, 53, 0.1);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0b2b26;
    font-family: 'Poppins', sans-serif;
}

body.dark .form-group label {
    color: #f2d335;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
    width: 100%;
    max-width: 100%;
}

body.dark .form-group input,
body.dark .form-group textarea {
    background: #1a1a1a;
    border-color: #333;
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d5f18;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 95, 24, 0.1);
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
    border-color: #f2d335;
    background: #222;
    box-shadow: 0 0 0 3px rgba(242, 211, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    background: #0d5f18;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(13, 95, 24, 0.2);
    margin-top: 5px;
    width: 100%;
}

.submit-btn:hover {
    background: #0a4a13;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 95, 24, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Loading state for button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Success & Error Messages */
.form-success,
.form-error {
    display: none;
    text-align: center;
    padding: 30px 15px;
    animation: fadeInUp 0.5s ease;
}

.form-success.show,
.form-error.show {
    display: block;
}

.success-icon,
.error-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.form-success h3 {
    color: #0d5f18;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

body.dark .form-success h3 {
    color: #4caf50;
}

.form-error h3 {
    color: #c62828;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p,
.form-error p {
    color: #555;
    font-size: 0.9rem;
}

body.dark .form-success p,
body.dark .form-error p {
    color: #bbb;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

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

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-card ul {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 4%;
    }

    .header {
        padding: 12px 4%;
    }

    .team-card img {
        width: 150px;
        height: 150px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 20px 15px;
    }

    .contact-info-item {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .contact-icon {
        min-width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .hero-btn1 {
        margin-left: 0px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .contact-info-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .contact-detail p {
        font-size: 0.85rem;
    }
}

/* ===== PRODUCTS SECTION ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .product-card {
    background: #111;
    border-color: #222;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

body.dark .product-card:hover {
    box-shadow: 0 15px 35px rgba(242, 211, 53, 0.1);
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 7px;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn .heart-icon {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #999;
    stroke-width: 2;
    transition: all 0.3s ease;
}

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

/* Active/Wishlisted state */
.wishlist-btn.active {
    background: #0d5f18;
}

.wishlist-btn.active .heart-icon {
    fill: #fff;
    stroke: #fff;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #f2d335;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b2b26;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark .product-name {
    color: #f2d335;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d5f18;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

body.dark .product-price {
    color: #4caf50;
}

/* Description Toggle */
.product-description-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid #eee;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

body.dark .product-description-toggle {
    border-top-color: #222;
}

.desc-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desc-arrow {
    font-size: 0.7rem;
    color: #888;
    transition: transform 0.3s ease;
}

.product-description-toggle:hover .desc-text,
.product-description-toggle:hover .desc-arrow {
    color: #0d5f18;
}

body.dark .product-description-toggle:hover .desc-text,
body.dark .product-description-toggle:hover .desc-arrow {
    color: #f2d335;
}

/* Expanded state */
.product-description-toggle.active .desc-arrow {
    transform: rotate(180deg);
}

/* Description Content */
.product-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.product-description.show {
    max-height: 200px;
    padding-top: 10px;
}

.product-description p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

body.dark .product-description p {
    color: #aaa;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .wishlist-btn {
        width: 30px;
        height: 30px;
        top: 8px;
        left: 8px;
        padding: 6px;
    }

    .discount-badge {
        bottom: 8px;
        right: 8px;
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        gap: 8px;
    }

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.9rem;
    }
}

/* ===== IMPACT SECTION (ONE ROW DESKTOP) ===== */
.impact-section {
    padding: 80px 3%;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.impact-section .section-title p {
    color: #555;
    font-size: 1.1rem;
    margin-top: 30px;
}

body.dark .impact-section .section-title p {
    color: #bbb;
}

.impact-scroll-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.impact-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    /* tighter gap */
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 10px;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: nowrap;
    /* force single row */
}

body.dark .impact-container {
    border-color: #222;
}

.impact-card {
    flex: 1 1 0;
    /* equal width, shrink if needed */
    text-align: center;
    min-width: 0;
    /* allow shrinking below content size */
}

.impact-card h3 {
    font-size: 2.8rem;
    /* slightly smaller for six columns */
    font-weight: 700;
    color: #0d5f18;
    font-family: 'Cinzel', serif;
    line-height: 1;
    margin-bottom: 10px;
    white-space: nowrap;
    /* keep number+unit on same line */
}

body.dark .impact-card h3 {
    color: #4caf50;
}

.impact-card h3 span {
    font-size: inherit;
    font-weight: inherit;
}

.impact-card p {
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}

body.dark .impact-card p {
    color: #bbb;
}

/* Swipe indicator – hidden on desktop */
.scroll-indicator {
    display: none;
}

/* ===== MOBILE (scroll horizontally) ===== */
@media (max-width: 768px) {
    .impact-container {
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        padding-bottom: 25px;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
        border-top: 2px solid #f0f0f0;
        border-bottom: 2px solid #f0f0f0;
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .impact-card {
        min-width: 220px;
        flex-shrink: 0;
        padding: 0 10px;
    }

    .impact-card h3 {
        font-size: 2.8rem;
    }

    .scroll-indicator {
        display: block;
        position: absolute;
        right: 15px;
        top: -10px;
        background: #0d5f18;
        color: #fff;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 5;
        animation: swipeHint 1.5s infinite;
        white-space: nowrap;
    }

    @keyframes swipeHint {

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

        50% {
            transform: translateX(-8px);
        }
    }
}

@media (max-width: 480px) {
    .impact-card h3 {
        font-size: 2.4rem;
    }

    .impact-card p {
        font-size: 0.95rem;
    }
}

/* ===== FOOTER ===== */
.footer-section {
    padding: 30px 5%;
    width: 100%;
    max-width: 100vw;
    text-align: center;
}

/* Border line like the impact section */
.footer-line {
    max-width: 1300px;
    margin: 0 auto 20px;
    border-top: 2px solid #f0f0f0;
}

body.dark .footer-line {
    border-color: #222;
}

.footer-content p {
    font-size: 0.95rem;
    color: #555;
    font-family: 'Poppins', sans-serif;
}

body.dark .footer-content p {
    color: #aaa;
}