﻿:root {
    --primary-gold: #D4AF37;
    --primary-gold-dark: #b8962e;
    --primary-blue: #1e3a8a; /* Deep blue to contrast gold */
    --text-main: #111827;
    --text-secondary: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --success-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.2;
}

.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.text-secondary { color: var(--text-secondary); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.w-100 { width: 100%; }
.grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary, .btn-gold {
    background-color: var(--primary-gold);
    color: white;
}
.btn-primary:hover, .btn-gold:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
}

.btn-outline, .btn-outline-gold {
    background-color: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}
.btn-outline:hover, .btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: white;
}

.btn-login {
    color: var(--text-main);
    background: transparent;
}
.btn-login:hover {
    background: var(--bg-light);
}

.btn-signup {
    background: var(--primary-gold);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
}
.btn-signup:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-1px);
}

.btn-square {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-gold);
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
}

.btn-square-outline {
    background: white;
    color: var(--primary-gold);
}

.btn-square-outline:hover {
    background: var(--primary-gold);
    color: white;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: #000; /* Fallback for video */
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker, transparent overlay to show background but keep text readable */
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-wrapper {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .hero-content {
        align-items: flex-start;
        text-align: left;
        flex: 1.2;
    }
    .hero-wrapper > div {
        flex: 1;
    }
}

/* Glassmorphism Card for Hero Content */
.hero-content {
    background: rgba(255, 255, 255, 0.75); /* Frosted glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    max-width: 650px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}

.hero-title span {
    color: var(--primary-gold);
    -webkit-text-fill-color: initial; 
    background: none;
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: #374151;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-image-container {
    position: relative;
}

.hero-image-container img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Decorative Blobs & Graphics - REMOVED */

/* Section Video Backgrounds */
.section-video-enabled {
    position: relative;
    overflow: hidden;
}
.section-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.section-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker, transparent overlay for clear video visibility */
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Text Readability on Video Backgrounds */
.section-video-enabled .section-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.section-video-enabled .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.grid {
    position: relative;
    z-index: 2;
}
.text-center {
    position: relative;
    z-index: 2;
}

/* Search Box */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: transparent;
}

.search-btn {
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover {
    background: var(--primary-gold-dark);
}

/* University Cards */
.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.uni-card {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.uni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.95);
}

.uni-card-img, .uni-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.uni-card-content, .uni-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uni-country {
    color: var(--primary-gold-dark); /* Slightly darker gold for better contrast on white */
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.uni-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #111827; /* Deep black for readability */
    letter-spacing: -0.01em;
}

.uni-city {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.uni-details, .uni-stats {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Glass Panel for Funding Section */
.glass-panel {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.glass-panel h2 {
    color: #111827 !important;
    text-shadow: none !important;
}

.glass-panel p {
    color: #374151 !important;
    text-shadow: none !important;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.close-modal:hover { color: var(--text-main); }

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chip {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.chip:hover {
    background: #e5e7eb;
}

.chip.active {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-btn {
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.payment-btn:hover {
    border-color: var(--primary-gold);
    background: #fffdf5;
}

/* Chat Widget */
.chat-widget-btn, .chatbot-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 100;
    border: none;
}

.chat-widget-btn:hover, .chatbot-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
}

.chat-header {
    background: var(--primary-gold);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-messages, .chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f9fafb;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    max-width: 85%;
    font-size: 0.95rem;
}
.bot-message {
    background: white;
    border: 1px solid #e5e7eb;
    margin-right: auto;
    border-bottom-left-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
    background: white;
}

.chat-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.chat-send-btn {
    background: var(--primary-gold);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary-gold);
}

.contact-info p {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Contact Page Styles (Preserved) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.2s;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    gap: 0.75rem;
}

.social-link-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.social-link-card i {
    font-size: 1.75rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.social-link-card:hover i {
    transform: scale(1.1);
}

.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-gold), #ffd166);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: inherit;
    margin-bottom: 1rem;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
}

.btn-send {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}
.btn-send:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212,175,55,0.4);
}

.success-message {
    display: none;
    text-align: center;
    padding: 1rem;
    animation: fadeIn 0.5s ease;
}
.success-icon {
    width: 70px;
    height: 70px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* About Page Styles (Preserved) */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.about-stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* NEW: Modern Journey Timeline (Horizontal) */
.journey-section-modern {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.journey-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding: 2rem 0;
}

/* The horizontal line */
.journey-container::before {
    content: '';
    position: absolute;
    top: 50px; /* Aligned with markers */
    left: 0;
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    z-index: 0;
}

.journey-step {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0 1rem;
    text-align: center;
}

.journey-marker {
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-gold);
    box-shadow: 0 0 0 8px rgba(255,255,255,0.8); /* Creates gap around line */
    transition: all 0.3s ease;
}

.journey-step:hover .journey-marker {
    background: var(--primary-gold);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.2);
}

.journey-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Little triangle pointing up to the marker */
.journey-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.journey-step:hover .journey-card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.journey-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.journey-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Alternate positioning for visual interest (Optional, kept simple for now) */

/* NEW: Modern Stats Grid */
.stats-modern-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 6rem 0;
}

.stats-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.stat-modern-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-modern-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), #ffd166);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-modern-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.stat-modern-card:hover::after {
    transform: scaleX(1);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-gold);
    transition: all 0.4s ease;
}

.stat-modern-card:hover .stat-icon-wrapper {
    background: var(--primary-gold);
    color: white;
    transform: rotateY(180deg);
}

.stat-number-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-main) 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .journey-container {
        flex-direction: column;
        padding-left: 2rem;
    }
    .journey-container::before {
        width: 4px;
        height: 100%;
        left: 2rem;
        top: 0;
    }
    .journey-step {
        text-align: left;
        margin-bottom: 3rem;
        padding-left: 3rem;
    }
    .journey-marker {
        position: absolute;
        left: 0.6rem; /* Align with vertical line */
        top: 0;
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .journey-card::before {
        top: 20px;
        left: -10px; /* Point left */
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid white;
        border-left: none;
        transform: none;
    }
}

.about-stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    group: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* New Animations & Effects */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUpFade 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

.hover-glow {
    transition: all 0.3s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.tilt-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tilt-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.country-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color, #eee);
}

.country-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
}

.country-card .card-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.country-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.country-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.country-card .flag-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2;
}

.country-card .content {
    padding: 1.5rem;
    padding-top: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.country-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.country-card .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 8px;
}

.country-card .stat-item-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.country-card .stat-item-mini i {
    color: var(--primary-gold);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.country-card .popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.country-card .tag-mini {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold-dark);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.country-card .description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.country-card .btn-explore {
    width: 100%;
    padding: 0.875rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.country-card:hover .btn-explore {
    background: var(--primary-gold);
    color: white;
}

/* Hero Small for Country Page */
.hero-small {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-small .container {
    position: relative;
    z-index: 1;
}

body.dark .country-card {
    background: #1f2937;
    border: 1px solid #374151;
}
body.dark .country-card .flag-badge {
    background: #374151;
    border: 1px solid #4b5563;
}
body.dark .hero-small {
    background: #111827;
}
body.dark .hero-small::before {
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

/* Dark Mode */
body.dark {
    background-color: #111827;
    --text-main: #f9fafb;
    --text-secondary: #9ca3af;
    --bg-white: #1f2937;
    --bg-light: #374151;
}

body.dark header {
    background: rgba(31, 41, 55, 0.95);
    border-bottom-color: rgba(255,255,255,0.05);
}

body.dark .uni-card, 
body.dark .contact-form-card, 
body.dark .about-stats, 
body.dark .modal-content, 
body.dark .search-container,
body.dark .search-box {
    background: #1f2937;
    border-color: #374151;
}

body.dark .section-video-overlay {
    background: rgba(31, 41, 55, 0.9);
}

body.dark .hero-video-overlay {
    background: linear-gradient(to right, rgba(31,41,55,0.95), rgba(31,41,55,0.8), rgba(31,41,55,0.5));
}

body.dark .form-input, body.dark .form-control {
    background: #111827;
    border-color: #374151;
    color: white;
}
body.dark .form-input:focus, body.dark .form-control:focus {
    border-color: var(--primary-gold);
    background: #0f172a;
}

body.dark .contact-info-item {
    background: #374151;
}

body.dark .social-link-card {
    background: #1f2937;
    border-color: #374151;
    color: #9ca3af;
}

body.dark .payment-btn {
    background: #1f2937;
    border-color: #4b5563;
    color: #e5e7eb;
}
body.dark .payment-btn:hover {
    background: #374151;
    border-color: var(--primary-gold);
}

body.dark .chip {
    background: #374151;
    color: #e5e7eb;
}
body.dark .chip.active {
    background: var(--primary-gold);
    color: white;
}

body.dark .chat-window {
    background: #1f2937;
}
body.dark .chat-body {
    background: #111827;
}
body.dark .chat-input-area {
    background: #1f2937;
    border-top-color: #374151;
}
body.dark .chat-input {
    background: #374151;
    border-color: #4b5563;
    color: white;
}
body.dark .bot-message {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .stats {
        justify-content: center;
    }

    .contact-grid, 
    .about-stats,
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Profile Hero (Restored/Simplified) */
.profile-hero {
    position: relative;
    padding: 2rem 0;
    color: white;
    background: #1f2937;
    overflow: hidden;
}
.profile-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.profile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.profile-panel {
    position: relative;
    z-index: 2;
}
.profile-panel .section-title {
    color: white;
}
.profile-panel .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.95);
}

/* Gradient Gold Background */
.gradient-gold {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff9e6 100%);
    position: relative;
}

.gradient-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

/* Text Readability on Video Backgrounds */
.section-video-enabled .container {
    position: relative;
    z-index: 2;
}

.section-video-enabled .section-title,
.section-video-enabled .section-subtitle {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Scholarship Page Styles (Enhanced) */
.country-section {
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease-in-out;
}

.country-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.country-title i {
    color: var(--primary-gold);
}

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.scholarship-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.scholarship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.scholarship-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.scholarship-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
}

.scholarship-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.scholarship-deadline {
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
}

.scholarship-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.scholarship-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.scholarship-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

.scholarship-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.scholarship-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e2e8f0;
}

.scholarship-tag i {
    color: var(--primary-gold);
}

.scholarship-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

/* Services Page - Vertical Timeline */
.timeline-section {
    position: relative;
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e5e7eb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: white;
    border: 4px solid var(--primary-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px white;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-gold);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline Arrows */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: ' ';
    position: absolute;
    top: 24px;
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    border-style: solid;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: ' ';
    position: absolute;
    top: 24px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    border-style: solid;
}

/* Timeline Responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-icon {
        left: 6px !important;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

/* Services Grid */
.services-usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.usp-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.usp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.usp-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-gold);
    font-size: 2rem;
}

.usp-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.usp-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Staggered Animation Delays */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }
.timeline-item:nth-child(6) { animation-delay: 1.1s; }
