/* =========================================
   FONTS
========================================= */

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Regular.woff2");
    font-weight: 400;
}

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Medium.woff2");
    font-weight: 500;
}

@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Bold.woff2");
    font-weight: 700;
}


/* =========================================
   ROOT
========================================= */

:root {

    --navy: #071c33;
    --navy-light: #102c4c;
    --blue: #123f73;
    --blue-light: #2b6ca3;

    --red: #e3262e;
    --red-dark: #b81421;

    --gold: #d79a00;
    --gold-light: #f2bd3b;

    --green: #207a48;

    --white: #ffffff;

    --text: #162235;
    --muted: #657082;

    --background: #eef2f7;

    --shadow:
        0 12px 35px rgba(15, 30, 50, 0.12);

}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Vazirmatn,
        Tahoma,
        sans-serif;

    background:
        linear-gradient(
            180deg,
            #f4f6f9,
            #e9edf2
        );

    color: var(--text);

    overflow-x: hidden;

}

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

a {
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {

    width: min(1480px, 94%);

    margin: auto;

}


/* =========================================
   LOADER
========================================= */

#loader {

    position: fixed;

    inset: 0;

    background:
        radial-gradient(
            circle,
            #163b65,
            #061525
        );

    z-index: 99999;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 20px;

    color: white;

    transition: .6s ease;

}

.loader-logo img {

    width: 100px;

    animation:
        floatLogo 2s infinite ease-in-out;

}

.loader-spinner {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    border: 4px solid rgba(255,255,255,.2);

    border-top-color: white;

    animation: spin 1s linear infinite;

}


/* =========================================
   HEADER
========================================= */

.header {

    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 5000;

    transition: .35s;

    background:
        rgba(5, 18, 34, .72);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid rgba(255,255,255,.08);

}

.header.scrolled {

    background:
        rgba(5, 18, 34, .96);

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);

}

.header-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


/* Brand */

/* =========================================================
   BRAND / HEADER LOGO
   فقط لوگوی مجمع خیرین نمایش داده می‌شود
========================================================= */

.brand {

    display: flex;
    align-items: center;

    gap: 10px;

    color: white;

    text-decoration: none;

}


/* لوگوی مجمع خیرین */

.khayerin-logo {

    width: 62px;
    height: 62px;

    object-fit: contain;

    display: block;

}


/* نوشته کنار لوگو */

.brand-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    line-height: 1.4;

}


.brand-text strong {

    font-size: 17px;

    font-weight: 700;

}


.brand-text span {

    font-size: 13px;

    opacity: .8;

}


/* =========================================================
   MOBILE
   جلوگیری از بزرگ شدن لوگو و به‌هم‌ریختن Header
========================================================= */

@media (max-width: 600px) {

    .khayerin-logo {

        width: 52px;
        height: 52px;

    }


    .brand {

        gap: 7px;

    }


    .brand-text strong {

        font-size: 15px;

    }


    .brand-text span {

        font-size: 11px;

    }

}


/* Navigation */

.navigation {

    display: flex;

    align-items: center;

    gap: 25px;

}

.navigation a {

    color: rgba(255,255,255,.78);

    font-size: 14px;

    font-weight: 500;

    transition: .3s;

    position: relative;

}

.navigation a::after {

    content: "";

    position: absolute;

    bottom: -12px;

    right: 0;

    width: 0;

    height: 3px;

    background: var(--red);

    border-radius: 10px;

    transition: .3s;

}

.navigation a:hover,
.navigation a.active {

    color: white;

}

.navigation a:hover::after,
.navigation a.active::after {

    width: 100%;

}


/* Header actions */

.header-actions {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 7px;

}

.official-badge {

    font-size: 10px;

    background:
        rgba(255,255,255,.13);

    padding: 5px 12px;

    border-radius: 30px;

    color: white;

}

.consult-btn {

    background:
        linear-gradient(
            135deg,
            #ef343b,
            #bf101b
        );

    color: white;

    padding: 10px 18px;

    border-radius: 30px;

    font-size: 13px;

    box-shadow:
        0 8px 20px rgba(227,38,46,.3);

}


/* Mobile */

.mobile-menu-btn {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 30px;

    cursor: pointer;

}



/* =========================================
   HERO - FINAL VERSION
   تصویر اصلی بدون زوم اضافی + خوانایی بهتر متن
========================================= */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

/* تصویر اصلی Hero */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* عمداً هیچ Zoom یا Animation روی تصویر نداریم */
    transform: none;
    animation: none;
}

/* Overlay هوشمند: سمت راست برای متن تیره‌تر است */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            270deg,
            rgba(3, 15, 35, .90) 0%,
            rgba(3, 15, 35, .78) 28%,
            rgba(3, 15, 35, .48) 50%,
            rgba(3, 15, 35, .18) 72%,
            rgba(3, 15, 35, .06) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 10, 22, .12) 0%,
            rgba(2, 10, 22, .04) 45%,
            rgba(2, 10, 22, .30) 100%
        );
}

/* محتوای Hero */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 125px;
    padding-bottom: 95px;
    width: min(760px, 100%);
    color: white;
}

/* برچسب بالای Hero */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(227,38,46,.75);
    animation: pulse 1.8s infinite;
}

/* تیتر اصلی */
.hero h1 {
    font-size: clamp(42px, 5.2vw, 78px);
    line-height: 1.32;
    margin: 24px 0 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -.5px;
    text-shadow:
        0 5px 25px rgba(0,0,0,.85),
        0 2px 4px rgba(0,0,0,.65);
}

/* خط مهم و قرمز تیتر */
.hero h1 span {
    display: block;
    color: #ff4b52;
    margin-top: 4px;
    text-shadow:
        0 5px 24px rgba(0,0,0,.92),
        0 0 18px rgba(227,38,46,.20);
}

/* متن توضیح */
.hero p {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 2;
    color: rgba(245,249,255,.96);
    max-width: 680px;
    margin: 0;
    text-shadow: 0 3px 14px rgba(0,0,0,.88);
}

/* دکمه‌های Hero */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-btn {
    min-height: 66px;
    padding: 0 28px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    border: 1px solid rgba(255,255,255,.24);

    box-shadow:
        0 12px 30px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.16);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        filter .35s ease;
}

/* نور متحرک هنگام Hover */
.hero-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,.20) 50%,
        transparent 80%
    );
    transform: translateX(-130%);
    transition: transform .65s ease;
}

.hero-btn:hover {
    transform: translateY(-6px) scale(1.02);
    filter: brightness(1.06);
}

.hero-btn:hover::before {
    transform: translateX(130%);
}

.hero-btn:active {
    transform: translateY(-2px) scale(.99);
}

/* ❤️ همین حالا کمک کن */
.hero-btn-red {
    background: linear-gradient(135deg, #ff454d, #c70d1b);
    box-shadow:
        0 14px 34px rgba(210, 18, 32, .42),
        inset 0 1px 0 rgba(255,255,255,.20);
}

.hero-btn-red:hover {
    box-shadow:
        0 20px 45px rgba(210, 18, 32, .58),
        inset 0 1px 0 rgba(255,255,255,.20);
}

/* 🚑 نیازهای اورژانس */
.hero-btn-blue {
    background: rgba(8, 43, 84, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(151, 201, 255, .25);
}

.hero-btn-blue:hover {
    background: rgba(15, 62, 116, .94);
    box-shadow:
        0 20px 45px rgba(2, 20, 43, .55),
        inset 0 1px 0 rgba(255,255,255,.18);
}

/* 🤝 همراه مجمع شوید */
.hero-btn-gold {
    background: linear-gradient(135deg, #f2b92e, #b87500);
    box-shadow:
        0 14px 34px rgba(198, 130, 0, .40),
        inset 0 1px 0 rgba(255,255,255,.25);
}

.hero-btn-gold:hover {
    box-shadow:
        0 20px 45px rgba(198, 130, 0, .55),
        inset 0 1px 0 rgba(255,255,255,.25);
}


/* =========================================
   MAIN LAYOUT
========================================= */

.main-layout {

    display: grid;

    grid-template-columns:
        1fr 310px;

    gap: 22px;

    margin-top: -10px;

    position: relative;

    z-index: 10;

    align-items: start;

}

.content-area {

    min-width: 0;

}


/* =========================================
   SECTION
========================================= */

.section {

    margin-bottom: 22px;

    padding: 25px;

    border-radius: 20px;

    background:
        rgba(255,255,255,.88);

    box-shadow: var(--shadow);

    border:
        1px solid rgba(255,255,255,.7);

}

.section-heading {

    margin-bottom: 22px;

}

.section-heading h2 {

    margin: 0;

    font-size: 22px;

    color: #172942;

}

.section-heading p {

    color: var(--muted);

    margin: 7px 0 0;

    font-size: 13px;

}


/* =========================================
   NEEDS
========================================= */

.needs-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

}

.need-card {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef2f7
        );

    border-radius: 17px;

    padding: 16px;

    text-align: center;

    border:
        1px solid #dde4ec;

    transition: .35s;

    overflow: hidden;

    position: relative;

}

.need-card::before {

    content: "";

    position: absolute;

    top: 0;

    right: 0;

    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            #4c8bc4
        );

    transform:
        scaleX(0);

    transition: .35s;

}

.need-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 18px 35px rgba(16,44,76,.16);

}

.need-card:hover::before {

    transform:
        scaleX(1);

}

.need-image {

    height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.need-image img {

    max-height: 115px;

    object-fit: contain;

    transition: .4s;

}

.need-card:hover img {

    transform:
        scale(1.08);

}

.need-card h3 {

    margin: 10px 0;

    font-size: 16px;

    color: var(--navy);

}

.need-description {

    font-size: 11px;

    color: var(--muted);

}

.need-description span {

    display: block;

    margin-top: 4px;

}

.progress-info {

    display: flex;

    justify-content: space-between;

    font-size: 11px;

    margin-bottom: 7px;

}

.progress {

    height: 10px;

    background: #dfe5ec;

    border-radius: 10px;

    overflow: hidden;

}

.progress-bar {

    height: 100%;

    border-radius: inherit;

}

.progress-bar.red {

    background:
        linear-gradient(90deg,#d71920,#ff5555);

}

.progress-bar.blue {

    background:
        linear-gradient(90deg,#123f73,#4d8dcb);

}

.progress-bar.green {

    background:
        linear-gradient(90deg,#18713e,#4dbd71);

}

.card-button {

    display: inline-block;

    margin-top: 15px;

    padding: 8px 15px;

    border: 1px solid #b9c5d3;

    border-radius: 8px;

    color: var(--navy);

    font-size: 11px;

    transition: .3s;

}

.card-button:hover {

    background: var(--navy);

    color: white;

}


/* Volunteer */

.volunteer-card {

    background:
        linear-gradient(
            145deg,
            #fff,
            #f2efff
        );

}

.volunteer-text {

    font-size: 11px;

    color: var(--muted);

    line-height: 1.9;

}

.volunteer-button {

    display: block;

    margin-top: 18px;

    padding: 11px;

    color: white;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #8c28c7,
            #4c12a4
        );

    font-size: 12px;

}


/* =========================================
   PROJECTS
========================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}

.project-card {

    min-height: 400px;

    border-radius: 20px;

    padding: 25px;

    position: relative;

    overflow: hidden;

}

.wheels-project {

    background:
        linear-gradient(
            145deg,
            #fff,
            #f2f7fb
        );

    border:
        1px solid #dce5ed;

}

.brick-project {

    background:
        linear-gradient(
            145deg,
            #fffdf8,
            #fff2d1
        );

}

.project-card h3 {

    font-size: 24px;

    margin: 0 0 8px;

}

.wheels-project h3 {

    color: #b31920;

}

.brick-project h3 {

    color: #b37b00;

}

.project-card p {

    font-size: 13px;

    color: var(--muted);

    line-height: 1.9;

}

.ambulance-project-image,
.brick-image {

    height: 140px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ambulance-project-image img,
.brick-image img {

    max-height: 135px;

    object-fit: contain;

}

.wheels {

    display: flex;

    justify-content: space-between;

    margin: 15px 0;

}

.wheel {

    width: 47px;

    height: 47px;

    border-radius: 50%;

    border: 2px solid #c9d1da;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    color: #aab2bd;

}

.wheel span {

    position: absolute;

    top: 53px;

    white-space: nowrap;

    font-size: 10px;

}

.wheel.done {

    background: #237a44;

    border-color: #237a44;

    color: white;

}

.project-progress-text {

    margin-top: 35px !important;

    text-align: center;

}

.gold-progress {

    height: 13px;

    background: #e7d9bd;

    border-radius: 20px;

    overflow: hidden;

    margin-top: 18px;

}

.gold-progress-fill {

    width: 78%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #d28a00,
            #ffd65d
        );

    border-radius: inherit;

}

.gold-percent {

    text-align: center;

    margin-top: 8px;

    color: #a96d00;

    font-weight: 700;

}

.brick-options {

    display: flex;

    gap: 6px;

    flex-wrap: wrap;

    margin: 20px 0;

}

.brick-options button {

    flex: 1;

    min-width: 50px;

    background: white;

    border: 1px solid #d9b76e;

    color: #9b6700;

    padding: 7px;

    border-radius: 6px;

    cursor: pointer;

}

.project-button {

    display: block;

    text-align: center;

    padding: 13px;

    border-radius: 9px;

    color: white;

    font-weight: 700;

    transition: .3s;

}

.project-button:hover {

    transform: translateY(-3px);

}

.red-button {

    background:
        linear-gradient(
            135deg,
            #ed3036,
            #b70f19
        );

}

.gold-button {

    background:
        linear-gradient(
            135deg,
            #e3a500,
            #b87500
        );

}


/* =========================================
   MAP
========================================= */

.map-layout {

    display: grid;

    grid-template-columns:
        280px 1fr;

    gap: 20px;

}

.iran-map-box {

    background:
        linear-gradient(
            145deg,
            #102e52,
            #0a1b30
        );

    border-radius: 17px;

    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    position: relative;

    overflow: hidden;

}

.iran-map-box img {

    position: relative;

    z-index: 2;

    max-height: 320px;

    filter:
        drop-shadow(
            0 10px 20px rgba(0,0,0,.4)
        );

}

.map-glow {

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background:
        rgba(51,125,200,.3);

    filter: blur(40px);

}

.province-cards {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}

.province-card {

    min-height: 250px;

    border-radius: 14px;

    background: white;

    overflow: hidden;

    border: 1px solid #e1e6ed;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: .3s;

}

.province-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);

}

.province-content {

    padding: 15px;

}

.province-card h3 {

    color: #b51d25;

    font-size: 14px;

    margin-top: 0;

}

.province-card p {

    font-size: 11px;

    margin: 8px 0;

}

.province-card img {

    height: 75px;

    width: 100%;

    object-fit: cover;

}


/* =========================================
   STATS
========================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;

}

.stat-card {

    background:
        linear-gradient(
            145deg,
            #fff,
            #edf3ef
        );

    border-radius: 14px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    border: 1px solid #dbe5dd;

    transition: .3s;

}

.stat-card:hover {

    transform: translateY(-4px);

}



.stat-card span {

    display: block;

    font-size: 12px;

    color: var(--muted);

}

.stat-card strong {

    display: inline-block;

    font-size: 28px;

    color: #257541;

    margin-top: 5px;

}

.stat-card small {

    margin-right: 5px;

    color: var(--muted);

}

.report-buttons {

    display: flex;

    gap: 12px;

    margin-top: 20px;
    margin-bottom: 20px;

}

.report-buttons button {

    flex: 1;

    padding: 13px;

    background: white;

    border: 1px solid #b9c5d3;

    border-radius: 9px;

    cursor: pointer;

    color: var(--navy);

}
/* =========================================
   SOCIAL MEDIA ICONS
========================================= */

.social-icons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    margin-top: 18px;

}


.social-icons a {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;

}


.social-icons a img {

    width: 38px;

    height: 38px;

    object-fit: contain;

    display: block;

    transition:
        transform .35s ease,
        filter .35s ease;

}


/* Hover */

.social-icons a:hover {

    transform: translateY(-6px);

}


.social-icons a:hover img {

    transform: scale(1.12);

}

/* =========================================
   FINANCIAL STAT IMAGES
========================================= */

.stat-icon {

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

}


/* تصویر داخل کارت */

.stat-icon img {

    width: 64px;
    height: 64px;

    object-fit: contain;

    display: block;

    transition:
        transform .35s ease,
        filter .35s ease;

}


/* افکت هنگام Hover کارت */

.stat-card:hover .stat-icon img {

    transform: scale(1.12) rotate(-4deg);

}
.stat-card:hover .stat-icon {

    animation: financialIconFloat .6s ease;

}


@keyframes financialIconFloat {

    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(0);
    }

}

/* =========================================
   BANK
========================================= */

.bank-section {

    background:
        linear-gradient(
            135deg,
            #0a1d33,
            #12395f
        );

    border-radius: 22px;

    padding: 20px 28px;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    box-shadow:
        0 15px 35px rgba(4,20,38,.25);

    margin-bottom: 30px;

}

.bank-icon {

    font-size: 42px;

}

.bank-content {

    flex: 1;

}

.bank-content span,
.bank-content small {

    display: block;

    opacity: .75;

    font-size: 11px;

}

.bank-content strong {

    display: block;

    font-size: 25px;

    letter-spacing: 3px;

    margin: 5px 0;

}

.copy-account {

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.2);

    color: white;

    padding: 11px 18px;

    border-radius: 9px;

    cursor: pointer;

}


/* =========================================
   CONTACT SIDEBAR
========================================= */

.contact-sidebar {

    position: sticky;

    top: 100px;

    background:
        linear-gradient(
            180deg,
            #102c49,
            #061526
        );

    border-radius: 20px;

    padding: 20px;

    color: white;

    box-shadow:
        0 18px 40px rgba(0,0,0,.25);

}

.contact-header {

    text-align: center;

}

.contact-icon {

    font-size: 30px;

}

.contact-header h2 {

    font-size: 17px;

    margin: 8px 0;

}

.contact-header p {

    font-size: 11px;

    line-height: 1.9;

    opacity: .75;

}

.contact-form {

    margin-top: 18px;

}

.contact-form input,
.contact-form textarea {

    width: 100%;

    border: none;

    outline: none;

    margin-bottom: 10px;

    padding: 12px;

    border-radius: 8px;

    background: rgba(255,255,255,.96);

    font-size: 12px;

}

.contact-form textarea {

    min-height: 110px;

    resize: vertical;

}

.contact-form button {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 9px;

    cursor: pointer;

    color: white;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #ef3037,
            #c8111b
        );

    font-size: 14px;

}

.form-status {

    text-align: center;

    font-size: 12px;

    margin-top: 10px;

    min-height: 20px;

}

.email-info {

    margin-top: 20px;

    padding-top: 15px;

    border-top:
        1px solid rgba(255,255,255,.15);

    text-align: center;

}

.email-info span {

    display: block;

    font-size: 10px;

    opacity: .65;

}

.email-info strong {

    display: block;

    margin-top: 8px;

    direction: ltr;

    font-size: 13px;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    background:
        linear-gradient(
            135deg,
            #061426,
            #0c2945
        );

    color: white;

    padding-top: 40px;

}

.footer-top {

    display: grid;

    grid-template-columns:
        1.2fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 30px;

}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 15px;

}

.footer-logos {

    display: flex;

    gap: 8px;

}

.footer-logos img {

    width: 55px;

    height: 55px;

    object-fit: contain;

}

.footer-brand h3 {

    margin: 0;

}

.footer-brand p {

    margin: 5px 0;

    opacity: .7;

}

.footer-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.footer-links h4 {

    width: 100%;

    margin: 0 0 10px;

}

.footer-links a {

    color: rgba(255,255,255,.65);

    font-size: 12px;

}

.social-icons {

    display: flex;

    gap: 15px;

    margin-top: 15px;

}

.social-icons a {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.2);

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 20px;

}

.footer-bottom {

    text-align: center;

    padding: 18px;

    border-top:
        1px solid rgba(255,255,255,.12);

    font-size: 11px;

    opacity: .7;

}


/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {

    position: fixed;

    bottom: 25px;

    left: 25px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: none;

    background: var(--red);

    color: white;

    font-size: 23px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 2000;

}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}

@keyframes floatLogo {

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

}

@keyframes pulse {

    70% {
        box-shadow:
            0 0 0 12px rgba(227,38,46,0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(227,38,46,0);
    }

}



/* =========================================
   RESPONSIVE - FINAL VERSION
========================================= */

/* لپ‌تاپ و نمایشگرهای متوسط */
@media (max-width: 1250px) {
    .navigation { gap: 15px; }
    .needs-grid { grid-template-columns: repeat(2, 1fr); }
    .province-cards { grid-template-columns: repeat(2, 1fr); }

    .hero h1 {
        font-size: clamp(40px, 5vw, 66px);
    }
}

/* تبلت و منوی موبایل */
@media (max-width: 1050px) {
    .navigation {
        position: fixed;
        top: 82px;
        right: -100%;
        width: min(280px, 85vw);
        height: calc(100vh - 82px);
        background: #08192b;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: right .4s ease;
        box-shadow: -10px 0 35px rgba(0,0,0,.25);
    }

    .navigation.show { right: 0; }
    .mobile-menu-btn { display: block; }
    .header-actions { display: none; }
}

/* تبلت کوچک و موبایل */
@media (max-width: 768px) {
    /* فقط در موبایل، فرم تماس زیر محتوای اصلی قرار می‌گیرد */
    .main-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: relative;
        top: auto;
        order: 2;
    }

    .hero {
        min-height: 760px;
        align-items: flex-end;
    }

    /*
       عکس همچنان cover است تا Hero بدون فضای خالی بماند.
       به دلیل عریض بودن تصویر، مقداری Crop طبیعی اجتناب‌ناپذیر است.
    */
    .hero-background {
        background-size: cover;
        background-position: center center;
    }

    /* در موبایل تاریکی از پایین بیشتر می‌شود تا متن خوانا باشد */
    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3,15,35,.12) 0%,
                rgba(3,15,35,.22) 35%,
                rgba(3,15,35,.70) 65%,
                rgba(3,15,35,.94) 100%
            );
    }

    .hero-content {
        width: 100%;
        padding-top: 115px;
        padding-bottom: 48px;
        text-align: center;
    }

    .hero-tag {
        font-size: 12px;
        margin-inline: auto;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 56px);
        line-height: 1.42;
        margin-top: 20px;
    }

    .hero p {
        font-size: 16px;
        line-height: 2;
        margin-inline: auto;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: min(100%, 430px);
        margin: 28px auto 0;
    }

    .hero-btn {
        width: 100%;
        min-height: 62px;
        font-size: 16px;
        border-radius: 18px;
    }

    .projects-grid,
    .map-layout,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .iran-map-box { min-height: 300px; }

    .bank-section {
        flex-direction: column;
        text-align: center;
    }

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

/* موبایل‌های کوچک */
@media (max-width: 520px) {
    .container { width: min(94%, 100%); }

    .brand-text { display: none; }

    .emergency-logo,
    .khayerin-logo {
        width: 45px;
    }

    .needs-grid,
    .stats-grid,
    .province-cards {
        grid-template-columns: 1fr;
    }

    .section { padding: 17px; }

    .hero {
        min-height: 780px;
    }

    .hero-content {
        padding-top: 105px;
        padding-bottom: 35px;
    }

    .hero h1 {
        font-size: clamp(34px, 10.5vw, 48px);
    }

    .hero p {
        font-size: 14px;
    }

    .hero-btn {
        min-height: 58px;
        padding-inline: 18px;
        font-size: 15px;
    }
}

/* احترام به تنظیمات کاهش حرکت کاربر */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   TEMPORARY EVENT FEATURE
   DONOR NOTES MODAL
   تمام کلاس‌های این بخش با donor- شروع می‌شوند.
   برای حذف این قابلیت، کل این بلوک را حذف کنید.
============================================================ */


/* ---------- Button ---------- */

.donor-note-btn {
    background: #ffffff !important;
    color: #08203d !important;
    border: 1px solid rgba(255, 255, 255, .85) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.donor-note-btn:hover {
    background: #eef6ff !important;
    color: #071a31 !important;
    transform: translateY(-3px);
}


/* ---------- Modal ---------- */

.donor-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.donor-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* پس‌زمینه */

.donor-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(18, 103, 180, .18),
            transparent 45%
        ),
        rgba(2, 10, 23, .82);

    backdrop-filter: blur(8px);
}


/* پنجره */

.donor-modal-dialog {
    position: relative;

    width: min(920px, 100%);
    max-height: min(90vh, 900px);

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fbff 55%,
            #eef6ff 100%
        );

    border: 1px solid rgba(255, 255, 255, .8);

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .38),
        0 0 0 1px rgba(8, 44, 82, .08);

    transform:
        translateY(25px)
        scale(.97);

    transition:
        transform .4s cubic-bezier(.2, .8, .2, 1);
}

.donor-modal.is-open .donor-modal-dialog {
    transform:
        translateY(0)
        scale(1);
}


/* ---------- Close ---------- */

.donor-modal-close {
    position: absolute;

    top: 16px;
    left: 16px;

    width: 42px;
    height: 42px;

    z-index: 5;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: rgba(7, 31, 58, .08);

    color: #08203d;

    cursor: pointer;

    font-size: 29px;
    line-height: 1;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.donor-modal-close:hover {
    background: #e3262e;
    color: #fff;
    transform: rotate(90deg);
}


/* ---------- Header ---------- */

.donor-modal-header {
    position: relative;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 30px 72px 26px 32px;

    background:
        linear-gradient(
            135deg,
            #eaf5ff,
            #ffffff
        );

    border-bottom: 1px solid rgba(7, 43, 80, .08);
}

.donor-modal-header::after {
    content: "";

    position: absolute;

    right: 32px;
    bottom: 0;

    width: 85px;
    height: 3px;

    background: #e3262e;

    border-radius: 10px;
}

.donor-modal-header-icon {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #dceeff
        );

    box-shadow:
        0 10px 25px rgba(16, 77, 130, .12);

    font-size: 31px;
}

.donor-modal-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #3273a9;

    font-size: 12px;
    font-weight: 700;
}

.donor-modal-header h2 {
    margin: 0;

    color: #08203d;

    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.5;
}

.donor-modal-header p {
    margin: 5px 0 0;

    color: #5b7187;

    font-size: 13px;
}


/* ---------- Scrollable body ---------- */

.donor-modal-body {
    flex: 1;

    overflow-y: auto;

    padding: 30px 34px 36px;

    scroll-behavior: smooth;
}


/* scrollbar */

.donor-modal-body::-webkit-scrollbar {
    width: 7px;
}

.donor-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.donor-modal-body::-webkit-scrollbar-thumb {
    background: #b9cadb;
    border-radius: 20px;
}


/* ---------- Intro ---------- */

.donor-note-intro {
    position: relative;

    padding: 28px 32px 25px;

    margin-bottom: 30px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #f2f8ff,
            #ffffff
        );

    border: 1px solid #dceaf6;

    box-shadow:
        0 8px 25px rgba(8, 42, 76, .05);
}

.donor-note-quote-mark {
    position: absolute;

    top: 3px;
    right: 20px;

    color: rgba(20, 99, 164, .12);

    font-size: 70px;

    line-height: 1;
}

.donor-note-intro p {
    position: relative;

    margin: 0;

    color: #173957;

    font-size: 16px;
    font-weight: 600;

    line-height: 2.35;
}


/* ---------- Section title ---------- */

.donor-section-title {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 18px;
}

.donor-section-title h3 {
    margin: 0;

    color: #09233f;

    font-size: 20px;
    line-height: 1.7;
}

.donor-section-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #e7f3ff;

    font-size: 19px;
}


/* ---------- Quran ---------- */

.quran-box {
    padding: 20px 22px;

    margin-bottom: 14px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f7fbff,
            #edf6ff
        );

    border-right: 4px solid #1b6ead;

    text-align: center;
}

.quran-label {
    display: block;

    margin-bottom: 12px;

    color: #58718a;

    font-size: 11px;
    font-weight: 700;
}

.quran-arabic {
    margin: 0 0 12px;

    color: #092d52;

    font-family: serif;

    font-size: 23px;
    font-weight: 700;

    line-height: 2;
}

.quran-translation {
    margin: 0;

    color: #526a7f;

    font-size: 13px;

    line-height: 2;
}


/* ---------- Highlight ---------- */

.donor-highlight {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px 20px;

    margin-top: 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(227, 38, 46, .08),
            rgba(255, 255, 255, .8)
        );

    border: 1px solid rgba(227, 38, 46, .12);
}

.donor-highlight-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #fff;

    box-shadow: 0 7px 20px rgba(0, 0, 0, .06);

    font-size: 22px;
}

.donor-highlight p {
    margin: 0;

    color: #283f55;

    font-size: 14px;
    font-weight: 700;

    line-height: 2;
}


/* ---------- Emotional cards ---------- */

.donor-emotional {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin: 30px 0;
}

.emotional-card {
    padding: 22px;

    border-radius: 20px;

    background: #fff;

    border: 1px solid #e0ebf5;

    box-shadow:
        0 8px 25px rgba(8, 42, 76, .05);
}

.emotional-icon {
    display: block;

    margin-bottom: 12px;

    font-size: 28px;
}

.emotional-card p {
    margin: 0;

    color: #24415b;

    font-size: 14px;

    line-height: 2.15;
}

.emotional-message {
    grid-column: 1 / -1;

    padding: 18px 22px;

    border-radius: 17px;

    background: #08294b;

    color: #fff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    line-height: 2;
}


/* ---------- Long text ---------- */

.donor-text-section {
    margin-bottom: 30px;
}

.donor-long-text {
    color: #40586e;

    font-size: 14px;

    line-height: 2.35;
}

.donor-long-text p {
    margin: 0 0 17px;
}


/* ---------- Contact ---------- */

.donor-contact-box {
    padding: 24px;

    margin: 30px 0;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #071d35,
            #0b3156
        );

    color: #fff;

    box-shadow:
        0 12px 35px rgba(3, 25, 47, .16);
}

.donor-contact-box .donor-section-title h3 {
    color: #fff;
}

.donor-contact-box .donor-section-icon {
    background: rgba(255, 255, 255, .1);
}

.donor-contact-box p {
    margin: 8px 0;

    color: rgba(255, 255, 255, .78);

    font-size: 13px;

    line-height: 2;
}

.donor-phone-list {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin: 16px 0;
}

.donor-phone-list span {
    padding: 9px 13px;

    border-radius: 11px;

    background: rgba(255, 255, 255, .09);

    border: 1px solid rgba(255, 255, 255, .1);

    color: #fff;

    font-size: 13px;
    font-weight: 700;
}


/* ---------- Bank ---------- */

.donor-bank-box {
    padding: 25px;

    margin: 30px 0;

    border-radius: 22px;

    background: #f4f9fd;

    border: 1px solid #dbe9f4;
}

.donor-bank-description {
    color: #526a7f;

    font-size: 13px;

    line-height: 2.25;

    margin: 0 0 20px;
}

.donor-bank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-top: 1px solid #dce8f1;
}

.donor-bank-item span {
    color: #526a7f;

    font-size: 12px;
}

.donor-bank-item strong {
    color: #092d52;

    font-size: 14px;

    letter-spacing: .4px;
}


/* ---------- Help cards ---------- */

.donor-help-section {
    margin-top: 30px;
}

.donor-help-card {
    display: grid;

    grid-template-columns: 48px minmax(0, 1fr);

    gap: 17px;

    padding: 22px;

    margin-bottom: 15px;

    border-radius: 20px;

    background: #fff;

    border: 1px solid #dfebf4;

    box-shadow:
        0 8px 25px rgba(8, 42, 76, .04);
}

.donor-help-number {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #e6f3ff,
            #cfe8fa
        );

    color: #0b4c7d;

    font-size: 16px;
    font-weight: 800;
}

.donor-help-card h4 {
    margin: 0 0 10px;

    color: #0a2b4b;

    font-size: 17px;

    line-height: 1.8;
}

.donor-help-card p {
    margin: 0 0 13px;

    color: #50677b;

    font-size: 13px;

    line-height: 2.2;
}

.donor-help-card ul {
    margin: 12px 0 18px;
    padding-right: 20px;

    color: #50677b;

    font-size: 13px;

    line-height: 2.25;
}

.donor-help-card li {
    margin-bottom: 7px;
}

.donor-help-card strong {
    color: #153d5f;
}

.donor-help-slogan {
    padding: 12px 15px;

    border-radius: 12px;

    background: #edf7ff;

    color: #11629b;

    font-size: 13px;
    font-weight: 800;

    text-align: center;
}


/* ---------- License ---------- */

.donor-license-section {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #dce8f1;
}

.donor-license-heading {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.donor-license-heading > div > span {
    display: block;

    color: #668097;

    font-size: 10px;
}

.donor-license-heading h3 {
    margin: 2px 0 0;

    color: #09233f;

    font-size: 18px;
}

.donor-license-card {
    display: grid;

    grid-template-columns:
        minmax(230px, .85fr)
        minmax(0, 1.15fr);

    gap: 25px;

    align-items: center;

    padding: 22px;

    border-radius: 23px;

    background:
        linear-gradient(
            135deg,
            #edf7ff,
            #ffffff
        );

    border: 1px solid #d5e7f5;
}

.donor-license-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;
}

.donor-license-image {
    display: block;

    width: min(100%, 310px);
    height: auto;

    max-height: 420px;

    object-fit: contain;

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 12px 30px rgba(5, 35, 65, .15);

    cursor: zoom-in;
}

.donor-license-info {
    padding: 10px;
}

.donor-license-badge {
    display: inline-flex;

    padding: 7px 11px;

    margin-bottom: 12px;

    border-radius: 9px;

    background: rgba(24, 108, 170, .09);

    color: #17649a;

    font-size: 10px;
    font-weight: 800;
}

.donor-license-info h4 {
    margin: 0 0 10px;

    color: #092d52;

    font-size: 20px;
}

.donor-license-info p {
    margin: 0 0 18px;

    color: #526a7f;

    font-size: 13px;

    line-height: 2.2;
}

.donor-license-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 45px;

    padding: 0 18px;

    border: 0;
    border-radius: 13px;

    background: #0b67ad;

    color: #fff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}

.donor-license-view:hover {
    background: #084d82;

    transform: translateY(-2px);
}


/* ---------- Final message ---------- */

.donor-final-message {
    position: relative;

    overflow: hidden;

    padding: 30px 25px;

    margin-top: 35px;

    border-radius: 23px;

    background:
        linear-gradient(
            135deg,
            #08203d,
            #0c4775
        );

    color: #fff;

    text-align: center;
}

.donor-final-message::before,
.donor-final-message::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .08);
}

.donor-final-message::before {
    top: -75px;
    right: -50px;
}

.donor-final-message::after {
    bottom: -90px;
    left: -40px;
}

.donor-final-icon {
    position: relative;

    margin-bottom: 8px;

    font-size: 30px;
}

.donor-final-message h3 {
    position: relative;

    margin: 0 0 10px;

    font-size: 21px;
}

.donor-final-message p {
    position: relative;

    max-width: 620px;

    margin: auto;

    color: rgba(255, 255, 255, .78);

    font-size: 13px;

    line-height: 2.2;
}


/* ---------- Footer ---------- */

.donor-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 10px 20px;

    background: #06192e;

    color: rgba(255, 255, 255, .68);

    font-size: 10px;
}

.donor-modal-footer-heart {
    color: #e3262e;

    font-size: 14px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 700px) {

    .donor-modal {
        padding: 10px;
    }

    .donor-modal-dialog {
        max-height: 94vh;

        border-radius: 21px;
    }

    .donor-modal-header {
        padding:
            24px
            55px
            22px
            20px;

        gap: 12px;
    }

    .donor-modal-header-icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        border-radius: 14px;

        font-size: 24px;
    }

    .donor-modal-header h2 {
        font-size: 23px;
    }

    .donor-modal-header p {
        font-size: 11px;
    }

    .donor-modal-body {
        padding: 20px 16px 25px;
    }

    .donor-note-intro {
        padding: 21px 19px;
    }

    .donor-note-intro p {
        font-size: 13px;
        line-height: 2.2;
    }

    .quran-box {
        padding: 17px 13px;
    }

    .quran-arabic {
        font-size: 18px;
    }

    .donor-emotional {
        grid-template-columns: 1fr;
    }

    .emotional-message {
        grid-column: auto;
    }

    .donor-long-text,
    .donor-help-card p,
    .donor-help-card ul {
        font-size: 12px;
    }

    .donor-bank-item {
        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

    .donor-bank-item strong {
        font-size: 12px;
        word-break: break-all;
    }

    .donor-help-card {
        grid-template-columns: 38px minmax(0, 1fr);

        padding: 17px;

        gap: 11px;
    }

    .donor-help-number {
        width: 38px;
        height: 38px;

        border-radius: 11px;

        font-size: 13px;
    }

    .donor-help-card h4 {
        font-size: 15px;
    }

    .donor-license-card {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .donor-license-image {
        width: min(100%, 270px);
    }

    .donor-license-info {
        text-align: center;
    }

    .donor-license-badge {
        justify-content: center;
    }

    .donor-license-view {
        width: 100%;
        justify-content: center;
    }

    .donor-modal-footer {
        font-size: 9px;
    }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

    .donor-modal,
    .donor-modal-dialog,
    .donor-modal-close,
    .donor-note-btn {
        transition: none !important;
    }

}

/* ============================================================
   TEMPORARY EVENT FEATURE
   چیدمان ۴ دکمه Hero در یک ردیف
============================================================ */

.hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.hero-buttons .hero-btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}


/* موبایل */
@media (max-width: 768px) {

    .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-buttons .hero-btn {
        width: 100%;
        min-width: 0;
        padding-inline: 10px;
    }

}


/* موبایل خیلی باریک */
@media (max-width: 430px) {

    .hero-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-buttons .hero-btn {
        min-height: 56px;
        font-size: 13px;
        padding-inline: 7px;
    }

}


/* ============================================================
   END TEMPORARY EVENT FEATURE
============================================================ */

/* ============================================================
   TEMPORARY EVENT FEATURE
   «همراهان نجات» + Popup
   ============================================================ */


/* ------------------------------------------------------------
   لینک همراهان نجات در منوی اصلی
   ------------------------------------------------------------ */

.navigation .nav-rescue-companions {
    position: relative;
}

.navigation .nav-rescue-companions::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #d4af37;
    transform: translateX(-50%);
    transition: width .3s ease;
}

.navigation .nav-rescue-companions:hover::after {
    width: 70%;
}


/* ------------------------------------------------------------
   خود Popup
   ------------------------------------------------------------ */

.rescue-companions-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


/* وقتی Popup باز است */

.rescue-companions-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* ------------------------------------------------------------
   پس زمینه تار Popup
   ------------------------------------------------------------ */

.rescue-companions-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(3, 15, 35, .82);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* ------------------------------------------------------------
   پنجره اصلی
   ------------------------------------------------------------ */

.rescue-companions-dialog {
    position: relative;
    z-index: 2;

    width: min(940px, 100%);
    max-height: 90vh;

    overflow-y: auto;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7fbff 100%
        );

    border: 1px solid rgba(255,255,255,.8);

    border-radius: 28px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.35),
        0 8px 30px rgba(0,0,0,.12);

    transform:
        translateY(25px)
        scale(.97);

    transition:
        transform .35s ease;
}


/* انیمیشن ورود */

.rescue-companions-modal.is-open
.rescue-companions-dialog {
    transform:
        translateY(0)
        scale(1);
}


/* ------------------------------------------------------------
   دکمه بستن
   ------------------------------------------------------------ */

.rescue-companions-close {
    position: absolute;

    top: 18px;
    left: 18px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #eef4f9;

    color: #08192b;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.rescue-companions-close:hover {
    background: #d71920;
    color: #ffffff;

    transform: rotate(90deg);
}


/* ------------------------------------------------------------
   سربرگ Popup
   ------------------------------------------------------------ */

.rescue-companions-header {
    text-align: center;

    margin-bottom: 14px;
    padding-inline: 45px;
}

.rescue-companions-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #eaf4ff,
            #ffffff
        );

    box-shadow:
        0 10px 25px rgba(15, 74, 122, .10);

    font-size: 30px;
}

.rescue-companions-header h2 {
    margin: 0;

    color: #08192b;

    font-size: 30px;
    font-weight: 800;
}

.rescue-companions-header p {
    margin: 10px auto 0;

    max-width: 650px;

    color: #64748b;

    font-size: 15px;
    line-height: 2;
}


/* ------------------------------------------------------------
   شبکه کارت‌ها
   ------------------------------------------------------------ */

.rescue-companions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 25px;
}


/* ------------------------------------------------------------
   کارت همراه نجات
   ------------------------------------------------------------ */

.rescue-companion-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #e5edf4;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(3, 15, 35, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.rescue-companion-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(3, 15, 35, .12);
}


/* ------------------------------------------------------------
   تصویر کارت
   ------------------------------------------------------------ */

.rescue-companion-card img {
    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}


/* ------------------------------------------------------------
   متن کارت
   ------------------------------------------------------------ */

.rescue-companion-content {
    padding: 17px;
}

.rescue-companion-label {
    display: inline-flex;

    margin-bottom: 7px;
    padding: 5px 10px;

    border-radius: 999px;

    background: #eef6ff;

    color: #0f4a7a;

    font-size: 11px;
    font-weight: 700;
}

.rescue-companion-card h3 {
    margin: 0;

    color: #08192b;

    font-size: 18px;
    font-weight: 800;
}

.rescue-companion-city {
    display: block;

    margin-top: 5px;

    color: #64748b;

    font-size: 12px;
}

.rescue-companion-card p {
    margin: 10px 0 0;

    color: #526274;

    font-size: 13px;
    line-height: 1.9;
}


/* ------------------------------------------------------------
   پیام پایانی Popup
   ------------------------------------------------------------ */

.rescue-companions-footer {
    margin-top: 25px;
    padding-top: 20px;

    border-top:
        1px solid #e5edf4;

    text-align: center;

    color: #526274;

    font-size: 14px;
    line-height: 2;
}

.rescue-companions-footer strong {
    color: #0f4a7a;
}


/* ------------------------------------------------------------
   جلوگیری از اسکرول صفحه هنگام باز بودن Popup
   ------------------------------------------------------------ */

body.rescue-companions-modal-open {
    overflow: hidden;
}


/* ------------------------------------------------------------
   تبلت
   ------------------------------------------------------------ */

@media (max-width: 850px) {

    .rescue-companions-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ------------------------------------------------------------
   موبایل
   ------------------------------------------------------------ */

@media (max-width: 520px) {

    .rescue-companions-modal {
        padding: 12px;
    }

    .rescue-companions-dialog {
        padding: 24px 16px;

        border-radius: 22px;

        max-height: 92vh;
    }

    .rescue-companions-header {
        padding-inline: 35px;
    }

    .rescue-companions-header h2 {
        font-size: 24px;
    }

    .rescue-companions-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .rescue-companions-close {
        top: 12px;
        left: 12px;

        width: 40px;
        height: 40px;

        font-size: 24px;
    }

}


/* ============================================================
   پایان استایل همراهان نجات
   ============================================================ */


/* ============================================================
   TEMPORARY EVENT FEATURE
   Popup «شهدا»
   ============================================================ */

.navigation .nav-shohada {
    position: relative;
}


/* ------------------------------------------------------------
   خود Popup
   ------------------------------------------------------------ */

.shohada-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.shohada-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* ------------------------------------------------------------
   پس زمینه
   ------------------------------------------------------------ */

.shohada-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 15, 35, .88);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* ------------------------------------------------------------
   پنجره تصویر
   ------------------------------------------------------------ */

.shohada-modal-dialog {
    position: relative;
    z-index: 2;

    width: min(1000px, 96vw);
    max-height: 92vh;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        scale(.94)
        translateY(15px);

    transition:
        transform .35s ease;
}

.shohada-modal.is-open
.shohada-modal-dialog {
    transform:
        scale(1)
        translateY(0);
}


/* ------------------------------------------------------------
   تصویر شهدا
   ------------------------------------------------------------ */

.shohada-modal-image {
    display: block;

    max-width: 100%;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0,0,0,.45);
}


/* ------------------------------------------------------------
   دکمه بستن
   ------------------------------------------------------------ */

.shohada-modal-close {
    position: absolute;

    top: -18px;
    left: -18px;

    z-index: 3;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #ffffff;

    color: #08192b;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0,0,0,.25);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.shohada-modal-close:hover {
    background: #d71920;
    color: #ffffff;

    transform: rotate(90deg);
}


/* ------------------------------------------------------------
   موبایل
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .shohada-modal {
        padding: 12px;
    }

    .shohada-modal-image {
        max-width: 100%;
        max-height: 88vh;

        border-radius: 12px;
    }

    .shohada-modal-close {
        top: 8px;
        left: 8px;

        width: 40px;
        height: 40px;

        font-size: 24px;
    }

}


/* ============================================================
   پایان Popup شهدا
   ============================================================ */

   /* ============================================================
   TEMPORARY EVENT FEATURE
   سیستم مشترک Popup پروژه‌ها
   ============================================================ */


/* ------------------------------------------------------------
   Popup اصلی
   ------------------------------------------------------------ */

.project-info-modal {
    position: fixed;
    inset: 0;

    z-index: 99997;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


/* Popup باز */

.project-info-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* ------------------------------------------------------------
   پس‌زمینه Popup
   ------------------------------------------------------------ */

.project-info-modal-backdrop {
    position: absolute;
    inset: 0;

    /*
       عمداً سبک‌تر از Popupهای قبلی است
       تا سایت پشت آن کمی دیده شود.
    */

    background:
        rgba(3, 15, 35, .55);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* ------------------------------------------------------------
   پنجره اصلی
   ------------------------------------------------------------ */

.project-info-modal-dialog {
    position: relative;

    z-index: 2;

    width: min(820px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 34px 38px 28px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7fbff 100%
        );

    border:
        1px solid rgba(255,255,255,.9);

    border-radius: 26px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.30),
        0 10px 35px rgba(0,0,0,.12);

    transform:
        translateY(25px)
        scale(.97);

    transition:
        transform .35s ease;
}


/* انیمیشن ورود */

.project-info-modal.is-open
.project-info-modal-dialog {

    transform:
        translateY(0)
        scale(1);
}


/* ------------------------------------------------------------
   دکمه بستن
   ------------------------------------------------------------ */

.project-info-modal-close {

    position: absolute;

    top: 16px;
    left: 16px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #eef4f9;

    color: #08192b;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.project-info-modal-close:hover {

    background: #d71920;

    color: #ffffff;

    transform: rotate(90deg);
}


/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.project-info-modal-header {

    text-align: center;

    padding:
        0 45px 22px;

    border-bottom:
        1px solid #e5edf4;
}


.project-info-modal-icon {

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #eaf4ff,
            #ffffff
        );

    box-shadow:
        0 8px 25px rgba(15,74,122,.10);

    font-size: 31px;
}


.project-info-modal-header h2 {

    margin: 0;

    color: #08192b;

    font-size: 29px;

    font-weight: 800;

    line-height: 1.6;
}


/* ------------------------------------------------------------
   متن Popup
   ------------------------------------------------------------ */

.project-info-modal-body {

    padding-top: 23px;

    color: #445568;

    font-size: 15px;

    line-height: 2.15;

    text-align: right;
}


.project-info-modal-body p {

    margin:
        0 0 15px;
}


/* ------------------------------------------------------------
   باکس مبلغ
   ------------------------------------------------------------ */

.project-info-modal-highlight {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin:
        22px 0;

    padding:
        17px 20px;

    background:
        #eef6ff;

    border:
        1px solid #d8eaf9;

    border-right:
        4px solid #0f4a7a;

    border-radius: 15px;

    color: #0f4a7a;

    font-size: 14px;
}


.project-info-modal-highlight strong {

    flex-shrink: 0;

    color: #d71920;

    font-size: 19px;

    font-weight: 900;

    white-space: nowrap;
}


/* ------------------------------------------------------------
   پیام پایانی
   ------------------------------------------------------------ */

.project-info-modal-note {

    margin-top: 20px;

    padding: 15px 18px;

    background:
        #fff8e6;

    border:
        1px solid #f3e1a9;

    border-radius: 14px;

    color: #705a20;

    font-size: 14px;

    line-height: 2;
}


/* ------------------------------------------------------------
   پایین Popup
   ------------------------------------------------------------ */

.project-info-modal-footer {

    display: flex;

    justify-content: center;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid #e5edf4;
}


.project-info-modal-action {

    min-width: 190px;

    min-height: 52px;

    padding:
        0 25px;

    border: none;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #d71920,
            #b81016
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(215,25,32,.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.project-info-modal-action:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px rgba(215,25,32,.28);
}


/* ------------------------------------------------------------
   اسکرول زیبا داخل Popup
   ------------------------------------------------------------ */

.project-info-modal-dialog::-webkit-scrollbar {
    width: 7px;
}

.project-info-modal-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.project-info-modal-dialog::-webkit-scrollbar-thumb {
    background: #cbd8e4;
    border-radius: 10px;
}


/* ------------------------------------------------------------
   جلوگیری از اسکرول صفحه
   ------------------------------------------------------------ */

body.project-info-modal-open {
    overflow: hidden;
}


/* ------------------------------------------------------------
   موبایل
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .project-info-modal {
        padding: 12px;
    }


    .project-info-modal-dialog {

        max-height: 93vh;

        padding:
            28px 18px 22px;

        border-radius: 22px;
    }


    .project-info-modal-header {

        padding:
            0 32px 18px;
    }


    .project-info-modal-header h2 {

        font-size: 23px;

        line-height: 1.7;
    }


    .project-info-modal-body {

        font-size: 14px;

        line-height: 2.1;
    }


    .project-info-modal-highlight {

        flex-direction: column;

        align-items: flex-start;

        gap: 6px;

        padding: 15px;
    }


    .project-info-modal-highlight strong {

        font-size: 18px;
    }


    .project-info-modal-close {

        top: 10px;
        left: 10px;

        width: 40px;
        height: 40px;

        font-size: 24px;
    }


    .project-info-modal-action {

        width: 100%;
    }

}
.project-info-modal-image {
    display: block;

    width: 110px;
    height: 80px;

    margin: 0 auto 16px;

    object-fit: contain;

    border-radius: 16px;

    background: #f3f8fc;

    padding: 8px;

    box-shadow:
        0 8px 22px rgba(15, 74, 122, .10);
}
@media (max-width: 600px) {

    .project-info-modal-image {
        width: 95px;
        height: 70px;
    }

}


/* ============================================================
   پایان CSS مشترک Popup پروژه‌ها
   ============================================================ */
   /* =========================================================
   کارت پنجم نیازهای اورژانس
   اورهال و بازسازی آمبولانس‌ها

   در نمایشگرهای بزرگ:
   ۵ کارت در یک ردیف قرار می‌گیرند.

   در تبلت و موبایل:
   قوانین Responsive قبلی سایت حفظ می‌شوند.
========================================================= */

@media (min-width: 1251px) {

    .needs-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

}


/* =========================================================
   ظاهر اختصاصی کارت اورهال
   ---------------------------------------------------------
   همان سبک کارت‌های فعلی است؛
   فقط یک ته‌رنگ بسیار ملایم برای تمایز موضوع تعمیرات.
========================================================= */

.overhaul-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef5fa
        );
}


/* کمی فضای بهتر برای تصویر اورهال */

.overhaul-card .need-image img {
    max-width: 100%;
}


/* =========================================================
   پایان استایل کارت اورهال
========================================================= */
/* =========================================================
   TEMPORARY UNIVERSITY MAP POPUP
   فقط استایل لیست دانشگاه‌ها
========================================================= */

.iran-map-trigger {
    display: block;
    cursor: pointer;
}

.iran-map-trigger img {
    cursor: pointer;
}


/* مقدمه Popup */

.universities-modal-intro {
    text-align: center;
    margin-bottom: 18px;
}


/* لیست دانشگاه‌ها */

.universities-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    max-height: 55vh;
    overflow-y: auto;

    padding: 4px;
}


/* هر دانشگاه */

.university-item {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;

    min-height: 54px;

    padding: 9px 12px;

    background: rgba(16, 44, 73, 0.055);

    border: 1px solid rgba(16, 44, 73, 0.10);

    border-radius: 12px;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.university-item:hover {
    transform: translateY(-2px);

    background: rgba(16, 44, 73, 0.10);

    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}


/* شماره */

.university-number {
    display: flex;

    width: 32px;
    height: 32px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #102c49;
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}


/* نام دانشگاه */

.university-item strong {
    color: #102c49;

    font-size: 14px;

    line-height: 1.7;
}


/* کد دانشگاه */

.university-item code {
    direction: ltr;

    white-space: nowrap;

    font-family: Arial, sans-serif;

    font-size: 12px;

    color: #8b6a20;

    background: rgba(201, 164, 76, .10);

    padding: 5px 7px;

    border-radius: 7px;
}


/* موبایل */

@media (max-width: 700px) {

    .universities-list {
        grid-template-columns: 1fr;

        max-height: 60vh;
    }


    .university-item {
        grid-template-columns: 36px 1fr auto;

        padding: 8px 10px;
    }


    .university-item strong {
        font-size: 13px;
    }


    .university-item code {
        font-size: 11px;
    }

}


/* موبایل خیلی کوچک */

@media (max-width: 420px) {

    .university-item {
        grid-template-columns: 34px 1fr;

        gap: 8px;
    }


    .university-item code {
        grid-column: 2;

        justify-self: start;

        margin-top: -4px;
    }

}