/* 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 */
}


/* Contact Section Styling */
.contact-section {
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    color: #171717;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4); /* Frosted glass look */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-item h4 {
    margin: 15px 0 5px;
    color: #111;
    font-weight: bold;
}

.contact-item p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

.icon {
    font-size: 2.5rem;
    color: #000;
}

/* Yellow Footer Styling */
.main-footer {
    background-color: #AF0102; /* SEC Blue */
    color: #800503; /* Dark green text */
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    width: 80px;
    margin-bottom: 15px;
}

.main-footer h3 {
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.tagline {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contact-line, .copyright {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* Responsive adjustment for the glass card */
@media (max-width: 768px) {
    .glass-card {
        flex-direction: column;
        gap: 30px;
    }
}





/* --- 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%;
    }
}