:root {
    --primary-bg: #0D1B2A;
    --accent: #00C896;
    --accent-hover: #00A87E;
    --card-bg: #132335;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --border: #1E3448;
}

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

*:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

/* navbar */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--accent-hover);
}

.navbar {
    height: 70px;
    position: relative;
}

.navbar-brand {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.brand-highlight {
    color: #ffffff;
}

.btn-cta {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
}

.nav-link {
    color: #fff !important;
    margin-right: 20px;
}

.nav-link:hover {
    color: var(--accent) !important;
    transition: color 0.3s ease;
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #fff;
    transition: color 0.3s ease;
}

.navbar-toggler {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* HERO SECTION  */
.hero-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* LEFT SIDE  */
.hero-badge {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--text-secondary) !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-cta {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* RIGHT SIDE: STATS CARD  */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.stats-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    width: 100%;
    max-width: 360px;
}

.stats-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.stat-icon {
    font-size: 1.6rem;
    width: 44px;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.stat-divider {
    height: 1px;
    background-color: var(--border);
    margin: 4px 0;
}

/*  HOW IT WORKS SECTION  */
.how-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

/*  SECTION HEADER  */
.section-badge {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 48px;
}

/*  STEP CARDS  */
.step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 200, 150, 0.1);
}

/* big faded number behind content */
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/*  CHARITIES SECTION  */
.charities-section {
    padding: 100px 0;
    background-color: var(--card-bg);
}

.charities-section .row>div {
    display: flex;
}

/* CHARITY CARDS  */
.charity-card {
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.charity-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 200, 150, 0.1);
}

/*  FEATURED CARD  */
.charity-card--featured {
    border-color: var(--accent);
    background: linear-gradient(135deg,
            var(--primary-bg) 0%,
            rgba(0, 200, 150, 0.05) 100%);
}

.charity-featured-label {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.charity-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.charity-tag {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.charity-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.charity-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.charity-stats {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.charity-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.charity-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.charity-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.charities-cta-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}

/*  FOOTER  */
.footer {
    background-color: #0a1628;
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border);
}

/*  BRAND  */
.footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand .brand-highlight {
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

/*  SOCIAL ICONS  */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/*  NEWSLETTER  */
.footer-newsletter-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-input:focus {
    border-color: var(--accent);
}

.newsletter-btn {
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background-color: var(--border);
    margin-top: 60px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/*  RESPONSIVE  */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 16px 20px;
        margin-top: 12px;
        border: 1px solid var(--border);
    }

    .navbar-collapse .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-collapse .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 12px;
        margin-left: 0 !important;
    }

    .hero-left {
        text-align: center;
    }

    .hero-badge {
        display: inline-block;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .hero-right {
        padding-left: 0;
        margin-top: 48px;
    }

    .stats-card {
        max-width: 100%;
    }

    .how-section {
        padding: 70px 0;
    }

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

    .charities-section {
        padding: 70px 0;
    }

    .footer {
        padding: 60px 0 0 0;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-cta,
    .btn-outline {
        text-align: center;
    }

    .how-section {
        padding: 60px 0;
    }

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

    .step-card {
        padding: 24px 20px;
    }

    .charities-section {
        padding: 60px 0;
    }

    .charity-stats {
        gap: 16px;
    }

    .footer {
        padding: 48px 0 0 0;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}