:root {
    --theme-color: #ffbb00;
    --primary-color: #ba131a;
    --secondary-color: #3d3e3e;
    --border-radius:10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== تعریف فونت وزیرمتن به صورت آفلاین ========== */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100;
    src: url('../webfonts/Vazirmatn-Thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 200;
    src: url('../webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    src: url('../webfonts/Vazirmatn-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    src: url('../webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    src: url('../webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    src: url('../webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    src: url('../webfonts/Vazirmatn-Black.woff2') format('woff2');
    font-display: swap;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* container ریسپانسیو */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* بخش های اصلی */
section {
    padding-top: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    color: #0a2b3e;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #2c7da0;
    margin: 16px auto 0;
    border-radius: var(--border-radius);
}

/* هدر (نوار ناوبری) */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.phone-link{
    color:var(--primary-color);
    font-weight: 500;
}


.phone-number {
    direction: ltr;
    font-weight: bold;
    color: #007bff;
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
}

/* برای موبایل که منو کشویی است، شماره هم در همان لیست نمایش داده می‌شود */
@media (max-width: 768px) {
    .phone-link {
        display: block;
        padding: 10px 0;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    transition: all 0.3s ease;
}

/* border پایین برای لینک فعال/جاری */
.nav-links li.active {
    border-bottom: 3px solid #007bff;
}

/* border هنگام hover روی li */
.nav-links li:hover {
    border-bottom: 3px solid #007bff;
}

/* یا اگر می‌خواهید border دور تا دور li بیاید */
.nav-links li.active-border {
    border: 2px solid #007bff;
    border-radius: var(--border-radius);
}

/* استایل شماره تلفن */
.phone-link {
    direction: ltr;
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* در موبایل */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        width: 100%;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #1e4a6e;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #419de4 0%, #5a9ece 100%);
    padding: 100px 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0a2b3e;
}

.hero-content p {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 32px;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background-color: #2c7da0;
    color: white;
    box-shadow: 0 4px 8px rgba(44, 125, 160, 0.2);
}

.btn-primary:hover {
    background-color: #1f5e7a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #2c7da0;
    color: #2c7da0;
}

.btn-outline:hover {
    background: #2c7da0;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

/* خدمات ما */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #2c7da0;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* درباره ما */
.about-wrapper {

}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #0a2b3e;
}

.about-text p {
    margin-bottom: 20px;
    color: #374151;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c7da0;
}

.about-image {
    flex: 1;
    text-align: center;
    margin-top: 70px;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* تماس با ما */
.contact-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail i {
    font-size: 1.4rem;
    width: 40px;
    color: #2c7da0;
}

.contact-form {
    flex: 1;
}
.contact-form h3{
    margin-bottom: 17px;
}
.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
    background: #f9fafb;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2c7da0;
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

button[type="submit"] {
    background-color: #2c7da0;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

button[type="submit"]:hover {
    background-color: #1f5e7a;
}

/* فوتر */
footer {
    background-color: #0a2b3e;
    color: #cddfe7;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cddfe7;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #2c7da0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: #cddfe7;
}

.copyright {
    text-align: center;
    border-top: 1px solid #2c4456;
    padding-top: 24px;
    font-size: 0.9rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 20px;
        margin-top: 16px;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-container {
        flex-direction: row;
    }

    .hero,
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-grid {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .about-wrapper{
        display: block;
    }
.about-image{
    margin-top: 30px;
}
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ========== اسلایدشو / اسلایدر ========== */
.slider-section {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-content {
    position: absolute;
    right: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    text-align: right;
    animation: slideUp 0.8s ease-out;
    background: linear-gradient(135deg, rgba(10, 43, 62, 0.75) 0%, rgba(44, 125, 160, 0.65) 100%);
    bottom: -8px;
    padding: 18px;
    border-radius: var(--border-radius);
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.slide-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.slide-content .btn {
    background-color: #2c7da0;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-content .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.slide-content .btn-outline:hover {
    background: white;
    color: #2c7da0;
}

/* دکمه‌های قبلی/بعدی */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #2c7da0;
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    right: 20px;
}

.next-btn {
    left: 20px;
}

/* نقاط ناوبری (dots) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 20px;
    background: #2c7da0;
}

.dot:hover {
    background: white;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .slider-container {
        height: 70vh;
        min-height: 500px;
    }

    .slide-content {
        right: 5%;
        width: 90%;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .prev-btn {
        right: 10px;
    }

    .next-btn {
        left: 10px;
    }
    .about-stats {
        justify-content: center;
        text-align: center;
    }
    
    .stat {
        flex: 0 0 auto;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 60vh;
        min-height: 450px;
    }

    .slide-content h1 {
        font-size: 1.4rem;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .btn-group {
        gap: 10px;
    }

    .slide-content .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
     .about-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
}

/* ========== تنظیم گرید خدمات برای نمایش مرتب در وسط صفحه ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
    justify-content: center;
    gap: 32px;
}

/* برای صفحات خیلی بزرگ (بیشتر از 1400px) - مرکز کردن کامل */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 320px);
        justify-content: center;
    }
}

/* برای صفحات متوسط (تبلت landscape) */
@media (min-width: 992px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 320px);
        justify-content: center;
    }
}

/* برای صفحات کوچک (تبلت portrait و موبایل‌های بزرگ) */
@media (min-width: 768px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 300px);
        justify-content: center;
        gap: 24px;
    }
}

/* برای موبایل */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}
/* ========== تنظیمات ویژه برای گرید خدمات (ردیف اول 4 کارت، ردیف دوم 2 کارت در وسط) ========== */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services-row {
    display: flex;
    gap: 32px;
}

/* ردیف اول: 4 کارت */
.row-4 {
    justify-content: space-between;
}

.row-4 .service-card {
    flex: 1;
    min-width: 0; /* جلوگیری از سرریز شدن */
}

/* ردیف دوم: 2 کارت در وسط */
.row-2 {
    justify-content: center;
    gap: 32px;
}

.row-2 .service-card {
    flex: 0 1 320px; /* حداکثر عرض 320px */
}

/* ریسپانسیو برای تبلت */
@media (max-width: 1100px) {
    .row-4 {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .row-4 .service-card {
        flex: 0 1 calc(50% - 16px);
        min-width: 250px;
    }
    
    .row-2 .service-card {
        flex: 0 1 calc(50% - 16px);
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 700px) {
    .services-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .row-4 .service-card,
    .row-2 .service-card {
        flex: 0 1 100%;
        max-width: 350px;
    }
    
    .row-2 {
        gap: 32px;
    }
}

/* حفظ استایل قبلی کارت‌ها */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}
/* ========== نقل قول احساسی در بخش درباره ما ========== */
.about-quote {
    background: linear-gradient(135deg, #f0f7fa 0%, #e6f0f5 100%);
    padding: 24px 28px;
    border-radius: var(--border-radius);
    margin-top: 36px;
    position: relative;
    border-right: 5px solid #2c7da0;
}

.about-quote i {
    font-size: 2rem;
    color: #2c7da0;
    opacity: 0.4;
    margin-bottom: 12px;
    display: inline-block;
}

.about-quote p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a4a6e;
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.6;
}

/* بهبود آمارها */
.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: var(--border-radius);
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 90px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2c7da0;
    margin-bottom: 8px;
    direction: ltr;
    display: inline-block;
}

.stat div:last-child {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .about-quote {
        padding: 18px 20px;
    }
    
    .about-quote p {
        font-size: 0.95rem;
    }
    
    .about-stats {
        gap: 16px;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
}

/* ========== استایل لینک‌های تماس برای کلیک در موبایل ========== */
.contact-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
    direction: ltr;
    display: inline-block;
}

.contact-link:hover {
    color: #2c7da0;
}
/* استایل دهی به باکس جدول */
figure.table {
    margin: 20px 0;
    width: 100%;
    overflow-x: auto; /* ایجاد اسکرول افقی در موبایل */
}

figure.table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    direction: rtl; /* هماهنگی با متن فارسی */
}

figure.table th, 
figure.table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

figure.table th {
    background-color: #f8fafc;
    color: #1e293b;
    font-weight: bold;
}

figure.table tr:hover {
    background-color: #f1f5f9; /* افکت هاور روی ردیف‌ها */
}
/* برای موبایل - بهبود ناحیه کلیک */
@media (max-width: 768px) {
    .contact-detail {
        flex-wrap: wrap;
    }
    
    .contact-link {
        padding: 4px 0;
        /* افزایش ناحیه کلیک برای انگشت */
        width: 100%;
        flex: 1;
    }
}
/* ========== استایل کپچا ========== */
.captcha-group {
    margin-top: 20px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.captcha-code {
    background: linear-gradient(135deg, #2c3e50, #1a4a6e);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    font-family: monospace;
    direction: ltr;
    display: inline-block;
    min-width: 180px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.captcha-refresh {
    background: #e2e8f0;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2c7da0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: #2c7da0;
    color: white;
    transform: rotate(180deg);
}

.captcha-hint {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 6px;
}

#captchaInput {
    direction: ltr;
    text-align: center;
    letter-spacing: 2px;
}
/* ===== استایل سکشن پرسش و پاسخ ===== */
.faq-section {
    direction: rtl;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #eef2f6;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #fafbfd;
}

.faq-icon {
    color: #e63946;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
}

.faq-toggle {
    color: #7f8c8d;
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

/* اصلاح مهم: حذف محدودیت max-height برای نمایش کامل متن */
.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
    background: #fefefe;
    border-top: 0px solid #eef2f6;
}

/* هنگام باز شدن، max-height به مقدار کافی بزرگ تنظیم می‌شود */
.faq-item.active .faq-answer {
    max-height: 800px; /* مقدار کافی بزرگ برای نمایش تمام متن‌های طولانی */
    padding: 0 25px 20px 25px;
    border-top-width: 1px;
    overflow-y: auto; /* در صورت نیاز، اسکرول عمودی اضافه می‌کند */
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.8;
    margin: 12px 0;
    font-size: 0.95rem;
    text-align: justify;
}

.faq-answer p:first-child {
    margin-top: 8px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* استایل برای لیست‌های داخل پاسخ (مراحل شماره‌دار) */
.faq-answer ul, .faq-answer ol {
    margin: 10px 0;
    padding-right: 25px;
    color: #4a5568;
    line-height: 1.8;
}

.faq-answer li {
    margin: 8px 0;
}

/* استایل برای متن‌های برجسته */
.faq-answer strong {
    color: #e63946;
    font-weight: 600;
}

/* تیک‌های سبز برای نکات مثبت */
.faq-answer .check-mark {
    color: #27ae60;
    margin-left: 8px;
}

/* پاسخگوی موبایل */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .faq-question {
        padding: 15px 18px;
    }
    .faq-question h3 {
        font-size: 0.95rem;
    }
    .faq-item.active .faq-answer {
        max-height: 600px; /* موبایل کمی کمتر ولی کافی */
        padding: 0 18px 18px 18px;
    }
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

/* برای صفحات خیلی بزرگ (مانیتورهای عریض) */
@media (min-width: 1400px) {
    .faq-item.active .faq-answer {
        max-height: 1000px;
    }
}
/* استایل برای لیست شماره‌دار مراحل */
.faq-steps {
    list-style: none;
    padding-right: 0;
    margin: 15px 0;
}

.faq-steps li {
    counter-increment: step-counter;
    margin-bottom: 12px;
    padding-right: 35px;
    position: relative;
    line-height: 1.7;
    color: #4a5568;
}

.faq-steps li::before {
    content: counter(step-counter);
    background-color: #e63946;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
}

.faq-steps {
    counter-reset: step-counter;
}

/* استایل اسلایدر نظرات */
.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* استایل اسلایدر نظرات */
.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 24px;
}

.testimonial-card {
    flex: 0 0 calc(25% - 16px);
    min-width: calc(25% - 16px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 24px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
/* ===== آواتارهای متنی جدید ===== */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    user-select: none;
    align-content: center;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.testimonial-role {
    font-size: 0.7rem;
    color: #666;
    display: block;
}

.testimonial-rating {
    font-size: 0.7rem;
    color: #f5a623;
    margin-top: 2px;
}
/* دکمه‌های قبلی و بعدی برای اسلایدر نظرات */
.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1e3c72;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.testimonial-btn:hover {
    opacity: 1;
    background: #0f2b4f;
}

.testimonial-prev {
    right: 10px;
}

.testimonial-next {
    left: 10px;
}

/* نقاط ناوبری */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 28px;
    border-radius: 20px;
    background: #1e3c72;
}
.testimonial-body{
    max-height: 200px;
}
.testimonial-body > p{
    text-align: justify;
}
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.testimonial-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

.testimonial-type {
    font-size: 0.7rem;
    background: #e6394610;
    color: #e63946;
    padding: 4px 12px;
    border-radius: 20px;
}
/* مرکزچین کردن هدر نظرات */
.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    margin: 0 auto 10px auto; /* عکس در وسط قرار گیرد */
}

.testimonial-info {
    text-align: center;
    width: 100%;
}

.testimonial-info h4,
.testimonial-role,
.testimonial-rating {
    text-align: center;
    justify-content: center;
}
       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
            color: #1f2937;
            line-height: 1.6;
        }

        /* هدر و ناوبری */
        .navbar {
            background-color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 16px 0;
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }


        .nav-links {
            display: flex;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            font-weight: 500;
            color: #2c3e50;
            transition: 0.2s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #2c7da0;
        }

        .menu-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            background: none;
            border: none;
            color: #1e4a6e;
        }

        /* بخش اصلی تماس */
        .contact-header {
            background: linear-gradient(135deg, #0a2b3e 0%, #1e4a6e 100%);
            color: white;
            padding: 60px 0 40px;
            text-align: center;
        }

        .contact-header h1 {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .contact-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* بخش اطلاعات تماس و فرم */
        .contact-section {
            padding: 60px 0;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 48px;
        }

        /* کارت اطلاعات تماس */
        .info-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 32px;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
        }

        .info-title {
            font-size: 1.6rem;
            color: #0a2b3e;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 3px solid #2c7da0;
            display: inline-block;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 28px;
            padding: 12px 0;
            border-bottom: 1px solid #eef2f6;
        }

        .contact-detail i {
            width: 48px;
            height: 48px;
            background: #eef2fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: #2c7da0;
        }

        .contact-detail .detail-text {
            flex: 1;
        }

        .contact-detail .detail-text strong {
            display: block;
            font-size: 1rem;
            color: #4b5563;
        }

        .contact-detail .detail-text span,
        .contact-detail .detail-text a {
            font-size: 1.1rem;
            color: #1f2937;
            text-decoration: none;
        }

        .contact-detail .detail-text a:hover {
            color: #2c7da0;
        }

        .social-media {
            margin-top: 32px;
            padding-top: 16px;
        }

        .social-media h4 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #0a2b3e;
        }

        .social-links {
            display: flex;
            gap: 20px;
        }

        .social-links a {
            width: 44px;
            height: 44px;
            background: #eef2fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c7da0;
            font-size: 1.3rem;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background: #2c7da0;
            color: white;
            transform: translateY(-3px);
        }

        /* فرم تماس */
        .form-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 32px;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
        }

        .form-title {
            font-size: 1.6rem;
            color: #0a2b3e;
            margin-bottom: 24px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e5e7eb;
            border-radius: 20px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s;
            background: #f9fafb;
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #2c7da0;
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.1);
            background: white;
        }

        .btn-submit {
            background: #2c7da0;
            color: white;
            border: none;
            padding: 14px 32px;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .btn-submit:hover {
            background: #1f5e7a;
            transform: translateY(-2px);
        }

        #form-feedback {
            margin-top: 16px;
            text-align: center;
            font-size: 0.9rem;
        }

        /* نقشه گوگل */
        .map-section {
            padding: 80px 0;
            position: initial;
            display: flex;
            height: 600px;
        }

        .map-container {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
            height: 100%;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* فوتر */
        footer {
            background-color: #0a2b3e;
            color: #cddfe7;
            padding: 48px 0 24px;
            margin-top: 80px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 48px;
        }

        .footer-col h4 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: white;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col a {
            color: #cddfe7;
            text-decoration: none;
            transition: 0.2s;
        }

        .footer-col a:hover {
            color: #2c7da0;
        }

        .copyright {
            text-align: center;
            border-top: 1px solid #2c4456;
            padding-top: 24px;
            font-size: 0.9rem;
        }

        /* ریسپانسیو */
        @media (max-width: 992px) {
            .contact-grid {
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                background: white;
                padding: 20px;
                margin-top: 16px;
                border-radius: 20px;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            }
            .nav-links.active {
                display: flex;
            }
            .menu-toggle {
                display: block;
            }
            .contact-grid {
                grid-template-columns: 1fr;
            }
            .contact-header h1 {
                font-size: 1.8rem;
            }
            .map-container {
                height: 350px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 16px;
            }
            .info-card,
            .form-card {
                padding: 24px;
            }
            .contact-detail {
                gap: 12px;
            }
            .contact-detail i {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }
        /* ========== استایل مسیر (Breadcrumb) ========== */
.breadcrumb-section {
    background: #f8fafc;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    direction: rtl;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb li a {
    color: #2c7da0;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb li a:hover {
    color: #1f5e7a;
    text-decoration: underline;
}

.breadcrumb li i {
    font-size: 0.85rem;
}

.breadcrumb li.active {
    color: #0a2b3e;
    font-weight: 500;
}

.breadcrumb li i.fa-chevron-left {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 12px 0;
    }
    
    .breadcrumb li {
        font-size: 0.8rem;
    }
    
    .breadcrumb li a i {
        font-size: 0.75rem;
    }
}

 /* هدر بلاگ */
        .blog-header {
            background: linear-gradient(135deg, #0a2b3e 0%, #1e4a6e 100%);
            color: white;
            padding: 60px 0 40px;
            text-align: center;
        }

        .blog-header h1 {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .blog-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* بخش اصلی بلاگ */
        .blog-section {
            padding: 60px 0;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 48px;
        }

        /* مقالات اصلی */
        .posts-list {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .post-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
        }

        .post-image {
            width: 100%;
            height: 240px;
            overflow: hidden;
        }

        .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .post-card:hover .post-image img {
            transform: scale(1.05);
        }

        .post-content {
            padding: 28px;
        }

        .post-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 16px;
            font-size: 0.85rem;
            color: #6b7280;
        }

        .post-meta i {
            margin-left: 6px;
            color: #2c7da0;
        }

        .post-title {
            font-size: 1.5rem;
            margin-bottom: 16px;
        }

        .post-title a {
            color: #0a2b3e;
            text-decoration: none;
            transition: color 0.2s;
        }

        .post-title a:hover {
            color: #2c7da0;
        }

        .post-excerpt {
            color: #4b5563;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #2c7da0;
            text-decoration: none;
            font-weight: 600;
            transition: gap 0.3s;
        }

        .read-more:hover {
            gap: 12px;
        }

        /* سایدبار */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .sidebar-widget {
            background: white;
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        }

        .widget-title {
            font-size: 1.3rem;
            color: #0a2b3e;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 3px solid #2c7da0;
            display: inline-block;
        }

        /* جستجو */
        .search-form {
            display: flex;
            gap: 12px;
        }

        .search-form input {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 30px;
            font-family: inherit;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .search-form input:focus {
            outline: none;
            border-color: #2c7da0;
        }

        .search-form button {
            background: #2c7da0;
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .search-form button:hover {
            background: #1f5e7a;
        }

        /* دسته‌بندی‌ها */
        .categories-list {
            list-style: none;
        }

        .categories-list li {
            margin-bottom: 14px;
        }

        .categories-list a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #4b5563;
            text-decoration: none;
            transition: color 0.2s;
            padding: 6px 0;
        }

        .categories-list a:hover {
            color: #2c7da0;
        }

        .categories-list span {
            background: #f0f2f5;
            padding: 2px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        /* پست‌های محبوب */
        .popular-posts {
            list-style: none;
        }

        .popular-posts li {
            display: flex;
            gap: 16px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #eef2f6;
        }

        .popular-posts li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .popular-img {
            width: 70px;
            height: 70px;
            border-radius: 16px;
            object-fit: cover;
        }

        .popular-info h4 {
            font-size: 0.95rem;
            margin-bottom: 6px;
        }

        .popular-info a {
            color: #1f2937;
            text-decoration: none;
        }

        .popular-info a:hover {
            color: #2c7da0;
        }

        .popular-info span {
            font-size: 0.75rem;
            color: #6b7280;
        }

        /* خبرنامه */
        .newsletter p {
            font-size: 0.9rem;
            color: #4b5563;
            margin-bottom: 16px;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .newsletter-form input {
            padding: 12px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 30px;
            font-family: inherit;
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: #2c7da0;
        }

        .newsletter-form button {
            background: #2c7da0;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .newsletter-form button:hover {
            background: #1f5e7a;
        }

        /* صفحه‌بندی */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 48px;
        }

        .pagination a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            color: #2c7da0;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .pagination a:hover,
        .pagination a.active {
            background: #2c7da0;
            color: white;
        }

        /* فوتر */
        footer {
            background-color: #0a2b3e;
            color: #cddfe7;
            padding: 48px 0 24px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 48px;
        }

        .footer-col h4 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: white;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col a {
            color: #cddfe7;
            text-decoration: none;
            transition: 0.2s;
        }

        .footer-col a:hover {
            color: #2c7da0;
        }

        .copyright {
            text-align: center;
            border-top: 1px solid #2c4456;
            padding-top: 24px;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                background: white;
                padding: 20px;
                margin-top: 16px;
                border-radius: 20px;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            }
            .nav-links.active {
                display: flex;
            }
            .menu-toggle {
                display: block;
            }
            .blog-header h1 {
                font-size: 1.8rem;
            }
            .post-content {
                padding: 20px;
            }
            .post-title {
                font-size: 1.2rem;
            }
            .sidebar-widget {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 16px;
            }
            .post-meta {
                flex-wrap: wrap;
                gap: 12px;
            }
        }
       /* بخش اصلی مقاله */
        .single-post-section {
            padding: 60px 0;
        }

        .post-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 48px;
        }

        /* محتوای اصلی */
        .main-content {
            background: white;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
        }

        .post-header-image {
            width: 100%;
            height: 450px;
            overflow: hidden;
        }

        .post-header-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .post-body {
            padding: 40px;
        }

        .post-meta {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            margin-bottom: 24px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eef2f6;
            font-size: 0.9rem;
            color: #6b7280;
        }

        .post-meta i {
            margin-left: 6px;
            color: #2c7da0;
        }

        .post-title {
            font-size: 2.2rem;
            margin-bottom: 24px;
            color: #0a2b3e;
            line-height: 1.3;
        }

        .post-content {
            color: #374151;
        }

        .post-content h2 {
            font-size: 1.6rem;
            margin: 32px 0 16px;
            color: #0a2b3e;
        }

        .post-content h3 {
            font-size: 1.3rem;
            margin: 28px 0 12px;
            color: #1e4a6e;
        }

        .post-content p {
            margin-bottom: 20px;
        }

        .post-content ul,
        .post-content ol {
            margin: 20px 0;
            padding-right: 24px;
        }

        .post-content li {
            margin-bottom: 8px;
        }

        .post-content img {
            max-width: 100%;
            border-radius: 20px;
            margin: 24px 0;
        }

        .post-content .highlight-box {
            background: #eef2fa;
            padding: 24px;
            border-radius: 24px;
            margin: 28px 0;
            border-right: 4px solid #2c7da0;
        }

        /* برچسب‌ها */
        .post-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 32px 0;
            padding-top: 20px;
            border-top: 1px solid #eef2f6;
        }

        .post-tags a {
            background: #f0f2f5;
            padding: 6px 14px;
            border-radius: 25px;
            text-decoration: none;
            color: #2c7da0;
            font-size: 0.8rem;
            transition: all 0.3s;
        }

        .post-tags a:hover {
            background: #2c7da0;
            color: white;
        }

        /* نویسنده */
        .author-box {
            background: #f8fafc;
            border-radius: 24px;
            padding: 28px;
            display: flex;
            gap: 24px;
            margin: 32px 0;
            flex-wrap: wrap;
        }

        .author-avatar {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-info h4 {
            font-size: 1.2rem;
            margin-bottom: 8px;
            color: #0a2b3e;
        }

        .author-info p {
            color: #4b5563;
            font-size: 0.9rem;
            margin-bottom: 12px;
        }

        .author-social a {
            color: #2c7da0;
            margin-left: 16px;
            font-size: 1.1rem;
        }

        /* نظرات */
        .comments-section {
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid #eef2f6;
        }

        .comments-title {
            font-size: 1.4rem;
            margin-bottom: 28px;
            color: #0a2b3e;
        }

        .comment-list {
            list-style: none;
            margin-bottom: 48px;
        }

        .comment-item {
            display: flex;
            gap: 20px;
            margin-bottom: 32px;
            padding-bottom: 24px;
            border-bottom: 1px solid #eef2f6;
        }

        .comment-avatar {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: #2c7da0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .comment-content {
            flex: 1;
        }

        .comment-author {
            font-weight: 700;
            color: #0a2b3e;
            margin-bottom: 6px;
        }

        .comment-date {
            font-size: 0.75rem;
            color: #9ca3af;
            margin-bottom: 10px;
        }

        .comment-text {
            color: #4b5563;
            line-height: 1.6;
        }

        .reply-btn {
            display: inline-block;
            margin-top: 12px;
            color: #2c7da0;
            font-size: 0.85rem;
            text-decoration: none;
        }

        /* فرم نظر */
        .comment-form {
            background: #f8fafc;
            padding: 28px;
            border-radius: 24px;
        }

        .comment-form h4 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #0a2b3e;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e5e7eb;
            border-radius: 20px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2c7da0;
        }

        .btn-submit {
            background: #2c7da0;
            color: white;
            border: none;
            padding: 12px 32px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-submit:hover {
            background: #1f5e7a;
        }

        /* سایدبار */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .sidebar-widget {
            background: white;
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        }

        .widget-title {
            font-size: 1.2rem;
            color: #0a2b3e;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 3px solid #2c7da0;
            display: inline-block;
        }

        /* مقالات مرتبط */
        .related-posts {
            list-style: none;
        }

        .related-posts li {
            display: flex;
            gap: 16px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #eef2f6;
        }

        .related-posts li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .related-img {
            width: 80px;
            height: 80px;
            border-radius: 16px;
            object-fit: cover;
        }

        .related-info h4 {
            font-size: 0.95rem;
            margin-bottom: 6px;
        }

        .related-info a {
            color: #1f2937;
            text-decoration: none;
        }

        .related-info a:hover {
            color: #2c7da0;
        }

        .related-info span {
            font-size: 0.75rem;
            color: #6b7280;
        } 

        /* ========== اصلاحات ریسپانسیو برای صفحه تک پست (موبایل) ========== */

/* اصلاح گرید اصلی در موبایل */
@media (max-width: 992px) {
    .single-post-section .post-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* اصلاح تصویر هدر در موبایل */
@media (max-width: 768px) {
    .single-post-section {
        padding: 30px 0;
    }
    
    .post-header-image {
        height: auto !important;
        max-height: 300px;
    }
    
    .post-header-image img {
        width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: cover;
    }
    
    .post-body {
        padding: 24px 20px !important;
    }
    
    .post-title {
        font-size: 1.5rem !important;
        line-height: 1.4;
    }
    
    /* اصلاح متا اطلاعات */
    .post-meta {
        gap: 12px !important;
        font-size: 0.75rem !important;
        flex-wrap: wrap;
    }
    
    .post-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    /* اصلاح محتوای مقاله */
    .post-content {
        font-size: 0.95rem;
    }
    
    .post-content h2 {
        font-size: 1.3rem !important;
    }
    
    .post-content h3 {
        font-size: 1.15rem !important;
    }
    
    .post-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* باکس نویسنده در موبایل */
    .author-box {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 16px !important;
        padding: 20px !important;
    }
    
    .author-avatar {
        width: 80px !important;
        height: 80px !important;
    }
    
    .author-social {
        justify-content: center;
    }
    
    /* برچسب‌ها */
    .post-tags {
        gap: 8px;
    }
    
    .post-tags a {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    /* نظرات */
    .comment-item {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .comment-avatar {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem;
    }
    
    .comment-content {
        width: 100%;
    }
    
    .comment-text {
        font-size: 0.9rem;
    }
    
    /* فرم نظر */
    .comment-form {
        padding: 20px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px !important;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 12px !important;
    }
    
    /* سایدبار */
    .sidebar {
        gap: 24px;
    }
    
    .sidebar-widget {
        padding: 20px !important;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    /* مقالات مرتبط در سایدبار */
    .related-posts li {
        gap: 12px;
    }
    
    .related-img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .related-info h4 {
        font-size: 0.85rem;
    }
    
    /* Breadcrumb در موبایل */
    .breadcrumb-section {
        padding: 10px 0;
    }
    
    .breadcrumb ul {
        gap: 4px;
    }
    
    .breadcrumb li {
        font-size: 0.7rem;
    }
    
    .breadcrumb li a i {
        font-size: 0.7rem;
    }
}

/* برای موبایل‌های کوچک (زیر 480px) */
@media (max-width: 480px) {
    .post-body {
        padding: 16px !important;
    }
    
    .post-title {
        font-size: 1.3rem !important;
    }
    
    .post-meta {
        gap: 8px !important;
    }
    
    .post-meta span {
        font-size: 0.7rem;
    }
    
    .post-content {
        font-size: 0.9rem;
    }
    
    .post-content h2 {
        font-size: 1.2rem !important;
    }
    
    .post-content h3 {
        font-size: 1.05rem !important;
    }
    
    .comments-title {
        font-size: 1.2rem;
    }
    
    .comment-form h4 {
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: 16px !important;
    }
}

/* جلوگیری از سرریز محتوا */
.post-content {
    overflow-x: auto;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

/* بهبود نمایش جدول‌ها در موبایل */
.post-content table {
    overflow-x: auto;
    white-space: nowrap;
}

/* بهبود نمایش کدها */
.post-content pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* در حالت عادی (دسکتاپ) شماره تلفن مخصوص موبایل مخفی باشد */
.mobile-phone-always {
    display: none;
}

/* تنظیمات ریسپانیو برای تبلت و موبایل */
@media (max-width: 768px) {
    /* نمایش شماره تلفن در نوار اصلی هدر موبایل */
    .mobile-phone-always {
        display: inline-block;
        font-size: 0.9rem; /* اندازه‌اش را در صورت نیاز تغییر دهید */
        padding: 5px 10px;
        background: #f8fafc; /* یک پس‌زمینه ملایم برای متمایز شدن */
        border-radius: 8px;
        text-decoration: none;
        margin-right: auto; /* برای ایجاد فاصله مناسب بین لوگو و دکمه همبرگری */
        margin-left: 10px;
    }
    
    /* مخفی کردن شماره تلفن داخل لیست منوی همبرگری (اختیاری - اگر مایلید داخل منو هم باشد این بخش را حذف کنید) */
    .desktop-only-phone {
        display: none !important;
    }
}

/* --- استایل بخش لینک‌دهی به ثبت درخواست --- */
.truck-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    direction: rtl;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    gap: 30px;
}

.cta-content {
    flex: 1.5;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(26, 95, 122, 0.1);
    color: #1a5f7a;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-title {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cta-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vehicle-icons-preview {
    display: flex;
    gap: 20px;
}

.icon-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #475569;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.icon-item i {
    color: #1a5f7a;
}

.cta-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #1a5f7a;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 122, 0.25);
    width: 100%;
    max-width: 320px;
}

.btn-cta-link:hover {
    background-color: #154c62;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 122, 0.35);
}

.btn-cta-link i {
    transition: transform 0.3s ease;
}

.btn-cta-link:hover i {
    transform: translateX(-5px);
}

.cta-subaction {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
}

/* هماهنگی با موبایل و تبلت */
@media (max-width: 992px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .vehicle-icons-preview {
        justify-content: center;
    }

    .cta-action {
        width: 100%;
    }
}