/* Core Configurations */
:root {
    --bg-color: #faf9f6;
    --text-main: #1a1a1a;
    --text-light: #555555;
    --accent-color: #D97706;
    --accent-light: #fbebd8;
    --nav-bg: rgba(250, 249, 246, 0.9);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body,
html {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

.vp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.vp-navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
max-width: 1280px;
    margin: 0 auto; /* This centers the nav content */
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--accent-color);
    font-weight: 500;
}

.nav-menu {
   display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
    flex-grow: 1; /* Allows it to take available space */
    justify-content: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 240px;
    list-style: none;
    padding: 1rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    color: var(--text-main);
    background: rgba(217, 119, 6, 0.05);
    padding-left: 1.8rem;
}

.nav-right {
    display: flex;
    align-items: center;
   gap: 0px; /* Fixed gap instead of 1.5rem */
    margin-left: auto;
}

.nav-cta {
   background-color: var(--text-main);
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.2rem; /* Adjusted for better proportion */
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap; /* Prevents text from breaking */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* =========================================
   ARCH-STYLE HERO SECTION
   ========================================= */
.hero-arch {
    padding-top: 105px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-arch-container {
    max-width: 1440px;
    margin: 40px auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7rem;
}

/* --- Left Side: Content --- */
.hero-content {
    flex: 1;
    max-width: 640px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.tagline .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 100%;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
    background-color: #c26905;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.3);
}

.btn-text {
    color: var(--text-main);
    padding: 0;
    font-weight: 600;
    position: relative;
}

.btn-text:hover {
    color: var(--accent-color);
}

/* --- Right Side: Visuals --- */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* REDUCED WIDTH: from 500px to 420px for a perfectly balanced smaller section */
    max-width: 420px;
    transform: translateY(-40px);
    gap: 3rem;
}

/* New wrapper to contain absolute elements properly */
.arch-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* The Saffron Offset Shape */
.arch-backdrop {
    position: absolute;
    top: -2%;
    right: -12px;
    width: 96%;
    height: 105%;
    background-color: var(--accent-light);
    border-radius: 200px 200px 0 0;
    z-index: 1;
}

/* The Image Frame (Arch Shape) */
.arch-frame {
    position: relative;
    width: 90%;
    aspect-ratio: 3 / 4;
    background-color: #fff;
    border-radius: 250px 250px 0 0;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 8px solid #fff;
}

.arch-placeholder {
    width: 100%;
    height: 100%;
    background-image: url(mainimage.jpeg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #99999900;
    font-weight: 600;
    font-size: 0.9rem;
    /* background: linear-gradient(135deg, #f0f0f0, #e5e5e5); */
}

/* Floating Authentic Badge */
.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background-color: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.3;
}

.badge-text strong {
    color: var(--text-main);
    font-size: 1rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- REPOSITIONED STATS --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    /* Scaled down slightly to match smaller width */
    width: 100%;
}

.stat-block h3 {
    font-size: 2.3rem;
    /* Scaled down slightly to prevent awkward text wrapping */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-block p {
    font-size: 0.75rem;
    /* Scaled down slightly */
    line-height: 1.4;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.divider {
    width: 1px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.15);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-arch {
        padding-top: 100px;
    }

    .hero-arch-container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        margin: 0 auto 3rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
        transform: translateY(0);
    }

    .floating-badge {
        left: -20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .divider {
        width: 50px;
        height: 1px;
    }

    .floating-badge {
        display: none;
    }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow for the glass effect to contrast against */
.services-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-light) 0%, rgba(251, 235, 216, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    margin: 0.5rem 0 1rem 0;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
}

/* =========================================
   BENTO GRID LAYOUT & GLASSMORPHISM V2
   ========================================= */

/* The Bento Grid Container */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Grid Spanning Rules */
.bento-tall {
    grid-row: span 2;
    grid-column: span 1;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Premium Frosted Glass Panel */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    /* Softer, highly modern radius */
    padding: 2.5rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Inner highlight for depth */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Dynamic Hover Effect */
.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-panel:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow:
        0 30px 60px rgba(217, 119, 6, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.glass-panel:hover::after {
    opacity: 1;
}

/* Typography & Internal Structure */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon-wrapper {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.glass-panel h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* List Styling */
.service-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.service-list li::before {
    content: '→';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1rem;
    opacity: 0.7;
}

.two-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

/* Layout for the Wide Card */
.bento-row-layout {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.bento-text-side {
    flex: 1;
}

.bento-list-side {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Interactive Explore Button */
.btn-explore {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.btn-explore .arrow {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.glass-panel:hover .btn-explore .arrow {
    transform: translateX(5px);
}

.btn-explore:hover {
    color: var(--accent-color);
}

/* =========================================
   RESPONSIVE BENTO GRID
   ========================================= */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
        grid-column: span 2;
        /* Make tall card wide on tablet */
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .bento-wide,
    .bento-tall {
        grid-column: span 1;
    }

    .bento-row-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .bento-list-side {
        width: 100%;
        padding: 1.5rem;
    }

    .two-col-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ABOUT & LINEAGE SECTION
   ========================================= */
.about-section {
    padding: 8rem 0;
    background-color: #ffffff;
    /* Crisp white contrast against the beige body */
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* --- Editorial Visuals (Left Side) --- */
.about-visuals {
    position: relative;
    height: 600px;
}

.image-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 85%;
    border-radius: 24px;
    /* background-color: var(--accent-light); */
    background-image: url(primary.png);
    background-size: cover;
    background-position: bottom left;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    /* background-color: #f0e6d2; */
    background-image: url(sec.png);
    background-size: cover;
    background-position: top;
    z-index: 2;
    padding: 0;
    /* Override glass-panel padding for image */
    overflow: hidden;
    border: 6px solid #ffffff;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0);
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.05));
}

.experience-badge {
    position: absolute;
    top: 10%;
    right: -5%;
    z-index: 3;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Content (Right Side) --- */
.about-content {
    max-width: 550px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 4vw, 3.2rem);
}

.sanskrit-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
}

.sanskrit-quote span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.check-icon {
    background: var(--accent-light);
    color: var(--accent-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.mt-4 {
    margin-top: 1rem;
    display: inline-block;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .about-content .section-title {
        text-align: center;
    }

    .sanskrit-quote {
        border-left: none;
        padding-left: 0;
    }

    .about-features {
        align-items: center;
    }

    .experience-badge {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .about-visuals {
        height: 450px;
    }

    .image-primary {
        width: 85%;
        height: 80%;
    }

    .image-secondary {
        width: 55%;
    }

    .experience-badge {
        padding: 1rem;
        top: -5%;
        right: 0;
    }

    .experience-badge .years {
        font-size: 1.8rem;
    }
}


/* =========================================
   TESTIMONIALS (INFINITE MARQUEE)
   ========================================= */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    overflow: hidden;
    position: relative;
}

/* Faded edges so the cards gracefully appear and disappear */
.marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* The track holding the cards */
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* 35s speed. Adjust for faster/slower scrolling */
    animation: scrollMarquee 60s linear infinite;
}

/* Pause animation on hover so users can read */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Marquee Card Styling */
.review-card {
    width: 400px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    /* Reuse the premium glass look from the Bento Grid */
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(217, 119, 6, 0.15);
    line-height: 0.5;
    margin-bottom: -1rem;
    font-family: Georgia, serif;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 500;
    font-style: italic;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* The scrolling animation */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    /* Moves the track exactly halfway (since we duplicated the cards) */
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .review-card {
        width: 320px;
        padding: 2rem;
    }
}

/* =========================================
   MODERN FLOATING BENTO FOOTER
   ========================================= */
.modern-footer {
    padding: 2rem 2rem 2rem 2rem;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
}

/* The Main Glass Container */
.footer-glass-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* --- Top Bento Section --- */
.footer-top-bento {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-cta-box {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-cta-box h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 500px;
    letter-spacing: -1px;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-shloka-box {
    /* background-color: var(--accent-light); */
    background-image: url(footer.jpeg);
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shloka-icon {
    font-size: 4rem;
    color: rgba(217, 119, 6, 0.1);
    position: absolute;
    top: -10%;
    right: -5%;
    line-height: 1;
}

.footer-shloka-box h3 {
    font-size: 2.2rem;
    /* color: var(--accent-color); */
    color: rgba(255, 140, 0, 0);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.footer-shloka-box p {
    color: rgba(255, 140, 0, 0);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* --- Middle Grid Section --- */
.footer-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0 2rem 0;
    max-width: 350px;
    font-size: 0.95rem;
}

.social-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-pills .pill {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-pills .pill:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 1rem;
}

.footer-links-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.c-icon {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.contact-item a,
.contact-item span {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* --- Base Section --- */
.footer-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.back-to-top {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--accent-light);
    color: var(--accent-color);
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .footer-top-bento {
        grid-template-columns: 1fr;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand-col {
        grid-column: span 2;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 2rem 1rem 4rem 1rem;
    }

    .footer-glass-wrapper {
        padding: 2.5rem;
        border-radius: 30px;
    }

    .footer-cta-box {
        padding: 2.5rem;
    }

    .footer-shloka-box {
        padding: 2.5rem;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand-col {
        grid-column: span 1;
    }

    .footer-base {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* =========================================
   RESPONSIVE NAVBAR (Hamburger Menu)
   ========================================= */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        z-index: 1001; /* Keeps it above the nav menu */
        cursor: pointer;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Changed to 100% to ensure it covers the screen correctly */
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* This centers your navigation links */
        background: var(--bg-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        gap: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem; /* Increased size for better touch accessibility */
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        width: 100%;
        text-align: center;
        opacity: 1; /* Make visible for mobile */
        visibility: visible;
        transform: none;
        padding-top: 1rem;
    }
    
}

@media (max-width: 1024px) {
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-right: 10px; /* Space between button and hamburger */
    }
    .arch-backdrop{
        right: -10px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-cta {
        padding: 0.5rem 0.9rem; /* Slightly smaller padding for mobile */
        font-size: 0.75rem;
    }

    .hamburger {
        margin-left: 10px; /* Space between CTA and Hamburger */
    }

      .arch-backdrop{
        right: -7px;
    }
    
    
}


/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Delays for Grid/Bento items */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }