/**
 * Infinity Classes - Individual Course Details Page Stylesheet
 * 100% Offline Classroom Coaching Identity
 * Palette: #FF4B0B (Orange) | #111827 (Navy) | #FFFFFF (White) | #64748B (Grey) | #F8FAFC (Light BG)
 */

/* ==========================================================================
   1. COURSE DETAILS HERO SECTION
   ========================================================================== */
.cd-hero-section {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    color: #FFFFFF;
    padding: 60px 24px 70px 24px;
    overflow: hidden;
    border-bottom: 3px solid #FF4B0B;
}

.cd-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 75, 11, 0.12) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.7;
    pointer-events: none;
}

.cd-hero-container {
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.cd-hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cd-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cd-offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 75, 11, 0.2);
    border: 1px solid rgba(255, 75, 11, 0.5);
    color: #FF804D;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cd-course-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.6px;
    margin: 0;
}

.cd-course-desc {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 16px;
    color: #CBD5E1;
    line-height: 1.68;
    margin: 0;
}

.cd-meta-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding-top: 8px;
}

.cd-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cd-pill-label {
    font-size: 10px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.cd-pill-val {
    font-size: 13px;
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cd-pill-val i {
    color: #FF4B0B;
}

/* Two Primary CTAs in Hero */
.cd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
}

.btn-primary-action-orange {
    background-color: #FF4B0B;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 24px -6px rgba(255, 75, 11, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #FF4B0B;
    cursor: pointer;
}

.btn-primary-action-orange:hover {
    background-color: #E03E03;
    border-color: #E03E03;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -4px rgba(255, 75, 11, 0.6);
    color: #FFFFFF;
}

.btn-primary-action-outline {
    background: #FFFFFF;
    color: #FF4B0B;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary-action-outline:hover {
    background: #FFF3EB;
    border-color: #FF4B0B;
    color: #FF4B0B;
    transform: translateY(-2px);
}

/* Right Content: Large Photograph */
.cd-hero-right {
    display: flex;
    justify-content: center;
}

.cd-hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cd-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-hero-image-wrapper:hover .cd-hero-img {
    transform: scale(1.03);
}

.cd-image-badge-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cd-image-badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-image-badge-text i {
    color: #FF4B0B;
}

.cd-image-badge-star {
    color: #FBBF24;
    font-size: 11px;
}

/* ==========================================================================
   2. SECTION COMMON STYLING
   ========================================================================== */
.cd-content-section {
    padding: 70px 24px;
    background-color: #FFFFFF;
}

.cd-content-section.bg-alt {
    background-color: #F8FAFC;
    border-top: 1px solid #E8EAF0;
    border-bottom: 1px solid #E8EAF0;
}

.cd-container {
    max-width: 1280px;
    margin: 0 auto;
}

.cd-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px auto;
}

.cd-section-eyebrow {
    display: inline-block;
    color: #FF4B0B;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cd-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.cd-section-subtitle {
    font-size: 15px;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   3. OVERVIEW & TARGET AUDIENCE
   ========================================================================== */
.cd-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.cd-overview-prose {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.cd-overview-prose p {
    margin-bottom: 18px;
}

.cd-target-card {
    background: #FFF8F5;
    border: 1px solid rgba(255, 75, 11, 0.2);
    border-radius: 20px;
    padding: 32px;
}

.cd-target-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-target-title i {
    color: #FF4B0B;
}

.cd-target-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================================================
   4. WHAT YOU WILL LEARN
   ========================================================================== */
.cd-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.cd-outcome-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
}

.cd-outcome-card:hover {
    border-color: #FF4B0B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cd-outcome-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFF2EB;
    color: #FF4B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cd-outcome-text {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.5;
}

/* ==========================================================================
   5. SUBJECTS & COMPLETE SYLLABUS ACCORDION
   ========================================================================== */
.cd-syllabus-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cd-subject-item {
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: #FFFFFF;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cd-subject-item.active {
    border-color: #FF4B0B;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.cd-subject-header {
    width: 100%;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.cd-subject-header:hover {
    background-color: #F8FAFC;
}

.cd-subject-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cd-subject-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF2EB;
    color: #FF4B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cd-subject-name {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
}

.cd-subject-sub {
    font-size: 13px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cd-subject-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.3s ease, background-color 0.2s ease;
}

.cd-subject-item.active .cd-subject-toggle-icon {
    transform: rotate(180deg);
    background: #FF4B0B;
    color: #FFFFFF;
}

.cd-subject-content {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px dashed #E2E8F0;
    background-color: #FAFCFE;
}

.cd-subject-item.active .cd-subject-content {
    display: block;
}

.cd-subject-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    padding-top: 16px;
    margin-bottom: 18px;
}

.cd-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.cd-chapter-pill {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
}

.cd-chap-header {
    font-size: 12px;
    font-weight: 700;
    color: #FF4B0B;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cd-chap-title {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.cd-chap-topics {
    font-size: 11px;
    color: #64748B;
    line-height: 1.4;
}

/* ==========================================================================
   6. PROGRAM STRUCTURE & DURATION
   ========================================================================== */
.cd-structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.cd-struct-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.cd-struct-icon {
    font-size: 22px;
    color: #FF4B0B;
    margin-bottom: 6px;
}

.cd-struct-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94A3B8;
    letter-spacing: 0.06em;
}

.cd-struct-val {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

/* ==========================================================================
   7. TEACHING METHODOLOGY (01-06)
   ========================================================================== */
.cd-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cd-step-card {
    background: #FFFFFF;
    border: 1px solid #E8EAF0;
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.cd-step-card:hover {
    border-color: #FF4B0B;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.cd-step-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #FFF0E8;
    line-height: 1;
}

.cd-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF2EB;
    color: #FF4B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.cd-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px 0;
}

.cd-step-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   8. FACULTY SECTION
   ========================================================================== */
.cd-faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.cd-faculty-card {
    background: #FFFFFF;
    border: 1px solid #E8EAF0;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.cd-faculty-photo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #FF4B0B;
}

.cd-faculty-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
}

.cd-faculty-role {
    font-size: 12px;
    font-weight: 700;
    color: #FF4B0B;
    margin-bottom: 4px;
}

.cd-faculty-exp {
    font-size: 11px;
    color: #64748B;
    margin-bottom: 8px;
    display: inline-block;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 6px;
}

.cd-faculty-bio {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   9. BATCH & BRANCH CARDS
   ========================================================================== */
.cd-batches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cd-batch-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.cd-batch-card:hover {
    border-color: #FF4B0B;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.cd-batch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cd-batch-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.cd-batch-branch {
    font-size: 12px;
    font-weight: 700;
    color: #FF4B0B;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.cd-batch-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #475569;
}

.cd-batch-spec-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-batch-spec-row i {
    width: 16px;
    color: #94A3B8;
}

.cd-btn-enquire-batch {
    background: #FFF3EB;
    color: #FF4B0B;
    border: 1px solid rgba(255, 75, 11, 0.3);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.cd-btn-enquire-batch:hover {
    background: #FF4B0B;
    color: #FFFFFF;
    border-color: #FF4B0B;
}

/* ==========================================================================
   10. WHY CHOOSE INFINITY CLASSES
   ========================================================================== */
.cd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cd-benefit-card {
    background: #FFFFFF;
    border: 1px solid #E8EAF0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    gap: 18px;
}

.cd-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF2EB;
    color: #FF4B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cd-benefit-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
}

.cd-benefit-info p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   11. CLASSROOM GALLERY
   ========================================================================== */
.cd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cd-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.cd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cd-gallery-item:hover img {
    transform: scale(1.05);
}

.cd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

/* ==========================================================================
   12. ADMISSION & FEE INFORMATION
   ========================================================================== */
.cd-fee-box {
    background: #FFFFFF;
    border: 2px solid #FF4B0B;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 15px 35px -5px rgba(255, 75, 11, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cd-fee-left h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
}

.cd-fee-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.cd-fee-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
}

.cd-fee-row i {
    color: #FF4B0B;
}

.cd-fee-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cd-process-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #F8FAFC;
    border-radius: 16px;
    padding: 24px;
}

.cd-pstep {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
}

.cd-pstep-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FF4B0B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ==========================================================================
   13. FAQS ACCORDION
   ========================================================================== */
.cd-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cd-faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cd-faq-item.active {
    border-color: #FF4B0B;
}

.cd-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.cd-faq-question:hover {
    color: #FF4B0B;
}

.cd-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cd-faq-item.active .cd-faq-icon {
    transform: rotate(180deg);
    background: #FF4B0B;
    color: #FFFFFF;
}

.cd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.cd-faq-item.active .cd-faq-answer {
    max-height: 500px;
    padding: 0 24px 22px 24px;
    border-top: 1px dashed #F1F5F9;
}

/* ==========================================================================
   14. MOBILE STICKY BOTTOM ACTION BAR
   ========================================================================== */
.cd-sticky-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    z-index: 999;
    border-top: 1px solid #E2E8F0;
}

.cd-sticky-inner {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.cd-sticky-btn-prospectus {
    flex: 1;
    background: #FFFFFF;
    color: #FF4B0B;
    border: 2px solid #FF4B0B;
    border-radius: 10px;
    padding: 12px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cd-sticky-btn-enquiry {
    flex: 1.2;
    background: #FF4B0B;
    color: #FFFFFF;
    border: 2px solid #FF4B0B;
    border-radius: 10px;
    padding: 12px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 75, 11, 0.35);
}

/* ==========================================================================
   RESPONSIVENESS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .cd-hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .cd-overview-grid {
        grid-template-columns: 1fr;
    }
    .cd-fee-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .cd-hero-section {
        padding: 40px 16px 50px 16px;
    }
    .cd-content-section {
        padding: 50px 16px;
    }
    .cd-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary-action-orange,
    .btn-primary-action-outline {
        width: 100%;
        justify-content: center;
    }
    .cd-sticky-bottom-bar {
        display: block;
    }
    /* Add bottom padding to body so content isn't obscured by sticky bar */
    body.has-sticky-bar {
        padding-bottom: 74px;
    }
}

/* ==========================================================================
   Classroom Gallery Lightbox
   ========================================================================== */
.cd-gallery-item {
    cursor: pointer;
}

.cd-lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 24px;
}

.cd-lightbox-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cd-lightbox-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.cd-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: #FF4B0B;
    color: #FFFFFF;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.cd-lightbox-close:hover {
    transform: scale(1.1);
    background: #E03E05;
}

.cd-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 16px;
    object-fit: contain;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.cd-lightbox-caption {
    margin-top: 14px;
    color: #F8FAFC;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

