/* =========================================
   1. VARIABLES & RESET
   ========================================= */
   :root {
    --primary: #0f172a;    /* Deep Navy */
    --secondary: #3b82f6;  /* Electric Blue */
    --accent: #f59e0b;     /* Amber Gold */
    --bg-light: #f8fafc;   /* Off-white background */
    --surface: #ffffff;    /* Card background */
    --text-main: #334155;
    --text-light: #64748b;
    --danger: #ef4444;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    --radius: 12px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: var(--nav-height); /* Prevent content from hiding behind fixed nav */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. NAVIGATION BAR (Redesigned)
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #e2e8f0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    height: 40px;
}

.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.site-subtitle {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Menu */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

/* Special Nav Buttons */
.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.link-login {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* =========================================
   4. SECTIONS & CARDS
   ========================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-bottom: 5px;
}

/* Course Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-content {
    padding: 30px;
}

.course-badge {
    background: #dbeafe;
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.course-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   5. ADMISSION FORM SPECIFIC
   ========================================= */
.form-section {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.2s;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
}

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

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* =========================================
   6. FOOTER
   ========================================= */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 60px 5% 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

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

.footer-col ul li a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    font-size: 14px;
}

/* =========================================
   7. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    nav {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: 0.3s ease;
        z-index: 999;
    }

    nav.active { transform: translateY(0); }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin: 20px 0 0;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
}