/* CSS Variables for easy customization */
:root {
    --primary-color: #003366; /* Blue */
    --secondary-color: #FFCC00; /* Yellow */
    --text-color: #333333; /* Dark Grey */
    --background-color: #FFFFFF; /* White */
    --link-color: #0066CC; /* Link Blue */
    --font-family: 'Arial, sans-serif';
}

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    list-style: none;
    display: flex;
}

.desktop-menu li {
    margin-left: 20px;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

.desktop-menu a:hover,
.desktop-menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: var(--background-color);
    list-style: none;
    padding: 10px;
    border: 1px solid #ccc;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--background-color);
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
}

/* Sections */
section {
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    color: var(--background-color);
    position: relative;
}

section .content {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    padding: 40px;
    border-radius: 10px;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: blue;
}

section p, section li {
    font-size: 18px;
    line-height: 1.6;
}

section ul {
    list-style-type: disc;
    padding-left: 20px;
}

section .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
}

section .cta-button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    section {
        padding: 80px 10px;
    }

    section .content {
        padding: 20px;
    }

    section h2 {
        font-size: 28px;
    }

    section p, section li {
        font-size: 16px;
    }
}

/* Section Navigation Highlight */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Alternating Section Background Colors */
section:nth-child(odd) {
    background-color: var(--primary-color); /* Blue */
    color: var(--background-color); /* White text for contrast */
}

section:nth-child(even) {
    background-color: var(--secondary-color); /* Yellow */
    color: var(--text-color); /* Dark grey text for contrast */
}

/* Adjust content box for contrast */
section:nth-child(odd) .content {
    background-color: transparent; /* Remove white background for odd sections */
    color: var(--background-color); /* Ensure text remains visible */
}

section:nth-child(even) .content {
    background-color: transparent; /* Remove white background for even sections */
    color: var(--text-color); /* Ensure text remains visible */
}

/* Hero Section Overrides (if it's the first child) */
#hero {
    background-color: unset; /* Keep original background style */
    color: var(--background-color); /* Ensure readability */
}
