/* 
    Adarsh Vidhyalaya Shiksha Samiti - Core Design System
    Colors: Deep Green (#1a472a), Gold (#d4af37), Soft White (#fdfdfd)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-green: #1a472a;
    --primary-gold: #d4af37;
    --accent-gold: #ffcf40;
    --bg-light: #fdfdfd;
    --text-dark: #2c3e50;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-green) !important;
    font-size: 1.4rem;
    line-height: 1.1;
}

.navbar-brand span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-green) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-gold);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(26, 71, 42, 0.6), rgba(26, 71, 42, 0.6)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtext {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--primary-gold);
    text-transform: uppercase;
}

/* Subsidiary Card */
.subsidiary-section {
    padding: 100px 0;
    background: #f4f6f3;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 800;
    color: var(--primary-green);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    bottom: -15px;
    left: 0;
}

/* Academics */
.stream-box {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
    margin-bottom: 30px;
}

.stream-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 71, 42, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-premium {
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    font-weight: 600;
    transition: all 0.3s;
}

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

.btn-gold {
    background: var(--primary-gold);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: #b8952e;
    color: white;
}

/* Leadership */
.leader-card {
    text-align: center;
    padding: 20px;
}

.leader-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

footer {
    background: var(--primary-green);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
}

.sticky-top {
    z-index: 1020;
}
