/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,500,600,700,800,900|Poppins:300,400,500,600,700,700i&display=swap');

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --color-navy:          #132f46;
  --color-dark:          #142737;
  --color-gold:          #feb648;
  --color-black:         #1a1a1a;
  --color-white:         #ffffff;
  --color-heading:       #1f1f25;
  --color-body:          rgb(113, 113, 115);
  --color-border:        #e6e6e6;
  --color-primary:       #feb648;
  --color-primary-light: #f8f9fc;
  --radius:              4px;
  --transition:          0.3s ease;
}

/* ============================================================
   RESET
============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { overflow: hidden; overflow-y: auto; }

body {
  /* overflow: hidden; */
  font-size: 14px;
  line-height: 1.714286;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', sans-serif;
  color: #1d1d24;
  font-weight: 400;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

svg:not(:root) { overflow: hidden; }

form  { margin: 0; }
p     { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }

ul {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 40px;
  color: var(--color-body);
}

nav ul  { list-style: none; }
li > ul { margin: 0; }

strong  { font-weight: bold; }
[hidden] { display: none; }

/* ============================================================
   LINKS
============================================================ */
a {
  color: #ca3c08;
  text-decoration: none;
  transition: all 0.4s ease-in-out 0s;
}

a:hover,
a:focus,
a:active {
  color: #ea9629;
  text-decoration: none;
  outline: none;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.4074;
  color: #1f1f25;
}

h1, .h1 { font-size: 64px; }
h2, .h2 { font-size: 54px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 18px; }

h1, .h1,
h2, .h2,
h3, .h3 { font-weight: 700; }

h4, .h4,
h5, .h5 { font-weight: 600; }

p { font-size: 18px; line-height: 30px; }

/* ============================================================
   FORM ELEMENTS
============================================================ */
input,
button,
textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 100%;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline;
  background: transparent;
  border: 1px solid #d4d4d4;
  transition: all 0.4s ease-out 0s;
  color: #1d1d24;
}

input,
textarea { width: 100%; font-size: 14px; }

input { height: 40px; padding: 0 15px; line-height: normal; }

button,
html input[type='button'],
input[type='submit'] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }

textarea { overflow: auto; vertical-align: top; }

input:focus, input:active,
button:focus, button:active,
textarea:focus, textarea:active {
  outline: none;
  border-color: #f9004d;
}

input:-moz-placeholder,          textarea:-moz-placeholder,
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder,
input::-moz-placeholder,         textarea::-moz-placeholder,
input:-ms-input-placeholder,     textarea:-ms-input-placeholder { opacity: 1; }

/* ============================================================
   GRID / LAYOUT UTILITIES
============================================================ */
.row {
  margin-right: -15px;
  margin-left:  -15px;
}

.row > [class*='col'] {
  padding-left:  15px;
  padding-right: 15px;
}

.row--0 { margin-left: 0; margin-right: 0; }
.row--0 > [class*='col'] { padding-left: 0; padding-right: 0; }

@media (min-width: 1200px) {
  .container { max-width: 1260px; }
}

/* ============================================================
   BACKGROUND & SPACING UTILITIES
============================================================ */
.bg_color--1 { background: #fff; }
.hidden      { display: none; }

.rn-section-gap { padding: 2% 0 0; }
.mb--40         { margin-bottom: 40px !important; }

@media only screen and (max-width: 575px) {
  .mt_mobile--30 { margin-top: 30px !important; }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes headerSlideDown {
  0%  { margin-top: -100px; }
  to  { margin-top: 0; }
}

@keyframes customOne {
  from { opacity: 0; transform: translate3d(0, 50%, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes swing {
  20% { transform: rotate3d(0, 0, 1,  15deg); }
  40% { transform: rotate3d(0, 0, 1, -10deg); }
  60% { transform: rotate3d(0, 0, 1,   5deg); }
  80% { transform: rotate3d(0, 0, 1,  -5deg); }
  to  { transform: rotate3d(0, 0, 1,   0deg); }
}

.swing { transform-origin: top center; animation-name: swing; }

/* ============================================================
   THUMBNAILS
============================================================ */
.thumbnail img {
  border-radius: 6px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   SCROLL-UP BUTTON
============================================================ */
#scrollUp {
  width: 50px;
  height: 50px;
  background-color: #fff;
  color: #f9004d;
  right: 20px;
  bottom: 60px;
  text-align: center;
  overflow: hidden;
  border-radius: 50px;
  z-index: 9811 !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
#scrollUp i { display: block; line-height: 48px; font-size: 22px; font-weight: 600; }

/* ============================================================
   HEADER
============================================================ */
.header-area {
  background: var(--color-dark);
  padding-left:  50px;
  padding-right: 50px;
  z-index: 999;
  position: relative;
}

.header-area .navbar           { padding: 0; min-height: 72px; }
.header-area .header-container { padding: 15px 0; flex-wrap: wrap; }
.header-area .header-wrapper   {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.navbar-brand     { padding: 0; margin-right: 0; }
.navbar-brand img { height: 66px; width: auto; max-height: 66px; display: block; }

.navbar-nav                   { align-items: center; flex-wrap: wrap; justify-content: center; }
.navbar-nav .nav-item         { margin: 0 15px; }
.navbar-nav .nav-item:first-child { margin-left: 0; }
.navbar-nav .nav-item:last-child  { margin-right: 0; }

.navbar-nav .nav-link {
  color: var(--color-white) !important;
  font-weight: 500;
  font-size: 16px;
  padding: 20px 0 !important;
  line-height: 28px;
  display: inline-block;
  transition: color var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--color-gold) !important; }

.navbar-toggler { color: var(--color-white); }

/* Hamburger & Close */
.humberger-menu span         { cursor: pointer; }
.humberger-menu span svg     { width: 30px; height: 30px; }
.header-wrapper.menu-open .humberger-menu span { opacity: 0; }

.header-area .header-wrapper .close-menu {
  position: fixed;
  top: 12px;
  opacity: 0;
  visibility: hidden;
  right: 29px;
  z-index: -10;
}
.header-area .header-wrapper.menu-open .close-menu {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}
.header-area .header-wrapper.menu-open .close-menu span { color: #000; font-size: 30px; cursor: pointer; }
.header-area .header-wrapper.menu-open .close-menu span svg { width: 30px; height: 30px; }

/* Sticky */
.header-area.header--sticky { position: fixed; top: 0; z-index: 999; width: 100%; }
.header-area.header--sticky.sticky {
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  animation: headerSlideDown 0.95s ease forwards;
}
.header-area.header--sticky.sticky .header-wrapper { padding: 0; transition: 0.3s; }
.header-area.header--sticky.sticky .logo a img     { height: 50px; transition: 0.5s; }

/* ============================================================
   DROPDOWN
============================================================ */
.dropdown-toggle::after { display: none; }

.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  border: none;
  border-radius: 4px;
  padding: 12px 0;
  min-width: 247px;
  width: 260px;
  white-space: normal;
  background: #fff;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 5px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1em;
  color: #1f1f25;
  border-radius: 3px;
  white-space: normal;
  line-height: 1.5;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.dropdown-item:hover { background-color: white; color: var(--color-gold); }

/* ============================================================
   MAIN MENU (legacy desktop)
============================================================ */
.mainmenunav ul.mainmenu,
.mainmenunav ul.mainmenu > li > ul.submenu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mainmenunav ul.mainmenu { display: flex; justify-content: flex-end; flex-wrap: wrap; }
.mainmenunav ul.mainmenu > li { margin: 0 15px; position: relative; }
.mainmenunav ul.mainmenu > li:first-child { margin-left: 0; }
.mainmenunav ul.mainmenu > li:last-child  { margin-right: 0; }

.mainmenunav ul.mainmenu > li > a {
  color: #c6c9d8;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 0;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.mainmenunav ul.mainmenu > li:hover > a { color: #f9004d; }

.mainmenunav ul.mainmenu > li > ul.submenu {
  min-width: 247px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding: 12px 0;
  border-radius: 4px;
}
.mainmenunav ul.mainmenu > li:hover > ul.submenu { opacity: 1; visibility: visible; }

.mainmenunav ul.mainmenu > li > ul.submenu li a {
  font-size: 14px;
  font-weight: 500;
  padding: 5px 20px;
  display: block;
  color: #1f1f25;
  margin: 0 10px;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.mainmenunav ul.mainmenu > li > ul.submenu li:hover a {
  color: #f9004d;
  background: rgba(249, 0, 77, 0.07);
}

/* Sticky menu overrides */
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a { position: relative; }
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a::after {
  position: absolute;
  content: '';
  left: 0;
  width: 0;
  height: 3px;
  background: #f9004d;
  transition: 0.3s;
  bottom: 0;
}
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a:hover,
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a.active { color: #f9004d; }
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a:hover::after,
.header-area.header--sticky .mainmenunav ul.mainmenu > li > a.active::after { width: 100%; }
.header-area.header--sticky.sticky .mainmenunav ul.mainmenu > li > a {
  padding: 22px 0;
  color: #1f1f25;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section             { position: relative; overflow: hidden;}
.hero-slide               { position: relative; height: 600px; display: flex; align-items: center;  min-height: 600px;}
.hero-bg                  { position: absolute; inset: 0; z-index: 0; }
.hero-bg img              { width: 100%; height: 100%; object-fit: cover; object-position: 98% 29%; }
.hero-overlay             { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.46); z-index: 1; }
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}
.hero-content             { max-width: 800px;    margin-left: clamp(10px, 5vw, 50px);
 }
.hero-title               { color: #fff; font-size: 40px; font-weight: 600; line-height: 1.4; margin-bottom: 20px; }
.hero-desc                { color: #fff; font-size: 17px; line-height: 1.6; margin-bottom: 30px; }
.hero-btn-wrap            { margin-top: 10px; }
.hero-btn                 { display: inline-block; background: var(--color-gold); color: var(--color-navy); padding: 10px 30px; font-size: 14px; text-decoration: none; transition: all var(--transition); }
.hero-btn:hover           { background: var(--color-navy); color: white; }

@media (max-width: 575px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 15px;
  }
}



@media (max-width: 767px) {

  .hero-title {
    font-size: 25px;
  }

  .hero-desc {
    font-size: 20px;
  }

  .hero-desc-secondary {
    display: none;
  } 

  .hero-slide {
    height: auto;
    min-height: auto;
    padding: 100px 20px 80px; /* give breathing space */
    align-items: flex-start;
  }

  .hero-content-wrapper {
    align-items: flex-start;
  }

  .hero-content {
    transform: translateY(-80px);
    margin-left: 0;
  }

  .hero-btn-wrap {
    margin-top: 20px;
  }
}

/* ============================================================
   About Us
============================================================ */

/* ============================================================
   ABOUT PAGE — INDEX-CONSISTENT REDESIGN
============================================================ */

/* ── About Intro Section ── */
.beg-about-intro {
  background: #fff;
  overflow: hidden;
}

.beg-intro-text-col {
  padding: 0px 48px 52px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}

.beg-intro-divider {
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-gold) 15%,
    var(--color-gold) 85%,
    transparent 100%
  );
  margin: 0 40px;
  flex-shrink: 0;
  align-self: stretch;
}

.beg-intro-logos-col {
  padding: 52px 0 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beg-intro-logos-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.beg-intro-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 per row */
  gap: 3em; /* spacing */
}

.beg-intro-logo-item {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.beg-intro-logo-item:hover {
  background: #fafafa;
  z-index: 1;
}

.beg-intro-logo-item img {
  max-height: 70px;  /* increase this (80 → 100 → 110) */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.beg-intro-logo-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.beg-about-lead {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-body);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-intro-text-col  { padding: 40px 0 24px; }
  .beg-intro-logos-col { padding: 24px 0 40px; }

  .beg-intro-logo-item img {
    width: 90px;
    height: 52px;
  }
}

@media (max-width: 575px) {
  .beg-intro-logo-item { padding: 14px 10px; }
  .beg-intro-logo-item img { width: 70px; height: 42px; }
}

/* ── Mission / Vision cards
   (reuse beg-why-section bg — just need card styling) ── */
.beg-about-mv-card {
  background: rgb(255, 255, 255);
  border: 1px solid #827d7d;
  border-radius: 8px;
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  transition: background var(--transition);
}

.beg-about-mv-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 14px;
}

.beg-about-mv-text {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.8;
  margin: 0;
}

/* ── Values heading ── */
.beg-about-values-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.beg-why-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-top: 10px;
  padding: 0 5px;
}

/* ── Accreditations ── */
.beg-accred-section {
  background: #fff;
}

.beg-accred-card {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.beg-accred-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.beg-accred-logo {
  max-height: 300%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.beg-accred-card:hover .beg-accred-logo {
  filter: grayscale(0%);
}

.beg-accred-note {
  font-size: 0.78rem;
  color: var(--color-body);
  font-style: italic;
  margin: 0;
}

/* ── Ghost CTA button (for dark sections) ── */
.beg-about-cta--ghost {
  display: inline-block;
  background: var(--color-navy);
 
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 28px;
  text-decoration: none;
  transition: all var(--transition);
}

.beg-about-cta--ghost:hover {
  background: var(--color-gold);
  border-color: var(--color-white);
  color: var(--color-dark);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-about-mv-card { padding: 28px 20px; }
}

@media (max-width: 575px) {
  .beg-about-logo    { height: 50px; }
  .beg-accred-card   { height: 90px; padding: 16px; }
  .beg-about-mv-card { padding: 24px 16px; }
  .beg-about-cta--ghost {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 0 !important;
  }
}
/* ============================================================
   SLIDER
============================================================ */
.slide .inner             { padding-top: 100px; position: relative; z-index: 1; }
.slide .inner h1.title    { font-size: 125px; font-weight: 900; text-transform: uppercase; font-family: 'Montserrat', sans-serif; line-height: 130px; }

/* ============================================================
   WHY US SECTION
============================================================ */

.beg-why-section  { background-color: #132f46; padding: 60px 0; margin-top: 0; }
.beg-why-row      { display: flex; flex-wrap: wrap; justify-content: center; }

.beg-why-col      { flex: 0 0 20%; max-width: 20%; padding: 15px; }
.beg-why-row-about{
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center the row */
  gap: 30px;
}

.beg-why-col-about {
  flex: 0 0 33.333%;   /* 3 per row */
  max-width: 260px;    /* control visual width (THIS is your "20% feel") */
}
.beg-why-item     { text-align: center; color: #ffffff; }
.beg-icon         { font-size: 50px; margin-bottom: 15px; color: #ffffff; display: flex; justify-content: center; align-items: center; }
.beg-icon-black         { font-size: 50px; margin-bottom: 15px; color: var(--color-navy); display: flex; justify-content: center; align-items: center; }
.beg-icon-black svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}



.beg-why-item h5  { font-size: 15px; font-weight: 500; line-height: 1.5; margin-top: 10px; word-break: break-word; color: #ffffff;  }

@media (max-width: 991px) {
  .beg-why-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Mobile (1 per row) */
@media (max-width: 575px) {
  .beg-why-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ============================================================
   SECTION HEADING
============================================================ */
.beg-section-heading            { text-align: center; }
.beg-section-heading h2         { margin: 0; padding: 0; line-height: 1; font-family: 'Poppins', sans-serif; color: var(--color-heading); word-break: break-word; }
.beg-section-heading h2:first-child { font-size: 35px; font-weight: 700; }
.beg-section-heading h2:last-child  { font-size: 28px; font-weight: 500; color: var(--color-gold); margin-top: 6px; }

/* ============================================================
   SHARED SECTION UTILITIES
============================================================ */
.beg-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.beg-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.beg-section-title--light,
.beg-section-title-white {
  color: var(--color-white);
  font-size: 2rem;
}

.beg-section-sub {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.beg-section-sub i{
  color: var(--color-gold);
}

.beg-section-sub-white {
  font-size: 1rem;
  color: var(--color-white);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SECTION DIVIDER
============================================================ */
.section-divider {
  all: unset;
  display: block;
  width: 100%;
  height: 10px;
  background: var(--color-gold);
  margin: 0;
}

/* ============================================================
   OUR CENTRES
============================================================ */
.beg-centres-section { background-color: #f8f9fa; }

.beg-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
 
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.beg-card:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10); transform: translateY(-4px); }

.beg-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  width: 100%;
  margin-bottom: 8px;
}

/* Fixed dimensions — every logo identical size */
.beg-card-logo {
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.beg-card-logo:hover { opacity: 0.8; }

.beg-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  padding: 0;
  margin-top: 4px;
}

.beg-card-title {
  min-height: 68px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.45;
  margin-bottom: 10px;
}

.beg-card-text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   LOGO GRID
============================================================ */
.logo-grid img       { transition: transform var(--transition); }
.logo-grid img:hover { transform: scale(1.07); }
.beg-logo            { width: 100%; height: 120px; object-fit: contain; }

/* ============================================================
   UPCOMING / SWIPER SECTION
============================================================ */
.upcoming-section         { background: #fff; }
.upcoming-title           { font-size: 36px; font-weight: 700; color: #e5a045; }
.upcomingSwiper           { height: 100%; padding: 40px 0; position: relative; }
.upcomingSwiper .swiper-slide { display: flex; justify-content: center; align-items: center; }
.upcomingSwiper .swiper-slide img { max-height: 100%; width: auto; object-fit: contain; }

.swiper-button-prev { left: 0; }
.swiper-button-next { right: 0; }
.swiper-button-prev,
.swiper-button-next { color: var(--color-navy); }

.upcomingSwiper .swiper-button-prev,
.upcomingSwiper .swiper-button-next { top: 50%; transform: translateY(-50%); }

/* ============================================================
   SECTORS SECTION
============================================================ */
.beg-sectors-section { background: var(--color-navy); }

.beg-sector-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.beg-sector-card:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); transform: translateY(-3px); }

.beg-sector-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  /* background: var(--color-gold); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 2rem;
}

.beg-sector-text h6 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.4;
}

/* ============================================================
   REVIEWS SECTION
============================================================ */
.beg-reviews-section              { background: #f8f9fa; }
.beg-reviews-section .beg-eyebrow { color: var(--color-navy); }
.beg-reviews-section .beg-section-sub { color: rgba(0, 0, 0, 0.65); }

.beg-platform-logo { height: 32px; width: auto; object-fit: contain; filter: none; opacity: 0.85; }

.beg-review-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.beg-review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

.beg-review-stars  { color: var(--color-gold); font-size: 0.9rem; letter-spacing: 2px; }

.beg-review-text {
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
  
}

.beg-review-author { display: flex; align-items: center; gap: 12px; }

.beg-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beg-review-author strong { display: block; color: var(--color-navy); font-size: 0.9rem; }
.beg-review-source        { display: block; font-size: 0.75rem; color: rgba(0, 0, 0, 0.5); margin-top: 2px; }

.beg-review-cta {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 28px;

  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.beg-review-cta:hover             { background: var(--color-gold); color: var(--color-navy); }

.beg-review-cta--outline          { background: transparent; border: 2px solid rgba(0, 0, 0, 0.2); color: var(--color-navy); }
.beg-review-cta--outline:hover    { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }


/* ── School label ── */
.beg-review-school {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 10px;
}

/* ── Platform badge ── */
.beg-review-platform-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 20px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.beg-review-platform-badge:hover {
  opacity: 0.8;
}

/* Google — blue/white */
.beg-badge-google {
  background: rgba(66, 133, 244, 0.10);
  color: #4285f4;
  border: 1px solid rgba(66, 133, 244, 0.25);
}

/* Trustpilot — green/white */
.beg-badge-trustpilot {
  background: rgba(0, 182, 122, 0.10);
  color: #000000;
  border: 1px solid rgba(0, 182, 122, 0.25);
}

/* ============================================================
   COURSE CARDS
============================================================ */
.beg-course-card           { text-align: left; padding: 10px; }
.beg-course-card img       { width: 100%; margin-bottom: 15px; height: 200px; object-fit: cover; transition: transform var(--transition); }
.beg-course-card:hover img { transform: scale(0.97); }
.beg-course-card h5        { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 15px; }
.beg-course-card p         { font-size: 16px; line-height: 1.9; margin: 0; color: var(--color-body); }
.beg-course-card h5 a      { color: inherit; text-decoration: none; transition: color var(--transition); }
.beg-course-card h5 a:hover { color: var(--color-gold); }

/* ============================================================
   ABOUT / BLOG HERO
============================================================ */
.about-hero,
.blog-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #00010c;
  z-index: 1;
}
.about-hero .container,
.blog-hero .container { position: relative; z-index: 2; }

.about-title,
.blog-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: #fff;
  padding-top: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(40px, 6vw, 100px);
}

.beg-group-text {
  margin: 0;
  padding: 4% 6%;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  color: var(--color-body);
}

.about-buttons{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 0 15px;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.blog-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}

.post-meta i {
  margin-right: 5px;
  color: var(--color-gold);
}

.post-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-title a {
  color: var(--color-navy);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--color-gold);
}

.post-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-read-more {
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* Blog images inside BEG cards */
.beg-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Meta styling (match subtle BEG tone) */
.post-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.5);
  margin-bottom: 8px;
  padding: 0;
  list-style: none;
}

.post-meta i {
  color: var(--color-gold);
  margin-right: 4px;
}

/* Link style consistent with BEG */
.beg-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}

.beg-link:hover {
  text-decoration: underline;
}

/* =========================
   FEATURED BLOG
========================= */
.blog-featured-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.blog-featured-content {
  padding: 40px;
}

.blog-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.blog-featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-featured-title a {
  color: var(--color-navy);
  text-decoration: none;
}

.blog-featured-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* =========================
   MINIMAL BLOG CARDS
========================= */
.blog-card-minimal {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-minimal:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-card-minimal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-body h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 10px 0;
}

.blog-card-body h5 a {
  text-decoration: none;
  color: var(--color-navy);
}

.blog-card-body h5 a:hover {
  color: var(--color-gold);
}

/* =========================
   META
========================= */
.post-meta {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: #888;
}

/* ============================================================
   COMPANIES PAGE
============================================================ */
/* ============================================================
   COMPANIES PAGE
============================================================ */

.beg-companies-intro       { background: #fff; }
.beg-companies-intro-text  { font-size: 1rem; color: var(--color-body); line-height: 1.85; margin: 0; }

.beg-company-section       { background: #fff; }
.beg-company-section--alt  { background: #f8f9fa; }

/* ── Title ── */
.beg-company-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 12px;
  white-space:nowrap;
}

/* ── Subtitle / category ── */
.beg-focus-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

/* ── Description ── */
.beg-company-desc {
  text-align: justify;
  font-size: 1.05rem;
  color: var(--color-body);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── Focus list ── */
.beg-company-focus { margin-bottom: 20px; }

.beg-focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.beg-focus-list li {
  font-size: 0.88rem;
  color: var(--color-body);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.beg-focus-list li i {
  color: var(--color-gold);
  font-size: 0.65rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── Media column wrapper (logo on top, video below) ── */
.beg-company-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Logo zone ── */
.beg-company-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 20px 32px;
  min-height: 90px;
}

.beg-company-logo {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.beg-company-logo:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.1);
}

/* ── Video embed ── */
.beg-company-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.beg-company-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-company-title  { font-size: 1.4rem;}
  .beg-focus-list     { grid-template-columns: 1fr; }

  /* On tablet/mobile: content always on top, media always below */
  .order-1  { order: 1 !important; }
  .order-2  { order: 2 !important; }
}

@media (max-width: 575px) {
  .beg-company-title        { font-size: 1.25rem; }
  .beg-company-logo         { height: 52px; }
  .beg-company-logo-wrap    { padding: 16px 20px; min-height: 72px; }
  .beg-company-desc         { font-size: 0.88rem; }
  .beg-focus-list li        { font-size: 0.83rem; }
}

/* ============================================================
   CONTACT INFO CARDS
============================================================ */
.contact-info-section {
  background-color: rgb(248, 249, 251);
  padding: 3% 6%;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 30px;
  color: var(--color-body);
}

.contact-title    { font-size: 40px; font-weight: 700; color: var(--color-heading); margin-bottom: 12px; }
.contact-subtitle { font-size: 16px; color: var(--color-body); margin-bottom: 0; }

.contact-card {
  background-color: #fff;
  border-radius: 10px;
  margin: 20px;
  position: relative;
  display: flex;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

.contact-info-inner  { padding: 10% 4%; width: 100%; flex-direction: row; }
.contact-icon-wrap   { display: inline-flex; flex-shrink: 0; margin-right: 15px; margin-bottom: 15px; }
.contact-icon        { display: inline-block; line-height: 1; transition: 0.3s; font-size: 40px; color: var(--color-gold); text-align: center; }
.contact-icon i      { transform: scaleX(-1); }
.contact-icon--lg    { font-size: 50px; }
.contact-text        { flex-grow: 1; }
.contact-heading     { font-size: 30px; font-weight: 700; line-height: 1.4074; margin: 0 0 15px; font-family: 'Poppins', sans-serif; color: var(--color-heading); word-break: break-word; }
.contact-card p      { font-size: 16px; line-height: 1.9; font-weight: 400; margin: 0; color: var(--color-body); }

/* ============================================================
   CONTACT FORM SECTION
============================================================ */
.contact-form-section  { padding: 3% 6%; background: #fff; }
.contact-main-title    { font-size: 50px; font-weight: 700; color: var(--color-heading); line-height: 1.1; }
.contact-desc          { font-size: 16px; line-height: 1.6; color: var(--color-body); }

.contact-form .form-control { height: 45px; border: 1px solid #e9e9e9; border-radius: 6px; padding: 8px 12px; }
.contact-form textarea.form-control { height: 120px; resize: vertical; }

.form-required {
  color: #c02b0a;
  display: inline-block;
  font-size: 13px;
  padding-left: 0.125em;
  font-style: italic;
  font-weight: 400;
}

.contact-btn {
  background: var(--color-gold);
  border: none;
  color: #fff;
  height: 60px;
  padding: 15px 20px;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s ease;
  box-shadow: 0 10px 15px rgba(254, 182, 72, 0.1);
  transform: translateY(-5px);
}
.contact-btn:hover { transform: translateY(-7px); }
.contact-image img { width: 100%; border-radius: 20px; }

/* ============================================================
   BLOG SECTION
============================================================ */
.blog-section {
  padding: 60px 0;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--color-body);
  line-height: 30px;
}

.blog-post-content {
  padding: 30px;
  background-color: #fff;
  color: var(--color-body);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.post-title { font-size: 35px; font-weight: 500; line-height: 46px; margin: 0 0 15px; word-break: break-word; font-family: 'Poppins', sans-serif; color: var(--color-heading); }
.post-title a { color: rgb(31, 31, 37); text-decoration: none; transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }
.post-title a:hover { color: var(--color-primary); }

.post-meta { display: flex; flex-wrap: wrap; list-style: none; margin: 0 -12px; padding: 0; }
.post-meta li { font-size: 14px; line-height: 1.3; margin: 0 12px 5px; color: var(--color-body); position: relative; display: flex; align-items: center; }
.post-meta li svg { width: 14px; height: 14px; min-width: 14px; margin-right: 13px; }
.post-meta li a { color: var(--color-body); text-decoration: none; display: inline-block; line-height: 22px; transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }
.post-meta li a:hover { color: var(--color-primary); }

.post-excerpt-wrap { margin-top: 10px; }
.post-excerpt { font-size: 16px; line-height: 1.9; font-weight: 400; color: var(--color-body); margin: 0 0 40px; overflow-wrap: break-word; }

.btn-read-more {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.btn-read-more:hover { background: var(--color-heading); color: #fff; }

/* ============================================================
   BLOG CONTENT
============================================================ */
.blog-content-section { padding: 9% 7%; }
.blog-content p       { font-size: 16px; line-height: 1.9; margin-bottom: 40px; color: var(--color-body); }
.blog-content h2      { font-size: 54px; font-weight: 700; line-height: 1; margin-bottom: 20px; color: var(--color-heading); }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { padding-left: 25px; padding-right: 25px; }

.sidebar-search { position: relative; margin-bottom: 30px; }
.sidebar-search input[type='text'] {
  width: 100%;
  height: 60px;
  padding: 0 80px 0 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-body);
  background: transparent;
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius);
  transition: 0.3s;
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.sidebar-search input[type='text']:focus        { border-color: var(--color-primary); }
.sidebar-search input[type='text']::placeholder { color: var(--color-body); }

.sidebar-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 47px;
  padding: 0 20px;
  background: var(--color-primary-light);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.4s ease-out;
  color: var(--color-body);
}
.sidebar-search button i      { color: var(--color-primary); }
.sidebar-search button:hover  { background: var(--color-primary); }
.sidebar-search button:hover i { color: #fff; }

.sidebar-widget { border: 1px solid var(--color-border); border-radius: 4px; padding: 0 20px 20px; margin-bottom: 30px; }
.sidebar-widget h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  font-family: 'Poppins', sans-serif;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 14px 24px;
  border-radius: 4px;
  margin: -1px -22px 0;
}
.sidebar-widget ul { list-style: disc; margin: 0 0 15px; padding: 0; }
.sidebar-widget ul li { font-size: 16px; line-height: 28px; margin-bottom: 10px; color: var(--color-body); position: relative; padding-left: 30px; }
.sidebar-widget ul li a { color: rgb(31, 31, 37); text-decoration: none; transition: 0.3s; }
.sidebar-widget ul li a:hover { color: var(--color-primary); }

.sidebar-widget.widget-meta ul { margin-bottom: 0; }
.sidebar-widget.widget-meta ul li { list-style: none; padding-left: 23px; margin-bottom: 0; padding-bottom: 15px; }
.sidebar-widget.widget-meta ul li + li { border-top: 1px solid var(--color-border); padding-top: 15px; }
.sidebar-widget.widget-meta ul li:last-child { margin-bottom: 10px; padding-bottom: 0; }

.sidebar-banner     { border-radius: 4px; margin-bottom: 30px; }
.sidebar-banner a   { display: block; }
.sidebar-banner img { width: 100%; border-radius: 4px; display: block; }

/* ============================================================
   COMMENTS
============================================================ */

.comment-title    { font-size: 24px; font-weight: 600; margin-bottom: 15px; }
.comment-note     { font-size: 16px; margin-bottom: 30px; color: var(--color-body); }
.comment-textarea { height: auto !important; border: 2px solid var(--color-border); padding: 15px; }

.comment-form .form-control { height: 50px; border: 2px solid var(--color-border); padding: 0 20px; }
.form-check                 { display: flex; align-items: flex-start; gap: 10px; }
.form-check .form-check-input { width: 18px; height: 18px; margin-top: 4px; border: 2px solid var(--color-border); border-radius: 3px; cursor: pointer; }
.form-check .form-check-label { font-size: 15px; line-height: 25px; color: var(--color-body); cursor: pointer; margin: 0; }

/* ============================================================
   SCHOOL PAGES
============================================================ */
.school-heading { font-size: 19px; padding: 0; margin: 0; line-height: 1; word-break: break-word; font-family: 'Poppins', sans-serif; color: black; }

.logo-action-section { padding: 4% 6%; background: #fff; }

.visit-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 15px;
  color: #e5a045;
  background: transparent;
  text-align: center;
  border: 1px solid #e5a045;
 
  transition: 0.3s ease;
}
.visit-btn:hover { background: #e5a045; color: #fff; border-color: #e5a045; }

.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ============================================================
   COURSE SEARCH PAGE
============================================================ */
.course-search-section { padding: 2% 0; background: #fff; }
.course-search-title   { font-size: 50px; font-weight: 700; line-height: 1; margin: 0; color: var(--color-gold); font-family: 'Poppins', sans-serif; }

.filter-bar { background: #f9fafb; border: 1px solid var(--color-border); border-radius: 4px; padding: 18px 20px; }
.filter-bar label { font-size: 13px; font-weight: 600; color: var(--color-heading); margin-bottom: 5px; display: block; }
.filter-bar select,
.filter-bar input[type="text"] {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 36px;
  padding: 0 10px;
  width: 100%;
  background: #fff;
  transition: border-color .15s;
}
.filter-bar select:focus,
.filter-bar input[type="text"]:focus { outline: none; border-color: var(--color-gold); box-shadow: none; }

.courses-table { font-size: 14px; border-collapse: separate; border-spacing: 0; width: 100%; }
.courses-table thead th { background: #f9fafb; color: var(--color-heading); font-weight: 700; padding: 13px 14px; border-bottom: 1px solid var(--color-border); white-space: nowrap; cursor: pointer; user-select: none; position: relative; }
.courses-table thead th::after    { content: ' ⇅'; font-size: 11px; opacity: .4; }
.courses-table thead th.sort-asc::after  { content: ' ↑'; opacity: .8; }
.courses-table thead th.sort-desc::after { content: ' ↓'; opacity: .8; }
.courses-table tbody tr:nth-child(even) { background: rgba(0, 0, 50, .02); }
.courses-table tbody tr:hover           { background: rgba(254, 182, 72, .06); }
.courses-table td { padding: 11px 14px; vertical-align: middle; border: 1px solid var(--color-border); line-height: 1.5; }

.co-badge { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 600; background: rgba(19, 47, 70, .08); color: var(--color-navy); text-decoration: none; transition: background .2s; }
.co-badge:hover { background: var(--color-navy); color: #fff; }

.visit-link { display: inline-block; padding: 6px 14px; border: 1px solid var(--color-gold); border-radius: 3px; font-size: 13px; color: var(--color-gold); text-decoration: none; white-space: nowrap; transition: .25s; }
.visit-link:hover { background: var(--color-gold); color: #fff; }

.desc-cell   { max-width: 340px; }
.desc-short  { display: block; }
.desc-full   { display: none; }
.desc-toggle { background: none; border: none; color: var(--color-gold); font-size: 12px; padding: 2px 0; cursor: pointer; font-family: inherit; }

.page-link                    { color: var(--color-navy); border-color: #ddd; font-size: 14px; }
.page-item.active .page-link  { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.page-link:hover              { color: var(--color-gold); }
.page-link:focus              { box-shadow: none; }

.results-info { font-size: 13px; color: var(--color-body); }
.no-results   { text-align: center; padding: 40px; color: var(--color-body); font-size: 15px; display: none; }

/* ============================================================
   TEAM
============================================================ */
.team { margin-top: 30px; overflow: hidden; border-radius: 6px; position: relative; }
.team .thumbnail { display: block; position: relative; z-index: 1; }
.team .thumbnail img { width: 100%; }
.team .thumbnail::after { background: linear-gradient(to bottom, #fc004d 0, #000 100%); position: absolute; left: 0; right: 0; width: 100%; height: 100%; content: ''; z-index: 1; opacity: 0; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }
.team .content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 35px 40px; z-index: 2; }
.team .content h4.title { color: #fff; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.45s cubic-bezier(0.23, 0.88, 0.34, 0.99); transition-delay: 0.25s; }
.team .content h4.title a { color: #fff; }
.team:hover .content h4.title { opacity: 1; visibility: visible; transform: translateY(0); }
.team:hover .thumbnail::after { opacity: 0.85; top: 0; }

/* ============================================================
   VIDEO POPUP
============================================================ */
.yu2fvl { z-index: 9999; top: 0; }

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

a.text-decoration-none {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   LEGAL PAGES (Terms, Privacy, Complaints etc.)
============================================================ */

.beg-legal-section {
  background: #fff;
  padding: 60px 0 70px;
}

/* ── Sticky sidebar nav ── */
.beg-legal-nav {
  position: sticky;
  top: 0px;
  background: #f8f9fa;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 6px 6px 0;
  padding: 24px 20px;
}

.beg-legal-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.beg-legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beg-legal-nav ul li {
  margin-bottom: 6px;
}

.beg-legal-nav ul li a {
  font-size: 0.8rem;
  color: var(--color-body);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  padding: 4px 0;
  border-bottom: none;
  transition: color var(--transition), padding-left var(--transition);
}

.beg-legal-nav ul li a:hover {
  color: var(--color-navy);
  padding-left: 4px;
}

/* ── Main body ── */
.beg-legal-body {
  padding-left: 40px;
  border-left: 1px solid var(--color-border);
}

/* ── Intro meta box ── */
.beg-legal-meta {
  background: var(--color-navy);
  border-radius: 6px;
  padding: 16px 22px;
  margin-bottom: 36px;
}

.beg-legal-meta p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

/* ── Each numbered section ── */
.beg-legal-section-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  /* border-bottom: 1px solid var(--color-border); */
}

.beg-legal-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ── Section heading ── */
.beg-legal-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

/* ── Paragraphs ── */
.beg-legal-body p {
  font-size: 0.9rem;
  color: var(--color-body);
  line-height: 1.85;
  margin-bottom: 10px;
}

.beg-legal-body ul{
    font-size: 0.9rem;
    color: var(--color-body);
    line-height: 1.85;
    margin-bottom: 10px;
}

.beg-legal-body p:last-child {
  margin-bottom: 0;
}

.beg-legal-body strong {
  color: var(--color-navy);
  font-weight: 600;
}

.beg-legal-body a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.beg-legal-body a:hover {
  color: var(--color-gold);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-legal-body {
    padding-left: 0;
    border-left: none;
    margin-top: 32px;
  }
}

@media (max-width: 575px) {
  .beg-legal-section  { padding: 40px 0 50px; }
  .beg-legal-heading  { font-size: 0.95rem; }
  .beg-legal-body p   { font-size: 0.85rem; }
}

/* ============================================================
   CONTACT PAGE
============================================================ */

/* ============================================================
   CONTACT PAGE
============================================================ */
/* ============================================================
   CONTACT PAGE
============================================================ */

.beg-contact-section {
  background: #f8f9fa;
}

/* ── Shared box ── */
.beg-contact-box {
  border-radius: 10px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

/* ── Dark box (left) ── */
.beg-contact-box--dark {
  background: var(--color-navy);
}

/* ── Light box (right) ── */
.beg-contact-box--light {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
}

/* ── Panel titles ── */
.beg-contact-panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.beg-contact-box--dark .beg-contact-panel-title {
  color: var(--color-white);
}

.beg-contact-box--light .beg-contact-panel-title {
  color: var(--color-navy);
}

/* ── Intro text ── */
.beg-contact-intro {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.beg-contact-box--dark .beg-contact-intro {
  color: rgba(255, 255, 255, 0.55);
}

.beg-contact-box--light .beg-contact-intro {
  color: var(--color-body);
}

/* ── Info items ── */
.beg-contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.beg-contact-item-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.beg-contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--color-navy);
  border: 1px solid var(--color-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.beg-contact-item-title {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 5px;
  border-bottom: 2px solid var(--color-gold);
}

.beg-contact-item-body a {
  font-size: 0.90rem;
  color: rgb(0, 0, 0);
  text-decoration: none;
  display: block;
  line-height: 1.7;
  transition: color var(--transition);
}

.beg-contact-item-body a:hover {
  color: var(--color-gold);
}

.beg-contact-item-body p {
  font-size: 0.87rem;
  color: rgb(0, 0, 0);
  line-height: 1.7;
  margin: 0;
}

/* ── Form labels ── */
.beg-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.beg-form-required {
  color: #c02b0a;
  margin-left: 2px;
}

/* ── Form controls ── */
.beg-form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--color-heading);
  background: #f8f9fa;
  border: 1px solid #dde1e7;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.beg-form-control:focus {
  border-color: var(--color-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(19, 47, 70, 0.07);
}

.beg-form-control::placeholder {
  color: #b0b7c3;
  font-size: 0.85rem;
}

textarea.beg-form-control {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.65;
}

/* ── Submit button ── */
.beg-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}

.beg-contact-submit:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-contact-box { padding: 36px 28px; }
}

@media (max-width: 575px) {
  .beg-contact-box          { padding: 28px 20px; }
  .beg-contact-panel-title  { font-size: 1.25rem; }
  .beg-contact-item-icon    { width: 36px; height: 36px; font-size: 0.82rem; }
}

/* ============================================================
   FORM VALIDATION STATES
============================================================ */

/* Invalid */
.beg-form-control.is-invalid,
.beg-form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.10) !important;
  background-color: #fff9f9;
}

/* Valid */
.beg-form-control.is-valid,
.beg-form-control.is-valid:focus {
  border-color: #198754 !important;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.08) !important;
}

/* Error message */
.beg-invalid-feedback {
  display: none;
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 5px;
  font-weight: 500;
}

.beg-form-control.is-invalid ~ .beg-invalid-feedback {
  display: block;
}

/* Radio / checkbox group error */
.beg-radio-group.is-invalid ~ .beg-invalid-feedback,
.beg-radio-invalid + .beg-invalid-feedback {
  display: block;
}

.beg-radio-group.is-invalid label {
  color: #dc3545;
}

/* Server-side errors (Laravel @error) */
.beg-server-error {
  display: block;
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 5px;
  font-weight: 500;
}

/* Character counter */
.beg-char-counter {
  font-size: 0.72rem;
  color: var(--color-body);
  margin-top: 5px;
  text-align: right;
  display: block;
  transition: color 0.2s;
}

.beg-char-counter.beg-counter--warn   { color: #e6a817; }
.beg-char-counter.beg-counter--ok     { color: #198754; }
.beg-char-counter.beg-counter--danger { color: #dc3545; }

/* File validation hint */
.beg-file-error {
  display: none;
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 5px;
  font-weight: 500;
}

.beg-file-error.visible {
  display: block;
}

/* ============================================================
   SUCCESS PAGE
============================================================ */
.beg-success-section {
  background: #f8f9fa;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.beg-success-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 10px;
  padding: 56px 48px;
  text-align: center;
}

.beg-success-icon {
  font-size: 4rem;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.beg-success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.beg-success-text {
  font-size: 1rem;
  color: var(--color-body);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 575px) {
  .beg-success-box   { padding: 36px 24px; }
  .beg-success-title { font-size: 1.4rem; }
  .beg-success-icon  { font-size: 3rem; }
}

/* ============================================================
   COURSES PAGE
============================================================ */

/* ── Category pill ── */
.crs-category-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(19, 47, 70, 0.07);
  color: var(--color-navy);
  white-space: nowrap;
}

/* ── Enrol (logos) ── */
.crs-badges-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* clickable logo */
.crs-school-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  transition: all 0.25s ease;
}

/* logo image */
.crs-school-logo img {
  height: 26px;
  width: auto;
  display: block;
  transition: all 0.25s ease;
  opacity: 0.9;
}

/* hover effect */
.crs-school-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.crs-school-logo:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   SCHOOL PICKER MODAL
============================================================ */
.beg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.beg-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.beg-modal-box {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.beg-modal-overlay.active .beg-modal-box {
  transform: translateY(0);
}

.beg-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.beg-modal-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.beg-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-body);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition);
}

.beg-modal-close:hover {
  color: var(--color-navy);
}

.beg-modal-course {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.beg-modal-schools {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beg-modal-school-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  background: #fff;
}

.beg-modal-school-btn:hover {
  border-color: var(--color-navy);
  background: #f8f9fa;
  transform: translateX(4px);
}

.beg-modal-school-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.beg-modal-school-url {
  font-size: 0.83rem;
  color: var(--color-body);
  flex-grow: 1;
}

.beg-modal-arrow {
  font-size: 0.75rem;
  color: var(--color-body);
  opacity: 0.4;
  transition: opacity var(--transition), transform var(--transition);
}

.beg-modal-school-btn:hover .beg-modal-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--color-navy);
}

/* ── Responsive ── */
@media (max-width: 575px) {
  .beg-modal-box    { padding: 22px 18px 20px; }
  .beg-modal-course { font-size: 0.85rem; }

}


/* ============================================================
   FAQ PAGE
============================================================ */
.beg-faq-section {
  background: #f8f9fa;
}

/* ── Tab buttons ── */
.beg-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.beg-faq-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-body);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.beg-faq-tab i {
  font-size: 1rem;
  color: var(--color-body);
  transition: color var(--transition);
}

.beg-faq-tab:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.beg-faq-tab:hover i {
  color: var(--color-navy);
}

.beg-faq-tab.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.beg-faq-tab.active i {
  color: var(--color-gold);
}

/* ── Panels ── */
.beg-faq-panel {
  display: none;
    color: var(--color-body);

}

.beg-faq-panel.active {
  display: block;
}

/* ── Accordion wrapper ── */
.beg-faq-panels {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ── Individual item ── */
.beg-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.beg-faq-item:last-child {
  border-bottom: none;
}

/* ── Question button ── */
.beg-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 28px;
  background: #fff;
  border: none;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  transition: background var(--transition);
}

.beg-faq-q:hover {
  background: #fafafa;
}

.beg-faq-item.open{
      padding-bottom: 15px;
}


.beg-faq-item.open .beg-faq-q {
  background: var(--color-white);
  color: var(--color-black);
}

/* ── Chevron icon ── */
.beg-faq-chevron {
  font-size: 0.75rem;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.beg-faq-item.open .beg-faq-chevron {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* ── Answer ── */
.beg-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px 0 28px;
  transition: max-height 0.35s ease;
}

.beg-faq-a p,
.beg-faq-a li {
  font-size: 0.88rem;
  color: var(--color-body);
  line-height: 1.85;
  margin: 0;
  
}



.beg-section-sub a {
  color: var(--color-gold);
}

.beg-section-sub a:hover {
  color: var(--color-navy);
}

/* .beg-faq-item.open .beg-faq-a {
  padding: 0 28px 22px;
} */

.beg-faq-a a {
  color: var(--color-navy);
  font-weight: 600;
 
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beg-faq-a a:hover {
  color: var(--color-gold);
}

/* Two-column grid */
.beg-faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.beg-faq-col {
  border-right: 1px solid var(--color-border);
}

.beg-faq-col:last-child {
  border-right: none;
}

/* Fix bottom border on last item of left column */
.beg-faq-col:first-child .beg-faq-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

/* Stack on mobile */
@media (max-width: 991px) {
  .beg-faq-cols {
    grid-template-columns: 1fr;
  }

  .beg-faq-col {
    border-right: none;
  }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .beg-faq-tab {
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  .beg-faq-q {
    padding: 18px 20px;
    font-size: 0.88rem;
  }

  /* .beg-faq-item.open .beg-faq-a {
    padding: 0 20px 18px;
  } */
}

@media (max-width: 575px) {
  .beg-faq-tabs {
    gap: 8px;
  }

  .beg-faq-tab {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    font-size: 0.75rem;
    padding: 10px 12px;
  }

  .beg-faq-tab i {
    display: none;
  }
}

/* ============================================================
   FORM PAGES (Enrolment & Learner)
============================================================ */

.beg-form-section {
  background: #f8f9fa;
}

/* ── Intro info box ── */
.beg-form-intro-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-navy);
  border-radius: 8px;
  padding: 20px 24px;
}

.beg-form-intro-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.beg-form-intro-box p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

/* ── Section blocks ── */
.beg-form-section-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 32px 28px;
  margin-bottom: 20px;
}

/* ── Section heading ── */
.beg-form-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.beg-form-section-title i {
  color: var(--color-gold);
  font-size: 1rem;
}

/* ── Labels ── */
.beg-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.beg-form-label small {
  font-weight: 400;
  color: var(--color-body);
}

.beg-form-required {
  color: #c02b0a;
  margin-left: 2px;
}

/* ── Inputs, selects, textareas ── */
.beg-form .beg-form-control {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--color-heading);
  background: #f8f9fa;
  border: 1px solid #dde1e7;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.beg-form .beg-form-control:focus {
  border-color: var(--color-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(19, 47, 70, 0.07);
}

.beg-form .beg-form-control::placeholder {
  color: #b0b7c3;
  font-size: 0.83rem;
}

.beg-form textarea.beg-form-control {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.65;
}

.beg-form select.beg-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}

/* ── File inputs ── */
.beg-form input[type="file"].beg-form-control {
  height: auto;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.83rem;
}

/* ── Hint text ── */
.beg-form-hint {
  font-size: 0.76rem;
  color: var(--color-body);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Radio groups ── */
.beg-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.beg-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-body);
  cursor: pointer;
  font-weight: 400;
}

.beg-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-navy);
  cursor: pointer;
  flex-shrink: 0;
}

/* Forces the feedback to show when the JS adds the class */
.is-invalid ~ .invalid-feedback {
    display: block !important;
}

.beg-form-control.is-valid {
    border-color: #198754;
    background-image: none; /* Removes the default checkmark if preferred */
}

/* ── Checkbox declaration ── */
.beg-form-declaration {
  background: #f8f9fa;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
  padding: 16px 20px;
}

.beg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.6;
}

.beg-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-navy);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .beg-form-section-block { padding: 24px 18px; }
}

@media (max-width: 575px) {
  .beg-form-section-block  { padding: 20px 14px; }
  .beg-form-intro-box      { padding: 16px 16px; flex-direction: column; gap: 8px; }
  .beg-radio-group         { gap: 10px; }
}

/* ============================================================
   FOOTER
============================================================ */
.beg-footer {
  background: var(--color-dark);
  padding-top: 64px;
  padding-bottom: 0;
}

/* ── Logo ── */
.beg-footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Brand description ── */
.beg-footer-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin: 0;
  max-width: 320px;
}

/* ── Column headings ── */
.beg-footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
  display: block;               /* full-width underline */
  width: fit-content;           /* underline only under text */
}

/* ── Nav links ── */
.beg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beg-footer-links li {
  margin-bottom: 11px;
}

.beg-footer-links a {
  color: rgba(255, 255, 255, 0.50);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition), padding-left var(--transition);
}

.beg-footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

/* ── Contact items ── */
.beg-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beg-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.50);
  font-size: 1rem;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
  
}

.beg-contact-item:hover {
  color: var(--color-gold);
}

.beg-contact-item i {
    transform: scaleX(-1);
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-top: 3px;        /* vertically aligns icon with first text line */
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.beg-contact-item span {
  word-break: break-word; /* prevents email overflow */
}

/* ── Social icons ── */
.beg-footer-social {
  display: flex;
  gap: 8px;
}

.beg-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}

.beg-footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

/* ── Bottom bar ── */
.beg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  margin-top: 8px;
}

.beg-footer-bottom p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.30);
  margin: 0;
  line-height: 1.5;
}

.beg-footer-bottom strong {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .beg-footer {
    padding-top: 48px;
  }

  /* On tablet, brand spans full row then 3 columns underneath */
  .beg-footer-brand {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 8px;
  }

  .beg-footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  /* Stack all columns on mobile */
  .beg-footer-bottom {
    text-align: center;
  }

  .beg-footer-bottom .text-md-end {
    text-align: center !important;
  }

  .beg-footer-social {
    justify-content: flex-start;
  }

  /* Quick Links + Explore side by side on small mobile */
  .col-6 .beg-footer-heading,
  .col-6 .beg-footer-links { font-size: 0.78rem; }
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
============================================================ */

/* Large desktop */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-area,
  .header-area.header--sticky { padding-left: 30px; padding-right: 30px; }
  .slide .inner h1.title      { font-size: 90px; line-height: 103px; }
}

/* Tablet landscape */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  h1, .h1 { font-size: 60px; }
  h2, .h2 { font-size: 52px; }
  h3, .h3 { font-size: 22px; }

  .header-area              { padding-left: 30px; padding-right: 30px; }
  .header-area .header-wrapper { padding: 30px 0; }
  .header-area.header--sticky  { padding: 30px; }
  .rn-section-gap           { padding: 80px 0 !important; }

  .header-area .header-wrapper .mainmenunav { position: absolute; }
  .header-area .header-wrapper .mainmenunav ul.mainmenu {
    width: 60vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -61vw;
    z-index: 99;
    padding: 55px;
    background: #fff;
    transition: all 0.8s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: block;
    overflow-y: auto;
  }
  .header-area .header-wrapper.menu-open .mainmenunav ul.mainmenu { right: 0; }
  .slide .inner h1.title { font-size: 70px; line-height: 82px; margin-bottom: 0; }

  .beg-why-col { flex: 0 0 50%; max-width: 50%; }
}

/* Tablet portrait */
@media only screen and (max-width: 767px) {
  h1, .h1 { font-size: 58px; }
  h2, .h2 { font-size: 50px; }
  h3, .h3 { font-size: 22px; }
  p       { font-size: 16px;  line-height: 28px }

  .header-area              { padding-left: 30px; padding-right: 30px; }
  .header-area .header-wrapper { padding: 15px 0; }
  .rn-section-gap           { padding: 80px 0 !important; }

  .header-area .header-wrapper .mainmenunav { position: absolute; }
  .header-area .header-wrapper .mainmenunav ul.mainmenu {
    width: 60vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -61vw;
    z-index: 99;
    padding: 55px;
    background: #fff;
    transition: all 0.8s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: block;
    overflow-y: auto;
  }
  .header-area .header-wrapper.menu-open .mainmenunav ul.mainmenu { right: 0; }

  .about-title, .blog-hero-title { font-size: 42px; }
  .hero-slide                    { height: 500px; }
  .hero-title                    { font-size: 30px; }

  .contact-info-section { padding: 5% 4%; }
  .contact-card         { margin: 10px; }
  .contact-title        { font-size: 32px; }
  .contact-heading      { font-size: 24px; }
  .contact-icon         { font-size: 32px; }
  .contact-icon--lg     { font-size: 38px; }

  .blog-post-content { padding: 20px; }
  .post-title        { font-size: 22px; line-height: 32px; }
  .sidebar           { padding-left: 15px; padding-right: 15px; margin-top: 40px; }

  .slide .inner           { padding-top: 70px; }
  .slide .inner h1.title  { font-size: 50px; line-height: 70px; margin-bottom: 0; }
}

/* Bootstrap navbar breakpoint */
@media (max-width: 991px) {
  .header-area          { padding-left: 20px; padding-right: 20px; }
  .header-area .navbar  { min-height: 66px; }
  .navbar-brand img     { height: 38px !important; max-height: 38px; }

  .dropdown-menu      { display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .dropdown-menu.show { display: block; }
  .navbar-nav .nav-item  { margin: 0; }
  .navbar-nav .nav-link  { padding: 10px 0 !important; line-height: 1.6; }

  .beg-card-logo-wrap { height: 110px; }
  .beg-card-logo      { width: 160px; height: 95px; }
  .beg-card-title     { min-height: 60px; }
  .beg-footer         { padding-top: 50px; }
}

/* Mobile */
@media (max-width: 767px) {
  .contact-info-section { padding: 8% 4%; }
  .contact-card         { margin: 10px 0; }
  .contact-info-inner   { padding: 8% 5%; }
  .contact-title        { font-size: 28px; }
  .contact-heading      { font-size: 22px; }

  .course-search-title  { font-size: 32px; }
  .courses-table        { font-size: 13px; }
  .desc-cell            { max-width: 200px; }
}

/* Small mobile */
@media only screen and (max-width: 575px) {
  h1, .h1 { font-size: 56px; }

  .header-area                   { padding-left: 20px; padding-right: 20px; }
  .about-title, .blog-hero-title  { font-size: 32px; }
  .hero-slide                    { height: 420px; }
  .hero-title                    { font-size: 20px; }
  .hero-desc                     { font-size: 15px; }

  .slide .inner                  { padding-top: 30px; }
  .slide .inner h1.title         { font-size: 40px; line-height: 50px; margin-bottom: 20px; }
  .header-area .header-wrapper.menu-open .mainmenunav ul.mainmenu { width: 86vw; padding: 54px 20px; }

  .beg-card                      { padding: 24px 18px; }
  .beg-card-logo-wrap            { height: 90px; }
  .beg-card-logo                 { width: 140px; height: 80px; }
  .beg-card-title                { min-height: unset; align-items: center; font-size: 1rem; }
  .beg-section-title             { font-size: 1.6rem; }

  .beg-why-col                   { flex: 0 0 100%; max-width: 100%; }

  .beg-review-cta                { display: block; text-align: center; margin-bottom: 12px; }
  .beg-review-cta.me-3           { margin-right: 0 !important; }

  .beg-footer-bottom             { text-align: center; }
  .beg-footer-bottom .text-md-end { text-align: center !important; }
}


.review-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.review-logo {
  height: 25px;        /* keep subtle */
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.beg-icon-tick {
  width: 50px;
  height: 50px;
  background-color: var(--color-navy); /* rgb(19, 47, 70) */
  
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%; /* remove if original was square */
}

.beg-icon-img-tick {
  width: 22px;   /* visual balance inside 50px box */
  height: 22px;
  
  filter: brightness(0) invert(1); /* makes it white */
}


.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.video-modal iframe {
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}


/* =========================
   CTA BLOCK (PREMIUM)
========================= */
.beg-cta-block {
  background: var(--color-navy);
  border-radius: 12px;
  padding: 32px 34px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* subtle gradient overlay */
.beg-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}

.beg-cta-title {
  text-align: center;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 25px;
}

/* LIST */
.beg-cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beg-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.6;
}

.beg-cta-list li i {
  color: var(--color-gold);
  font-size: 0.95rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* TEXT EMPHASIS */
.beg-cta-list strong {
  color: var(--color-white);
  font-weight: 600;
}

/* BUTTON */
.beg-cta-btn-wrap {
  text-align: center;
  margin-top: 25px;
}

.beg-cta-btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.beg-cta-btn:hover {
  background: var(--color-white);
  color: var(--color-navy);
}