html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: #fff;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    position: relative;
}

/* Video Background */
#video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

section[id] {
    scroll-margin-top: 80px;
}

.hero-splash {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    background: rgba(0,0,0,0.2); 
}

.splash-logo {
    max-width: 80%;
    width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    animation: fadeIn 1.5s ease-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    color: #ffffff;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0.8;
}

.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 4px solid #FFA000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2000;
    box-sizing: border-box;
}

.logo-small img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar ul.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.navbar li a {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar li a:hover {
    background-color: #ffffff;
    color: #0f0f0f;
    height: 100%;
}

/* Hide the About Us dropdown from the menu bar temporarily */
#about-dropdown {
    display: none !important;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    opacity: 1;
    visibility: hidden;
    transform: translateY(15px);
    transition: transform 0.3s ease;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2001;
    border-top: 4px solid #FFA000;
    top: 100%;
    list-style: none;
    padding: 10px 0;
    margin-top: 29px;
}

.dropdown.open > .dropdown-content,
.dropdown:hover > .dropdown-content {
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    color: #1a1a1a !important;
    padding: 12px 25px;
    display: block;
}

.dropdown-content li a:hover {
    background-color: black;
    color: #ffffff !important;
}

.title {
    text-align: center;
    max-width: 500px; 
    margin: 180px auto 40px auto; 
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-bottom: 5px solid #FFA000;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 50px;
    border-radius: 12px;
    width: 66.66%;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    box-sizing: border-box;
    border-left: 10px solid #FFA000;
    margin: 30px 0;
    align-self: flex-start;
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.info-card:nth-of-type(even) {
    align-self: flex-end;
    border-left: none;
    border-right: 10px solid #FFA000;
}

.intro-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 50px;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-left: 10px solid #FFA000;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

.info-grid .info-card {
    width: 100%;
    align-self: stretch;
    border-left: 0;
    border-right: 0;
    border-top: 4px solid #FFA000;
    padding: 30px;
}

.button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #FFA000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.button:hover {
    background: #ffb833;
}

.content-resources {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin-top: 50px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resources-wrapper {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.resource-links h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    border-left: 6px solid #FFA000;
    padding-left: 20px;
}

.resource-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.resource-links li {
    background: white;
    border-bottom: 2px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.resource-links li:hover {
    transform: translateY(-3px);
    border-bottom: 2px solid #FFA000;
}

.resource-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
}

.calendar-iframe {
    width: 95%;
    max-width: 840px;
    display: flex;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.calendar-iframe iframe {
    max-width: 100%;
}

.board-wrapper {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.board-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    border-left: 10px solid #FFA000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 30px;
    gap: 40px;
    width: 90%;
    max-width: 1100px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.member-photo img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #FFA000;
}

.member-info {
    flex: 2;
}

.member-info h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #1a1a1a;
}

.member-info .position {
    color: #FFA000;
    font-weight: 700;
    text-transform: uppercase;
    margin: 5px 0 15px 0;
    font-size: 0.9rem;
    display: block;
}

.member-info .bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.member-contact {
    flex: 1;
    border-left: 1px solid #ddd;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-contact a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-all;
    transition: color 0.2s;
}

#contact-section {
    padding: 80px 0;
    background-color: #0f0f0f;
    color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 70%;
    max-width: 900px;
}

#contact-section input, 
#contact-section textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-radius: 8px;
    box-sizing: border-box;
}

#contact-section button {
    width: 100%;
    background: linear-gradient(135deg, #00C853, #009624);
    color: white;
    padding: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.social-footer {
    background-color: #0b0b0b;
    color: #fff;
    padding: 28px 0 40px 0;
}
.social-container {
    width: 70%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 50px;
    height: 50px;
}
.social-button svg { 
    width: 20px; height: 20px; fill: currentColor; 
}
.social-button i {
    font-size: 24px; display: inline-block;
 }
.social-button:hover { 
    transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
}
.social-button.facebook { 
    background:linear-gradient(135deg, #4f92e8, #1877f2); 
}

.social-button.gofundme { 
    background: #28a745; 
}

@media screen and (max-width: 768px) {
    .social-container { width: 90%; gap: 10px; }
    .social-button { padding: 10px; width: 45px; height: 45px; }
    .social-button i { font-size: 20px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media screen and (max-width: 900px) {
    .board-member {
        flex-direction: column;
        text-align: center;
    }
    .member-contact {
        border-left: none;
        border-top: 1px solid #ddd;
        padding: 20px 0 0 0;
        align-items: center;
    }
}

@media screen and (max-width: 900px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }
    .navbar ul.nav-links { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        position: fixed; 
        top: 70px; 
        left: 0; 
        background: #0a0a0a;
        padding: 40px 0;
        height: calc(100vh - 70px);
    }
    #menu-toggle:checked ~ ul.nav-links {
        display: flex;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        height: 3px;
        width: 25px;
        background: #FFA000;
        margin: 5px;
    }
    .dropdown-content {
        position: static;
        background-color: #1a1a1a;
        display: none;
    }
    .dropdown.open .dropdown-content {
        display: block;
    }
    /* ensure dropdown links are readable on dark mobile background */
    .dropdown-content li a {
        color: #ffffff !important;
    }
    .info-card {
        width: 100%;
        align-self: center !important;
        border-left: 10px solid #FFA000 !important;
        border-right: none !important;
    }
}

/* Upcoming Events Widget Styles */
.upcoming-events-widget {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 40px;
    margin: 30px auto;
    width: min(100%, 1080px);
    max-width: 1080px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-left: 10px solid #FFA000;
    border-radius: 12px;
    box-sizing: border-box;
}

.upcoming-events-widget h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.upcoming-events-list {
    display: grid;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    padding-left: 5px;
}

.event-date-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFA000;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 160, 0, 0.3);
}

.event-details {
    flex: 1;
}

.event-title {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.event-info {
    margin: 3px 0;
    color: #666;
    font-size: 0.9rem;
}

.event-location {
    margin: 3px 0 0 0;
    color: #888;
    font-size: 0.85rem;
}

.no-events {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
    font-size: 0.95rem;
}

/* Compact version for home page */
.upcoming-events-widget.compact {
    padding: 40px;
    margin: 30px auto;
    width: min(100%, 1080px);
    max-width: 1080px;
    align-self: auto;
}

.upcoming-events-widget.compact h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.upcoming-events-widget.compact .upcoming-events-list {
    gap: 12px;
}

.upcoming-events-widget.compact .event-item {
    padding: 10px 0;
}

.upcoming-events-widget.compact .event-date-bubble {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
}

.upcoming-events-widget.compact .event-title {
    font-size: 0.95rem;
}

.upcoming-events-widget.compact .event-info,
.upcoming-events-widget.compact .event-location {
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .upcoming-events-widget {
        padding: 25px;
        margin: 20px 15px;
    }

    .upcoming-events-widget h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .event-item {
        gap: 12px;
        padding: 10px 0;
    }

    .event-date-bubble {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .event-title {
        font-size: 0.95rem;
    }

    .event-info, .event-location {
        font-size: 0.8rem;
    }

    .upcoming-events-widget.compact {
        padding: 20px;
        width: 100%;
        margin: 20px 0;
    }
}