/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a1a2e;
    --primary-navy: #16213e;
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-blue: #1e40af;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    height: 60px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
}

.logo img.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--primary-red);
    background: #fef2f2;
}

.nav-links a.active {
    background: var(--primary-red);
    color: white;
}

.nav-links .call-now {
    color: var(--primary-navy);
    font-weight: 600;
}

.btn-book-session {
    background: var(--primary-navy);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-book-session:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    margin-top: 60px;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
}

.hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.doctor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.doctor-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.doctor-info strong {
    display: block;
    font-size: 0.9rem;
}

.doctor-info span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Hero Form */
.hero-form {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 380px;
    flex-shrink: 0;
    box-shadow: var(--shadow-xl);
}

.hero-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hero-form > p {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    margin-bottom: 12px;
    transition: border-color 0.2s;
    outline: none;
}

.hero-form input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-request {
    width: 100%;
    padding: 14px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.btn-request:hover {
    background: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--primary-red);
    padding: 0;
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 14px 32px;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
}

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

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* ===== NEWS TICKER ===== */
.news-ticker {
    background: var(--primary-navy);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
}

.ticker-label {
    background: var(--primary-red);
    color: white;
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    gap: 8px;
}

.ticker-dot {
    color: var(--primary-red);
    font-weight: bold;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 48px 24px;
    background: var(--bg-light);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 24px 28px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    min-width: 140px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.stat-card.highlight {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.stat-card.highlight h2 {
    color: white;
}

.stat-card.highlight p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== WHY CHOOSE ===== */
.why-choose {
    padding: 64px 24px;
    background: var(--bg-white);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
}

.feature-icon.blue {
    background: #eff6ff;
    color: var(--primary-blue);
}

.feature-icon.red {
    background: #fef2f2;
    color: var(--primary-red);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== STUDENT EXPERIENCE SECTION ===== */
.student-experience-section {
    padding: 72px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.exp-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.exp-images-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    position: relative;
}

.exp-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.exp-img-sub .exp-img {
    height: 320px;
}

.exp-img:hover {
    transform: scale(1.02);
}

.exp-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 14px 0 12px;
    line-height: 1.25;
}

.exp-content > p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 24px;
}

.exp-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.exp-point i {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-top: 2px;
}

.exp-point strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.exp-point p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .exp-container {
        grid-template-columns: 1fr;
    }
    .exp-images-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .exp-images-grid {
        grid-template-columns: 1fr;
    }
    .exp-img {
        height: 220px;
    }
}

/* ===== TOP DESTINATIONS ===== */
.top-destinations {
    padding: 64px 24px;
    background: var(--bg-light);
}

.destination-group {
    margin-bottom: 36px;
}

.group-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.group-title i {
    color: var(--primary-navy);
}

/* Country Cards */
.country-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.country-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

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

.country-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

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

.country-image.russia {
    background-image: url('https://images.unsplash.com/photo-1513326738677-b964603b136d?w=600&q=80');
}

.country-image.georgia {
    background-image: url('https://images.unsplash.com/photo-1565008576549-57569a49371d?w=600&q=80');
}

.country-image.kazakhstan {
    background-image: url('https://images.unsplash.com/photo-1562932831-afcfe48b5786?w=600&q=80');
}

.country-image.uzbekistan {
    background-image: url('https://images.unsplash.com/photo-1596484552834-6a58f850e0a1?w=600&q=80');
}

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.country-overlay h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.view-colleges {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.view-colleges:hover {
    background: var(--primary-red);
    color: white;
}

/* State Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.state-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
}

.state-item:hover {
    border-color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.state-item i {
    color: var(--text-light);
    font-size: 0.75rem;
    transition: all 0.2s;
}

.state-item:hover i {
    color: var(--primary-navy);
    transform: translateX(3px);
}

.state-item.view-all {
    border-color: transparent;
    background: transparent;
    color: var(--primary-red);
    font-weight: 600;
}

.state-item.view-all i {
    color: var(--primary-red);
}

.state-item.view-all:hover {
    background: #fef2f2;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-navy);
    color: white;
    padding-top: 48px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    background: var(--primary-red);
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 16px 24px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
}

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

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

.floating-btn.phone {
    background: var(--primary-red);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .doctor-card {
        margin: 0 auto;
    }

    .hero-form {
        width: 100%;
        max-width: 420px;
    }

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

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

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

    .hero-container {
        padding: 36px 16px;
    }

    .hero-form {
        padding: 24px;
    }

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

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

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

    .stats-container {
        gap: 12px;
    }

    .stat-card {
        min-width: 100px;
        padding: 16px;
    }

    .stat-card h2 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .trust-item {
        padding: 10px 16px;
        font-size: 0.78rem;
    }

    .trust-divider {
        display: none;
    }
}

/* ===== GLOBAL INTERACTIVE MODALS & TOASTS ===== */
.medico-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
}

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

.medico-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.92) translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.medico-modal-overlay.active .medico-modal {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: var(--primary-red);
}

.modal-header {
    margin-bottom: 22px;
}

.modal-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.84rem;
    color: var(--text-gray);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-input-group {
    position: relative;
}

.modal-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.modal-input-group input,
.modal-input-group select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.modal-input-group input:focus,
.modal-input-group select:focus {
    border-color: var(--primary-navy);
}

.modal-submit-btn {
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--primary-red);
    color: white;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}

.modal-submit-btn:hover {
    background: var(--primary-red-dark);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Toast Notifications */
.medico-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: white;
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.medico-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.medico-toast i {
    color: #22c55e;
    font-size: 1.25rem;
}
