/* ===================================================================
   STYLE.CSS - ZABANETURKI ABOUT PAGE
   ساختار:
   1. متغیرها و استایل‌های عمومی (Variables & Globals)
   2. بخش‌های صفحه (Page Sections)
   3. استایل‌های واکنش‌گرا (Responsive)
=================================================================== */

/* =========================================
   1. متغیرها و استایل‌های عمومی
========================================= */

/* -- 1.1. متغیرهای CSS -- */
:root {
    --zt-navy: #1e293b;
    --zt-navy-light: #334155;
    --zt-gray-light: #f8fafc;
    --zt-gray-border: #e2e8f0;
    --zt-text-main: #475569;
    --zt-text-light: #64748b;
    --zt-white: #ffffff;
}

/* -- 1.2. استایل‌های عمومی و تایپوگرافی -- */
.zt-about-page {
    font-family: iranyekan, Tahoma, sans-serif; /* ! فونت اصلی قالب را اینجا تنظیم کنید */
    color: var(--zt-text-main);
    background-color: var(--zt-white);
    line-height: 1.8;
    direction: rtl;
}

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

/* -- 1.3. کامپوننت‌های عمومی (دکمه‌ها) -- */
.zt-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--zt-navy);
    color: var(--zt-white);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.zt-btn-primary:hover {
    background-color: var(--zt-navy-light);
    color: var(--zt-white);
}


/* =========================================
   2. بخش‌های صفحه
========================================= */

/* -- 2.1. بخش Hero -- */
.zt-hero-section {
    padding: 80px 0;
    background-color: var(--zt-gray-light);
}

.zt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.zt-greeting {
    display: block;
    font-size: 1.1rem;
    color: var(--zt-navy-light);
    margin-bottom: 10px;
}

.zt-title {
    font-size: 2.5rem;
    color: var(--zt-navy);
    line-height: 1.4;
    margin-bottom: 20px;
}

.zt-highlight {
    color: var(--zt-navy);
    position: relative;
}

.zt-highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--zt-gray-border);
    z-index: -1;
}

.zt-description {
    font-size: 1rem;
    margin-bottom: 30px;
}

.zt-hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.zt-image-frame {
    width: 300px;
    height: 400px;
    background-color: var(--zt-gray-border);
    border-radius: 150px 150px 0 0; /* قاب قوسی شکل */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.1);
}

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

/* -- 2.2. بخش آمار (داخل Hero) -- */
.zt-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zt-stat-item {
    text-align: right;
    border-right: 3px solid var(--zt-navy);
    padding-right: 15px;
}

.zt-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--zt-navy);
}

.zt-stat-label {
    font-size: 0.9rem;
    color: var(--zt-text-main);
}

/* -- 2.3. بخش ویژگی‌ها -- */
.zt-features-section {
    padding: 80px 0;
}

.zt-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.zt-feature-card {
    background: var(--zt-gray-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--zt-gray-border);
}

.zt-feature-card h3 {
    color: var(--zt-navy);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.zt-feature-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* -- 2.4. بخش داستان ما -- */
.zt-story-section {
    padding: 80px 0;
    background-color: var(--zt-white);
}

.zt-story-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
}

.zt-story-content h2 {
    font-size: 2rem;
    color: var(--zt-navy);
    margin-bottom: 20px;
}

.zt-visual-box {
    background: var(--zt-navy);
    color: var(--zt-white);
    padding: 40px;
    border-radius: 16px;
    position: relative;
}

.zt-quote-icon {
    font-size: 4rem;
    position: absolute;
    top: -10px;
    right: 20px;
    opacity: 0.2;
}

.zt-visual-box blockquote {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
}
/* ==========================================================================
   Team Section (Single Instructor)
   ========================================================================== */
.about-team {
    padding: 5rem 2rem;
    background-color: var(--color-gray);
}

.about-team .section-title {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.team-grid.single-instructor {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.12);
}

.member-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top center;
}

.member-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.member-name {
    color: var(--color-navy);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.member-role {
    color: #64748b; /* رنگ مکمل طوسی/آبی */
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.member-bio {
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
    text-align: justify;
}

/* حالت رسپانسیو برای تبلت و دسکتاپ */
@media (min-width: 768px) {
    .team-member {
        flex-direction: row; /* قرارگیری عکس و متن در کنار هم */
        align-items: stretch;
    }

    .member-photo {
        width: 45%;
        height: auto; /* ارتفاع به اندازه محتوای متن تنظیم می‌شود */
        min-height: 100%;
    }

    .member-info {
        width: 55%;
        padding: 3rem;
    }
}
/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.about-testimonials {
    padding: 5rem 2rem;
    background-color: #ffffff; /* پس‌زمینه سفید برای ایجاد تضاد با بخش قبلی */
}

.about-testimonials .section-title {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 3.5rem;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-gray); /* پس‌زمینه طوسی روشن */
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.05);
}

.testimonial-stars {
    color: #fbbf24; /* رنگ زرد/طلایی برای ستاره‌ها */
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #cbd5e1;
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-navy);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--color-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.author-course {
    color: #64748b;
    font-size: 0.85rem;
}

/* حالت رسپانسیو */
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* -- 2.6. بخش تماس با ما -- */
.zt-contact-section {
    padding: 60px 0 100px;
}

.zt-contact-box {
    background: var(--zt-gray-light);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.zt-contact-box h2 {
    color: var(--zt-navy);
    margin-bottom: 10px;
}

.zt-form-wrapper {
    margin-top: 30px;
    text-align: right;
}


/* =========================================
   3. استایل‌های واکنش‌گرا (Responsive)
========================================= */

/* -- 3.1. تبلت و دسکتاپ‌های کوچک -- */
@media (max-width: 992px) {
    .zt-hero-grid, .zt-story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .zt-story-grid {
        gap: 40px;
    }
    .zt-stat-item {
        border-right: none;
        border-bottom: 3px solid var(--zt-navy);
        padding-right: 0;
        padding-bottom: 15px;
    }
    .zt-hero-stats {
        flex-direction: row;
        justify-content: space-around;
        margin-top: 40px;
    }
    .zt-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -- 3.2. موبایل -- */
@media (max-width: 576px) {
    .zt-hero-section, .zt-features-section, .zt-story-section, .zt-team-section, .zt-contact-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .zt-title {
        font-size: 2rem;
    }
    .zt-features-grid {
        grid-template-columns: 1fr;
    }
    .zt-hero-stats {
        flex-direction: column;
    }
    .zt-image-frame {
        width: 250px;
        height: 333px;
    }
}
/* ==========================================================================
   Call to Action (CTA) Section - Updated
   ========================================================================== */
.about-cta-section {
    padding: 4rem 2rem 6rem;
    background-color: #ffffff; 
}

.cta-box {
    background-color: var(--color-navy); 
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.15);
    background-image: linear-gradient(135deg, #1e293b 0%, #334155 100%); /* گرادیانت کمی روشن‌تر برای جذابیت بیشتر */
    border: 1px solid rgba(255, 255, 255, 0.1); /* یک حاشیه بسیار محو برای عمق دادن */
}

.cta-box .cta-title {
    color: #ffffff !important; /* اجبار به رنگ سفید برای خنثی کردن استایل قالب */
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* سایه ملایم برای خوانایی بهتر متن */
}

.cta-box .cta-description {
    color: #f8fafc !important; /* رنگ طوسی بسیار روشن مایل به سفید */
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-box .btn-cta {
    display: inline-block;
    background-color: #ffffff !important;
    color: var(--color-navy) !important;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    background-color: #f1f5f9 !important;
}

/* حالت رسپانسیو */
@media (max-width: 768px) {
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .cta-box .cta-title {
        font-size: 1.7rem;
    }
    
    .cta-box .cta-description {
        font-size: 1rem;
    }
    
    .cta-box .btn-cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   FAQ Section (سوالات متداول دو ستونه)
========================================= */
.course-faq {
    padding: 80px 20px;
    background-color: #f8fafc;
    direction: rtl;
}

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

.course-faq .section-title {
    text-align: center;
    color: #1e293b;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.course-faq .section-subtitle {
    text-align: center;
    color: #475569;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.faq-column { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary {
    list-style: none;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-icon {
    font-size: 26px;
    font-weight: 300;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: #1e293b;
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.faq-content p {
    margin: 0;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
    .course-faq { padding: 60px 20px; }
}
