/* Basic Reset & Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styles */
header {
    background-color: #004d40; /* Dark teal */
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    position: relative; /* For positioning the NA link container */
}

header .logo h1 {
    margin: 0 20px;
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-right: 20px; /* Adjust margin for NA link placement */
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a7e0e0; /* Lighter teal on hover */
}

/* NA Link Container */
.na-link-container {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Space between text and button */
    z-index: 10; /* Ensure it's above other content */
}

.flash {
    font-weight: bold;
    animation: flash-animation 1s infinite alternate; /* Flashing animation */
}

.blue-flash {
    color: #00b0ff; /* Bright blue */
}

.red-flash {
    color: #ff1744; /* Bright red */
}

@keyframes flash-animation {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

.na-button {
    display: block; /* Makes the whole area clickable */
    background-color: transparent; /* No background */
    border: none; /* No border */
    cursor: pointer;
    padding: 0; /* No padding */
    width: 50px; /* Adjust size as needed for the logo */
    height: 50px; /* Adjust size as needed for the logo */
    border-radius: 50%; /* Makes it circular if your logo is square */
    overflow: hidden; /* Clips content outside the circle */
}

.na-button img {
    width: 100%;
    height: 100%;
    display: block; /* Removes extra space below image */
    object-fit: contain; /* Ensures the image fits within the button without cropping */
}


/* Main Content Styles */
main {
    padding: 20px;
    max-width: 960px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section {
    margin-bottom: 30px;
}

h2, h3, h4 {
    color: #004d40;
    border-bottom: 2px solid #a7e0e0;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
}

/* Basic responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    nav ul {
        flex-direction: column;
        margin-top: 10px;
        margin-right: 0;
    }
    nav ul li {
        margin: 5px 0;
    }
    .na-link-container {
        position: static; /* Remove absolute positioning */
        margin-top: 10px;
        flex-direction: row; /* Keep text and button in a row */
        align-self: center; /* Center horizontally if space allows */
        width: 100%; /* Take full width to center content */
        justify-content: center; /* Center the elements */
    }
    .na-link-container .flash {
        font-size: 0.8em;
    }
}