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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 100vh;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #374151;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-white {
    background-color: white;
    color: #2563eb;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: #f8fafc;
}

.btn-transparent {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover:not(:disabled) {
    background-color: #2563eb;
    color: white;
}

.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.coming-soon {
    font-size: 0.75rem;
    background-color: #fed7aa;
    color: #ea580c;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

.coming-soon-small {
    font-size: 0.7rem;
    background-color: #fecaca;
    color: #dc2626;
    padding: 0.2rem 0.4rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e40af;
    text-shadow: 0 0 8px rgba(30, 64, 175, 0.3);
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: #374151;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background-color: white;
    border-top: 1px solid #f3f4f6;
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #1e40af;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 40%, #f8fafc 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-line {
    display: block;
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, #1e40af, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card:nth-child(1) .stat-number {
    color: #1e40af;
}

.stat-card:nth-child(2) .stat-number {
    color: #059669;
}

.stat-card:nth-child(3) .stat-number {
    color: #dc2626;
}

.stat-label {
    color: #6b7280;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: rgba(30, 64, 175, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.service-icon {
    padding: 0.75rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #1e40af;
}

.service-badge {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ea580c;
    background-color: #fef3e2;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.service-badge.coming-soon {
    color: #dc2626;
    background-color: #fecaca;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
}

/* Universities Section */
.universities {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #ffffff, #f9fafb);
    position: relative;
}

.universities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.universities-scroll {
    position: relative;
    overflow: hidden;
}

.universities-track {
    display: flex;
    animation: smooth-scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

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

.university-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    min-height: 80px;
    max-height: 120px;
}

.university-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: rgba(30, 64, 175, 0.2);
    background: rgba(255, 255, 255, 1);
}

.university-logo-img {
    max-width: 200px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1) contrast(1.1);
}

.university-card:hover .university-logo-img {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.15);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

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

@media (min-width: 768px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reason-card {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: rgba(30, 64, 175, 0.15);
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reason-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.reason-icon.blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
}

.reason-card:hover .reason-icon.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
}

.reason-icon.orange {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #059669;
}

.reason-card:hover .reason-icon.orange {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25);
}

.reason-icon.green {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #dc2626;
}

.reason-card:hover .reason-icon.green {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
}

.reason-icon.purple {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    color: #8b5cf6;
}

.reason-card:hover .reason-icon.purple {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

.reason-icon.red {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
}

.reason-card:hover .reason-icon.red {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25);
}

.reason-icon.indigo {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0284c7;
}

.reason-card:hover .reason-icon.indigo {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

.reason-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.reason-description {
    color: #6b7280;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #2563eb);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-brand {
        margin-bottom: 0;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    color: #1e40af;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.3));
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.footer-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1464d8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer-nav a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

.uk-portal-link {
    color: #d1d5db !important;
    font-weight: 500;
}

.uk-portal-link:hover {
    color: white !important;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #1e40af;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 500;
    color: white;
}

.contact-detail {
    color: #d1d5db;
    font-size: 0.875rem;
}

.contact-link {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        gap: 0;
    }
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Privacy Policy Page */
.privacy-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
}

.privacy-content {
    max-width: 4xl;
    margin: 0 auto;
}

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-section {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.subsection-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.75rem 0;
}

.section-text {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-list li {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Contact Page */
.contact-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.contact-form-section {
    margin-bottom: 4rem;
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.form-submit {
    margin-top: 1rem;
}

.contact-info-container {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    height: fit-content;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.info-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.method-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
}

.method-content {
    flex: 1;
}

.method-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.method-detail {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.method-note {
    color: #9ca3af;
    font-size: 0.75rem;
}

.quick-links {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.quick-links-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Office Locations */
.office-locations {
    margin-top: 4rem;
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .offices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.office-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.office-map {
    height: 250px;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.office-info {
    padding: 2rem;
}

.office-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.office-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.office-detail span,
.office-detail a {
    color: #374151;
    line-height: 1.5;
}

.office-detail a:hover {
    color: #2563eb;
}

.office-btn {
    width: 100%;
}

/* Dynamic Form Fields */
.study-fields,
.work-permit-fields {
    transition: opacity 0.3s ease, height 0.3s ease;
}

.work-permit-fields {
    display: none;
}

.work-permit-fields.show {
    display: block;
}

.study-fields.hide {
    display: none;
}

/* Work Permit Page Styles */
.countries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.country-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.country-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.country-card.available {
    border-color: #10b981;
}

.country-card.available:hover {
    border-color: #059669;
}

.country-card.coming-soon {
    opacity: 0.8;
}

.country-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.country-flag {
    padding: 0.75rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.country-card.available .country-flag {
    background-color: #ecfdf5;
}

.country-flag svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #2563eb;
}

.country-card.available .country-flag svg {
    color: #10b981;
}

.country-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.country-status.available {
    background-color: #d1fae5;
    color: #065f46;
}

.country-status.coming-soon {
    background-color: #fed7aa;
    color: #ea580c;
}

.country-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.country-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.country-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    color: #10b981;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.875rem;
    color: #374151;
}

.country-btn {
    width: 100%;
    margin-top: auto;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

.process-step {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.process-step:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: #dbeafe;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #ea580c);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1.125rem;
    }
    
    .services {
        padding: 3rem 0;
    }
    
    .universities {
        padding: 3rem 0;
    }
    
    .why-choose-us {
        padding: 3rem 0;
    }
    
    .footer-content {
        padding: 3rem 0;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .reason-card,
    .university-card,
    .btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .services,
    .universities,
    .why-choose-us {
        padding: 2rem 0;
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .language-selector {
        display: block;
    }
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.language-icon {
    width: 1rem;
    height: 1rem;
    color: #3b82f6;
}

.dropdown-arrow {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8fafc;
    color: #1e40af;
}

.language-option.active {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 600;
}

.language-option.active::after {
    content: '✓';
    float: right;
    color: #1e40af;
}

/* Mobile Language Selector */
@media (max-width: 767px) {
    .language-selector {
        display: block;
        order: -1;
        margin-bottom: 1rem;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: center;
        background: rgba(30, 64, 175, 0.1);
        border-color: rgba(30, 64, 175, 0.2);
    }
    
    .language-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
    }
}

/* About Page Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 2rem;
    }
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 4rem;
    }
}

.timeline-year {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 80px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    margin: 0 2rem;
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: white;
}

@media (max-width: 768px) {
    .timeline-content {
        margin: 0;
        margin-left: 1rem;
    }
    
    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        border-right-color: white;
        border-left-color: transparent;
    }
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: #6b7280;
    line-height: 1.7;
}

/* Service Flow Chart */
.service-flowchart-container {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.service-flowchart-container::-webkit-scrollbar {
    height: 8px;
}

.service-flowchart-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.service-flowchart-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.service-flowchart-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.service-flowchart {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    min-width: max-content;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .service-flowchart {
        flex-direction: column;
        min-width: auto;
    }
    
    .service-flowchart-container {
        overflow-x: visible;
    }
}

.flow-section {
    flex: 0 0 350px;
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
}

@media (max-width: 768px) {
    .flow-section {
        flex: 1;
        min-width: auto;
    }
}

.flow-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: #eff6ff;
    transform: translateX(5px);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.flow-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.flow-step p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.flow-arrow {
    display: none;
}

@media (min-width: 768px) {
    .flow-steps {
        flex-direction: row;
        align-items: center;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
        flex: 1;
    }
    
    .flow-arrow {
        display: block;
        font-size: 1.5rem;
        color: #2563eb;
        font-weight: bold;
    }
}

/* Imprint Page Styles */
.imprint-details {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.imprint-details p {
    margin-bottom: 0.5rem;
    color: #374151;
    line-height: 1.6;
}

.imprint-details a {
    color: #2563eb;
    text-decoration: none;
}

.imprint-details a:hover {
    text-decoration: underline;
}

/* Multilingual Button Animation */
.multilingual-text {
    position: relative;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    height: 1.2em;
    overflow: hidden;
    line-height: 1.2em;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
