/* =========================================
   1. VARIABLES & RESET (CUSTOMIZE HERE)
   ========================================= */
:root {
    /* Colors */
    --primary-color: #004aad; /* Royal Blue */
    --secondary-color: #f59e0b; /* Golden Yellow */
    --accent-color: #e0f2fe; /* Light Blue BG */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border-radius: var(--border-radius); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. REUSABLE COMPONENTS
   ========================================= */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.divider {
    height: 4px; width: 60px; background: var(--secondary-color);
    margin: 0 auto 15px; border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #003380;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block { width: 100%; text-align: center; }

/* =========================================
   3. HEADER & HERO
   ========================================= */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo span { color: var(--secondary-color); }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary-color); }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    position: relative;
    height: 90vh; /* Full screen height minus header approx */
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(0, 30, 70, 0.9));
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--white); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* =========================================
   4. SECTIONS (About, Features, Academics)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    list-style: none;
    margin-top: 30px;
}
.stats-grid li {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stats-grid i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); }
.icon-box {
    width: 60px; height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 100%; height: 200px; object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* Video */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.video-card h4 { margin-top: 15px; text-align: center; }
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Academics */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.program-card {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}
.program-card:hover { box-shadow: var(--shadow); }
.program-head {
    padding: 20px;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
}
.color-1 { background: #4ecdc4; }
.color-2 { background: #ff6b6b; }
.color-3 { background: #1a535c; }
.program-body { padding: 30px; text-align: center; }
.program-body ul { list-style: none; margin-top: 15px; color: var(--text-light); }

/* Process */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}
.timeline-item { text-align: center; flex: 1; min-width: 200px; }
.step-number {
    width: 50px; height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700; font-size: 1.2rem;
}

/* =========================================
   5. ENQUIRY FORM & FOOTER
   ========================================= */
.enquiry-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d6b 100%);
    padding: 80px 0;
}
.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { color: var(--primary-color); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus { border-color: var(--primary-color); outline: none; }

/* Contact & Footer */
.contact-info { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-info p { margin: 10px 0; font-size: 1.1rem; }
.contact-info i { color: var(--primary-color); margin-right: 10px; }
.map-placeholder { margin-top: 30px; border-radius: var(--border-radius); overflow: hidden; }

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}
.footer-brand h4 { color: white; margin-bottom: 5px; }
.social-links { margin: 20px 0; }
.social-links a {
    color: white; font-size: 1.2rem; margin: 0 10px; transition: 0.3s;
}
.social-links a:hover { color: var(--secondary-color); }

/* =========================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .header .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    .header .nav-menu.active { display: flex; }
    .nav-cta { display: none; } /* Hide button on mobile menu, can add inside nav if needed */
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .about-grid, .form-row { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; align-items: center; }
    .timeline-item { margin-bottom: 30px; }
	
	.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

}


