/**
 * Responsive Styles for Turing Magazine Theme
 * پشتیبانی کامل از RTL و LTR
 * نسخه 1.0.0
 *
 * @package Turing
 */

/* ============================================
   VARIABLES & RESET
============================================ */

/* متغیرهای عمومی */
:root {
    --breakpoint-xs: 320px;
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;
}

/* Reset برای RTL */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ============================================
   تبلت (992px تا 1199px) - LANDSCAPE
============================================ */

@media (min-width: 992px) and (max-width: 1199px) {
    
    /* Container */
    .container {
        max-width: 960px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* هدر */
    .header-6 .navbar-brand img {
        height: 38px !important;
    }
    
    #nav6.navbar-nav {
        gap: 10px !important;
    }
    
    .navbar-nav .nav-item .page-scroll {
        padding: 8px 12px !important;
        font-size: 0.95rem !important;
    }
    
    /* Hero */
    .hero-content-wrapper h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content-wrapper p {
        font-size: 1.1rem !important;
    }
    
    .hero-image img {
        max-width: 90% !important;
    }
    
    /* کارت‌های نشریه */
    .turing-feature-card {
        width: 320px !important;
        height: 280px !important;
        margin: 12px !important;
    }
    
    .turing-feature-content h4 {
        font-size: 1.2rem !important;
    }
    
    .turing-feature-content p {
        font-size: 0.9rem !important;
    }
    
    /* آمار */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    
    .stat-number {
        font-size: 2.8rem !important;
    }
    
    /* درباره ما */
    .about-content .section-title h2 {
        font-size: 2rem !important;
    }
    
    .about-content p {
        font-size: 1rem !important;
    }
    
    .feature-item {
        padding: 12px !important;
    }
    
    /* فرم تماس */
    .single-item .text p {
        font-size: 0.9rem !important;
    }
    
    /* فوتر */
    .footer-widget h6 {
        font-size: 1rem !important;
    }
}

/* ============================================
   تبلت (768px تا 991px) - PORTRAIT
============================================ */

@media (min-width: 768px) and (max-width: 991px) {
    
    /* Container */
    .container {
        max-width: 720px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* هدر */
    .header-6 {
        padding: 0 !important;
    }
    
    .navbar {
        padding: 10px 0 !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    /* منوی همبرگر */
    .navbar-toggler {
        display: block !important;
        padding: 8px !important;
    }
    
    .toggler-icon {
        width: 22px !important;
        height: 2px !important;
        margin: 4px 0 !important;
    }
    
    /* منوی موبایل */
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        background: white !important;
        padding: 20px !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        margin-top: 10px !important;
        z-index: 1000 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    /* RTL support for navbar collapse */
    [dir="rtl"] .navbar-collapse {
        right: 0 !important;
        left: 0 !important;
    }
    
    [dir="ltr"] .navbar-collapse {
        right: 0 !important;
        left: 0 !important;
    }
    
    #nav6.navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    #nav6.navbar-nav .nav-item {
        width: 100% !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    #nav6.navbar-nav .nav-item:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll {
        display: block !important;
        padding: 12px 15px !important;
        width: 100% !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll:hover,
    #nav6.navbar-nav .nav-item .page-scroll.active {
        background: rgba(11, 59, 102, 0.08) !important;
        color: #0B3B66 !important;
    }
    
    /* header action */
    .header-action {
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #eee !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
    
    .header-action a {
        font-size: 1.1rem !important;
    }
    
    /* Hero */
    .hero-section-wrapper-5 {
        padding-top: 75px !important;
    }
    
    .hero-style-5 {
        padding: 70px 0 !important;
        min-height: auto !important;
    }
    
    .hero-content-wrapper h1 {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-content-wrapper p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
    
    .hero-actions {
        flex-direction: row !important;
        gap: 15px !important;
    }
    
    .hero-actions .btn {
        padding: 10px 25px !important;
        font-size: 0.95rem !important;
    }
    
    .hero-image {
        margin-top: 30px !important;
        text-align: center !important;
    }
    
    .hero-image img {
        max-width: 80% !important;
        height: auto !important;
    }
    
    /* کارت‌های نشریه */
    .turing-feature-boxes {
        gap: 20px !important;
        margin-top: 30px !important;
        justify-content: center !important;
    }
    
    .turing-feature-card {
        width: calc(50% - 10px) !important;
        max-width: 350px !important;
        height: 250px !important;
        margin: 5px !important;
    }
    
    .turing-feature-content {
        padding: 18px !important;
    }
    
    .turing-feature-content h4 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .turing-feature-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 5px !important;
    }
    
    /* آمار */
    .publish-stats {
        padding: 60px 0 !important;
    }
    
    .section-header {
        margin-bottom: 40px !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .section-description {
        font-size: 1rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .stat-item {
        padding: 30px 20px !important;
    }
    
    .stat-icon {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 15px !important;
    }
    
    .stat-icon i {
        font-size: 1.8rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-label {
        font-size: 1.1rem !important;
    }
    
    .stat-description {
        font-size: 0.85rem !important;
    }
    
    /* درباره ما */
    .about-section {
        padding: 60px 0 !important;
    }
    
    .about-image img {
        max-width: 90% !important;
    }
    
    .about-content {
        margin-top: 30px !important;
    }
    
    .about-content .section-title h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-content p {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-features {
        margin-top: 30px !important;
    }
    
    .feature-item {
        padding: 12px 15px !important;
        margin-bottom: 12px !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    
    /* RTL support for feature item */
    [dir="rtl"] .feature-item {
        flex-direction: row !important;
    }
    
    [dir="ltr"] .feature-item {
        flex-direction: row !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0 !important;
    }
    
    .feature-icon i {
        font-size: 1.2rem !important;
    }
    
    .feature-text h5 {
        font-size: 1rem !important;
    }
    
    .feature-text p {
        font-size: 0.85rem !important;
    }
    
    /* تماس */
    .contact-section {
        padding: 60px 0 !important;
    }
    
    .contact-form-wrapper {
        margin-bottom: 40px !important;
    }
    
    .single-input {
        margin-bottom: 20px !important;
    }
    
    .form-input {
        padding: 12px 45px 12px 15px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
    
    /* RTL support for form input */
    [dir="rtl"] .form-input {
        padding: 12px 15px 12px 45px !important;
    }
    
    [dir="ltr"] .form-input {
        padding: 12px 45px 12px 15px !important;
    }
    
    /* RTL support for icon positioning */
    [dir="rtl"] .single-input i {
        left: 15px !important;
        right: auto !important;
    }
    
    [dir="ltr"] .single-input i {
        right: 15px !important;
        left: auto !important;
    }
    
    textarea.form-input {
        min-height: 140px !important;
    }
    
    .left-wrapper {
        padding: 25px !important;
        border-radius: 12px !important;
    }
    
    .single-item {
        flex-direction: row !important;
        align-items: center !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }
    
    .single-item .icon {
        width: 45px !important;
        height: 45px !important;
        flex-shrink: 0 !important;
        margin-left: 15px !important;
    }
    
    /* RTL support for single item */
    [dir="rtl"] .single-item .icon {
        margin-left: 15px !important;
        margin-right: 0 !important;
    }
    
    [dir="ltr"] .single-item .icon {
        margin-right: 15px !important;
        margin-left: 0 !important;
    }
    
    .single-item .icon i {
        font-size: 1rem !important;
    }
    
    .single-item .text h5 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
    
    .single-item .text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .button {
        padding: 12px 30px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
    
    /* فوتر */
    .footer-style-4 {
        padding: 50px 0 20px !important;
    }
    
    .footer-widget {
        margin-bottom: 30px !important;
    }
    
    .footer-logo img {
        height: 40px !important;
    }
    
    .footer-widget h6 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .socials {
        gap: 12px !important;
        justify-content: flex-start !important;
    }
    
    .socials li a {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.95rem !important;
    }
    
    .footer-links li {
        margin-bottom: 8px !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
    }
    
    .contact-item {
        margin-bottom: 12px !important;
        padding: 8px 0 !important;
    }
    
    .contact-item i {
        font-size: 1rem !important;
        margin-left: 10px !important;
    }
    
    /* RTL support for contact item */
    [dir="rtl"] .contact-item i {
        margin-left: 10px !important;
        margin-right: 0 !important;
    }
    
    [dir="ltr"] .contact-item i {
        margin-right: 10px !important;
        margin-left: 0 !important;
    }
    
    .contact-content span {
        font-size: 0.75rem !important;
    }
    
    .contact-content a,
    .contact-content p {
        font-size: 0.85rem !important;
    }
    
    .copyright-wrapper {
        margin-top: 30px !important;
        padding-top: 20px !important;
        text-align: center !important;
    }
    
    .copyright-text {
        font-size: 0.85rem !important;
        text-align: center !important;
    }
    
    .bottom-links {
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 15px !important;
    }
    
    /* ویجت‌ها */
    .widget {
        margin-bottom: 25px !important;
    }
    
    .widget-title {
        font-size: 1.1rem !important;
    }
    
    /* مدال */
    .modal__content {
        max-width: 90% !important;
        padding: 30px !important;
    }
    
    .modal__title {
        font-size: 1.5rem !important;
    }
    
    /* صفحه‌بندی */
    .pagination {
        gap: 8px !important;
    }
    
    .pagination__link {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================
   موبایل (تا 767px)
============================================ */

@media (max-width: 767px) {
    
    /* Container */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    /* هدر */
    .header-6 {
        padding: 0 !important;
    }
    
    .navbar {
        padding: 8px 0 !important;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    /* منوی همبرگر */
    .navbar-toggler {
        display: block !important;
        padding: 6px !important;
    }
    
    .toggler-icon {
        width: 20px !important;
        height: 2px !important;
        margin: 3px 0 !important;
    }
    
    /* منوی موبایل */
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        background: white !important;
        padding: 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        margin-top: 10px !important;
        z-index: 1000 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    /* RTL support for navbar collapse */
    [dir="rtl"] .navbar-collapse {
        right: 0 !important;
        left: 0 !important;
    }
    
    [dir="ltr"] .navbar-collapse {
        right: 0 !important;
        left: 0 !important;
    }
    
    #nav6.navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    #nav6.navbar-nav .nav-item {
        width: 100% !important;
        margin-bottom: 5px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    #nav6.navbar-nav .nav-item:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll {
        display: block !important;
        padding: 10px 15px !important;
        width: 100% !important;
        font-size: 0.95rem !important;
        border-radius: 6px !important;
        transition: all 0.3s ease !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll:hover,
    #nav6.navbar-nav .nav-item .page-scroll.active {
        background: rgba(11, 59, 102, 0.08) !important;
        color: #0B3B66 !important;
    }
    
    /* header action */
    .header-action {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #eee !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    
    .header-action a {
        font-size: 1rem !important;
        width: 35px !important;
        height: 35px !important;
    }
    
    .header-auth .btn {
        font-size: 0.8rem !important;
        padding: 5px 12px !important;
    }
    
    /* Hero */
    .hero-section-wrapper-5 {
        padding-top: 70px !important;
    }
    
    .hero-style-5 {
        padding: 50px 0 !important;
        min-height: auto !important;
        background-size: cover !important;
    }
    
    .hero-content-wrapper {
        text-align: center !important;
    }
    
    .hero-content-wrapper h1 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .hero-content-wrapper p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
    }
    
    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
    
    .hero-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        justify-content: center !important;
    }
    
    .hero-image {
        margin-top: 30px !important;
        text-align: center !important;
    }
    
    .hero-image img {
        max-width: 70% !important;
        height: auto !important;
    }
    
    /* کارت‌های نشریه */
    .feature-section.feature-style-5 {
        padding: 50px 0 !important;
    }
    
    .section-title.text-center {
        margin-bottom: 30px !important;
    }
    
    .section-title h3 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }
    
    #site-credit {
        font-size: 0.9rem !important;
        padding: 15px !important;
        line-height: 1.6 !important;
    }
    
    .turing-feature-boxes {
        gap: 15px !important;
        margin-top: 20px !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .turing-feature-card {
        width: 100% !important;
        max-width: 380px !important;
        height: 220px !important;
        margin: 5px 0 !important;
        border-radius: 12px !important;
    }
    
    .turing-feature-content {
        padding: 15px !important;
        transform: translateY(100%) !important;
    }
    
    .turing-feature-card:hover .turing-feature-content {
        transform: translateY(0) !important;
    }
    
    .turing-feature-content h4 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
    
    .turing-feature-content p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 3px !important;
    }
    
    /* آمار */
    .publish-stats {
        padding: 50px 0 !important;
    }
    
    .section-header {
        margin-bottom: 30px !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .section-description {
        font-size: 0.9rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .stat-item {
        padding: 25px 20px !important;
        border-radius: 12px !important;
    }
    
    .stat-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 12px !important;
    }
    
    .stat-icon i {
        font-size: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
        margin-bottom: 5px !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
    
    .stat-description {
        font-size: 0.8rem !important;
    }
    
    .stats-cta {
        margin-top: 30px !important;
    }
    
    .stats-cta .btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    
    /* درباره ما */
    .about-section {
        padding: 50px 0 !important;
    }
    
    .about-image {
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    .about-image img {
        max-width: 80% !important;
        height: auto !important;
    }
    
    .about-content .section-title h2 {
        font-size: 1.6rem !important;
        margin-bottom: 12px !important;
    }
    
    .about-content p {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        line-height: 1.7 !important;
    }
    
    .about-features {
        margin-top: 20px !important;
    }
    
    .feature-item {
        padding: 12px 15px !important;
        margin-bottom: 10px !important;
        flex-direction: column !important;
        text-align: center !important;
        border-radius: 8px !important;
    }
    
    /* RTL support for feature item */
    [dir="rtl"] .feature-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    [dir="ltr"] .feature-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 10px !important;
        flex-shrink: 0 !important;
    }
    
    .feature-icon i {
        font-size: 1.2rem !important;
    }
    
    .feature-text h5 {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
    }
    
    .feature-text p {
        font-size: 0.8rem !important;
        margin: 0 !important;
    }
    
    .about-content .btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        margin-top: 20px !important;
    }
    
    /* تماس */
    .contact-section {
        padding: 50px 0 !important;
    }
    
    .section-title h3 {
        font-size: 1.6rem !important;
    }
    
    .section-title p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .contact-form-wrapper {
        margin-bottom: 30px !important;
    }
    
    .single-input {
        margin-bottom: 15px !important;
    }
    
    .form-input {
        padding: 10px 40px 10px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
        border-width: 1.5px !important;
    }
    
    /* RTL support for form input */
    [dir="rtl"] .form-input {
        padding: 10px 12px 10px 40px !important;
    }
    
    [dir="ltr"] .form-input {
        padding: 10px 40px 10px 12px !important;
    }
    
    .single-input i {
        font-size: 0.9rem !important;
    }
    
    /* RTL support for icon positioning */
    [dir="rtl"] .single-input i {
        left: 12px !important;
        right: auto !important;
    }
    
    [dir="ltr"] .single-input i {
        right: 12px !important;
        left: auto !important;
    }
    
    textarea.form-input {
        min-height: 120px !important;
    }
    
    .left-wrapper {
        padding: 20px !important;
        border-radius: 10px !important;
        margin-top: 20px !important;
    }
    
    .single-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
    }
    
    .single-item:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    
    .single-item .icon {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 10px !important;
        flex-shrink: 0 !important;
    }
    
    .single-item .icon i {
        font-size: 1rem !important;
    }
    
    .single-item .text h5 {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
    }
    
    .single-item .text p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    .button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* فوتر */
    .footer-style-4 {
        padding: 40px 0 20px !important;
    }
    
    .footer-widget {
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .footer-widget:last-child {
        margin-bottom: 0 !important;
    }
    
    .footer-logo {
        justify-content: center !important;
    }
    
    .footer-logo img {
        height: 35px !important;
    }
    
    .footer-about p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .footer-widget h6 {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }
    
    .socials {
        gap: 10px !important;
        justify-content: center !important;
    }
    
    .socials li a {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
    
    .footer-links {
        text-align: center !important;
    }
    
    .footer-links li {
        margin-bottom: 8px !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
        display: inline-block !important;
        padding: 3px 0 !important;
    }
    
    .contact-info {
        text-align: center !important;
    }
    
    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        padding: 8px 0 !important;
        align-items: center !important;
    }
    
    .contact-item i {
        font-size: 1rem !important;
        margin: 0 0 5px 0 !important;
    }
    
    .contact-content {
        text-align: center !important;
    }
    
    .contact-content span {
        font-size: 0.75rem !important;
    }
    
    .contact-content a,
    .contact-content p {
        font-size: 0.85rem !important;
        text-align: center !important;
    }
    
    .copyright-wrapper {
        margin-top: 25px !important;
        padding-top: 15px !important;
        text-align: center !important;
    }
    
    .copyright-wrapper .row {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .copyright-text {
        font-size: 0.8rem !important;
        text-align: center !important;
        line-height: 1.6 !important;
    }
    
    .bottom-links {
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }
    
    .bottom-links a {
        font-size: 0.8rem !important;
        display: inline-block !important;
    }
    
    /* ویجت‌ها */
    .widget {
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .widget-title {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    /* مدال */
    .modal__content {
        max-width: 95% !important;
        padding: 25px 20px !important;
        border-radius: 12px !important;
        margin: 10px !important;
    }
    
    .modal__title {
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
    }
    
    .modal__description {
        font-size: 0.9rem !important;
    }
    
    .modal__close {
        top: 10px !important;
        left: 10px !important;
        padding: 5px !important;
    }
    
    .modal__close svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* صفحه‌بندی */
    .pagination {
        gap: 5px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .pagination__link {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    
    .pagination__link--prev,
    .pagination__link--next {
        padding: 0 10px !important;
        width: auto !important;
    }
    
    /* breadcrumb */
    .breadcrumb {
        font-size: 0.8rem !important;
        flex-wrap: wrap !important;
    }
    
    /* کلاینت لوگو */
    .clients-logo-section {
        padding: 40px 0 !important;
    }
    
    .client-logo img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* اسکرول بالا */
    .scroll-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 1.2rem !important;
    }
    
    /* RTL support for scroll-top */
    [dir="rtl"] .scroll-top {
        right: 20px !important;
        left: auto !important;
    }
    
    [dir="ltr"] .scroll-top {
        left: 20px !important;
        right: auto !important;
    }
}

/* ============================================
   موبایل کوچک (تا 480px)
============================================ */

@media (max-width: 480px) {
    
    /* Container */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* تایپوگرافی عمومی */
    h1 {
        font-size: 1.6rem !important;
    }
    h2 {
        font-size: 1.4rem !important;
    }
    h3 {
        font-size: 1.3rem !important;
    }
    h4 {
        font-size: 1.2rem !important;
    }
    h5 {
        font-size: 1.1rem !important;
    }
    h6 {
        font-size: 1rem !important;
    }
    
    /* هدر */
    .navbar-brand img {
        height: 28px !important;
    }
    
    .navbar-toggler {
        padding: 4px !important;
    }
    
    .toggler-icon {
        width: 18px !important;
        height: 2px !important;
        margin: 2px 0 !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    .header-action a {
        font-size: 0.9rem !important;
        width: 30px !important;
        height: 30px !important;
    }
    
    .header-auth .btn {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }
    
    /* Hero */
    .hero-section-wrapper-5 {
        padding-top: 60px !important;
    }
    
    .hero-style-5 {
        padding: 40px 0 !important;
    }
    
    .hero-content-wrapper h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .hero-content-wrapper p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-actions .btn {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
        max-width: 240px !important;
    }
    
    .hero-image img {
        max-width: 60% !important;
    }
    
    /* کارت‌های نشریه */
    .section-title h3 {
        font-size: 1.4rem !important;
    }
    
    #site-credit {
        font-size: 0.8rem !important;
        padding: 12px !important;
    }
    
    .turing-feature-card {
        height: 200px !important;
        max-width: 320px !important;
        border-radius: 10px !important;
    }
    
    .turing-feature-content {
        padding: 12px !important;
    }
    
    .turing-feature-content h4 {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    
    .turing-feature-content p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* آمار */
    .publish-stats {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 1.4rem !important;
    }
    
    .section-description {
        font-size: 0.8rem !important;
    }
    
    .stat-item {
        padding: 20px 15px !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .stat-icon i {
        font-size: 1.2rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .stat-description {
        font-size: 0.75rem !important;
    }
    
    /* درباره ما */
    .about-section {
        padding: 40px 0 !important;
    }
    
    .about-content .section-title h2 {
        font-size: 1.4rem !important;
    }
    
    .about-content p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }
    
    .feature-item {
        padding: 10px 12px !important;
        border-radius: 6px !important;
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .feature-icon i {
        font-size: 1rem !important;
    }
    
    .feature-text h5 {
        font-size: 0.85rem !important;
    }
    
    .feature-text p {
        font-size: 0.75rem !important;
    }
    
    .about-content .btn {
        font-size: 0.8rem !important;
        padding: 8px 20px !important;
    }
    
    /* تماس */
    .contact-section {
        padding: 40px 0 !important;
    }
    
    .section-title h3 {
        font-size: 1.4rem !important;
    }
    
    .section-title p {
        font-size: 0.8rem !important;
    }
    
    .form-input {
        font-size: 0.8rem !important;
        padding: 8px 35px 8px 10px !important;
        border-radius: 5px !important;
    }
    
    /* RTL support for form input */
    [dir="rtl"] .form-input {
        padding: 8px 10px 8px 35px !important;
    }
    
    [dir="ltr"] .form-input {
        padding: 8px 35px 8px 10px !important;
    }
    
    .single-input i {
        font-size: 0.8rem !important;
    }
    
    /* RTL support for icon positioning */
    [dir="rtl"] .single-input i {
        left: 10px !important;
    }
    
    [dir="ltr"] .single-input i {
        right: 10px !important;
    }
    
    textarea.form-input {
        min-height: 100px !important;
    }
    
    .left-wrapper {
        padding: 15px !important;
    }
    
    .single-item .icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .single-item .icon i {
        font-size: 0.8rem !important;
    }
    
    .single-item .text h5 {
        font-size: 0.85rem !important;
    }
    
    .single-item .text p {
        font-size: 0.8rem !important;
    }
    
    .button {
        font-size: 0.8rem !important;
        padding: 8px 15px !important;
    }
    
    /* فوتر */
    .footer-style-4 {
        padding: 30px 0 15px !important;
    }
    
    .footer-logo img {
        height: 30px !important;
    }
    
    .footer-about p {
        font-size: 0.8rem !important;
    }
    
    .footer-widget h6 {
        font-size: 0.85rem !important;
    }
    
    .socials li a {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    .footer-links a {
        font-size: 0.8rem !important;
    }
    
    .contact-content a,
    .contact-content p {
        font-size: 0.8rem !important;
    }
    
    .copyright-text {
        font-size: 0.7rem !important;
    }
    
    .bottom-links a {
        font-size: 0.7rem !important;
    }
    
    /* مدال */
    .modal__content {
        padding: 20px 15px !important;
        border-radius: 10px !important;
    }
    
    .modal__title {
        font-size: 1.2rem !important;
    }
    
    .modal__description {
        font-size: 0.8rem !important;
    }
    
    /* صفحه‌بندی */
    .pagination__link {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
    }
}

/* ============================================
   موبایل خیلی کوچک (تا 360px)
============================================ */

@media (max-width: 360px) {
    
    .hero-content-wrapper h1 {
        font-size: 1.3rem !important;
    }
    
    .hero-content-wrapper p {
        font-size: 0.8rem !important;
    }
    
    .turing-feature-card {
        height: 180px !important;
        max-width: 280px !important;
    }
    
    .turing-feature-content h4 {
        font-size: 0.85rem !important;
    }
    
    .turing-feature-content p {
        font-size: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .form-input {
        font-size: 0.75rem !important;
        padding: 8px 30px 8px 8px !important;
    }
    
    /* RTL support for form input */
    [dir="rtl"] .form-input {
        padding: 8px 8px 8px 30px !important;
    }
    
    [dir="ltr"] .form-input {
        padding: 8px 30px 8px 8px !important;
    }
}

/* ============================================
   LANDSCAPE موبایل (orientation: landscape)
============================================ */

@media (max-height: 500px) and (orientation: landscape) {
    
    .hero-style-5 {
        padding: 30px 0 !important;
        min-height: auto !important;
    }
    
    .hero-content-wrapper h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-content-wrapper p {
        font-size: 0.85rem !important;
    }
    
    .hero-image img {
        max-width: 50% !important;
    }
    
    .turing-feature-card {
        height: 160px !important;
    }
    
    .preloader {
        height: 100vh !important;
    }
    
    .turing-feature-content {
        padding: 10px !important;
    }
    
    .turing-feature-content h4 {
        font-size: 0.8rem !important;
    }
    
    .turing-feature-content p {
        font-size: 0.7rem !important;
    }
}

/* ============================================
   منوی کشویی در موبایل (open/close animation)
============================================ */

@media (max-width: 991px) {
    
    .navbar-collapse.show {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ============================================
   TABLES روی موبایل
============================================ */

@media (max-width: 767px) {
    
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .table-responsive table {
        width: 100% !important;
        min-width: 600px !important;
    }
}

/* ============================================
   IMAGES روی موبایل
============================================ */

@media (max-width: 767px) {
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .wp-caption {
        width: 100% !important;
    }
}

/* ============================================
   FORMS روی موبایل
============================================ */

@media (max-width: 767px) {
    
    select,
    input,
    textarea {
        font-size: 16px !important; /* جلوگیری از zoom در iOS */
    }
    
    .form-group {
        margin-bottom: 15px !important;
    }
    
    .form-control {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================
   DARK MODE SUPPORT
============================================ */

@media (prefers-color-scheme: dark) {
    
    .turing-feature-card {
        border: 1px solid #333 !important;
    }
    
    .form-input {
        background: #1a1a1a !important;
        color: #f0f0f0 !important;
        border-color: #444 !important;
    }
    
    .form-input:focus {
        border-color: #1AA39C !important;
    }
    
    .navbar-collapse {
        background: #1a1a1a !important;
        border-color: #333 !important;
    }
    
    #nav6.navbar-nav .nav-item {
        border-bottom-color: #333 !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll {
        color: #f0f0f0 !important;
    }
    
    #nav6.navbar-nav .nav-item .page-scroll:hover,
    #nav6.navbar-nav .nav-item .page-scroll.active {
        background: rgba(26, 163, 156, 0.15) !important;
        color: #1AA39C !important;
    }
    
    .header-action {
        border-top-color: #333 !important;
    }
    
    .left-wrapper {
        background: #1a1a1a !important;
    }
    
    .single-item {
        border-bottom-color: #333 !important;
    }
    
    .single-item .text h5 {
        color: #f0f0f0 !important;
    }
    
    .single-item .text p {
        color: #aaa !important;
    }
    
    .stat-item {
        background: #1a1a1a !important;
        border-color: #333 !important;
    }
    
    .stat-number {
        color: #1AA39C !important;
    }
    
    .stat-label {
        color: #f0f0f0 !important;
    }
    
    .stat-description {
        color: #aaa !important;
    }
    
    .feature-item {
        background: #1a1a1a !important;
    }
    
    .feature-text h5 {
        color: #f0f0f0 !important;
    }
    
    .feature-text p {
        color: #aaa !important;
    }
    
    .about-content .section-title h2 {
        color: #f0f0f0 !important;
    }
    
    .about-content p {
        color: #ccc !important;
    }
    
    .modal__content {
        background: #1a1a1a !important;
    }
    
    .modal__title {
        color: #f0f0f0 !important;
    }
    
    .modal__description {
        color: #aaa !important;
    }
    
    .modal__close {
        color: #aaa !important;
    }
    
    .modal__close:hover {
        background: #333 !important;
    }
}

/* ============================================
   REDUCED MOTION SUPPORT
============================================ */

@media (prefers-reduced-motion: reduce) {
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .wow {
        animation: none !important;
        visibility: visible !important;
    }
    
    .turing-feature-card,
    .stat-item,
    .feature-item {
        transform: none !important;
        transition: none !important;
    }
    
    .turing-feature-card:hover,
    .stat-item:hover,
    .feature-item:hover {
        transform: none !important;
    }
}

/* ============================================
   PRINT STYLES
============================================ */

@media print {
    
    .header-6,
    .footer-style-4,
    .preloader,
    .button,
    .contact-section,
    .scroll-top,
    .navbar-toggler,
    .header-action,
    .hero-actions,
    .section-link,
    .btn-primary,
    .stats-cta,
    .turing-feature-card .turing-feature-content,
    .socials,
    .bottom-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
        color: #000 !important;
        background: #fff !important;
        padding-top: 0 !important;
        margin: 0 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")" !important;
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")" !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-section-wrapper-5 {
        padding-top: 0 !important;
    }
    
    .hero-style-5 {
        padding: 20px 0 !important;
        background: #f8f9fa !important;
        min-height: auto !important;
    }
    
    .hero-content-wrapper h1 {
        font-size: 24pt !important;
    }
    
    .hero-content-wrapper p {
        font-size: 14pt !important;
    }
    
    .stat-item {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid !important;
    }
    
    .feature-item {
        border: 1px solid #ddd !important;
        break-inside: avoid !important;
    }
    
    .single-item {
        border: 1px solid #ddd !important;
        break-inside: avoid !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .left-wrapper {
        border: 1px solid #ddd !important;
        break-inside: avoid !important;
        padding: 15px !important;
    }
    
    .turing-feature-card {
        break-inside: avoid !important;
        border: 1px solid #ddd !important;
        background: #f8f9fa !important;
        height: auto !important;
        padding: 15px !important;
    }
    
    .turing-feature-card .turing-feature-content {
        position: static !important;
        background: transparent !important;
        transform: none !important;
        color: #000 !important;
        padding: 10px 0 !important;
    }
    
    .turing-feature-card .turing-feature-content h4 {
        color: #0B3B66 !important;
    }
    
    .turing-feature-card .turing-feature-content p {
        color: #333 !important;
    }
    
    .turing-feature-image {
        display: none !important;
    }
    
    #site-credit {
        background: #f8f9fa !important;
        border: 1px solid #ddd !important;
        padding: 10px !important;
        margin: 10px auto !important;
    }
    
    .footer-style-4 {
        background: #f8f9fa !important;
        color: #000 !important;
        padding: 20px 0 !important;
    }
    
    .footer-style-4 .footer-widget h6 {
        color: #0B3B66 !important;
    }
    
    .footer-style-4 p,
    .footer-style-4 a {
        color: #333 !important;
    }
    
    .copyright-wrapper {
        border-top: 1px solid #ddd !important;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
    }
    
    table {
        page-break-inside: avoid !important;
    }
    
    .modal {
        display: none !important;
    }
}