@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --secondary: #5eead4;
    --sky: #06b6d4;
    --bg: #f4fbfb;
    --bg-soft: #ecfeff;
    --text: #0f172a;
    --muted: #64748b;
    --white: #ffffff;
    --border: #d9f2f1;
    --shadow: 0 10px 35px rgba(20, 184, 166, .12);
    --radius: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(180deg, #f8ffff 0%, #f3fffd 50%, #f7fcff 100%);
    color: var(--text);
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1600px, 98%);
    margin: auto;
}

.section {
    padding: 70px 0;
}

.soft-bg {
    background: linear-gradient(180deg, #f0fdfa 0%, #effcff 100%);
}

.section-head {
    text-align: center;
    margin-bottom: 30px;
}

.section-head.left {
    text-align: right;
}

.section-head.between {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    text-align: right;
}

.section-head h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.section-head p {
    color: var(--muted);
}

.more-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.top-ticker {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    font-size: .92rem;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
}

.ticker-content {
    flex: 1;
}

.ticker-content a {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 184, 166, .08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: var(--shadow);
    padding: 10px;

}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav a i {
    font-size: 14px;
}

.brand-text h1 {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.brand-text span {
    font-size: .82rem;
    color: var(--muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-nav a {
    color: #1e293b;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-dark);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--sky));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: #e6fffb;
    color: var(--primary-dark);
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-drawer {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 20px;
    background: #fff;
    border-top: 1px solid #eef2f7;
}

.mobile-drawer a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7fffe;
    color: var(--primary-dark);
    font-weight: 600;
}

.hero-section {
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;


    background:

        linear-gradient(135deg, rgba(13, 79, 71, 0.8) 0%, rgba(13, 148, 136, 0.7) 40%, rgba(6, 182, 212, 0.6) 80%, rgba(8, 145, 178, 0.7) 100%),

        url("");



    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.226);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    background: #dcfdf7;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: .9rem;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #0f172a;
}

.hero-content h2 span {
    color: var(--bg);
}

.hero-content p {
    color: var(--bg);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 760px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.featured-hero-card {
    overflow: hidden;
}

.featured-hero-image {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
}

.featured-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 60%);
}

.featured-hero-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.featured-hero-footer {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hero-project-progress {
    margin-top: 14px;
}

/* انیمیشن لود اولیه کل کارت */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل‌های پایه و هاور کارت پروژه ویژه */
.animated-card {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s ease;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

/* افکت تعاملی هاور کارت */
.animated-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

/* افکت درخشش ملایم متحرک روی کل کارت هنگام هاور */
.animated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.13) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
    z-index: 5;
}

.animated-card:hover::before {
    left: 150%;
    transition: 0.9s ease-in-out;
}

/* طراحی بخش تصویر هیرو */
.featured-hero-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f0f0f0;
}

.featured-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* افکت زوم نرم تصویر هنگام هاور کارت */
.animated-card:hover .featured-hero-image img {
    transform: scale(1.06);
}

.featured-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
    pointer-events: none;
}

.featured-hero-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-hero-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-project-progress {
    margin-top: 14px;
}

.hero-project-progress .progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    margin-top: 6px;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatingCard {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.animated-card {
    animation:
        fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both,
        floatingCard 4.8s ease-in-out 1s infinite;
    transition:
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s ease;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.animated-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    border-color: rgba(255, 255, 255, 0.3);
}


.mini-stat {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 18px;
    min-width: 140px;
    box-shadow: var(--shadow);
}

.mini-stat strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.mini-stat span {
    color: var(--muted);
    font-size: .88rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 20px 60px rgba(20, 184, 166, .18);
    backdrop-filter: blur(14px);
    border-radius: 30px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
}

.glass-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.glass-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.glass-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.glass-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.glass-card ul li {
    background: #f8ffff;
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.btn-lg {
    padding: 15px 24px;
    font-size: 1rem;
}

.btn-sm {
    padding: 9px 14px;
    border-radius: 12px;
    font-size: .9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--sky));
    color: #fff;
    box-shadow: var(--shadow);
}

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

.btn-light {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid var(--border);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: .3s;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card i {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--muted);
}

.stats-section {
    padding-top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    background: #fff;
    border-radius: 24px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-box i {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-box strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.stat-box span {
    color: var(--muted);
}

.cards-grid {
    display: grid;
    gap: 22px;
}

.projects-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-card,
.charity-card,
.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-cover {
    position: relative;
    height: 230px;
}

.project-cover img {
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, .9);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

.project-body {
    padding: 20px;
}

.project-body h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.project-body p {
    color: var(--muted);
    min-height: 62px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0;
    color: #334155;
    font-size: .92rem;
}

.progress-wrap {
    margin: 14px 0;
}

.progress-bar {
    height: 10px;
    background: #dff7f4;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 999px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: .9rem;
    color: var(--muted);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

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

.about-desc {
    color: #334155;
    margin-bottom: 18px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.about-point {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
}

.about-point h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.about-image-box {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 420px;
}

.about-image-box img {
    height: 100%;
    object-fit: cover;
}

.charity-grid {
    grid-template-columns: repeat(3, 1fr);
}

.charity-card {
    padding: 22px;
    text-align: center;
}

.charity-logo {
    width: 95px;
    height: 95px;
    margin: 0 auto 16px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.charity-logo img {
    height: 100%;
    object-fit: cover;
}

.charity-card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.charity-card p {
    color: var(--muted);
    min-height: 58px;
}

.charity-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #334155;
    margin: 16px 0;
}

.post-grid {
    grid-template-columns: repeat(4, 1fr);
}

.post-image {
    height: 180px;
}

.post-image img {
    height: 100%;
    object-fit: cover;
}

.post-body {
    padding: 18px;
}

.post-meta,
.post-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 10px;
}

.post-body h3 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 10px;
}

.post-body p {
    color: #475569;
    font-size: .92rem;
}

.report-list {
    display: grid;
    gap: 18px;
}

.report-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.report-info h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.report-finance {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
    color: #334155;
}

.badge-muted {
    background: #f1f5f9;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .85rem;
}

.cta-section {
    padding: 20px 0 80px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--sky));
    color: #fff;
    border-radius: 32px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(14, 165, 233, .2);
}

.cta-box h2 {
    margin-bottom: 10px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    background: #0f172a;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
    color: #cbd5e1;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: #cbd5e1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 30px;
    padding: 18px 0;
    text-align: center;
    color: #cbd5e1;
}

.empty-box {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    color: var(--muted);
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #dbeafe;
    z-index: 1100;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: .75rem;
    padding: 6px 10px;
    min-width: 60px;
}

.mobile-bottom-nav a i {
    font-size: 1.05rem;
}

.mobile-bottom-nav a.active {
    color: var(--primary-dark);
    font-weight: 700;
}

@media (max-width: 1100px) {

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

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

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 900px) {
    .container {
        width: min(1600px, 87%);
        margin: auto;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-grid,
    .about-home-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .section-head.between,
    .report-item,
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 85px;
    }

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

    .projects-grid,
    .charity-grid,
    .post-grid,
    
    .about-points,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .hero-section {
        padding-top: 35px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }
}