/* Parent-trust panel: scannable proof points while retaining the MQube palette. */
.trust-card {
  display: flex;
  min-height: 455px;
  flex-direction: column;
  padding: 1.55rem;
  border: 1px solid #cce8f3;
  box-shadow: 0 8px 20px rgba(31, 99, 132, .1);
  transition: box-shadow .25s ease, transform .25s ease;
}

.trust-card:hover {
  box-shadow: 0 12px 26px rgba(31, 99, 132, .16);
  transform: translateY(-3px);
}

.trust-card h2 {
  margin-bottom: 1rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-bottom: 1.1rem;
}

.trust-stat {
  min-width: 0;
  padding: .6rem .35rem;
  border: 1px solid rgba(8, 170, 165, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.trust-stat strong,
.trust-stat span {
  display: block;
}

.trust-stat strong {
  color: var(--navy);
  font-size: .76rem;
  line-height: 1.15;
}

.trust-stat span {
  margin-top: .18rem;
  color: #315575;
  font-size: .63rem;
  font-weight: 800;
  line-height: 1.15;
}

.trust-card .trust-points {
  display: grid;
  gap: .8rem;
  margin: 0;
}

.trust-card .trust-points li {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  align-items: start;
  gap: .55rem;
  margin: 0;
  color: var(--navy);
  font-size: .84rem;
  line-height: 1.35;
}

.trust-card .trust-points li::before {
  content: none;
}

.trust-points li > i {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: #11aea9;
  color: #fff;
  font-size: .82rem;
}

@media (max-width: 575.98px) {
  .trust-card {
    min-height: 0;
    padding: 1.3rem 1.1rem;
  }

  .trust-stats {
    grid-template-columns: 1fr;
    gap: .4rem;
  }

  .trust-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .7rem;
    text-align: left;
  }

  .trust-stat span {
    margin: 0;
    text-align: right;
  }

  .trust-card .trust-points {
    gap: .72rem;
  }
}


/* Full-bleed online learning video hero. */
.hero-video-banner {
  min-height: 645px;
  isolation: isolate;
  background: #e6f8ff url("../images/banner/1-Celebrating\ Excellence\ in\ Education.png") center / cover no-repeat;
}

.hero-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* .hero-video {
  z-index: -2;
  background: url("../media/mqube-women-educator-hero.jpg") center / cover no-repeat;
} */

.hero-video-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgb(241 251 255 / 23%) 0%, rgb(229 248 255 / 61%) 48%, rgb(219 245 251 / 5%) 100%);
}

.hero-video-banner .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .hero-video-banner {
    min-height: auto;
  }

  .hero-video {
    background-position: 62% center;
  }
}

@media (max-width: 575.98px) {
  .hero-video-banner {
    min-height: auto;
  }

  .hero-video {
    background-position: 68% center;
  }

  .hero-video-overlay {
    background: linear-gradient(90deg, rgba(241, 251, 255, .95), rgba(228, 248, 255, .82));
  }
}

/* Explicit stacking keeps the video visible while all hero content stays readable. */
.hero-video {
  z-index: 0;
}

.hero-video-overlay,
.hero-video-banner::before {
  z-index: 1;
}

.hero-video-banner .container {
  z-index: 2;
}

/* Consistent flag-and-country treatment for parent testimonials. */
.quote-card .country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: .55rem;
  color: var(--navy);
  font-size: .83rem;
  font-weight: 800;
}

.quote-card .country img {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(9, 47, 102, .2);
}

.quote-card .stars {
  line-height: 1;
}

/* Fixed, quick contact actions that remain clear of page content and browser edges. */
.floating-contact {
  position: fixed;
  bottom: 1.5rem;
  z-index: 1035;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 5px 18px rgba(9, 47, 102, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(9, 47, 102, .36);
}

.floating-contact:focus-visible {
  outline: 3px solid #092f66;
  outline-offset: 3px;
}

.floating-whatsapp {
  left: 1.25rem;
  background: #25d366;
}

.floating-call {
  right: 1.25rem;
  background: linear-gradient(135deg, #08aaa5, #079de5);
}

/* The reveal class is assigned by JavaScript only to meaningful page content. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Official MQube brand mark in the site header. */
.navbar-brand .mqube-logo {
  display: block;
  width: min(198px, 48vw);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .navbar-brand .mqube-logo {
    width: 160px;
    max-height: 42px;
  }

  .floating-contact {
    bottom: 1rem;
    width: 3.15rem;
    height: 3.15rem;
    font-size: 1.35rem;
  }

  .floating-whatsapp {
    left: .75rem;
  }

  .floating-call {
    right: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* MQube refresh: banner carousel, services, founder, video stories and right-side quick menu. */
:root {
  --navy: #092f66;
  --ink: #12345e;
  --blue: #079df0;
  --teal: #05afa9;
  --pale: #effaff;
  --line: #d6eaf5;
  --mqube-yellow: #ffd54a;
}
html { scroll-padding-top: 88px; }
body { padding-top: 0; }
.hero-carousel-section { /*padding-top: 76px;*/ background: #f2faff; }
.hero-carousel-section .carousel-item { height: clamp(430px, 36.46vw, 700px); min-height: 430px; position: relative; overflow: hidden; background: #eef8ff; }
.hero-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.32) 62%, rgba(255,255,255,.02) 100%); }
.hero-banner-content { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 2rem; padding-bottom: 3.5rem; }
.hero-banner-content .eyebrow { color: #087dba; letter-spacing: .13em; margin-bottom: 1rem; }
.hero-banner-content h1, .hero-banner-content h2 { max-width: 680px; color: var(--navy); font-size: clamp(2.2rem, 4.1vw, 4.4rem); line-height: 1.06; font-weight: 900; margin-bottom: 1.1rem; }
.hero-banner-content h1 em, .hero-banner-content h2 em { color: #078fc9; font-style: normal; }
.hero-banner-content > p:not(.eyebrow) { max-width: 560px; font-size: clamp(1rem, 1.35vw, 1.2rem); color: #274968; margin-bottom: 1.5rem; }
.hero-banner-content .btn-outline-brand { border-color: #087fc0; }
.hero-carousel-section .carousel-control-prev, .hero-carousel-section .carousel-control-next { width: 7%; z-index: 4; }
.hero-carousel-section .carousel-control-prev-icon, .hero-carousel-section .carousel-control-next-icon { background-color: rgba(9,47,102,.72); border-radius: 50%; background-size: 48%; width: 2.7rem; height: 2.7rem; }
.hero-carousel-section .carousel-indicators { z-index: 5; margin-bottom: 1.2rem; }
.hero-carousel-section .carousel-indicators [data-bs-target] { width: 28px; height: 5px; border: 0; border-radius: 10px; background-color: #0a8fd0; }
.hero-proof-row { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 4rem); padding: 1.2rem 0; flex-wrap: wrap; }
.hero-proof-row > div { display: flex; align-items: center; gap: .65rem; color: #345572; font-size: .9rem; }
.hero-proof-row i { color: #079fd1; font-size: 1.5rem; }
.hero-proof-row strong { color: var(--navy); margin-right: .25rem; }
.services-section { background: linear-gradient(180deg, #f5fbff 0%, #fff 100%); }
.section-heading { max-width: 760px; }
.section-heading h2 { margin-bottom: .8rem; }
.section-heading .lead { color: #56718b; }
.service-card { padding: 1.7rem; border: 1px solid #dcebf5; border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(9,47,102,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #8dd8ef; box-shadow: 0 16px 32px rgba(9,47,102,.11); }
.service-icon { width: 3.2rem; height: 3.2rem; display: inline-grid; place-items: center; margin-bottom: 1.1rem; border-radius: 14px; background: #e8f8ff; color: #087fbe; font-size: 1.45rem; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .65rem; }
.service-card p { color: #58718a; margin-bottom: 1.1rem; }
.service-card a { color: #087fbe; font-weight: 800; }
.about-highlights { display: grid; gap: .65rem; margin-top: 1.2rem; }
.about-highlights span { display: flex; gap: .6rem; align-items: flex-start; color: #294f70; font-weight: 700; }
.about-highlights i { color: #08a6a4; }
.founder-profile { overflow: hidden; padding: 1rem; border-radius: 22px; background: linear-gradient(145deg, #f2fbff, #fff 70%); border: 1px solid #d8edf7; box-shadow: 0 12px 32px rgba(9,47,102,.09); }
.founder-profile > .section-kicker { margin: .5rem .5rem 1rem; }
.founder-profile > img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center top; border-radius: 16px; }
.founder-caption { padding: 1.1rem .45rem .3rem; }
.founder-caption > span { color: #078fc9; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.founder-caption h3 { font-size: 1.2rem; margin: .35rem 0; }
.founder-caption p { margin: 0; color: #61788e; font-size: .9rem; }
.video-testimonial-carousel { max-width: 940px; margin: 0 auto; }
.video-testimonial-card { width: min(100%, 760px); padding: 1rem; border: 1px solid #d8eaf5; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(9,47,102,.1); }
.testimonial-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 65vh; object-fit: contain; border-radius: 12px; background: #07172b; }
.video-label { margin: .85rem .2rem .1rem; color: var(--navy); font-weight: 800; text-align: center; }
.video-label i { color: #079fd1; margin-right: .35rem; }
.video-testimonial-carousel .carousel-control-prev, .video-testimonial-carousel .carousel-control-next { width: 9%; }
.video-testimonial-carousel .carousel-control-prev-icon, .video-testimonial-carousel .carousel-control-next-icon { background-color: #0a568c; border-radius: 50%; background-size: 48%; width: 2.5rem; height: 2.5rem; }
.video-testimonial-carousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border: 0; border-radius: 50%; background-color: #0a91ca; }
.floating-side-menu { position: fixed; z-index: 1030; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .35rem; padding: .55rem; border: 1px solid rgba(9,47,102,.1); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(9,47,102,.17); backdrop-filter: blur(12px); }
.floating-side-menu a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; overflow: hidden; border-radius: 12px; color: var(--navy); white-space: nowrap; transition: background .22s ease, color .22s ease, transform .22s ease; }
.floating-side-menu a i { display: block; flex: 0 0 auto; text-align: center; font-size: 1.15rem; line-height: 1; }
.floating-side-menu a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.floating-side-menu a:hover, .floating-side-menu a:focus-visible, .floating-side-menu a.is-active { color: #073c72; background: #e9f8ff; outline: none; transform: translateX(-2px); }
.floating-side-menu a.is-active { box-shadow: inset 3px 0 #ffd54a; }
@media (max-width: 991.98px) {
  .hero-carousel-section { padding-top: 70px; }
  .hero-carousel-section .carousel-item { height: 500px; }
  .hero-banner-image { object-position: 60% center; }
  .hero-banner-shade { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.28) 100%); }
  .hero-banner-content { padding-left: 3.5rem; padding-right: 3.5rem; }
  .floating-side-menu { right: 8px; padding: .35rem; }
}
@media (max-width: 767.98px) {
  .hero-carousel-section .carousel-item { height: 500px; min-height: 0; }
  .hero-banner-image { object-position: 63% center; }
  .hero-banner-shade { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 58%, rgba(255,255,255,.58) 100%); }
  .hero-banner-content { padding: 1.5rem 3rem 2.6rem; }
  .hero-banner-content h1, .hero-banner-content h2 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-banner-content > p:not(.eyebrow) { font-size: .98rem; }
  .hero-banner-content .btn { font-size: .9rem; padding: .65rem .9rem; }
  .hero-proof-row { justify-content: flex-start; padding: 1rem 1.25rem; gap: .75rem 1.2rem; }
  .hero-proof-row > div { width: calc(50% - .7rem); font-size: .8rem; }
  .hero-proof-row i { font-size: 1.2rem; }
  .floating-side-menu { right: 6px; top: auto; bottom: 72px; transform: none; padding: .3rem; gap: .2rem; border-radius: 15px; }
  .floating-side-menu a { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .floating-side-menu a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .floating-side-menu a:hover, .floating-side-menu a:focus-visible, .floating-side-menu a.is-active { width: 38px; }
  .video-testimonial-card { padding: .55rem; border-radius: 15px; }
  .video-testimonial-carousel .carousel-control-prev, .video-testimonial-carousel .carousel-control-next { width: 10%; }
  .video-testimonial-carousel .carousel-control-prev-icon, .video-testimonial-carousel .carousel-control-next-icon { width: 2rem; height: 2rem; }
  .founder-profile { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 380px) {
  .hero-carousel-section .carousel-item { height: 520px; }
  .hero-banner-content { padding-left: 2.5rem; padding-right: 2.5rem; }
  .hero-banner-content h1, .hero-banner-content h2 { font-size: 1.85rem; }
  .hero-banner-content .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .floating-side-menu a { transition: none; }
}


/* Prominent, accessible video testimonials section */
.testimonials {
  scroll-margin-top: 92px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f9ff 0%, #ffffff 52%, #f4fbff 100%);
}
.testimonials::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  left: -190px; top: 12%;
  border-radius: 50%;
  background: rgba(255, 213, 74, .12);
  pointer-events: none;
}
.testimonial-section-heading { position: relative; z-index: 1; max-width: 760px; margin-left: auto; margin-right: auto; }
.testimonial-section-heading .section-kicker { color: #087fbe; font-weight: 900; letter-spacing: .12em; }
.testimonial-section-heading h2 { color: var(--navy); font-weight: 900; }
.testimonial-section-heading .lead { max-width: 650px; margin: .75rem auto 1rem; }
.testimonial-count { display: inline-flex; align-items: center; padding: .45rem .85rem; border-radius: 999px; background: #fff; border: 1px solid #d8eaf5; color: #174b7d; font-size: .86rem; font-weight: 800; box-shadow: 0 5px 16px rgba(9,47,102,.06); }
.video-testimonial-carousel { position: relative; z-index: 1; padding: 0 2.5rem .25rem; }
.video-testimonial-card { min-height: 100%; }
.testimonial-video { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.video-testimonial-carousel .carousel-indicators { position: static; display: flex; justify-content: center; gap: .35rem; margin: 1.2rem 0 0; }
.video-testimonial-carousel .carousel-indicators [data-bs-target] { opacity: .55; }
.video-testimonial-carousel .carousel-indicators .active { opacity: 1; background-color: #ffd54a; outline: 2px solid #0a568c; outline-offset: 2px; }
@media (max-width: 767.98px) {
  .video-testimonial-carousel { padding: 0 1.25rem .25rem; }
  .testimonial-section-heading .lead { font-size: .98rem; }
}


/* Contact section and supplied map image */
.contact-section { scroll-margin-top: 92px; background: linear-gradient(180deg, #f3faff 0%, #ffffff 100%); }
.contact-section .section-kicker { color: #087fbe; font-weight: 900; letter-spacing: .12em; }
.contact-section .section-title { color: var(--navy); font-weight: 900; }
.contact-intro { max-width: 680px; color: #5a6c80; }
.contact-details-card, .contact-map-card { overflow: hidden; border: 1px solid #dceaf4; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(9,47,102,.08); }
.contact-details-card { padding: clamp(1.25rem, 3vw, 2rem); }
.contact-details-card h3 { color: var(--navy); font-weight: 900; }
.contact-detail { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; color: inherit; text-decoration: none; min-width: 0; }
.contact-detail:last-of-type { margin-bottom: 1.1rem; }
.contact-detail-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #0b58bd; background: #eaf5ff; font-size: 1.05rem; }
.contact-detail small, .contact-detail strong { display: block; overflow-wrap: anywhere; }
.contact-detail small { color: #6b7c8f; margin-bottom: .15rem; }
.contact-detail strong { color: #103966; font-weight: 800; }
.contact-detail:hover strong { color: #087fbe; }
.contact-location-note { display: flex; align-items: flex-start; padding-top: 1rem; border-top: 1px solid #e7eef5; color: #536a81; font-size: .93rem; }
.contact-location-note i { color: #0b58bd; }
.contact-map-card { display: flex; flex-direction: column; }
.contact-map-image { display: block; width: 100%; flex: 1 1 auto; min-height: 260px; max-height: 430px; object-fit: contain; background: #fff; }
.contact-map-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: .95rem 1.15rem; border-top: 1px solid #e4edf5; color: #153c68; font-weight: 800; }
.contact-map-caption a { color: #0b58bd; text-decoration: none; font-weight: 800; }
.contact-map-caption a:hover { text-decoration: underline; }
@media (max-width: 575.98px) { .contact-map-image { min-height: 180px; } .contact-map-caption { align-items: flex-start; flex-direction: column; } }


/* Header social media icons replacing the former “Book a Call” button. */
.mqube-social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .6rem;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--navy, #092f66), #0756a8);
  flex-shrink: 0;
}
.mqube-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.mqube-social-link:hover,
.mqube-social-link:focus-visible {
  color: #092f66;
  background: #ffcf32;
  transform: translateY(-2px);
  outline: none;
}
.mqube-social-link:focus-visible { box-shadow: 0 0 0 3px rgba(255,207,50,.35); }
@media (max-width: 991.98px) {
  .mqube-social-links { margin: .75rem 0 .25rem; width: fit-content; }
  .navbar-collapse .mqube-social-links { margin-left: 0 !important; }
  .mqube-social-link { width: 40px; height: 40px; font-size: 1.15rem; }
}

/* Inline vector social icons: independent of external icon-font downloads. */
.mqube-social-links { display:inline-flex !important; visibility:visible !important; opacity:1 !important; align-items:center; justify-content:center; gap:.45rem; }
.mqube-social-link svg { display:block; width:19px; height:19px; flex:0 0 19px; }
@media (min-width: 992px) { .navbar .mqube-social-links { margin-left:1rem !important; } }
@media (max-width: 991.98px) { .navbar-collapse .mqube-social-links { margin: .75rem 0 .5rem !important; } }
