* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --maroon: #7c1000;
    --gold: #edba1c;
    --surface: #fef7e0;
    --surface-variant: #f5ede1;
    --on-surface: #1c1b1f;
    --on-primary: #ffffff;
    --outline: #79747e;
    --shadow: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--on-surface);
    line-height: 1.6;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

header {
    background: var(--maroon);
    padding: 20px 0;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--on-primary);
    text-decoration: none;
    letter-spacing: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tabs-container h1 {
    color: white;
    font-size: 3rem;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .tabs-container h1 {
        font-size: 1.8rem;
        line-height: 1;
    }
}

.btn-nav {
    background: var(--gold);
    color: var(--maroon);
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    animation: pulse 2s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.btn-nav:hover {
    box-shadow: 0 4px 12px rgba(237, 186, 28, 0.4);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(237, 186, 28, 0.7);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(237, 186, 28, 0);
    }
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background: black;
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 16, 0, 0.2) 0%, rgba(237, 186, 28, 0.05) 100%);
    z-index: 1;
}

section#quote-section {
    background: #003566;
    padding: 80px 0;
}

section#quote-section .tabs-nav {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

section#quote-section .tab-btn {
    color: rgba(255, 255, 255, 0.7);
}

section#quote-section .tab-btn:hover {
    color: #ffffff;
}

section#quote-section .tab-btn.active {
    color: #ffffff;
    border-bottom-color: #edba1c;
}

section#quote-section .intro-text {
    color: #ffffff;
}

section#quote-section .quote-highlight {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left-color: #edba1c;
}

section#quote-section .author {
    color: #ffffff;
}

section#quote-section .author strong {
    color: #edba1c;
}

section#quote-section .tab-content h3 {
    color: #ffffff;
}

section#quote-section .tab-content h4 {
    color: #edba1c;
}

section#quote-section .tab-content h5 {
    color: #edba1c;
}

section#quote-section .tab-content p {
    color: rgba(255, 255, 255, 0.9);
}

section#quote-section .impact-list li {
    color: rgba(255, 255, 255, 0.9);
}

section#quote-section .impact-list li:before {
    color: #edba1c;
}

section#quote-section .impact-item {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #edba1c;
}

section#quote-section .impact-item p {
    color: rgba(255, 255, 255, 0.9);
}

section#giving-back-section {
    background: var(--maroon);
    padding: 50px;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-align: center;
}

.hero-content {
    max-width: 80vw;
    text-align: center;
}

.hero-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--maroon);
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(237, 186, 28, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    display: none;
}

.donation-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--gold) 0%, #ffd54f 100%);
    color: var(--maroon);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    z-index: 10;
}

.donation-card h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--maroon);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.donation-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 16px;
}

.progress-bar {
    height: 8px;
    background: rgba(124, 16, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--maroon);
    width: 65%;
    border-radius: 4px;
}

.donor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 16, 0, 0.2);
}

.donor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), #5c0c00);
}

.donor-name {
    font-weight: 600;
    color: var(--maroon);
    font-size: 14px;
}

.donation-card small {
    color: rgba(124, 16, 0, 0.7);
}

.donor-status {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.impact-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.donation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.donation-slideshow {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slideshow-container {
    position: relative;
    width: 100%;
    background: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow);
}

.donation-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tabs-container {
    width: 100%;
}

.tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(124, 16, 0, 0.15);
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(28, 27, 31, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: var(--maroon);
}

.tab-btn.active {
    color: var(--maroon);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.intro-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 16px;
}

.quote-highlight {
    font-size: 18px;
    font-style: italic;
    color: var(--maroon);
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-variant) 100%);
    padding: 20px 24px;
    border-left: 4px solid var(--gold);
    margin: 24px 0;
    line-height: 1.7;
}

.author {
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--maroon);
}

.author strong {
    font-weight: 700;
    display: block;
    margin-top: 8px;
}

.impact-list {
    list-style: none;
    margin: 20px 0 24px 0;
}

.impact-list li {
    padding: 12px 0 4px 28px;
    position: relative;
    color: var(--on-surface);
    line-height: 1.6;
    font-size: 15px;
}

.impact-list li:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
}

.tab-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--maroon);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.tab-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--maroon);
    margin: 32px 0 16px 0;
}

.tab-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 8px;
}

.tab-content p {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--on-surface);
    margin-bottom: 16px;
}

.impact-item {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-variant) 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid var(--gold);
}

.impact-item p {
    margin-bottom: 0;
}

.section-heading {
    font-size: 56px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.quote-box {
    max-width: 900px;
    margin: 0 auto 64px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-variant) 100%);
    border-left: 6px solid var(--gold);
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

.quote-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0;
    align-items: stretch;
}

.quote-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.quote-slide.active {
    opacity: 1;
}

.quote-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote-content {
    background: linear-gradient(135deg, #f2f2f2 0%, #ffda68 100%);
    border-left: 6px solid var(--gold);
    padding: 48px 40px;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--maroon);
    margin-bottom: 20px;
    font-style: italic;
}

.quote-attribution {
    font-size: 16px;
    font-weight: 600;
    color: var(--maroon);
    text-align: right;
    margin: 0;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.impact-card {
    background: var(--surface);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow), 0 0 24px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 32px rgba(255, 255, 255, 0.8);
}

.impact-card.maroon {
    background: var(--maroon);
    color: var(--on-primary);
    box-shadow: 0 4px 16px var(--shadow), 0 0 24px rgba(255, 255, 255, 0.4);
}

.impact-card.maroon:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 32px rgba(255, 255, 255, 0.6);
}

.impact-card.gold {
    background: var(--gold);
    color: var(--maroon);
    box-shadow: 0 4px 16px var(--shadow), 0 0 24px rgba(255, 255, 255, 0.5);
}

.impact-card.gold:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 32px rgba(255, 255, 255, 0.7);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.card-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.btn-card {
    background: white;
    color: var(--maroon);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.impact-card.maroon .btn-card {
    background: var(--gold);
    color: var(--maroon);
}

.impact-card.gold .btn-card {
    background: var(--maroon);
    color: white;
}

.btn-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stats-section {
    background: var(--surface-variant);
    padding: 80px 32px;
    margin: 80px 0;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-item h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 18px;
    color: #5f5f5f;
    font-weight: 500;
}

footer {
    background: var(--maroon);
    color: var(--on-primary);
    padding: 60px 32px 32px;
    position: relative;
}

.footer-logo-centered {
    text-align: center;
    margin-bottom: 10px;
}

.footer-logo-centered img {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--on-primary);
    text-decoration: underline;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;

        padding: 60px 24px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content img {
        max-width: 500px;
    }

    .section-heading {
        font-size: 40px;
        margin-bottom: 48px;
    }

    .quote-box {
        padding: 40px 32px;
    }

    .donation-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-section {
        grid-template-columns: 1fr;
    }

    .quote-slideshow {
        border-radius: 12px 12px 0 0;
        min-height: 300px;
    }

    .quote-content {
        border-radius: 0 0 12px 12px;
        border-left: none;
        border-top: 6px solid var(--gold);
        padding: 40px 32px;
    }

    .impact-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 30px;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .nav-links {
        gap: 12px;
    }

    .btn-nav {
        padding: 10px 24px;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content img {
        max-width: 100%;
    }

    .section-heading {
        font-size: 32px;
    }

    .quote-box {
        padding: 32px 24px;
        margin: 0 0 48px 0;
    }

    .quote-section {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0 0 48px 0;
    }

    .quote-slideshow {
        border-radius: 12px 12px 0 0;
        min-height: 250px;
    }

    .quote-content {
        border-radius: 0 0 12px 12px;
        border-left: none;
        border-top: 6px solid var(--gold);
        padding: 32px 24px;
    }

    .quote-text {
        font-size: 18px;
    }

    .quote-attribution {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .donation-card {
        position: static;
        margin-top: 16px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .donation-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}