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

:root {
    --primary: #020617;
    /* Very Deep Slate / Near Black */
    --primary-light: #2563eb;
    /* High Contrast Vibrant Blue */
    --secondary: #ea580c;
    /* High Contrast Deep Orange */
    --accent: #16a34a;
    /* High Contrast Green */
    --bg-color: #ffffff;
    /* Pure White */
    --text-dark: #000000;
    /* Pure Black Text */
    --text-muted: #334155;
    /* Darker Slate for improved contrast */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.6);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.brand-logo {
    font-family: 'Outfit', sans-serif;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav & Banner */
.announcement-banner {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 40px 10px 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-slide 25s linear infinite;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 0.95rem;
    font-weight: 500;
}

.ticker-item strong {
    color: #fce7f3;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    margin-right: 8px;
    animation: alert-pulse 1.5s infinite;
}

@keyframes alert-pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.close-banner {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1rem;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.close-banner:hover {
    background: rgba(255, 255, 255, 0.4);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.brand-logo span {
    color: var(--secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background: #172554;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0px 20px 60px;
    /* Shifted even further up */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 8s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    animation-delay: -4s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.1);
    }
}

.badge {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 25px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Trust Stack */
.trust-stack {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
}

.avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: -15px;
    border: 3px solid white;
    z-index: 10;
}

.trust-text {
    text-align: left;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.trust-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.calc-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.calc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: border 0.3s;
}

select:focus {
    border-color: var(--primary-light);
}

.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.4);
}

.range-val {
    font-weight: 700;
    color: var(--primary);
    min-width: 90px;
}

.secure-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Results */
.waiting-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(248, 250, 252, 0.6);
    opacity: 0.8;
}

.waiting-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.result-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.destination-box {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-left: 4px solid var(--primary);
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 5px 0;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.result-grid .val {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 5px;
}

.box-blue .val {
    color: var(--primary-light);
}

.box-orange .val {
    color: var(--secondary);
}

.roi-box {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.roi-box i {
    font-size: 2rem;
    color: var(--accent);
}

.link-small {
    font-size: 0.8rem;
    color: var(--primary-light);
    text-decoration: underline;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.modern-table th,
.modern-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.modern-table th {
    background: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.modern-table th:first-child,
.modern-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
}

.india-col {
    background: rgba(249, 115, 22, 0.05);
}

.abroad-col {
    background: rgba(59, 130, 246, 0.05);
}

.highlight-green {
    color: var(--accent);
    font-weight: 700;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: rgba(30, 58, 138, 0.05);
    font-size: 4rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author strong {
    display: block;
    color: var(--primary);
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 60px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand span {
    color: var(--secondary);
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-links p {
    color: #94a3b8;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #0f172a;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.floating-whatsapp:hover .tooltip {
    opacity: 1;
}

/* Floating Call */
.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #3b82f6;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-call:hover {
    transform: scale(1.1);
}

.floating-call .tooltip {
    right: auto;
    left: 80px;
}

.floating-call:hover .tooltip {
    opacity: 1;
}

/* Typewriter Effect */
.typewriter-text {
    border-right: 3px solid var(--secondary);
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--secondary);
    }
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Scroll Reveal Interactions */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Video Success Story Card */
.video-preview-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-thumbnail {
    width: 100%;
    height: 350px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.5s;
}

.video-preview-card:hover .video-thumbnail {
    opacity: 0.5;
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    padding-left: 5px;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    z-index: 2;
}

.video-label h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.video-label p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 1000px;
    height: 80%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--secondary);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Mascot CTA */
.mascot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform 0.3s;
}

.mascot-container:hover {
    transform: scale(1.05);
}

.mascot-wiggle-active {
    animation: mascot-wiggle 1.2s ease-in-out;
}

@keyframes mascot-wiggle {

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

    15% {
        transform: scale(1.08) rotate(-8deg);
    }

    30% {
        transform: scale(1.08) rotate(6deg);
    }

    45% {
        transform: scale(1.08) rotate(-6deg);
    }

    60% {
        transform: scale(1.08) rotate(4deg);
    }

    75% {
        transform: scale(1.08) rotate(-2deg);
    }

    90% {
        transform: scale(1.08) rotate(0deg);
    }
}

.curved-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    animation: rotateText 15s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.curved-text-wrapper svg {
    width: 100%;
    height: 100%;
}

.curved-text-wrapper text {
    font-size: 13px;
    font-weight: 700;
    fill: var(--primary);
    letter-spacing: 1px;
}

@keyframes rotateText {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.mascot-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    position: relative;
}

.mascot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: mascot-float 3s ease-in-out infinite;
}

@keyframes mascot-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }

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

.pulse-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    animation: avatar-pulse 2s infinite;
}

@keyframes avatar-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.speech-bubble {
    background: white;
    padding: 12px 18px;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 70px;
    margin-left: -10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    position: absolute;
    left: 100%;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.speech-bubble.active {
    opacity: 1;
    transform: translateY(0);
}

.typing-dots {
    letter-spacing: 2px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* Form Modal Styling */
.form-modal {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: modal-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-wrapper p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* --- INDIA VS ABROAD PAGE STYLES --- */

/* Split Hero Section */
.split-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.split-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-left {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.split-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
    color: var(--text-dark);
}

.badge-indigo {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
}

.stats-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.stat-box {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    max-width: 250px;
    border-top: 4px solid #e2e8f0;
}

.stat-box.mt-left {
    border-top-color: var(--accent);
}

.stat-box:first-child {
    border-top-color: #ef4444;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.text-red {
    color: #ef4444 !important;
}

.text-green {
    color: #22c55e !important;
}

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

.fw-bold {
    font-weight: 700;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Chart Section */
.chart-section {
    padding: 80px 0;
    background: white;
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.3s;
}

.filter-btn:hover {
    background: #f1f5f9;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.chart-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    height: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Detailed Matrix */
.matrix-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.interactive-matrix {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.matrix-header,
.matrix-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.matrix-header {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.matrix-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}

.matrix-row:hover {
    background: #f8fafc;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-cell {
    padding: 20px;
    display: flex;
    align-items: center;
    border-right: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.matrix-cell:last-child {
    border-right: none;
}

.label-cell {
    font-weight: 600;
    background: #f8fafc;
    color: var(--text-dark);
}

.label-cell i {
    width: 25px;
    color: var(--primary-light);
}

.highlight-india {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary) !important;
}

.matrix-header .highlight-india {
    background: var(--secondary);
    color: white !important;
}

.matrix-conclusion {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- INDIA COLLEGES DEDICATED PAGE --- */
.mega-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.display-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.search-console {
    background: white;
    padding: 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 40px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px 5px 5px 20px;
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.search-input-group input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
    outline: none;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background: var(--primary-light);
}

.quick-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag {
    background: #e2e8f0;
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.2s;
}

.tag:hover {
    background: var(--accent);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-header-left {
    margin-bottom: 40px;
}

.section-header-left h2 {
    font-size: 2.5rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.collection-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.collection-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.collection-overlay p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.directory-header h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.directory-filters {
    display: flex;
    gap: 15px;
}

.filter-select {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: white;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.college-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.college-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.college-cover {
    height: 180px;
    position: relative;
}

.college-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wishlist-btn:hover {
    color: #ef4444;
}

.college-info {
    padding: 25px 20px;
    position: relative;
}

.college-logo {
    position: absolute;
    top: -40px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.college-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    padding-right: 60px;
}

.location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.college-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.metric .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.metric.rating .value {
    color: var(--accent);
}

.college-actions {
    display: flex;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Floating Hero Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    z-index: 5;
    animation: float-badge 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(5px);
}

.badge-left {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.badge-right {
    top: 25%;
    right: 8%;
    animation-delay: 2s;
}

@keyframes float-badge {
    0% {
        transform: translateY(0);
    }

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

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

/* Glow Tag */
.glow-tag {
    background: linear-gradient(135deg, var(--secondary), #f97316);
    color: white !important;
    animation: tag-pulse 2s infinite;
    border: none !important;
}

@keyframes tag-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Live Stats Row */
.search-stats-row {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.search-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.search-stat i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.counter-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Spotlight Focus Layout */
.search-console {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
}

.search-console.focused {
    transform: scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    position: relative;
    border-color: var(--primary-light);
}

#spotlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#spotlight-overlay.active {
    opacity: 1;
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* --- QUIZ EVALUATOR MODAL --- */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.quiz-btn {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary);
    padding: 15px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.quiz-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.loader-bar-container {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
}

.quiz-step {
    animation: fade-in-quiz 0.4s ease-out forwards;
}

@keyframes fade-in-quiz {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- ROADMAP TIMELINE --- */
.roadmap-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    border-radius: 4px;
    z-index: 2;
    transition: height 0.1s ease-out;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
}

.row-left .timeline-content {
    width: 45%;
    margin-right: auto;
}

.row-right .timeline-content {
    width: 45%;
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #cbd5e1;
    border-radius: 50%;
    z-index: 4;
    transition: 0.3s;
}

.timeline-dot.glow {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: translate(-50%, -50%) scale(1.3);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #cbd5e1;
    position: relative;
}

.timeline-step {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- ALUMNI MAP SECTION --- */
.map-section {
    padding: 80px 0 100px;
    background: #ffffff;
    overflow: hidden;
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.map-visual {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* Map Pins */
.map-pin {
    position: absolute;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 10;
}

/* Base Pulse */
.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    animation: map-pulse 2s infinite;
    z-index: -1;
}

@keyframes map-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Positioning */
.pin-canada {
    top: 25%;
    left: 20%;
}

.pin-uk {
    top: 22%;
    left: 47%;
}

.pin-germany {
    top: 26%;
    left: 52%;
}

.pin-india {
    top: 45%;
    left: 68%;
}

/* Glassmorphism Tooltip */
.map-tooltip {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    pointer-events: none;
    text-align: left;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.map-pin:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-tooltip h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.map-tooltip p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
    margin: 0;
}

.map-tooltip p strong {
    color: var(--primary);
}

/* Timeline Stats Footer in Maps */
.map-stats-footer {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #e2e8f0;
}

.map-stat {
    text-align: center;
}

.ms-num {
    display: block;
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.ms-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- DYNAMIC DIRECTORY SIDEBAR --- */
.directory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.filter-sidebar {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #f1f5f9;
}

.fs-header h3 {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

.clear-filters {
    font-size: 0.85rem;
    color: var(--secondary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
}

.filter-label:hover {
    color: var(--primary);
}

.filter-chk {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Fee Slider in Sidebar */
.fee-slider-container input[type=range] {
    width: 100%;
    accent-color: var(--primary);
    margin-bottom: 10px;
}

.fee-vals {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Responsive Extras */
@media (max-width: 768px) {
    .directory-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .nav-links {
        display: none;
    }

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

    .calc-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .timeline-line,
    .timeline-progress {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-row {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .row-left .timeline-content,
    .row-right .timeline-content {
        width: 80%;
        margin-left: 70px;
    }

    .map-visual {
        height: 250px;
    }

    .map-tooltip {
        width: 220px;
    }

    /* Slightly smaller tooltips on mobile */
    .map-stats-footer {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* --- Search Hub Hero Extensions --- */
.search-hero {
    padding: 120px 20px 80px;
    align-items: center;
    text-align: center;
}

.search-hero h1 {
    font-size: 3.8rem;
    max-width: 900px;
    margin: 0 auto 20px;
}

.search-hero .hero-subtext {
    max-width: 650px;
    margin: 0 auto 40px;
}

/* Search Widget */
.hero-search-widget {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 900px;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-search-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(30, 58, 138, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.search-inputs {
    display: flex;
    flex: 1;
    align-items: center;
}

.input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 12px 20px;
    gap: 15px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.input-group:hover,
.input-group:focus-within {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.input-group i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.input-group:hover i,
.input-group:focus-within i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--secondary);
}

.input-group select {
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    width: 100%;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px top 50%;
    background-size: 10px auto;
    padding-right: 20px;
}

.divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

.btn-search {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: btnPulse 2.5s infinite;
}

/* Add a shimmering shine effect */
.btn-search::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

.btn-search:hover::after {
    transform: rotate(30deg) translateY(100%);
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(30, 58, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
    }
}

.btn-search:hover {
    background: #172554;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(30, 58, 138, 0.3);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

@media(max-width: 768px) {
    .hero-search-widget {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }

    .search-inputs {
        flex-direction: column;
        width: 100%;
    }

    .input-group {
        width: 100%;
        padding: 15px 10px;
    }

    .divider {
        width: 100%;
        height: 1px;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

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

/* Extended Search Widget */
.extended-search .search-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 15px 10px;
    width: 100%;
    align-items: center;
}

@media (max-width: 768px) {
    .extended-search .search-inputs {
        display: flex;
        flex-direction: column;
    }

    .extended-search .divider {
        display: none;
    }
}

/* Floating Pointer Animation */
@keyframes floatPointer {
    0% {
        transform: translateY(0);
    }

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

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

.prompt-pointer {
    position: absolute;
    top: -145px;
    right: -65px;
    z-index: 10;
    text-align: center;
    animation: floatPointer 2.5s infinite ease-in-out;
}

/* Mobile adjustments for the pointer */
@media (max-width: 768px) {
    .prompt-pointer {
        top: -125px;
        right: 0px;
        transform: scale(0.8);
        transform-origin: bottom right;
    }
}

/* Validation Shake Animation */
.shake-error {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    border-bottom: 2px solid #ef4444 !important;
    background-color: #fef2f2 !important;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Prominent Apply Now CTA */
.btn-apply-hero {
    background: #1e293b;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: applyPulseGlow 2.5s infinite;
}

.btn-apply-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: none;
}

@keyframes applyPulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 41, 59, 0.6);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(30, 41, 59, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 41, 59, 0);
    }
}

/* Hero Split Layout - Desktop */
.hero-split .hero-text {
    text-align: left;
}

.hero-split .hero-image img {
    animation: heroImageFloat 6s ease-in-out infinite;
    transition: filter 0.3s ease;
}

.hero-split .hero-image:hover img {
    filter: drop-shadow(0 30px 40px rgba(96, 165, 250, 0.3)) !important;
}

@keyframes heroImageFloat {

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

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

.hero-split .hero-text .badge {
    margin-left: 0;
    margin-right: 0;
}

.hero-split .hero-text p.hero-subtext {
    margin-left: 0;
    margin-right: 0;
}

/* Responsive Hero Image Layout */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 20px !important;
        margin-top: 0 !important;
    }

    .hero-split .hero-text {
        text-align: center !important;
        flex: 1 1 100% !important;
    }

    .hero-split .hero-text .badge {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-split .hero-text p.hero-subtext {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-split .hero-cta-wrapper {
        justify-content: center !important;
    }

    .hero-split .hero-image {
        flex: 1 1 100% !important;
        margin-top: 20px;
    }

    .hero-split .hero-image img {
        max-width: 350px !important;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Floating Career Gunas Test */
.floating-guna {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.floating-guna:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
    color: white;
}

.floating-guna .tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #0f172a;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.floating-guna:hover .tooltip {
    opacity: 1;
}

/* Floating Specialized Tests */
.floating-specialized {
    position: fixed;
    bottom: 190px;
    right: 30px;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.floating-specialized:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    color: white;
}

.floating-specialized .tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #0f172a;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.floating-specialized:hover .tooltip {
    opacity: 1;
}

/* Navigation Dropdowns */
.nav-links li.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--glass-bg);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    list-style: none;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--secondary) !important;
    padding-left: 24px;
}

/* Mobile responsive navigation overrides */
@media (max-width: 1024px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- EXIT INTENT POPUP STYLES --- */
.exit-intent-modal-content {
    border-top: 5px solid var(--secondary) !important;
    overflow: hidden;
    position: relative;
}

.exit-intent-badge {
    background: linear-gradient(135deg, var(--secondary), #f97316);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.roadmap-preview-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px dashed rgba(37, 99, 235, 0.25);
    border-radius: 14px;
    padding: 18px;
    margin: 20px 0;
    text-align: left;
}

.roadmap-preview-icon {
    font-size: 2.2rem;
    color: #ef4444;
    background: white;
    min-width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.roadmap-preview-text {
    flex-grow: 1;
}

.roadmap-preview-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.roadmap-preview-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 3px;
}

/* --- STICKY URGENCY ALERTS --- */
.urgency-widget-card {
    position: fixed;
    bottom: 210px; /* Placed above the mascot CTA */
    left: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.urgency-widget-card.slide-in {
    transform: translateY(0);
    opacity: 1;
}

.urgency-widget-card.slide-out {
    transform: translateY(150px);
    opacity: 0;
}

.urgency-widget-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 0;
}

.urgency-widget-close:hover {
    color: var(--secondary);
}

.urgency-widget-content {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.urgency-message {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: opacity 0.3s ease;
}

.urgency-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.icon-orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.icon-green {
    background: rgba(22, 163, 74, 0.1);
    color: var(--accent);
}

.urgency-text {
    flex-grow: 1;
    text-align: left;
}

.urgency-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.urgency-text span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 1px;
}

.urgency-widget-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.urgency-widget-progress {
    height: 100%;
    width: 0%;
    background: var(--primary-light);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .urgency-widget-card {
        bottom: auto !important;
        top: 90px !important;
        left: 15px !important;
        right: 15px !important;
        width: calc(100% - 30px) !important;
        transform: translateY(-150px) !important;
    }
    .urgency-widget-card.slide-in {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    .urgency-widget-card.slide-out {
        transform: translateY(-150px) !important;
        opacity: 0 !important;
    }
}


/* --- LEAD MAGNETS HUB STYLES --- */
.lead-magnets-section {
    background: #f8fafc;
    padding: 90px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.magnets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.magnet-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.magnet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

.magnet-card-header {
    margin-bottom: 30px;
}

.magnet-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Color accents per user profile */
.student-card {
    border-top: 5px solid var(--primary-light);
}
.student-card:hover {
    border-color: var(--primary-light);
}
.student-card .magnet-card-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-light);
}

.professional-card {
    border-top: 5px solid var(--primary);
}
.professional-card:hover {
    border-color: var(--primary);
}
.professional-card .magnet-card-icon {
    background: rgba(2, 6, 23, 0.08);
    color: var(--primary);
}

.parent-card {
    border-top: 5px solid var(--secondary);
}
.parent-card:hover {
    border-color: var(--secondary);
}
.parent-card .magnet-card-icon {
    background: rgba(234, 88, 12, 0.08);
    color: var(--secondary);
}

.magnet-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.magnet-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.magnet-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-download {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.btn-download:hover {
    background: #eff6ff;
    border-color: rgba(96, 165, 250, 0.5);
}

.btn-download i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.btn-download .dl-icon {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-left: auto;
    transition: all 0.2s ease;
}

.btn-download:hover .dl-icon {
    color: var(--primary-light);
    transform: translateY(2px);
}

.download-text {
    flex-grow: 1;
}

.download-text strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.download-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.font-red { color: #ef4444; }
.font-blue { color: #357ae8; }
.font-green { color: #16a34a; }

.magnet-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}