/* --- Header & Navigation (Fixed & Smooth) --- */
header {
    background-color: transparent;
    padding: 12px 5%;
    box-shadow: none;
    position: fixed;
    /* MAGIC 1: 'absolute' ko hata kar 'fixed' kar diya */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    /* MAGIC 2: Color change ekdum smooth hoga */
}

/* --- Jab user scroll karega tab ye class JS ke through add hogi --- */
header.scrolled {
    background-color: #ffffff;
    /* Background white ho jayega */
    padding: 8px 5%;
    /* Scroll karne pe navbar thoda aur slim ho jayega */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Halka sa shadow */
}

/* Scroll hone ke baad Links wapas Dark Blue ho jayenge */
header.scrolled nav ul li a {
    color: var(--navy-blue);
}

/* Scroll hone ke baad Button ka color reverse ho jayega */
header.scrolled .btn-cta {
    background-color: var(--navy-blue);
    color: #ffffff !important;
}

header.scrolled .btn-cta:hover {
    background-color: var(--soft-teal);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ye ensure karega ki logo aur links ekdum line me straight rahein */
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Logo (Perfect Fit Size) --- */
.logo {
    width: 75px;
    /* Ideal size jisse navbar bada nahi hoga */
    height: 75px;
    /* Width ke barabar taaki perfect circle bane */
    background-color: #ffffff;
    border-radius: 50%;
    padding: 0;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Ekdum soft shadow */
}

nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

/* Navbar Links */
nav ul li a {
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
    /* Navy Blue se White kar diya */
    text-shadow: none;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--warm-peach);
    /* Hover karne pe peach color aayega jo logo se match karega */
}

/* Book Consultation Button in Header */
/* Book Consultation Button in Header */
.btn-cta {
    background-color: #ffffff;
    /* Button ab white hoga */
    color: var(--navy-blue) !important;
    /* Text dark blue hoga */
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: var(--warm-peach);
    /* Hover par peach color */
    color: var(--navy-blue) !important;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 180px 20px 120px 20px;
    margin-top: 0;

    /* Premium Navy Blue Overlay */
    background-image: linear-gradient(rgba(26, 60, 110, 0.65),
            rgba(26, 60, 110, 0.65)), url('../images/hero-image.png');

    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    /* Text ko white kar diya */
    position: relative;
    z-index: 2;
    text-shadow: none;
    /* Ganda shadow hata diya */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    /* Subtitle ke liye slight off-white */
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    text-shadow: none;
    /* Ganda shadow hata diya */
}

.hero .btn-primary {
    position: relative;
    z-index: 2;
}

/* Explore Services Button */
.btn-primary {
    background-color: var(--soft-teal);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(120, 194, 196, 0.4);
}

.btn-primary:hover {
    background-color: var(--navy-blue);
    color: #ffffff;
}

/* --- Services Preview Section (Basic layout for now) --- */
/* --- Services Preview Section --- */
.services-preview {
    /* Pehle ye '80px 5%' tha. Ab humne top se 40px aur bottom se 80px kar diya h */
    padding: 40px 5% 80px;
    text-align: center;
    background-color: #ffffff;
}

.services-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* --- Services Grid Layout --- */
.grid {
    display: grid;
    /* This makes it responsive automatically! */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Premium Card Styling --- */
.card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--soft-teal);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* The tactile hover effect */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(26, 60, 110, 0.08);
    border-top: 4px solid var(--navy-blue);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--navy-blue);
    line-height: 1.3;
}

.card p {
    font-size: 0.95rem;
    color: var(--slate-grey);
    line-height: 1.6;
}

/* --- Footer Styling --- */
footer {
    background-color: var(--navy-blue);
    color: #ffffff;
    padding: 60px 5% 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-peach);
    /* Popping out against the dark blue */
    margin-bottom: 15px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--soft-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* --- Global Section Subtitles --- */
.section-subtitle {
    text-align: center;
    color: var(--slate-grey);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- Process Section (How It Works) --- */
.process-section {
    padding: 80px 5%;
    background-color: var(--off-white);
    text-align: center;
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
    /* Makes it stack on mobile */
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--soft-teal);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(120, 194, 196, 0.4);
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Trust Banner (Dark Blue Section) --- */
.trust-banner {
    background-color: var(--navy-blue);
    color: #ffffff;
    padding: 80px 5%;
    text-align: center;
}

.trust-banner h2 {
    color: var(--warm-peach);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.trust-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* --- Final CTA Section --- */
.final-cta {
    padding: 100px 5%;
    text-align: center;
    background-color: #ffffff;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* New Outline Button Style */
.btn-outline {
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
    padding: 13px 33px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: #ffffff;
}

/* --- Premium Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    /* Pushes the element down slightly */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    /* This specific curve creates a 'luxury' easing feel */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    /* Brings it back to original position */
}

/* --- Final Premium Touches --- */

/* Ensures the delay applies correctly without being overridden */
.reveal {
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1) !important;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    /* Official WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Adjust position for mobile screens */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* =========================================
   What is Apnapan Section (Split Layout)
   ========================================= */
.about-intro {
    padding: 100px 5%;
    background-color: #faf9f6;
    /* Ekdum halka off-white/cream background */
}

.about-flex {
    display: flex;
    align-items: center;
    /* Dono ko vertically center karega */
    justify-content: space-between;
    gap: 60px;
    /* Image aur text ke beech ka premium gap */
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side Image Container */
.about-image {
    flex: 1;
    /* 50% space lega */
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    /* Emoha ki tarah soft rounded corners */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    /* Halka 3D floating effect */
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
    /* Hover karne pe image thodi upar uthegi */
}

/* Right Side Content */
.about-content {
    flex: 1;
    /* 50% space lega */
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

/* Emoha jaisa soft text */
.about-content .intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--slate-grey);
    margin-bottom: 30px;
}

/* Premium Features List */
.about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.about-features li {
    font-size: 1.1rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features li strong {
    color: var(--warm-peach);
    /* Checkmarks ko brand color diya */
    font-size: 1.2rem;
}

/* Mobile Responsive: Agar screen choti ho toh ek ke neeche ek aayega */
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-features li {
        justify-content: center;
    }
}

/* =========================================
   Membership Teaser Banner (Home Page)
   ========================================= */
.membership-teaser {
    padding: 80px 5%;
    /* Ek soft premium gradient background */
    background: linear-gradient(135deg, #f0f4f8 0%, #e1eaf2 100%);
    text-align: center;
    border-radius: 30px;
    /* Modern curved edges */
    max-width: 1200px;
    margin: 80px auto;
    /* Upar-neeche achha gap */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.teaser-content h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.teaser-content p {
    font-size: 1.2rem;
    color: var(--slate-grey);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Mobile ke liye thoda adjust */
@media (max-width: 768px) {
    .membership-teaser {
        border-radius: 0;
        /* Mobile me full width acha lagta h */
        margin: 50px 0;
    }
}

/* =========================================
   Services Intro Section (Emoha Style)
   ========================================= */
.services-intro {
    padding: 100px 5%;
    background-color: #f7f6f2;
    /* Reference image jaisa off-white cream color */
}

.services-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Content */
.services-content {
    flex: 1;
    max-width: 500px;
    /* Text line length ko chota rakha h readability ke liye */
}

.services-content h2 {
    font-size: 2.8rem;
    color: var(--navy-blue);
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 600;
}

.services-content p {
    font-size: 1.1rem;
    color: #5d6d7e;
    /* Slightly grayish blue for readable text */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Red Outline Button Style */
.btn-outline-red {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    border: 1.5px solid #d9534f;
    /* Emoha jaisa soft red/peach */
    color: #d9534f;
    background-color: transparent;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-red:hover {
    background-color: #d9534f;
    color: #ffffff;
}

/* Right Side: Image */
.services-image {
    flex: 1;
}

.services-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    /* Soft rounded corners jese reference me hain */
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Halka premium shadow */
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .services-flex {
        flex-direction: column-reverse;
        /* Mobile par image upar, text neeche aayega */
        gap: 40px;
    }

    .services-content {
        text-align: center;
        max-width: 100%;
    }
}

/* =======================================================
   📱 MOBILE & TABLET RESPONSIVE DESIGN (MAGIC MEDIA QUERIES)
   ======================================================= */

/* Tablet & Chote Laptops Ke Liye (Max Width: 992px) */
@media (max-width: 992px) {
    header {
        padding: 15px 3%;
    }

    nav ul {
        gap: 15px;
    }

    .hero h1,
    .contact-hero h1,
    .membership-hero h1 {
        font-size: 3rem !important;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        /* Footer ko 2 columns me tod diya */
        gap: 40px;
    }
}

/* Mobile Phones Ke Liye (Max Width: 768px) */
@media (max-width: 768px) {

    /* Navbar Adjustment (Menu ko upar-neeche set karna) */
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .btn-cta {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Hero Sections (Top Banner ko chota karna) */
    .hero,
    .contact-hero,
    .membership-hero {
        padding: 130px 5% 60px !important;
    }

    .hero h1,
    .contact-hero h1,
    .membership-hero h1 {
        font-size: 2.3rem !important;
        line-height: 1.2;
    }

    .hero p,
    .contact-hero p,
    .membership-hero p {
        font-size: 1.05rem !important;
    }

    /* Home Page Flex Layouts ko Column me badalna */
    .about-flex,
    .services-flex {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-features {
        align-items: center;
        /* Center aligning lists */
    }

    .about-features li {
        justify-content: center;
    }

    /* Process Steps (1, 2, 3) */
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    /* Global Headings */
    h2 {
        font-size: 2rem !important;
    }

    /* Footer ko single column banana */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Map height adjustment */
    .map-section {
        height: 350px !important;
    }
}

/* Extra Chote Phones Ke Liye (Max Width: 480px) */
@media (max-width: 480px) {

    .hero h1,
    .contact-hero h1,
    .membership-hero h1 {
        font-size: 2rem !important;
    }

    /* Menu Links full width */
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    .btn-cta {
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    /* Membership cards adjustment */
    .pricing-card {
        padding: 30px 20px !important;
    }

    .plan-price .amount {
        font-size: 3rem !important;
    }

    /* Floating WhatsApp Icon Adjust */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
/* =======================================================
   🔥 PRO HAMBURGER MENU FIX (MOBILE NAV)
   ======================================================= */
/* Header Base Styling */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hamburger Icon (PC par hide rahega) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--navy-blue);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile View (Phone ke liye Jadoo) */
@media (max-width: 768px) {
    .hamburger {
        display: flex; 
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%; /* Start me chupa rahega */
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0; /* Menu screen ke andar aayega */
    }
    
    .hero, .contact-hero, .membership-hero {
        padding-top: 80px !important; 
    }
}
/* =======================================================
   📱 MOBILE NAVBAR FIX: Logo Left, Menu Right
   ======================================================= */
@media (max-width: 768px) {
    /* Navbar ko wapas ek line (row) me set karna */
    .site-header .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; /* Ek Left, Ek Right */
        align-items: center !important;
        width: 100% !important;
        padding: 12px 5% !important;
    }

    /* Logo ka alignment theek karna */
    .site-header .logo-link {
        display: flex;
        align-items: center;
        margin: 0 !important;
    }

    .site-header .logo {
        height: 55px !important; /* Mobile pe logo ka perfect size */
        width: auto !important;
    }

    /* Hamburger icon ko right me rakhna */
    .hamburger {
        margin-left: auto !important;
        margin-top: 0 !important;
    }

    /* Dropdown menu ki styling ko thoda aur smooth karna */
    .nav-menu {
        top: 100% !important; 
        box-shadow: 0 15px 25px rgba(0,0,0,0.1) !important;
        border-top: 1px solid #f0f4f8; /* Header aur menu ke beech ek clean line */
    }
}