/* Basic Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Optional: Use a similar font */
    font-family: Poppins, sans-serif; 
}

:root {
    /* Define color variables based on the image */
    --primary-yellow: #AF0102; /* SEC brand red */
    --secondary-green: #AF0102; /* SEC brand red */
    --text-dark: #333;
    --text-light: #fff;
    --hero-overlay-color: rgba(255, 255, 255, 0.75); /* White foggy overlay */
}

/* --- Navigation Bar (Header) — matches home solid navbar --- */
.navbar {
    background-color: var(--primary-yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px clamp(14px, 3vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.university-name {
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.45vw, 25px);
    min-width: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-left: 0;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #fecaca;
}

.nav-links .highlight {
    color: var(--text-dark);
}

.login-button {
    background-color: #fff;
    color: #AF0102 !important;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.login-button:hover {
    background-color: #fecaca;
    color: var(--text-light) !important;
}

.login-button:active {
    transform: scale(0.98);
}

.nav-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-menu-toggle-bar {
    display: block;
    width: 22px;
    height: 3px;
    margin: 0 auto;
    background: var(--text-dark);
    border-radius: 2px;
}

@media (max-width: 1100px) {
    .navbar-content {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
    }

    .logo-section {
        flex: 1;
        min-width: 0;
    }

    .university-name {
        font-size: clamp(9px, 2.8vw, 11px);
        display: block;
        max-width: 100%;
    }

    .nav-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
        padding: 0.75rem 0 0;
        border-top: 2px solid rgba(0, 0, 0, 0.08);
        gap: 0.25rem;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        margin-left: 0 !important;
        padding: 0.65rem 0.5rem;
        border-radius: 6px;
    }

    .nav-links .login-button {
        text-align: center;
        margin-top: 0.35rem;
    }
}

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

body {
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #171717; /* Dark green text from the image */
}

/* Parallax Effect */
.parallax-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                      url('images/sec_banner.jpg'); /* Replace with your SEC image */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    padding: 60px 20px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

header h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: #AF0102;
}

.text-content {
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- Footer Styling --- */
.site-footer {
    background-color: #AF0102; /* University Yellow */
    padding: 5px 20px;
    text-align: center;
    border-top: 3px solid #AF0102; /* Green accent line */
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    width: 50px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 5px;
}

.footer-university-name {
    color: #800503; /* Dark Green */
    font-size: 10px;
    font-weight: bold;
    margin: 10px 0;
    letter-spacing: 1px;
}

.footer-tagline {
    color: #800503; /* Dark Green */
    font-size: 10px;
    margin-bottom: 5px;
}

.footer-copyright {
    color: #800503; /* Dark Green */
    font-size: 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 100, 0, 0.2);
    padding-top: 15px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-university-name {
        font-size: 18px;
    }
    .objectives-heading, .objectives-list, .library-hours-heading, .library-hours-text {
        max-width: 95%;
    }
}