/* =========================================
           تنظیمات پایه و متغیرها
           ========================================= */
:root {
    --bg-dark: #080b1a;
    --bg-card: #111629;
    --blue-primary: #1a5cff;
    --blue-gradient: #1a5cff;
    --yellow-gold: #f5c318;
    --text-white: #ffffff;
    --text-grey: #b0b5c9;
    --font-main: 'Vazirmatn', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* =========================================
   بخش هدر و منوی سایت
   ========================================= */
header {
    width: 100%;
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(8, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.brand-area .logo-icon {
    font-size: 40px;
    font-weight: 900;
    color: var(--blue-primary);
    background: linear-gradient(180deg, #2b74ff, #0f3fa1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: right;
}
.brand-text .top {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-white);
}
.brand-text .bottom {
    font-size: 12px;
    color: var(--text-grey);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}
.main-nav ul li {
    position: relative;
}
.main-nav ul li > a {
    color: var(--text-white);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
}
.main-nav ul li > a:hover {
    color: var(--yellow-gold);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-grey);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dropdown-menu li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--yellow-gold);
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}

.auth-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-login {
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
}
.btn-login:hover {
    background: rgba(255,255,255,0.1);
}
.btn-register {
    background: var(--yellow-gold);
    color: #000;
}
.btn-register:hover {
    background: #e0b010;
    transform: translateY(-2px);
}

/* =========================================
   دکمه همبرگری (برای موبایل)
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
    z-index: 1000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: 0.3s;
}

/* ادامه کدهای اصلی سایت (هیرو، خدمات، پکیج، فوتر و...) */
.hero { position: relative; width: 100%; min-height: 100vh; display: flex; align-items: center; background-color: var(--bg-dark); overflow: hidden; }
.hero-overlay { position: absolute; width: 100%; height: 100%; top: 0; right: 0; z-index: 1; background: linear-gradient(to left, rgba(8, 11, 26, 0.95) 40%, rgba(8, 11, 26, 0) 100%); pointer-events: none; }
.hero-layout { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 100px; padding-bottom: 40px; }
.hero-text-col { flex: 0.9; max-width: 520px; padding-left: 30px; text-align: right; display: flex; flex-direction: column; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--text-grey); margin-bottom: 25px; width: fit-content; box-shadow: 0 0 15px rgba(26, 92, 255, 0.2); }
.hero-badge span { color: var(--yellow-gold); }
.hero-title { font-size: 56px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero-title .highlight { color: var(--blue-primary); }
.hero-desc { font-size: 16px; color: var(--text-grey); line-height: 1.8; margin-bottom: 40px; max-width: 400px; }
.hero-actions { display: flex; align-items: center; gap: 15px; }
.btn-consult { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--text-white); }
.btn-consult:hover { background: rgba(255,255,255,0.1); border-color: var(--text-white); }
.btn-course { background: var(--yellow-gold); color: #0a0c15; }
.btn-course:hover { background: #e0b010; transform: translateY(-2px); }
.hero-image-col { flex: 1.5; display: flex; justify-content: center; align-items: center; height: 100%; }
.hero-image-col img { max-width: 120%; height: auto; object-fit: contain; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)); margin-left: -20px; }

/* چرا باهرحساب */
.why-bahar { padding: 80px 0; background-color: var(--bg-dark); }
.why-bahar-inner { background: rgba(15, 20, 35, 0.8); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 30px; padding: 40px 50px; display: flex; align-items: center; gap: 50px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); }
.why-text-col { flex: 1; text-align: right; display: flex; flex-direction: column; gap: 20px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--text-white); margin-bottom: 10px; }
.highlight-blue { color: var(--blue-primary); }
.desc-text { font-size: 15px; line-height: 2; color: var(--text-grey); margin: 0; }
.why-image-col { flex: 1; display: flex; justify-content: center; align-items: flex-end; }
.why-image-col img { max-width: 110%; height: auto; object-fit: cover; margin-bottom: -30px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }

/* خدمات */
.services-section { padding: 80px 0; background-color: var(--bg-dark); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-title { font-size: 38px; margin-bottom: 10px; }
.services-header .section-subtitle { font-size: 16px; color: var(--text-grey); margin-top: 10px; }
.services-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.services-cards-col { flex: 1.2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 30px 20px; transition: all 0.4s ease; }
.service-card:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--yellow-gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.service-icon { color: var(--yellow-gold); margin-bottom: 15px; display: inline-block; }
.service-title { font-size: 18px; font-weight: bold; color: var(--text-white); margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-grey); line-height: 1.6; margin: 0; }
.services-image-col { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.services-image-col img { max-width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }

/* پکیج ها */
.popular-packages { padding: 80px 0; background-color: var(--bg-dark); }
.packages-header { text-align: center; margin-bottom: 50px; }
.packages-header .section-subtitle { font-size: 16px; color: var(--text-grey); margin-top: 10px; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.package-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; overflow: hidden; transition: all 0.4s ease; display: flex; flex-direction: column; }
.package-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-8px); border-color: var(--yellow-gold); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); }
.card-image { width: 100%; height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.package-card:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 18px; font-weight: bold; color: var(--text-white); margin-bottom: 10px; }
.card-desc { font-size: 13px; color: var(--text-grey); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.btn-card-detail { align-self: flex-start; padding: 8px 18px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-white); font-size: 13px; border-radius: 20px; gap: 6px; }
.btn-card-detail svg { color: var(--yellow-gold); }
.btn-card-detail:hover { background: var(--yellow-gold); color: #000; border-color: var(--yellow-gold); }
.btn-card-detail:hover svg { color: #000; }
.packages-footer { text-align: center; margin-top: 50px; }
.btn-all-courses { background: transparent; border: 1px solid var(--yellow-gold); color: var(--text-white); padding: 14px 40px; font-size: 16px; border-radius: 10px; }
.btn-all-courses:hover { background: var(--yellow-gold); color: #000; transform: translateY(-2px); }

/* متخصصین */
.instructors-section { padding: 80px 0; background-color: var(--bg-dark); }
.instructors-header { text-align: center; margin-bottom: 50px; }
.instructors-header .section-subtitle { font-size: 16px; color: var(--text-grey); margin-top: 10px; }
.instructors-slider-wrapper { position: relative; padding: 0 60px; }
.instructors-grid { display: flex; justify-content: center; gap: 25px; }
.teacher-card { flex: 1; max-width: 400px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 20px; padding: 30px 25px; display: flex; flex-direction: row-reverse; align-items: center; gap: 25px; transition: all 0.3s ease; }
.teacher-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.teacher-image { flex-shrink: 0; }
.teacher-image img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.05); }
.teacher-content { flex: 1; text-align: right; }
.teacher-name { font-size: 20px; font-weight: bold; color: var(--text-white); margin-bottom: 5px; }
.teacher-role { font-size: 13px; color: var(--blue-primary); margin-bottom: 8px; font-weight: 500; }
.teacher-bio { font-size: 13px; color: var(--text-grey); line-height: 1.6; margin: 0; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.slider-arrow:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--text-white); }
.arrow-left { left: 0; }
.arrow-right { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.slider-dots .dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; cursor: pointer; }
.slider-dots .dot.active { background: var(--blue-primary); width: 25px; border-radius: 10px; }

/* مسیر یادگیری */
.learning-path-section { padding: 80px 0 100px; background-color: var(--bg-dark); }
.path-header { text-align: center; margin-bottom: 60px; }
.path-header .section-subtitle { font-size: 16px; color: var(--text-grey); margin-top: 10px; }
.path-wrapper { position: relative; padding: 0 20px; }
.path-line { position: absolute; top: 45px; left: 10%; width: 80%; height: 2px; border-top: 2px dashed rgba(255, 255, 255, 0.1); z-index: 1; }
.path-steps { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; position: relative; z-index: 2; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.step-icon { width: 70px; height: 70px; background: var(--bg-dark); border: 2px solid var(--yellow-gold); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--yellow-gold); margin-bottom: 20px; transition: all 0.3s ease; }
.step:hover .step-icon { background: var(--yellow-gold); color: var(--bg-dark); transform: translateY(-5px); box-shadow: 0 0 20px rgba(245, 195, 24, 0.3); }
.step-title { color: var(--yellow-gold); font-size: 16px; font-weight: bold; margin-bottom: 8px; }
.step-desc { color: var(--text-grey); font-size: 13px; line-height: 1.6; max-width: 140px; margin: 0 auto; }

/* درباره ما و مقالات */
.about-articles-section { padding: 80px 0; background-color: var(--bg-dark); }
.about-articles-layout { display: flex; gap: 30px; }
.about-column { flex: 1; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 20px; padding: 30px; display: flex; align-items: center; gap: 30px; }
.about-content-text { flex: 1; display: flex; flex-direction: column; }
.about-content-text .section-title { font-size: 26px; margin-bottom: 15px; }
.about-content-text .desc-text { font-size: 14px; margin-bottom: 20px; line-height: 1.8; }
.about-features-list { list-style: none; padding: 0; margin: 0 0 25px 0; }
.about-features-list li { display: flex; align-items: center; gap: 12px; color: var(--text-white); font-size: 14px; margin-bottom: 12px; }
.about-features-list .check-icon { color: var(--yellow-gold); display: flex; }
.btn-about { align-self: flex-start; background: transparent; border: 1px solid var(--yellow-gold); color: var(--yellow-gold); padding: 10px 24px; font-size: 14px; gap: 8px; }
.btn-about:hover { background: var(--yellow-gold); color: #000; }
.about-content-image { flex: 1; height: 100%; display: flex; }
.about-content-image img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; }
.articles-column { flex: 1; display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 20px; padding: 30px; }
.articles-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.articles-title { font-size: 24px; font-weight: bold; color: var(--text-white); margin: 0; }
.btn-articles-view { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--yellow-gold); color: var(--yellow-gold); padding: 8px 18px; border-radius: 8px; font-size: 13px; font-family: var(--font-main); cursor: pointer; transition: 0.3s; }
.btn-articles-view:hover { background: var(--yellow-gold); color: #000; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; height: 100%; }
.article-card { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; overflow: hidden; transition: 0.3s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.article-img { width: 100%; height: 130px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.article-badge { display: inline-block; font-size: 11px; color: #a5c9ff; border: 1px solid rgba(26, 92, 255, 0.3); padding: 2px 12px; border-radius: 12px; width: fit-content; margin-bottom: 10px; }
.article-title { font-size: 14px; font-weight: bold; color: var(--text-white); line-height: 1.5; margin: 0 0 10px 0; }
.article-date { font-size: 12px; color: var(--text-grey); }

/* نظرات کاربران */
.testimonials-section { padding: 80px 0; background-color: var(--bg-dark); }
.testimonials-header { text-align: center; margin-bottom: 50px; }
.testimonials-header .header-dots { display: flex; justify-content: center; gap: 8px; margin-top: 15px; }
.testimonials-header .header-dots .dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.testimonials-header .header-dots .dot.active { background: var(--yellow-gold); }
.testimonials-wrapper { position: relative; padding: 0 60px; }
.testimonials-grid { display: flex; justify-content: center; gap: 25px; }
.testimonial-card { flex: 1; max-width: 400px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px 25px; transition: all 0.4s ease; display: flex; flex-direction: column; }
.testimonial-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.testimonial-top { display: flex; flex-direction: row-reverse; align-items: center; gap: 15px; margin-bottom: 20px; }
.t-image img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.05); }
.t-info { flex: 1; text-align: right; }
.t-name { font-size: 18px; font-weight: bold; color: var(--blue-primary); margin-bottom: 2px; }
.t-role { font-size: 12px; color: var(--text-grey); }
.t-content { font-size: 14px; color: var(--text-grey); line-height: 1.8; margin: 0 0 15px 0; flex-grow: 1; }
.t-rating { display: flex; color: var(--yellow-gold); font-size: 16px; letter-spacing: 4px; justify-content: flex-end; }

/* CTA و فوتر */
.footer-cta-section { padding: 60px 0 80px 0; background-color: var(--bg-dark); }
.footer-cta-box { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px 50px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.cta-text h2 { font-size: 28px; font-weight: 800; color: var(--text-white); margin-bottom: 10px; }
.cta-text p { font-size: 15px; color: var(--text-grey); margin: 0; }
.btn-cta-gold { background: var(--yellow-gold); color: #000; padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-cta-gold:hover { background: #e0b010; transform: translateY(-2px); }
.site-footer { padding: 70px 0 20px 0; background: #0a0d1c; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-widget .f-title { font-size: 16px; font-weight: bold; color: var(--text-white); margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-widget .f-title::after { content: ''; position: absolute; right: 0; bottom: 0; width: 30px; height: 2px; background: var(--yellow-gold); }
.footer-widget .f-brand .brand-area { margin-bottom: 20px; }
.footer-widget .f-brand .brand-text .top { font-size: 16px; }
.footer-widget .f-brand .brand-text .bottom { font-size: 13px; }
.f-contact, .f-links { list-style: none; padding: 0; margin: 0; }
.f-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-grey); font-size: 14px; margin-bottom: 12px; }
.f-contact li svg { color: var(--yellow-gold); }
.f-links li { margin-bottom: 10px; }
.f-links li a { color: var(--text-grey); font-size: 14px; transition: 0.3s; }
.f-links li a:hover { color: var(--yellow-gold); transform: translateX(-5px); }
.f-socials { display: flex; gap: 10px; margin-top: 20px; }
.f-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: var(--text-grey); transition: 0.3s; }
.f-socials a:hover { background: var(--yellow-gold); color: #000; border-color: var(--yellow-gold); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 20px 0; background: #07090f; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; color: var(--text-grey); font-size: 13px; gap: 10px; }
.f-separator { opacity: 0.3; }

/* فرم تماس شناور */
.floating-contact-form { position: fixed; bottom: 30px; left: 30px; z-index: 999; }
.floating-toggle { display: flex; align-items: center; gap: 8px; background: var(--yellow-gold); color: #000; border: none; padding: 12px 22px; border-radius: 30px; font-family: var(--font-main); font-weight: bold; font-size: 14px; cursor: pointer; box-shadow: 0 5px 20px rgba(245, 195, 24, 0.3); transition: 0.3s; }
.floating-toggle:hover { transform: scale(1.05); }
.floating-content { position: absolute; bottom: 70px; left: 0; width: 320px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transform: translateY(20px); transition: 0.3s ease; }
.floating-contact-form.active .floating-content { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-content .f-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.05); }
.floating-content .f-header h4 { font-size: 16px; color: var(--text-white); margin: 0; }
.floating-content .f-header .close-btn { color: var(--text-grey); cursor: pointer; font-size: 18px; }
.floating-content .f-body { padding: 20px; }
.floating-content .f-body p { font-size: 12px; color: var(--text-grey); margin-bottom: 15px; }
.floating-content .f-body form { display: flex; flex-direction: column; gap: 12px; }
.floating-content .f-body form input, .floating-content .f-body form textarea { width: 100%; padding: 10px 15px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; color: var(--text-white); font-family: var(--font-main); }
.floating-content .f-body form textarea { height: 80px; resize: none; }
.floating-content .f-body form input:focus, .floating-content .f-body form textarea:focus { outline: none; border-color: rgba(26, 92, 255, 0.5); }
.f-submit-btn { background: #1a5cff; color: #fff; border: none; padding: 12px; border-radius: 8px; font-weight: bold; font-family: var(--font-main); cursor: pointer; }
.f-submit-btn:hover { background: #1349d4; }

/* انیمیشن‌ها */
#typed-text::after { content: '|'; color: var(--yellow-gold); animation: blink 0.7s infinite; font-weight: 100; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.package-card:hover, .service-card:hover, .article-card:hover { box-shadow: 0 0 20px rgba(245, 195, 24, 0.4); transition: all 0.5s ease; }

/* صفحه 404 */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 150px 0; background: var(--bg-dark); text-align: center; position: relative; overflow: hidden; }
.error-particles { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.particle { position: absolute; width: 6px; height: 6px; background: var(--yellow-gold); border-radius: 50%; opacity: 0; animation: floatParticle 6s infinite linear; }
.p1 { left: 10%; animation-delay: 0s; } .p2 { left: 25%; animation-delay: 1s; } .p3 { left: 45%; animation-delay: 2s; } .p4 { left: 60%; animation-delay: 3s; } .p5 { left: 75%; animation-delay: 4s; } .p6 { left: 85%; animation-delay: 5s; } .p7 { left: 15%; animation-delay: 2.5s; } .p8 { left: 70%; animation-delay: 1.5s; }
@keyframes floatParticle { 0% { transform: translateY(100vh); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh); opacity: 0; } }
.floating-words { position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.fw { position: absolute; font-size: 24px; font-weight: 800; color: rgba(245, 195, 24, 0.2); z-index: 1; animation: wordFloat 5s ease-in-out infinite; }
.f1 { top: 10%; right: 20%; animation-delay: 0s; } .f2 { top: 70%; right: 15%; animation-delay: 1s; } .f3 { top: 20%; left: 15%; animation-delay: 2s; } .f4 { top: 80%; left: 20%; animation-delay: 3s; } .f5 { top: 50%; left: 50%; animation-delay: 4s; }
@keyframes wordFloat { 0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; } 50% { transform: translateY(-20px) rotate(5deg); opacity: 0.8; } }
.error-code-wrapper { position: relative; margin-bottom: 30px; }
.error-code { font-size: 180px; font-weight: 900; line-height: 1; position: relative; z-index: 2; color: var(--blue-primary); background: linear-gradient(180deg, #2b74ff, #0f3fa1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 10px 30px rgba(26, 92, 255, 0.4); animation: codeGlow 2s ease-in-out infinite; }
@keyframes codeGlow { 0%, 100% { filter: drop-shadow(0 0 20px rgba(26, 92, 255, 0.3)); } 50% { filter: drop-shadow(0 0 40px rgba(26, 92, 255, 0.8)); } }
.error-title { font-size: 32px; font-weight: 800; color: var(--text-white); margin-bottom: 15px; }
.error-desc { font-size: 16px; color: var(--text-grey); line-height: 1.8; margin-bottom: 40px; }
.error-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* =========================================
   واکنش‌گرایی کامل (Mobile First)
   ========================================= */
@media (max-width: 1024px) {
    .hamburger { display: flex; position: absolute; left: 20px; top: 25px; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #080b1a;
        border-left: 1px solid rgba(255,255,255,0.1);
        padding: 80px 20px 20px;
        transition: right 0.4s ease;
        z-index: 999;
    }
    
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 15px; text-align: right; display: flex; }
    .main-nav ul li a { font-size: 18px; padding: 10px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; margin-top: 10px; display: block; }

    .auth-area {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #080b1a;
        padding: 15px 20px;
        justify-content: center;
        transition: transform 0.4s ease;
        transform: translateY(100%);
        z-index: 998;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .auth-area.active { transform: translateY(0); }
    .auth-area form { display: none; }
    .auth-area .btn-login, .auth-area .btn-register { width: 100%; text-align: center; }

    .hero-layout { flex-direction: column; padding-top: 120px; gap: 30px; text-align: center; }
    .hero-text-col { max-width: 100%; padding-left: 0; align-items: center; }
    .hero-title { font-size: 42px; }
    .hero-image-col { width: 100%; margin-top: -20px; }
    .hero-image-col img { max-width: 80%; margin: 0 auto; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .services-cards-col { grid-template-columns: 1fr 1fr; }
    .services-image-col { margin-top: 30px; }
    .instructors-grid, .testimonials-grid { flex-direction: column; align-items: center; }
    .teacher-card, .testimonial-card { width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .hero-badge { font-size: 12px; }
    
    .services-content { flex-direction: column-reverse; gap: 30px; }
    .services-cards-col { grid-template-columns: 1fr; }
    .services-image-col img { max-width: 70%; }
    .why-bahar-inner { flex-direction: column-reverse; padding: 20px; }
    .why-text-col { text-align: center; }
    .why-image-col img { max-width: 70%; }

    .packages-grid { grid-template-columns: 1fr; }
    .btn-all-courses { width: 100%; justify-content: center; }

    .footer-cta-box { flex-direction: column; text-align: center; }
    .footer-cta-box .btn-cta-gold { width: 100%; }
    
    .hamburger { top: 15px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    
    .hero-title { font-size: 30px; line-height: 1.4; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-widget .f-title::after { right: 50%; transform: translateX(50%); }
    .f-socials { justify-content: center; }
    
    .why-grid { grid-template-columns: 1fr; }
    
    .instructors-grid, .testimonials-grid { gap: 15px; }
    .teacher-card { flex-direction: column; align-items: center; text-align: center; }
    .teacher-content { text-align: center; }
    .t-rating { justify-content: center; }
    
    .articles-grid { grid-template-columns: 1fr; }
    
    .path-line { display: none; }
    .path-steps { flex-direction: column; gap: 30px; position: relative; padding-right: 30px; }
    .path-steps::before { content: ''; position: absolute; right: 15px; top: 20px; bottom: 20px; width: 2px; border-right: 2px dashed rgba(255, 255, 255, 0.1); }
    .step { flex-direction: row; align-items: center; text-align: right; gap: 20px; }
    .step-icon { width: 55px; height: 55px; border-radius: 14px; margin-bottom: 0; flex-shrink: 0; }
    .step:hover .step-icon { transform: none; }

    .floating-contact-form { bottom: 15px; left: 15px; }
    .floating-content { width: 280px; left: -20px; }
    .floating-toggle { padding: 8px 16px; font-size: 13px; }
    
    .dashboard-stats { grid-template-columns: 1fr; gap: 15px; }
}