:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-red: #dc2626;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --dark-gray: #1f2937;
    --text-gray: #6b7280;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.donate-btn {
    background: var(--accent-red);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(30, 58, 138, 0.4) 0%, transparent 50%);
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.02) 35px, rgba(255, 255, 255, 0.02) 70px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex-shrink: 0;
    position: relative;
}

.hero-image img {
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 0 2px var(--accent-red),
        0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 0.8s both;
}

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

.hero-banner-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.hero-slogan {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 50px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3);
    position: relative;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slogan::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 150px;
    height: 5px;
    background: var(--accent-red);
    border-radius: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-red);
    margin: 20px auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.achievements {
    list-style: none;
    margin-top: 30px;
}

.achievements li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.achievements i {
    color: var(--accent-red);
    margin-right: 15px;
}

/* Best Choice Section */
.best-choice {
    background: var(--light-gray);
    padding: 80px 0;
}

.best-choice-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.best-choice-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.best-choice-content p.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.best-choice-content strong {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Priorities Section - Updated Grid Layout */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.priority-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.priority-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

.priority-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.priority-card .learn-more {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.priority-card:hover .learn-more {
    transform: translateX(5px);
    display: inline-block;
}

/* Featured Section - Instagram Feed */
.featured {
    background: var(--light-gray);
}

.facebook-feed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.embedsocial-hashtag {
    width: 100%;
}

/* Endorsements Section */
.endorsements {
    background: var(--primary-blue);
    color: var(--white);
}

.endorsements .section-title {
    color: var(--white);
}

.campaign-banner {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.campaign-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.endorsement-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.endorsement-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.endorsement-author {
    text-align: right;
    font-weight: 600;
    opacity: 0.9;
}

/* Volunteer Section */
.volunteer {
    background: var(--light-gray);
}

.volunteer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.volunteer-card {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.volunteer-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

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

/* Gallery Carousel */
.gallery-carousel {
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
}

.gallery-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    flex: 0 0 33.333%;
    padding: 0 10px;
}

.gallery-slide img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-info-centered {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-centered h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.contact-info-centered .info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info-centered .info-item i {
    color: var(--accent-red);
    font-size: 1.4rem;
}

.contact-info-centered .social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    opacity: 0.8;
}

.powered-by {
    font-size: 0.9rem;
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* Donate Modal */
.donate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
}

.close:hover {
    color: var(--dark-gray);
}

.donate-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.donate-online,
.donate-check {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
}

.donate-online {
    text-align: center;
}

.donate-online h3,
.donate-check h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.donate-online p,
.donate-check p {
    margin-bottom: 20px;
    color: var(--text-gray);
    text-align: center;
}

.check-details {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: left;
}

.check-details strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image img {
        max-width: 300px;
        height: auto;
    }
    
    .hero-banner-logo {
        max-width: 400px;
    }
    
    .hero-slogan {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-slogan::after {
        width: 100px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .priorities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .priority-card {
        padding: 30px 20px;
    }
    
    .priority-card i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .priority-card h3 {
        font-size: 1.3rem;
    }
    
    .priority-card p {
        font-size: 0.95rem;
    }
    
    .best-choice-content p {
        font-size: 1rem;
    }
    
    .best-choice-content p.lead {
        font-size: 1.1rem;
    }
    
    .endorsements-grid,
    .volunteer-options {
        grid-template-columns: 1fr;
    }
    
    .donate-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-slide {
        flex: 0 0 100%;
    }
    
    .gallery-slide img {
        height: 250px;
    }
    
    .modal-content {
        padding: 30px;
    }
}