/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
}

body {
    background: #f8fafc;
    color: #0b2a3c;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* REUSABLE COMPONENTS */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #b8860b;
    border-radius: 4px;
}
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* UPPER HEADER */
.upper-header {
    background: #0b2a3c;
    color: #eef2f6;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid #b8860b;
}
.upper-header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.upper-header .contact-info span {
    margin-right: 1.5rem;
    display: inline-block;
}
.upper-header .contact-info i {
    margin-right: 0.3rem;
    color: #d4a23a;
}
.upper-header .social-links a {
    margin-left: 0.8rem;
    color: #d4dce6;
    transition: 0.2s;
}
.upper-header .social-links a:hover {
    color: #f5c542;
}

/* MAIN HEADER */
.main-header {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.logo-icon {
    font-size: 2.4rem;
    color: #b8860b;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0b2a3c;
}
.logo-text span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #3d5a6b;
}

/* NAVIGATION */
.nav-toggle {
    background: none;
    border: 2px solid #0b2a3c;
    border-radius: 6px;
    font-size: 1.5rem;
    padding: 0.2rem 0.8rem;
    cursor: pointer;
    color: #0b2a3c;
    display: block;
}
.nav-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
    border-radius: 0 0 12px 12px;
}
.nav-menu.active {
    max-height: 700px;
}
.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}
.nav-menu ul li {
    position: relative;
    border-bottom: 1px solid #e9edf2;
}
.nav-menu ul li a {
    display: block;
    padding: 0.7rem 0.5rem;
    font-weight: 600;
    color: #0b2a3c;
    transition: 0.2s;
    font-size: 1rem;
}
.nav-menu ul li a i {
    margin-right: 0.5rem;
    width: 1.2rem;
    color: #b8860b;
}
.nav-menu ul li a:hover {
    background: #f0f4f9;
    border-radius: 6px;
    padding-left: 0.8rem;
}
.dropdown > a::after {
    content: " ▾";
    font-size: 0.7rem;
    margin-left: 0.3rem;
    color: #b8860b;
}
.dropdown-content {
    display: none;
    background: #f8fafc;
    padding-left: 1.8rem;
    border-left: 3px solid #b8860b;
    margin: 0.2rem 0 0.5rem 0;
}
.dropdown-content li {
    border-bottom: none !important;
}
.dropdown-content a {
    font-weight: 400 !important;
    padding: 0.4rem 0.3rem !important;
    font-size: 0.95rem !important;
}
.dropdown-content a:hover {
    background: transparent !important;
    color: #b8860b;
}
.dropdown.open .dropdown-content {
    display: block;
}

/* HERO */
.hero-section {
    background: linear-gradient(145deg, #eef4f9 0%, #dce6ef 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #cbd7e3;
}
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.hero-text {
    flex: 2;
    min-width: 250px;
}
.hero-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b2a3c;
}
.hero-text .highlight {
    color: #b8860b;
}
.hero-text p {
    margin: 0.6rem 0 1rem;
    font-size: 1.1rem;
}
.news-alert {
    flex: 1;
    min-width: 240px;
    background: #ffffffd9;
    backdrop-filter: blur(4px);
    padding: 1.2rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-left: 6px solid #b8860b;
}
.news-alert h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: #b8860b;
    margin-bottom: 0.6rem;
}
.news-alert ul {
    list-style: none;
}
.news-alert ul li {
    padding: 0.3rem 0;
    border-bottom: 1px dashed #dce3ea;
    font-size: 0.95rem;
}
.news-alert ul li:last-child {
    border-bottom: none;
}
.news-alert ul li i {
    color: #b8860b;
    margin-right: 0.5rem;
}

/* PRINCIPAL */
.principal-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem 2rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.03);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0;
    border: 1px solid #eef3f8;
}
.principal-img {
    width: 120px;
    height: 120px;
    background: #d4a23a22;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #b8860b;
    border: 4px solid #b8860b30;
}
.principal-msg {
    flex: 1;
}
.principal-msg h3 {
    font-size: 1.5rem;
    font-weight: 600;
}
.principal-msg .designation {
    color: #b8860b;
    font-weight: 500;
}
.principal-msg p {
    margin-top: 0.5rem;
    font-style: italic;
    color: #1e3b4e;
}

/* FACILITIES */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.8rem;
    margin: 1.8rem 0;
}
.facility-item {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.02);
    transition: 0.25s;
    border: 1px solid #eef3f8;
}
.facility-item:hover {
    transform: translateY(-5px);
    border-color: #b8860b40;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.facility-item i {
    font-size: 2.8rem;
    color: #b8860b;
    margin-bottom: 0.6rem;
}
.facility-item h4 {
    font-weight: 600;
}

/* FOOTER */
.footer {
    background: #0b2a3c;
    color: #dbe3ec;
    padding: 2.5rem 0 1.5rem;
    margin-top: 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-grid h4 {
    color: #f5c542;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-grid ul {
    list-style: none;
}
.footer-grid ul li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}
.footer-grid ul li i {
    margin-right: 0.5rem;
    color: #b8860b;
    width: 1.2rem;
}
.footer-bottom {
    border-top: 1px solid #1d3c4f;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0b8c9;
}
.footer a:hover {
    color: #f5c542;
}
.btn-outline {
    display: inline-block;
    border: 2px solid #b8860b;
    color: #b8860b;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.2s;
    margin-top: 0.4rem;
}
.btn-outline:hover {
    background: #b8860b;
    color: white;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav-menu {
        max-height: none !important;
        width: auto;
        overflow: visible;
        background: transparent;
        border-radius: 0;
    }
    .nav-menu ul {
        flex-direction: row;
        gap: 0.2rem;
        padding: 0;
    }
    .nav-menu ul li { border-bottom: none; }
    .nav-menu ul li a {
        padding: 0.5rem 0.8rem;
        border-radius: 30px;
        font-size: 0.95rem;
    }
    .nav-menu ul li a i { margin-right: 0.3rem; }
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 180px;
        border-radius: 12px;
        padding: 0.5rem 0;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        border-left: none;
        margin: 0;
        display: none;
        z-index: 10;
    }
    .dropdown-content li { border-bottom: none !important; }
    .dropdown:hover .dropdown-content { display: block; }
    .dropdown.open .dropdown-content { display: none; }
    .dropdown:hover > a { background: #f0f4f9; }
    .hero-text h2 { font-size: 2.6rem; }
}

@media (max-width: 767px) {
    .upper-header .contact-info span {
        display: block;
        margin-right: 0;
        font-size: 0.8rem;
    }
    .upper-header .social-links { margin-top: 0.2rem; }
    .logo-text h1 { font-size: 1.2rem; }
    .principal-card { flex-direction: column; text-align: center; }
}