/* Global Styles */
:root {
    --primary-color: #013d7b;
    --secondary-color: #e63c2f;
    --accent-color: #ffd600;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f8f8f8;
    --section-padding: 4rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

section {
    padding: var(--section-padding);
}

.img-placeholder {
    background-color: #ddd;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
}

/* Notification Banner */
.notification-banner {
    background-color: #dc3545;
    color: var(--light-text);
    padding: 1rem 0;
    position: relative;
    z-index: 101;
}

.notification-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.notification-content p {
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.notification-content a {
    color: var(--light-text);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.notification-content a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.close-banner {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    min-width: 40px;
    height: 40px;
}

.close-banner:hover {
    opacity: 0.7;
}

.notification-banner.hidden {
    display: none;
}

/* Yellow Banner Variant */
.notification-banner-yellow {
    background-color: #ffd600;
    color: #333;
}

.notification-banner-yellow .notification-content a {
    color: #333;
    background-color: rgba(0, 0, 0, 0.1);
}

.notification-banner-yellow .notification-content a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.notification-banner-yellow .close-banner {
    color: #333;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Dropdown Menu */
nav ul li ul.dropdown {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 8px 0;
    margin-top: 5px;
}

nav ul li:hover ul.dropdown {
    display: block;
}

nav ul li ul.dropdown li {
    margin: 0;
    width: 100%;
}

nav ul li ul.dropdown li a {
    padding: 8px 16px;
    display: block;
    white-space: nowrap;
}

nav ul li ul.dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
    background-image: linear-gradient(rgba(1, 61, 123, 0.85), rgba(81, 108, 134, 0.85)); /* Removed missing background image */
    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: var(--background-color);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
}

/* Join Section */
.join {
    text-align: center;
    background-color: #fff;
}

.join h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.join > p {
    margin-bottom: 3rem;
}

.action-items {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
}

.action-item {
    flex: 1;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.action-item:hover {
    transform: translateY(-10px);
}

.action-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.action-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Events Section */
.events {
    background-color: var(--background-color);
}

.events h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.event {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 1rem;
    min-width: 100px;
    text-align: center;
}

.month {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.day {
    font-size: 2rem;
    font-weight: 700;
}

.event-details {
    padding: 1.5rem;
    flex: 1;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.event-time, .event-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #666;
}

.event-time i, .event-location i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.event-time a, .event-location a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-time a:hover, .event-location a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.info-banner {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-banner i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-banner p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.calendar-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-links a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.calendar-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Resources Section */
.resources {
    background-color: #fff;
    text-align: center;
}

.resources h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.resources-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.resource-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-10px);
}

.resource-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.resource-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.resource-item h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.resource-item h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-method {
    text-align: center;
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-method a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.mailing-address {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.mailing-address i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mailing-address h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mailing-address address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-color);
}

.newsletter {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.newsletter h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--light-text);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .action-items {
        flex-direction: column;
    }
    
    .resources-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .notification-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .notification-content a {
        align-self: center;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .header-right {
        align-items: center;
        margin-top: 1rem;
    }
    
    .header-social {
        margin-bottom: 1rem;
    }
    
    nav ul {
        margin-top: 0.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .calendar-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .calendar-links a {
        width: 100%;
    }
}

/* 5 Things Page Styles */
.action-steps {
    background-color: var(--background-color);
    padding: var(--section-padding);
}

.action-step {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-step h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-step h2 i {
    color: var(--secondary-color);
}

.action-step p {
    margin-bottom: 1rem;
}

.action-step .btn {
    margin-top: 1rem;
}

.organizations {
    list-style: none;
    margin: 1rem 0;
}

.organizations li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.organizations li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.organizations li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.organizations li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
