/* --- Variables & Reset --- */
:root {
    --primary-color: #1e3a8a;
    --primary-hover: #1d4ed8;
    --accent-color: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* --- Header / Navigation --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

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

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
}

/* --- Video Hero --- */
.hero-header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

/* --- Stats Section --- */
.stats-section {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
}

/* --- Section Layouts & Cards --- */
.academics-section, .about-section, .academics-detail, .admissions-steps, .contact-section {
    padding: 80px 0;
}

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

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

.card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* --- Inner Page Banner --- */
.page-banner {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 140px 0 60px;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Division & Detail Layouts --- */
.division-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-color);
}

.division-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.cta-box {
    margin-top: 50px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

/* --- Contact Form Styling --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
}

.alert-success {
    background: #dcfce7;
    color: #15803d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* --- Footer --- */
.site-footer {
    background: #090d16;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col ul { list-style: none; }
.footer-col a { color: #94a3b8; text-decoration: none; }
.footer-col a:hover { color: var(--text-light); }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        padding: 20px;
        display: none;
    }

    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; }

    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
    .btn-outline { margin-left: 0; }
}
