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

:root {
    --primary-color: #c41e3a;
    --secondary-color: #003f87;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #cccccc;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

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

.nav-logo img {
    height: 140px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-donate,
.btn-action {
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-donate:hover,
.btn-action:hover {
    background: #a31828;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 180px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

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

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

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--text-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

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

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gray-light);
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #e8e8e8;
}

.accordion-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 20px;
}

.accordion-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Priorities Section */
.priorities {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.priority-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.priority-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.priority-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.priority-card p {
    color: #666;
    line-height: 1.7;
}

/* Failures Section */
.failures {
    padding: 100px 0;
    background: var(--text-light);
}

.failure-highlight {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 40px;
}

.failure-highlight h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.failure-content {
    display: grid;
    gap: 30px;
}

.failure-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.failure-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.failure-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.failure-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.failure-item p {
    line-height: 1.7;
    color: #555;
}

/* Facts Section */
.facts-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-light);
    border-radius: 10px;
}

.facts-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.fact-card {
    background: var(--text-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.fact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.fact-number-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
    font-style: italic;
}

.fact-label {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    hyphens: auto;
}

/* Source Links */
.accordion-content a,
.failure-text a,
.failure-item a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--secondary-color);
    transition: opacity 0.3s;
}

.accordion-content a:hover,
.failure-text a:hover,
.failure-item a:hover {
    opacity: 0.7;
}

.footer-sources p {
    margin-bottom: 10px;
}

.footer-sources a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s;
}

.footer-sources a:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

/* Conflict Cards */
.conflict-card {
    border: 2px solid var(--primary-color);
}

.conflict-card:hover {
    background: #fff5f5;
}

/* Critical Testimonials */
.testimonial.critical {
    border-left-color: var(--primary-color);
}

/* Get Involved Section */
.get-involved {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--text-light);
}

.get-involved .section-title {
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 50px;
}

.action-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.action-card p {
    line-height: 1.7;
}

.action-button-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-xlarge {
    padding: 20px 60px;
    font-size: 1.3rem;
    font-weight: 800;
}

.facts-grid-centered {
    justify-items: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* Leader Section */
.leader {
    padding: 100px 0;
    background: var(--text-light);
}

.endorsements {
    text-align: center;
    margin-bottom: 50px;
}

.endorsement-banner {
    max-width: 100%;
    height: auto;
}

.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
}

.testimonial p {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial cite {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.testimonial cite a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.testimonial cite a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4,
.footer-links h4,
.footer-sources h4 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-info p,
.footer-sources p {
    color: #aaa;
    line-height: 1.6;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-social a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 130px;
        flex-direction: column;
        background: var(--text-light);
        width: 100%;
        padding: 20px;
        transition: left 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
        padding: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .accordion-header h4 {
        font-size: 1rem;
    }

    .accordion-content {
        font-size: 0.95rem;
    }

    .priorities-grid,
    .failure-list,
    .action-items {
        grid-template-columns: 1fr;
    }

    .priority-card,
    .failure-item,
    .action-card {
        padding: 25px 20px;
    }

    .failure-highlight {
        padding: 25px 20px;
    }

    .failure-highlight h3 {
        font-size: 1.5rem;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .fact-card {
        padding: 20px 15px;
        min-height: 160px;
    }

    .fact-number {
        font-size: 2.2rem;
    }

    .fact-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .testimonial {
        padding: 25px 20px;
    }

    .testimonial p {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-links,
    .footer-social {
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Improve text readability on mobile */
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-card {
        min-height: 140px;
        padding: 25px 20px;
    }

    .fact-number {
        font-size: 2.5rem;
    }

    .fact-label {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .nav-logo img {
        height: 100px;
    }

    .navbar {
        padding: 15px 0;
    }

    .hero {
        margin-top: 130px;
    }

    .fact-number-quote {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .accordion-header {
        padding: 15px;
    }

    .accordion-content {
        padding: 15px;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .priorities-grid,
    .failure-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.6s;
}

.hero-buttons {
    animation-delay: 0.8s;
}
