/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Enables smooth scrolling for anchor links */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    border-bottom: #77aaff 3px solid;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #77aaff;
    color: #fff;
    border-radius: 5px;
}

/* Hamburger Menu for Mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Nav Open State (for JS) */
header.nav-open .hamburger {
    transform: rotate(45deg);
}

header.nav-open .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

header.nav-open .hamburger::after {
    top: 0;
    transform: rotate(90deg);
}


/* Main Content & Sections */
main section {
    padding-top: 60px;
    /* Offset for sticky header */
    margin-top: -60px;
    /* Pull section up to fill space */
    min-height: 300px;
    /* Give some space to sections */
}

main section:first-of-type {
    /* No offset for the very first section if it's a hero */
    padding-top: 0;
    margin-top: 0;
}


.hero {
    text-align: center;
    padding: 20px 0;
    /* Full width hero potential */
    background-color: #fff;
    /* Or a specific hero background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-image {
    max-width: 100%;
    width: 100%;
    /* Make it full width */
    max-height: 450px;
    /* Control max height */
    object-fit: cover;
    /* Ensure it covers space nicely */
    display: block;
    /* Remove bottom space */
}

.hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 20px 0 10px;
    /* Added margin for below image */
}

/* Styles for all content sections */
.content-section {
    background: #fff;
    padding-bottom: 40px;
    /* Spacing between sections */
    margin-bottom: 20px;
    /* Spacing to next section's background */
}

/* The container class within content-section will provide horizontal padding */
.content-section.container {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
    /* Apply radius if it's a contained section */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Ensure the first section that is also a container gets its top padding */
#home.content-section.container {
    padding-top: 20px;
}


.content-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #77aaff;
    font-size: 1.8rem;
}

.content-section p,
.content-section ul,
.content-section blockquote {
    margin-bottom: 15px;
}

.content-section ul {
    list-style: disc;
    padding-left: 25px;
}

.content-section ul li {
    margin-bottom: 8px;
}

.quote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 5px solid #77aaff;
    background-color: #eef;
    font-style: italic;
    position: relative;
}

.quote-mark-start,
.quote-mark-end {
    width: 20px;
    height: auto;
    opacity: 0.7;
}

.quote-mark-start {
    vertical-align: top;
    margin-right: 5px;
}

.quote-mark-end {
    vertical-align: bottom;
    margin-left: 5px;
}

.quick-links-section {
    margin-top: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.quick-links-section h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer a {
    color: #77aaff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #444;
        display: none;
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    header.nav-open nav {
        /* Show nav */
        display: flex;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px;
        border-bottom: 1px solid #555;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: #77aaff;
        border-radius: 0;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .logo-link {
        max-width: calc(100% - 50px);
        /* Ensure space for hamburger */
    }

    main section {
        padding-top: 50px;
        /* Adjust for smaller header potentially */
        margin-top: -50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}