/* ==========================================================================
   CLUE Courses – Modern Theme (layer on top of style.css)
   Added 2026-10-19. To go back to the old design, remove the single
   <link ... modern-theme.css> line from include/header.php.
   Palette: ICU ink #0F2B3D, clinical teal #0E7C7B, teal light #E6F2F2,
            monitor amber #F4A23B, surface #F4F8F9, line #DCE7EA
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap');

:root {
  --mt-ink: #0F2B3D;
  --mt-teal: #0E7C7B;
  --mt-teal-2: #12968F;
  --mt-teal-deep: #0A5C63;
  --mt-teal-light: #E6F2F2;
  --mt-amber: #F4A23B;
  --mt-surface: #F4F8F9;
  --mt-line: #DCE7EA;
  --mt-shadow: 0 1px 0 rgba(15, 43, 61, .04), 0 18px 34px -22px rgba(15, 43, 61, .45);

  --color-primary: #0E7C7B;
  --color-secondary: #12968F;
  --color-heading: #0F2B3D;
  --color-body: #4A5D6B;
  --color-darker: #0F2B3D;
  --color-dark: #12344A;
  --color-border: #DCE7EA;
  --color-light: #F4F8F9;
  --color-lighter: #F4F8F9;
  --color-extra2: #F4F8F9;
  --color-primary-light: #E6F2F2;
  --color-primary-lighter: #E6F2F2;
}

/* ---------- Type ---------- */
body { color: var(--color-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .rbt-title-style-3 {
  font-family: 'Manrope', var(--font-primary, 'Euclid Circular A'), sans-serif;
  letter-spacing: -0.02em;
  color: var(--mt-ink);
}
.rbt-banner-area .title { font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
p { line-height: 1.7; }
::selection { background: var(--mt-teal); color: #fff; }

/* ---------- Header ---------- */
.rbt-header-top { background: var(--mt-ink) !important; }
.rbt-header-top .news-text.rbt-badge { background: var(--mt-amber) !important; color: var(--mt-ink) !important; }
.rbt-header-top .news-text.rbt-badge a { color: var(--mt-ink) !important; font-weight: 600; }
.rbt-header-wrapper {
  background: rgba(255, 255, 255, .9) !important;
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--mt-line);
}
.mainmenu-nav .mainmenu > li > a { font-weight: 600; color: var(--mt-ink); }
.mainmenu-nav .mainmenu > li > a:hover { color: var(--mt-teal); }

/* Course rail (the former orange strip) */
div#categories-tab-slider {
  background: linear-gradient(90deg, var(--mt-teal-deep), var(--mt-teal) 55%, var(--mt-teal-2)) !important;
  padding: 6px 0;
}
#categories-tab-slider .item a,
#categories-tab-slider .categories-tab-dtl a {
  display: inline-block !important;
  margin: 4px 6px;
  padding: 8px 16px !important;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff !important;
  transition: background-color .2s ease, color .2s ease;
}
#categories-tab-slider .item a:hover,
#categories-tab-slider .categories-tab-dtl a:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff !important;
}
#categories-tab-slider .item a i { color: var(--mt-amber); }

/* ---------- Hero ---------- */
.rbt-banner-area {
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(14, 124, 123, .14), transparent 62%),
    radial-gradient(700px 420px at 5% 95%, rgba(244, 162, 59, .10), transparent 60%),
    var(--mt-surface) !important;
}
.rbt-banner-area .rbt-badge-group .rbt-badge,
.rbt-banner-area .rbt-new-badge {
  background: #fff;
  border: 1px solid var(--mt-line);
  box-shadow: var(--mt-shadow);
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.rbt-btn {
  border-radius: 999px !important;
  font-weight: 600;
  letter-spacing: .01em;
}
.rbt-btn.btn-gradient,
.btn-gradient {
  background-image: linear-gradient(to right, var(--mt-teal), var(--mt-teal-2), var(--mt-teal)) !important;
  background-size: 200% 100% !important;
  box-shadow: 0 10px 22px -12px rgba(14, 124, 123, .7);
  transition: background-position .35s ease, box-shadow .25s ease;
}
.rbt-btn.btn-gradient:hover,
.btn-gradient:hover { background-position: 100% 0 !important; box-shadow: 0 14px 26px -12px rgba(14, 124, 123, .8); }
.rbt-btn.btn-border { border-color: var(--mt-teal) !important; color: var(--mt-teal) !important; }
.rbt-btn.btn-border:hover { background: var(--mt-teal) !important; color: #fff !important; }

/* ---------- Section headings: ECG pulse underline ---------- */
.section-title .title::after,
.upcoming_meetings h4.title::after {
  content: "";
  display: block;
  width: 132px;
  height: 18px;
  margin-top: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='132' height='18' viewBox='0 0 132 18'><polyline fill='none' stroke='%230E7C7B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' points='1,10 40,10 47,10 52,3 58,16 63,1 68,13 72,10 131,10'/></svg>") no-repeat left center;
}
.section-title.text-center .title::after,
.text-center > .title::after { margin-left: auto; margin-right: auto; }
.upcoming_meetings h4.title a { color: var(--mt-ink); }

/* ---------- Section surfaces ---------- */
.bg-gradient-2 { background: linear-gradient(180deg, var(--mt-teal-light), #F6FAFA) !important; }
.bg-color-extra2 { background: var(--mt-surface) !important; }
.rbt-course-area.bg-color-extra2:nth-of-type(even) { background: #fff !important; }

/* ---------- Course cards ---------- */
.rbt-card {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid var(--mt-line);
  box-shadow: var(--mt-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rbt-card .rbt-card-img,
.rbt-card .rbt-card-img img,
.rbt-card .rbt-card-img a { border-radius: 0 !important; }
.rbt-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(15, 43, 61, .05), 0 26px 40px -24px rgba(15, 43, 61, .55); }
.custom-slide img {
  border-radius: 16px;
  box-shadow: var(--mt-shadow);
  border: 1px solid var(--mt-line);
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  width: 40px; height: 40px; border-radius: 50% !important;
  background: #fff !important; border: 1px solid var(--mt-line) !important;
  color: var(--mt-ink) !important; box-shadow: var(--mt-shadow);
}
.owl-carousel .owl-nav button:hover { background: var(--mt-teal) !important; color: #fff !important; }
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span { background: var(--mt-teal) !important; }

/* ---------- Course detail pages ---------- */
.rbt-breadcrumb-default,
.rbt-page-banner-wrapper .rbt-banner-image {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(14, 124, 123, .16), transparent 60%),
    var(--mt-surface) !important;
}
.rbt-breadcrumb-default .breadcrumb-image-container img,
.breadcrumb-image-container .breadcrumb-image-wrapper img { opacity: 0 !important; }
.course-sidebar,
.rbt-course-feature-box,
.rbt-team.team-style-default {
  border-radius: 18px !important;
  border: 1px solid var(--mt-line) !important;
  box-shadow: var(--mt-shadow) !important;
}
.rbt-badge-2, .rbt-badge-5 { border-radius: 999px !important; }
.rbt-badge-2 { background: #fff; border: 1px solid var(--mt-line); }
.rbt-feature-value.rbt-badge-5 { background: var(--mt-teal-light) !important; color: var(--mt-teal-deep) !important; font-weight: 600; }

/* ---------- Upcoming box & image cards ---------- */
.rbt-card.variation-01 { padding: 0 !important; }
.upcoming_meetings,
.rbt-splash-feature-box.upcoming_meetings {
  background: #fff !important;
  border: 1px solid var(--mt-line);
  border-radius: 22px;
  box-shadow: var(--mt-shadow);
}
.upcoming_meetings::before, .upcoming_meetings::after { display: none !important; }
.rbt-page-banner-wrapper { background: linear-gradient(180deg, var(--mt-teal-light), #fff) !important; }

/* ---------- Counters / milestones ---------- */
.rbt-counterup, .single-counter .inner { border-radius: 18px; }
.milestone_icon_top {
  background: rgba(10, 30, 44, .80) !important;
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--mt-amber);
  border-radius: 16px !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.milestone_icon_top h5 { color: var(--mt-amber) !important; font-size: 32px !important; font-weight: 800; letter-spacing: -0.02em; }
.milestone_icon_top p, .milestone_icon_top span, .milestone_icon_top h6 { color: #E3EDF0 !important; }

/* ---------- Footer ---------- */
footer, .rbt-footer, .footer-style-1, .rbt-separator-mid ~ .copyright-area, .copyright-area {
  background: var(--mt-ink) !important;
  color: #B9CAD2;
}
footer .title, .rbt-footer .title, footer h5, footer h4 { color: #fff !important; }
footer a, .rbt-footer a, .copyright-area a { color: #CFDDE3 !important; }
footer a:hover, .rbt-footer a:hover, .copyright-area a:hover { color: var(--mt-amber) !important; }
footer p, .rbt-footer p, .copyright-area p { color: #B9CAD2 !important; }
footer li, footer span, footer address, footer .rbt-information-list li, footer .rbt-information-list li a { color: #C3D3DA !important; }

/* Floating widgets */
#visitor-counter { background: var(--mt-ink) !important; border-radius: 14px !important; box-shadow: var(--mt-shadow); }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, .rbt-btn:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--mt-amber) !important;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .rbt-card, .rbt-card:hover, .rbt-btn { transition: none !important; transform: none !important; }
}
@media (max-width: 767px) {
  #categories-tab-slider .item a, #categories-tab-slider .categories-tab-dtl a { padding: 6px 12px !important; font-size: 13px; }
  .section-title .title::after, .upcoming_meetings h4.title::after { width: 100px; background-size: 100px 14px; }
}
/* ---------- Course page fixes ---------- */
.rbt-breadcrumb-default .breadcrumb-inner img { opacity: 0 !important; }
.course-sidebar.rbt-gradient-border, .rbt-gradient-border { background: #fff !important; background-image: none !important; }
.course-sidebar .video-popup-with-text::before { background: none !important; opacity: 0 !important; }

/* ==========================================================================
   v2 – Layout polish (2026-10-19): one spacing scale, aligned grids,
   equal-height tiles, consistent surfaces. CSS only – no content changes.
   ========================================================================== */
:root { --mt-sec: 88px; --mt-sec-sm: 56px; --mt-r: 16px; }
.top-circle-shape, .rbt-course-block .top-circle-shape { display: none !important; }

/* ---- Homepage section rhythm + surfaces (scoped to the homepage) ---- */
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(n+3):nth-child(-n+9),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(12),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(n+17):nth-child(-n+21) {
  padding-top: var(--mt-sec) !important; padding-bottom: var(--mt-sec) !important; margin-top: 0 !important;
}
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(4) .rbt-section-gapBottom { padding-bottom: 0 !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(3) { padding-top: 64px !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(12) { padding-bottom: 48px !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) { margin-top: 0 !important; padding-bottom: var(--mt-sec) !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(14) { padding-top: 96px !important; padding-bottom: 96px !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(3),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(5),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(7),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(9),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(12),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(17),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(19) { background: #fff !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(4),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(6),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(8),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(18),
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(20) { background: var(--mt-surface) !important; background-image: none !important; }

/* Page-banner + overlapping grid pairs (Past Courses, Gallery, inner pages) */
.rbt-page-banner-wrapper { padding-top: var(--mt-sec) !important; }
.rbt-page-banner-wrapper,
.rbt-page-banner-wrapper .rbt-banner-image,
.rbt-section-overlayping-top { background: var(--mt-teal-light) !important; background-image: none !important; }
.rbt-section-overlayping-top { padding-bottom: var(--mt-sec) !important; }

/* Section headings: the same ECG mark everywhere */
.rbt-page-banner-wrapper .title::after,
.rbt-banner-content-top .title::after {
  content: ""; display: block; width: 132px; height: 18px; margin-top: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='132' height='18' viewBox='0 0 132 18'><polyline fill='none' stroke='%230E7C7B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' points='1,10 40,10 47,10 52,3 58,16 63,1 68,13 72,10 131,10'/></svg>") no-repeat left center;
}
.section-title .title, .upcoming_meetings h4.title { margin-bottom: 0 !important; }
.section-title .description { margin-top: 16px; }

/* ---- Upcoming + Course Books: same grid edges as every other section ---- */
.rbt-categories-area .row.g-5:has(> .upcoming_meetings) { margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; }
.upcoming_meetings,
.rbt-splash-feature-box.upcoming_meetings {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0 !important; margin: 0 !important; width: 100% !important;
}
.upcoming_meetings > .row { margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; }
.upcoming_meetings > .row > * { padding-left: 0 !important; padding-right: 0 !important; margin-top: 0 !important; }
.upcoming_meetings > .row:first-child { margin-bottom: 40px !important; }
.upcoming_meetings h4.title { font-size: 40px; line-height: 1.2; font-weight: 700; }
.upcoming_meetings .owl-carousel .owl-stage-outer { overflow: hidden; padding: 4px 0 28px; margin: -4px 0 -28px; }
.owl-carousel .owl-nav { display: flex; gap: 10px; justify-content: flex-start; margin-top: 24px !important; }
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next { margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; }

/* Online (slick) slider: card width = offline grid width */
.custom-slider .slick-list { margin: 0 -10px; padding: 4px 0 28px !important; }
.custom-slider .slick-slide { padding: 0 10px !important; }
.custom-slider .custom-slide img { width: 100% !important; height: auto; display: block; }
.custom-slider .slick-dots { position: static; margin-top: 8px; }
.rbt-card .rbt-card-img img, .custom-slide img { width: 100%; height: auto; display: block; aspect-ratio: 710 / 787; object-fit: cover; }

/* ---- "Host a course" bar ---- */
.rbt-course-block.bg-primary-opacity {
  background: #fff !important; border: 1px solid var(--mt-line); border-radius: 20px !important;
  box-shadow: var(--mt-shadow); padding: 28px 40px !important;
}
.rbt-course-block .row > [style*="border-right"] { border-right: 1px solid var(--mt-line) !important; }
.rbt-course-block h5 { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; }
.rbt-course-block .rbt-btn { min-width: 200px; }

/* ---- About block button ---- */
.rbt-moderbt-btn {
  display: inline-flex !important; align-items: center; gap: 10px;
  height: 52px; padding: 0 28px !important; border-radius: 999px;
  border: 1.5px solid var(--mt-teal); color: var(--mt-teal) !important; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.rbt-moderbt-btn::before, .rbt-moderbt-btn::after { display: none !important; }
.rbt-moderbt-btn .moderbt-btn-text { color: inherit !important; padding: 0 !important; }
.rbt-moderbt-btn i { color: inherit !important; margin: 0 !important; position: static !important; }
.rbt-moderbt-btn:hover { background: var(--mt-teal); color: #fff !important; }

/* ---- Recent courses + totals ---- */
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .rbt-course-block {
  background: #fff !important; border: 1px solid var(--mt-line); border-radius: 20px !important;
  box-shadow: var(--mt-shadow); padding: 40px !important;
}
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row { align-items: stretch !important; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div + div {
  display: flex; align-items: center; justify-content: center; text-align: center; border-left: 1px solid var(--mt-line);
}
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div + div p { margin: 0; font-size: 15px; color: var(--color-body); }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div + div b {
  display: inline-block; font-family: 'Manrope', sans-serif; font-size: 56px; line-height: 1; font-weight: 800;
  color: var(--mt-teal); letter-spacing: -0.03em; margin-bottom: 4px;
}
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div:first-child p { margin: 0; line-height: 2; }
main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div:first-child p:first-child { margin-bottom: 8px; font-size: 18px; color: var(--mt-ink); }

/* ---- Milestones: equal tiles ---- */
.milestone_icon_top { height: 100%; min-height: 200px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px !important; margin: 0 !important; }
*:has(> .milestone_icon_top) { display: flex; margin-bottom: 24px; }
*:has(> .milestone_icon_top) > .milestone_icon_top { flex: 1 1 auto; width: 100%; }

/* ---- Testimonials: equal heights, on-palette ---- */
.testimonial-item-3-activation .swiper-wrapper { align-items: stretch; }
.testimonial-item-3-activation .swiper-slide { height: auto !important; display: flex; }
.testimonial-item-3-activation .single-slide,
.rbt-testimonial-box, .rbt-testimonial-box .inner { height: 100%; width: 100%; }
.rbt-testimonial-box .inner {
  background: #fff !important; border: 1px solid var(--mt-line); border-radius: var(--mt-r) !important;
  box-shadow: var(--mt-shadow); padding: 32px !important; display: flex; flex-direction: column;
}
.rbt-testimonial-box .description { flex: 1; display: flex; flex-direction: column; }
.rbt-testimonial-box .description .rating { margin-top: auto !important; padding-top: 16px; }
.rbt-testimonial-box .clint-info-wrapper { margin-bottom: 20px; align-items: center; }
.rbt-testimonial-box .thumb img { background: var(--mt-teal-light); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--mt-teal-light); }

/* ---- Team cards ---- */
.rbt-team-area .row.g-5 > [class*="col-"] { display: flex; }
.rbt-team-tab-content {
  width: 100%; height: 100%; background: #fff !important; border: 1px solid var(--mt-line);
  border-radius: 20px !important; box-shadow: var(--mt-shadow); padding: 24px !important;
}
.rbt-team-tab-content .inner { display: flex !important; align-items: flex-start !important; gap: 28px; height: 100%; }
.rbt-team-tab-content .rbt-team-thumbnail { flex: 0 0 200px; max-width: 200px; margin: 0 !important; }
.rbt-team-tab-content .rbt-team-thumbnail .thumb img { width: 200px; height: 260px; object-fit: cover; border-radius: 12px; }
.rbt-team-tab-content .rbt-team-details { padding: 8px 0 0 !important; flex: 1; }
.rbt-team-tab-content .author-info .title { margin-bottom: 12px; }
.rbt-team-tab-content .designation { display: block; margin-bottom: 6px; color: var(--mt-teal-deep) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }

/* ---- Newsletter ---- */
.newsletter-form-1 { display: flex; align-items: center; max-width: 560px; margin-left: auto; margin-right: auto; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); }
.newsletter-form-1 input { flex: 1; height: 52px !important; border: 0 !important; border-radius: 999px !important; padding: 0 22px !important; background: transparent !important; min-width: 0; }
.newsletter-form-1 .rbt-btn { position: static !important; transform: none !important; height: 52px; line-height: 52px; margin: 0 !important; flex: none; }

/* ---- Small chrome on palette ---- */
.subtitle.bg-pink-opacity, .bg-pink-opacity, .color-pink { background: var(--mt-teal-light) !important; color: var(--mt-teal-deep) !important; }
#enquiryBtn { background: var(--mt-ink) !important; border-color: var(--mt-ink) !important; color: #fff !important; border-radius: 0 10px 10px 0 !important; box-shadow: var(--mt-shadow); }
#enquiryBtn:hover { background: var(--mt-teal) !important; }

/* ---- Mobile ---- */
@media (max-width: 991px) {
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(n+3):nth-child(-n+9),
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(12),
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(n+17):nth-child(-n+21),
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(14) { padding-top: var(--mt-sec-sm) !important; padding-bottom: var(--mt-sec-sm) !important; }
  .rbt-page-banner-wrapper { padding-top: var(--mt-sec-sm) !important; }
  .rbt-section-overlayping-top { padding-bottom: var(--mt-sec-sm) !important; }
  .rbt-course-block .row > [style*="border-right"] { border-right: 0 !important; }
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .row > div + div { border-left: 0; border-top: 1px solid var(--mt-line); padding-top: 20px; }
  .rbt-team-tab-content .inner { flex-direction: column; }
}
@media (max-width: 767px) {
  .upcoming_meetings h4.title { font-size: 28px; }
  .rbt-course-block.bg-primary-opacity { padding: 24px !important; }
  .rbt-course-block .row > * { text-align: center !important; }
  main.rbt-main-wrapper:has(#course-slider-upcoming) > :nth-child(13) .rbt-course-block { padding: 24px !important; }
  #enquiryBtn { transform: scale(.82); transform-origin: left center; }
  #visitor-counter { transform: scale(.8); transform-origin: left bottom; }
  .newsletter-form-1 { flex-direction: column; border-radius: 20px; gap: 6px; }
  .newsletter-form-1 input, .newsletter-form-1 .rbt-btn { width: 100%; }
}

/* ---- One card grid everywhere: 4 cards, 20px gaps, flush with the container ---- */
#course-slider-upcoming .rbt-card { margin-right: 0 !important; }
#course-slider-offline, #course-slider-mock, #course-slider-hybrid, #course-slider { width: calc(100% + 20px) !important; max-width: none !important; }
#course-slider-offline .rbt-card, #course-slider-mock .rbt-card, #course-slider-hybrid .rbt-card, #course-slider .rbt-card { margin-right: 20px !important; }
.rbt-course-area, .rbt-categories-area, .rbt-service-area { overflow-x: clip; }
.rbt-course-grid-column { margin: -24px -10px 0 !important; }
.rbt-course-grid-column > .course-grid-4 { padding: 0 10px !important; margin-top: 24px !important; }
.rbt-course-grid-column .rbt-card { margin-right: 0 !important; }

/* Milestones: true equal-size grid */
.row:has(> * > .milestone_icon_top) { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; margin: 0 !important; align-items: stretch !important; }
.row:has(> * > .milestone_icon_top) > * { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.milestone_icon_top { min-height: 0; }
@media (max-width: 767px) { .row:has(> * > .milestone_icon_top) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .milestone_icon_top h5 { font-size: 26px !important; } }
.custom-slide img { box-sizing: border-box; }
.milestone_icon_top { justify-content: flex-start !important; padding-top: 28px !important; }

@media (max-width: 767px) {
  #enquiryBtn { transform: none !important; left: 0 !important; right: auto !important; top: auto !important; bottom: 84px !important; width: auto !important; height: auto !important; padding: 10px 16px !important; font-size: 13px !important; line-height: 1.2 !important; writing-mode: horizontal-tb !important; }
  main.rbt-main-wrapper > .social-icons { display: none !important; }
  .milestone_icon_top { padding: 20px 10px !important; }
  .milestone_icon_top p, .milestone_icon_top span, .milestone_icon_top h6 { font-size: 14px !important; line-height: 1.4 !important; }
}

@media (max-width: 991px) {
  .rbt-team-tab-content .rbt-team-thumbnail { flex: none; max-width: 100%; width: 100%; }
  .rbt-team-tab-content .rbt-team-thumbnail .thumb img { width: 100%; height: 320px; object-position: center 20%; }
}

/* All section eyebrow badges in one colour */
.section-title .subtitle, .subtitle[class*="-opacity"] { background: var(--mt-teal-light) !important; color: var(--mt-teal-deep) !important; border-radius: 999px !important; }
.rbt-newsletter-area .section-title .subtitle { background: rgba(255,255,255,.16) !important; color: #fff !important; }

/* ==========================================================================
   v3 (2026-10-19 evening): accent change, milestone colours + count-up,
   recent-courses layout, uniform course rail, small fixes.
   ========================================================================== */
:root { --mt-amber: #5EEAD4; --mt-accent: #5EEAD4; }
.rbt-header-top .news-text.rbt-badge { background: var(--mt-accent) !important; }
footer a:hover, .rbt-footer a:hover, .copyright-area a:hover { color: var(--mt-accent) !important; }

/* Carousel arrows removed (no other section uses them) */
#course-slider-upcoming .owl-nav, #course-slider-offline .owl-nav, #course-slider-mock .owl-nav,
#course-slider-hybrid .owl-nav, #course-slider .owl-nav { display: none !important; }

/* Course rail: one layout on every page */
#categories-tab-slider:not(.mt-rail) { visibility: hidden; height: 52px; overflow: hidden; }
#categories-tab-slider.mt-rail { padding: 0 !important; overflow: hidden; height: 52px; }
.mt-rail-track { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 52px; max-width: 1320px; margin: 0 auto; padding: 0 12px; }
.mt-rail-track.is-marquee { justify-content: flex-start; max-width: none; width: max-content; padding: 0; gap: 0; animation: mtRail 40s linear infinite; }
.mt-rail:hover .mt-rail-track.is-marquee { animation-play-state: paused; }
.mt-rail-track.is-marquee .mt-rail-item { padding: 0 14px; }
@keyframes mtRail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mt-rail-item { flex: none; white-space: nowrap; }
#categories-tab-slider .mt-rail-item a { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 16px !important; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff !important; text-decoration: none; transition: background-color .2s ease; }
#categories-tab-slider .mt-rail-item a:hover { background: rgba(255, 255, 255, .16); }
#categories-tab-slider .mt-rail-item a i, #categories-tab-slider .mt-rail-item a img { color: var(--mt-accent) !important; margin: 0 !important; }
@media (prefers-reduced-motion: reduce) { .mt-rail-track.is-marquee { animation: none; overflow-x: auto; } }

/* Floating social buttons: icons dead-centre */
main.rbt-main-wrapper > .social-icons a, body .social-icons a {
  display: flex !important; align-items: center; justify-content: center;
  width: 36px !important; height: 36px !important; padding: 0 !important; line-height: 1 !important;
  border-radius: 50% !important; text-align: center; box-shadow: 0 6px 14px -6px rgba(15, 43, 61, .5);
}
main.rbt-main-wrapper > .social-icons a i, body .social-icons a i { line-height: 1 !important; margin: 0 !important; font-size: 15px; display: block; }

/* "Learn More About Us": proper filled button */
.rbt-moderbt-btn {
  height: 52px; padding: 0 30px !important; border: 0 !important; color: #fff !important;
  background-image: linear-gradient(to right, var(--mt-teal), var(--mt-teal-2), var(--mt-teal)) !important;
  background-size: 200% 100% !important; box-shadow: 0 10px 22px -12px rgba(14, 124, 123, .7);
  transition: background-position .35s ease, box-shadow .25s ease !important;
}
.rbt-moderbt-btn:hover { background-position: 100% 0 !important; color: #fff !important; box-shadow: 0 14px 26px -12px rgba(14, 124, 123, .8); }
.rbt-moderbt-btn i { transition: transform .2s ease; }
.rbt-moderbt-btn:hover i { transform: translateX(3px); }

/* Recent courses: list on top, two equal stat cards below */
.mt-recent { display: grid; gap: 24px; }
.mt-recent-list { background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; box-shadow: var(--mt-shadow); padding: 32px 36px; }
.mt-recent-title { font-size: 22px; margin: 0 0 18px !important; }
.mt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-chips li { margin: 0 !important; padding: 9px 18px; border-radius: 999px; background: var(--mt-teal-light); color: var(--mt-teal-deep); font-size: 15px; font-weight: 500; line-height: 1.3; border: 1px solid rgba(14, 124, 123, .14); }
.mt-recent-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mt-stat { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 24px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--mt-teal-deep), var(--mt-teal) 60%, var(--mt-teal-2)); box-shadow: 0 22px 40px -26px rgba(10, 92, 99, .9); }
.mt-stat + .mt-stat { background: linear-gradient(135deg, var(--mt-ink), #16476A 60%, #1E63B5); box-shadow: 0 22px 40px -26px rgba(15, 43, 61, .9); }
.mt-stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .07); }
.mt-stat-num { font-family: 'Manrope', sans-serif; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.mt-stat-label { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .85); }
@media (max-width: 767px) {
  .mt-recent-list { padding: 24px 20px; }
  .mt-recent-stats { grid-template-columns: 1fr; gap: 16px; }
  .mt-stat-num { font-size: 48px; }
  .mt-chips li { font-size: 14px; padding: 8px 14px; }
}

/* Milestones: a colour per tile */
.milestone_icon_top { --acc: #2DD4BF; position: relative; overflow: hidden; border-top: 0 !important; transition: transform .25s ease, box-shadow .25s ease; }
.milestone_icon_top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--acc), rgba(255, 255, 255, .0)); }
.milestone_icon_top::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(closest-side, var(--acc), transparent); opacity: .18; pointer-events: none; }
.milestone_icon_top > p:first-child { width: 52px; height: 52px; margin: 0 auto 14px !important; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--acc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); }
.milestone_icon_top > p:first-child img { width: 26px; height: auto; margin: 0 !important; }
.milestone_icon_top h5 { color: var(--acc) !important; margin: 6px 0 !important; }
.milestone_icon_top:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -24px color-mix(in srgb, var(--acc) 70%, #000); }
.milestone_icon_top.mile_1 { --acc: #2DD4BF; }
.milestone_icon_top.mile_2 { --acc: #38BDF8; }
.milestone_icon_top.mile_3 { --acc: #A78BFA; }
.milestone_icon_top.mile_4 { --acc: #F472B6; }
.milestone_icon_top.mile_5 { --acc: #34D399; }
.milestone_icon_top.mile_6 { --acc: #60A5FA; }
.milestone_icon_top.mile_7 { --acc: #FB7185; }
.milestone_icon_top.mile_8 { --acc: #22D3EE; }
@media (prefers-reduced-motion: reduce) { .milestone_icon_top, .milestone_icon_top:hover { transition: none; transform: none; } }

.milestone_icon_top > p:nth-of-type(2) { min-height: 3em; display: flex; align-items: center; justify-content: center; margin: 0 !important; line-height: 1.5 !important; }

/* v4: card depth, top-bar separator, avatars */
.rbt-header-top .rbt-separator { display: none !important; }
.rbt-card, .custom-slide img {
  box-shadow: 0 1px 2px rgba(15, 43, 61, .06), 0 8px 16px -6px rgba(15, 43, 61, .12), 0 26px 44px -20px rgba(15, 43, 61, .38) !important;
  border-color: rgba(15, 43, 61, .08) !important;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease !important;
}
.rbt-card:hover, .custom-slide:hover img {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(15, 43, 61, .08), 0 16px 28px -10px rgba(15, 43, 61, .20), 0 40px 64px -26px rgba(14, 92, 99, .55) !important;
}
.owl-carousel .owl-stage-outer { padding: 10px 0 48px !important; margin: -10px 0 -48px !important; }
.custom-slider .slick-list { padding: 10px 0 48px !important; margin-top: -10px !important; margin-bottom: -20px !important; }
.rbt-course-grid-column .rbt-card { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .rbt-card:hover, .custom-slide:hover img { transform: none; } }
.rbt-testimonial-box .thumb img, img[src*="default-avatar"] { object-fit: cover; background: #D8DADF; }