:root {
    --navy: #002D62;
    --yellow: #FFD700;
    --white: #ffffff;
    --gray: #f4f7f6;
}

body {
    background-color: var(--gray);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* --- Navigation Styles --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--yellow);
    padding: 10px 5%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-badge {
    height: 50px;
    width: 50px;
    border-radius: 50%; /* Makes logo circular */
    object-fit: cover;
    background: white;
}

.school-name {
    font-weight: bold;
    color: var(--navy);
    font-size: 1.2rem;
}

.utility-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-store {
    background: var(--navy);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.main-nav {
    background-color: var(--navy);
    padding: 15px 5%;
    display: flex;
    justify-content: flex-end; /* Pushes main links to the right */
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
}

/* Hero Section */
.academics-hero {
    background: linear-gradient(rgba(0,45,98,0.8), rgba(0,45,98,0.8)), 
                url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    text-align: center;
}

.academics-hero h1 { 
    font-size: 3rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideDown 0.8s ease;
 }

/* Layout Containers */
.container {
    max-width: 900px;
    margin: -50px auto 50px;
    padding: 0 20px;
}

/* Section Cards & Effects */
.section-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-left: 5px solid var(--yellow);
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

h2 {
    color: var(--navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* List Styling */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--yellow);
}

/* Grid for Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.activities-grid span {
    background: var(--navy);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    background: var(--navy);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.contact-cta h2 { color: var(--yellow); justify-content: center; }

.btn-animate {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: var(--yellow);
    color: var(--navy);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-animate:hover {
    letter-spacing: 2px;
    background: white;
}

/* Entrance Animations */
.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Fixes */
@media (max-width: 600px) {
    .container { margin-top: 20px; }
    .academics-hero h1 { font-size: 2rem; }
}

/* Footer Styling */
.main-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 20px 20px 20px;
    margin-top: 50px;
    border-top: 5px solid var(--yellow);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-div h3, .footer-div h4 {
    color: var(--yellow);
    margin-bottom: 20px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 50px;
    height: auto;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.footer-div p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #cbd5e0;
}

/* Quick Links Styling */
.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 12px;
}

.quick-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-links ul li a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

/* Social Grid Styling */
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-item:hover {
    color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-area {
        justify-content: center;
    }
    .quick-links ul li a, .social-item {
        justify-content: center;
    }
}