/* -----------------------------------------------------------------------

English Language Centre: Custom CSS

version: 3.1
date: June 2025
authors: Tarquin Rees - Derek Zinger
email: hello@okapicreative.com
----------------------------------------------------------------------- */

:root, [data-bs-theme=light] {
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 14, 35, 0.15);
}

figure:has(blockquote) {
  margin: 0rem 0rem;
  padding: 1.25rem 4rem;
}

blockquote p {
  font-family: 'Domine', Georgia, serif;
  font-weight: 700;
}

.blockquote-footer {
  color: var(--bs-secondary-color);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.video-wrapper {
  margin: 3rem 0rem;
}

.zoom {
  transition: transform 0.3s;
}

.zoom:hover {
  transform: scale(1.05);
}

/* ==============LANG MENU ============= */

.lang-menu {
  text-align: right;
  font-size: .75rem;
  border-bottom: 1px solid #ccdaeb;
  color: rgb(0,0,0,0.4);
}

.lang-menu a {
  text-decoration: none;
  color: rgb(0,0,0,0.7);
}

/* ============== COLOURS ============== */

.text-muted {
  color: #86898f !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, .85) !important;
}

.text-black-50 {
  color: rgba(0, 0, 0, .7) !important;
}

.text-black-25 {
  color: rgba(0, 0, 0, .3) !important;
}

.bg-primary-subtle {
  background-color: #edf4ff !important;
}

.bg-secondary-subtle {
  background-color: #f7ebff !important;
}

.bg-success-subtle {
  background-color: #e5f8f2 !important;
}

.bg-warning-subtle {
  background-color: #fef7e3 !important;
}

.bg-primary-gradient {
  background: linear-gradient(135deg, #f3f1ff, #f0fff9);
}

.bg-light {
  background-color: #eff2f8 !important;
}

/* ============== BUTTONS ============== */

.btn {
  border-width: 0;
}

.btn-primary:hover {
  background: #0751c6;
}

.btn-secondary:hover {
  background: #fb2840;
}

/* =========== TEXT =========== */

h1, h2, h3, h4, h5, h6 {
  font-family: Domine, serif;
  font-weight: 700;
  /*color: #002b6f;*/
}

h4, h5, h6 {
  line-height: 1.3;
}

.subhead {
  font-weight: 400;
  color: var(--bs-secondary) !important;
}

/* ============== HOME PAGE ============== */

#services .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  margin-bottom: 1rem;
}

.carousel-item {
}

.carousel-text-overlay {
  z-index: 100;
  position: relative;
  top: 0px;
  height: 100%;
  background-color: var(--bs-primary);
}

@media (min-width: 992px) {
  .carousel-text-overlay {
    position: absolute;
    background-color: rgba(3, 51, 127, 0.9) !important;
    max-width: 25%;
  }
}

/* Testimonials section of homepage */

.home-testimonials-quote {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  width: 100%;
}

@media (min-width: 576px) {
  .home-testimonials-quote {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ============== NAVBAR ============== */

#mainNav .navbar-toggler {
  top: 1rem;
  right: 1rem;
}

/* STYLE OFFCANVAS NAV SECTION */

nav .dropdown-item, .navbar .offcanvas .nav-link {
  color: #4a6999;
  font-size: 1.3rem;
}

nav .dropdown-toggle::after {
  display: none;
}

#mainNav .dropdown-toggle.nav-link, #mainNav .nav-link {
  border-top: 1px solid #dde4ee;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

#mainNav .nav-link:hover {
  color: var(--bs-primary);
}

/* Offcanvas submenus */

nav .dropdown-menu {
  background-color: #ebf3ff;
  border-radius: 0;
  border: none;
}

nav .dropdown-item {
  font-size: 1.1rem;
}

nav .dropdown-item:hover {
  color: #fff;
  background-color: var(--bs-primary);
}

.navbar-brand img {
  height: 60px;
}

@media (min-width: 576px) {
  .navbar-brand img {
    height: 90px;
  }
}

/* STYLE DESKTOP MENUS */

#mainNav .dropdown-menu[data-bs-popper] {
  margin-top: -10px;
}

@media (min-width: 1200px) {
  #mainNav .dropdown-toggle.nav-link, #mainNav .nav-link {
    border-top: none;
    font-size: 1.1rem;
    color: #5f6369 !important;
  }
}

@media (min-width: 1200px) {
  #mainNav .nav-link:hover {
    color: #222323 !important;
  }
}

@media (min-width: 1200px) {
  #mainNav .dropdown-item {
    text-align: left;
    color: #5f6369;
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  nav .dropdown-menu {
    border: 1px solid #ebeef2;
    background-color: rgb(255, 255, 255);
    border-radius: .5rem;
  }
}

@media (min-width: 1200px) {
  #mainNav .dropdown-item:hover {
    color: #333;
    background-color: #ecf2ff;
  }
}

/* =========== TEAM =========== */

#team-member-row {
  max-width: 800px;
  justify-content: center;
}

.team-member-col > div {
  max-width: 120px;
  display: block;
  margin-top: 1rem;
  margin-bottom: .75rem;
}

.team-member-col img {
  box-shadow: var(--bs-box-shadow) !important;
  display: block;
  object-fit: cover;
  object-position: 50% 0%;
}

.staff-profile-thumb {
  max-width: 200px;
  margin: auto;
}

.staff-profile-image {
  object-position: 50% 0%;
}

.team-member-section-head {
  text-align: center;
  margin-top: 4rem;
}

.team-member-section-head h2 {
  margin-bottom: 2rem;
}

/* =========== FOOTER =========== */

#footer-nav li {
  margin-top: .5rem;
}

footer a.link-dark {
  color: #5f6369 !important;
}

/* =========== TESTIMONIALS PAGE =========== */

.testimon1 {
  border-radius: var(--bs-border-radius) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimon1 .testicon p {
  /*color: var(--bs-body-color) !important;*/
  text-align: center;
  font-size: 1.25rem;
}

.testimon1 .testimoin {
  text-align: center !important;
}

.testimon1 .testimoin p {
  margin-bottom: 0;
}

/* =========== YOUNG LEARNERS PAGE =========== */

.hero-video-container {
  height: 100%;
  width: 100%;
  position: relative;
  aspect-ratio: 16/9;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

.hero-video-container .hero-caption {
  z-index: 1;
  position: relative;
  text-align: center;
  padding: 10px;
  height: 100%;
}

.staff-profile-thumb-small {
  max-width: 120px;
}

/* =========== GALLERY PAGE =========== */

#gallery .row {
  /*margin-bottom: 4rem;*/
}

#gallery .nav .nav-item {
  width: 100%;
}

#gallery .nav .nav-link {
  border-radius: 0.5rem;
  --bs-nav-link-color: var(--bs-dark);
  --bs-nav-pills-link-active-bg: var(--bs-primary);
  --bs-nav-pills-link-active-color: var(--bs-light);
}

.back-to-top {
  background-color: var(--bs-primary);
  border-radius: 100%;
}

#gallery-wrapper {
  overflow: visible;
}

@media (min-width: 768px) {
  #gallery-wrapper {
    overflow: scroll !important;
  }
}

.back-to-top:hover {
  background-color: #245bb1;
}

/* =========== OUR STORY PAGE =========== */

#proud-list ul {
  list-style: none;
}

#proud-list ul li:before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url("../../assets/img/check-lg.svg");
  margin-right: 10px;
}

#proud-list ul li {
  text-indent: -25px;
  /*padding-left: 20px;*/
  margin-left: 5px;
  margin-bottom: 15px;
}

/* =========== EVENTS PAGE =========== */

#events-1 nav a:hover {
  color: #ff3d53 !important;
}












