/* Base styles applicable across the site */
:root {
    /* Light/Default Theme Variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --text-primary: #333333;
    --text-secondary: #777777;
    --border-color: #e0e0e0;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --accent-color: #3575e6;
    --navbar-color: #162042;
    --footer-text: rgba(255, 255, 255, 0.8);
    --title-color: #0d1c38;
}

[data-bs-theme="dark"] {
    /* Dark Theme Variables */
    --bg-primary: #212529;
    --bg-secondary: #2c3034;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #495057;
    --card-shadow: rgba(0, 0, 0, 0.2);
    --accent-color: #4682ed;
    --navbar-color: #1a2542;
    --footer-text: rgba(255, 255, 255, 0.8);
    --title-color: #d2cec8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar styles */
.navbar {
    background-color: var(--navbar-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* Nav link active state */
.navbar .nav-link {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.navbar .nav-link:hover {
    opacity: 1;
}

.navbar .nav-link.active {
    opacity: 1;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

/* Active state in mobile dropdown */
.dropdown-menu .dropdown-item.active {
    background-color: var(--accent-color);
    font-weight: 600;
}

/* Footer styles */
.footer-section {
    background-color: var(--navbar-color);
    color: var(--footer-text);
    padding: 60px 0 20px;
    transition: background-color 0.3s ease;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-brand h2 {
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-brand p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    text-decoration: underline;
}

#darkModeToggleLabel1 {
    color: var(--footer-text);
    cursor: pointer;
}

#darkModeToggleLabel2 {
    font-size: 14px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info svg {
    margin-right: 10px;
}
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* General utilities */
.section-title {
    color: var(--title-color);
    font-weight: bold;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

