/**
 * Assessment Page Styles
 * Estanar CIP Assessment Landing Page
 * Dark theme with alternating purple sections
 *
 * Color Palette:
 * - Dark: #100047
 * - Purple (alternate): #4E36C9
 * - Accents: #EDDC82, #8BA4FF, #91CDEF, #553AD7
 * - Main CTA: #2246FF
 * - Secondary CTA: #8BA4FF
 *
 * @package Estanar
 * @version 4.0.0
 */

/* ==========================================================================
   CSS Variables - Exact Color Palette
   ========================================================================== */

.assessment-page {
    /* Main backgrounds */
    --clr-dark: #100047;
    --clr-purple: #4E36C9;

    /* Accent colors */
    --clr-gold: #EDDC82;
    --clr-light-blue: #8BA4FF;
    --clr-cyan: #91CDEF;
    --clr-purple-accent: #553AD7;

    /* CTA buttons */
    --clr-cta-main: #2246FF;
    --clr-cta-main-hover: #1a38cc;
    --clr-cta-secondary: #8BA4FF;
    --clr-cta-secondary-hover: #7b94ef;

    /* Text */
    --clr-white: #ffffff;
    --clr-white-muted: rgba(255, 255, 255, 0.8);
    --clr-white-subtle: rgba(255, 255, 255, 0.6);

    /* Cards & borders */
    --clr-card-bg: rgba(255, 255, 255, 0.08);
    --clr-card-border: rgba(255, 255, 255, 0.15);
    --clr-card-bg-solid: #ffffff;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.15);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

.assessment-page {
    background-color: var(--clr-dark);
    color: var(--clr-white);
    overflow-x: hidden;
}

.assessment-page section {
    padding: 3.5rem 0;
    position: relative;
}

.assessment-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Section Themes */
.section-dark {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.section-purple {
    background-color: var(--clr-purple);
    color: var(--clr-white);
}

/* Section Headers */
.assessment-page .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-inline: auto;
}

.assessment-page .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--clr-white);
}

.assessment-page .section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--clr-white-muted);
}

/* ==========================================================================
   Section 1: Hero - DARK #100047
   ========================================================================== */

.assessment-hero {
    background-color: var(--clr-dark);
    padding-top: 4rem;
    padding-bottom: 3rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--clr-white-muted);
    margin-bottom: 2rem;
}

.hero-description strong {
    color: var(--clr-gold);
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.hero-illustration img {
    max-width: 240px;
    height: auto;
    border-radius: 1rem;
}

/* ==========================================================================
   Section 2: Benefits - PURPLE #4E36C9
   ========================================================================== */

.assessment-benefits {
    background-color: var(--clr-purple);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.benefit-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: var(--clr-dark);
}

.benefit-icon-gold { background-color: var(--clr-gold); }
.benefit-icon-blue { background-color: var(--clr-light-blue); }
.benefit-icon-cyan { background-color: var(--clr-cyan); }
.benefit-icon-purple { background-color: var(--clr-purple-accent); }
.benefit-icon-purple i { color: var(--clr-white); }

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
}

.benefit-description {
    font-size: 0.9375rem;
    color: var(--clr-white-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Section 3: Process - DARK #100047 (Framed Cards)
   ========================================================================== */

.assessment-process {
    background-color: var(--clr-dark);
    padding: 5rem 0;
    overflow: hidden;
}

/* Large Numbers Behind - Step Cards */
.step-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Step Card */
.step-card {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    min-height: auto;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Large Background Number */
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

/* Colored Top Border */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 1rem 1rem 0 0;
}

.step-card-1::before { background: #EDDC82; }
.step-card-2::before { background: #8BA4FF; }
.step-card-3::before { background: #A8E6CF; }
.step-card-4::before { background: #F26A5E; }
.step-card-5::before { background: #7088ff; }

/* Card Content */
.step-card-content {
    position: relative;
    z-index: 2;
}

.step-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card-icon i {
    font-size: 1.25rem;
    color: var(--clr-white);
}

.step-card-icon {
    background: transparent;
    width: 48px;
    height: 48px;
}

.step-card-icon i {
    color: #2a1e66;
    font-size: 2rem;
}

.step-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin: 0 0 0.5rem;
}

.step-card-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* All cards span full width on mobile */
.step-card-1,
.step-card-2,
.step-card-3,
.step-card-4,
.step-card-5 {
    grid-column: 1 / -1;
}

/* ==========================================================================
   Section 4: Results - PURPLE #4E36C9 (Split + Floating Cards)
   ========================================================================== */

.assessment-results {
    background-color: var(--clr-purple);
}

/* Split Layout */
.results-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* Illustration Side */
.results-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.results-illustration img {
    max-width: 280px;
    height: auto;
    border-radius: 1rem;
    margin: 0 auto;
}

/* Floating Cards Side */
.results-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual Result Card */
.result-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Left Accent Border */
.result-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.result-card-1::before { background: #EDDC82; }
.result-card-2::before { background: #8BA4FF; }
.result-card-3::before { background: #A8E6CF; }
.result-card-4::before { background: #F26A5E; }

/* Card Icon */
.result-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card-icon i {
    font-size: 1.125rem;
}

.result-card-icon {
    background: transparent;
    width: 44px;
    height: 44px;
    min-width: 44px;
}

.result-card-icon i {
    color: #2a1e66;
    font-size: 1.5rem;
}

/* Card Content */
.result-card-content {
    flex: 1;
}

.result-card-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-dark);
    margin: 0 0 0.25rem;
}

.result-card-content p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Staggered Animation Effect - disabled on mobile, enabled at larger screens */
.result-card-1,
.result-card-2,
.result-card-3,
.result-card-4 { transform: translateX(0); }

/* Legacy support */
.section-description {
    font-size: 1.0625rem;
    color: var(--clr-white-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.results-features {
    justify-content: center;
}

/* ==========================================================================
   Section 5: Categories - DARK #100047
   ========================================================================== */

.assessment-categories {
    background-color: var(--clr-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.categories-content .section-title {
    text-align: center;
    margin-bottom: 1.25rem;
}

.categories-content .section-description {
    margin-bottom: 0;
}

.categories-illustration {
    order: -1;
}

.categories-illustration img {
    max-width: 280px;
    height: auto;
    border-radius: 1rem;
    margin: 0 auto;
}

/* ==========================================================================
   Section 6: Experts - PURPLE #4E36C9
   ========================================================================== */

.assessment-experts {
    background-color: var(--clr-purple);
}

.experts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.expert-card {
    background: var(--clr-card-bg-solid);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.expert-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.expert-icon i {
    font-size: 1.375rem;
    color: var(--clr-dark);
}

.expert-icon-gold { background-color: var(--clr-gold); }
.expert-icon-blue { background-color: var(--clr-light-blue); }
.expert-icon-cyan { background-color: var(--clr-cyan); }
.expert-icon-purple { background-color: var(--clr-purple-accent); }
.expert-icon-purple i { color: var(--clr-white); }

.expert-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--clr-dark);
}

.expert-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.experts-cta {
    text-align: center;
}

/* ==========================================================================
   Section 7: Testimonials - DARK #100047
   ========================================================================== */

.assessment-testimonials {
    background-color: var(--clr-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--clr-card-bg-solid);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-card.highlighted {
    border-left: 4px solid var(--clr-gold);
}

.testimonial-quote {
    margin-bottom: 1rem;
}

.testimonial-quote i {
    font-size: 1.5rem;
    color: var(--clr-cta-main);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--clr-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--clr-dark);
    font-size: 0.9375rem;
}

.author-role {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ==========================================================================
   Section 8: FAQ - PURPLE #4E36C9
   ========================================================================== */

.assessment-faq {
    background-color: var(--clr-dark);
    padding-bottom: 8rem;
}

.assessment-faq .container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--clr-card-bg-solid);
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--clr-dark);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #6b7280;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #6b7280;
}

/* ==========================================================================
   Section 9: Final CTA - Dark with Purple Card
   ========================================================================== */

.assessment-cta {
    text-align: center;
    padding: 0;
    position: relative;
    background: #ffffff;
}

/* Purple Card - Wider and Overlapping into FAQ section */
.cta-card {
    background-color: var(--clr-purple);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    max-width: 900px;
    margin: -100px 1rem 0;
    box-shadow: 0 8px 40px rgba(78, 54, 201, 0.3);
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--clr-white);
}

.cta-description {
    font-size: 0.875rem;
    color: var(--clr-white-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    width: 100%;
    max-width: 280px;
}

/* White Section with Illustration */
.cta-illustration {
    background: #ffffff;
    padding: 1.5rem 0 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-illustration img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.assessment-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.assessment-page .btn-primary {
    background: var(--clr-cta-main);
    color: var(--clr-white);
    border-color: var(--clr-cta-main);
}

.assessment-page .btn-primary:hover {
    background: var(--clr-cta-main-hover);
    border-color: var(--clr-cta-main-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 70, 255, 0.4);
}

.assessment-page .btn-secondary {
    background: var(--clr-cta-secondary);
    color: var(--clr-dark);
    border-color: var(--clr-cta-secondary);
}

.assessment-page .btn-secondary:hover {
    background: var(--clr-cta-secondary-hover);
    border-color: var(--clr-cta-secondary-hover);
    transform: translateY(-2px);
}

.assessment-page .btn-outline {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.assessment-page .btn-outline:hover {
    background: var(--clr-white);
    color: var(--clr-dark);
    border-color: var(--clr-white);
}

.assessment-page .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ==========================================================================
   Mobile-first base styles for elements with no base in this file
   ========================================================================== */

/* Side-by-Side - Mobile base */
.steps-sidebyside::before {
    left: 24px;
    top: 28px;
    bottom: 28px;
}

.sbs-row {
    flex-wrap: wrap;
    padding: 1rem 0;
}

.sbs-left {
    min-width: auto;
    gap: 0.75rem;
}

.sbs-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
}

.sbs-icon {
    display: none;
}

.sbs-connector {
    display: none;
}

.sbs-right {
    width: 100%;
    margin-left: 60px;
    margin-top: 0.75rem;
    padding: 1rem;
}

.sbs-right h3 {
    font-size: 1rem;
}

.sbs-right p {
    font-size: 0.875rem;
}

/* Framed cards - Mobile base */
.framed-card {
    padding: 10px 10px 24px 10px;
}

.card-frame {
    right: 10px;
    bottom: 16px;
}

.card-inner {
    margin-left: 10px;
    margin-top: 10px;
    padding: 1.25rem;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.card-icon {
    width: 56px;
    height: 56px;
}

.card-icon i {
    font-size: 1.75rem;
}

.card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}

.card-content p {
    font-size: 0.875rem;
}

.card-label {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.feature-label {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive: Small screens up (min-width: 576px)
   ========================================================================== */

@media (min-width: 576px) {
    .assessment-page .container {
        padding: 0 1.5rem;
    }

    .hero-illustration img {
        max-width: 280px;
    }

    .benefit-card,
    .process-card {
        padding: 1.75rem 1.5rem;
    }

    .expert-card {
        padding: 1.75rem 1.25rem;
    }

    .testimonial-card {
        padding: 2rem 1.75rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.9375rem;
    }

    .feature-label {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Responsive: Medium screens up (min-width: 768px)
   ========================================================================== */

@media (min-width: 768px) {
    .assessment-page section {
        padding: 5rem 0;
    }

    .assessment-hero {
        padding-top: 6rem;
        padding-bottom: 5rem;
        min-height: 75vh;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: initial;
    }

    .hero-illustration {
        order: 0;
    }

    .hero-illustration img {
        max-width: 100%;
    }

    .assessment-page .section-header {
        margin-bottom: 3.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Step Cards - Tablet: 2-2-1 Layout */
    .step-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .step-card-1 { grid-column: 1 / 3; }
    .step-card-2 { grid-column: 3 / 5; }
    .step-card-3 { grid-column: 1 / 3; }
    .step-card-4 { grid-column: 3 / 5; }
    .step-card-5 { grid-column: 2 / 4; }

    .step-card {
        min-height: 180px;
    }

    .step-number {
        font-size: 6rem;
        top: -20px;
    }

    .step-card-icon {
        width: 56px;
        height: 56px;
    }

    .step-card-icon i {
        font-size: 2.5rem;
    }

    .step-card-title {
        font-size: 1.25rem;
    }

    .step-card-description {
        font-size: 0.9375rem;
    }

    .results-split,
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .results-illustration {
        order: 0;
    }

    .results-illustration img {
        max-width: 100%;
        margin: 0;
    }

    .categories-illustration {
        order: 0;
    }

    .categories-illustration img {
        max-width: 100%;
        margin: 0;
    }

    .categories-content .section-title {
        text-align: left;
    }

    .section-description {
        text-align: initial;
    }

    .results-features {
        justify-content: initial;
    }

    /* Staggered Animation Effect - enabled on larger screens */
    .result-card-1 { transform: translateX(0); }
    .result-card-2 { transform: translateX(20px); }
    .result-card-3 { transform: translateX(40px); }
    .result-card-4 { transform: translateX(60px); }

    .result-card:hover {
        transform: translateX(-8px);
    }

    .result-card-1:hover { transform: translateX(-8px); }
    .result-card-2:hover { transform: translateX(12px); }
    .result-card-3:hover { transform: translateX(32px); }
    .result-card-4:hover { transform: translateX(52px); }

    .result-card {
        padding: 1.25rem 1.5rem;
    }

    .result-card-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .result-card-icon i {
        font-size: 2rem;
    }

    .result-card-content h3 {
        font-size: 1rem;
    }

    .result-card-content p {
        font-size: 0.875rem;
    }

    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .cta-card {
        padding: 3rem 4rem;
        margin: -120px auto 0;
        border-radius: 1.25rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .cta-buttons .btn {
        width: auto;
        max-width: none;
    }

    .cta-illustration {
        padding: 2rem 0 4rem;
    }

    .cta-illustration img {
        max-width: 450px;
    }
}

/* ==========================================================================
   Responsive: Large screens up (min-width: 1200px)
   ========================================================================== */

@media (min-width: 1200px) {
    .hero-grid {
        gap: 4rem;
    }

    .hero-grid,
    .results-grid,
    .categories-grid {
        gap: 4rem;
    }

    /* Step Cards - Desktop: 3-2 centered layout */
    .step-cards {
        grid-template-columns: repeat(6, 1fr);
    }

    .step-card-1 { grid-column: 1 / 3; }
    .step-card-2 { grid-column: 3 / 5; }
    .step-card-3 { grid-column: 5 / 7; }
    .step-card-4 { grid-column: 2 / 4; }
    .step-card-5 { grid-column: 4 / 6; }

    .step-card {
        min-height: 200px;
        padding: 2rem 1.5rem 1.5rem;
    }

    .step-number {
        font-size: 8rem;
    }

    .experts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   RTL Support
   ========================================================================== */

[dir="rtl"] .assessment-page {
    text-align: right;
}

/* RTL Side-by-Side */
[dir="rtl"] .steps-sidebyside::before {
    left: auto;
    right: 72px;
}

[dir="rtl"] .sbs-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .sbs-left {
    flex-direction: row-reverse;
}

[dir="rtl"] .sbs-right {
    border-left: none;
    border-right: 3px solid;
    text-align: right;
}

[dir="rtl"] .sbs-row-1 .sbs-right { border-right-color: #EDDC82; }
[dir="rtl"] .sbs-row-2 .sbs-right { border-right-color: #8BA4FF; }
[dir="rtl"] .sbs-row-3 .sbs-right { border-right-color: #A8E6CF; }
[dir="rtl"] .sbs-row-4 .sbs-right { border-right-color: #F26A5E; }
[dir="rtl"] .sbs-row-5 .sbs-right { border-right-color: #7088ff; }

[dir="rtl"] .sbs-row:hover .sbs-right {
    transform: translateX(-4px);
}

[dir="rtl"] .results-content .section-title,
[dir="rtl"] .categories-content .section-title {
    text-align: right;
}

[dir="rtl"] .section-description {
    text-align: right;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="rtl"] .faq-question span {
    padding-right: 0;
    padding-left: 1rem;
}

[dir="rtl"] .testimonial-card.highlighted {
    border-left: none;
    border-right: 4px solid var(--clr-gold);
}

[dir="rtl"] .testimonial-author {
    text-align: right;
}

/* RTL Step Cards */
[dir="rtl"] .step-number {
    right: auto;
    left: -10px;
}

[dir="rtl"] .step-card-content {
    text-align: right;
}

/* RTL Result Cards */
[dir="rtl"] .result-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .result-card::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .result-card-content {
    text-align: right;
}

/* RTL Result Cards - Mobile base (no stagger) */
[dir="rtl"] .result-card-1,
[dir="rtl"] .result-card-2,
[dir="rtl"] .result-card-3,
[dir="rtl"] .result-card-4 { transform: translateX(0); }

/* RTL Mobile base - center alignment */
[dir="rtl"] .hero-grid,
[dir="rtl"] .results-content .section-title,
[dir="rtl"] .categories-content .section-title,
[dir="rtl"] .section-description {
    text-align: center;
}

[dir="rtl"] .benefit-card {
    flex-direction: row;
}

/* RTL Side-by-Side - Mobile base */
[dir="rtl"] .steps-sidebyside::before {
    right: 24px;
}

[dir="rtl"] .sbs-right {
    margin-left: 0;
    margin-right: 60px;
}

/* RTL Step Cards - Mobile base */
[dir="rtl"] .step-number {
    left: -5px;
}

/* RTL - Larger screens */
@media (min-width: 768px) {
    [dir="rtl"] .result-card-1 { transform: translateX(0); }
    [dir="rtl"] .result-card-2 { transform: translateX(-20px); }
    [dir="rtl"] .result-card-3 { transform: translateX(-40px); }
    [dir="rtl"] .result-card-4 { transform: translateX(-60px); }

    [dir="rtl"] .result-card:hover {
        transform: translateX(8px);
    }

    [dir="rtl"] .result-card-2:hover { transform: translateX(-12px); }
    [dir="rtl"] .result-card-3:hover { transform: translateX(-32px); }
    [dir="rtl"] .result-card-4:hover { transform: translateX(-52px); }

    [dir="rtl"] .hero-grid {
        text-align: right;
    }

    [dir="rtl"] .results-content .section-title,
    [dir="rtl"] .categories-content .section-title {
        text-align: right;
    }

    [dir="rtl"] .section-description {
        text-align: right;
    }

    [dir="rtl"] .benefit-card {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .step-number {
        left: -10px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.assessment-page a:focus-visible,
.assessment-page button:focus-visible {
    outline: 2px solid var(--clr-cta-main);
    outline-offset: 2px;
}

.assessment-page .btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(34, 70, 255, 0.4);
}

.faq-question:focus-visible {
    outline: 2px solid var(--clr-cta-main);
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .assessment-page *,
    .assessment-page *::before,
    .assessment-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .benefit-card,
    .process-card,
    .expert-card,
    .testimonial-card,
    .faq-item {
        border: 2px solid currentColor;
    }
}

/* ==========================================================================
   Consultation Page Overrides
   4-step layout instead of 5 (2x2 grid)
   ========================================================================== */

.consultation-page .step-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Override the 6-column grid positioning for 4 cards */
@supports (display: grid) {
    .consultation-page .step-card-1,
    .consultation-page .step-card-2,
    .consultation-page .step-card-3,
    .consultation-page .step-card-4 {
        grid-column: auto;
    }
}

/* Different accent colors for consultation steps */
.consultation-page .step-card-1::before { background: #EDDC82; }
.consultation-page .step-card-2::before { background: #8BA4FF; }
.consultation-page .step-card-3::before { background: #A8E6CF; }
.consultation-page .step-card-4::before { background: #F26A5E; }

/* Outcome cards (3 cards in consultation) */
.consultation-page .results-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-page .result-card-3::before { background: #A8E6CF; }

/* Consultation Experts Section - Seamless purple background */
.consultation-experts {
    background-color: #4E36C9;
    padding: 0;
}

.consultation-experts .container {
    padding: 0;
}

.consultation-experts .estanar-staff-section {
    background-color: transparent;
    border-radius: 0;
}

.consultation-experts .staff-grid {
    margin-top: 2rem;
}

/* Consultation Outcomes Section */
.consultation-outcomes {
    background-color: var(--clr-dark);
}

/* Adjust stagger for 3 cards only - disabled on mobile */
.consultation-page .result-card-1,
.consultation-page .result-card-2,
.consultation-page .result-card-3 { transform: translateX(0); }

/* RTL adjustments for consultation - disabled on mobile */
[dir="rtl"] .consultation-page .result-card-1,
[dir="rtl"] .consultation-page .result-card-2,
[dir="rtl"] .consultation-page .result-card-3 { transform: translateX(0); }

/* Responsive: Medium screens up */
@media (min-width: 768px) {
    .consultation-page .step-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Enable stagger on larger screens */
    .consultation-page .result-card-1 { transform: translateX(0); }
    .consultation-page .result-card-2 { transform: translateX(30px); }
    .consultation-page .result-card-3 { transform: translateX(60px); }

    [dir="rtl"] .consultation-page .result-card-1 { transform: translateX(0); }
    [dir="rtl"] .consultation-page .result-card-2 { transform: translateX(-30px); }
    [dir="rtl"] .consultation-page .result-card-3 { transform: translateX(-60px); }
}

/* ==========================================================================
   Courses Page Overrides
   4-step audience layout (2x2 grid) + 5 outcome cards
   ========================================================================== */

/* Courses uses same 4-card layout as consultation for audience section */
.courses-page .step-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Override the 6-column grid positioning for 4 cards */
@supports (display: grid) {
    .courses-page .step-card-1,
    .courses-page .step-card-2,
    .courses-page .step-card-3,
    .courses-page .step-card-4 {
        grid-column: auto;
    }
}

/* Accent colors for courses audience steps */
.courses-page .step-card-1::before { background: #EDDC82; }
.courses-page .step-card-2::before { background: #8BA4FF; }
.courses-page .step-card-3::before { background: #A8E6CF; }
.courses-page .step-card-4::before { background: #F26A5E; }

/* Outcomes Grid (5 cards: 2+2+1) */
.courses-page .outcomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.courses-page .benefit-card-full {
    grid-column: auto;
}

/* Add coral icon color */
.benefit-icon-coral {
    background: rgba(242, 106, 94, 0.15);
}

.benefit-icon-coral i {
    color: #F26A5E;
}

/* Section backgrounds */
.courses-outcomes {
    background-color: var(--clr-purple);
}

.courses-audience {
    background-color: var(--clr-dark);
}

.courses-trainer {
    background-color: var(--clr-purple);
}

.courses-why {
    background-color: var(--clr-dark);
}

.courses-testimonials {
    background-color: var(--clr-purple);
}

/* Responsive: Medium screens up */
@media (min-width: 768px) {
    .courses-page .step-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .courses-page .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .courses-page .benefit-card-full {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Tutor LMS Instructors Grid
   ========================================================================== */

.estanar-instructors-section {
    width: 100%;
}

.instructors-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instructors-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--clr-gold, #EDDC82);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.instructors-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--clr-white, #ffffff);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.instructors-subtitle {
    font-size: 1.0625rem;
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.instructors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Instructor Card - White Card Style (matching Staff Card Item) */
.instructor-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(100, 120, 200, 0.15);
}

.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(100, 120, 200, 0.3);
}

/* Instructor Image - Square with rounded corners and margin */
.instructor-avatar {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e8eaf6;
    border-radius: 8px;
    margin: 6px 6px 0 6px;
    border: none;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-avatar img {
    transform: scale(1.03);
}

/* Instructor Content */
.instructor-info {
    padding: 12px 12px 0;
    margin-bottom: 0;
    flex: 1;
}

.instructor-card .instructor-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.instructor-card .instructor-title {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Instructor Stats - Light Theme */
.instructor-stats {
    display: none;
}

/* Instructor Footer with Book Now Button */
.instructor-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px;
    margin-top: auto;
}

/* Instructor Link - Light Blue Button */
.instructor-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #4B6BFB;
    background-color: #E8EEFF;
    border: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0 12px 12px auto;
}

.instructor-link:hover {
    background-color: #D6DEFF;
    color: #3451DB;
}

.instructor-link i {
    display: none;
}

/* RTL Support for Instructors */
[dir="rtl"] .instructor-link {
    margin: 0 auto 16px 16px;
}

[dir="rtl"] .instructor-card-footer {
    flex-direction: row-reverse;
}

/* Responsive: Small screens up */
@media (min-width: 576px) {
    .instructor-avatar {
        margin: 8px 8px 0 8px;
    }

    .instructor-info {
        padding: 16px 16px 0;
    }

    .instructor-link {
        margin: 0 16px 16px auto;
    }

    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Responsive: Large screens up */
@media (min-width: 1200px) {
    .instructors-grid {
        grid-template-columns: repeat(var(--columns, 4), 1fr);
    }
}

/* ==========================================================================
   Trainers Section - Custom Post Type
   ========================================================================== */

/* Trainers Section Container */
.estanar-trainers-section {
    padding: 60px 20px;
}

/* Trainers Header */
.trainers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trainers-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--clr-gold, #EDDC82);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.trainers-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--clr-white, #ffffff);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.trainers-subtitle {
    font-size: 1.0625rem;
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Trainers Grid */
.trainers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Trainer Card - White Card Style */
.trainer-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(100, 120, 200, 0.15);
}

.trainer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(100, 120, 200, 0.3);
}

/* Trainer Image */
.trainer-card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e8eaf6;
    border-radius: 8px;
    margin: 6px 6px 0 6px;
}

.trainer-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.03);
}

/* Trainer Placeholder */
.trainer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7088ff 0%, #4E36C9 100%);
    color: rgba(255, 255, 255, 0.6);
}

.trainer-placeholder svg {
    width: 60%;
    height: 60%;
}

/* Trainer Content */
.trainer-card-content {
    padding: 12px 12px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trainer-card-info {
    margin-bottom: 12px;
    flex: 1;
}

.trainer-card-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.trainer-card-name a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.trainer-card-name a:hover {
    color: #4B6BFB;
}

.trainer-card-title {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trainer-card-bio {
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Trainer Card Footer */
.trainer-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 12px;
    margin-top: auto;
}

/* Trainer View Button */
.trainer-view-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #4B6BFB;
    background-color: #E8EEFF;
    border: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.trainer-view-btn:hover {
    background-color: #D6DEFF;
    color: #3451DB;
}

/* Trainers Responsive: Small screens up */
@media (min-width: 576px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .trainer-card-thumbnail {
        margin: 8px 8px 0 8px;
    }

    .trainer-card-content {
        padding: 16px 16px 0;
    }

    .trainer-card-footer {
        padding: 0 0 16px;
    }
}

/* Trainers Responsive: Large screens up */
@media (min-width: 1200px) {
    .trainers-grid {
        grid-template-columns: repeat(var(--columns, 4), 1fr);
    }
}

/* RTL Support for Trainers */
[dir="rtl"] .trainer-card-footer {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Single Trainer Page
   ========================================================================== */

/* Trainer Hero */
.trainer-page .trainer-hero {
    background-color: #100047;
    padding: 30px 16px 60px;
}

.trainer-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.trainer-back-link:hover {
    color: #ffffff;
}

.trainer-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.trainer-hero-image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background-color: #2a1e66;
}

.trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.trainer-photo-placeholder svg {
    width: 60%;
    height: 60%;
}

.trainer-hero-info {
    flex: 1;
}

.trainer-page .trainer-name {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.trainer-page .trainer-title {
    font-size: 1.125rem;
    color: #EFA621;
    margin: 0 0 20px;
    font-weight: 500;
}

.trainer-page .trainer-bio {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Trainer Social Links */
.trainer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.trainer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.trainer-social .social-link:hover {
    color: #ffffff;
    background: #2246FF;
    border-color: #2246FF;
    transform: translateY(-2px);
}

/* Trainer CTA Buttons */
.trainer-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.trainer-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #EFA621;
    color: #100047;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.trainer-page .btn-primary:hover {
    background: #d99519;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 166, 33, 0.3);
}

.trainer-page .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.trainer-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Trainer Details Section */
.trainer-details {
    padding: 40px 16px;
    background: #f8f9fc;
}

.trainer-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.trainer-main-content {
    min-width: 0;
}

.trainer-section {
    margin-bottom: 40px;
}

.trainer-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #EFA621;
    display: inline-block;
}

.trainer-full-bio {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

.trainer-full-bio p {
    margin: 0 0 16px;
}

.trainer-full-bio p:last-child {
    margin-bottom: 0;
}

/* Trainer Lists */
.trainer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trainer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
    color: #4a5568;
}

.trainer-list li:last-child {
    border-bottom: none;
}

.trainer-list li i {
    color: #4E36C9;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Trainer Sidebar */
.trainer-sidebar {
    position: static;
}

.trainer-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.trainer-sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.trainer-qualifications {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trainer-qualifications li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #f0f0f0;
}

.trainer-qualifications li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trainer-qualifications li i {
    color: #EFA621;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Contact Card */
.trainer-contact-card {
    background-color: #4E36C9;
    text-align: center;
}

.trainer-contact-card .sidebar-title {
    color: #ffffff;
}

.trainer-contact-card .btn-primary {
    width: 100%;
    justify-content: center;
}

.btn-full {
    width: 100%;
}

/* Other Trainers Section */
.other-trainers {
    padding: 60px 20px;
    background-color: #100047;
}

.other-trainers .section-title-center {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 40px;
}

.other-trainers .trainers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Single Trainer Responsive: Small screens up */
@media (min-width: 576px) {
    .trainer-page .trainer-hero {
        padding: 40px 20px 80px;
    }

    .trainer-hero-image {
        width: 200px;
        height: 200px;
    }

    .trainer-cta-buttons {
        flex-direction: row;
        width: auto;
    }

    .trainer-page .btn-primary,
    .trainer-page .btn-secondary {
        width: auto;
    }

    .trainer-details {
        padding: 60px 20px;
    }

    .trainer-sidebar-card {
        padding: 24px;
    }

    .other-trainers .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single Trainer Responsive: Medium screens up */
@media (min-width: 768px) {
    .trainer-hero-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: initial;
    }

    .trainer-hero-image {
        width: 280px;
        height: 280px;
    }

    .trainer-social {
        justify-content: initial;
    }

    .trainer-cta-buttons {
        justify-content: initial;
    }
}

/* Single Trainer Responsive: Large screens up */
@media (min-width: 992px) {
    .trainer-details-grid {
        grid-template-columns: 1fr 340px;
    }

    .trainer-sidebar {
        position: sticky;
        top: 100px;
    }
}

/* Single Trainer Responsive: XL screens up */
@media (min-width: 1200px) {
    .other-trainers .trainers-grid {
        grid-template-columns: repeat(var(--columns, 4), 1fr);
    }
}

/* RTL Support for Single Trainer */
[dir="rtl"] .trainer-back-link i {
    transform: scaleX(-1);
}

[dir="rtl"] .trainer-list li,
[dir="rtl"] .trainer-qualifications li {
    flex-direction: row-reverse;
    text-align: right;
}

/* ==========================================================================
   Trainers Archive Page
   ========================================================================== */

.trainers-archive-hero {
    background: linear-gradient(135deg, #100047 0%, #2a1e66 50%, #4E36C9 100%);
    padding: 80px 20px;
    text-align: center;
}

.trainers-archive-grid {
    padding: 60px 20px;
    background: #f8f9fc;
}

.trainers-archive-grid .trainers-grid {
    max-width: 1200px;
}

.trainers-archive-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4E36C9 0%, #2a1e66 100%);
    text-align: center;
}

.trainers-archive-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.trainers-archive-cta .cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.trainers-archive-cta .cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    line-height: 1.7;
}

.trainers-archive-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #EFA621;
    color: #100047;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trainers-archive-cta .btn-cta:hover {
    background: #d99519;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 166, 33, 0.3);
}

/* Pagination Styles */
.trainers-archive-grid .pagination,
.trainers-archive-grid .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.trainers-archive-grid .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #4a5568;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.trainers-archive-grid .page-numbers:hover {
    background: #4E36C9;
    color: #ffffff;
    border-color: #4E36C9;
}

.trainers-archive-grid .page-numbers.current {
    background: #4E36C9;
    color: #ffffff;
    border-color: #4E36C9;
}

.no-trainers-found {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    padding: 60px 20px;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* Hero trust text */
.about-page .hero-trust {
    color: var(--clr-gold, #EDDC82);
    margin-top: 1rem;
}

/* Section backgrounds */
.about-why {
    background-color: var(--clr-purple, #4E36C9);
}

.about-pathways {
    background-color: var(--clr-dark, #100047);
}

.about-courses {
    background-color: var(--clr-dark, #100047);
}

/* Experts section - seamless purple background */
.about-experts-wrapper {
    background-color: #4E36C9;
    padding: 0;
}

.about-experts-wrapper .container {
    padding: 0;
}

.about-experts-wrapper .estanar-staff-section {
    background-color: transparent;
    border-radius: 0;
}

.about-testimonials {
    background-color: var(--clr-dark);
}

/* ==========================================================================
   ABOUT PAGE - REDESIGNED SECTIONS
   ========================================================================== */

/* Benefits Grid 3 columns - mobile first (1 column) */
.benefits-grid-3 {
    grid-template-columns: 1fr;
}

/* Solution Box */
.about-solution-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 3rem;
}

.about-solution-box .solution-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--clr-gold, #EDDC82), #f5e9a3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-solution-box .solution-icon i {
    color: var(--clr-dark, #100047);
    font-size: 1.25rem;
}

.about-solution-box .solution-text p {
    color: var(--clr-white, #ffffff);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.about-solution-box .solution-text p:last-child {
    margin-bottom: 0;
}

.about-solution-box .solution-highlight {
    color: var(--clr-gold, #EDDC82);
    font-size: 1.125rem;
}

/* Step Card Link - for About page pathways */
.step-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--clr-white, #ffffff);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step-card-link:hover {
    background: var(--clr-gold, #EDDC82);
    border-color: var(--clr-gold, #EDDC82);
    color: var(--clr-dark, #100047);
}

.step-card-link i {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.step-card-link:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .step-card-link:hover i {
    transform: translateX(-4px);
}

[dir="rtl"] .step-card-link i {
    transform: scaleX(-1);
}

/* ==========================================================================
   HOW-TO SECTION - Timeline Design
   ========================================================================== */

.about-howto {
    background: var(--clr-purple, #4E36C9);
}

/* Process Block */
.process-block {
    margin-bottom: 3rem;
}

.process-block:last-child {
    margin-bottom: 0;
}

/* Process Header */
.process-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--clr-gold, #EDDC82), #f5e9a3);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-dark, #100047);
    font-size: 1.125rem;
}

.process-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Timeline Track - hidden on mobile */
.process-timeline {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
}

.timeline-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background: var(--clr-gold, #EDDC82);
}

.timeline-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step.active {
    background: var(--clr-gold, #EDDC82);
    border-color: var(--clr-gold, #EDDC82);
}

.timeline-step.active .timeline-num {
    color: var(--clr-dark, #100047);
}

.timeline-step.active::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--clr-gold, #EDDC82);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    color: var(--clr-dark, #100047);
    font-weight: 700;
}

.timeline-num {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Step Cards Grid - mobile first (1 column) */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.process-steps-3 {
    grid-template-columns: 1fr;
}

/* Step Card */
.process-step-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: left;
    transition: all 0.3s ease;
}

[dir="rtl"] .process-step-card {
    text-align: right;
}

.process-step-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.process-step-card .step-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.process-step-card .step-card-icon i {
    color: var(--clr-gold, #EDDC82);
    font-size: 1rem;
}

.step-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-gold, #EDDC82);
    margin-bottom: 0.5rem;
}

.step-title {
    color: var(--clr-white, #ffffff);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0;
}

/* About courses section */
.about-courses .courses-grid {
    margin-top: 2rem;
}

/* RTL Support for About Page */
[dir="rtl"] .step-card-link i {
    transform: scaleX(-1);
}

[dir="rtl"] .step-card-link:hover i {
    transform: scaleX(-1) translateX(-4px);
}

/* Responsive: Small screens up (min-width: 576px) */
@media (min-width: 576px) {
    .process-steps,
    .process-steps-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Medium screens up (min-width: 768px) */
@media (min-width: 768px) {
    /* Benefits 3 column */
    .benefits-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Solution box */
    .about-solution-box {
        flex-direction: row;
        text-align: initial;
        padding: 2rem;
    }

    .about-solution-box .solution-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        margin: 0;
    }

    .about-solution-box .solution-icon i {
        font-size: 1.5rem;
    }

    .about-solution-box .solution-text p {
        font-size: 1.0625rem;
    }

    /* How-To Timeline */
    .process-header {
        margin-bottom: 2.5rem;
    }

    .process-icon {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
    }

    .process-title {
        font-size: 1.5rem;
    }

    .process-timeline {
        display: flex;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .process-steps-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .timeline-step {
        width: 38px;
        height: 38px;
    }

    .timeline-num {
        font-size: 0.75rem;
    }

    .process-step-card {
        padding: 1.5rem;
    }

    .process-step-card .step-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .process-step-card .step-card-icon i {
        font-size: 1.25rem;
    }

    .step-label {
        font-size: 0.6875rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-description {
        font-size: 0.8125rem;
    }

    .process-block {
        margin-bottom: 4rem;
    }
}

/* Responsive: Large screens up (min-width: 1200px) */
@media (min-width: 1200px) {
    /* Benefits 3 column */
    .benefits-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* How-To Section - Full timeline */
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .timeline-step {
        width: 44px;
        height: 44px;
    }

    .timeline-num {
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   INSPIRING TALKS PAGE STYLES
   ========================================================================== */

/* Talks Hero */
.talks-page .talks-hero {
    background: var(--clr-primary-dark, #100047);
    padding: 4rem 0 3rem;
    text-align: center;
}

.talks-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.talks-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: var(--clr-accent-coral, #F26A5E);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.talks-hero .hero-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.talks-hero .hero-description {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Featured Talk Section */
.talks-featured {
    background: var(--clr-primary-purple, #4E36C9);
    padding: 3rem 0;
}

.talks-featured .section-header {
    margin-bottom: 2rem;
}

.talks-featured .section-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.featured-talk-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-talk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-talk-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-talk-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.featured-talk-card:hover .featured-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.featured-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--clr-accent-coral, #F26A5E);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white, #ffffff);
    font-size: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.featured-play-btn:hover {
    transform: scale(1.1);
    background: var(--clr-accent-coral-dark, #e55a4e);
}

.featured-play-btn i {
    margin-left: 4px; /* Visual centering for play icon */
}

.featured-talk-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-talk-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.featured-talk-speaker {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    font-size: 1rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-talk-speaker i {
    color: var(--clr-accent-coral, #F26A5E);
}

.featured-talk-description {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-watch-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--clr-accent-coral, #F26A5E);
    color: var(--clr-white, #ffffff);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.featured-watch-btn:hover {
    background: var(--clr-accent-coral-dark, #e55a4e);
    transform: translateY(-2px);
}

/* Talk Duration Badge */
.talk-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.75);
    color: var(--clr-white, #ffffff);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

[dir="rtl"] .talk-duration {
    right: auto;
    left: 0.75rem;
}

/* Talks Grid Section */
.talks-grid-section {
    background: var(--clr-primary-dark, #100047);
    padding: 3rem 0;
}

.talks-grid-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.talks-grid-section .section-title {
    color: var(--clr-white, #ffffff);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.talks-grid-section .section-subtitle {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.7));
    font-size: 1.0625rem;
    margin: 0;
}

/* Talks Grid */
.talks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .talks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Talk Card */
.talk-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.talk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.talk-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.talk-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.talk-card:hover .talk-thumbnail img {
    transform: scale(1.05);
}

.talk-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.4));
    font-size: 3rem;
}

.talk-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.talk-card:hover .talk-play-overlay {
    opacity: 1;
}

.talk-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-accent-coral, #F26A5E);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white, #ffffff);
    font-size: 1.25rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.talk-card:hover .talk-play-btn {
    transform: scale(1);
}

.talk-play-btn i {
    margin-left: 3px; /* Visual centering */
}

.talk-content {
    padding: 1.25rem;
}

.talk-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.talk-speaker {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.7));
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.talk-speaker i {
    color: var(--clr-accent-coral, #F26A5E);
    font-size: 0.75rem;
}

.talk-excerpt {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.6));
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.75rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* No Talks State */
.no-talks {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.6));
}

.no-talks i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.no-talks p {
    font-size: 1.125rem;
    margin: 0;
}

/* Talks CTA Section */
.talks-cta {
    background: var(--clr-primary-purple, #4E36C9);
    padding: 3rem 0;
}

.talks-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.talks-cta .cta-title {
    color: var(--clr-white, #ffffff);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.talks-cta .cta-description {
    color: var(--clr-white-muted, rgba(255, 255, 255, 0.8));
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.talks-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.talks-cta .cta-buttons .btn {
    width: 100%;
}

/* Video Modal */
.talk-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.talk-video-modal.active {
    opacity: 1;
    visibility: visible;
}

.talk-modal-inner {
    position: relative;
    width: 90%;
    max-width: 1000px;
}

.talk-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--clr-white, #ffffff);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 1;
}

.talk-modal-close:hover {
    transform: scale(1.1);
}

[dir="rtl"] .talk-modal-close {
    right: auto;
    left: 0;
}

.talk-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 0.5rem;
}

.talk-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* RTL Support for Talks */
[dir="rtl"] .featured-play-btn i,
[dir="rtl"] .talk-play-btn i {
    margin-left: 0;
    margin-right: 3px;
}

[dir="rtl"] .featured-talk-content {
    padding: 2rem 0 2rem 2rem;
}

/* Responsive: Talks - Tablet & Desktop Enhancements */
@media (min-width: 768px) {
    .featured-talk-card {
        grid-template-columns: 1fr 1fr;
    }

    .talks-hero .hero-title {
        font-size: 2.25rem;
    }

    .talks-hero .hero-description {
        font-size: 1.125rem;
    }

    .featured-play-btn {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .featured-talk-title {
        font-size: 1.5rem;
    }

    .talks-cta .cta-buttons {
        flex-direction: row;
    }

    .talks-cta .cta-buttons .btn {
        width: auto;
    }
}
