﻿/* ========== RESET & VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn' !important;
    background: #f7f9fc;
    color: #1e2a3e;
    overflow-x: hidden;
}

:root {
    --primary: #0b5e5c;
    --primary-dark: #084a48;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #ef4444;
    --light-bg: #fef9e8;
    --gray-bg: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    --border-radius: 28px;
    --border-radius-sm: 20px;
}

/* ========== UTILITIES ========== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 60px;
        height: 4px;
        background: var(--secondary);
        border-radius: 4px;
    }

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* ========== HEADER (NAVBAR) ========== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

    .brand-text span {
        color: var(--secondary);
    }

.nav-link-custom {
    color: #334155;
    font-weight: 500;
    margin: 0 8px;
    transition: 0.2s;
}

    .nav-link-custom:hover {
        color: var(--primary);
    }

.btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 8px 28px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-login:hover {
        background: var(--primary);
        color: white;
    }

@media (max-width: 992px) {
    .brand-text {
        font-size: 1.3rem;
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .btn-login {
        text-align: center;
        margin-top: 10px;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
    padding: 60px 0;
    border-radius: 0 0 60px 60px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

    .hero-title span {
        color: var(--secondary);
        background: rgba(245, 158, 11, 0.1);
        padding: 0 12px;
        border-radius: 60px;
        display: inline-block;
    }

.hero-desc {
    font-size: 1.1rem;
    color: #475569;
    margin: 24px 0 32px;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem;
    }
}

.btn-primary-custom {
    background: var(--primary);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-primary-custom:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    transition: 0.2s;
}

    .btn-outline-custom:hover {
        background: var(--primary);
        color: white;
    }

/* ========== STATS CARDS ========== */
.stats-card {
    background: white;
    border-radius: 28px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: 0.2s;
    height: 100%;
}

.stats-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stats-label {
    color: #64748b;
    font-weight: 500;
    margin-top: 8px;
}

/* ========== URGENT BANNER ========== */
.urgent-banner {
    background: linear-gradient(110deg, #fff3e8, #ffe4d6);
    border-radius: 32px;
    padding: 32px 40px;
    margin: 50px 0;
    border-right: 6px solid var(--accent);
}

.urgent-icon {
    background: var(--accent);
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.btn-urgent {
    background: var(--accent);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
}

@media (max-width: 768px) {
    .urgent-banner {
        padding: 24px;
        text-align: center;
    }

    .urgent-icon {
        margin: 0 auto 15px;
    }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.service-icon {
    width: 75px;
    height: 75px;
    background: var(--light-bg);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary);
}

/* ========== DONATE SECTION ========== */
.donate-section {
    background: linear-gradient(125deg, var(--primary), #0a4a48);
    border-radius: 48px;
    padding: 50px 40px;
    margin: 60px 0;
    color: white;
}

.donate-title {
    font-size: 2rem;
    font-weight: 700;
}

.amount-pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
}

    .amount-pill.active {
        background: var(--secondary);
        color: var(--primary-dark);
        font-weight: 600;
    }

.custom-donate-input {
    display: flex;
    background: white;
    border-radius: 60px;
    overflow: hidden;
    max-width: 380px;
}

    .custom-donate-input input {
        border: none;
        padding: 14px 20px;
        flex: 1;
        outline: none;
        font-family: 'Vazir';
    }

    .custom-donate-input button {
        background: var(--secondary);
        border: none;
        padding: 14px 32px;
        font-weight: 700;
        color: var(--primary-dark);
    }

@media (max-width: 768px) {
    .donate-section {
        padding: 32px 24px;
    }

    .donate-title {
        font-size: 1.5rem;
    }
}

/* ========== STORY CARDS ========== */
.story-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    height: 100%;
    transition: 0.2s;
    box-shadow: var(--shadow-sm);
}

.story-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4f1f9, #b8e1ed);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.story-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========== NEWS ========== */
.news-wrapper {
    background: white;
    border-radius: 40px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.news-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .news-item:last-child {
        border-bottom: none;
    }

.news-date {
    background: #eef2ff;
    padding: 6px 20px;
    border-radius: 40px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 110px;
    text-align: center;
}

.news-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

    .news-link:hover {
        color: var(--primary);
    }

/* ========== FOOTER ========== */
.footer {
    background: #0f2c2a;
    color: #cbd5e1;
    border-radius: 50px 50px 0 0;
    margin-top: 80px;
    padding: 60px 0 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a8e6cf, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icon {
    background: #1e4a47;
    width: 42px;
    height: 42px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: 0.2s;
    cursor: pointer;
}

    .social-icon:hover {
        background: var(--secondary);
        transform: translateY(-3px);
    }

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin: 12px 0;
}

    .footer-links a:hover {
        color: var(--secondary);
    }

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-logo {
        font-size: 1.4rem;
    }
}
#carouselExample img
{
    max-height:650px;
}