/* CanBright Language Institute — theme based on the "Educator" Elementor kit (red / black palette) */
:root {
    --cb-red: #FF0000;
    --cb-accent: #FC0000;
    --cb-red-dark: #A41111;
    --cb-black: #000000;
    --cb-dark: #111111;
    --cb-white: #FFFFFF;
    --cb-light: #F8F8F8;
    --cb-border: #D9D9D9;
    --cb-grey: #A7A7A7;
    --cb-muted: #787878;
    --cb-text: #3a3a3a;
    --cb-radius: 20px;
    --cb-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    --cb-font-head: "Mulish", sans-serif;
    --cb-font-body: "Poppins", sans-serif;
    --bs-primary: var(--cb-red);
    --bs-link-color: var(--cb-red);
    --bs-link-hover-color: var(--cb-red-dark);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--cb-font-body);
    font-size: 15px;
    line-height: 1.7em;
    letter-spacing: -0.6px;
    color: var(--cb-text);
    background: var(--cb-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .cb-head {
    font-family: var(--cb-font-head);
    color: var(--cb-black);
    line-height: 1.1em;
    letter-spacing: 0;
}
h1 { font-size: 60px; font-weight: 900; }
h2 { font-size: 52px; font-weight: 900; }
h3 { font-size: 42px; font-weight: 900; }
h4 { font-size: 32px; font-weight: 800; }
h5 { font-size: 24px; font-weight: 800; }
h6 { font-size: 18px; font-weight: 700; }
p { margin-bottom: 15px; }
a { color: var(--cb-red); text-decoration: none; transition: color .3s; }
a:hover { color: var(--cb-red-dark); }
img { max-width: 100%; height: auto; }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-light-grey { background: var(--cb-light); }
.text-red { color: var(--cb-red) !important; }
.text-muted-cb { color: var(--cb-muted); }

/* ---------- Buttons ---------- */
.btn-cb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cb-accent);
    color: var(--cb-white);
    font-family: var(--cb-font-head);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    border: 0;
    border-radius: 25px;
    padding: 16px 28px;
    transition: background .3s, color .3s, transform .3s;
    cursor: pointer;
}
.btn-cb:hover, .btn-cb:focus { background: var(--cb-red-dark); color: var(--cb-white); }
.btn-cb.btn-dark-cb { background: var(--cb-black); }
.btn-cb.btn-dark-cb:hover { background: var(--cb-red); }
.btn-cb.btn-white-cb { background: var(--cb-white); color: var(--cb-black); }
.btn-cb.btn-white-cb:hover { background: var(--cb-black); color: var(--cb-white); }
.btn-cb.btn-sm-cb { padding: 12px 22px; font-size: 13px; }
.btn-cb.w-100 { justify-content: center; }

/* ---------- Zig-zag divider ---------- */
.cb-divider {
    width: 100px;
    height: 14px;
    margin-bottom: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 11 L5 3 L10 11 L15 3 L20 11' fill='none' stroke='%23FF0000' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x left center;
}
.cb-divider.center { margin-left: auto; margin-right: auto; }
.cb-divider.white {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 11 L5 3 L10 11 L15 3 L20 11' fill='none' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}

.section-title { margin-bottom: 50px; }
.section-title h3 { margin-bottom: 15px; }
.section-title p { max-width: 560px; margin: 0 auto; }

/* ---------- Decorative shapes ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-circle { width: 175px; height: 175px; background: url(../images/educator-img4.png) no-repeat center / contain; }
.deco-zigzag { width: 100px; height: 100px; background: url(../images/educator-img5.png) no-repeat center / contain; }
.deco-wave { width: 180px; height: 150px; background: url(../images/educator-img3.png) no-repeat center / contain; }
.deco-lines { width: 205px; height: 260px; background: url(../images/educator-img6.png) no-repeat center / contain; opacity: .7; }
.deco-dot { width: 120px; height: 120px; background: url(../images/educator-img7.png) no-repeat center / contain; }
.z-1 { position: relative; z-index: 1; }

/* ---------- Top bar & header ---------- */
.cb-topbar {
    background: var(--cb-black);
    border-bottom: 1px solid #F8F8F81C;
    padding: 12px 0 8px;
    font-family: var(--cb-font-body);
    font-size: 13px;
    line-height: 1.2em;
    color: var(--cb-light);
}
.cb-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.cb-topbar li i { color: var(--cb-red); margin-right: 6px; font-size: 13px; }
.cb-topbar a { color: var(--cb-light); }
.cb-topbar a:hover { color: var(--cb-red); }
.cb-social { display: flex; align-items: center; gap: 18px; }
.cb-social a { color: var(--cb-border); font-size: 15px; }
.cb-social a:hover { color: var(--cb-red-dark); }

.cb-header {
    background: var(--cb-black);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow .3s, padding .3s;
}
.cb-header.scrolled { box-shadow: 0 6px 30px rgba(0, 0, 0, .35); padding: 6px 0; }
.cb-header .navbar-brand img { height: 68px; width: auto; transition: height .3s; }
.cb-header.scrolled .navbar-brand img { height: 54px; }
.cb-header .navbar { padding: 0; }
.cb-header .nav-link {
    font-family: var(--cb-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--cb-white);
    padding: 8px 15px !important;
    letter-spacing: 0;
}
.cb-header .nav-link:hover, .cb-header .nav-link:focus, .cb-header .nav-link.active,
.cb-header .nav-item.show > .nav-link { color: var(--cb-red); }
.cb-header .dropdown-toggle::after { border-top-color: currentColor; vertical-align: .2em; }
.cb-header .dropdown-menu {
    border: 0;
    border-radius: 0;
    padding: 15px 0;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    margin-top: 0;
}
.cb-header .dropdown-item {
    font-family: var(--cb-font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--cb-black);
    padding: 10px 22px;
}
.cb-header .dropdown-item:hover, .cb-header .dropdown-item.active { background: transparent; color: #707070; }
.cb-header .navbar-toggler { background: var(--cb-white); border: 0; border-radius: 4px; padding: 6px 10px; }
.cb-header .navbar-toggler:focus { box-shadow: none; }
@media (min-width: 992px) {
    .cb-header .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .cb-header .navbar-collapse { padding: 15px 0; }
    .cb-header .dropdown-menu { background: #1a1a1a; box-shadow: none; }
    .cb-header .dropdown-item { color: var(--cb-white); }
    .cb-header .navbar-brand img { height: 52px; }
}

/* ---------- Page banner ---------- */
.page-banner {
    position: relative;
    padding: 150px 0 140px;
    background: url(../images/educator-img012.jpg) center / cover no-repeat;
    text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .78); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--cb-white); margin-bottom: 15px; }
.page-banner .breadcrumb { justify-content: center; margin: 0; font-family: var(--cb-font-head); font-weight: 700; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: var(--cb-white); }
.page-banner .breadcrumb-item a:hover { color: var(--cb-red); }
.page-banner .breadcrumb-item.active { color: var(--cb-red); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--cb-grey); }
.page-banner .post-meta { color: var(--cb-border); justify-content: center; }
.page-banner .post-meta i { color: var(--cb-red); }

/* ---------- Hero ---------- */
.hero {
    background: var(--cb-black);
    position: relative;
    overflow: hidden;
    padding: 90px 0 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 40%, rgba(255, 0, 0, .28), transparent 55%), url(../images/educator-img5.png) no-repeat 8% 82% / 100px;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--cb-white); margin-bottom: 25px; }
.hero h1 span { color: var(--cb-red); }
.hero p { color: var(--cb-border); font-size: 16px; max-width: 520px; }
.hero-text { padding-bottom: 90px; }
.hero-img { position: relative; text-align: center; }
.hero-img::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 82%;
    height: 88%;
    border-radius: 300px 300px 0 0;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .12);
}
.hero-img img { position: relative; width: 90%; display: block; margin: 0 auto; }
.hero-img .deco-circle { right: -20px; top: 40px; opacity: .8; }

/* ---------- About / Why choose (home) ---------- */
.why-card {
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 30px;
    position: relative;
}
.why-card .main-img { border-radius: var(--cb-radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 25px; }
.rounded-cb { border-radius: var(--cb-radius); }

.cb-progress { margin-bottom: 20px; }
.cb-progress .label { display: flex; justify-content: space-between; font-family: var(--cb-font-head); font-weight: 700; color: var(--cb-black); font-size: 15px; margin-bottom: 8px; }
.cb-progress .track { height: 6px; background: #eee; border-radius: 6px; overflow: hidden; }
.cb-progress .bar { height: 100%; width: 0; background: var(--cb-red); border-radius: 6px; transition: width 1.6s ease; }

.icon-feature { display: flex; gap: 14px; align-items: flex-start; }
.icon-feature .ic {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 0, 0, .08);
    color: var(--cb-red);
    display: grid;
    place-items: center;
    font-size: 24px;
}
.icon-feature h6 { margin: 4px 0 6px; font-size: 17px; }
.icon-feature p { font-size: 14px; margin: 0; }

/* ---------- Categories ---------- */
.cat-card {
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 38px 20px;
    text-align: center;
    height: 100%;
    display: block;
    transition: transform .3s, background .3s;
}
.cat-card .ic {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--cb-light);
    color: var(--cb-red);
    display: grid;
    place-items: center;
    font-size: 36px;
    transition: background .3s, color .3s;
}
.cat-card h5 { font-size: 20px; margin-bottom: 8px; transition: color .3s; }
.cat-card span { color: var(--cb-muted); font-size: 14px; }
.cat-card:hover { transform: translateY(-6px); background: var(--cb-black); }
.cat-card:hover .ic { background: var(--cb-red); color: var(--cb-white); }
.cat-card:hover h5 { color: var(--cb-white); }
.cat-card:hover span { color: var(--cb-border); }

.book-card {
    background: var(--cb-red);
    border-radius: var(--cb-radius);
    padding: 34px 30px;
    height: 100%;
    color: var(--cb-white);
}
.book-card h4 { color: var(--cb-white); font-size: 24px; margin-bottom: 20px; }
.book-card .form-control { border-radius: 25px; border: 0; padding: 12px 20px; margin-bottom: 12px; }

/* ---------- Forms ---------- */
.cb-form .form-control, .cb-form .form-select {
    background: var(--cb-light);
    border: 1px solid transparent;
    border-radius: 25px;
    padding: 13px 22px;
    font-size: 14px;
    color: var(--cb-black);
}
.cb-form textarea.form-control { border-radius: 20px; min-height: 150px; }
.cb-form .form-control:focus, .cb-form .form-select:focus { border-color: var(--cb-red); box-shadow: none; background: var(--cb-white); }
.form-card {
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 40px;
    position: relative;
}
.form-success { display: none; margin-top: 15px; padding: 12px 18px; border-radius: 12px; background: rgba(0, 160, 60, .1); color: #0a7a35; font-weight: 500; }
.form-success.show { display: block; }
.form-error { display: none; margin-top: 15px; padding: 12px 18px; border-radius: 12px; background: #fdecec; color: #b00000; font-weight: 500; }
.form-error.show { display: block; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
button[disabled] { opacity: .7; cursor: wait; }

/* ---------- Course cards ---------- */
.course-card {
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s;
}
.course-card:hover { transform: translateY(-6px); }
.course-card .thumb { position: relative; overflow: hidden; }
.course-card .thumb img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s; }
.course-card:hover .thumb img { transform: scale(1.06); }
.course-card .bookmark {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cb-white);
    color: var(--cb-red);
    display: grid;
    place-items: center;
    z-index: 1;
}
.course-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.course-card .cat { font-family: var(--cb-font-head); font-size: 14px; font-weight: 800; color: var(--cb-red); text-transform: uppercase; margin-bottom: 8px; }
.course-card h5 { font-size: 20px; line-height: 1.3em; margin-bottom: 10px; }
.course-card h5 a { color: var(--cb-black); }
.course-card h5 a:hover { color: var(--cb-red); }
.stars { color: #FFB400; font-size: 13px; letter-spacing: 1px; }
.stars small { color: var(--cb-muted); letter-spacing: 0; margin-left: 4px; font-size: 13px; }
.course-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; padding-top: 16px; border-top: 1px solid #eee; font-size: 13px; }
.course-card .instructor { display: flex; align-items: center; gap: 10px; font-family: var(--cb-font-head); font-weight: 700; color: var(--cb-black); font-size: 14px; }
.course-card .instructor img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.course-card .students i { color: var(--cb-red); margin-right: 4px; }
.course-card .enroll { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; font-family: var(--cb-font-head); font-weight: 800; font-size: 14px; color: var(--cb-black); text-transform: uppercase; }
.course-card .enroll i { color: var(--cb-red); margin-left: 6px; transition: margin .3s; }
.course-card .enroll:hover { color: var(--cb-red); }
.course-card .enroll:hover i { margin-left: 12px; }

/* ---------- Limitless / Split dark section ---------- */
.dark-split {
    position: relative;
    background: url(../images/educator-img012.jpg) center / cover no-repeat;
    color: var(--cb-border);
}
.dark-split::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .86); }
.dark-split .container { position: relative; z-index: 1; }
.dark-split h3 { color: var(--cb-white); }
.check-list { list-style: none; padding: 0; margin: 25px 0 30px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; }
.check-list li i { color: var(--cb-red); font-size: 18px; margin-top: 2px; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { border-radius: var(--cb-radius); min-height: 230px; padding: 30px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.tile h5 { color: var(--cb-white); font-size: 22px; line-height: 1.3em; margin: 0; }
.tile.red { background-color: var(--cb-red); }
.tile.white { background-color: var(--cb-white); }
.tile.white h5 { color: var(--cb-black); }

/* ---------- Feature boxes ---------- */
.feature-box {
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 45px 35px 70px;
    text-align: center;
    position: relative;
    height: 100%;
    transition: transform .3s;
}
.feature-box:hover { transform: translateY(-6px); }
.feature-box .num {
    position: absolute;
    top: 20px;
    left: 26px;
    font-size: 70px;
    font-weight: 900;
    color: rgba(0, 0, 0, .05);
    margin: 0;
}
.feature-box .ic { font-size: 56px; color: var(--cb-red); margin-bottom: 22px; display: inline-block; }
.feature-box h5 { margin-bottom: 14px; }
.feature-box .go {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cb-black);
    color: var(--cb-white);
    display: grid;
    place-items: center;
    transition: background .3s;
}
.feature-box:hover .go { background: var(--cb-red); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .photo {
    width: 230px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 22px;
    border-radius: 50%;
    border: 8px solid var(--cb-white);
    box-shadow: 0 0 0 1px #eee, var(--cb-shadow);
    background: var(--cb-light);
    overflow: hidden;
    transition: border-color .3s;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card:hover .photo { border-color: var(--cb-red); }
.team-card h5 { font-size: 21px; margin-bottom: 4px; }
.team-card h5 a { color: var(--cb-black); }
.team-card h5 a:hover { color: var(--cb-red); }
.team-card .role { color: var(--cb-red); font-size: 14px; margin-bottom: 12px; }
.round-social { display: flex; gap: 8px; justify-content: center; }
.round-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cb-black);
    color: var(--cb-white);
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: background .3s;
}
.round-social a:hover { background: var(--cb-red); color: var(--cb-white); }

/* ---------- Video / Committed ---------- */
.video-box {
    position: relative;
    min-height: 420px;
    border-radius: var(--cb-radius) 0 0 var(--cb-radius);
    background: url(../images/educator-img13.jpg) center / cover no-repeat;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.video-box::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.play-btn {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--cb-red);
    color: var(--cb-white);
    border: 0;
    font-size: 26px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, .6);
    animation: pulse 2s infinite;
}
.play-btn:hover { background: var(--cb-red-dark); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, .55); }
    70% { box-shadow: 0 0 0 26px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}
.committed-box {
    background: var(--cb-black) url(../images/educator-img7.png) no-repeat right 30px top 30px;
    border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
    padding: 70px 60px;
    height: 100%;
    color: var(--cb-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.committed-box h3 { color: var(--cb-white); }
@media (max-width: 991.98px) {
    .video-box { border-radius: var(--cb-radius) var(--cb-radius) 0 0; min-height: 320px; }
    .committed-box { border-radius: 0 0 var(--cb-radius) var(--cb-radius); padding: 50px 30px; }
}

/* ---------- Counters ---------- */
.counter-band {
    position: relative;
    background: url(../images/educator-img012.jpg) center / cover no-repeat;
    padding: 90px 0;
}
.counter-band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.counter-band .container { position: relative; z-index: 1; }
.counter { text-align: center; }
.counter .num { font-family: var(--cb-font-head); font-size: 60px; font-weight: 900; line-height: 1.1em; color: var(--cb-white); }
.counter .title { font-family: var(--cb-font-head); font-weight: 700; color: var(--cb-red); font-size: 17px; }
.counter-row .col-md-3 + .col-md-3 { border-left: 1px solid rgba(255, 255, 255, .15); }
.counter-light .num { color: var(--cb-black); }
.counter-light .col-md-3 + .col-md-3 { border-left-color: #e6e6e6; }
@media (max-width: 767.98px) { .counter-row .col-md-3 + .col-md-3 { border-left: 0; } }

/* ---------- Testimonials ---------- */
.testi-card {
    background: var(--cb-white) url(../images/educator-img1.png) no-repeat right 40px bottom 40px;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    padding: 40px 40px 34px;
    height: 100%;
    position: relative;
}
.testi-card::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 36px;
    font-size: 46px;
    color: rgba(255, 0, 0, .1);
}
.testi-card p { font-size: 16px; font-style: italic; margin-bottom: 25px; }
.testi-card .who { display: flex; align-items: center; gap: 15px; }
.testi-card .who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cb-red); }
.testi-card .who h6 { margin: 0 0 4px; font-size: 18px; }
.testi-card .who span { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--cb-red); }

/* ---------- Logos ---------- */
.logo-strip { padding: 60px 0; border-top: 1px solid #f0f0f0; overflow: hidden; }
.logo-track { display: flex; gap: 80px; align-items: center; width: max-content; animation: marquee 28s linear infinite; }
.logo-track img { height: 70px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About page ---------- */
.about-media { position: relative; }
.about-media .main { border-radius: var(--cb-radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.exp-badge {
    position: absolute;
    left: -30px;
    bottom: 60px;
    background: var(--cb-black);
    color: var(--cb-white);
    border-radius: var(--cb-radius);
    padding: 26px 30px;
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 330px;
    box-shadow: var(--cb-shadow);
}
.exp-badge i { font-size: 42px; color: var(--cb-red); }
.exp-badge h5 { color: var(--cb-white); margin: 0; font-size: 24px; }
.video-card {
    position: absolute;
    right: -30px;
    top: 50px;
    width: 280px;
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, .15);
    padding: 34px 28px;
    text-align: center;
}
.video-card .play-btn { margin: 15px auto 20px; width: 70px; height: 70px; font-size: 20px; }
.video-card h6.small-t { color: var(--cb-red); font-size: 15px; }
.video-card p { font-size: 14px; margin: 0; }
@media (max-width: 991.98px) {
    .exp-badge, .video-card { position: static; margin-top: 20px; max-width: none; width: auto; }
}

/* ---------- Accordion (FAQ) ---------- */
.cb-accordion .accordion-item { border: 0; margin-bottom: 14px; border-radius: 14px !important; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.cb-accordion .accordion-button {
    font-family: var(--cb-font-head);
    font-weight: 800;
    font-size: 17px;
    color: var(--cb-black);
    background: var(--cb-white);
    padding: 20px 24px;
    box-shadow: none !important;
}
.cb-accordion .accordion-button:not(.collapsed) { background: var(--cb-black); color: var(--cb-white); }
.cb-accordion .accordion-button:not(.collapsed)::after { filter: invert(1) brightness(2); }
.cb-accordion .accordion-body { padding: 18px 24px 22px; }

.quote-card {
    background: var(--cb-black);
    border-radius: var(--cb-radius);
    padding: 34px;
    color: var(--cb-border);
    margin-top: -60px;
    position: relative;
    z-index: 2;
    width: 88%;
    margin-left: auto;
}
.quote-card i { color: var(--cb-red); font-size: 34px; margin-bottom: 14px; }
.quote-card h5 { color: var(--cb-white); }

/* ---------- Contact ---------- */
.map-wrap { border-radius: var(--cb-radius); overflow: hidden; box-shadow: var(--cb-shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--cb-light);
    border-radius: var(--cb-radius);
    padding: 22px 24px;
    margin-bottom: 18px;
}
.contact-item .ic {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cb-black);
    color: var(--cb-white);
    display: grid;
    place-items: center;
    font-size: 24px;
}
.contact-item h6 { margin: 4px 0 6px; }
.contact-item p { margin: 0; font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.notfound .big { font-family: var(--cb-font-head); font-size: 300px; font-weight: 900; line-height: 1em; color: var(--cb-red); }
.notfound h1 { font-size: 52px; margin-bottom: 16px; }
@media (max-width: 767.98px) { .notfound .big { font-size: 150px; } .notfound h1 { font-size: 34px; } }

/* ---------- Footer ---------- */
.cb-footer {
    position: relative;
    background: url(../images/educator-img012.jpg) center / cover no-repeat;
    color: var(--cb-border);
    padding-top: 80px;
}
.cb-footer::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .92); }
.cb-footer .container { position: relative; z-index: 1; }
.newsletter {
    background: linear-gradient(90deg, var(--cb-red-dark), var(--cb-red));
    border-radius: var(--cb-radius);
    padding: 40px 45px;
    margin-bottom: 70px;
}
.newsletter .sub { color: rgba(255, 255, 255, .8); font-family: var(--cb-font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.newsletter h4 { color: var(--cb-white); margin: 6px 0 10px; }
.newsletter p { color: rgba(255, 255, 255, .85); margin: 0; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; border: 0; border-radius: 25px; padding: 14px 22px; outline: none; min-width: 0; }
.newsletter .form-success { background: rgba(255, 255, 255, .95); }
.cb-footer .f-logo { height: 90px; margin-bottom: 20px; }
.cb-footer h6 { color: var(--cb-white); font-size: 18px; margin-bottom: 22px; }
.cb-footer ul.links { list-style: none; padding: 0; margin: 0; }
.cb-footer ul.links li { margin-bottom: 10px; }
.cb-footer ul.links a { color: var(--cb-border); }
.cb-footer ul.links a:hover { color: var(--cb-red); padding-left: 4px; }
.cb-footer ul.links a { transition: color .3s, padding .3s; }
.cb-footer .hours i { color: var(--cb-red); margin-right: 8px; }
.cb-footer .round-social a { background: rgba(255, 255, 255, .1); }
.cb-footer .round-social a:hover { background: var(--cb-red); }
.cb-footer .round-social { justify-content: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 60px; padding: 22px 0; font-size: 13px; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 0; flex-wrap: wrap; }
.footer-bottom li a { color: var(--cb-border); padding: 0 12px; text-transform: uppercase; font-size: 12px; }
.footer-bottom li + li a { border-left: 1px solid rgba(255, 255, 255, .25); }
.footer-bottom li a:hover { color: var(--cb-red); }
@media (max-width: 767.98px) {
    .newsletter form { flex-direction: column; }
    .footer-bottom ul { justify-content: flex-start; margin-top: 10px; }
    .footer-bottom li:first-child a { padding-left: 0; }
}

/* ---------- Enquiry popup ---------- */
.enquiry-modal .modal-content { background: var(--cb-black); border: 0; border-radius: 0; padding: 40px 30px; }
.enquiry-modal .modal-title {
    font-family: "Alfa Slab One", serif;
    font-size: 28px;
    line-height: 41px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cb-white);
    text-align: center;
    width: 100%;
    margin-bottom: 25px;
}
.enquiry-modal .btn-close { position: absolute; top: 14px; right: 14px; filter: invert(1); opacity: 1; }
.enquiry-modal .form-control, .enquiry-modal .form-select { border-radius: 0; border: 1px solid #183C51; font-size: 16px; padding: 12px 16px; margin-bottom: 14px; }
.enquiry-modal .btn-submit {
    width: 100%;
    background: #F90202;
    color: var(--cb-white);
    border: 0;
    border-radius: 0;
    padding: 19px 40px;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.enquiry-modal .btn-submit:hover { background: #060606; outline: 1px solid #333; }
.video-modal .modal-content { background: #000; border: 0; }
.video-modal .ratio iframe { border: 0; }

/* ---------- Floating buttons ---------- */
.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cb-red);
    color: var(--cb-white);
    border: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 1040;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--cb-black); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive typography ---------- */
@media (max-width: 1024px) {
    h1 { font-size: 48px; }
    h3 { font-size: 36px; }
    .section { padding: 80px 0; }
}
@media (max-width: 767.98px) {
    h1 { font-size: 38px; }
    h3 { font-size: 30px; }
    h4 { font-size: 24px; }
    h5 { font-size: 20px; }
    .section { padding: 60px 0; }
    .page-banner { padding: 100px 0 90px; }
    .hero { padding-top: 60px; }
    .hero-text { padding-bottom: 40px; }
    .counter .num { font-size: 44px; }
    .form-card { padding: 28px 22px; }
    .newsletter { padding: 30px 24px; }
}
