/* Skeleton Wrapper */
.img-skeleton-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 4px;
}

/* Shimmer Effect */
.img-skeleton-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: skeleton-loading 1.2s infinite;
    z-index: 1;
}

/* Image */
.img-skeleton-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity .35s ease;
    position: relative;
    z-index: 2;
}

/* Loaded State */
.img-skeleton-wrapper.loaded::before {
    display: none;
}

.img-skeleton-wrapper.loaded img {
    opacity: 1;
}

/* Animation */
@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}

/* Custom Front Theme Styles */
body, header, footer, .footer-wrapper, .cms-topbar {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    color: #111827;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* FontAwesome Font Family Enforcement */
.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-light, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", sans-serif !important;
}

/* Header & Lower Header Styles */
.header {
    background-color: #ffffff !important;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.header .main-header,
.main-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-header {
    background-color: #a91d22 !important;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.top-header.header-hidden {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* Top Bar */
.ci-top-bar {
    background-color: #9e1b22;
    padding: 6px 0;
    color: #ffffff;
    font-size: 13px;
}

.ci-search-box {
    position: relative;
    width: 220px;
}

.ci-search-box .form-control {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    color: #ffffff;
    border-radius: 4px;
    padding-left: 28px;
    font-size: 12px;
}

.ci-search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.ci-search-box .form-control:focus {
    background-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    color: #ffffff;
}

.ci-search-box .search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

/* Social Icons */
.ci-social-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ci-social-icon:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    color: #ffffff;
}

.ci-social-facebook {
    background-color: #1877f2;
}

.ci-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ci-social-youtube {
    background-color: #ff0004;
}

.ci-social-linkedin {
    background-color: #0a66c2;
}

.ci-social-x {
    background-color: #000000;
}

.ci-social-snapchat {
    background-color: #fffc00;
    color: #000000 !important;
}

/* Main Header */
.ci-main-header {
    background-color: #ffffff;
    padding: 14px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ci-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ci-brand-title {
    font-weight: 800;
    font-size: 15px;
    color: #000000;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.ci-brand-subtitle {
    font-weight: 800;
    font-size: 13px;
    color: #000000;
    line-height: 1.1;
    margin-top: 2px;
}

.ci-brand-dept {
    font-size: 11px;
    color: #555555;
    line-height: 1.1;
    margin-top: 2px;
}

/* Nav Links */
.ci-nav-link {
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.ci-nav-link:hover {
    color: #ff0004;
}

.ci-nav-link.active {
    color: #ff0004;
}

/* CTA Buttons */
.btn-ci-danger {
    background-color: #ff0004;
    border-color: #ff0004;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-ci-danger:hover {
    background-color: #e60000;
    border-color: #e60000;
    color: #ffffff;
}

.btn-ci-outline {
    background-color: transparent;
    border: 1.5px solid #ff0004;
    color: #ff0004;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-ci-outline:hover {
    background-color: #ff0004;
    color: #ffffff;
}

/* Hero Section */
.ci-hero-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 30px 15px;
}

.ci-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    margin-top: 0;
    margin-left: 0;
}

.ci-hero-title .highlight-red {
    color: #ff0004;
    display: block;
}

.ci-hero-title .highlight-dark {
    color: #111827;
    display: block;
}

.ci-hero-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: #222222;
    line-height: 1.4;
    max-width: 100%;
    margin-left: 0;
}


@media (min-width: 576px) and (max-width: 991.98px) {
    .ci-hero-section {
        min-height: 380px;
        padding: 40px 20px;
    }

    .ci-hero-title {
        font-size: 2rem;
    }

    .ci-hero-subtitle {
        font-size: 16px;
    }

    .ci-hero-subtitle br {
        display: inline;
    }
}

/* Desktop Only (>= 992px) */
@media (min-width: 992px) {
    .ci-hero-section {
        min-height: 500px;
        padding: 45px 0;
    }

    .ci-hero-title {
        font-size: 2.75rem;
        line-height: 1.15;
        margin-top: 2.3in;
        margin-left: 1.8in;
    }

    .ci-hero-subtitle {
        color: #e9e7e7;
        font-size: 0.92rem;
        max-width: 600px;
        margin-left: 1.8in;
    }

    .ci-hero-subtitle br {
        display: inline;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .navbar-nav .ci-nav-link {
        display: block;
        padding: 0.5rem 0;
    }
}

/* Welcome & Feature Section */
.ci-welcome-section {
    background-color: #f4f6f8;
    padding: 70px 0;
}

.ci-section-title-red {
    color: #ff0004;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ci-welcome-desc {
    color: #4b5563;
    line-height: 1.6;
    max-width: 840px;
    margin: 0 auto 40px auto;
    text-align: center !important;
    font-size: 15px !important;

}

.ci-feature-card {
    background: #ffffff;
    border: 1px solid #e3d9c6;
    border-radius: 10px;
    padding: 35px 20px 30px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ci-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.ci-feature-icon-wrapper {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.ci-feature-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.25;
}

.ci-feature-card-text {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Why Learn Chinese Box */
.ci-why-chinese-box {
    background-color: #fcf7ed;
    border: 1.5px solid #d4a373;
    border-radius: 12px;
    padding: 40px 35px;
    margin-top: 55px;
}

.ci-why-chinese-badge {
    background-color: #ff0004;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 10px 36px;
    border-radius: 8px;
    display: inline-block;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ci-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ci-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ff0004;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.ci-benefit-text {
    font-weight: 700;
    font-size: 0.92rem;
    color: #111827;
    line-height: 1.35;
}

/* Courses Section */
.ci-courses-section {
    background-color: #f4f6f8;
}

.ci-course-card {
    padding: 10px;
    background-color: #fffcf7;
    border: 1.5px solid #c1994c;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ci-course-card2 {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ci-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.ci-course-card-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.ci-course-card-img2 {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

.ci-course-card-img-wrapper {
    padding: 10px;
    background-color: #fffcf7;
}

.ci-course-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #fffcf7;
}

.ci-course-number-badge {
    width: 24px;
    height: 24px;
    background-color: #ff0004;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    margin-top: 2px;
}

.ci-course-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0;
}

.ci-course-details {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.45;
    margin-top: 14px;
}

.ci-course-details strong {
    color: #111827;
}

.ci-cultural-card-body {
    padding: 10px;
    text-align: center;
}
.ci-cultural-card-body2 {
    padding: 20px;
    text-align: left;
}
.ci-duration-badge {
    display: inline-block;
    padding: 6px;
    border: 1px solid #bfbfbf; /* Change color to match your design */
    border-radius: 6px;    /* Rounded corners for the badge */
    font-size: 10px;
    font-weight: 600;
    color: #333;
}
.ci-cultural-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.ci-cultural-text {
    font-size: 0.88rem;
    color: #555555;
    margin-bottom: 0;
}

/* Header styling: Keeps number badge and title inline */
.ci-course-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ci-course-card-title {
    margin: 0;
    font-size: 1.1rem;
}

/* Base row styles */
.ci-detail-row {
    font-size: 0.825rem;
    line-height: 1.4;
    color: #333333;
}

.ci-label {
    font-weight: 700;
    color: #111111;
}

/* For Ideal For & Duration */
.ci-detail-row.inline-item {
    display: flex;
    gap: 4px;
}

/* Creates a clean column alignment next to "Focus:" */
.ci-detail-row.block-item {
    display: flex;
    align-items: flex-start; /* Keeps Focus: at the top line */
    gap: 6px; /* Space between "Focus:" and text block */
}

.ci-detail-row.block-item .ci-value {
    flex: 1; /* Forces text block to fill remaining space as a column */
    padding-left: 0; /* Removes old margin/padding */
}

.btn-ci-explore {
    background-color: #ff0004;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 12px 42px;
    border-radius: 50px;
    border: none;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-ci-explore:hover {
    background-color: #e60000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Scholarship Section */
.ci-scholarship-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
}

.ci-scholarship-item {
    text-align: center;
    position: relative;
    padding: 10px 15px;
}

.ci-scholarship-divider {
    border-right: 1.5px dashed #d4a373;
}

.ci-scholarship-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #123524;
    border: 3px solid #d4a373;
    color: #d4a373;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
}

.ci-scholarship-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

/* Gallery Section */
.ci-gallery-grid img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* News Section */
.ci-news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ci-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ci-news-banner-bg {
    background: linear-gradient(135deg, #a81c24 0%, #7d1218 100%);
    padding: 24px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ci-news-banner-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.ci-news-banner-headline {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
}

.ci-news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ci-news-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 10px;
}

.ci-news-desc {
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.45;
    margin-bottom: 14px;
}

.ci-news-date {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: auto;
}

/* Video Player Section */
.ci-video-main-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/*.ci-video-main-card img {*/
/*    width: 100%;*/
/*    max-height: 480px;*/
/*    object-fit: cover;*/
/*    display: block;*/
/*}*/

.ci-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background-color: #b80f12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.45);
    transition: transform 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
}

.ci-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #e60000;
    color: #ffffff;
}

.ci-video-thumb {
    border-radius: 8px;
    height: 110px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ci-video-thumb:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Contact Us Section */
.ci-contact-section {
    padding: 70px 0 90px 0;
    background-color: #f4f6f8;
}

.ci-contact-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ci-contact-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.ci-contact-social-icon:hover {
    transform: translateY(-2px);
}

.ci-social-tiktok {
    background-color: #000000;
}

.ci-social-whatsapp {
    background-color: #25d366;
}

.ci-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.92rem;
    color: #374151;
}

.ci-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ci-contact-info-item i {
    font-size: 17px;
    color: #111827;
    margin-top: 2px;
    flex-shrink: 0;
}

.ci-contact-info-item strong {
    color: #111827;
}

/* Footer Styles */
.ci-footer {
    background-color: #9e1b22;
    color: #ffffff;
    padding: 45px 0 40px 0;
    font-size: 13px;
}

.ci-footer-top {
    padding-bottom: 16px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.ci-footer-connect-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.ci-footer-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ci-footer-social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.ci-social-phone {
    background-color: #25d366;
}

.ci-footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 14px;
    display: inline-block;
}

.ci-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.65);
}

.ci-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ci-footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.ci-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ci-footer-qr-code {
    width: 85px;
    height: 85px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 6px;
    margin-top: 12px;
}

.ci-footer-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*about us*/
/* Section General Background */
.ci-vision-section {
    background-color: #f4f5f8; /* Soft light gray background from image */
    font-family: Arial, sans-serif;
}

/* Titles */
.ci-section-title {
    color: #ff0004 !important; /* Bright Red */
    font-size: 1.75rem;
    letter-spacing: 0.5px;
}

.ci-section-subtitle {
    font-size: 1.1rem;
    color: #555555;
}

.ci-message-body {
    font-size: 0.8rem;
    text-align: justify;
}

/* Vision & Mission Cards */
.ci-vm-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ci-vm-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.ci-vm-card-text {
    font-size: 0.825rem;
    color: #333333;
    line-height: 1.5;
}

/* List styling inside Mission card */
.ci-vm-list {
    font-size: 0.825rem;
    color: #333333;
    line-height: 1.5;
}

.ci-vm-list li {
    margin-bottom: 8px;
}

/* Circular Icon Wrappers */
.ci-vm-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-card-icon {
    width: 50px;
    height: 50px;
}

/* Objectives Cards */
.ci-obj-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ci-obj-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
}

.ci-obj-card-text {
    font-size: 0.8rem;
    color: #333333;
    line-height: 1.4;
}

.ci-obj-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* Background section */
.ci-message-section {
    background-color: #f4f5f8;
    font-family: Arial, sans-serif;
}

/* Outer Card Container */
.ci-message-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Image Wrapper and Image Styling */
.ci-director-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.ci-director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Typography Styling */
.ci-message-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.ci-director-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
}

.ci-director-designation {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

/* Message Text */
.ci-message-body p {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
}

.ci-message-highlight {
    font-weight: 600;
    color: #111111;
}

/* General Section Setup */
.ci-rankings-section {
    background-color: #f4f5f8;
    font-family: Arial, sans-serif;
}

/* Red Pill Badge */
.ci-pill-badge {
    display: inline-block;
    background-color: #ff0004;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 24px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

/* Header Title */
.ci-rankings-title {
    color: #ff0004;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Main Featured Box (Light Pink/Purple Background) */
.ci-main-ranking-card {
    background-color: #f2e8f1;
    border-radius: 16px;
    padding: 20px 24px;
}

.ci-the-logo-box {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-the-logo-box img {
    max-height: 55px;
    width: auto;
}

/* Maroon Ranking Box */
.ci-ranking-maroon-box {
    background: linear-gradient(135deg, #A91D22 0%, #B3208B 100%);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ci-ranking-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.ci-ranking-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.ci-ranking-sublabel {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* White Ranking Box */
.ci-ranking-white-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Grid Cards (Bottom 4) */
.ci-ranking-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ci-card-logo-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ci-card-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.ci-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.ci-card-desc {
    font-size: 0.825rem;
    color: #444444;
    line-height: 1.5;
}

/*Courses*/
/* Background & Header Styling */

.ci-hsk-title {
    color: #ff3333;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ci-title-line {
    width: 60px;
    height: 3px;
    background-color: #d97706; /* Golden accent line */
    border-radius: 2px;
}

/* Card Styling */
.ci-hsk-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Red HSK Pill Badge */
.ci-hsk-badge {
    background-color: #ff0004;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Card Headers & Paragraphs */
.ci-hsk-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.ci-hsk-card-desc {
    font-size: 0.8rem;
    color: #777777;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Detail Rows (Ideal For & Focus) */
.ci-hsk-details {
    margin-top: 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ci-hsk-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.825rem;
    line-height: 1.4;
}

.ci-hsk-icon {
    color: #555555;
    font-size: 0.85rem;
}

.ci-hsk-label {
    color: #111111;
    font-weight: 700;
    white-space: nowrap;
}

.ci-hsk-value {
    color: #555555;
}

/* Card Footer (Duration) */
.ci-hsk-footer {
    border-top: 1px solid #eeeeee;
    padding-top: 12px;
}

.ci-hsk-duration {
    font-size: 0.825rem;
    font-weight: 700;
    color: #111111;
}

/* Section Background */
.ci-fee-section {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

/* Title Styling */
.ci-fee-title {
    color: #ff0004 !important;
    font-size: 2rem;
    letter-spacing: 0.5px;
}

.ci-fee-title-line {
    width: 50px;
    height: 3px;
    background-color: #c89542; /* Gold accent color matching screenshot */
    border-radius: 2px;
}

/* Table Card Outer Styling */
.ci-fee-table-wrapper {
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* Table Element */
.ci-fee-table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Red Header Row */
.ci-fee-table thead tr {
    background-color: #ff0004;
}

.ci-fee-table thead th {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 20px;
    border: none;
}

/* Table Body Rows */
.ci-fee-table tbody td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #222222;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Zebra Striping (Alternating Light Gray Row Color) */
.ci-fee-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.ci-fee-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Removes bottom border from final row */
.ci-fee-table tbody tr:last-child td {
    border-bottom: none;
}

/* Footnote Disclaimer */
.ci-fee-disclaimer {
    font-size: 0.8rem;
    color: #666666;
}

/* Red Full-Width Container */
.ci-cta-banner {
    background-color: #ff0004; /* Vibrant red matching banner background */
    width: 100%;
}
.ci-hero-blurred {
    background-size: cover;
    background-position: center;
    /* Applies a blur directly to the background container */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
/* Banner Heading Styling */
.ci-cta-title {
    color: #ffffff;
    font-family: 'Times New Roman', Georgia, serif; /* Elegant serif font matching image */
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* White Button Styling */
.ci-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #ff0004;
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ci-btn-arrow {
    font-size: 1rem;
    margin-left: 2px;
}

/* Subtle Hover Effect */
.ci-cta-btn:hover {
    background-color: #f8f9fa;
    color: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.social-icon{
    width: 30px!important;
    height: 30px!important;
}
.ci-video-main-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

.ci-video-main-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
/*News Ans Events*/
/* Search Input Styling */
.news-search-input {
    border-radius: 6px 0 0 6px !important;
    padding: 0.6rem 1rem;
    border: 1px solid #ced4da;
}

.news-search-input:focus {
    box-shadow: none;
    border-color: #a61c1c;
}

.btn-news-search {
    background-color: #a61c1c;
    color: #ffffff;
    border-radius: 0 6px 6px 0 !important;
    font-weight: 500;
}

.btn-news-search:hover {
    background-color: #881616;
    color: #ffffff;
}

/* News Card Styling */
.news-card {
    border-radius: 12px !important;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.news-card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category Badges */
.news-badge {
    background-color: #a61c1c;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
    border-radius: 10px;
    display: inline-block;
}

/* Title Styling */
.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #212529;
}

.news-card-title a:hover {
    color: #a61c1c !important;
}

/* Date Styling */
.news-card-date {
    font-size: 0.85rem;
    color: #8c8c8c !important;
}
