/* ========================================
1. ROOT VARIABLES & RESET
======================================== */
:root {
    --primary-purple: #b350dc;
    --accent-coral: #FF4757;
    --text-dark: #1A1A1A;
    --text-grey: #636E72;
    --white: #FFFFFF;
    --body-bg: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 10px 20px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0px; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--text-dark); 
    background: var(--body-bg); 
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 25px; }


/* ========================================
4. HERO SECTION (Final Optimized Version)
======================================== */
.hero-section {
    padding: clamp(60px, 8vh, 100px) 0 60px; 
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh; 
}

/* Background unique decorative shapes */
.bg-shape-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(92, 81, 173, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.bg-shape-2 {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 203, 110, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr;
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
    position: relative;
    z-index: 1;
}

/* --- Live Blinking Dot & Badge --- */
.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f3f0ff;
    color: var( --primary-purple);;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.05);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #9a10b3;
    border-radius: 50%;
    position: relative;
}

.live-dot::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: inherit;
    border-radius: 50%;
    left: 0;
    top: 0;
    animation: live-blink 1.8s infinite;
}

@keyframes live-blink {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* --- Typography --- */
.hero-text h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem); 
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #0f172a;
    letter-spacing: -2px;
}

.hero-text .highlight {
    color:var( --primary-purple);;
    position: relative;
}

.hero-text p {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: #475569;
    margin-bottom: 45px;
    max-width: 520px;
    line-height: 1.8;
}

/* --- Buttons (Fixed Underline & Spacing) --- */
.hero-btns {
    display: flex;
    flex-wrap: nowrap; /* Mobile par line break na ho */
    gap: 15px;
}

.btn-primary, .btn-outline {
    display: inline-block;
    text-decoration: none !important; /* Underline removed */
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap; /* Text break na ho */
}

.btn-primary {
    background: var( --primary-purple);
    color: #fff !important;
    padding: 16px clamp(20px, 3vw, 40px);
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.25);
}

.btn-outline {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #0f172a !important;
    padding: 16px clamp(20px, 3vw, 40px);
    border-radius: 14px;
    font-weight: 700;
}

.btn-primary:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }

/* --- Image Side --- */
.hero-image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.shape-main-blob {
    position: absolute;
    width: 100%;
    height: 79%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(162, 155, 254, 0.05) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
    bottom: 5%;
    right: 0;
}

.shape-accent-ring {
    position: absolute;
    width: clamp(250px, 30vw, 450px);
    height: clamp(250px, 30vw, 450px);
    border: 2px dashed rgba(253, 203, 110, 0.4);
    border-radius: 50%;
    left: -5%;
    bottom: 10%;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.08);
    transform-origin: bottom;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.12));
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-section { padding-top: 80px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-text p { margin-left: auto; margin-right: auto; margin-bottom: 30px; }
    
    .hero-btns { 
        justify-content: center; 
        padding: 0 10px;
    }

    .btn-primary, .btn-outline {
        padding: 14px 20px; /* Mobile par thode chhote buttons taaki fit ho sakein */
        font-size: 0.9rem;
        flex: 1; /* Dono buttons equal width lenge side-by-side */
        max-width: 180px;
    }

    .hero-image-area { order: -1; margin-bottom: 20px; }
    .image-wrapper { max-width: 380px; }
}
.sub-badge {
    font-weight: 600;
    font-size: 0.75rem;

}

@media (max-width: 380px) {
    /* Bahut chhote screens ke liye */
    .hero-btns { gap: 8px; }
    .btn-primary, .btn-outline { padding: 12px 10px; font-size: 0.85rem; }
}
/* ========================================
5. ABOUT SECTION (Updated for Mobile Stats)
======================================== */
.about-section {
    padding: clamp(60px, 8vh, 100px) 0 60px; 
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    align-items: center;
    gap: clamp(40px, 8vw, 100px);
}

/* --- Left Side: Image Content --- */
.about-image-content {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
    padding: 20px;
}

.about-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 5;
    border-radius: 24px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
}

/* Decorative Shapes */
.float-blob {
    position: absolute;
    width: 115%;
    height: 85%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, rgba(162, 155, 254, 0.05) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: 10%;
    left: -10%;
    z-index: 1;
}

.accent-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(108, 92, 231, 0.25);
    border-radius: 24px;
    top: 0px;
    right: 0px;
    z-index: 2;
}

.dot-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#fdcb6e 2px, transparent 2px);
    background-size: 15px 15px;
    bottom: -20px;
    left: -30px;
    z-index: 6;
    opacity: 0.6;
}

/* --- Right Side: Text Content --- */
.top-label {
    display: inline-block;
    color: #6c5ce7;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-text-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.about-text-content h2 span {
    color: var(--primary-purple);
}

.about-text-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* --- Feature Grid (Mobile Optimized) --- */
.about-feature-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 15px; /* Reduced for side-by-side fit */
    border-radius: 18px;
}

.feature-icon {
    font-size: 1.2rem;
    color: #6c5ce7;
    background: rgba(108, 92, 231, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature-info strong {
    display: block;
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1;
}

.feature-info span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* --- MINIMAL CTA (ARROW ONLY) --- */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent; /* No BG */
    color: #0f172a;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s ease;
    padding: 5px 0;
}

.about-cta-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.about-cta-btn:hover {
    color: #6c5ce7;
}

.about-cta-btn:hover i {
    transform: translateX(5px);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .about-image-content {
        order: -1;
    }

    .about-img-wrapper {
        max-width: 320px;
    }

    .about-feature-grid {
        justify-content: center;
    }
    
    .about-cta-btn {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    /* Keeping Stats Side by Side on Mobile */
    .about-feature-grid {
        flex-direction: row; /* Force side by side */
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px 10px;
        gap: 8px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .feature-info strong {
        font-size: 0.95rem;
    }

    .feature-info span {
        font-size: 0.65rem;
    }
    
    .about-text-content h2 {
        font-size: 2.1rem;
    }
}
/* ========================================
6. SERVICES SECTION (Final Throw Logic)
======================================== */
.services-section {
    padding: clamp(60px, 6vh, 120px) 0;
    background: #ffffff;
    overflow: hidden;
}

.section-header { text-align: center; margin-bottom: 40px; }

/* Desktop Grid View */
.services-stack-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
}

.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* Swipe Tag (Desktop par hide) */
.swipe-tag {
    display: none;
}

.service-icon {
    width: 45px; height: 45px;
    background: #f3f0ff; color: #6c5ce7;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 12px;
}

.service-card h3 { font-size: 1.2rem; color: #0f172a; margin-bottom: 6px; font-weight: 800; }
.service-card p { color: #64748b; font-size: 0.85rem; line-height: 1.5; margin-bottom: 10px; }
.service-link { margin-top: auto; color: #6c5ce7; font-weight: 700; text-decoration: none !important; display: flex; align-items: center; gap: 5px; font-size: 0.8rem; }

/* --- Mobile Stack View (768px below) --- */
@media (max-width: 768px) {
    .swipe-tag {
        display: block;
        position: absolute;
        top: 12px; right: 12px;
        background: #f3f0ff; color: #6c5ce7;
        padding: 3px 10px;
        border-radius: 50px;
        font-size: 0.65rem;
        font-weight: 800;
        border: 1px solid rgba(108, 92, 231, 0.2);
        z-index: 10;
        transition: opacity 0.3s ease;
    }

   .services-stack-container {
        display: block;
        height: 300px; 
        max-width: 280px; /* Thoda narrow taaki rotation ki jagah bane */
        margin: 40px auto;
        position: relative;
        perspective: 1000px;
        touch-action: pan-y !important;
    }

    .service-card {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        backface-visibility: hidden;
        /* Corner stack ke liye origin change */
        transform-origin: bottom right; 
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* Stack Highlighting */
    .service-card:nth-child(2) { border: 1.5px solid rgba(108, 92, 231, 0.25); }
    .service-card:nth-child(3) { border: 1.5px solid rgba(108, 92, 231, 0.15); }
}



/* ========================================
7. STEPS SECTION (Final Throw Logic)
======================================== */
.steps-section {
    padding: 10px 0;
    background: #fff;
    overflow: visible;
}

.snake-container {
    position: relative;
    max-width: 1400px;
    margin: 40px auto;
    height: 400px;
}

.snake-svg-desktop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
    gap: 55px;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
    position: relative;
}

/* Grouping Number and the word "Step" underneath it */
.num-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 0.8;
}

.number {
    font-size: 11rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -10px;
}

.step-label {
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 10px;
}

/* Description Text Placement */
.desc-text {
    position: absolute;
    width: 280px;
    text-align: center;
}

.desc-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.4;
    font-weight: 500;
    margin: -10px;
}

/* Desktop Positioning */
.text-below { top: 220px; }  
.text-above { bottom: 220px; } 

/* Node Colors */
.item-1 .number, .item-1 .step-label { color: #513db3; }
.item-2 .number, .item-2 .step-label { color: #d12b7a; }
.item-3 .number, .item-3 .step-label { color: #5cb9f2; }
.item-4 .number, .item-4 .step-label { color: #d6453d; }

/* --- MOBILE VIEW: STEP TOP -> CONTENT BELOW --- */
@media (max-width: 991px) {
    .snake-svg-desktop { display: none; }
    
    .snake-container {
        height: auto;
        margin: 30px 15px; 
        padding-left: 20px;
        border-left: 2px solid #34495e; /* Thinner vertical line */
        max-width: 100%;
    }

    .steps-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px; /* Steps ke beech ka gap */
        padding-left: 5px;
    }

    .step-node {
        width: 100%;
        /* Isse Step aur Content ka vertical order set hota hai */
        flex-direction: column !important; 
        align-items: flex-start;
        padding-left: 15px;
    }

    /* Timeline circle icon */
    .step-node::before {
        content: '';
        position: absolute;
        left: -33px; 
        top: 20px;
        width: 12px;
        height: 12px;
        background: #fff;
        border: 2px solid #34495e;
        border-radius: 50%;
        z-index: 5;
    }

    /* Number & Step Label Box */
    .num-group { 
        align-items: flex-start; 
        line-height: 1;
        order: 1; /* Step Number ko pehle dikhayega */
    }

    .number { 
        font-size: 1.5rem; /* Kaafi chhota kiya gaya hai (Small view) */
        letter-spacing: -1px; 
    }

    .step-label { 
        font-size: 1rem; /* Step text ko ekdum small aur clean rakha hai */
        font-weight: 700;
        margin-top: 2px;
        text-transform: uppercase;
    }

    /* Content Box niche aayega */
    .desc-text {
        position: static; 
        text-align: left;
        width: 100%;
        margin-top: 8px;
        order: 2; /* Content Number ke niche aayega */
    }

    .desc-text p {
        font-size: 0.9rem;
        margin: 0; /* Desktop ka negative margin reset */
        line-height: 1.4;
        color: #64748b;
    }
}

/* ========================================
8. CATEGORIES DASHBOARD & HEADER
======================================== */
.categories-section {
    padding: 60px 0;
    background: #f4f4f4;
}

/* --- Added Header & Sub-text Styling --- */
.section-header {
    text-align: center;
    margin: 0 auto 50px auto;
}

.section-header .main-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-top: 15px;
    font-weight: 500;
    max-width: 1400px;

}

.section-header .sub-text {
    display: inline-block;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 15px;
    position: relative;
    padding: 0 45px;
    max-width: 800px;

}

/* Lines for the sub-text */
.section-header .sub-text::before,
.section-header .sub-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35px;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
}

.section-header .sub-text::before { left: 0; }
.section-header .sub-text::after { right: 0; }

/* --- Your Category Dashboard Design (Unchanged) --- */
.category-dashboard {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
    margin-top: 40px;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: transparent;
}

/* Icon Circle Base */
.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.cat-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.course-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* --- COLOR THEMES --- */
.purple .icon-circle { color: #513db3; border: 2px solid #513db3; }
.pink .icon-circle   { color: #d12b7a; border: 2px solid #d12b7a; }
.blue .icon-circle   { color: #5cb9f2; border: 2px solid #5cb9f2; }
.red .icon-circle    { color: #d6453d; border: 2px solid #d6453d; }

/* --- HOVER EFFECTS: TURN WHITE --- */
.cat-item.purple:hover { background: #513db3; }
.cat-item.pink:hover   { background: #d12b7a; }
.cat-item.blue:hover   { background: #5cb9f2; }
.cat-item.red:hover    { background: #d6453d; }

.cat-item:hover h3 { color: #ffffff; }
.cat-item:hover .course-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: transparent;
}

.cat-item:hover .icon-circle {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.1);
}

.cat-item.purple:hover .icon-circle { color: #513db3; }
.cat-item.pink:hover .icon-circle   { color: #d12b7a; }
.cat-item.blue:hover .icon-circle   { color: #5cb9f2; }
.cat-item.red:hover .icon-circle    { color: #d6453d; }

/* --- Mobile View Adjustments --- */
@media (max-width: 991px) {
    .category-dashboard { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 768px) {
    .section-header .main-text { font-size: 1rem; }
    .section-header .sub-text { font-size: 0.85rem; padding: 0 35px; }
}

@media (max-width: 576px) {
    /* 3 icons in one row with minimal gap */
    .category-dashboard { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 5px; 
        margin-top: 20px;
    }

    /* Padding reduced to fit content side-by-side */
    .cat-item { 
        padding: 15px 5px; 
    }

    /* Adjusted circle size to prevent horizontal scroll */
    .icon-circle { 
        width: 65px; 
        height: 65px; 
        font-size: 1.4rem; 
        margin-bottom: 10px;
    }

    /* Font size adjustment for 3-column layout */
    .cat-item h3 { 
        font-size: 0.8rem; 
        line-height: 1.2;
    }

    .course-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
}


/* ========================================
   9. DESTINATION SECTION (Scoped & Compact)
   ======================================== */
.destination-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Scoped Grid to prevent interference */
.destination-section .destination-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px 0;
}

/* SHORT & STABLE CARD */
.destination-section .dest-modern-card {
    position: relative;
    background: #000000;
    border-radius: 20px;
    height: 320px; /* Shortened Height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.5s ease;
    overflow: hidden;
    cursor: pointer;
}

/* Scoped Image Wrapper */
.destination-section .dest-modern-card .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.destination-section .dest-modern-card .city-banner {
    width: 100%;
    height: 60%; /* Image area reduced */
    object-fit: cover; 
    transition: transform 0.6s ease;
}

/* Scoped Gradient Overlay */
.destination-section .dest-modern-card .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 10%, rgba(17, 16, 16, 0.8) 50%, #000000 85%);
    z-index: 2;
}

/* COMPACT INFO BOX */
.destination-section .dest-modern-card .card-info {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 10px;
    padding: 15px; /* Reduced Padding */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.destination-section .city-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--theme-color);
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
}

.destination-section .dest-modern-card h3 {
    font-size: 1.1rem; /* Smaller Title */
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 5px 0;
}

.destination-section .city-meta span {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.destination-section .city-meta i {
    color: var(--theme-color);
    margin-right: 6px;
    font-size: 0.8rem;
}

/* --- HOVER EFFECTS (Scoped) --- */
.destination-section .dest-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.destination-section .dest-modern-card:hover .city-banner {
    transform: scale(1.05);
}

/* --- MOBILE SLIDING FIX --- */
@media (max-width: 991px) {
    .destination-section .destination-slider-wrapper {
        overflow-x: auto;
        padding: 10px 15px 0px 15px;
        margin: -25px -15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    
    .destination-section .destination-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .destination-section .destination-grid {
        display: flex;
        width: max-content;
        gap: 15px;
    }

    .destination-section .dest-modern-card {
        width: 250px; /* Stable width for mobile */
        height: 300px; /* Even shorter on mobile */
        flex-shrink: 0;
        scroll-snap-align: center;
    }
}


/* ========================================
   FUTURE MITHILA PREMIUM BANNER (Scoped)
   ======================================== */
.fm-premium-banner {
    position: relative;
    padding: 50px 0;
    background: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.1) 0, transparent 50%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fm-premium-banner .banner-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 5;
}

/* --- Left Side Content --- */
.fm-premium-banner .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-premium-banner .pulse-dot {
    height: 8px;
    width: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.fm-premium-banner .banner-headline {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.fm-premium-banner .banner-headline span {
    background: linear-gradient(to right, #60a5fa, #2563eb);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fm-premium-banner .banner-subline {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 550px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.fm-premium-banner .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fm-premium-banner .tag {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fm-premium-banner .tag i {
    color: #3b82f6;
}

/* --- Right Side CTA Card --- */
.fm-premium-banner .banner-cta-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    min-width: 280px;
}

.fm-premium-banner .offer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.fm-premium-banner .discount-val {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
}

.fm-premium-banner .discount-txt {
    color: #fbbf24;
    font-weight: 700;
    line-height: 1;
    text-align: left;
}

.fm-premium-banner .cta-primary-btn {
    width: 100%;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fm-premium-banner .cta-primary-btn:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.fm-premium-banner .cta-note {
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 12px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .fm-premium-banner .banner-flex-container {
        flex-direction: column;
        text-align: center;
    }
    .fm-premium-banner .banner-subline {
        margin-left: auto;
        margin-right: auto;
    }
    .fm-premium-banner .service-tags {
        justify-content: center;
    }
    .fm-premium-banner .banner-cta-card {
        width: 100%;
    }
}


/* ========================================
   10. STUDENT FEEDBACK - LATEST UI/UX
   ======================================== */
.student-feedback-section {
    padding: 40px 0;
    background: #ffffff;
}

.student-feedback-section .feedback-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* THE CARD DESIGN */
.student-feedback-section .feedback-card {
    background: #fdfdfd;
    border: 1px solid #f1f5f9;
    border-radius: 28px;
    height: 280px; /* Short & Professional */
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}



/* Top Header of Card */
.student-feedback-section .card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-feedback-section .demo-profile-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: 0.3s;
}

.student-feedback-section .feedback-card:hover .demo-profile-icon {
    background: #3b82f6;
    color: #ffffff;
}

.student-feedback-section .student-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.student-feedback-section .location {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Content Area */
.student-feedback-section .feedback-body p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 15px 0;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer of Card */
.student-feedback-section .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.student-feedback-section .course-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    padding: 4px 12px;
    border-radius: 8px;
}

.student-feedback-section .rating {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.student-feedback-section .rating i {
    color: #fbbf24;
}

/* --- MOBILE SLIDE FUNCTION ONLY --- */
@media (max-width: 991px) {
    .student-feedback-section .feedback-slider-wrapper {
        overflow-x: auto;
       padding: 5px 15px 5px 15px;
        margin: 0 -15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .student-feedback-section .feedback-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .student-feedback-section .feedback-grid {
        display: flex;
        width: max-content;
        gap: 16px;
    }

    .student-feedback-section .feedback-card {
        width: 280px;
        height: 260px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }
}
/* --- ADMIN POPUP STYLING (Scoped) --- */
.fm-admin-modal {
    display: none;
    position: fixed;
    z-index: 10000; /* Header se upar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fm-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fm-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
}

.fm-close:hover {
    color: #1e293b;
}
/* ========================================
   11. BLOG SECTION - PROFESSIONAL STABLE UI
   ======================================== */
.fm-blog-section {
    padding: 70px 0;
    background: #fff;
    overflow: hidden;
}

/* --- DESKTOP GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.blog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    border-color:  var(--primary-purple);
}

/* Desktop Image: No Padding (Full Width) */
.blog-image {
    position: relative;
    height: 210px;
    width: 100%;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

/* Interior Padding for Content - Desktop Only */
.blog-content {
    padding: 24px 28px; /* Desktop side padding fixed */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-tag {
    background: #f0f9eb;
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.blog-title a:hover { color: var(--primary-purple); }

.blog-excerpt {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Meta Footer Desktop */
.blog-meta-footer {
    padding: 15px 28px; /* Matching horizontal padding with content */
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #94a3b8;
    border-top: 1px solid #f8fafc;
}

.author-icon { width: 18px; height: 18px; border-radius: 50%; }
.author-name { font-weight: 700; color: var(--primary-purple); }
.sep { color: #e2e8f0; }

/* --- MOBILE SIMPLE LIST (EXCEL FORMAT) --- */
@media (max-width: 768px) {
    .blog-grid {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
        gap: 0;
    }

    .blog-card {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important; /* Divider line */
        padding: 15px 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: flex;
        flex-direction: column; 
    }

    /* ROW 1: Image Left, Text Right */
    .blog-top-row {
        display: flex;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .blog-image {
        width: 110px !important;
        height: 75px !important;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .blog-content {
        flex: 1;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .cat-tag {
        font-size: 0.6rem; /* Slightly increased for readability */
        color: var(--primary-purple);
        font-weight: 800;
        margin-bottom: 4px;
        background: #f0f9eb;
        padding: 2px 8px;
        border-radius: 4px;
        width: fit-content;
    }

    .blog-title {
        font-size: 0.9rem !important; /* Slightly increased to match standard */
        line-height: 1.3;
        font-weight: 700;
        margin: 0 !important;
        color: #1a202c;
    }

    .blog-excerpt { display: none !important; }

    /* ROW 2: Meta Info (Teeno ab ek hi line mein) */
    .blog-meta-footer {
        width: 100% !important;
        margin-top: 10px !important;
        padding: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: row !important; /* Force row direction */
        justify-content: flex-start !important; /* Starts everything from left */
        align-items: center !important;
        gap: 10px !important; /* Spacing between elements */
        font-size: 0.72rem;
        color: #94a3b8;
    }

    
    /* Ensuring separators look good in single line */
    .sep {
        color: #e2e8f0;
        margin: 0 2px;
    }
}

/* DESKTOP RESTORE */
@media (min-width: 769px) {
    .blog-top-row { display: block; }
    .blog-content { padding: 24px 28px; }
    .blog-meta-footer { padding: 15px 28px; border-top: 1px solid #f8fafc; }
    .blog-excerpt { display: block !important; }
}
/* ========================================
   12. FM FAQ SECTION (Professional & Left-Aligned)
   ======================================== */
.fm-faq-section {
    padding: 40px 0;
    background: #ffffff;
}

.fm-faq-section .faq-flex-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* --- Left Sidebar CTA --- */
.fm-faq-section .faq-sidebar {
    flex: 1;
    position: sticky;
    top: 120px;
}

.fm-faq-section .top-label {
    color: #6c5ce7;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
}

.fm-faq-section .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    text-align: left; /* Guaranteed Left Align */
}

.fm-faq-section .section-title span {
    color: var(--primary-purple);
}

.fm-faq-section .sidebar-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 25px 0 35px;
    text-align: left;
}

/* Expert CTA Card */
.fm-faq-section .expert-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
    text-align: left;
}

.fm-faq-section .expert-cta p {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.fm-faq-section .btn-contact-expert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary-purple);
    color: #fff;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s ease;
    width: 100%;
}

.fm-faq-section .btn-contact-expert:hover {
    background: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

/* --- Right Accordion --- */
.fm-faq-section .faq-content {
    flex: 1.4;
}

.fm-faq-section .faq-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.fm-faq-section .faq-item.active {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.fm-faq-section .faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    text-align: left; /* Ensuring question text is left */
}

.fm-faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fm-faq-section .faq-answer p {
    padding: 0 24px 24px 24px;
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.fm-faq-section .faq-question i {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: 0.3s;
    margin-left: 15px; /* Spacing between text and arrow */
}

.fm-faq-section .faq-item.active i {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

/* --- Mobile Fixes (Full Left Align) --- */
@media (max-width: 991px) {
    .fm-faq-section { 
        padding: 60px 0; 
    }
    
    .fm-faq-section .faq-flex-wrapper { 
        flex-direction: column; 
        gap: 40px; 
    }
    
    .fm-faq-section .faq-sidebar { 
        position: static; 
        text-align: left; 
    }

    .fm-faq-section .section-title { 
        font-size: 2rem; 
        text-align: left; 
    }

    .fm-faq-section .sidebar-text {
        text-align: left;
        margin: 15px 0 25px;
    }

    .fm-faq-section .expert-cta {
        padding: 25px;
        text-align: left;
    }

    .fm-faq-section .faq-question {
        padding: 20px;
        font-size: 1.05rem;
        text-align: left;
    }

    .fm-faq-section .faq-answer p {
        padding: 0 20px 20px 20px;
        text-align: left;
    }
}

/* ========================================
   13. FM DETAILED SUB-FOOTER (Light Grey)
   ======================================== */
.fm-detailed-footer {
    background: #f8fafc;
    padding: 60px 0;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

.fm-detailed-footer .footer-upper-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 40px;
}

/* --- LOGO & BRANDING --- */
.fm-detailed-footer .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fm-detailed-footer .main-logo { height: 50px; width: auto; }

.fm-detailed-footer .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.fm-detailed-footer .logo-text span { color:var(--primary-purple) }

.fm-detailed-footer .tagline {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: capitalize;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

/* --- TYPOGRAPHY & NO UNDERLINE --- */
.fm-detailed-footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.fm-detailed-footer ul { list-style: none; padding: 0; }
.fm-detailed-footer ul li { margin-bottom: 12px; }
.fm-detailed-footer ul a {
    text-decoration: none !important; /* Force No Underline */
    color: #64748b;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.fm-detailed-footer ul a:hover { 
    color: #3b82f6; 
    padding-left: 5px; 
}

/* --- STYLISH CERTIFIED BADGE (GREEN) --- */
.fm-detailed-footer .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5; /* Very light green */
    border: 1px solid #10b981; /* Emerald green border */
    padding: 6px 14px;
    border-radius: 50px; /* Capsule shape */
    margin-top: 15px;
    transition: all 0.3s ease;
}

.fm-detailed-footer .trust-badge i {
    color: #10b981;
    font-size: 0.9rem;
}

.fm-detailed-footer .trust-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #065f46; /* Dark green text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fm-detailed-footer .trust-badge:hover {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.fm-detailed-footer .trust-badge:hover span,
.fm-detailed-footer .trust-badge:hover i {
    color: #ffffff;
}

/* --- CLEAN SOCIAL ICONS (NO UNDERLINE/MINIMAL) --- */
.fm-detailed-footer .f-social { display: flex; gap: 10px; margin-top: 25px; }
.fm-detailed-footer .f-social a {
    width: 38px; height: 38px; 
    background: #ffffff; 
    border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; 
    color: #475569; 
    text-decoration: none !important; /* No underline */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fm-detailed-footer .f-social a:hover { 
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: #3b82f6; /* Subtle color change only */
}

/* --- NEWSLETTER --- */
.fm-detailed-footer .f-newsletter { display: flex; margin: 18px 0; }
.fm-detailed-footer .f-newsletter input {
    flex: 1; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 12px 0 0 12px; outline: none; font-size: 0.9rem;
}
.fm-detailed-footer .f-newsletter button {
    background: #0f172a; color: #fff; border: none; padding: 0 20px; border-radius: 0 12px 12px 0; cursor: pointer; transition: 0.3s;
}
.fm-detailed-footer .f-newsletter button:hover { background: #3b82f6; }

/* ========================================
   14. FM MAIN FOOTER (Dark Bar)
   ======================================== */
.fm-main-footer {
    background: #0f172a;
    padding: 25px 0;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text { color: #94a3b8; font-size: 0.85rem; }
.copyright-text strong { color: #fff; }

.fb-right { display: flex; align-items: center; gap: 25px; }
.footer-legal-links { display: flex; gap: 15px; list-style: none; padding: 0; margin: 0; }
.footer-legal-links a { 
    color: #64748b; 
    font-size: 0.8rem; 
    text-decoration: none !important; /* No underline */
}
.footer-legal-links a:hover { color: #ffffff; }

.developer-credit {
    font-size: 0.8rem; color: #475569; border-left: 1px solid #334155; padding-left: 20px;
}
.developer-credit a { 
    color: #3b82f6; 
    text-decoration: none !important; /* No underline */
    font-weight: 600; 
}

/* ========================================
   RESPONSIVE (Mobile Side-by-Side)
   ======================================== */
@media (max-width: 768px) {
    .fm-detailed-footer .footer-upper-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 15px;
    }

    .f-col-brand, .f-col-contact {
        grid-column: span 2;
        text-align: center;
    }

    .brand-wrapper, .f-social, .trust-badge { justify-content: center; margin-left: auto; margin-right: auto; }
    .trust-badge { display: flex; width: fit-content; }

    .fm-detailed-footer h5 { font-size: 0.95rem; margin-bottom: 12px; }
    .fm-detailed-footer ul a { font-size: 0.85rem; }
    
    .footer-bottom-wrapper { flex-direction: column; gap: 15px; text-align: center; }
    .developer-credit { border-left: none; padding-left: 0; }
}

/* ========================================
   14. FM MAIN FOOTER (Dark Copyright Bar)
   ======================================== */

.fm-main-footer {
    background: #0f172a; /* Deep Navy Night */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left Section */
.copyright-text {
    color: #94a3b8;
    font-size: 0.85rem;
}

.copyright-text strong {
    color: #ffffff;
}

/* Right Section */
.fb-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.footer-legal-links li a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.footer-legal-links li a:hover {
    color: #ffffff;
}

/* --- DEVELOPER CREDIT STYLE --- */
.developer-credit {
    font-size: 0.8rem;
    color: #64748b;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-credit a {
    color: #3b82f6; /* Blue highlight */
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.developer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .fb-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .developer-credit {
        border-left: none;
        padding-left: 0;
        margin-top: 5px;
    }
}

/* ========================================
   15. CONTACT SECTION STYLING (Updated)
   ======================================== */
.fm-contact-section {
    padding: 40px 0;
    background: #fafbf6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side Info Cards --- */
.contact-info-sidebar .top-label {
    color: #6c5ce7;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
}

.contact-info-sidebar .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 25px;
}

.contact-info-sidebar .section-title span {
    color: var(--primary-purple);
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: 0.3s ease;
}

.info-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: var(--primary-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h5 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-details p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* --- Right Side Form Styling (Desktop: No Changes) --- */
.contact-form-wrapper {
    background: #ffffff;
    padding: 45px;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.country-code {
    background: #f1f5f9;
    color: #475569;
    padding: 0 15px;
    height: 50px; 
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-right: 1px solid #e2e8f0;
}

.phone-input-wrapper input {
    border: none !important;
    background: transparent !important;
    border-radius: 0;
}

.submit-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s ease;
    margin-top: 10px;
}

/* --- RESPONSIVE UPDATES FOR MOBILE --- */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-sidebar .section-title {
        font-size: 2.2rem;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Full Width & Square Corners for Wrapper */
    .contact-form-wrapper {
        padding: 25px 15px; 
        border-radius: 0 !important;
        border-left: none;
        border-right: none;
        box-shadow: none;
        width: 100%;
        margin: 0;
    }

    /* Square Corners for All Elements */
    .form-group input, 
    .form-group select, 
    .form-group textarea,
    .phone-input-wrapper,
    .submit-btn,
    .country-code {
        border-radius: 0 !important;
    }

    /* Standard Height for Mobile Inputs */
    .form-group input, 
    .form-group select {
        height: 50px;
    }
}

@media (max-width: 580px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info-sidebar .section-title {
        font-size: 1.8rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    /* Ensuring container doesn't have side padding on mobile for true full-width */
    .fm-contact-section .container {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
}


/* ========================================
   16. CAPTCHA SECTION STYLING (Updated & Responsive)
   ======================================== */

.captcha-flex-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.captcha-img-box {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

#captcha-img {
    height: 42px;
    width: 125px; /* Desktop width */
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    object-fit: cover;
    background: #fff;
}

.refresh-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--primary-purple);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    background: #e2e8f0;
}

.captcha-input {
    flex: 1; /* Desktop par bada placeholder space */
    min-width: 100px;
    padding: 11px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.captcha-input:focus {
    border-color: var(--primary-purple);
}

/* --- MOBILE RESPONSIVENESS (RE-OPTIMIZED) --- */
@media (max-width: 480px) {
    .captcha-flex-container {
        flex-direction: row !important; /* Force row on mobile */
        padding: 6px 10px;
    }

    #captcha-img {
        width: 100px; /* Mobile par image choti */
        height: 38px;
    }

    .refresh-btn {
        padding: 8px;
    }

    .captcha-input {
        padding: 9px 12px;
        font-size: 14px;
        flex: 2; /* Mobile par input box ko zyada space */
    }
}

/* ========================================
   16. CAREER ROADMAP: PROFESSIONAL UPGRADE
   ======================================== */

.career-roadmap {
    padding: 80px 0; /* Vertical padding */
    background-color: #fafbf6;
    width: 100%;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.roadmap-title {
    text-align: center;
    margin-bottom: 50px;
}

.roadmap-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

/* --- Grid & Peek Effect Logic --- */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
    width: 100%;
}

/* --- Professional Card UI --- */
.path-card-adv {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
}

.path-card-adv:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.05);
}

/* Header & Icon Styling */
.path-header { 
    padding: 30px 25px 10px; 
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-top i { 
    font-size: 1.8rem; 
    transition: 0.3s;
}

.step-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
}

.path-header h3 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: #0f172a; 
    margin: 10px 0; 
}

/* Body Styling */
.path-body { 
    padding: 0 25px 20px; 
    flex-grow: 1; 
}

.sub-section h4 { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin: 20px 0 12px; 
    font-weight: 700; 
    color: #94a3b8;
}

.sub-section ul li { 
    font-size: 0.95rem; 
    color: #334155; 
    padding: 10px 0; 
    border-bottom: 1px solid #f1f5f9; 
    display: flex;
    align-items: center;
}

.sub-section ul li::before {
    content: '→';
    margin-right: 10px;
    font-weight: bold;
    opacity: 0.3;
}

/* --- Dynamic Themes (Professional Pastel) --- */
.red-theme i { color: #ef4444; }
.red-theme .step-badge { background: #fef2f2; color: #ef4444; }
.red-theme:hover { border-bottom: 4px solid #ef4444; }

.green-theme i { color: #22c55e; }
.green-theme .step-badge { background: #f0fdf4; color: #22c55e; }
.green-theme:hover { border-bottom: 4px solid #22c55e; }

.blue-theme i { color: #3b82f6; }
.blue-theme .step-badge { background: #eff6ff; color: #3b82f6; }
.blue-theme:hover { border-bottom: 4px solid #3b82f6; }

.purple-theme i { color: #a855f7; }
.purple-theme .step-badge { background: #f5f3ff; color: #a855f7; }
.purple-theme:hover { border-bottom: 4px solid #a855f7; }

/* --- Mobile Slider with Peek Effect --- */
@media (max-width: 1024px) {
    .roadmap-grid {
        display: flex; 
        grid-template-columns: none; 
        overflow-x: auto;
        padding: 10px 20px 40px; /* Right padding for peek space */
        gap: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    
    .roadmap-grid::-webkit-scrollbar { display: none; }

    .path-card-adv {
        min-width: 85%; /* Shows 85% of current card + 15% of next card */
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .roadmap-title { padding: 0 20px; text-align: left; }
}



/* --- TRENDING LOCATIONS WRAPPER --- */
.footer-locations-wrapper {
    margin-top: 50px;
    padding-bottom: 20px;
}

/* Header with border line extending from text */
.location-header {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.location-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0; /* The border line after text */
}

/* Grid Design */
.state-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px 15px;
}

.state-link-item { display: contents; }

.state-anchor {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 500;
    transition: 0.2s ease;
}

.desktop-bullet { color: #cbd5e1; font-size: 0.4rem; flex-shrink: 0; }
.mobile-separator { display: none; }

.state-anchor:hover { color: #b350dc; padding-left: 2px; }
.state-anchor:hover .desktop-bullet { color: #b350dc; }

/* Responsive Scopes */
@media (max-width: 1300px) { .state-grid-wrapper { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1100px) { .state-grid-wrapper { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 768px) {
    .location-header { font-size: 0.8rem; gap: 10px; }
    .state-grid-wrapper {
        display: block; 
        line-height: 2.3;
    }
    .state-link-item { display: inline; }
    .state-anchor {
        display: inline;
        font-size: 0.85rem;
    }
    .desktop-bullet { display: none; }
    .mobile-separator { 
        display: inline; 
        margin: 0 8px; 
        color: #e2e8f0; 
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
