/* Base Body Styles */
body.body-styles {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333333; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Content Area */
main.main-content {
    flex-grow: 1;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hidden class for JS toggling */
.hidden {
    display: none;
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0b3954; 
    text-decoration: none;
}

.nav-links {
    display: none; 
    gap: 1.5rem;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #087e8b; /
}

/* Mobile Menu Button */
.mobile-menu-button-container {
    display: block;
}

.mobile-menu-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #333333;
}

/* Mobile Menu */
.mobile-menu {
    position: absolute; 
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40; 
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #666666; 
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #087e8b; /* Secondary color */
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #666666;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #0b3954; /* Primary color */
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.85rem;
    color: #888888;
}

/* Responsive Adjustments for Base Styles */
@media (min-width: 768px) {
    .nav-links {
        display: flex; /* Show desktop links */
    }
    .mobile-menu-button-container {
        display: none; /* Hide mobile button */
    }
    .mobile-menu {
        display: none !important; /* Ensure mobile menu is hidden on desktop */
    }
}
