
/* =====================================================
   مسجد امام جعفر صادق (ع) - روستای سبحانیه
   طراحی کامل، واکنش‌گرا، RTL
===================================================== */

/* ---------- تنظیمات پایه ---------- */
:root {
    --primary: #176247;
    --primary-dark: #0c3d2b;
    --primary-soft: #e8f2eb;
    --gold: #c5a15c;
    --gold-soft: #f6efdf;
    --bg: #faf9f5;
    --surface: #ffffff;
    --text: #20352a;
    --muted: #758178;
    --border: #e7e9e2;
    --shadow-sm: 0 5px 20px rgba(14, 54, 37, .05);
    --shadow: 0 15px 40px rgba(14, 54, 37, .09);
    --shadow-lg: 0 25px 65px rgba(14, 54, 37, .15);
    --radius: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    overflow-x: hidden;
}

body, button, input {
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

button, input {
    font-size: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--primary);
    color: white;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.hidden {
    display: none !important;
}

/* ---------- هدر ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(250, 249, 245, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 161, 92, .18);
}

.header-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(145deg, #257858, var(--primary-dark));
    border: 1px solid rgba(197, 161, 92, .5);
    box-shadow: 0 6px 18px rgba(23, 98, 71, .18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-text strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-text span {
    font-size: 10px;
    color: #9b824e;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navigation a {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    color: #53655a;
    transition: color .2s;
}

.navigation a:hover {
    color: var(--primary);
}

.navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--gold);
    transition: width .25s;
}

.navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary);
    border-radius: 5px;
}

/* ---------- بخش Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0 100px;
    background:
        radial-gradient(ellipse at 78% 15%, rgba(213, 232, 218, .75), transparent 40%),
        linear-gradient(180deg, #fbfaf6 0%, #f2f6ef 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -150px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(197, 161, 92, .16);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 65px;
}

.hero-text {
    max-width: 580px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 161, 92, .25);
    border-radius: 50px;
    background: rgba(197, 161, 92, .09);
    color: #98753a;
    font-size: 11px;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.65;
    letter-spacing: -1px;
    font-weight: 800;
    color: var(--primary-dark);
}

.hero h1 span {
    color: #bd9652;
}

.hero-text > p {
    max-width: 530px;
    margin-bottom: 30px;
    color: #69786e;
    font-size: 13px;
    line-height: 2.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .25s, box-shadow .25s, background .25s;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #247452, #10432f);
    box-shadow: 0 9px 25px rgba(20, 85, 65, .18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 85, 65, .25);
}

.btn-primary span {
    font-size: 17px;
}

/* ---------- تصویر نمایشی ---------- */
.hero-visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-decoration {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e4eee3, #c0d8c6);
    box-shadow: inset 0 0 45px rgba(255, 255, 255, .4);
}

.hero-decoration::before {
    content: "";
    position: absolute;
    inset: 17px;
    border: 1px solid rgba(20, 85, 65, .15);
    border-radius: 50%;
}

.hero-decoration::after {
    content: "✦";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #b99757;
    font-size: 105px;
    text-shadow: 0 8px 30px rgba(197, 161, 92, .2);
    animation: starGlow 5s ease-in-out infinite;
}

.hero-card {
    position: relative;
    z-index: 2;
    width: 310px;
    min-height: 250px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(197, 161, 92, .3);
    border-radius: 28px;
    background: linear-gradient(150deg, #fff, #fcfaf5);
    box-shadow: 0 25px 70px rgba(20, 60, 40, .13);
    transform: rotate(-2deg);
    transition: transform .35s;
}

.hero-visual:hover .hero-card {
    transform: rotate(0) translateY(-5px);
}

.hero-card-icon {
    color: var(--gold);
    font-size: 30px;
}

.hero-card > span {
    color: var(--muted);
    font-size: 12px;
}

.hero-card strong {
    color: var(--primary);
    font-size: 23px;
}

.hero-card p {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- عنوان بخش‌ها ---------- */
.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #a17e43;
    font-size: 11px;
    font-weight: 800;
}

.section-heading h2 {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 27px;
    font-weight: 800;
    line-height: 2;
}

.section-heading p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2.2;
}

/* ---------- صندوق‌ها ---------- */
.funds-section {
    padding: 85px 0;
    background: var(--bg);
}

.funds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fund-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 28px;
    min-height: 315px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(155deg, #fff 65%, #fafbf7);
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.fund-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.fund-card:hover {
    transform: translateY(-7px);
    border-color: rgba(197, 161, 92, .38);
    box-shadow: var(--shadow);
}

.fund-card:hover::before {
    opacity: 1;
}

.fund-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.fund-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 25px;
    transition: transform .3s;
}

.fund-card:hover .fund-icon {
    transform: rotate(-5deg) scale(1.05);
}

.fund-mosque .fund-icon {
    color: #216345;
    background: linear-gradient(145deg, #e6f2e9, #d4e6d9);
}

.fund-mowkeb .fund-icon {
    color: #a17b36;
    background: linear-gradient(145deg, #f8f0df, #eee1c4);
}

.fund-fatiha .fund-icon {
    color: #78568c;
    background: linear-gradient(145deg, #f0eaf5, #e4d9ef);
}

.fund-tag {
    padding: 5px 10px;
    border: 1px solid #efeee7;
    border-radius: 30px;
    background: #f8f7f2;
    color: #858c82;
    font-size: 10px;
}

.fund-card h3 {
    margin-bottom: 10px;
    color: #123e2e;
    font-size: 19px;
    font-weight: 800;
}

.fund-card > p {
    margin-bottom: 22px;
    color: #748077;
    font-size: 12px;
    line-height: 2.3;
}

.fund-button {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(20, 85, 65, .08);
    border-radius: 13px;
    background: linear-gradient(135deg, #eaf3ed, #e1eee6);
    color: #16523a;
    font-size: 12px;
    font-weight: 800;
    transition: transform .2s, background .2s, box-shadow .2s;
}

.fund-button:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(135deg, #17583f, #0d3d2b);
    box-shadow: 0 9px 23px rgba(20, 85, 65, .16);
}

/* ---------- آیات قرآن ---------- */
.quran-section {
    padding: 85px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(197, 161, 92, .07), transparent 30%),
        #f5f6f0;
}

.quran-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.quran-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 23px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}

.quran-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.quran-reference {
    display: block;
    margin-bottom: 16px;
    color: #a17e43;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.quran-arabic {
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-family: "Vazirmatn", Tahoma, serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 2.6;
    text-align: center;
}

.quran-translation {
    color: var(--muted);
    font-size: 12px;
    line-height: 2.4;
    text-align: center;
}

.verse-reflection {
    margin-top: 17px;
    padding: 12px;
    border: 1px solid #f0e8d8;
    border-radius: 12px;
    background: #faf7f0;
    color: #8a744d;
    font-size: 11px;
    line-height: 2.2;
}

/* ---------- شفافیت ---------- */
.transparency-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(circle at left bottom, rgba(197, 161, 92, .09), transparent 35%),
        linear-gradient(135deg, #edf3ed, #e6eee7);
}

.transparency-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}

.transparency-text h2 {
    margin-bottom: 14px;
    color: #103d2c;
    font-size: 28px;
    line-height: 2;
}

.transparency-text p {
    color: #63756a;
    font-size: 12px;
    line-height: 2.5;
}

.transparency-box {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(197, 161, 92, .2);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    transition: transform .3s;
}

.transparency-box:hover {
    transform: translateY(-4px);
}

.transparency-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #e6f1e9, #d5e7dc);
    color: #1b6244;
    font-size: 22px;
    font-weight: 800;
}

.transparency-box strong {
    color: #164d37;
    font-size: 15px;
}

.transparency-box > span {
    color: var(--muted);
    font-size: 12px;
    line-height: 2.2;
}

/* ---------- درباره ---------- */
.about-section {
    padding: 85px 0;
    background: var(--bg);
}

.about-content {
    max-width: 850px;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 15px;
    color: #123e2e;
    font-size: 27px;
    line-height: 2;
}

.about-content p {
    color: #6e7a71;
    font-size: 12px;
    line-height: 2.6;
}

/* ---------- فوتر ---------- */
.footer {
    position: relative;
    overflow: hidden;
    padding: 35px 0;
    background: linear-gradient(120deg, #0b382a, #15513a);
    border-top: 1px solid rgba(197, 161, 92, .35);
    color: #fff;
}

.footer::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(197, 161, 92, .13);
    border-radius: 50%;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-brand strong {
    color: #fff;
    font-size: 14px;
}

.footer-brand span,
.footer-content > p {
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    line-height: 2;
}

/* ---------- پنجره مشارکت ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow-y: auto;
    background: rgba(5, 26, 17, .72);
    backdrop-filter: blur(8px);
}

.modal-overlay.hidden {
    display: none !important;
}

.modal {
    position: relative;
    width: min(470px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px;
    border: 1px solid rgba(197, 161, 92, .25);
    border-radius: 27px;
    background: linear-gradient(160deg, #fff, #fcfbf7);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .25);
    animation: modalIn .25s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f7f6f1;
    color: #66746a;
    font-size: 23px;
    transition: transform .2s, background .2s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #eeeee6;
}

.modal-header {
    padding: 5px 0 20px;
}

.modal-label {
    display: block;
    margin-bottom: 6px;
    color: #b08b4c;
    font-size: 10px;
    font-weight: 800;
}

.modal-header h2 {
    margin-bottom: 6px;
    color: #124531;
    font-size: 23px;
    font-weight: 800;
}

.modal-header p {
    color: var(--muted);
    font-size: 11px;
    line-height: 2;
}

/* ---------- فرم ---------- */
.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #31463a;
    font-size: 11px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #e3e7de;
    border-radius: 12px;
    outline: none;
    background: #fdfdfb;
    color: var(--text);
    font-size: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input::placeholder {
    color: #a0a79e;
}

.form-group input:focus {
    border-color: #23684b;
    box-shadow: 0 0 0 4px rgba(35, 104, 75, .08);
}

.form-group input:disabled {
    background: #f0f1ec;
    color: #888;
    cursor: not-allowed;
}

/* مبلغ‌ها */
.amount-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 10px;
}

.amount-option {
    min-height: 43px;
    padding: 9px;
    border: 1px solid #e8e9e1;
    border-radius: 12px;
    background: #f8f8f4;
    color: #5c6b60;
    font-size: 11px;
    font-weight: 700;
    transition: transform .2s, background .2s, border-color .2s;
}

.amount-option:hover {
    transform: translateY(-2px);
}

.amount-option.active {
    border-color: #286448;
    background: #e5f0e8;
    color: #16533a;
    box-shadow: 0 0 0 2px rgba(40, 100, 72, .07);
}

/* صندوق فاتحه */
.fatiha-fields {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #e8dfef;
    border-radius: 17px;
    background: linear-gradient(145deg, #faf7fc, #f5eff9);
}

.fatiha-fields .form-group:last-child {
    margin-bottom: 0;
}

/* ناشناس */
.anonymous-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin: 14px 0;
    border: 1px solid #eeeee6;
    border-radius: 12px;
    background: #f8f8f4;
    color: #657168;
    font-size: 11px;
    cursor: pointer;
    transition: background .2s;
}

.anonymous-option:hover {
    background: #f0f3ed;
}

.anonymous-option input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* دکمه نهایی */
.submit-payment {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 13px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #1c684c, #104330);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(20, 85, 65, .16);
    transition: transform .2s, box-shadow .2s, background .2s;
}

.submit-payment:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #237454, #0c3828);
    box-shadow: 0 15px 32px rgba(20, 85, 65, .22);
}

.payment-notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f7f2;
    color: #85877e;
    font-size: 10px;
    line-height: 2.2;
    text-align: center;
}

/* ---------- آیه در پنجره ---------- */
.verse-step,
.payment-step {
    width: 100%;
}

.verse-box {
    margin: 5px 0 20px;
    padding: 20px;
    border: 1px solid #e6eae2;
    border-radius: 20px;
    background: linear-gradient(145deg, #f6f8f4, #fff);
}

.verse-box .quran-reference {
    margin-bottom: 12px;
}

.verse-box .quran-arabic {
    margin: 12px 0 18px;
    font-size: 23px;
    line-height: 2.6;
}

.verse-box .quran-translation {
    font-size: 12px;
    line-height: 2.4;
}

.verse-box .verse-reflection {
    margin-top: 16px;
}

/* ---------- انیمیشن ---------- */
@keyframes starGlow {
    0%, 100% {
        opacity: .65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- تبلت ---------- */
@media (max-width: 950px) {
    .hero {
        padding: 70px 0;
    }

    .hero-content {
        gap: 35px;
    }

    .hero-decoration {
        width: 290px;
        height: 290px;
    }

    .hero-card {
        width: 275px;
    }

    .funds-grid {
        gap: 15px;
    }

    .fund-card {
        padding: 23px;
    }

    .quran-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transparency-content {
        gap: 30px;
    }
}

/* ---------- موبایل ---------- */
@media (max-width: 720px) {
    .container {
        width: min(100% - 30px, 550px);
    }

    .header-content {
        min-height: 72px;
    }

    .brand {
        gap: 9px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 15px;
        left: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    .navigation a:hover {
        background: var(--primary-soft);
    }

    .navigation a::after {
        display: none;
    }

    .hero {
        padding: 55px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-text {
        text-align: center;
        margin-inline: auto;
    }

    .hero-label {
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.8;
    }

    .hero-text > p {
        font-size: 12px;
        line-height: 2.4;
        margin-inline: auto;
    }

    .hero-visual {
        min-height: 290px;
    }

    .hero-decoration {
        width: 250px;
        height: 250px;
    }

    .hero-decoration::after {
        font-size: 80px;
    }

    .hero-card {
        width: 245px;
        min-height: 210px;
        padding: 25px;
    }

    .funds-section,
    .quran-section,
    .about-section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 22px;
        line-height: 2;
    }

    .section-heading p {
        font-size: 11px;
    }

    .funds-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fund-card {
        min-height: unset;
        padding: 23px;
        border-radius: 21px;
    }

    .fund-card h3 {
        font-size: 18px;
    }

    .fund-card > p {
        font-size: 12px;
    }

    .quran-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quran-card {
        padding: 23px;
    }

    .quran-card .quran-arabic {
        font-size: 20px;
    }

    .transparency-section {
        padding: 60px 0;
    }

    .transparency-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .transparency-text h2,
    .about-content h2 {
        font-size: 22px;
        line-height: 2;
    }

    .transparency-text p,
    .about-content p {
        font-size: 12px;
        line-height: 2.4;
    }

    .transparency-box {
        padding: 25px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .modal-overlay {
        padding: 12px;
        align-items: center;
    }

    .modal {
        padding: 23px 18px;
        border-radius: 22px;
        max-height: 94vh;
    }

    .modal-header h2 {
        font-size: 21px;
    }

    .verse-box {
        padding: 15px;
    }

    .verse-box .quran-arabic {
        font-size: 21px;
    }
}

/* ---------- موبایل کوچک ---------- */
@media (max-width: 380px) {
    .brand-text strong {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-card {
        width: 220px;
    }

    .fund-card {
        padding: 19px;
    }

    .modal {
        padding: 20px 15px;
    }

    .amount-option {
        font-size: 10px;
    }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
