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

:root {
    --primary: #00004d;
    --secondary: #0080ff;
    --accent: #f0f4ff;
    --text: #1a1a1a;
    --text-muted: #525252;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

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

/* Navbar Extension */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
}

.logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Hero Expansion */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #f0f8ff, transparent),
                radial-gradient(circle at bottom left, #fff5f5, transparent);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* Features/Journey Section */
.journey {
    padding: 100px 0;
    background: var(--bg-soft);
}

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

.journey-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.journey-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.journey-card .step {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 24px;
}

/* Course Grid Optimization */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 80px 0;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.course-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.course-body {
    padding: 32px;
}

.course-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.course-body ul {
    list-style: none;
    margin-bottom: 2rem;
}

.course-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-soft);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.course-body ul li::before {
    content: "●";
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

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

.test-card {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.test-card blockquote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.test-card .author {
    font-weight: 700;
}

/* FAQ Accordion Extension */
.faq {
    padding: 100px 0;
    background: var(--bg-soft);
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-q {
    padding: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-a {
    padding: 0 24px 24px;
    color: var(--text-muted);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Mobile Responsiveness Rules */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-hover);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
