/* ================================================
   INDEX.CSS — Homepage Styles
   ================================================ */

/* ── Hero Section ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 1000px;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 27, 45, 0.88) 0%, rgba(22, 42, 70, 0.7) 50%, rgba(212, 131, 15, 0.4) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 1s var(--ease) 0.2s both;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
}

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

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 18px 48px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    box-shadow: 0 8px 30px rgba(212, 131, 15, 0.35);
}

.btn-hero:hover {
    box-shadow: 0 12px 40px rgba(212, 131, 15, 0.5);
    transform: translateY(-3px);
}

.btn-hero-outline {
    padding: 16px 48px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* ── About Summary Section ── */
.about-summary {
    position: relative;
    background-color: var(--white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-glow);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    z-index: 0;
    opacity: 0.2;
}

.about-image {
    background: url('https://images.unsplash.com/photo-1593113592332-6a7516d29623?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    height: 560px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 27, 45, 0.2), transparent 50%);
}

.about-text .sub-heading::before {
    background: var(--primary);
}

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid var(--warm-gray);
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Charity Focus Cards ── */
.mission-vision {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(15, 27, 45, 0.04);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-soft));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    transition: var(--transition);
}

.feature-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(212, 131, 15, 0.3);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.card-desc {
    color: var(--text-body);
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.card-link i {
    transition: transform 0.3s var(--ease);
    font-size: 0.8rem;
}

.feature-card:hover .card-link i {
    transform: translateX(6px);
}

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-muted) 100%);
    color: white;
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 131, 15, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-heading {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 580px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.btn-light-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--navy);
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(212, 131, 15, 0.3);
    position: relative;
    z-index: 2;
}

.btn-light-btn:hover {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

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

    .about-image {
        height: 400px;
    }

    .about-image-wrapper::before,
    .about-image-wrapper::after {
        display: none;
    }

    .text-left.section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-text .sub-heading {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: 550px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .stats-row {
        gap: 30px;
    }
}