/* ==========================================================================
   1. SHARED BASE COMPONENTS & UTILITIES
   ========================================================================== */
.masterclass-section,
.how-it-works-section,
.coming-soon {
    font-family: var(--font-family-2);
    background-color: var(--secondary-bg-color);
    color: var(--fourth-text-color);
    width: 100%;
    /* padding-bottom: 40px; */
}

.masterclass-section,
.how-it-works-section,
.coming-soon,
.how-it-works-section,
.meet-our-tutor {
    padding: 40px 20px;
}

.section-container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

/* Section Typography Headers */
.section-header {
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-family-2);
    font-size: 28px;
    font-weight: 400;
    color: var(--primary-text-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p, .offerings-header p {
    font-size: 15px;
    color: var(--fourth-text-color);
    opacity: 0.8;
    margin: 0 auto;
}

.masterclass-section .section-header { margin-bottom: 40px; }
.masterclass-section .section-header p { max-width: 600px; }

.how-it-works-section .section-header { margin-bottom: 48px; }
.how-it-works-section .section-header p { max-width: 500px; }

/* White Card Headers */
.tutors-header,
.offerings-header {
    text-align: center;
    padding: 16px;
}

.tutors-header { 
    margin-bottom: 24px; 
    border-radius: 12px;
    border: 1px solid #7c55c526;
    box-shadow: 0 4px 12px rgba(124, 85, 197, 0.02);
    background-color: #ffffff;
}
.offerings-header { 
    margin-bottom: 32px; 
}

.tutors-header h2,
.offerings-header h2 {
    font-family: var(--font-family-2);
    font-weight: 400;
    color: var(--primary-text-color);
}

.tutors-header h2 { font-size: 24px; }
.offerings-header h2 { font-size: 22px; letter-spacing: -0.5px; }

/* Universal Button Baselines */
.pill-btn, 
.btn-enrol, 
.btn-cta, 
.btn-outline {
    width: 100%;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}


/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-canvas {
    background-color: var(--primary-bg-color);
    width: 100%;
    padding: 40px 20px 30px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(124, 85, 197, 0.35);
}

.glow-circle, 
.glow-oval {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.glow-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    right: -50px;
    top: -50px;
}

.glow-oval {
    width: 250px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 169, 254, 0.25) 0%, transparent 75%);
    border-radius: 150px;
    transform: rotate(-25deg);
    right: -100px;
    top: 100px;
}

.hero-main {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    gap: 40px;
}

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

.urgency-badge {
    display: inline-block;
    background-color: #ff723a;
    color: var(--secondary-text-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(255, 114, 58, 0.4);
}

.content-left h1 {
    font-family: var(--font-family-2);
    font-size: 36px;
    font-weight: 400;
    color: var(--secondary-text-color);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.content-left h1 span {
    color: var(--third-text-color);
}

.content-left p {
    font-size: 14px;
    color: var(--secondary-text-color);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 28px auto;
}

.pill-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.pill-btn {
    padding: 14px 24px;
    transition: all 0.2s ease-in-out;
}

.pill-btn.maths {
    background-color: #ff723a;
    color: var(--secondary-text-color);
    box-shadow: 0 8px 16px rgba(255, 114, 58, 0.3);
}

.pill-btn.english {
    background-color: transparent;
    color: var(--secondary-text-color);
    border: 2px solid var(--secondary-text-color);
}

.pill-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.graphic-right {
    position: relative;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 20px;
}

.subject-portrait {
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
}

.meta-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.meta-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.badge-math-metric { top: 10%; left: -5px; }
.badge-eng-metric { top: 25%; right: -5px; }
.badge-verified { top: 50%; right: -15px; }
.badge-cohort { bottom: 15%; left: -15px; }

.cohort-avatars {
    display: flex;
    align-items: center;
}

.cohort-avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -6px;
    background-size: cover;
    background-color: #cbd5e1;
}

.cohort-avatar-circle.counter {
    background: var(--primary-bg-color);
    color: var(--secondary-text-color);
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cohort-info h4 {
    font-size: 10px;
    color: var(--fourth-text-color);
    font-weight: 700;
    white-space: nowrap;
}

.cohort-info span {
    font-size: 8px;
    color: #64748b;
    display: block;
}

.stats-banner {
    background: var(--secondary-bg-color);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-bg-light-color);
}

.stat-block {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: rgba(124, 85, 197, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-text-color);
    flex-shrink: 0;
}

.stat-meta strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text-color);
}

.stat-meta span {
    font-size: 12px;
    color: var(--fourth-text-color);
    opacity: 0.7;
    font-weight: 500;
}


/* ==========================================================================
   3. MASTERCLASS SECTION
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
    max-width: 1000px;
    margin: auto;
}

.m-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(124, 85, 197, 0.05);
    border-top: 6px solid transparent;
    transition: transform 0.3s ease;
}

.m-card:hover {
    transform: translateY(-4px);
}

.m-card.maths { border-color: #ff723a; }
.m-card.english { border-color: var(--primary-bg-color); }

.card-title-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    color: var(--secondary-text-color);
}

.maths .card-badge { background-color: #ff723a; }
.english .card-badge { background-color: var(--primary-bg-color); }

.card-title-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--fourth-text-color);
}

.topics-headline {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-text-light-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.subtopic-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.chip {
    background-color: var(--secondary-bg-color);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fourth-text-color);
    border: 1px solid var(--primary-bg-light-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip::before {
    content: '•';
    font-size: 18px;
}

.maths .chip::before { color: #ff723a; }
.english .chip::before { color: var(--primary-bg-color); }

.card-footer {
    margin-top: auto;
}

.value-prop {
    font-size: 13px;
    color: var(--fourth-text-color);
    opacity: 0.7;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-enrol {
    display: block;
    padding: 14px;
    transition: background 0.2s, filter 0.2s;
}

.maths .btn-enrol {
    background-color: #ff723a;
    color: var(--secondary-text-color);
    box-shadow: 0 4px 14px rgba(255, 114, 58, 0.3);
}

.english .btn-enrol {
    background-color: var(--primary-bg-color);
    color: var(--secondary-text-color);
    box-shadow: 0 4px 14px rgba(124, 85, 197, 0.3);
}

.maths .btn-enrol:hover,
.english .btn-enrol:hover {
    filter: brightness(1.1);
}

/* Masterclass Exclusives */
.unlock-banner {
    background-color: #ffffff;
    border: 1px dashed #ff723a;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin: 32px auto;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(255, 114, 58, 0.05);
}

.unlock-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--fourth-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.unlock-text strong { color: #ff723a; }
.unlock-text span.icon { font-size: 20px; }

.mock-exam-box {
    max-width: 1200px;
    margin: auto;
    background-color: var(--primary-bg-color);
    border-radius: 20px;
    padding: 30px 24px;
    color: var(--secondary-text-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(124, 85, 197, 0.15);
}

.mock-exam-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.mock-title-row {
    text-align: center;
    margin-bottom: 24px;
}

.mock-badge {
    background-color: #ff723a;
    color: var(--secondary-text-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(255, 114, 58, 0.25);
}

.mock-title-row h3 {
    font-family: var(--font-family-2);
    font-size: 24px;
    font-weight: 400;
    color: white;
}

.mock-grid-topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.mock-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--secondary-text-color);
}

.mock-footer-note {
    font-size: 12px;
    color: var(--third-text-color);
    text-align: center;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}


/* ==========================================================================
   4. HOW IT WORKS SECTION
   ========================================================================== */
.workspace-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.step-row {
    display: flex;
    align-items: center;
    /* gap: 20px; */
    width: 100%;
}


.step-number {
    font-family: var(--font-family-2);
    font-size: 48px;
    font-weight: 400;
    color: var(--primary-bg-light-color);
    opacity: 0.5;
    width: 65px;
    flex-shrink: 0;
    line-height: 1;
}

.step-card {
    background-color: #ffffff;
    border: 1px solid #7c55c533;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(124, 85, 197, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 85, 197, 0.06);
}

.step-icon-box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}


.step-row:nth-child(1) .step-icon-box { background-color: rgba(124, 85, 197, 0.1); color: var(--primary-text-color); }
.step-row:nth-child(2) .step-icon-box { background-color: rgba(255, 114, 58, 0.1); color: #ff723a; }
.step-row:nth-child(3) .step-icon-box { background-color: rgba(124, 85, 197, 0.15); color: var(--primary-bg-color); }

.step-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--fourth-text-color);
    margin-bottom: 6px;
}

.step-text p {
    font-size: 14px;
    color: var(--fourth-text-color);
    opacity: 0.7;
    line-height: 1.5;
}

.graphic-showcase {
    display: flex;
    gap: 16px;
    width: 100%;
    min-height: 350px;
}

.image-panel {
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(124, 85, 197, 0.05);
}

.panel-left {
    flex: 1;
    background-image: url('../../assets/cenable_care/selective-entry-masterclass/how-it-works-section1.webp');
}

.panel-right {
    flex: 1.2;
    background-image: url('../../assets/cenable_care/selective-entry-masterclass/how-it-works-section2.webp');
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.metric-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #7c55c533;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(124, 85, 197, 0.1);
    width: 100%;
}

.avatar-stack { display: flex; }

.avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -8px;
    background-size: cover;
    background-color: #cbd5e1;
}

.avatar-mini.counter-total {
    background-color: var(--primary-bg-color);
    color: var(--secondary-text-color);
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-info h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--fourth-text-color);
}

.badge-info span {
    font-size: 10px;
    color: var(--fourth-text-color);
    opacity: 0.7;
    display: block;
}


/* ==========================================================================
   5. MEET OUR TUTOR SECTION
   ========================================================================== */
.meet-our-tutor {
    font-family: var(--font-family-2);
    background-color: var(--primary-bg-light-color);
    color: var(--fourth-text-color);
    padding: 20px 10px;
}

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

.tutor-card {
    background: #ffffff;
    border: 1px solid #7c55c526;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(124, 85, 197, 0.02);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tutor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 85, 197, 0.06);
}

.tutor-profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tutor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7c55c526;
    background-color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fourth-text-color);
    opacity: 0.6;
    font-size: 12px;
}

.tutor-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fourth-text-color);
    margin-bottom: 4px;
}

.tutor-info .role {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.maths-role { color: var(--primary-text-color); }
.english-role { color: #ff723a; }

.tutor-info .credentials {
    font-size: 13px;
    color: var(--fourth-text-color);
    opacity: 0.6;
    font-weight: 500;
}

.tutor-bio {
    font-size: 14px;
    color: var(--fourth-text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tutor-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.maths-link { color: var(--primary-text-color); }
.maths-link:hover { color: var(--primary-bg-light-color); text-decoration: underline; }

.english-link { color: #ff723a; }
.english-link:hover { filter: brightness(1.2); text-decoration: underline; }


/* ==========================================================================
   6. ENROLL CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
    background-color: var(--primary-bg-color);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(124, 85, 197, 0.15);
    border-bottom: 6px solid var(--primary-bg-light-color);
}

.cta-urgency-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ef4444;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    white-space: nowrap;
}

.cta-banner h2 {
    font-family: var(--font-family-2);
    font-size: 32px;
    font-weight: 400;
    color: var(--secondary-text-color);
    margin-top: 10px;
    margin-bottom: 12px;
}

.cta-price-placeholder {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--third-text-color);
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-weight: 600;
}

.cta-button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.btn-cta {
    padding: 16px;
    color: var(--secondary-text-color);
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.btn-cta.maths {
    background-color: #ff723a;
    box-shadow: 0 8px 20px rgba(255, 114, 58, 0.25);
}

.btn-cta.english {
    background-color: transparent;
    border: 2px solid var(--secondary-text-color);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
}

.btn-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: white;
}


/* ==========================================================================
   7. COMING SOON PAGE / OFFERINGS
   ========================================================================== */
.offerings-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 40px 0;  */
}

.offerings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.offering-card {
    background-color: #ffffff;
    border: 1px solid #7c55c526;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 15px rgba(124, 85, 197, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(124, 85, 197, 0.08);
}

.offering-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-bg-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.offering-list {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.offering-list li {
    font-size: 15px;
    color: var(--fourth-text-color);
    opacity: 0.8;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.offering-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-bg-light-color);
    border-radius: 50%;
}

.btn-outline {
    margin-top: auto; 
    display: block;
    padding: 14px;
    font-size: 15px;
    color: var(--primary-text-color);
    background-color: transparent;
    border: 2px solid var(--primary-bg-color);
    transition: all 0.2s ease;
}


/* ==========================================================================
   8. GLOBAL RESPONSIVE BREAKPOINT: TABLET (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Hero Section */
    .masterclass-section,
    .how-it-works-section,
    .coming-soon,
    .how-it-works-section,
    .meet-our-tutor,
    .hero-canvas  {
        padding: 60px 40px 40px 40px;
    }
    .content-left { text-align: left; }
    .content-left h1 { font-size: 46px; }
    .content-left p { margin: 0 0 32px 0; font-size: 15px; }
    .pill-controls { flex-direction: row; max-width: 100%; margin: 0; }
    .pill-btn { width: auto; }
    .graphic-right { height: 380px; }
    .subject-portrait { max-height: 380px; }
    .meta-badge { padding: 10px 14px; }
    .meta-icon { width: 32px; height: 32px; font-size: 14px; }
    
    .badge-math-metric { top: 15%; left: 20px; }
    .badge-eng-metric { top: 20%; right: 20px; }
    .badge-verified { top: 48%; right: 10px; }
    .badge-cohort { bottom: 18%; left: 10px; }
    
    .stats-banner { flex-direction: row; justify-content: space-around; padding: 24px; grid-template-columns: repeat(2, 1fr);}
    .stat-block { width: auto; }

    /* Masterclass Section */
    .section-header h2 { font-size: 36px; }
    .cards-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .unlock-text { flex-direction: row; }
    .mock-grid-topics { grid-template-columns: repeat(3, 1fr); }

    /* How It Works Section */
    .step-row:nth-child(even) { flex-direction: row-reverse; }
    /* .step-row:nth-child(even) .step-card { flex-direction: row-reverse; } */
    .workspace-split { flex-direction: row; align-items: center; gap: 48px; }
    .timeline-stack, .graphic-showcase { width: 50%; }
    .graphic-showcase { height: 420px; }

    /* Meet Our Tutor Section */
    .tutors-header h2 { font-size: 32px; }
    .tutors-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    /* Enroll CTA Section */
    .cta-banner { padding: 60px 40px; }
    .cta-banner h2 { font-size: 40px; }
    .cta-button-group { flex-direction: row; max-width: 600px; gap: 20px; }

    /* Coming Soon Section */
    .offerings-header h2 { font-size: 26px; }
    .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   9. GLOBAL RESPONSIVE BREAKPOINT: DESKTOP (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    /* Hero Section */
    .masterclass-section,
    .how-it-works-section,
    .coming-soon,
    .how-it-works-section,
    .meet-our-tutor,
    .hero-canvas { 
        padding: 40px 60px 40px 60px; 
    }
    .glow-circle { width: 450px; height: 450px; }
    .glow-oval { width: 300px; height: 500px; }
    .hero-main { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; margin-bottom: 60px; }
    .content-left h1 { font-size: 58px; line-height: 1.15; }
    .content-left p { font-size: 16px; margin-bottom: 36px; }
    .graphic-right { height: 450px; margin-top: 0; }
    .subject-portrait { max-height: 450px; }
    
    .badge-math-metric { top: 20%; left: -30px; }
    .badge-eng-metric { top: 10%; right: -20px; }
    .badge-verified { top: 48%; right: -40px; }
    .badge-cohort { bottom: 15%; left: -50px; }
    
    .stats-banner { padding: 26px 40px; grid-template-columns: repeat(4, 1fr);}
    .stat-meta strong { font-size: 22px; }

    /* Masterclass Section */
    /* .masterclass-section {padding-top: 40px; } */
    .m-card { padding: 40px; }
    .mock-exam-box { padding: 40px; }
    .mock-grid-topics { grid-template-columns: repeat(5, 1fr); }

    /* Coming Soon Section */
    .offerings-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 425px) {
    .step-row {
        gap: 20px;
    }
    .step-icon-box {
        width: 44px;
        height: 44px;
    }
}


:root {
  --primary-bg-color: #7c55c5;
  --secondary-bg-color: #fff5f1;
  --primary-text-color: #7c55c5;
  --secondary-text-color: white;
  --third-text-color: rgb(246, 169, 254);
  --fourth-text-color: black;
  --button-color: #ff723a;
}

.modal {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  /* background-color: #f0f0f0; */
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Modal Backdrop */
.modal-backdrop.show {
  opacity: 0.6;
}

/* Modal Dialog */
.modal.fade .modal-dialog {
  transition:
    transform 0.4s ease-out,
    opacity 0.4s ease-out;
}

.modal.show .modal-dialog {
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content {
  border-radius: 30px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(124, 85, 197, 0.3);
}

#smsPopup .modal-content {
  padding: 0;
}

/* Close Button */
.btn-close-custom {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-text-color);
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-close-custom:hover {
  background: var(--primary-bg-color);
  color: white;
  transform: rotate(90deg);
}

/* Header Section */
.popup-header {
  background: linear-gradient(135deg, var(--primary-bg-color) 0%, #9575d8 100%);
  padding: 50px 40px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.popup-header::before {
  content: '📱';
  position: absolute;
  font-size: 120px;
  top: -20px;
  right: -20px;
  opacity: 0.1;
  transform: rotate(15deg);
}

.urgency-badge {
  display: inline-block;
  background: var(--button-color);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 114, 58, 0.4);
  animation: pulse 2s infinite;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.popup-header h2 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.popup-header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Body Section */
.modal-body {
  padding: 50px 40px;
  background: var(--secondary-bg-color);
  text-align: center;
}

/* Phone Number Display */
.phone-number-box {
  background: white;
  border: 3px dashed var(--primary-bg-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
}

.phone-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.phone-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--fourth-text-color);
  letter-spacing: 2px;
  margin: 0;
  font-family: 'Courier New', monospace;
}

.phone-number a {
  color: var(--fourth-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-number a:hover {
  color: var(--primary-bg-color);
}

/* SMS Button */
.sms-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--button-color);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 114, 58, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.sms-btn:hover {
  background: #e6652e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 114, 58, 0.4);
}

.sms-btn i {
  font-size: 22px;
}

/* Urgency Text */
.urgency-text {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px dashed rgba(124, 85, 197, 0.2);
  color: var(--primary-text-color);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.urgency-text::before {
  content: '⚡';
  font-size: 20px;
  animation: flash 1.5s infinite;
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Responsive */
@media (max-width: 576px) {
  .modal-content {
    border-radius: 20px;
  }

  .popup-header {
    padding: 40px 25px 30px;
  }

  .popup-header h2 {
    font-size: 1.6rem;
  }

  .modal-body {
    padding: 40px 25px;
  }

  .phone-number {
    font-size: 2rem;
  }

  .sms-btn {
    width: 100%;
    justify-content: center;
  }
}