/* ================= متغیرهای رنگی و فونت ================= */
:root {
    --primary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success-color: #10b981;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    text-align: right;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 800;
    color: var(--primary-color);
}

a { text-decoration: none; transition: all 0.3s ease; }

/* ================= هدر و منو ================= */
.sub-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}
.sub-header .right-icons ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 15px; justify-content: flex-end;
}
.sub-header .right-icons a { color: var(--white); }
.sub-header .right-icons a:hover { color: var(--accent-color); }

.header-sticky {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky; top: 0; z-index: 1000;
}

.main-nav .logo {
    font-size: 28px; font-weight: 900; color: var(--primary-color) !important;
}

.main-nav .nav {
    display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
}

.main-nav .nav a {
    color: var(--text-color); font-weight: 600; font-size: 16px;
    padding: 25px 0; display: block;
}

.main-nav .nav a.active, .main-nav .nav a:hover { color: var(--accent-color); }

/* ================= بنر اصلی ================= */
.main-banner {
    position: relative; height: 85vh; min-height: 600px;
    display: flex; align-items: center; color: var(--white);
}

#bg-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    z-index: -2; transform: translateX(-50%) translateY(-50%); object-fit: cover;
}

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    z-index: -1; display: flex; align-items: center;
}

.main-banner h1 {
    font-size: 3rem; color: var(--white); margin-bottom: 20px; line-height: 1.3;
}

.main-banner p {
    font-size: 1.2rem; color: #e2e8f0; margin-bottom: 35px; max-width: 750px;
}

.phone-button {
    background: var(--accent-color); color: var(--white); border-radius: 50px;
    padding: 16px 40px; font-size: 18px; font-weight: 700; border: none;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    display: inline-flex; align-items: center; gap: 10px;
}

.phone-button:hover {
    background: #d97706; color: var(--white); transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.5);
}

/* ================= خدمات تخصصی (طراحی جدید و تضمینی) ================= */
.services { 
    padding: 100px 0; 
    background: #f1f5f9; /* پس‌زمینه خاکستری خیلی روشن برای دیده شدن کارت‌ها */
}

.section-heading { text-align: center; margin-bottom: 60px; }
.section-heading h2 {
    font-size: 2.2rem; position: relative; display: inline-block; padding-bottom: 15px;
}
.section-heading h2::after {
    content: ''; position: absolute; bottom: 0; right: 50%;
    transform: translateX(50%); width: 70px; height: 4px;
    background: var(--accent-color); border-radius: 2px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.service-icon {
    width: 75px; height: 75px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    color: #d97706;
    font-size: 32px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.2rem; font-weight: 800; color: var(--primary-color); margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem; color: #64748b; line-height: 1.8; margin: 0;
}

/* ================= نمونه کارها ================= */
.upcoming-meetings { padding: 100px 0; background: var(--white); }

.meeting-item {
    background: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); margin-bottom: 30px;
    transition: transform 0.3s ease; border: 1px solid #f1f5f9;
}
.meeting-item:hover { transform: translateY(-8px); }

.meeting-item .thumb { position: relative; height: 280px; overflow: hidden; }
.meeting-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.meeting-item .thumb:hover img { transform: scale(1.08); }

.meeting-item .thumb .price {
    position: absolute; top: 15px; left: 15px;
    background: var(--accent-color); color: var(--white);
    padding: 6px 18px; border-radius: 20px; font-weight: 700; font-size: 14px;
}

/* ================= درباره ما ================= */
.our-courses { padding: 100px 0; background: var(--bg-light); }

.profile-image {
    width: 320px; height: 320px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); border: 6px solid var(--white);
    margin: 0 auto;
}
.profile-image img { width: 100%; height: 100%; object-fit: cover; }

.features-list { list-style: none; padding: 0; margin: 30px 0; }
.features-list li {
    font-size: 17px; margin-bottom: 15px; color: var(--text-color);
    display: flex; align-items: center;
}
.features-list i { color: var(--success-color); margin-left: 12px; font-size: 20px; }

.phone-link {
    color: var(--primary-color); font-weight: 800; font-size: 1.4rem;
    border-bottom: 2px dashed var(--accent-color);
}

/* ================= تماس با ما ================= */
.contact-us { padding: 100px 0; background: var(--primary-color); color: var(--white); }
.contact-us h2 { color: var(--white); margin-bottom: 10px; }

.contact-us input, .contact-us textarea {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: var(--white); border-radius: 10px; padding: 16px; width: 100%;
    margin-bottom: 20px; font-family: 'Vazirmatn', sans-serif; font-size: 15px;
}
.contact-us input::placeholder, .contact-us textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-us input:focus, .contact-us textarea:focus {
    outline: none; border-color: var(--accent-color); background: rgba(255,255,255,0.12);
}

.contact-us input[type="file"] {
    padding: 12px; background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.3); cursor: pointer;
}
.contact-us input[type="file"]::file-selector-button {
    background: var(--accent-color); border: none; color: white;
    padding: 8px 16px; border-radius: 6px; font-family: 'Vazirmatn', sans-serif;
    font-weight: bold; cursor: pointer; margin-left: 15px;
}

.contact-us button.submit-btn {
    background: var(--accent-color); color: var(--white); border: none;
    padding: 18px 40px; border-radius: 10px; font-weight: 800; font-size: 18px;
    font-family: 'Vazirmatn', sans-serif; cursor: pointer; transition: all 0.3s ease; width: 100%;
}
.contact-us button.submit-btn:hover { background: #d97706; transform: translateY(-2px); }

.right-info-panel {
    background: var(--white); border-radius: 20px; padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); text-align: center;
    color: var(--text-color); height: 100%;
}
.right-info-panel h4 { margin-bottom: 30px; font-weight: 800; }
.right-info-panel ul { list-style: none; padding: 0; margin: 0; text-align: right; }
.right-info-panel li {
    margin-bottom: 25px; font-size: 16px; padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}
.right-info-panel li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.right-info-panel i { font-size: 22px; margin-left: 15px; vertical-align: middle; }

@media (max-width: 991px) {
    .main-banner h1 { font-size: 2.2rem; }
    .main-nav .nav { display: none; }
    .profile-image { width: 250px; height: 250px; margin-bottom: 30px; }
}