/* تنظیمات پایه و فونت یکان */
@font-face {
    font-family: 'Yekan';
    src: url('assets/font/Yekan.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yekan', Tahoma, sans-serif;
    background-color: #f5f5f5;
    direction: rtl;
}

/* تنظیمات بخش هیرو */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-color: #222;
}

/* نوار ناوبری */
.navbar {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px 15px 8px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    color: #333;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 45px;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e4a7a;
}

.brand-sub {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-top: -5px;
}

.nav-center {
    display: flex;
    gap: 20px;
}

.nav-center a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-center a:hover {
    color: #1e4a7a;
}

.nav-right .cta-btn {
    display: flex;
    align-items: center;
    background-color: #1e4a7a;
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    gap: 10px;
    font-size: 0.9rem;
}

.nav-right .icon-circle {
    background: #f39c12;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* محتوای مرکزی (باکس شیشه‌ای) */
.hero-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 80px;
}

.hero-content-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 50px;
    border-radius: 20px;
    width: 55%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
    color: #333;
    border: 1px solid rgba(255,255,255,0.3);
}

.main-title {
    font-size: 2.5rem;
    color: #1e4a7a;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: #1e4a7a;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid #f39c12;
    color: #555;
}

.btn-outline .phone-icon {
    background: #f39c12;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* المان‌های تزئینی شناور (مکعب‌های نارنجی و آبی) */
.floating-shape {
    position: absolute;
    border-radius: 10px;
    z-index: -1;
}
.shape-1 {
    width: 25px;
    height: 25px;
    background: #f39c12;
    top: -15px;
    right: -15px;
    transform: rotate(15deg);
}
.shape-2 {
    width: 20px;
    height: 20px;
    background: #1e4a7a;
    bottom: -10px;
    left: -10px;
    transform: rotate(45deg);
}

/* دکمه ویدیو */
.video-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    margin-top: 30px;
    cursor: pointer;
    gap: 10px;
    color: #333;
    font-family: inherit;
    font-size: 0.9rem;
}

.play-icon {
    background: #f39c12;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

/* بخش ویژگی‌ها (نوار سفید پایین) - اصلاح استایل آیکون‌ها */
.features-wrapper {
    position: relative;
    width: 100%;
    margin-top: -60px;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.features-wrapper .container {
    background: #fff;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* استایل جدید برای آیکون‌ها (دایره آبی با آیکون سفید) */
.feature-card .icon-box {
    width: 50px;
    height: 50px;
    background-color: #1e4a7a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-box {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1rem;
    color: #1e4a7a;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 0.8rem;
    color: #777;
}

/* واکنش‌گرا (موبایل) */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        border-radius: 20px;
        gap: 15px;
        padding: 15px;
    }
    .nav-center {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content-box {
        width: 90%;
        padding: 30px;
    }
    .features-wrapper .container {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }
    .feature-card {
        width: 45%;
    }
}
/* ========================================= */
/* تنظیمات سکشن درباره ما (About Section) */
/* ========================================= */
.about-section {
    padding: 40px 0;
}

.about-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* --- ستون سمت راست (متن) --- */
.about-text-col {
    flex: 1;
    padding-right: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #1e2a3a; /* رنگ تیره برای تیتر */
    margin: 0;
}

.section-header .line-accent {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #f39c12; /* خط نارنجی */
    border-radius: 5px;
}

.about-desc {
    font-size: 1rem;
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
    text-align: justify;
}

/* --- آیکون‌های پایین سمت راست --- */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-feature-item .feat-icon-box {
    width: 60px;
    height: 60px;
    background-color: #e0f2fe; /* آبی روشن/فیروزه‌ای */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e4a7a; /* رنگ آیکون سرمه‌ای */
}

.about-feature-item .feat-text h4 {
    font-size: 1.1rem;
    color: #1e2a3a;
    margin-bottom: 4px;
}

.about-feature-item .feat-text p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* --- ستون سمت چپ (تصویر و باکس تایم‌لاین) --- */
.about-image-col {
    flex: 1;
    position: relative;
}

.about-img-wrapper {
    position: relative;
    width: 100%;
    /* باکس اصلی تصویر */
    border-radius: 15px;
    overflow: hidden;
    /* برای اینکه باکس شناور نسبت به این کادر موقعیت‌دهی شود */
}

.about-img-wrapper .main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}

/* --- باکس شناور "مسیر پیشرفت ما" --- */
.timeline-box {
    position: absolute;
    bottom: 30px;
    right: -40px; /* مقدار منفی برای بیرون زدگی از تصویر (طبق عکس) */
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 220px;
    z-index: 10;
}

.timeline-title {
    font-size: 1.1rem;
    color: #1e2a3a;
    margin-bottom: 20px;
    text-align: center;
}

.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
    padding-right: 25px; /* فاصله از سمت راست برای خط */
}

.timeline-item .year {
    font-weight: bold;
    color: #555;
    width: 40px;
    font-size: 0.9rem;
}

.timeline-item .desc {
    flex: 1;
    font-size: 0.85rem;
    color: #888;
    margin-right: 10px;
}

.timeline-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    position: absolute;
    right: 0;
    top: 4px; /* تنظیم تراز عمودی با متن */
    z-index: 2;
}

/* حالت فعال (دایره نارنجی) برای اولین مورد */
.timeline-item .dot.active-dot {
    background-color: #f39c12;
    border-color: #f39c12;
}

/* خط اتصال بین دایره‌ها */
.timeline-item .line-connector {
    position: absolute;
    right: 4px; /* وسط دایره */
    top: 14px; /* زیر دایره بالایی */
    width: 2px;
    height: 24px; /* ارتفاع خط تا دایره بعدی */
    background-color: #e0e0e0;
    z-index: 1;
}

.timeline-item.last-item .line-connector {
    display: none; /* خط آخر حذف شود */
}

/* واکنش‌گرا (موبایل و تبلت) */
@media (max-width: 992px) {
    .about-section .container {
        flex-direction: column-reverse; /* در موبایل عکس بالا و متن پایین */
        gap: 30px;
    }
    
    .about-image-col {
        width: 100%;
    }
    
    .timeline-box {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -30px; /* کمی روی عکس را بگیرد */
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-text-col {
        padding-right: 0;
        padding-top: 20px;
    }
}
/* --- استایل دکمه‌های داخل کارت --- */
.product-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.product-actions .product-btn {
    flex: 1; /* هر دکمه نصف فضا را بگیرد */
    padding: 8px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.product-actions .whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}
.product-actions .whatsapp-btn i {
    color: #25D366;
}

.product-actions .whatsapp-btn:hover {
    background-color: #25D366;
    color: #ffffff;
    border-color: #25D366;
}
.product-actions .whatsapp-btn:hover i {
    color: #ffffff;
}

/* ========================================= */
/* تنظیمات پاپ‌اپ (Modal) */
/* ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* وقتی پاپ‌اپ باز می‌شود (این کلاس توسط جاوا اسکریپت اضافه می‌شود) */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* افکت باز شدن الاستیک */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 15px; /* چون راست‌چین است، سمت چپ صفحه قرار می‌گیرد */
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.modal-close-btn:hover {
    background: #e0e0e0;
}

.modal-body {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row-reverse; /* تنظیم برای حالت RTL */
}

.modal-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-img img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal-info h3 {
    font-size: 1.8rem;
    color: #1e2a3a;
    margin-bottom: 15px;
}

.modal-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.modal-order-btn:hover {
    background-color: #1ebe5a;
}

/* واکنش‌گرا پاپ‌اپ */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        text-align: center;
    }
    .modal-info {
        align-items: center;
    }
}
/* ========================================= */
/* تنظیمات سکشن محصولات (Products Section) */
/* ========================================= */
.products-section {
    padding: 80px 0;
    background-color: #f5f6f8; /* رنگ پس‌زمینه خاکستری خیلی روشن */
}

.products-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- هدر سکشن --- */
.products-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.products-header h2 {
    font-size: 2rem;
    color: #1e2a3a;
    margin: 0;
}

.products-header .line-accent-right,
.products-header .line-accent-left {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #f39c12;
    border-radius: 5px;
}

/* --- گرید محصولات --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 ستون */
    gap: 25px;
}

/* --- کارت محصول --- */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #ebebeb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.product-card .product-img {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.product-card .product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* حفظ تناسب تصویر بدون کشیدگی */
}

.product-card .product-title {
    font-size: 1.1rem;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.product-card .product-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* فشار دادن دکمه به پایین در صورت طولانی بودن متن */
}

/* --- دکمه محصول --- */
.product-card .product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 25px;
    border: 1px solid #cce4f5;
    border-radius: 30px;
    color: #1e4a7a;
    background-color: transparent;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
}

.product-card .product-btn span {
    color: #f39c12;
    font-weight: bold;
}

.product-card .product-btn:hover {
    background-color: #1e4a7a;
    color: #ffffff;
    border-color: #1e4a7a;
}

.product-card .product-btn:hover span {
    color: #ffffff;
}

/* --- واکنش‌گرا (Responsive) --- */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* تبلت: 2 ستون */
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr; /* موبایل: 1 ستون */
    }
    
    .products-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .products-header .line-accent-right,
    .products-header .line-accent-left {
        width: 50px;
    }
}
/* ========================================= */
/* تنظیمات سکشن نمونه کارها (Portfolio Section) */
/* ========================================= */
.portfolio-section {
    padding: 60px 0 40px 0;
    background-color: #153852; /* پس‌زمینه سرمه‌ای تیره */
    color: #ffffff;
}

.portfolio-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- هدر سکشن --- */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-center h2 {
    font-size: 2rem;
    margin: 0;
}

.header-center .line-accent-right,
.header-center .line-accent-left {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #f39c12;
    border-radius: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-all-btn {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #f39c12;
    border-color: #f39c12;
}

.view-all-btn span {
    color: #f39c12;
    font-weight: bold;
}
.view-all-btn:hover span {
    color: #ffffff;
}

.nav-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-btn:hover {
    background-color: #f39c12;
    border-color: #f39c12;
}

/* --- گالری تصاویر --- */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3; /* نسبت ابعاد تصویر */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* ========================================= */
/* تنظیمات بخش آمار (Stats Section) */
/* ========================================= */
.stats-section {
    background-color: #153852; /* ادامه رنگ پس‌زمینه */
    padding-bottom: 60px;
}

.stats-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 10px 0;
}

/* --- خط جداکننده بین آیتم‌ها --- */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e0e0e0;
}
/* تنظیم برای حالت RTL (خط سمت چپ هر آیتم قرار می‌گیرد) */
.stat-item:not(:last-child)::after {
    right: auto;
    left: -10px; 
}

.stat-icon-box {
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border: 1px solid #e6eff8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e4a7a;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(30, 74, 122, 0.08);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1e2a3a;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.stat-dots {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.stat-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f39c12;
    opacity: 0.3;
}

.stat-dots .dot:nth-child(2) {
    opacity: 0.6;
}
.stat-dots .dot:nth-child(3) {
    opacity: 1;
}

/* --- واکنش‌گرا (Responsive) --- */
@media (max-width: 1024px) {
    .portfolio-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .portfolio-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* ========================================= */
/* تنظیمات عمومی هدر سکشن‌ها */
/* ========================================= */
.section-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.section-header-center h2 {
    font-size: 2rem;
    color: #1e2a3a;
    margin: 0;
}

.section-header-center .line-accent-right,
.section-header-center .line-accent-left {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #f39c12;
    border-radius: 5px;
}

/* ========================================= */
/* تنظیمات نظرات مشتریان (Testimonials) */
/* ========================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 3rem;
    color: #f39c12;
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1rem;
    color: #1e2a3a;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: #888;
}

.author-logo {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e4a7a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f39c12;
    opacity: 0.2;
}

.testimonial-dots .dot.active {
    opacity: 1;
}


/* ========================================= */
/* تنظیمات سوالات متداول (FAQ) */
/* ========================================= */
.faq-section {
    padding: 80px 0;
    background-color: #f5f6f8;
}

.faq-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 18px 25px;
    background: transparent;
    border: none;
    text-align: right;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    color: #1e2a3a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-icon {
    background: #1e4a7a;
    color: #ffffff;
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: #777;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

.faq-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ========================================= */
/* تنظیمات فوتر (Footer) */
/* ========================================= */
.site-footer {
    background-color: #153852;
    color: #e0e0e0;
    padding: 60px 0 40px 0;
}

.site-footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Brand Column */
.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand-col .footer-logo img {
    height: 55px;
}

.brand-col .footer-logo .logo-text h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0;
}

.brand-col .footer-logo .logo-text span {
    font-size: 0.8rem;
    color: #aabbcc;
}

.footer-about {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #f39c12;
    padding-right: 5px;
}

/* Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact li i {
    font-size: 1.2rem;
    color: #f39c12;
    margin-top: 3px;
}

.footer-contact li a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-contact li a:hover {
    color: #f39c12;
}

.footer-contact li span {
    line-height: 1.6;
    color: #cccccc;
}


/* ========================================= */
/* واکنش‌گرا (Responsive) */
/* ========================================= */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-layout {
        flex-direction: column-reverse;
    }
    .faq-image img {
        height: 250px;
    }
    .footer-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .brand-col .footer-logo {
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
}
/* ========================================= */
/* استایل اسکرول بار (Scrollbar Styling) */
/* ========================================= */

/* برای مرورگرهای مبتنی بر Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px; /* عرض اسکرول بار عمودی */
    height: 10px; /* ارتفاع اسکرول بار افقی */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* رنگ پس‌زمینه مسیر اسکرول */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1e4a7a; /* رنگ سرمه‌ای برای دستگیره اسکرول */
    border-radius: 10px;
    border: 2px solid #f1f1f1; /* فاصله از لبه‌ها برای زیبایی بیشتر */
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #f39c12; /* وقتی ماوس روی اسکرول بار می‌رود نارنجی شود */
}

/* برای مرورگر فایرفاکس (Firefox) */
* {
    scrollbar-width: thin; /* نازک کردن اسکرول بار */
    scrollbar-color: #1e4a7a #f1f1f1; /* رنگ دستگیره و مسیر اسکرول */
}