.block-item {
    padding-bottom: 0px;
    /* border-bottom: 1px solid #ddd; */
}

.section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #2E1065;
    margin-bottom: 18px;
    line-height: 1.3;
}

.rich-text,
.tiptap-content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popup-image img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.popup-image img:hover {
    transform: scale(1.05);
}

/* Accordion Custom Styles */
.accordion-button {
    width: 100%;
    background-color: #7C3AED;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    padding: 15px;
    border: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #4C1D95;
    color: white;
}

.accordion-body {
    background-color: #FAF5FF;
    padding: 15px;
    border: 1px solid #E9D5FF;
    border-top: none;
}

/* Tabs Custom Styles */
.nav-tabs .nav-link {
    background-color: #F3E8FF;
    color: #4C1D95;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    border: 1px solid #E9D5FF;
}

.nav-tabs .nav-link.active {
    background-color: #7C3AED;
    color: white;
}

.nav-tabs .nav-link:hover {
    background-color: #7C3AED;
    color: white;
}

/* Ensure tab content is justified */
.tab-content {
    background-color: #f8f9fa;
    /* Light background */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

/* Fix scrollbar issue */
.tab-pane {
    white-space: normal !important;
    overflow-x: hidden !important;
}

/* Course schedule */
/* ============================================================
   COURSES SCHEDULE PAGE - PREMIUM DESIGN
   ============================================================ */
.courses-page {
    background: #FAF5FF !important;
}

.courses-page .container {
    max-width: 1240px;
}

.courses-schedule-container {
    width: 100%;
}

/* Top Intro Banner */
.courses-intro-banner {
    background: linear-gradient(135deg, #2E1065 0%, #4C1D95 60%, #581C87 100%);
    border-radius: 16px;
    padding: 36px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    box-shadow: 0 12px 36px rgba(46, 16, 101, 0.15);
    position: relative;
    overflow: hidden;
}

.courses-intro-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.courses-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #F3E8FF;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.courses-main-heading,
.courses-intro-banner .courses-main-heading,
.content-text .courses-intro-banner .courses-main-heading {
    color: #ffffff !important;
    font-family: var(--font-head, 'Outfit', sans-serif) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    line-height: 1.25;
    border: none !important;
    padding: 0 !important;
}

.courses-intro-banner .btn-primary-dbrc {
    background: #ffffff !important;
    color: #2E1065 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
}

.courses-intro-banner .btn-primary-dbrc:hover {
    background: #F3E8FF !important;
    color: #4C1D95 !important;
    transform: translateY(-2px);
}



/* Course Cards Grid */
.courses-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.course-schedule-card {
    background: linear-gradient(180deg, #EBE4FC 0%, #F1EEFD 20%, #E8F2FE 52%, #F6FAFF 78%, #ffffff 100%);
    border: 1px solid #E4D7F5;
    border-radius: 14px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(46, 16, 101, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.course-schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(46, 16, 101, 0.1);
    border-color: #C084FC;
    background: linear-gradient(180deg, #E6DCFA 0%, #EFEAFD 20%, #E3EFFF 52%, #F4F8FE 78%, #ffffff 100%);
}

.course-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.course-num-badge {
    background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
    color: #ffffff;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.course-card-title {
    color: #2E1065 !important;
    font-family: var(--font-head, 'Outfit', sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    margin: 0 !important;
    flex: 1;
        text-transform: uppercase;
}
.course-select-option {
    background: #fff;
    border: 0;
    color: #111;
    display: block;
    font-size: 16px;
    line-height: 1.25;
    padding: 5px 12px;
    text-align: left;
    text-transform: uppercase !important;
    width: 100%;
}

.course-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FAF5FF;
    border: 1px solid #E9D5FF;
    color: #7C3AED;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.course-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.course-info-row {
    background: #FDFBFF;
    border: 1px solid #F3E8FF;
    border-radius: 8px;
    padding: 12px 14px;
}

.course-info-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #581C87;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.course-info-label i {
    color: #7C3AED;
    font-size: 15px;
}

.course-info-text {
    color: #374151;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 !important;
}

.course-card-footer {
    border-top: 1px solid #F3E8FF;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.course-fee-wrap {
    display: flex;
    flex-direction: column;
}

.course-fee-wrap .fee-caption {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.course-fee-wrap .fee-amount {
    color: #2E1065;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 19px;
    font-weight: 800;
}

.btn-register-card,
.content-text .btn-register-card,
a.btn-register-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #7C3AED !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25) !important;
}

.btn-register-card i,
a.btn-register-card i {
    color: #ffffff !important;
}

.btn-register-card:hover,
.content-text .btn-register-card:hover,
a.btn-register-card:hover {
    background: #2E1065 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 16, 101, 0.35) !important;
}

/* Bottom Information Grid (Notes, Bank, Contact) */
.courses-bottom-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    margin-top: 16px;
    align-items: stretch;
}

.courses-side-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.course-extra-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #E9D5FF;
    padding: 26px 24px;
    box-shadow: 0 4px 20px rgba(46, 16, 101, 0.04);
    display: flex;
    flex-direction: column;
}

.extra-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F3E8FF;
}

.extra-card-header i {
    font-size: 22px;
    color: #7C3AED;
}

.extra-card-header h4 {
    color: #2E1065 !important;
    font-family: var(--font-head, 'Outfit', sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.extra-card-content {
    color: #374151;
    font-size: 14px;
    line-height: 1.65;
    flex: 1;
}

.extra-card-content ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.extra-card-content li {
    margin-bottom: 8px;
}

.extra-card-content p {
    margin-bottom: 10px;
}

.notes-card {
    border-top: 4px solid #7C3AED;
    height: 100%;
}

.bank-card {
    border-top: 4px solid #059669;
    background: #F0FDF4;
    border-color: #A7F3D0;
}

.bank-card .extra-card-header i {
    color: #059669;
}

.bank-card .extra-card-content {
    background: #ffffff;
    border: 1px solid #D1FAE5;
    border-radius: 10px;
    padding: 16px;
}

.contact-card {
    border-top: 4px solid #2563EB;
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.contact-card .extra-card-header i {
    color: #2563EB;
}

.contact-card .contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #DBEAFE;
    color: #1D4ED8;
    margin-right: 8px;
    font-size: 15px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .courses-cards-grid {
        grid-template-columns: 1fr;
    }

    .courses-bottom-grid {
        grid-template-columns: 1fr;
    }

    .courses-intro-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
}

@media (max-width: 575px) {
    .course-schedule-card {
        padding: 20px 18px;
    }

    .course-card-top {
        flex-direction: column;
        gap: 10px;
    }

    .course-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Comments and testimonials */
.comments-page {
    background: #f4f7f6 !important;
}

.comments-page .container {
    max-width: 1180px;
}

.comments-page .tiptap-content {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.comments-page .comments-page-intro {
    display: none;
}

.comments-page .comments-testimonial-grid {
    display: grid;
    gap: 30px 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 28px;
}

.comments-page .comment-card {
    background: #ffffff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(46, 16, 101, 0.08);
    display: flex;
    flex-direction: column;
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Corner Brush Stroke Accents */
.comments-page .comment-card::before,
.comments-page .comment-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Top-Right Brush Accent */
.comments-page .comment-card::before {
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 100% 0%, #7c3aed 0%, #6d28d9 45%, #9333ea 70%, transparent 80%);
    clip-path: polygon(100% 0, 0 0, 15% 18%, 35% 8%, 50% 32%, 70% 20%, 80% 55%, 68% 70%, 92% 82%, 100% 100%);
    opacity: 0.95;
}

/* Bottom-Left Brush Accent */
.comments-page .comment-card::after {
    bottom: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 0% 100%, #7c3aed 0%, #6d28d9 45%, #9333ea 70%, transparent 80%);
    clip-path: polygon(0 100%, 0 0, 18% 15%, 8% 35%, 32% 50%, 20% 70%, 55% 80%, 70% 68%, 82% 92%, 100% 100%);
    opacity: 0.95;
}

.comments-page .comment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.16);
}

.comments-page .comment-card:hover::before,
.comments-page .comment-card:hover::after {
    transform: scale(1.08);
}

/* Inner Frame matching the design reference */
.comments-page .comment-card-inner {
    background: #ffffff;
    border: 2px solid #1e1b4b;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 260px;
    padding: 30px 22px 24px;
    position: relative;
    z-index: 2;
}

/* Quotation Mark Icon */
.comments-page .comment-quote-mark {
    color: #7c3aed;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.comments-page .comment-quote-mark svg {
    width: 38px;
    height: 32px;
    fill: #7c3aed;
}

.comments-page .comment-card:hover .comment-quote-mark {
    transform: scale(1.08);
}

/* Quote Text */
.comments-page .comment-text {
    color: #1e1b4b;
    font-family: 'Outfit', sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    background: transparent;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal Divider Bar */
.comments-page .comment-divider {
    width: 48px;
    height: 2px;
    background-color: #1e1b4b;
    margin: 0 auto 14px auto;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Author Citation */
.comments-page .comment-author {
    color: #7c3aed;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .comments-page .comments-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .comments-page .comments-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comments-page .comment-card-inner {
        padding: 24px 16px 20px;
        min-height: 220px;
    }

    .comments-page .comment-text {
        font-size: 15.5px;
    }
}