/* ============================================
   کارشناس رسمی دادگستری - استایل کامل
   تم سفید با المان‌های طلایی و سرمه‌ای
   ============================================ */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&family=Playfair+Display:wght@400;700;900&display=swap');

/* CSS Variables */
:root {
    --primary: #1a2744;      /* Navy Blue - سرمه‌ای */
    --primary-dark: #0f1a30;
    --primary-light: #2a3a5c;
    --gold: #c5a028;         /* Gold - طلایی */
    --gold-light: #d4af37;
    --gold-dark: #a88a1f;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark: #212529;
    --text: #495057;
    --text-light: #6c757d;
    --border: #dee2e6;
    --shadow: 0 5px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 60px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
}

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

/* ============================================
   PRELOADER - با آرم کانون کارشناسان رسمی
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

/* کانتینر آرم کانون */
.kanoon-logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* تصویر آرم کانون */
.kanoon-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(26, 39, 68, 0.15);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
}

.kanoon-logo-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* حلقه دور آرم */
.kanoon-logo-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: ringRotate 4s linear infinite;
    opacity: 0.5;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* حلقه دوم */
.kanoon-logo-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed var(--gold);
    border-radius: 50%;
    animation: ringRotate 8s linear infinite reverse;
    opacity: 0.3;
}

/* Fallback آرم (اگر عکس لود نشد) */
.kanoon-logo-fallback {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 3px solid var(--gold);
}

.kanoon-logo-fallback i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 5px;
}

.kanoon-logo-fallback span {
    font-size: 11px;
    color: var(--white);
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
}

/* متن پریلودر */
.preloader-text {
    position: relative;
    z-index: 1;
}

.preloader-text h2 {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { opacity: 0.7; color: var(--primary); }
    50% { opacity: 1; color: var(--gold); }
}

/* نوار لودینگ */
.loading-bar {
    width: 250px;
    height: 4px;
    background: var(--light-gray);
    border-radius: 4px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    background-size: 200% 100%;
    border-radius: 4px;
    width: 0%;
    animation: loadingProgress 2.5s ease-in-out forwards, gradientMove 2s linear infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    30% { width: 40%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.preloader-text p {
    color: var(--text-light);
    font-size: 14px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   HEADER
   ============================================ */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-left: 20px;
}

.contact-info i {
    color: var(--gold);
    margin-left: 5px;
}

.top-bar-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-links a:hover {
    color: var(--gold);
}

.main-nav-container {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}


.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 24px;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.logo-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.logo-subtitle {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: -2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--off-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}

.admin-link {
    border: 1px solid var(--gold);
    color: var(--primary) !important;
}

.admin-link:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary);
}

.btn-consultation {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 39, 68, 0.2);
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 39, 68, 0.3);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(197, 160, 40, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 39, 68, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 40, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 40, 0.2);
}

.hero-badge i {
    color: var(--gold);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(26, 39, 68, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 39, 68, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.stat-plus,
.stat-percent {
    font-size: 24px;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.02);
}

.hero-image-border {
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    border: 3px solid var(--gold);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.hero-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    display: block;
}

.badge-text {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 100px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.05), rgba(197, 160, 40, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ============================================
   CREDENTIALS SECTION
   ============================================ */
.credentials-section {
    padding: 80px 0;
    background: var(--white);
}

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

.credential-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.credential-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.credential-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.05), rgba(197, 160, 40, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.credential-card:hover .credential-icon {
    background: var(--primary);
}

.credential-card:hover .credential-icon i {
    color: var(--white);
}

.credential-icon i {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.credential-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.credential-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page-section {
    padding: 100px 0;
    background: var(--white);
}

.about-main-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.about-image-side {
    position: sticky;
    top: 100px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    border-radius: 20px;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    border: 3px solid var(--gold);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.5;
}

.certificate-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.certificate-badge i {
    color: var(--gold);
    font-size: 24px;
}

.certificate-badge span {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.about-intro {
    margin-bottom: 30px;
}

.about-greeting {
    display: inline-block;
    background: rgba(197, 160, 40, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.about-text-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text-side p {
    color: var(--text);
    line-height: 1.8;
}

.about-specialties,
.about-credentials {
    margin-top: 30px;
}

.about-specialties h3,
.about-credentials h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--off-white);
}

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

.specialty-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--off-white);
    border-radius: 10px;
    transition: var(--transition);
}

.specialty-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.specialty-item i {
    color: var(--gold);
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--off-white);
}

.credentials-list li i {
    color: var(--gold);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
}

.contact-info-card {
    background: var(--primary);
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
    margin-bottom: 30px;
}

.contact-info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--gold);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(197, 160, 40, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--gold);
    font-size: 18px;
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--gold);
}

.info-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.social-media-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-media-section h4 {
    color: var(--gold);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.telegram:hover { background: #0088cc; }
.social-link.whatsapp:hover { background: #25D366; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.linkedin:hover { background: #0077b5; }

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    display: block;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-page-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 16px;
    color: var(--primary);
    margin: 0;
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: var(--primary);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: var(--text);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

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

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo a {
    color: var(--white);
}

.footer-about .logo-title {
    color: var(--white) !important;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social .social-link {
    background: rgba(255,255,255,0.1);
}

.footer-section h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-main-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-side {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .header-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        padding: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
}
/* لوگوی هدر */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gold);
    transition: var(--transition);
    overflow: hidden;
    padding: 5px;
}

.logo-icon .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(26, 39, 68, 0.15);
}

.logo:hover .logo-icon i {
    color: var(--gold);
}
/* ============================================
   CUSTOM SCROLLBAR - اسکرول رنگی
   ============================================ */

/* برای مرورگرهای Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c5a028, #1a2744);
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4af37, #0f1a30);
}

/* برای Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c5a028 #f1f1f1;
}

/* اسکرول بار در حالت dark (برای بخش‌های تیره) */
.dark-scroll::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.dark-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c5a028, #d4af37);
    border: 3px solid #1a1a1a;
}
/* ============================================
   SOCIAL ICONS - بله و ایتا
   ============================================ */

.footer-social .social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50%;
}

.footer-social .social-link:hover {
    transform: translateY(-5px);
    color: var(--primary);
}

.footer-social .social-link:hover::before {
    opacity: 1;
}

/* رنگ‌های اختصاصی برای hover */
.footer-social .social-link.telegram:hover {
    background: #0088cc;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

.footer-social .social-link.whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.footer-social .social-link.bale:hover {
    background: #00bf6f;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 191, 111, 0.4);
}

.footer-social .social-link.eitaa:hover {
    background: #ff8c00;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

/* ============================================
   LOGO IMAGE
   ============================================ */
.logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 5px;
}

.logo-icon .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-icon i {
    font-size: 28px;
    color: var(--primary);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(197, 160, 40, 0.3);
}
/* ============================================
   FOOTER SOCIAL ICONS WITH CUSTOM IMAGES
   ============================================ */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social .social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

/* استایل عکس‌های داخل آیکن */
.footer-social .social-link .social-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* سفید کردن آیکن */
}

/* هاور کلی */
.footer-social .social-link:hover {
    transform: translateY(-5px);
}

/* تلگرام */
.footer-social .social-link.telegram:hover {
    background: #0088cc;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

/* واتس‌اپ */
.footer-social .social-link.whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* بله */
.footer-social .social-link.bale:hover {
    background: #00bf6f;
    box-shadow: 0 10px 25px rgba(0, 191, 111, 0.4);
}

.footer-social .social-link.bale:hover .social-icon-img {
    filter: brightness(0) invert(1);
}

/* ایتا */
.footer-social .social-link.eitaa:hover {
    background: #ff8c00;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

.footer-social .social-link.eitaa:hover .social-icon-img {
    filter: brightness(0) invert(1);
}

/* ============================================
   LOGO STYLES
   ============================================ */
.logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 8px;
}

.logo-icon .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.logo-icon i {
    font-size: 28px;
    color: var(--primary);
}

/* اگر عکس لود نشد، متن جایگزین */
.logo-text-icon {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 1;
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(197, 160, 40, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}
/* ============================================
   FOOTER BOTTOM - با لینک نیوتکنو
   ============================================ */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright-text {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0;
}

.copyright-text strong {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.developer-text {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin: 0;
}

.developer-text a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.developer-text a:hover {
    color: var(--gold);
}

.developer-text a strong {
    font-weight: 600;
}

.dev-link {
    direction: ltr;
    display: inline-block;
    font-size: 11px;
    color: var(--gold);
    background: rgba(197,160,40,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.developer-text a:hover .dev-link {
    background: rgba(197,160,40,0.2);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .copyright-text {
        font-size: 12px;
    }
    
    .developer-text {
        font-size: 11px;
    }
}
