/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* RTL Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #f8f9fa;
    padding: 12px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    direction: rtl;
}

.logo-nav-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phone-contact {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    min-height: 40px;
    height: auto;
}

.phone-contact:hover {
    color: white;
    text-decoration: none;
}

.buttons-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.phone-contact i {
    font-size: 14px;
}

.user-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
    min-height: 40px;
    height: auto;
}

.user-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.user-icon i {
    font-size: 14px;
}

.persian-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
}

.persian-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.persian-icon i {
    font-size: 14px;
}

.top-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.top-nav a:hover,
.top-nav a.active {
    color: #ff6b35;
    transform: translateY(-1px);
}

.top-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.top-nav a:hover::after,
.top-nav a.active::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
}

.logo img {
    height: 45px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.logo span {
    font-weight: 600;
    font-size: 16px;
}

.logo i {
    font-size: 24px;
    color: #ff6b35;
}

/* Mobile Menu RTL */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav {
    display: none;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    color: #ff6b35;
    padding-right: 30px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    align-items: start;
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 40px 30px 50px 30px;
}

.hero-overlay h1 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-overlay p {
    font-size: 16px;
    opacity: 1;
    margin-bottom: 10px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-controls button {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-controls button:hover {
    background: rgba(255,255,255,1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ff6b35;
}

/* Side Banners */
.side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px; /* Match hero image height */
}

/* Banners Section for Blog */
.banners-section {
    margin: 40px 0;
    padding: 30px 0;
}

.banners-section .side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    width: 100%;
}

.banners-section .banner {
    flex: 1;
    min-height: 150px;
    padding: 25px 20px;
}

.banner {
    padding: 30px;
    border-radius: 10px;
    color: white;
    position: relative;
    flex: 1; /* Each banner takes equal space */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0; /* Allow flex shrinking */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner:hover {
    transform: translateY(-5px);
}

.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.green-banner {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.blue-banner {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

/* Enhanced banner styling for images */
.banner[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.banner[style*="background-image"] .banner-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.banner[style*="background-image"] .banner-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.banner-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-icon {
    font-size: 40px;
    opacity: 0.8;
}

.banner h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.car-icon,
.flag-icon {
    font-size: 40px;
    opacity: 0.8;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.about-section {
    background: #fff;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

.responsibilities-section {
    background: #f8f9fa;
}

.responsibilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.responsibility-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s;
}

.responsibility-item:hover {
    transform: translateY(-5px);
}

.responsibility-item i {
    color: #ff6b35;
    font-size: 24px;
    margin-top: 5px;
    flex-shrink: 0;
}

.responsibility-item p {
    font-size: 14px;
    line-height: 1.6;
}

.board-members-section {
    background: #fff;
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.member-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 20px;
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff6b35;
}

.member-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.member-card .position {
    color: #ff6b35;
    font-weight: 500;
    margin-bottom: 10px;
}

.member-card .phone {
    color: #666;
    font-size: 14px;
}

.news-section {
    background: transparent;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #e55a2b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.news-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-card:hover .news-read-more i {
    transform: translateX(-3px);
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info .highlight {
    color: #ff6b35;
    font-weight: 600;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.map-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: #666;
    font-size: 12px;
}

.website-url p {
    color: #666;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar-content {
        flex-direction: row;
        gap: 5px;
        text-align: center;
        direction: rtl;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-nav-group {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .buttons-group {
        flex-shrink: 0;
        gap: 5px;
        display: flex;
        align-items: center;
    }
    
    .top-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.show {
        display: block;
    }

    .phone-contact {
        font-size: 12px;
        padding: 6px 12px;
    }

    .phone-contact span {
        display: none;
    }

    .user-icon {
        padding: 6px 12px;
        font-size: 12px;
    }

    .logo {
        font-size: 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-image {
        min-height: 250px;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .hero-overlay {
        padding: 25px 20px 35px 20px;
    }
    
    .hero-overlay h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .hero-overlay p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .side-banners {
        flex-direction: row;
        gap: 10px;
        height: auto; /* Allow natural height on mobile */
    }
    
    .banners-section .side-banners {
        flex-direction: row;
        max-width: 100%;
    }
    
    .article-map .side-banners {
        margin-top: 20px;
        height: auto;
    }
    
    .article-map .banner {
        min-height: 120px;
    }
    
    .banner {
        padding: 15px;
        min-height: 120px; /* Minimum height for mobile */
        flex: 1; /* Equal width for both banners */
    }
    
    .banners-section .banner {
        min-height: 150px;
        flex: 1; /* Equal width for both banners */
    }
    
    .banner h3 {
        font-size: 14px;
    }
    
    .car-icon,
    .flag-icon {
        font-size: 30px;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .responsibilities-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .responsibility-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .responsibility-item i {
        margin-top: 0;
    }
    
    .board-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .member-card {
        padding: 20px;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
    
    .member-card h3 {
        font-size: 16px;
    }
    
    .section-header {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .news-section .section-header h2 {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .news-section .view-all-link {
        font-size: 14px;
        white-space: nowrap;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .phone-contact {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .phone-contact span {
        display: none;
    }
    
    .user-icon {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .logo i {
        font-size: 20px;
    }
    
    .hero-image {
        min-height: 200px;
    }
    
    .hero-image img {
        height: 200px;
    }
    
    .hero-overlay {
        padding: 20px 15px 30px 15px;
    }
    
    .hero-overlay h1 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .hero-overlay p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .banner h3 {
        font-size: 13px;
    }
    
    .car-icon,
    .flag-icon {
        font-size: 25px;
    }
    
    section h2 {
        font-size: 22px;
    }
    
    .responsibility-item {
        padding: 15px;
    }
    
    .member-card {
        padding: 15px;
    }
    
    .member-photo img {
        width: 80px;
        height: 80px;
    }
    
    .member-card h3 {
        font-size: 14px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 14px;
    }
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav.show {
    animation: slideDown 0.3s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Complaint Form Styles */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.breadcrumb-content i {
    color: #ff6b35;
}

.complaint-section {
    padding: 40px 0;
    background: #fff;
}

.complaint-header {
    text-align: center;
    margin-bottom: 40px;
}

.complaint-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

.complaint-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6b35;
}

.instructions {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-right: 4px solid #ff6b35;
}

.instruction-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
}

.instruction-content ul {
    list-style: none;
    padding: 0;
}

.instruction-content li {
    padding: 8px 0;
    padding-right: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.instruction-content li::before {
    content: '•';
    color: #ff6b35;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.promotional-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
}

.promotional-banners .banner {
    flex: 1;
    min-height: 0;
}

.complaint-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Vazirmatn', Arial, sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Phone/Mobile Number Field RTL */
.form-group input[type="tel"],
.form-group input#mobileNumber {
    direction: rtl;
    text-align: right;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #ff6b35;
    background: #fff5f2;
}

.file-upload-area p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.file-upload-area .file-name {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e8f4fd;
    border-radius: 5px;
    color: #2c3e50;
    font-size: 13px;
    display: none;
}

.file-upload-area .file-name.show {
    display: block;
}

.file-upload-area input[type="file"] {
    display: none;
}

.upload-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Vazirmatn', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.file-preview {
    margin-top: 15px;
    padding: 10px;
    background: #e8f5e8;
    border-radius: 5px;
    border: 1px solid #c3e6c3;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d5a2d;
    font-size: 14px;
}

.file-info i {
    color: #27ae60;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn,
.reset-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Vazirmatn', Arial, sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.submit-btn {
    background: #ff6b35;
    color: white;
}

.submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.reset-btn {
    background: #6c757d;
    color: white;
}

.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #27ae60;
    background-color: #f2fdf2;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.success-message {
    color: #27ae60;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Responsive adjustments for complaint form */
@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .complaint-form {
        padding: 25px;
    }
    
    .complaint-header h1 {
        font-size: 24px;
    }
    
    .instructions {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
    }
    
    .promotional-banners {
        order: -1;
        height: auto;
    }
    
    .promotional-banners .banner {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .complaint-header h1 {
        font-size: 20px;
    }
    
    .complaint-form {
        padding: 20px;
    }
    
    .instructions {
        padding: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
}

/* Companies Table Styles */
.companies-section {
    padding: 40px 0;
    background: transparent;
}

.companies-header {
    text-align: center;
    margin-bottom: 40px;
}

.companies-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

.companies-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6b35;
}

.search-filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.companies-search-container {
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Vazirmatn', Arial, sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.search-box input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.clear-search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.clear-search-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.filter-options select {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Vazirmatn', Arial, sans-serif;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-options select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.table-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow-x: auto;
}

.companies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.companies-table thead {
    background: #ff6b35;
    color: white;
}

.companies-table th {
    padding: 15px 12px;
    text-align: right;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

.companies-table td {
    padding: 15px 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.companies-table tbody tr {
    transition: background-color 0.3s ease;
}

.companies-table tbody tr:hover {
    background-color: #f8f9fa;
}

.companies-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.companies-table tbody tr:nth-child(even):hover {
    background-color: #f0f0f0;
}

.website-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 15px;
    background: #e3f2fd;
    transition: all 0.3s ease;
    display: inline-block;
}

.website-link:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
}

.website-link.disabled {
    background: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.website-link.disabled:hover {
    background: #e0e0e0;
    color: #9e9e9e;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.page-btn {
    background: #fff;
    border: 2px solid #e1e5e9;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-number {
    background: #fff;
    border: 2px solid #e1e5e9;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.page-dots {
    color: #999;
    font-size: 16px;
    padding: 0 10px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-content p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for companies table */
@media (max-width: 768px) {
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .companies-table {
        font-size: 12px;
    }
    
    .companies-table th,
    .companies-table td {
        padding: 10px 8px;
    }
    
    .companies-header h1 {
        font-size: 24px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .page-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .stat-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .companies-header h1 {
        font-size: 20px;
    }
    
    .companies-table th,
    .companies-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .website-link {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .stat-content h3 {
        font-size: 20px;
    }
}

/* RTL News Article Header */
.article-header {
    background: #f8f9fa;
    color: #333;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.article-date,
.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.article-date i,
.article-breadcrumbs i {
    color: #ff6b35;
    font-size: 16px;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    text-align: center;
    margin: 20px 0 0 0;
}

.article-title-small {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    text-align: center;
    margin: 30px 0 20px 0;
}

.article-content {
    padding: 40px 0;
    background: #fff;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.article-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.article-text p {
    margin-bottom: 20px;
}

.article-image-left {
    float: left;
    margin: 0 30px 20px 0;
    width: 40%;
    max-width: 400px;
}

.article-image-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid #ff6b35;
}

.image-caption h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
}

/* New RTL News Page Structure */
.article-main-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-featured-image:hover img {
    transform: scale(1.05);
}

.article-title-section {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
}

.article-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: right;
}

.article-meta-info {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.article-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.article-meta-info i {
    color: #ff6b35;
    font-size: 16px;
}

.article-description {
    padding: 30px 40px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: right;
}

.article-description p {
    margin-bottom: 20px;
}

.article-description p:last-child {
    margin-bottom: 0;
}

/* Related Articles RTL Structure */
.related-articles h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: right;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 10px;
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: right;
}

.related-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a2b;
}

.read-more::after {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.article-map {
    clear: both;
    margin: 40px 0;
}

.article-map .side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
    width: 100%;
    margin-top: 30px;
}

.article-map .banner {
    flex: 1;
    min-height: 0;
}

.article-map h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.related-articles {
    clear: both;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.related-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.news-item h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.news-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #ff6b35;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.links-list a:hover {
    background: #f8f9fa;
    color: #ff6b35;
    transform: translateX(-5px);
}

.links-list a i {
    color: #ff6b35;
    width: 20px;
    text-align: center;
}

.stats-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments for article */
@media (max-width: 768px) {
    .article-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-title {
        font-size: 1.5rem;
        margin: 15px 0 0 0;
    }
    
    .article-title-small {
        font-size: 1.2rem;
        margin: 12px 0 15px 0;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-image-left {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
        max-width: none;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .sidebar-widget {
        padding: 20px;
    }

    /* New RTL News Page Mobile Styles */
    .article-main-content {
        margin: 0 -15px 20px;
        border-radius: 0;
    }

    .article-featured-image {
        height: 250px;
    }

    .article-title-section {
        padding: 20px 15px 15px;
    }

    .article-main-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .article-meta-info {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .article-description {
        padding: 20px 15px 30px;
        font-size: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-card {
        border-radius: 8px;
    }

    .related-content {
        padding: 15px;
    }

    .related-content h4 {
        font-size: 1rem;
    }
}

/* Member Styles */
.board-members {
    padding: 60px 0;
    background: #f8f9fa;
}

.board-members .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.board-members .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.board-members .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.member-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #e55a2b);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-image {
    width: 180px;
    height: 220px;
    margin: 0 auto 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info h3 {
    font-size: 1.1rem;
    margin: 8px 0 6px;
    color: #2c3e50;
    font-weight: 800;
}

.member-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.member-row {
    font-size: 0.95rem;
    color: #2c3e50;
}

.member-row .label {
    color: #7f8c8d;
    margin-left: 6px;
}

.member-phone {
    color: #7f8c8d;
    font-size: 0.9rem;
    direction: ltr;
    text-align: center;
}

/* Section header underline style */
.board-members .section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.board-members .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.member-position {
    color: #ff6b35;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
}

.member-phone {
    color: #666;
    font-size: 0.9rem;
    direction: ltr;
    text-align: center;
}

/* member-stats removed */

/* Mobile Responsive for Members */
@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .board-members {
        padding: 40px 0;
    }
    
    .board-members .section-header h2 {
        font-size: 2rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .member-card {
        padding: 20px;
    }
    
    .member-image {
        width: 180px;
        height: 220px;
    }
    
    /* member-stats removed */
}

@media (max-width: 480px) {
    /* member-stats removed */
}

@media (max-width: 480px) {
    .article-header {
        padding: 25px 0;
    }
    
    .article-title {
        font-size: 1.4rem;
        line-height: 1.2;
        margin: 15px 0 0 0;
    }
    
    .article-title-small {
        font-size: 1.1rem;
        margin: 10px 0 12px 0;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .article-date,
    .article-breadcrumbs {
        font-size: 14px;
    }
    
    .article-content {
        padding: 30px 0;
    }
    
    .article-text {
        font-size: 15px;
    }

    /* New RTL News Page Small Mobile Styles */
    .article-main-title {
        font-size: 1.3rem;
    }

    .article-featured-image {
        height: 200px;
    }

    .article-title-section {
        padding: 15px 10px 10px;
    }

    .article-description {
        padding: 15px 10px 25px;
        font-size: 14px;
    }

    .article-meta-info span {
        font-size: 12px;
    }
    
    .image-caption {
        padding: 12px;
    }
    
    .image-caption h3 {
        font-size: 13px;
    }
    
    .related-articles h3 {
        font-size: 20px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    .sidebar-widget h3 {
        font-size: 16px;
    }
}

/* Blogs List Page Styles */
.blogs-section {
    padding: 40px 0;
    background: transparent;
    min-height: 70vh;
}

.blogs-header {
    text-align: center;
    margin-bottom: 40px;
}

.blogs-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.blogs-header .header-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    margin: 0 auto;
    border-radius: 2px;
}


.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-date {
    color: #888;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-date i {
    font-size: 12px;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a2b;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.no-results p {
    font-size: 1rem;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination-btn {
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Vazirmatn', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #fff5f2;
}

.pagination-btn.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design for Blogs */
@media (max-width: 768px) {
    .blogs-header h1 {
        font-size: 2rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blogs-header h1 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .blog-content p {
        font-size: 13px;
    }
    
    .pagination-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    section {
        break-inside: avoid;
    }
    
    .search-filter-bar,
    .pagination,
    .stats-section {
        display: none;
    }
    
    .table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .companies-table {
        font-size: 12px;
    }
    
    .companies-table th {
        background: #f0f0f0 !important;
        color: #333 !important;
    }
    
    .article-sidebar {
        display: none;
    }
    
    .article-body {
        grid-template-columns: 1fr;
    }
    
    .article-image-left {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .related-articles {
        display: none;
    }
}

/* Regulations Page Styles */
.regulations-section {
    padding: 40px 0;
    background: transparent;
}

.regulations-header {
    text-align: center;
    margin-bottom: 50px;
}

.regulations-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.regulations-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.regulations-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #ff6b35;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.regulations-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.regulation-group {
    margin-bottom: 50px;
}

.regulation-group:last-child {
    margin-bottom: 0;
}

.regulation-group h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 15px;
}

.regulation-group h2 i {
    color: #ff6b35;
    font-size: 1.5rem;
}

.regulation-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.regulation-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-right: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.regulation-item:hover {
    background: #fff5f2;
    transform: translateX(-5px);
}

.regulation-number {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.regulation-content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.regulation-content p {
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

.download-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.download-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
    color: white;
    text-decoration: none;
}

.download-btn i {
    font-size: 1.2rem;
}

.contact-info-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-info-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #ff6b35;
    background: #fff5f2;
}

.contact-card i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: #555;
    font-size: 1rem;
}

/* Responsive Design for Regulations */
@media (max-width: 768px) {
    .regulations-header h1 {
        font-size: 2rem;
    }
    
    .regulations-header p {
        font-size: 1rem;
    }
    
    .regulations-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .regulations-content {
        padding: 25px 20px;
    }
    
    .regulation-group h2 {
        font-size: 1.5rem;
    }
    
    .regulation-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .regulation-number {
        align-self: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Captcha styles */
.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.captcha-question span {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.refresh-captcha {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.refresh-captcha:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.refresh-captcha i {
    font-size: 14px;
}

#captcha {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#captcha:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
