@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* Brand Design System Variables */
:root {
    --primary: #3D3794;
    /* Deep Purple */
    --primary-light: #524ca8;
    --primary-dark: #05022e;
    --secondary: #F5B400;
    /* Golden Yellow */
    --secondary-hover: #e0a500;
    --accent: #F56A1F;
    /* Orange */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FE;
    --text-dark: #222222;
    --text-muted: #666666;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(61, 55, 148, 0.08), 0 4px 6px -2px rgba(61, 55, 148, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(61, 55, 148, 0.12), 0 10px 10px -5px rgba(61, 55, 148, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section {
    padding: 100px 5% 80px;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-accent:hover {
    background-color: #e2540f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

header.hidden {
    transform: translateY(-120%);
}

header.scrolled {
    padding: 10px 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 3%;
    min-height: 65px;
    max-width: 1300px;
    margin: 0 auto;
}
.nav-container nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #ffffff, #f5f7ff);

    border: 1px solid rgba(67, 56, 202, 0.12);
    border-radius: 14px;

    padding: 4px 8px;

    box-shadow: 0 3px 10px rgba(67, 56, 202, 0.08);

    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 56, 202, 0.15);
}

.logo img {
    height: 55px;
    width: auto;
}
.nav-cta {
    margin-left: auto;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(61, 55, 148, 0.3);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-dropdown-container {
    position: relative;
    padding: 10px 0;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    display: flex;
    width: 650px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

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

.dropdown-left {
    width: 35%;
    background: var(--bg-light);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.dropdown-item {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(61, 55, 148, 0.05);
    color: var(--primary);
}

.dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
}

.dropdown-right {
    width: 65%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dropdown-right a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.dropdown-right a:hover {
    background: rgba(245, 106, 31, 0.08);
    color: var(--primary-dark);
    transform: translateX(5px);
}

.dropdown-university-name {
    display: block;
}

.dropdown-university-country {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 2px;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 96px);
    margin-top: 0px;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background: linear-gradient(135deg, #f3f2ff 0%, #ffffff 50%, #fff7ea 100%);
    display: flex;
    align-items: center;
}

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

.hero-content {
    max-width: 650px;
}

.badge-tamil {
    background-color: rgba(61, 55, 148, 0.08);
    border-left: 4px solid var(--primary);
    padding: 6px 16px;
    border-radius: 0 20px 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title span {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    gap: 30px;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(245, 180, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
}

.trust-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

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

.hero-slider {
    width: 100%;
    min-height: 95vh;
    display: block;
    background: linear-gradient(180deg, #0F174A 0%, #1E2A78 100%);
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.8s ease;
    will-change: transform;
}

.hero-slide {
    flex: 0 0 33.333%;
    width: 33.333%;
    min-width: 33.333%;
     min-height: 75px;  
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 8rem;
    box-sizing: border-box;
     background-size: cover;
    background-position: center 12%;
    background-repeat: no-repeat;
}

.slide-copy {
    max-width: 540px;
    color: #fff;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;

    background: rgba(15, 23, 74, 0.85);
    /* darker blue */
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;

    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;

    backdrop-filter: blur(8px);
}

.hero-slide h1 {
    font-size: clamp(2.8rem, 4.5vw, 5.2rem);
    line-height: 1.02;
    margin-bottom: 1.4rem;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.hero-slide p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    border: 2px solid var(--primary);
    color: #FFFFFF;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.slide-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.slide-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: none;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%) scale(1.05);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
    background: #6EA8FF;
    transform: scale(1.15);
}

@media (max-width: 1200px) {
    .hero-slide {
        padding: 5rem 3rem;
    }

    .slide-image {
        flex: 0 0 40%;
    }
}

@media (max-width: 900px) {

    .hero,
    .hero-slider {
        min-height: auto;
    }

    .hero-slider-track {
        display: flex;
    }

    .hero-slide {
        width: 100%;
        min-height: auto;
        display: block;
        padding: 4rem 2rem;
    }

    .slide-image {
        margin-top: 2rem;
        flex: 1 1 auto;
        min-height: auto;
    }

    .hero-nav {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 640px) {
    .hero-slide {
        padding: 3rem 1.5rem;
    }

    .hero-slide h1 {
        font-size: 2.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-outline {
        width: 100%;
    }

    .hero-nav {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-slide {
        grid-template-columns: 1fr;
        padding: 4rem 5% 3rem;
    }

    .hero-trust-badges {
        grid-template-columns: 1fr;
    }

    .image-frame {
        height: 420px;
    }
}

@media (max-width: 680px) {
    .hero-slide {
        padding: 3rem 4% 2rem;
    }

    .image-frame {
        height: 340px;
    }
}

.hero-image-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-image-indicator.active {
    width: 16px;
    height: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

/* Hero Animations & Floating items */
.floating-item {
    position: absolute;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

/* Countries Section */
.countries {
    background: #f7f9ff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.country-panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 40px;
}

.country-panel-left {
    background: #ffffff;
    border: 1px solid rgba(61, 55, 148, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.country-tab {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.country-tab:not(.active):hover {
    background: rgba(61, 55, 148, 0.05);
}

.country-tab.active {
    background: linear-gradient(135deg, rgba(61, 55, 148, 0.1), rgba(245, 180, 0, 0.1));
    color: var(--primary);
}

.country-panel-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.country-panel-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 55, 148, 0.06);
    padding: 28px;
}

.country-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.country-panel-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-dark);
}

.country-panel-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.country-university-list {
    display: grid;
    gap: 12px;
}

.country-university-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #f7f9ff;
    border-radius: 18px;
    border: 1px solid rgba(61, 55, 148, 0.08);
    transition: var(--transition);
}

.country-university-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(61, 55, 148, 0.08);
}

.country-university-card a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.country-university-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .country-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {

    .country-panel-left,
    .country-panel-card {
        border-radius: 20px;
    }

    .country-tab {
        padding: 16px 18px;
    }

    section {
        padding: 80px 5% 60px;
    }
}

.float-flag-russia {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.float-flag-uzb {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.float-airplane {
    top: 10%;
    right: 15%;
    animation: plane-fly 15s linear infinite;
}

.country-card-mini {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.flag-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.country-card-mini span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.badge-counseling {
    bottom: 15%;
    left: -5%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float 5s ease-in-out infinite alternate;
}

.badge-counseling-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(245, 106, 31, 0.15);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.badge-counseling-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.1;
}

.badge-counseling-text h5 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 700;
}

/* Animations declarations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes plane-fly {
    0% {
        transform: translate(-100px, 50px) rotate(10deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(200px, -150px) rotate(15deg);
        opacity: 0;
    }
}

/* Why Choose Section */
.why-choose {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

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

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid rgba(61, 55, 148, 0.05);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);



}

.feature-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: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(61, 55, 148, 0.18);
}

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

.feature-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(61, 55, 148, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-container {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.05) rotate(5deg);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Countries Section */
.countries {
    background: var(--bg-white);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.country-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 55, 148, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.country-hero-img {
    height: 240px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.country-card:hover .country-hero-img img {
    transform: scale(1.08);
}

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(15, 14, 38, 0.85) 0%, rgba(15, 14, 38, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.country-overlay-title {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 800;
}

.country-flag-badge {
    width: 45px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.country-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.country-highlights {
    margin-bottom: 25px;
}

.country-hl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.country-hl-item:last-child {
    border-bottom: none;
}

.country-hl-icon {
    color: var(--accent);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.country-hl-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.country-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

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

.country-price span {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(61, 55, 148, 0.04);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(61, 55, 148, 0.15);
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(61, 55, 148, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(245, 180, 0, 0.12);
    color: var(--secondary-hover);
}

.service-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

/* Eligibility Section */
.eligibility {
    background: var(--bg-white);
}

.eligibility-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.eligibility-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 50px;
    color: var(--text-light);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.eligibility-visual-bg {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(245, 180, 0, 0.15);
    filter: blur(40px);
}

.eligibility-quote {
    font-size: 1.6rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.eligibility-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    top: -30px;
    left: -20px;
    opacity: 0.3;
}

.eligibility-author {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.eligibility-author span {
    display: block;
    color: var(--secondary);
    font-weight: 700;
}

.eligibility-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.eligibility-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.eligibility-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.eligibility-item:hover {
    transform: translateX(5px);
    background: #f0f1fa;
}

.eligibility-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 3px 6px rgba(245, 180, 0, 0.3);
}

.eligibility-text h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.eligibility-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Admission Process Section */
.process {
    background-color: var(--bg-light);
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.process-step::after {
    content: '';
    display: table;
    clear: both;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--bg-white);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process-step:hover .process-number {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateX(-50%) scale(1.1);
}

.process-content {
    position: relative;
    width: 45%;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 55, 148, 0.05);
    transition: var(--transition);
}

.process-step:nth-child(odd) .process-content {
    float: left;
    text-align: right;
}

.process-step:nth-child(even) .process-content {
    float: right;
    text-align: left;
}

.process-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(61, 55, 148, 0.1);
}

.process-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

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

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 80px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

.carousel-container {
    position: relative;
    max-width: 850px;
    margin: 40px auto 0;
    overflow: hidden;
    padding: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 55, 148, 0.04);
}

.testimonial-quote {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-md);
}

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

.author-name {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.author-meta {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    background-color: rgba(245, 106, 31, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.control-prev {
    left: 0;
}

.control-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(61, 55, 148, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(61, 55, 148, 0.15);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    user-select: none;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

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

/* Lead Generation Form Section */
.lead-section {
    background: linear-gradient(135deg, #f7f6ff 0%, #fffbf2 100%);
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.lead-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.lead-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lead-feature-check {
    width: 24px;
    height: 24px;
    background-color: rgba(61, 55, 148, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.lead-feature-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.lead-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 55, 148, 0.05);
    position: relative;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 55, 148, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lead-qualification-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: var(--accent);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    display: none;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.qualification-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border: 1px dashed rgba(61, 55, 148, 0.2);
}

.qualification-score {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Contact Section & Map */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(61, 55, 148, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

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

.contact-details a:hover {
    color: var(--accent);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Section */
footer {
    background-color: #0F0E26;
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 5% 40px;
    border-top: 5px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

/* Floating Elements (WhatsApp & Bot) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 1.8s infinite;
    z-index: -1;
}

.bot-btn {
    background-color: var(--primary);
}

.bot-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 1.8s infinite;
    animation-delay: 0.6s;
    z-index: -1;
}

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

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

/* AI Chatbot Widget Window */
.chatbot-widget {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 55, 148, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.chatbot-widget.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-bot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.chat-bot-name h4 {
    font-size: 0.95rem;
    color: var(--text-light);
}

.chat-bot-name span {
    font-size: 0.75rem;
    color: #a8a4f0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-bot-name span::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25D366;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close-btn:hover {
    color: var(--text-light);
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #F8F9FE;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.msg-bot {
    background-color: var(--bg-white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.msg-user {
    background-color: var(--primary);
    color: var(--text-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    padding: 10px 20px;
    background-color: #F8F9FE;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.chat-quick-replies::-webkit-scrollbar {
    height: 4px;
}

.chat-quick-replies::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.quick-reply-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(61, 55, 148, 0.2);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.chat-input-area {
    padding: 14px 20px;
    display: flex;
    gap: 10px;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-input {
    flex-grow: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background-color: var(--primary-dark);
}

/* Appointment Booking Modal styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 14, 38, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.booking-modal {
    background: var(--bg-white);
    width: 90%;
    max-width: 550px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.open .booking-modal {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-light);
    font-size: 1.3rem;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--text-light);
}

.modal-body {
    padding: 30px;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.date-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.date-slot-btn {
    padding: 12px;
    background-color: var(--bg-light);
    border: 1px solid rgba(61, 55, 148, 0.15);
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.date-slot-btn:hover {
    background-color: rgba(61, 55, 148, 0.05);
}

.date-slot-btn.selected {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.time-slot-btn {
    padding: 10px;
    background-color: var(--bg-light);
    border: 1px solid rgba(61, 55, 148, 0.15);
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.time-slot-btn:hover {
    background-color: rgba(61, 55, 148, 0.05);
}

.time-slot-btn.selected {
    background-color: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.booking-success-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.15);
    color: #25D366;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scale-up {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

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

.booking-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

/* Mobile-First Responsive Rules */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 30px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    section {
        padding: 80px 5% 60px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-cta {
        display: none;
        /* Hide top CTA on mobile navigation */
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown-container {
        position: static;
        padding: 0;
    }

    .nav-dropdown {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1;
        visibility: visible;
        display: none;
        flex-direction: column;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f5f5f5;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-dropdown-container.active .nav-dropdown {
        display: flex;
        flex-direction: column;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-toggle::after {
        content: '+';
        font-size: 1.2rem;
        margin-left: auto;
    }

    .nav-dropdown-container.active .dropdown-toggle::after {
        content: '−';
    }

    .dropdown-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
    }

    .dropdown-right {
        width: 100%;
        padding: 15px 5%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .hero-trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 420px;
    }

    .image-frame {
        width: 320px;
        height: 320px;
    }

    .float-flag-russia {
        top: 10%;
        left: 5%;
    }

    .float-flag-uzb {
        bottom: 10%;
        right: 5%;
    }

    .badge-counseling {
        bottom: 5%;
        left: 0;
    }

    .countries-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .eligibility-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-number {
        left: 30px;
        transform: translateX(-50%);
    }

    .process-step:hover .process-number {
        transform: translateX(-50%) scale(1.1);
    }

    .process-content {
        width: calc(100% - 60px);
        float: right !important;
        text-align: left !important;
    }

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

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
        padding-top: 20px;
    }

    .lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-wrapper {
        min-height: 300px;
    }

    .chatbot-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

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

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
}

/* Eligibility Quote */
.eligibility-quote {
    color: #ffffff;
}

/* Meet the Founder Section */
.founder {
    background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 50%, #fff9f0 100%);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-image-frame {
    width: 360px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-white);
    position: relative;
    z-index: 2;
}

.founder-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.founder-image-frame:hover img {
    transform: scale(1.05);
}

.founder-accent-shape {
    position: absolute;
    width: 360px;
    height: 420px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    top: 20px;
    left: calc(50% - 160px);
    z-index: 1;
    opacity: 0.15;
}

.founder-content {
    max-width: 600px;
}

.founder-designation {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(245, 106, 31, 0.08), rgba(61, 55, 148, 0.06));
    border-radius: 30px;
    display: inline-block;
    border-left: 3px solid var(--accent);
}

.founder-bio {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.founder-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}

.founder-hl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(61, 55, 148, 0.06);
    box-shadow: var(--shadow-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.founder-hl-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(61, 55, 148, 0.12);
}

.founder-hl-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Founder responsive */
@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-image-wrapper {
        justify-content: center;
    }

    .founder-image-frame {
        width: 280px;
        height: 340px;
    }

    .founder-accent-shape {
        width: 280px;
        height: 340px;
        left: calc(50% - 120px);
    }

    .founder-content {
        max-width: 100%;
    }

    .founder-designation {
        margin-left: auto;
        margin-right: auto;
    }

    .founder-highlights {
        grid-template-columns: 1fr;
    }

    .founder-content .btn {
        margin: 0 auto;
    }
}

/* Darker Countries Section */

.section-title {
    color: #1E1B4B !important;
}

.country-panel-header h3 {
    color: #1E1B4B !important;
    font-weight: 800;
}

.country-panel-caption {
    color: #374151 !important;
}

.country-university-card {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
}

.country-university-card a {
    color: #111827 !important;
    font-weight: 700;
}

.country-university-card span {
    color: #4B5563 !important;
    font-weight: 600;
}

.country-tab {
    color: #111827 !important;
    font-weight: 700;
}

.country-tab.active {
    color: #312E81 !important;
}
}

/* Make service card titles darker */
.service-card h3,
.feature-card h3,
.benefit-card h3,
.card-title {
    color: #1F2937 !important;
    /* Dark gray */
    font-weight: 700 !important;
}

/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 992px) {

    /* Header / Nav */
    .nav-container nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 0;
        flex-direction: column;
        border-top: 1px solid #eee;
    }

    .nav-container nav.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

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

    .nav-link {
        display: block;
        padding: 15px 5%;
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown-container {
        position: static;
        padding: 0;
    }

    .nav-dropdown {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1;
        visibility: visible;
        display: none;
        flex-direction: column;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f5f5f5;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-dropdown-container.active .nav-dropdown {
        display: flex;
        flex-direction: column;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-toggle::after {
        content: '+';
        font-size: 1.2rem;
        margin-left: auto;
    }

    .nav-dropdown-container.active .dropdown-toggle::after {
        content: '−';
    }

    .dropdown-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
    }

    .dropdown-right {
        width: 100%;
        padding: 15px 5%;
    }

    .nav-cta {
        display: none;
        /* Hide CTA buttons on tablet/mobile to save space */
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Grids */
    .grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .country-panel {
        grid-template-columns: 1fr;
    }

    .country-panel-left {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 12px;
        border: none;
        border-bottom: 1px solid rgba(61, 55, 148, 0.08);
    }

    .country-tab {
        width: auto;
        padding: 12px 20px;
        flex: 1;
        text-align: center;
        border-bottom: 2px solid transparent;
        background: transparent !important;
    }

    .country-tab.active {
        border-bottom: 2px solid var(--primary);
    }

    /* Process Timeline */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Eligibility List */
    .eligibility-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    #home {
        margin-top: 80px;
    }

    /* Section Padding & Typo */
    section {
        padding: 60px 5% 50px;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

    /* Grids */
    .grid-3col {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

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

    .hero-slide h1 {
        font-size: 1.8rem !important;
    }

    #img1 {
        height: 500px;
    }

    #img2 {
        height: 500px;
    }
}