:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #F59E0B;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-light: #E2E8F0;
    --success-color: #10B981;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10001;
    /* Higher than sidebar! */
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #f1f5f9;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 1.5rem;
}




.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    /* Fall naturally into flex-container logic! */
}


.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.nav-links a.active-link {
    color: var(--primary);
    font-weight: 600;
}

/* Hide hamburger when sidebar is active to avoid double-button overlap */
.nav-links.active~.menu-toggle,
body:has(.nav-links.active) .menu-toggle,
.nav-links.active #menu-toggle {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nav-links a i {
    display: none;
}

.menu-toggle {
    display: none;
    background: #eff6ff;
    border: 1.5px solid rgba(37, 99, 235, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
}

.hamburger-box {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hamburger-box span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #38bdf8;
    /* Bright Blue from Screenshot */
    border-radius: 4px;
    transition: all 0.3s ease;
}





.menu-toggle:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.05);
}


.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 99998;
    /* Just below sidebar */
}

.mobile-close,
.nav-mobile-btn,
.mobile-brand,
#mobile-close,
.mobile-menu-footer,
.nav-divider {
    display: none;
}




/* --- HERO SECTION --- */

.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content h1 .highlight {
    background: linear-gradient(270deg, var(--primary), var(--secondary), #38bdf8, var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

/* --- TRUST BADGES --- */
.trust-section {
    padding: 3rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
}

/* --- WHAT WE DO --- */
.what-we-do {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    background: white;
    border-color: var(--border-light);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
}

/* --- HOW WE DO IT (Ultra-Premium Roadmap) --- */
.journey-section {
    background: #ffffff;
    padding: 10rem 0;
    position: relative;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    padding: 2rem 0;
}

/* Intelligent Glowing Path */
.timeline::before {
    content: '';
    position: absolute;
    top: 64px; /* Pixel-perfect center align for 84px icon + 2rem padding */
    left: 5%;
    right: 5%;
    height: 2px;
    background: #e2e8f0; /* More visible gray for white BG */
    z-index: 1;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 64px;
    left: 5%;
    width: 95%; /* Complete: center of 6th icon */
    height: 3px;
    background: var(--primary);
    z-index: 2;
    box-shadow: 0 0 20px rgba(37,99,235,0.5);
    border-radius: 10px;
    animation: pathHeartbeat 3s infinite;
}

@keyframes pathHeartbeat {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(37,99,235,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 25px rgba(37,99,235,0.6); }
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 3rem;
    z-index: 4;
}

.step-icon {
    width: 84px;
    height: 84px;
    background: white;
    border: 2.5px solid var(--primary);
    border-radius: 26px; /* High-end G2 curvature */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(37,99,235,0.08);
}

.step-number-pill {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 50px;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.15);
}

/* Glassmorphism Cards */
.step-content {
    background: #ffffff;
    padding: 1.75rem 1.25rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    text-align: center;
    width: 100%;
    transition: all 0.5s ease;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 850;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.step-outcome {
    display: inline-block;
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

/* COMPLETED (White Background with Blue Border) */
.timeline-step.active .step-icon {
    background: #ffffff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37,99,235,0.08);
}

.timeline-step.current .step-icon {
    transform: scale(1.15);
    border-width: 3px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.timeline-step.current .step-icon::after {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px solid var(--primary);
    border-radius: 35px;
    animation: beaconPulse 2.5s infinite;
}

.timeline-step.current .step-content {
    border-color: rgba(37, 99, 235, 0.2);
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.1);
}

.timeline-step.current .step-outcome {
    background: var(--primary);
    color: white;
}

/* FUTURE STATE */
.timeline-step.future .step-icon {
    background: white;
    border-color: rgba(37, 99, 235, 0.2);
    color: rgba(37, 99, 235, 0.4);
    box-shadow: none;
}

/* HOVER EFFECTS */
.timeline-step:hover .step-icon {
    transform: translateY(-10px) rotate(3deg);
    background: var(--primary);
    color: white;
}

.timeline-step:hover .step-content {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}

/* MOBILE REFINEMENT SYNCED */
@media (max-width: 768px) {
    .journey-section { padding: 4rem 0; }
    .timeline { flex-direction: column; gap: 2rem; }
    .timeline::before, .timeline::after { display: none; }
    .timeline-step { flex-direction: row; gap: 1.5rem; align-items: flex-start; text-align: left; }
    .step-icon-wrapper { margin-bottom: 0; }
    .step-icon { width: 64px; height: 64px; border-radius: 20px; font-size: 1.6rem; flex-shrink: 0; }
    .step-content { text-align: left; padding: 1.5rem; }
    .step-number-pill { display: none; }
}






/* --- TWO MAIN SERVICES (Split Concept) --- */
.services-split {
    background: var(--bg-light);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.split-block {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.split-block:hover {
    transform: translateY(-10px);
}

.split-header {
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.split-header.abroad {
    background: linear-gradient(135deg, #2563EB, #4F46E5);
}

.split-header.india {
    background: linear-gradient(135deg, #EA580C, #F59E0B);
}

.split-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.split-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.split-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.split-body {
    padding: 3rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.service-list li i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- WHY CHOOSE US --- */
.why-choose {
    padding-bottom: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- SUCCESS STORIES --- */
.success-stories {
    background: var(--bg-light);
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
}

.testimonial-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    height: 100%;
    /* Equal height cards */
}

.student-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-light);
    flex-shrink: 0;
    margin: 0 auto;
    /* Ensure it centers when flex stacks */
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    order: 1;
    /* Quote first */
}

.student-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    order: 2;
    /* Identity second */
}

.quote-icon {
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.1);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
    /* Prevent text from pushing card width */
}

.student-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    margin-top: 1rem;
    display: block;
    text-align: center;
    width: 100%;
}

.student-path {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 0.25rem;
}

/* --- ABOUT ROUNDARK --- */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* --- FINAL DECISION PORTALS --- */
.final-decision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 6rem auto;
    /* Centers layout on ultra-wide screens */
    padding: 3rem 2rem;
    min-height: 550px;
    position: relative;
    z-index: 20;
}

@media (max-width: 900px) {
    .final-decision {
        grid-template-columns: 1fr;
        min-height: 800px;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

.decision-half {
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Drop the buttons to the bottom floor so central graphics are unobstructed! */
    align-items: center;
    padding: 3.5rem 2rem;
    position: relative;
    text-decoration: none;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 600px;
    /* Enhanced height to prevent artwork cropping */
}

.decision-half:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.decision-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    /* Prevents decapitating the top artwork logos */
    z-index: 1;
    opacity: 1;
    /* Keep artwork exceptionally bright */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.decision-half:hover::before {
    transform: scale(1.05);
    /* Smooth, premium zoom without distorting box model */
}

.decision-half.abroad {
    background: var(--text-main);
}

.decision-half.abroad::before {
    background-image: url('../assets/study_abroad_1774035526511.png');
}

.decision-half.india {
    background: #1e293b;
}

.decision-half.india::before {
    background-image: url('../assets/study_india_1774035633634.png');
}

.decision-content {
    position: relative;
    z-index: 3;
    /* Above gradient shield */
    max-width: 450px;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.decision-half:hover .decision-content {
    transform: translateY(0);
}

.decision-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.decision-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* --- CONTACT & FOOTER --- */
.contact-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    width: 100%;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
    color: white;
}

footer {
    background: var(--text-main);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {

    .hero-grid,
    .split-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .timeline::before {
        display: none;
    }

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

    .final-decision {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
}

/* --- PREMIUM UI/UX ENHANCEMENTS --- */
body {
    background-color: #f8fafc;
    /* Softer white */
}

/* Button Polish */
.btn {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    letter-spacing: 0.5px;
    border-radius: 100px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* Navbar floating effect */
nav {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hero Image Floating Animation */
.hero-image {
    animation: floatHero 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(37, 99, 235, 0.15));
    overflow: visible !important;
    /* Allow badges to overflow slightly if needed */
}

@keyframes floatHero {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 5;
    animation: badgeFloat 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.badge-1 {
    top: 12%;
    right: -6%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -6%;
    animation-delay: 1.5s;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.badge-3 {
    top: 55%;
    right: -4%;
    animation-delay: 3s;
}

@keyframes badgeFloat {

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

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* Service Cards Micro-Interactions */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.12);
    background: white;
    border-color: transparent;
}

.service-icon {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(37, 99, 235, 0.15);
}

/* Trust Icons Glow */
.trust-item i {
    filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.3));
    transition: transform 0.3s;
}

.trust-item:hover i {
    transform: scale(1.2);
}

/* Split Block Enhancement */
.split-block {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(to bottom, white, #f8fafc);
}

.split-block:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
}

/* Final Decision Dark Overlay Polish */
.decision-half::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
    z-index: 1;
    transition: opacity 0.5s ease;
}

.decision-half:hover::after {
    opacity: 0.8;
}

.decision-content {
    z-index: 3;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.decision-half:hover .decision-content {
    transform: translateY(-10px);
}

.decision-half::before {
    transition: transform 1.5s ease;
}

.decision-half:hover::before {
    transform: scale(1.08);
    /* Slow zoom effect on background */
}

/* Global Typography Enhancements */
p {
    line-height: 1.75;
    letter-spacing: 0.1px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.stagger-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- UI/UX ENHANCEMENTS --- */

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding-top: 140px;
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: meshMove 20s infinite alternate;
}

@keyframes meshMove {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(5%, 5%);
    }
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Reveal Animation on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumbs or Subtitles */
.page-subtitle {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- MOBILE RESPONSIVENESS (SMART OVERRIDES) --- */
@media (max-width: 1024px) {

    .hero-grid,
    .split-grid,
    .footer-grid,
    .contact-grid,
    .success-stories-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Responsive Navbar Lockdown */
    .nav-links {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .logo img {
        height: 38px !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    /* Timeline Mobiled (Enhanced Vertical Layout) */
    .timeline {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1rem;
    }

    .timeline::before, .timeline::after {
        display: none;
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .step-icon-wrapper {
        margin-bottom: 0;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .step-number-pill {
        display: none; /* Cleaner on mobile */
    }

    .step-content {
        padding: 1rem 1.25rem;
        text-align: left;
        border-radius: 1.25rem;
    }

    .step-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .step-desc {
        font-size: 0.8rem;
    }

    .timeline-step.current .step-icon {
        transform: scale(1.05);
    }

    /* Success Stories */
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        align-items: center;
        gap: 1.5rem;
    }

    .student-photo {
        width: 100px;
        height: 100px;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    /* Trust Items */
    .trust-grid {
        gap: 1.5rem;
        justify-content: center;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .trust-item i {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-grid {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Hero Specifics */
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image img {
        border-radius: 1.5rem;
    }

    /* Services */
    .glass-card {
        padding: 1.5rem;
    }

    .decision-half {
        min-height: 450px;
    }

    .decision-content h2 {
        font-size: 2.2rem;
    }

    /* Proper Image Scaling on About Page */
    .about-image {
        max-width: 100% !important;
        margin-top: 2rem;
    }

    /* Modal Responsiveness */
    #certModal {
        padding: 1rem !important;
    }

    #certModal > div {
        height: 85vh !important;
        border-radius: 1.5rem !important;
    }

    #applyModal > div {
        margin: 1rem auto !important;
    }

    .footer-col {
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }
}

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

    .hero-buttons .btn {
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .testimonial-card {
        padding: 2rem 1rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    /* Smaller Certificate Modal Header */
    #certModalTitle {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .logo img {
        height: 36px !important;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }
}

/* --- CUSTOM ANIMATIONS & UI ENHANCEMENTS --- */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: var(--primary) !important;
}

.hover-card:hover i {
    transform: scale(1.15);
}