/* Design System: Global Education */
:root {
    --primary: #1e3a8a; /* Trust Blue */
    --secondary: #f97316; /* Energetic Orange */
    --accent: #0ea5e9;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 90vh;
    padding: 0 8%;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.7)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-top: 70px;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Services */
.services {
    padding: 8rem 8%;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Country Cards */
.countries {
    padding: 8rem 8%;
}

.country-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
}

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

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

.country-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

/* Trust Stats */
.stats {
    background: var(--primary);
    padding: 5rem 8%;
    color: var(--white);
}

/* Contact */
.contact {
    padding: 8rem 8%;
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.contact-form button {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 8% 2rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .contact-container { grid-template-columns: 1fr; }
}
