#container {
    height: 500px;
    min-width: 310px;
    max-width: 800px;
    margin: 0 auto;
}

.loading {
    margin-top: 10em;
    text-align: center;
    color: gray;
}

/* تنظیمات ویژه موبایل */
@media (max-width: 991px) {
    /* کاهش فاصله هیرو در موبایل */
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    /* تنظیم تصویر هیرو در موبایل */
    .hero-img {
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-height: 200px;
        width: auto;
    }
    
    /* تراز کردن متن در موبایل */
    .hero-content {
        text-align: center !important;
        padding: 0 15px;
    }
    
    .hero-content .ms-5 {
        margin-left: 0 !important;
    }
    
    .hero-desc {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    /* دکمه‌های هیرو در موبایل */
    .hero-content .d-flex {
        justify-content: center !important;
    }
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #f0f4f8;
    color: #1a1a2e;
    overflow-x: hidden;
}

:root {
    --primary-teal: #1abc9c;
    --primary-dark: #0f2b3d;
    --text-dark: #1a1a2e;
    --text-light: #6c7a89;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

a {
    text-decoration: none;
}

.btn-teal {
    background: var(--primary-teal);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-teal:hover {
    background: #16a085;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 188, 156, 0.4);
}

.btn-outline-light-custom {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

.btn-outline-teal {
    background: transparent;
    color: var(--primary-teal);
    border: 1.5px solid var(--primary-teal);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline-teal:hover {
    background: var(--primary-teal);
    color: #fff;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(15, 43, 61, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    transition: 0.3s;
    border-radius: 20px;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-toggler {
    border: none;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0f2b3d 0%, #1a3a4f 100%);
    padding: 40px 0;
    overflow: hidden;
}

/* .hero-bg {
    position: absolute;
    inset: 0;
    background: url('/files/bg2.png') center/contain no-repeat;
    opacity: 0.08;
    pointer-events: none;
} */

.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-teal);
    display: inline-block;
    border-bottom: 4px solid var(--primary-teal);
    padding-bottom: 4px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-img {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    max-width: 800px;
    height: auto;
    box-shadow: var(--shadow);
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    border-radius: 16px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eef2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===== ISSUES ===== */
.issues-section {
    padding: 70px 0;
    background: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-teal);
    margin: 12px auto 0;
    border-radius: 4px;
}

.section-title.white {
    color: #fff;
}

.section-title.white::after {
    background: #fff;
}

.section-title.right {
    text-align: right;
}

.section-title.right::after {
    margin: 12px 0 0;
}

.issue-card {
    background: #f9fcff;
    padding: 24px 16px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eef2f7;
    height: 100%;
}

.issue-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-teal);
}

.issue-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #fff;
}

.issue-icon.purple {
    background: #8e44ad;
}

.issue-icon.red {
    background: #e74c3c;
}

.issue-icon.green {
    background: #27ae60;
}

.issue-icon.orange {
    background: #f39c12;
}

.issue-icon.blue {
    background: #2980b9;
}

.issue-icon.teal {
    background: #1abc9c;
}

.issue-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.issue-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 70px 0;
    background: #f8faff;
}

.timeline {
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(to left, var(--primary-teal), #d5e8e0);
    z-index: 0;
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.timeline-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-step {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-teal);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.timeline-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 8px;
}

.timeline-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    max-width: 160px;
    margin: 4px auto 0;
    line-height: 1.5;
}

/* ===== SERVICES ===== */
.services-section {
    padding: 70px 0;
    background: #fff;
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
    border: 1px solid #eef2f7;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-body {
    padding: 20px 16px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.6;
}

.carousel-btn {
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    font-size: 18px;
    color: var(--primary-dark);
    transition: 0.3s;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-teal);
    color: #fff;
}

/* ===== DARK STATS ===== */
.dark-stats {
    padding: 70px 0;
    background: var(--primary-dark);
}

.dark-stat-item {
    text-align: center;
    color: #fff;
}

.dark-stat-icon {
    font-size: 32px;
    color: var(--primary-teal);
    display: block;
    margin-bottom: 8px;
}

.dark-stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.dark-stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== PARTICIPANTS ===== */
.participants-section {
    padding: 70px 0;
    background: #f8faff;
}

.participant-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-teal);
    margin: 0 auto 8px;
    transition: 0.3s;
    border: 1px solid #eef2f7;
}

.participant-icon:hover {
    background: var(--primary-teal);
    color: #fff;
    transform: scale(1.05);
}

.participant-label {
    font-size: 0.75rem;
    color: var(--text-dark);
    text-align: center;
    font-weight: 500;
}

.map-iran {
    text-align: center;
}

.map-iran svg {
    max-width: 100%;
    height: auto;
}

.news-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.news-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.news-item:last-child {
    border-bottom: none;
}

.news-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: #0b1f2b;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: 0.3s;
}

.footer-link:hover {
    color: #fff;
    padding-right: 6px;
}

.footer-contact {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--primary-teal);
    margin-top: 4px;
    width: 18px;
}

.social-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    transition: 0.3s;
    font-size: 16px;
}

.social-icon:hover {
    background: var(--primary-teal);
    color: #fff;
    transform: translateY(-3px);
}

.footer-badge {
    font-size: 48px;
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== PAGE SECTIONS (فرم‌ها و پیگیری) ===== */
.page-section {
    padding: 60px 0;
    min-height: 70vh;
    position: relative;
    background: linear-gradient(135deg, #e8f0fe 0%, #f8faff 100%);
}

.page-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/files/bg2.png') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.4s;
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    box-shadow: 0 30px 80px rgba(26, 188, 156, 0.12);
    transform: translateY(-4px);
}

.page-header {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-align: center;
}

.page-header small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    display: block;
    margin-top: 6px;
}

.form-icon {
    font-size: 48px;
    color: var(--primary-teal);
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control,
.form-select {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 18px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.15);
    background: #fff;
}

.track-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-right: 6px solid var(--primary-teal);
}

.status-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.pending {
    background: #f1c40f;
    color: #7d6608;
}

.status-badge.approved {
    background: #2ecc71;
    color: #145a32;
}

.status-badge.rejected {
    background: #e74c3c;
    color: #641e16;
}

.comment-box {
    background: rgba(241, 244, 249, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 12px;
    border-right: 4px solid var(--primary-teal);
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-panel .btn-sm {
    padding: 6px 18px;
    font-size: 0.8rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-approve {
    background: #2ecc71;
    color: #fff;
    border: none;
}

.btn-approve:hover {
    background: #27ae60;
}

.btn-reject {
    background: #e74c3c;
    color: #fff;
    border: none;
}

.btn-reject:hover {
    background: #c0392b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        text-align: center !important;
    }

    .glass-card {
        padding: 28px 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .page-header {
        font-size: 1.6rem;
    }

    .admin-panel {
        bottom: 16px;
        left: 16px;
        padding: 10px 14px;
    }
}