/*
Theme Name: Turing Magazine
Theme URI: https://turingjournal.qom.ac.ir
Description: قالب وردپرس نشریه دانشجویی علمی تورینگ - طراحی شده توسط تیم دورا
Version: 1.0
Author: تیم دورا
Author URI: https://turingjournal.qom.ac.ir
Text Domain: turing
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl, magazine, university, scientific, responsive
*/

/* ========================= Reset & Base Styles ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* در مسیر: wp-content/themes/journal/assets/css/fonts.css */

/* فونت شبنم متن */
@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Iran Sans', Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    direction: rtl;
    text-align: right;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================= WordPress Core Styles ========================= */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* ========================= Header Styles ========================= */
.header-6 {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-item .page-scroll {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item .page-scroll.active,
.navbar-nav .nav-item .page-scroll:hover {
    color: #0B3B66;
}

/* ========================= Hero Section ========================= */
.hero-section-wrapper-5 {
    padding-top: 80px;
}

.hero-style-5 {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.hero-content-wrapper h1 {
    font-size: 3rem;
    color: #0B3B66;
    margin-bottom: 20px;
}

.hero-content-wrapper p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* ========================= Feature Cards ========================= */
.turing-feature-boxes {
    gap: 30px;
    margin-top: 50px;
}

.turing-feature-card {
    width: 350px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.turing-feature-card:hover {
    transform: translateY(-10px);
}

.turing-feature-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(11, 59, 102, 0.9));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.turing-feature-card:hover .turing-feature-content {
    transform: translateY(0);
}

.turing-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ========================= Stats Section ========================= */
.publish-stats {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.section-header h2 {
    color: #0B3B66;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #1AA39C;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* ========================= Contact Form ========================= */
.contact-section {
    padding: 80px 0;
}

.single-input {
    position: relative;
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #1AA39C;
    outline: none;
}

.single-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.button {
    background: #1AA39C;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: #0B3B66;
}

/* ========================= Footer ========================= */
.footer-style-4 {
    background: #0B3B66;
    color: white;
    padding: 50px 0 20px;
}

.footer-widget h6 {
    color: #1AA39C;
    margin-bottom: 20px;
}

.socials {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.socials a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #1AA39C;
}

.links {
    list-style: none;
}

.links li {
    margin-bottom: 10px;
}

.links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #1AA39C;
}

.copyright-wrapper {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

/* ========================= Responsive ========================= */
@media (max-width: 768px) {
    .hero-content-wrapper h1 {
        font-size: 2rem;
    }
    
    .turing-feature-card {
        width: 100%;
        max-width: 350px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-style-5 {
        padding: 60px 0;
    }
}
/* ========================= Feature Cards Styles ========================= */
.turing-feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.turing-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.turing-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.turing-feature-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.turing-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.turing-feature-card:hover .turing-feature-image img {
    transform: scale(1.05);
}

.turing-feature-content {
    padding: 25px;
    position: relative;
}

.turing-feature-content h4 {
    color: #0B3B66;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.turing-feature-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.turing-feature-link {
    display: inline-flex;
    align-items: center;
    color: #1AA39C;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    gap: 5px;
}

.turing-feature-link:hover {
    color: #0B3B66;
    gap: 8px;
}

.turing-feature-link::before {
    content: '←';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.turing-feature-link:hover::before {
    transform: translateX(-3px);
}

/* برچسب ویژه برای کارت اول */
.turing-feature-card:first-child::before {
    content: 'ویژه';
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #1AA39C, #0B3B66);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* استایل‌های دکمه */
.btn-primary {
    background: linear-gradient(135deg, #1AA39C, #0B3B66);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 163, 156, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 163, 156, 0.4);
    color: white;
}
/* ========================= Feature Cards Styles - Exact like original ========================= */
.turing-feature-boxes {
    gap: 30px;
    margin-top: 50px;
}

.turing-feature-card {
    width: 350px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    margin: 15px;
}

.turing-feature-card:hover {
    transform: translateY(-10px);
}

.turing-feature-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(11, 59, 102, 0.9));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.turing-feature-card:hover .turing-feature-content {
    transform: translateY(0);
}

.turing-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.turing-feature-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    opacity: 0.9;
}

.turing-feature-content p:last-child {
    margin-bottom: 0;
}

/* استایل‌های دکمه */
.btn-primary {
    background: linear-gradient(135deg, #1AA39C, #0B3B66);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 163, 156, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 163, 156, 0.4);
    color: white;
}

/* ========================= Responsive Styles ========================= */
@media (max-width: 1200px) {
    .turing-feature-card {
        width: 320px;
        height: 280px;
    }
}

@media (max-width: 992px) {
    .turing-feature-card {
        width: 300px;
        height: 260px;
    }
    
    .turing-feature-content {
        padding: 15px;
    }
    
    .turing-feature-content h4 {
        font-size: 1.2rem;
    }
    
    .turing-feature-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .turing-feature-boxes {
        justify-content: center !important;
    }
    
    .turing-feature-card {
        width: 100%;
        max-width: 400px;
        height: 250px;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .turing-feature-card {
        height: 220px;
    }
    
    .turing-feature-content h4 {
        font-size: 1.1rem;
    }
    
    .turing-feature-content p {
        font-size: 0.85rem;
    }
}

/* انیمیشن برای نمایش تدریجی کارت‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation-name: fadeInUp;
}
/* ========================= Elementor Compatibility ========================= */
.elementor-page .site-main {
    padding: 0;
}

.elementor-page .entry-content {
    padding: 0;
    margin: 0;
}

.elementor-page .entry-content > * {
    max-width: 100% !important;
}

/* استایل‌های عمومی برای محتوای وردپرس */
.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #0B3B66;
    margin-bottom: 1rem;
    font-weight: 700;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.75rem; }
.entry-content h4 { font-size: 1.5rem; }
.entry-content h5 { font-size: 1.25rem; }
.entry-content h6 { font-size: 1rem; }

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.entry-content blockquote {
    border-right: 4px solid #1AA39C;
    padding-right: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: right;
}

.entry-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* استایل برای grid پست‌ها */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-title {
    margin-bottom: 10px;
}

.post-title a {
    color: #0B3B66;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #1AA39C;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #0B3B66;
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: #0B3B66;
    color: white;
    border-color: #0B3B66;
}
/* ========================= Header Styles ========================= */
.header-6 {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-area {
    padding: 0;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0B3B66;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    margin-left: 10px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B3B66;
}

/* منوی اصلی */
#nav6.navbar-nav {
    gap: 10px;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item .page-scroll {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-item .page-scroll:hover,
.navbar-nav .nav-item .page-scroll.active {
    color: #0B3B66;
    background: rgba(11, 59, 102, 0.1);
}

.navbar-nav .nav-item .page-scroll.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 15px;
    left: 15px;
    height: 2px;
    background: #1AA39C;
    border-radius: 2px;
}

/* دکمه همبرگر */
.navbar-toggler {
    border: none;
    padding: 5px;
    background: transparent;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #0B3B66;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* بخش action هدر */
.header-action {
    gap: 15px;
}

.header-search .search-trigger,
.header-notification .notification-trigger {
    color: #666;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
}

.header-search .search-trigger:hover,
.header-notification .notification-trigger:hover {
    color: #0B3B66;
    background: #e9ecef;
}

.notification-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* دکمه ورود */
.btn-outline-primary {
    border: 2px solid #0B3B66;
    color: #0B3B66;
    background: transparent;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-outline-primary:hover {
    background: #0B3B66;
    color: white;
    transform: translateY(-2px);
}

/* منوی موبایل */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
    
    .navbar-nav .nav-item .page-scroll {
        display: block;
        padding: 12px 15px;
        border-radius: 5px;
    }
    
    .header-action {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
        justify-content: center;
    }
}

/* استایل برای اسکرول */
.header-6.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* مودال جستجو */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #1AA39C;
}

.search-submit {
    background: #1AA39C;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #0B3B66;
}
/* ========================= Header Styles - Simple ========================= */
.header-6 {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-area {
    padding: 0;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

/* منوی اصلی - دقیقا مثل فایل اصلی */
#nav6.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-item .page-scroll {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.navbar-nav .nav-item .page-scroll:hover,
.navbar-nav .nav-item .page-scroll.active {
    color: #0B3B66;
}

/* دکمه همبرگر */
.navbar-toggler {
    border: none;
    padding: 5px;
    background: transparent;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #0B3B66;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* آیکون اطلاع‌رسانی */
.header-action a {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-action a:hover {
    color: #0B3B66;
}

/* منوی موبایل */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 15px;
    }
    
    #nav6.navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
    
    .navbar-nav .nav-item .page-scroll {
        padding: 12px 15px;
        border-radius: 5px;
    }
    
    .navbar-nav .nav-item .page-scroll:hover,
    .navbar-nav .nav-item .page-scroll.active {
        background: rgba(11, 59, 102, 0.1);
    }
}
/* فاصله‌های متن */
.navbar-nav .nav-item .page-scroll {
    letter-spacing: normal;
    word-spacing: normal;
    line-height: 1.5;
}

/* اطمینان از نمایش صحیح فاصله‌ها */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-nav .nav-item .page-scroll {
    font-family: 'Vazirmatn', 'Iran Sans', Tahoma, sans-serif;
    font-size: 1rem;
}
/* فونت فارسی */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

body {
    font-family: 'Vazirmatn', 'Iran Sans', Tahoma, sans-serif;
}

.navbar-nav .nav-item .page-scroll {
    font-family: 'Vazirmatn', 'Iran Sans', Tahoma, sans-serif;
}

/* ========================= Feature Section Fix ========================= */
.feature-section {
    padding: 80px 0;
    background: #fff; /* پس‌زمینه سفید */
    position: relative;
}

.feature-style-5 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    position: relative;
    z-index: 2;
}

.section-title h3 {
    color: #0B3B66 !important; /* آبی تیره */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#site-credit {
    color: #495057 !important; /* خاکستری تیره */
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}