:root {
    --brand: #1a4c2f;
    --brand-dark: #143522;
    --brand-light: #1e5a38;
    --brand-surface: #FBF8F9;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Hero */
.hero-section {
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 600px;
    min-height: 320px;
    display: flex;
    align-items: stretch;
    position: relative;
}

.hero-section > div:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-section > div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-content h1 {
    line-height: 1.05;
}

.hero-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.hero-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(15, 23, 42, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: rgba(26, 76, 47, 0.6);
    border-color: rgba(26, 76, 47, 0.9);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 32px;
    border-radius: 999px;
    background: #fff;
}

/* Navigation */
#navbar {
    transition: padding 0.35s ease, backdrop-filter 0.35s ease;
}

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(18px);
    transition: all 0.35s ease;
}

.nav-shell::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

#navbar.scrolled .nav-shell {
    padding: 0.65rem 1.5rem;
    box-shadow: 0 25px 60px -30px rgba(15, 23, 42, 0.8);
    border-color: rgba(15, 23, 42, 0.15);
    background: rgba(248, 250, 252, 0.92);
}

.nav-menu .nav-link {
    position: relative;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    color: #475569;
    transition: color 0.3s ease;
}

.nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1a4c2f, #1e5a38);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

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

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(120deg, #0f172a, #1a4c2f);
    box-shadow: 0 10px 25px rgba(26, 76, 47, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.6);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #0f172a;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
}

.nav-mobile-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.nav-mobile-btn:hover {
    background: rgba(26, 76, 47, 0.15);
}

.nav-mobile-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 60px -35px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(14px);
    transition: max-height 0.4s ease, opacity 0.3s ease;
    margin-top: 0;
    padding: 0 1.25rem;
}

.nav-mobile-menu.open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    padding: 1.25rem;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .nav-shell {
        border-radius: 32px;
        padding: 0.85rem 1.25rem;
    }

    .hero-section {
        /* Let image define height */
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        min-height: 200px;
        max-height: none;
        display: block;
        position: relative;
        overflow: hidden;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .hero-section > div:first-child {
        margin-bottom: 0;
    }
    
    .about-section {
        padding-top: 0.2rem !important;
        padding-bottom: 0.3rem !important;
    }
    
    .about-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .about-section .grid {
        gap: 1.5rem !important;
    }

    .hero-section > div:first-child {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        inset: auto !important;
    }

    .hero-section > div:first-child img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        object-fit: cover !important;
        transform: scale(1.1);
        transform-origin: center center;
    }
    
    .hero-section > div:first-child {
        overflow: hidden;
    }

    #hero-slider {
        position: relative;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-areas: "stack";
    }

    .slide {
        grid-area: stack;
        position: relative;
        width: 100%;
        height: auto;
        opacity: 0;
        visibility: hidden;
        /* Hide completely when not active */
        transition: opacity 0.5s ease, visibility 0.5s ease;
        z-index: 1;
    }

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    /* Ensure images interact correctly with the grid cell */
    .slide img {
        display: block;
        /* Remove inline-block gap */
        width: 100%;
        height: auto;
    }

    .hero-controls {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 0.5rem;
        padding-bottom: 1rem;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .hero-nav-btn {
        width: 32px;
        height: 32px;
    }

    .hero-nav-btn i {
        width: 16px;
        height: 16px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-dot.active {
        width: 20px;
        border: none;
        background: #fff;
    }
}


/* Hide scrollbar for clean UI */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fff5f5;
}

::-webkit-scrollbar-thumb {
    background: #1a4c2f;
    border-radius: 5px;
    border: 2px solid #fff5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e5a38;
}

/* Hero Slider Transitions */
.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Testimonials - Grid Layout (Handled by Tailwind) */


.testimonial-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    flex-grow: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(26, 76, 47, 0.1);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(26, 76, 47, 0.03), transparent 70%);
    border-radius: 0 20px 0 0;
    pointer-events: none;
}

.testimonial-card .quote-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9f4 0%, #dcf4e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a4c2f;
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(26, 76, 47, 0.1);
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(26, 76, 47, 0.2);
}

.testimonial-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.testimonial-person {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-person .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcf4e8 0%, #c4e8d4 100%);
    color: #1a4c2f;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 76, 47, 0.15);
    border: 2px solid #fff;
}

.testimonial-person h4 {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.testimonial-person p {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0;
}

/* About section custom styling */
/* About Section - Modern Editorial */
.about-section {
    background-color: #fcfaf8;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

.about-image-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-image-frame img {
    transition: transform 0.7s ease;
}

.about-image-frame:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-panel {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 25px 55px -35px rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 76, 47, 0.1);
}

.about-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(26, 76, 47, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a4c2f;
}

.about-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1917;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #78716c;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .about-panel {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .about-panel {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .about-panel {
        padding: 1.5rem;
    }

    .about-stat-card {
        flex-direction: row;
    }

    .about-stat-value {
        font-size: 1.6rem;
    }

    .about-stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 420px) {
    .about-stat-value {
        font-size: 1.4rem;
    }

    .about-stat-label {
        font-size: 0.7rem;
    }
}

/* Product Cards - Premium Redesign */
.product-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    isolation: isolate;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.15);
    border-color: rgba(26, 76, 47, 0.1);
}

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Quick View Overlay */
.product-quick-view {
    position: absolute;
    inset: 0;
    background: rgba(26, 76, 47, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.product-card:hover .product-quick-view {
    opacity: 1;
}

.quick-view-btn {
    background: #fff;
    color: #1a4c2f;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}


.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: #1a4c2f;
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-card:hover .product-action {
    background: #1a4c2f;
    color: #fff;
    transform: rotate(45deg);
}

@media (max-width: 640px) {
    .product-info {
        padding: 1rem;
    }
    .product-title {
        font-size: 0.9rem;
    }
    .product-price {
        font-size: 0.85rem;
    }
    .product-action {
        width: 32px;
        height: 32px;
    }
    .product-quick-view {
        display: none; /* Hide quick view on mobile as it's hover-based */
    }
}

/* Craft section - Modern Redesign */
.craft-panel {
    /* Removed container styling for a cleaner look */
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    position: relative;
}

.craft-panel::after {
    display: none;
}

.craft-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    counter-reset: step-counter;
}

@media (min-width: 640px) {
    .craft-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.craft-step {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.craft-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.08);
    border-color: rgba(26, 76, 47, 0.15);
}

/* Watermark Number */
.craft-step::before {
    content: counter(step-counter, decimal-leading-zero);
    counter-increment: step-counter;
    position: absolute;
    top: -1.5rem;
    right: -1rem;
    font-size: 8rem;
    font-weight: 800;
    color: #f8fafc;
    z-index: -1;
    transition: all 0.4s ease;
    line-height: 1;
}

.craft-step:hover::before {
    color: #f0f9f4;
    /* Very light green */
    transform: scale(1.05) rotate(-5deg);
}

.craft-step span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #1a4c2f;
    display: block;
    margin-bottom: 0.75rem;
}

.craft-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.craft-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.craft-media {
    background: url('../images/Chhepu-Lightercase-Green.webp') center/cover no-repeat;
    border-radius: 32px;
    min-height: 500px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .craft-media {
        background-position: center 0%;
        background-size: 200%;
    }
}

.craft-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4) 50%, transparent 70%);
}

.craft-media-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    color: #fff;
    z-index: 10;
}

/* Footer - Dark Temple Design */
.footer-root {
    background: linear-gradient(180deg, #0a0f0a 0%, #050805 100%);
    position: relative;
    overflow: hidden;
    color: #a8a29e;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-mandala {
    position: absolute;
    right: -150px;
    top: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 76, 47, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.footer-namaste {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    letter-spacing: 0.1em;
}

.footer-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.footer-input-group:focus-within {
    border-color: #1a4c2f;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(26, 76, 47, 0.08);
}

.footer-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.footer-link::before {
    content: "";
    width: 0;
    height: 2px;
    background: #1a4c2f;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #fff !important;
    transform: translateX(4px);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-icon:hover {
    transform: translateY(-4px) rotate(5deg);
}
