html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.ramadan-landing-wrap {
    background: #FAF6EE;
    min-height: 100vh;
}

.ramadan-top-bar {
    background: linear-gradient(90deg, #3D0F12 0%, #55161A 50%, #3D0F12 100%);
    color: #FCE898;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.top-bar-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-top-pulse {
    background: #FFD700;
    color: #3D0F12 !important;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    animation: top-btn-blink 1s infinite ease-in-out;
}

.btn-top-pulse:hover {
    background: #FFE24D;
    color: #000000 !important; 
}

@keyframes top-btn-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.15;
    }
}

.ramadan-header { 
    background: #ffffff;
    border-bottom: 1px solid rgba(85, 22, 26, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.ramadan-header .nav-link {
    color: #55161A !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.ramadan-header .nav-link:hover,
.ramadan-header .nav-link:focus {
    color: #049331 !important;
    background-color: rgba(4, 147, 49, 0.06);
}

.ramadan-header .navbar-toggler .icon-close {
    display: none;
}

.ramadan-header .navbar-toggler:not(.collapsed) .icon-open {
    display: none;
}

.ramadan-header .navbar-toggler:not(.collapsed) .icon-close {
    display: inline-block;
    
}

@media (max-width: 991.98px) {
    .ramadan-header .navbar-collapse {
        background: #ffffff;
        padding: 1.25rem 1rem;
        margin-top: 0.5rem;
        border-radius: 16px;
        box-shadow: 0 12px 35px rgba(85, 22, 26, 0.12);
        border: 1px solid rgba(85, 22, 26, 0.1);
    }

    .ramadan-header .nav-item {
        margin-bottom: 4px;
    }

    .ramadan-header .nav-link {
        padding: 10px 16px !important;
        font-size: 0.95rem;
        border-radius: 10px;
        text-align: center;
        background: #FAF6EE;
        margin-bottom: 6px;
        color: #55161A !important;
        font-weight: 600;
    }

    .ramadan-header .nav-link:hover,
    .ramadan-header .nav-link:focus {
        background-color: rgba(4, 147, 49, 0.1) !important;
        color: #049331 !important;
    }
}

@media (max-width: 576px) {
    .ramadan-header .navbar-brand img {
        max-width: 250px !important;
    }
}

.ramadan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #55161A;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ramadan-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #EAEAEA;
    box-shadow: 0 20px 50px rgba(85, 22, 26, 0.08);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
}

.ramadan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #D4AF37, #049331, #55161A);
}

.class-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #F8F9FA;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #E9ECEF;
}

.class-type-btn {
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: transparent;
    font-weight: 700;
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.class-type-btn .type-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6C757D;
    margin-top: 4px;
}

.class-type-btn.active {
    background: #ffffff;
    border-color: #049331;
    color: #55161A;
    box-shadow: 0 4px 12px rgba(4, 147, 49, 0.12);
}

.class-type-btn.active .type-sub {
    color: #049331;
    font-weight: 600;
}

.duration-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.duration-card {
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #F8F9FA;
}

.duration-card.active {
    border-color: #55161A;
    background: rgba(85, 22, 26, 0.04);
    box-shadow: 0 4px 12px rgba(85, 22, 26, 0.08);
}

.duration-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #212529;
}

.duration-save {
    font-size: 0.72rem;
    font-weight: 700;
    color: #049331;
    margin-top: 2px;
}

.ramadan-price-box {
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 18px;
    padding: 1.5rem;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(4, 147, 49, 0.08);
    border: 1px solid rgba(4, 147, 49, 0.2);
    color: #049331;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* Section Header & Title Typography */
.section-header {
    margin-bottom: 2rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #049331;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.4rem;
    background: rgba(4, 147, 49, 0.08);
    padding: 4px 14px;
    border-radius: 50px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #55161A;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.section-desc {
    font-size: 1rem;
    color: #6C757D;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero Design (Matches Screenshot) */
.hero-banner-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(85, 22, 26, 0.08);
    border: 4px solid #ffffff;
    max-width: 720px;
    margin: 0 auto;
}

.hero-cta-pill {
    transition: all 0.3s ease;
}

.hero-cta-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(4, 147, 49, 0.18) !important;
    border-color: #049331 !important;
}

.hero-stat-item {
    min-width: 100px;
}

/* Ramadan Curriculum Cards */
.curriculum-card {
    background: #ffffff;
    border: 1px solid rgba(85, 22, 26, 0.1);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(85, 22, 26, 0.1);
    border-color: #D4AF37;
}

.curriculum-icon {
    width: 54px;
    height: 54px;
    background: rgba(85, 22, 26, 0.06);
    color: #55161A;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.curriculum-card:hover .curriculum-icon {
    background: #55161A;
    color: #D4AF37;
}

.curriculum-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.6rem;
}

.curriculum-desc {
    font-size: 0.9rem;
    color: #6C757D;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Compact Why Choose Us */
.why-card-compact {
    background: #ffffff;
    border: 1px solid rgba(85, 22, 26, 0.08);
    border-radius: 16px;
    padding: 1.5rem 0.75rem;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
}

.why-card-compact:hover {
    border-color: #049331;
    box-shadow: 0 8px 20px rgba(4, 147, 49, 0.08);
    transform: translateY(-2px);
}

.why-card-compact .why-icon-sm {
    width: 42px;
    height: 42px;
    background: rgba(4, 147, 49, 0.08);
    color: #049331;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-card-compact h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.35;
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(85, 22, 26, 0.1);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    color: #212529;
    padding: 1.2rem 1.5rem;
    background: #ffffff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #55161A;
    background: rgba(85, 22, 26, 0.03);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.55rem;
    }

    .section-subtitle {
        font-size: 0.78rem;
    }

    .section-desc {
        font-size: 0.88rem;
    }
}

@media (max-width: 576px) {
    .ramadan-card {
        padding: 1.5rem 1.2rem;
    }

    .class-type-toggle {
        grid-template-columns: 1fr;
    }

    .duration-selector {
        grid-template-columns: 1fr;
    }
}

/* Custom Premium Package Cards & Button Styling */
.pkg-card-custom {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #EAEAEA;
    box-shadow: 0 15px 40px rgba(85, 22, 26, 0.06);
    padding: 2.2rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pkg-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(85, 22, 26, 0.12);
    border-color: rgba(4, 147, 49, 0.4);
}

.pkg-card-recommended {
    border: 2px solid #049331;
    box-shadow: 0 20px 45px rgba(4, 147, 49, 0.1);
}

.pkg-card-recommended:hover {
    box-shadow: 0 28px 60px rgba(4, 147, 49, 0.18);
}

/* Recommended Badge Tag */
.pkg-badge-tag {
    position: absolute;
    top: -16px;
    left: 28px;
    background: linear-gradient(135deg, #049331 0%, #037326 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(4, 147, 49, 0.25);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Card Header */
.pkg-header-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #55161A;
    margin-bottom: 0.3rem;
}

.pkg-header-sub {
    font-size: 0.88rem;
    color: #6C757D;
    margin-bottom: 0;
    line-height: 1.45;
}

/* Custom Segmented Duration Tabs */
.pkg-dur-container {
    background: #F4F6F8;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid #E9ECEF;
    display: flex;
    gap: 4px;
}

.pkg-dur-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    outline: none;
    white-space: nowrap;
}

.pkg-dur-tab .save-pill {
    font-size: 0.68rem;
    background: rgba(4, 147, 49, 0.12);
    color: #049331;
    padding: 2px 7px;
    border-radius: 50px;
    font-weight: 800;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
}

.pkg-dur-tab.active-dur {
    background: #FFFFFF;
    color: #55161A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pkg-dur-tab.active-dur .save-pill {
    background: #049331;
    color: #FFFFFF;
}

/* Custom Price Display Box */
.pkg-price-box {
    background: linear-gradient(135deg, rgba(85, 22, 26, 0.03) 0%, rgba(4, 147, 49, 0.04) 100%);
    border: 1px solid rgba(85, 22, 26, 0.08);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
}

.pkg-price-val {
    font-size: 2.3rem;
    font-weight: 700;
    color: #55161A;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.pkg-price-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: #049331;
    margin-top: 4px;
}

/* Custom Feature List */
.pkg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pkg-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2D3748;
}

.pkg-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(4, 147, 49, 0.12);
    color: #049331;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Premium Custom CTA Buttons */
.btn-pkg-buy {
    width: 100%;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-pkg-buy i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.btn-pkg-buy:hover i {
    transform: translateX(4px);
}

/* Primary Green Button (Group Class) */
.btn-pkg-primary {
    background: linear-gradient(135deg, #049331 0%, #037326 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(4, 147, 49, 0.25);
}

.btn-pkg-primary:hover {
    background: linear-gradient(135deg, #05ab3a 0%, #049331 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 147, 49, 0.38);
}

.btn-pkg-primary:active {
    transform: translateY(0);
}

/* Accent Maroon Button (1-on-1 Class) */
.btn-pkg-accent {
    background: linear-gradient(135deg, #55161A 0%, #3D0F12 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 20px rgba(85, 22, 26, 0.25);
}

.btn-pkg-accent:hover {
    background: linear-gradient(135deg, #6c1c21 0%, #55161A 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(85, 22, 26, 0.38);
    border-color: #D4AF37;
}

.btn-pkg-accent:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pkg-card-custom {
        padding: 1.6rem 1.3rem;
    }
    
    .pkg-header-title {
        font-size: 1.45rem;
    }

    .btn-pkg-buy {
        padding: 10px 18px;
        font-size: 0.82rem;
    }
}

/* Clean Hero Typography Styling (No White Card Box) */
.hero-title-clean {
    font-size: 2.8rem;
    font-weight: 800;
    color: #55161A;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-sub-clean {
    font-size: 1.05rem;
    color: #5A6474;
    max-width: 650px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title-clean {
        font-size: 2rem;
    }

    .hero-sub-clean {
        font-size: 0.95rem;
    }
}

/* Quick Enrollment Lead Modal Styling */
.enroll-modal-content {
    border-radius: 24px;
    border: 1px solid rgba(85, 22, 26, 0.12);
    box-shadow: 0 20px 60px rgba(85, 22, 26, 0.18);
    overflow: hidden;
    background: #ffffff;
}

.enroll-modal-header {
    background: linear-gradient(135deg, #55161A 0%, #3D0F12 100%);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #D4AF37;
}

.enroll-summary-box {
    background: #FAF6EE;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.enroll-input-field {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1.5px solid #E2E8F0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.enroll-input-field:focus {
    border-color: #049331;
    box-shadow: 0 0 0 3px rgba(4, 147, 49, 0.15);
}

#btnSubmitLead {
    font-size: 0.95rem;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

@media (max-width: 576px) {
    #btnSubmitLead {
        font-size: 0.88rem;
        padding: 10px 14px;
    }
}