/* =====================================================
   Sarv Aras Supply - Clean Stylesheet
   Version: 4.0 (Fixed)
   ===================================================== */

/* ==================== Variables ==================== */
:root {
    --primary: #0B4F3A;
    --primary-dark: #083829;
    --primary-light: #1a6b52;
    --secondary: #D4A24C;
    --secondary-dark: #b8883a;
    --secondary-light: #e5b96a;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-dark: #1E1E1E;
    --text-dark: #1E1E1E;
    --text-body: #4b5563;
    --text-light: #6c757d;
    --white: #FFFFFF;
    --dark: #1E1E1E;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 10px 30px rgba(11, 79, 58, 0.3);
    --shadow-gold: 0 10px 30px rgba(212, 162, 76, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-fa: 'Morabba', 'Vazirmatn', Tahoma, sans-serif;
    --font-en: 'Poppins', sans-serif;
    --section-padding: 100px;
}

/* ==================== Reset ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: var(--font-fa);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}
body.lang-en { font-family: var(--font-en); }
body.dir-rtl { direction: rtl; text-align: right; }
body.dir-ltr { direction: ltr; text-align: left; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-dark); margin-bottom: 0.5em; }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--text-body); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==================== Utility ==================== */
.text-gold { color: var(--secondary) !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-light) !important; }
.bg-light { background: var(--bg-light) !important; }
.bg-dark { background: var(--bg-dark) !important; }
.text-gold-gradient {
    background: linear-gradient(135deg, #D4A24C 0%, #F4D03F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-padding { padding: var(--section-padding) 0; }
@media (max-width: 991px) { .section-padding { padding: 70px 0; } }

/* ==================== Preloader ==================== */
#preloader {
    position: fixed; inset: 0; background: var(--white);
    z-index: 99999; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader .spinner {
    width: 60px; height: 60px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Top Bar ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white); padding: 10px 0; font-size: 13px;
    border-bottom: 2px solid rgba(212, 162, 76, 0.3);
    position: relative;
}
.top-bar a { color: var(--white); opacity: 0.9; }
.top-bar a:hover { opacity: 1; color: var(--secondary); }
.top-info { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.top-info a { display: inline-flex; align-items: center; gap: 8px; }
.top-info i { color: var(--secondary); }
.top-social { display: flex; align-items: center; gap: 8px; }
.top-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); transition: var(--transition);
    border: 1px solid rgba(212, 162, 76, 0.3);
}
.top-social a:hover { background: var(--secondary); color: var(--dark); transform: translateY(-3px); }
.lang-switcher {
    display: inline-flex; align-items: center; gap: 8px;
    margin-inline-start: 15px; padding-inline-start: 15px;
    border-inline-start: 1px solid rgba(255,255,255,0.2);
}
.lang-switcher a {
    padding: 4px 12px; border-radius: var(--radius-full);
    font-weight: 600; font-size: 12px;
}
.lang-switcher a.active { background: var(--secondary); color: var(--dark); }
.lang-switcher span { color: rgba(255,255,255,0.4); }

/* ==================== Main Header ==================== */
.main-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(11, 79, 58, 0.1);
}
.main-header.scrolled { box-shadow: 0 5px 30px rgba(11, 79, 58, 0.15); }
.navbar { padding: 15px 0; }
.navbar-brand img { height: 55px; transition: var(--transition); }
.logo-default { display: block; }
.logo-scrolled { display: none; }
.main-header.scrolled .logo-default { display: none; }
.main-header.scrolled .logo-scrolled { display: block; }

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600; padding: 12px 18px !important;
    position: relative; font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.navbar-nav .nav-link::after {
    content: ''; position: absolute; bottom: 8px; left: 50%;
    width: 0; height: 2px; background: var(--secondary);
    transition: var(--transition); transform: translateX(-50%);
}
body.dir-rtl .navbar-nav .nav-link::after { transform: translateX(50%); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; }

/* Dropdown */
.dropdown-menu {
    border: none; box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md); padding: 12px;
    min-width: 280px; margin-top: 15px !important;
}
.dropdown-item {
    padding: 12px 15px; border-radius: var(--radius-sm);
    font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }
.dropdown-item i { color: var(--secondary); width: 20px; }
.dropdown-divider { margin: 8px 0; border-color: var(--gray-200); }

/* ==================== Header Actions ==================== */
.header-actions { display: flex; align-items: center; gap: 15px; }

.btn-call {
    display: flex; align-items: center; gap: 10px;
    color: var(--primary); font-weight: 700; font-size: 14px;
    padding: 10px 20px; border-radius: var(--radius-full);
    background: rgba(11, 79, 58, 0.08);
    transition: var(--transition);
}
.btn-call i {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(11, 79, 58, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(11, 79, 58, 0); }
}
.btn-call:hover { background: var(--primary); color: var(--white); }
.btn-call:hover i { background: var(--white); color: var(--primary); animation: none; }

.btn-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--dark); padding: 12px 28px;
    border-radius: var(--radius-full); font-weight: 700;
    border: 2px solid var(--secondary); transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 162, 76, 0.3);
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    transform: translateY(-2px); box-shadow: var(--shadow-gold);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none; padding: 8px;
    display: flex; flex-direction: column; gap: 5px;
    background: transparent;
}
.toggler-icon {
    display: block; width: 28px; height: 3px;
    background: var(--text-dark); border-radius: 2px;
    transition: var(--transition);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; transition: var(--transition);
    border: 2px solid transparent; cursor: pointer;
}
.btn-primary-custom {
    background: var(--primary); color: var(--white);
    padding: 14px 32px; border-radius: var(--radius-full);
}
.btn-primary-custom:hover {
    background: var(--primary-dark); color: var(--white);
    transform: translateY(-3px); box-shadow: var(--shadow-primary);
}
.btn-gold {
    background: var(--secondary); color: var(--dark);
    padding: 14px 32px; border-radius: var(--radius-full);
}
.btn-gold:hover {
    background: var(--secondary-dark); transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.btn-outline-primary-custom {
    background: transparent; color: var(--primary);
    border-color: var(--primary); padding: 14px 32px;
    border-radius: var(--radius-full);
}
.btn-outline-primary-custom:hover {
    background: var(--primary); color: var(--white);
}
.btn-outline-light {
    background: transparent; color: var(--white);
    border-color: rgba(255,255,255,0.4); padding: 14px 32px;
    border-radius: var(--radius-full);
}
.btn-outline-light:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-cta-light {
    background: var(--white); color: var(--primary);
    padding: 14px 35px; border-radius: var(--radius-full);
    font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
}
.btn-cta-light:hover { background: var(--secondary); color: var(--dark); }

/* ==================== Section Headers ==================== */
.section-header { margin-bottom: 60px; }
.section-tag {
    display: inline-block; background: rgba(212, 162, 76, 0.15);
    color: var(--secondary-dark); padding: 8px 24px;
    border-radius: var(--radius-full); font-size: 14px;
    font-weight: 600; margin-bottom: 18px;
}
.section-title { font-size: 44px; font-weight: 800; margin-bottom: 18px; line-height: 1.2; }
.section-subtitle { font-size: 18px; color: var(--text-light); max-width: 650px; margin: 0 auto; }
@media (max-width: 768px) { .section-title { font-size: 28px; } }

/* ==================== Hero Section ==================== */
.hero-section-modern {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11, 79, 58, 0.94) 0%, rgba(30, 30, 30, 0.88) 100%);
    z-index: 1; pointer-events: none;
}
.hero-bg-image { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-section-modern > .container { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(212, 162, 76, 0.2);
    border: 1px solid rgba(212, 162, 76, 0.4);
    padding: 10px 24px; border-radius: var(--radius-full);
    color: var(--secondary); font-size: 14px;
}
.hero-title { font-size: 72px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 25px; }
.hero-subtitle { font-size: 24px; color: var(--secondary); margin-bottom: 20px; }
.hero-description { font-size: 18px; color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.hero-trust-badges {
    display: flex; justify-content: center; gap: 50px;
    flex-wrap: wrap; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--white); }
.trust-item i { font-size: 36px; color: var(--secondary); }
.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 2;
}
.hero-scroll-indicator a {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; color: rgba(255,255,255,0.7); font-size: 12px;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
@media (max-width: 768px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }
}

/* ==================== Activity Cards ==================== */
.activity-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.activity-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg); padding: 45px 30px;
    text-align: center; color: var(--white); height: 100%;
    transition: var(--transition); min-height: 280px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.activity-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(11, 79, 58, 0.4);
}
.activity-icon {
    width: 90px; height: 90px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--secondary);
    margin-bottom: 25px; border: 2px solid rgba(212, 162, 76, 0.3);
}
.activity-card:hover .activity-icon {
    background: var(--secondary); color: var(--dark);
    transform: rotateY(360deg) scale(1.1);
}
.activity-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.activity-desc { font-size: 14px; opacity: 0.9; line-height: 1.8; }

/* ==================== About Section ==================== */
.about-image-wrapper {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-xl);
}
.about-image-wrapper img { width: 100%; height: 500px; object-fit: cover; }
.about-experience-badge {
    position: absolute; bottom: 30px; inset-inline-end: 30px;
    background: var(--secondary); color: var(--dark);
    padding: 25px 30px; border-radius: var(--radius-md);
    text-align: center; border: 4px solid var(--white);
}
.about-experience-badge .number { font-size: 52px; font-weight: 800; color: var(--primary); }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 10px 0; }

/* ==================== Alpha Motors Section ==================== */
.alpha-motors-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative; overflow: hidden;
    padding: 100px 0;
}
.alpha-motors-section::before {
    content: ''; position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.15), transparent 70%);
    border-radius: 50%;
}
.alpha-motors-section::after {
    content: ''; position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(11, 79, 58, 0.2), transparent 70%);
    border-radius: 50%;
}
.alpha-brand-header { display: flex; align-items: center; gap: 20px; }
.alpha-logo {
    font-size: 64px; font-weight: 800; color: var(--secondary);
    letter-spacing: 3px; line-height: 1; font-family: 'Poppins', serif;
}
.alpha-logo span {
    display: block; font-size: 14px; color: var(--white);
    letter-spacing: 6px; margin-top: 5px;
    font-weight: 400; font-family: 'Poppins', sans-serif;
}
.alpha-features { list-style: none; padding: 0; margin: 0; }
.alpha-features li {
    display: flex; align-items: center; gap: 15px;
    padding: 14px 0; font-size: 17px; color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.alpha-features li:last-child { border-bottom: none; }
.alpha-features i { font-size: 20px; color: var(--secondary); }
.alpha-car-showcase {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-xl);
    border: 3px solid rgba(212, 162, 76, 0.3);
}
.alpha-car-showcase img {
    width: 100%; height: 480px; object-fit: cover;
    transition: var(--transition);
}
.alpha-car-showcase:hover img { transform: scale(1.05); }
.alpha-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    padding: 50px 35px 35px; color: var(--white);
}
.alpha-car-name { font-size: 32px; font-weight: 700; margin-bottom: 18px; color: var(--white); }
.alpha-car-specs { display: flex; gap: 30px; flex-wrap: wrap; }
.spec-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.9); }
.spec-item i { color: var(--secondary); font-size: 18px; }
@media (max-width: 768px) {
    .alpha-logo { font-size: 40px; }
    .alpha-car-showcase img { height: 300px; }
    .alpha-car-name { font-size: 22px; }
}

/* ==================== Statistics ==================== */
.statistics-section { background: var(--bg-light); }
.stat-box {
    text-align: center; padding: 45px 30px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    height: 100%;
}
.stat-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.stat-box-icon {
    width: 85px; height: 85px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); display: flex;
    align-items: center; justify-content: center;
    font-size: 36px; margin: 0 auto 25px;
}
.stat-box-number { font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-box-number .suffix { color: var(--secondary); font-size: 40px; }
.stat-box-label { font-size: 16px; color: var(--text-light); }

/* ==================== Network Map Section ==================== */
.network-map-section {
    background: linear-gradient(135deg, #f4f6f9 0%, #e8ecf1 100%);
    padding: 80px 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(11, 79, 58, 0.15);
}

.world-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
}

/* تصویر PNG */
.map-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* Fallback */
.map-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-fallback svg {
    width: 100%;
    height: 100%;
}

/* لایه SVG رویی */
.map-overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* انیمیشن خطوط */
.connection-lines path {
    animation: lineFlow 3s linear infinite;
}

@keyframes lineFlow {
    to { stroke-dashoffset: -100; }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .map-container {
        padding: 30px 20px;
    }
    
    .world-map-wrapper {
        min-height: 300px;
    }
}
/* ==================== Articles ==================== */
.article-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition); height: 100%;
}
.article-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.article-image { position: relative; height: 240px; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.article-card:hover .article-image img { transform: scale(1.08); }
.article-category {
    position: absolute; top: 15px; inset-inline-start: 15px;
    background: var(--secondary); color: var(--dark);
    padding: 6px 18px; border-radius: var(--radius-full);
    font-size: 12px; font-weight: 700;
}
.article-content { padding: 28px; }
.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-light); margin-bottom: 15px; }
.article-content h3 { font-size: 20px; margin-bottom: 15px; }
.article-content p { color: var(--text-light); font-size: 14px; }
.article-link { color: var(--primary); font-weight: 700; font-size: 14px; }

/* ==================== Contact Section Dark ==================== */
.contact-section-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative; overflow: hidden;
    padding: 100px 0;
}
.contact-section-dark::before {
    content: ''; position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(212, 162, 76, 0.08);
}
.contact-section-dark .section-title { color: var(--white); }
.contact-section-dark .section-subtitle { color: rgba(255,255,255,0.8); }

.contact-info-dark h3 { color: var(--white); font-size: 30px; margin-bottom: 35px; }
.contact-item-dark {
    display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px;
}
.contact-icon-box {
    width: 58px; height: 58px; border-radius: var(--radius-md);
    background: rgba(212, 162, 76, 0.2); color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.contact-item-dark .info h5 { color: var(--secondary); font-size: 16px; margin-bottom: 6px; }
.contact-item-dark .info p { color: rgba(255,255,255,0.9); margin: 0; font-size: 15px; }
.contact-item-dark .info a { color: rgba(255,255,255,0.9); }
.contact-item-dark .info a:hover { color: var(--secondary); }

.contact-form-dark {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 50px;
}
.contact-form-dark .form-label { color: var(--white); font-weight: 500; margin-bottom: 8px; }
.contact-form-dark .form-control,
.contact-form-dark .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); padding: 14px 18px;
    border-radius: var(--radius-sm); font-size: 15px;
}
.contact-form-dark .form-control:focus,
.contact-form-dark .form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.2);
    outline: none;
}
.contact-form-dark .form-control::placeholder { color: rgba(255,255,255,0.5); }
.contact-form-dark select.form-control option { background: var(--bg-dark); color: var(--white); }
.contact-form-dark textarea.form-control { resize: vertical; min-height: 120px; }
.contact-form-dark .btn-submit {
    background: var(--secondary); color: var(--dark);
    border: none; padding: 16px 40px;
    border-radius: var(--radius-full); font-weight: 700;
    font-size: 16px; width: 100%; cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-form-dark .btn-submit:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 162, 76, 0.4);
}

.social-links-dark { display: flex; gap: 12px; }
.social-links-dark a {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: var(--transition);
}
.social-links-dark a:hover { background: var(--secondary); color: var(--dark); transform: translateY(-5px); }

@media (max-width: 768px) {
    .contact-form-dark { padding: 30px 25px; }
    .contact-info-dark h3 { font-size: 26px; }
}

/* ==================== CTA Section ==================== */
.cta-section { background: var(--bg-white); }
.cta-box-large {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 70px 60px; border-radius: var(--radius-xl);
    position: relative; overflow: hidden;
}
.cta-box-large h2 { color: var(--white); font-size: 38px; margin-bottom: 15px; }
.cta-box-large p { color: rgba(255,255,255,0.9); font-size: 18px; }
@media (max-width: 768px) {
    .cta-box-large { padding: 40px 25px; }
    .cta-box-large h2 { font-size: 26px; }
}

/* ==================== Footer ==================== */
.main-footer {
    background: linear-gradient(135deg, #0a3d2d, var(--primary-dark));
    color: var(--white);
}
.footer-cta { padding: 70px 0; }
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px; border-radius: var(--radius-xl);
    color: var(--white);
}
.cta-box h2 { color: var(--white); font-size: 36px; margin-bottom: 15px; }
.footer-main { padding: 70px 0 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-logo { height: 65px; margin-bottom: 20px; }
.footer-title {
    color: var(--white); font-size: 20px;
    margin-bottom: 28px; padding-bottom: 15px;
    position: relative;
}
.footer-title::after {
    content: ''; position: absolute; bottom: 0;
    inset-inline-start: 0; width: 50px; height: 3px;
    background: var(--secondary);
}
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14px; display: block; padding: 6px 0; }
.footer-links a:hover { color: var(--secondary); }
.footer-contact li {
    display: flex; gap: 15px; margin-bottom: 18px;
    color: rgba(255,255,255,0.8); font-size: 14px;
}
.footer-contact i { color: var(--secondary); }
.footer-bottom { padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.copyright { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--secondary); color: var(--dark); }
.footer-bottom-links { display: flex; gap: 25px; }
.footer-bottom-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ==================== WhatsApp & Back to Top ==================== */
.whatsapp-float {
    position: fixed; bottom: 30px; inset-inline-start: 30px;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 999;
}
.back-to-top {
    position: fixed; bottom: 30px; inset-inline-end: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    border: none; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; z-index: 999;
}

/* ==================== Mobile Menu ==================== */
.mobile-menu { width: 320px !important; }
.mobile-nav > li > a {
    display: block; padding: 14px 0;
    color: var(--text-dark); font-weight: 600;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-nav .submenu { padding-inline-start: 20px; display: none; }
.mobile-nav .submenu.active { display: block; }
.mobile-contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 25px; border-radius: var(--radius-lg);
    margin-bottom: 30px;
}
.mobile-contact-info p { color: var(--white); margin: 10px 0; }
.mobile-contact-info i { color: var(--secondary); }
.mobile-lang-switcher {
    display: flex; gap: 12px; align-items: center;
    justify-content: center; padding: 18px;
    background: var(--bg-light); border-radius: var(--radius-md);
    margin: 20px 0;
}
.mobile-lang-switcher a {
    padding: 10px 28px; border-radius: var(--radius-full);
    background: var(--white); color: var(--text-dark);
    font-weight: 600;
}
.mobile-lang-switcher a.active {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--dark);
}
.btn-cta-mobile {
    display: block; text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--dark); padding: 16px;
    border-radius: var(--radius-lg); font-weight: 700;
}

/* ==================== Page Header ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 130px 0 70px; color: var(--white);
}
.page-title { font-size: 52px; color: var(--white); margin-bottom: 20px; font-weight: 800; }
.page-subtitle { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 15px; }
.breadcrumb-custom { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.breadcrumb-custom a { color: rgba(255,255,255,0.85); }
.breadcrumb-custom a:hover { color: var(--secondary); }
.breadcrumb-custom span { color: var(--secondary); font-weight: 600; }

/* ==================== Forms ==================== */
.form-control, .form-select {
    padding: 13px 18px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); font-size: 15px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 79, 58, 0.1);
    outline: none;
}
.form-label { font-weight: 600; margin-bottom: 8px; }

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
    .header-actions { display: none; }
    .top-bar { display: none; }
}
@media (max-width: 576px) {
    .whatsapp-float { width: 55px; height: 55px; font-size: 28px; bottom: 20px; inset-inline-start: 20px; }
    .back-to-top { width: 45px; height: 45px; bottom: 20px; inset-inline-end: 20px; }
}
/* ==================== Fix Header Menu Lines ==================== */

/* حذف خط بالایی (before) - فقط خط پایینی باقی بماند */
.navbar-nav .nav-link::before {
    display: none !important;
}

/* اصلاح خط پایینی (after) برای مرکز قرار گرفتن */
.navbar-nav .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    right: auto !important;
    width: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 8px rgba(212, 162, 76, 0.5) !important;
}

/* در حالت RTL هم خط در مرکز باشد */
body.dir-rtl .navbar-nav .nav-link::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

/* در حالت LTR هم خط در مرکز باشد */
body.dir-ltr .navbar-nav .nav-link::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

/* هنگام hover یا active، خط نمایش داده شود */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70% !important;
}

/* افکت hover زیبا برای آیتم منو */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(11, 79, 58, 0.05), rgba(212, 162, 76, 0.05)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    border-radius: 12px !important;
    z-index: -1 !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1 !important;
}
/* ==================== سفید کردن فقط متن کارت‌های فعالیت ==================== */

/* عنوان کارت - سفید */
.activity-card .activity-title {
    color: #FFFFFF !important;
}

/* توضیحات کارت - سفید با کمی شفافیت */
.activity-card .activity-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1 !important;
}
