/* Font Awesome font-display override */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #002868;
    --maga-red: #c40b0d;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --accent-gold: #FFD700;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Navigation */
.navbar {
    /*background-color: var(--navy-blue);*/
    background-color:#ffffff;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /*font-size: 2.5rem;*/
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    /*color: var(--white);*/
    color: var(--navy-blue);
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: bold;
}

.nav-link:hover {
    opacity: 0.8;
}

.btn-donate {
    background-color: var(--maga-red);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-donate:hover {
    background-color: #8B0000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--navy-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--navy-blue);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('watchung-lake-3.webp');
    background-image: image-set(url('watchung-lake-3.webp') type('image/webp'), url('watchung-lake-3.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    /*opacity: 0.9;*/
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(
        135deg,
        rgba(0, 40, 104, 0.85) 0%,
        rgba(0, 40, 104, 0.75) 50%,
        rgba(191, 10, 48, 0.3) 100%
    );*/
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 40px 0;
    margin-right: auto;
    margin-left: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1;
    
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    background-color: var(--maga-red);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.social-links a {
    color: var(--navy-blue);
    font-size: 1rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Join Movement Section */
.join-movement {
    background-color: var(--white);
    position: relative;
}

.movement-banner {
    background-image: url('flagbkgnav2.webp');
    background-image: image-set(url('flagbkgnav2.webp') type('image/webp'), url('flagbkgnav2.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.movement-content {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.movement-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 10px rgba(0, 0, 0, 0.5);
}

.movement-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 10px rgba(0, 0, 0, 0.5);
}

.email-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.email-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--navy-blue);
    border-radius: 5px;
    font-size: 1rem;
}

.btn-send {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 15px 40px;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 80px 20px;
}

.card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    border: 3px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(191, 10, 48, 0.2);
    border-color: var(--maga-red);
}

.mission-card {
    cursor: default;
}

.mission-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #003580 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 40, 104, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    padding: 30px 0;
    text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-blue);
        flex-direction: column;
        justify-content: flex-start;
        padding: 140px 20px 40px;
        transition: left 0.3s;
        gap: 20px;
        color:#ffffff!important;
        font-weight: bold;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span {
        background-color: var(--white);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(-45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(45deg);
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 40px;
        flex-direction: column;
    }

    .hero-bg {
        background-position: center 100px;
    }

    .hero .container {
        width: 100%;
    }

    .hero-content {
        padding: 20px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .social-links {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }

    .nav-link {
        color: var(--white);
    }

    .social-links a {
        color: var(--white);
    }

    .movement-banner {
        padding: 40px 20px;
        background-position: -700px center;
    }

    .movement-content h2 {
        font-size: 1.8rem;
    }

    .movement-content p {
        font-size: 1rem;
    }

    .email-form {
        flex-direction: column;
    }

    .btn-send {
        width: 100%;
    }

    .action-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    .flag-decoration {
        width: 250px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.0rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .movement-content h2 {
        font-size: 1.5rem;
    }

    .card {
        padding: 30px 15px;
    }

    .flag-decoration {
        width: 180px;
        height: 150px;
    }
}
