/*!
 * Bootstrap v5.0.0 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-primary: #06BBCC;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #F0FBFC;--bs-dark: #181d38;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0))}*,*::before,*::after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:"Heebo",sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#52565b;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}h1,.h1,h2,.h2,h3,.h3{margin-top:0;margin-bottom:.5rem;font-family:"Nunito",sans-serif;font-weight:700;line-height:1.2;color:#181d38}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}p{margin-top:0;margin-bottom:1rem}ul{padding-left:2rem}ul{margin-top:0;margin-bottom:1rem}ul ul{margin-bottom:0}strong{font-weight:bolder}small,.small{font-size:.875em}a{color:#06BBCC;text-decoration:none}a:hover{color:#0596a3}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr /* rtl:ignore */;unicode-bidi:bidi-override}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}img{vertical-align:middle}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button{text-transform:none}[role="button"]{cursor:pointer}button,[type="button"]{-webkit-appearance:button}button:not(:disabled),[type="button"]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}iframe{border:0}[hidden]{display:none !important}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:800;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.container,.container-fluid,.container-xxl{width:100%;padding-right:var(--bs-gutter-x, .75rem);padding-left:var(--bs-gutter-x, .75rem);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container{max-width:540px}}@media (min-width: 768px){.container{max-width:720px}}@media (min-width: 992px){.container{max-width:960px}}@media (min-width: 1200px){.container{max-width:1140px}}@media (min-width: 1400px){.container,.container-xxl{max-width:1320px}}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y) * -1);margin-right:calc(var(--bs-gutter-x) / -2);margin-left:calc(var(--bs-gutter-x) / -2)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) / 2);padding-left:calc(var(--bs-gutter-x) / 2);margin-top:var(--bs-gutter-y)}.g-4{--bs-gutter-x: 1.5rem}.g-4{--bs-gutter-y: 1.5rem}.g-5{--bs-gutter-x: 3rem}.g-5{--bs-gutter-y: 3rem}@media (min-width: 768px){.col-md-6{flex:0 0 auto;width:50%}.col-md-12{flex:0 0 auto;width:100%}}@media (min-width: 992px){.col-lg-3{flex:0 0 auto;width:25%}.col-lg-8{flex:0 0 auto;width:66.66667%}}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#52565b;text-align:center;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:0px;transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:#52565b}.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(6,187,204,0.25)}.btn:disabled{pointer-events:none;opacity:.65}.btn-primary{color:#000;background-color:#06BBCC;border-color:#06BBCC}.btn-primary:hover{color:#000;background-color:#2bc5d4;border-color:#1fc2d1}.btn-primary:focus{color:#000;background-color:#2bc5d4;border-color:#1fc2d1;box-shadow:0 0 0 .25rem rgba(5,159,173,0.5)}.btn-primary:active,.btn-primary.active,.show>.btn-primary.dropdown-toggle{color:#000;background-color:#38c9d6;border-color:#1fc2d1}.btn-primary:active:focus,.btn-primary.active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(5,159,173,0.5)}.btn-primary:disabled{color:#000;background-color:#06BBCC;border-color:#06BBCC}.btn-light{color:#000;background-color:#F0FBFC;border-color:#F0FBFC}.btn-light:hover{color:#000;background-color:#f2fcfc;border-color:#f2fbfc}.btn-light:focus{color:#000;background-color:#f2fcfc;border-color:#f2fbfc;box-shadow:0 0 0 .25rem rgba(204,213,214,0.5)}.btn-light:active,.btn-light.active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f3fcfd;border-color:#f2fbfc}.btn-light:active:focus,.btn-light.active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(204,213,214,0.5)}.btn-light:disabled{color:#000;background-color:#F0FBFC;border-color:#F0FBFC}.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.collapse:not(.show){display:none}.dropdown{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#52565b;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.15);border-radius:0px}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#06BBCC}.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#06BBCC;transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:#0596a3}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:0px;transition:box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}.navbar-light .navbar-brand{color:rgba(0,0,0,0.9)}.navbar-light .navbar-brand:hover,.navbar-light .navbar-brand:focus{color:rgba(0,0,0,0.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,0.55)}.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link:focus{color:rgba(0,0,0,0.7)}.navbar-light .navbar-nav .show>.nav-link,.navbar-light .navbar-nav .nav-link.active{color:rgba(0,0,0,0.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,0.55);border-color:rgba(0,0,0,0.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,0.125);border-radius:0px}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.carousel{position:relative}@keyframes spinner-border{to{transform:rotate(360deg) /* rtl:ignore */}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.sticky-top{position:sticky;top:0;z-index:1020}.d-flex{display:flex !important}.shadow{box-shadow:0 0.5rem 1rem rgba(0,0,0,0.15) !important}.border{border:1px solid #dee2e6 !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.mt-4{margin-top:1.5rem !important}.mt-5{margin-top:3rem !important}.me-2{margin-right:.5rem !important}.me-4{margin-right:1.5rem !important}.mb-0{margin-bottom:0 !important}.mb-3{margin-bottom:1rem !important}.mb-4{margin-bottom:1.5rem !important}.mb-5{margin-bottom:3rem !important}.ms-auto{margin-left:auto !important}.p-0{padding:0 !important}.p-4{padding:1.5rem !important}.px-3{padding-right:1rem !important;padding-left:1rem !important}.px-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-5{padding-right:3rem !important;padding-left:3rem !important}.py-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-3{padding-top:1rem !important}.pt-5{padding-top:3rem !important}.fs-5{font-size:1.25rem !important}.text-center{text-align:center !important}.text-primary{color:#06BBCC !important}.text-light{color:#F0FBFC !important}.text-white{color:#fff !important}.bg-dark{background-color:#181d38 !important}.bg-white{background-color:#fff !important}.visible{visibility:visible !important}@media (min-width: 768px){.px-md-5{padding-right:3rem !important;padding-left:3rem !important}.py-md-3{padding-top:1rem !important;padding-bottom:1rem !important}.text-md-start{text-align:left !important}.text-md-end{text-align:right !important}}@media (min-width: 992px){.p-lg-0{padding:0 !important}.px-lg-5{padding-right:3rem !important;padding-left:3rem !important}}

/********** Template CSS **********/
:root {
  --primary: #06bbcc;
  --light: #f0fbfc;
  --dark: #181d38;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Button ***/
.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}


.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

/* When the navbar is collapsed (mobile view), force a solid background that matches the navbar */
.navbar-collapse.show {
  background-color: #ffffff !important;
}

/* Dropdown menu styling for light navbar */
.navbar-light .dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-light .dropdown-item {
  color: #333;
}

.navbar-light .dropdown-item:hover,
.navbar-light .dropdown-item:focus {
  background-color: var(--primary);
  color: #fff;
}

.navbar-light .dropdown-item.active {
  background-color: var(--primary);
  color: #fff;
}

/* Only one item is filled at a time: current page by default, then whichever item is hovered */
.navbar-light .dropdown-menu:hover .dropdown-item.active:not(:hover) {
  background-color: transparent;
  color: #333;
}

/* Legacy full-page loading overlay: keep hidden even when old HTML still
   ships <div id="spinner" class="show"> (PayPal states use .spinner-border elsewhere). */

/* Reduce navbar height - make it more compact */
.navbar {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
}

.navbar-brand {
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

.navbar-brand.px-4,
.navbar-brand.px-lg-5 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-nav {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-nav.p-4 {
  padding: 0.15rem 1rem !important;
}

.navbar-nav.p-lg-0 {
  padding: 0 !important;
}

.navbar-nav .nav-link {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

/* Responsive Navbar adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    margin-top: 0.15rem;
    padding: 0.15rem 1rem !important;
  }
}

@media (max-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    color: #333 !important;
  }

  /* Ensure mobile menu doesn't darken the page */
  .navbar-collapse {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-collapse .nav-link {
    color: #333 !important;
  }
  
  .navbar-collapse .nav-link:hover {
    color: var(--primary) !important;
  }
}

/*** Header carousel ***/

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  /* Explicit font styling so this "kicker" label (a <p>, not a heading -
     it's supplementary label text, not a document heading) renders
     identically to when it was a <h6> relying on the default heading
     styles below for font/weight/size/margin. */
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

/*** Service ***/
.service-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  min-height: 350px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/*** Categories & Courses ***/

/*** Team ***/


/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Adjusting layout for footer sections */
.footer .container .row {
  align-items: flex-start;
}

@media (min-width: 992px) {

  /* Ensures changes apply to large devices */
}

.video-responsive {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 300px;
  /* Minimum height for better viewing on smaller screens */
}

.video-responsive .lite-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

#youtubeSection {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0;
  z-index: 10;
  /* Adjust z-index if needed to solve overlap */
  position: relative;
  /* Adjust positioning if necessary */
}

html {
  scroll-behavior: smooth;
}

.profile-section {
  opacity: 0;
  transition: opacity 2s ease-out;
}

.profile-section.is-visible {
  opacity: 1;
}

.support-section {
  background-color: var(--dark);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.support-section h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

.support-section p {
  margin-bottom: 30px;
  font-size: 18px;
  color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: #06bbcc;
  border-radius: 25px;
  /* Rounded corners for the button */
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.btn-light:hover,
.btn-light:focus {
  background-color: #c7c7c7;
  /* Light grey background on hover/focus */
  color: #ffffff;
  /* White text on hover/focus */
}

/* Base styles */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding: 20px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* Base styles for better mobile responsiveness */
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevents horizontal scroll */
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Navbar adjustments */
.navbar-nav {
  margin-top: 20px;
  /* Provides spacing on smaller screens */
}

@media (max-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    /* Reduces padding on smaller screens */
  }

}

/* Adjustments for service items */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 20px;
    /* Adds bottom margin for stacking */
  }
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-section .hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  padding: 6rem 5% 3rem;
  /* Adds padding on both sides and clears the sticky navbar */
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-brand .responsive-logo {
  width: auto !important;
  height: auto !important;
  max-height: 67px !important;
  max-width: min(277px, 100%) !important;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.75rem);
  }

  .navbar-brand .responsive-logo {
    max-height: 67px !important;
    max-width: min(240px, 70vw) !important;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown {
    position: relative;
  }

  /* Keep the pointer inside the dropdown while moving from the label to the items */
  .navbar .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
    z-index: 1049;
  }

  .navbar .dropdown-menu {
    display: none !important;
    position: absolute !important;
    margin-top: 0 !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;
    inset: auto auto auto 0 !important;
    min-width: 15rem;
    padding: 0.35rem 0;
    z-index: 1050;
  }

  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown.show > .dropdown-menu {
    display: block !important;
  }

  .navbar-light .dropdown-item {
    padding: 0.7rem 1.2rem;
  }
}

/* Optional: styling for `<pre>` inside the container */

/* Optional: styling for `<code>` inside the container */

/* Latest News Section Styling */
.news-section {
  display: flex;
  flex-wrap: nowrap;
  /* Keeps items on one line without wrapping */
  overflow-x: auto;
  /* Enables horizontal scrolling */
  justify-content: flex-start;
  /* Aligns content to the start, removing center alignment */
  padding: 20px 10px;
  /* Adjusts padding for better spacing */
  background: #f8f9fa;
}

.news-card {
  flex: 0 0 auto;
  /* Prevents cards from shrinking and maintains set width */
  width: 320px;
  /* Increased width for better readability */
  margin: 0 15px;
  /* Space between cards */
  border: 1px solid #ddd;
  background: #fff;
  position: relative;
  /* Needed for positioning the date */
  display: flex;
  flex-direction: column;
  /* Stacks content vertically */
  content-visibility: auto;
  contain-intrinsic-size: 320px 520px;
}

.news-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-card .content {
  padding: 10px;
  /* Adjusts internal spacing */
  flex-grow: 1;
  /* Allows content to fill available space */
  display: flex;
  flex-direction: column;
}

.news-card .content h3 {
  margin-top: 0;
  /* Reduces space above the headline */
  font-size: 1.1em;
  /* Increases font size for headlines */
}


.container {
  width: 80%;
  /* or max-width to control site width */
  margin: 0 auto;
  /* Centers the container */
  padding: 20px;
}


/* Responsive adjustments */

/* General Styles for the Our Work Section */

/* Teacher Training Section Styles */

/* Ensuring images are side by side with appropriate spacing */

/* Ensures that there is no extra margin or padding */



.text-center {
  text-align: center;
}

.techSparque-section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.techSparque-section img {
  max-width: 100%;
  height: auto;
  padding: 0 15px;
  /* Adjust padding as needed for spacing */
}

@media (max-width: 991px) {
  .techSparque-section .row {
    flex-direction: column;
  }

  .techSparque-section img {
    padding: 0;
    margin-bottom: 20px;
  }
}



.techSparque-section p {
  font-size: 18px;
  /* Adjust the font size as needed */
  line-height: 1.6;
  /* Increases the line spacing for better readability */
}

.techSparque-section h2 {
  font-size: 32px;
  /* Larger size for headings */
  margin-bottom: 20px;
  /* Adds space below the heading */
}

.techsparque-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Ensuring images and text are aligned properly in a responsive manner */
.techSparque-section img {
  max-width: 100%;
  /* Makes images responsive */
  height: auto;
  /* Maintains aspect ratio */
}

/* Responsive design adjustments */

.container-xxl {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.service-item p {
  flex: 1;
  /* Allows the paragraph to expand and fill the space */
}

h2.mb-5,
.service-item h3 {
  margin-bottom: 0.5em;
  /* Adjusts spacing for headings */
}

.service-item h3 {
  /* Preserve this element's original <h5> font-size now that it's a
     semantically-correct <h3> (one level below this section's <h2>) */
  font-size: 1.25rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Spacing between columns */
}

.col-lg-3 {
  flex: 1 1 25%;
  /* Flex-basis of 25% to make sure four items fit in one line */
}

@media (max-width: 992px) {

  .col-lg-3 {
    flex: 0 0 50%;
    /* On smaller screens, use 50% width for two columns layout */
    max-width: 50%;
  }
}

@media (min-width: 992px) {

  /* Adjusts for devices with width greater than 992px */
}

.section-title {
  padding: 5px 20px;
  /* Adds spacing inside the title area */
  background-color: #f0f0f0;
  /* Background color for the title */
  color: #333;
  /* Text color */
  display: inline-block;
  /* Makes the title inline with other text elements */
}

@media (max-width: 767px) {
  .service-item {
    min-height: auto;
    /* Adjust height for mobile devices */
  }
}

.news-card.video-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
  background: #000;
}

.news-card.video-card.portrait-video-card iframe {
  width: 180px;
  height: 240px;
  aspect-ratio: auto;
  margin: 0 auto;
}

.news-card[data-href] {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card[data-href]:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.news-card[data-href]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.news-card .content h3 a:hover {
  color: var(--primary) !important;
}

/* Individual news post pages */

/* Style for the school cards */

/* Column settings for different screen sizes */
 .col-md-6 {
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) { /* Large screens */
}

@media (min-width: 768px) and (max-width: 991px) { /* Medium screens, e.g., tablets */
    .col-md-6 {
        flex: 0 0 50%; /* Two cards per row */
        max-width: 50%;
    }
}

@media (max-width: 767px) { /* Small screens, e.g., phones */
    .col-md-6 {
        flex: 0 0 100%; /* One card per row */
        max-width: 100%;
    }
}

/* CSS Reset for Schools Section */

/* Schools Section Container */

/* Section Title */

/* Section Description */

/* Schools Grid */

/* School Card */

/* School Image */

/* School Info */

/* Responsive Adjustments */

/* ===== Donate Hero Banner Section ===== */

/* ===== Donate Page Layout ===== */

/* PayPal Loading State */

/* Hide loading when PayPal buttons render */

.donate-cta-btn {
  font-size: 1.1rem;
}

/* ===== Global Donate Now Button (Navbar CTA) ===== */

/* ===== Donate Top Bar (above navbar on all pages) ===== */
.donate-top-bar {
  background-color: #00BFDB;
  width: 100%;
  padding: 0;
}

.donate-top-btn {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  display: block;
  width: 100%;
  padding: 12px 16px;
  letter-spacing: 0.3px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

.donate-top-btn:hover {
  color: #ffffff !important;
  background-color: #0099B8;
}

/* Anchor offset for sticky navbar + course/school deep links */
#python-course,
#web-dev-course,
#kotlin-course,
#prompt-engineering-course,
#kibuk-girls,
#kariobangi-wpi,
#kilembwa {
  scroll-margin-top: 90px;
}

/* ===== Your Impact Section ===== */

/* ===== Footer Styles (Global - from index.html) ===== */
.footer {
  background: var(--dark) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #b8b9ba;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-link i {
  font-size: 0.8rem;
  color: var(--primary);
}

.footer .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start;
}

.footer .container.py-5 > .row.g-5 {
  /* Global .row { gap: 20px } plus 25% columns wraps High Schools onto a second row. */
  gap: 0 !important;
  align-items: flex-start;
}

.footer .container.py-5 > .row.g-5 > .col-lg-3 {
  display: block !important;
  min-width: 0;
}

@media (min-width: 992px) {
  .footer .container.py-5 > .row.g-5 {
    flex-wrap: nowrap !important;
  }

  .footer .container.py-5 > .row.g-5 > .col-lg-3 {
    flex: 1 1 0 !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

@media (max-width: 991.98px) {
  .footer .container.py-5 > .row.g-5 > .col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 767.98px) {
  .footer .container.py-5 > .row.g-5 > .col-lg-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .contact-item {
  display: flex;
  align-items: center;
  color: #b8b9ba;
  font-size: 0.95rem;
  justify-content: flex-start;
}

.footer .contact-link {
  color: #b8b9ba;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.footer .contact-link:hover {
  color: var(--primary);
}

.footer .social-links {
  display: flex;
  gap: 1rem;
}

.footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer .social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom p {
  color: #b8b9ba;
  font-size: 0.9rem;
}

.footer-menu {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-menu a {
  color: #b8b9ba;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-menu {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .social-links {
    justify-content: flex-start;
  }

  .footer h3::after {
    left: 0;
    transform: none;
  }
}

/* ===== Latest News auto-scroll carousel (moved from index.html) ===== */
.news-section-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  background: #f8f9fa;
  padding: 20px 0;
  width: 100%;
  scroll-behavior: smooth;
  cursor: grab;
}

.news-section-wrapper:active {
  cursor: grabbing;
}

.news-section-scroll {
  display: flex;
  width: fit-content;
}

.news-section-wrapper .news-section {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: visible;
  justify-content: flex-start;
  padding: 0;
}

.news-section-wrapper .news-card {
  flex: 0 0 auto;
  width: 320px;
  margin: 0 15px;
  border: 1px solid #ddd;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  content-visibility: auto;
  contain-intrinsic-size: 320px 520px;
}

.news-section-wrapper .news-card.video-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.news-section-wrapper .news-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Portrait-only override for specific video cards (keeps landscape cards unchanged) */
.news-section-wrapper .news-card.video-card.portrait-video-card iframe {
  width: 180px;
  height: 240px;
  aspect-ratio: auto;
  display: block;
  margin: 0 auto;
  background: #000;
}

/* Custom scrollbar styling */
.news-section-wrapper::-webkit-scrollbar {
  height: 8px;
}

.news-section-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.news-section-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.news-section-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.news-section-wrapper {
  -ms-overflow-style: auto;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

@media (max-width: 768px) {
  .news-section-wrapper .news-card {
    width: 280px;
  }
}

/* ===== News carousel touch scroll ===== */
.news-section-wrapper {
  -webkit-overflow-scrolling: touch;
  /* Allow vertical page scroll when swiping on the news strip (pan-x blocked it) */
  touch-action: manipulation;
  overscroll-behavior-x: contain;
}

/* ===== News carousel pause/play control ===== */
.news-scroll-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  background: #ffffff;
  border: 1px solid #d9dee3;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.news-scroll-toggle:hover,
.news-scroll-toggle:focus-visible {
  background: var(--light);
  border-color: var(--primary);
}

.news-scroll-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.news-card.video-card iframe {
  pointer-events: auto;
}

/* ===== Support TechSparque page ===== */

/* ===== Dedicated Impact Page ===== */

.impact-report-embed {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1rem;
  height: 85vh;
  min-height: 720px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.impact-report-embed iframe,
.impact-report-embed__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.impact-report-embed__viewer {
  display: none;
}

html.pdf-mobile .impact-report-embed__viewer:not(:empty) {
  display: block !important;
}

html.pdf-mobile .impact-report-embed__viewer:empty::before {
  content: 'Loading document…';
  display: block;
  padding: 2.5rem 1rem;
  text-align: center;
  color: #555;
  font-size: 1rem;
}

.impact-report-embed__gview {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border: 0;
  background: #fff;
}

@media (min-width: 769px) {
  .impact-report-embed__viewer {
    display: none !important;
  }

  html.pdf-mobile .impact-report-embed__viewer {
    display: none !important;
  }
}

html.pdf-mobile .impact-report-embed__frame {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

html.pdf-mobile .impact-report-embed__viewer {
  display: block !important;
}

html.pdf-mobile .impact-report-embed {
  height: auto;
  max-height: 75vh;
  min-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.impact-report-fallback {
  display: block;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 768px) {

  .impact-report-embed {
    height: 70vh;
    min-height: 420px;
  }

  .impact-report-embed__frame {
    display: none !important;
  }

  .impact-report-embed__viewer,
  .impact-report-embed--mobile-view .impact-report-embed__viewer {
    display: block;
  }

  .impact-report-embed--mobile-view,
  .impact-report-embed[data-pdf-src] {
    height: auto;
    max-height: 75vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== Homepage "Impact at a Glance" section (moved from index.html) ===== */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.impact-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.impact-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.impact-card h3 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.impact-card p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .impact-card {
    padding: 1.5rem 1rem;
  }

  .impact-card h3 {
    font-size: 2rem;
  }
}

/* ===== Homepage "We've Reached" stats section (moved from index.html) ===== */
.weve-reached-section {
  padding: 4rem 0;
  background: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
}

.weve-reached-section h2 {
  font-size: 2.5rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 3rem;
}

.weve-reached-section .impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.weve-reached-section .impact-card:nth-child(4) {
  grid-column: 1 / 2;
}

.weve-reached-section .impact-card:nth-child(5) {
  grid-column: 2 / 3;
}

.weve-reached-section .impact-card:nth-child(6) {
  grid-column: 3 / 4;
}

@media (max-width: 768px) {
  .weve-reached-section .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  /* Let all 6 cards flow in a 2x3 grid - no explicit placement so they align naturally */
  .weve-reached-section .impact-card:nth-child(4),
  .weve-reached-section .impact-card:nth-child(5),
  .weve-reached-section .impact-card:nth-child(6) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .weve-reached-section .impact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .weve-reached-section .impact-card:nth-child(6) {
    grid-column: auto;
    max-width: none;
  }
}

/* Click-to-load embed facades (YouTube / Drive) — no third-party JS until play */
.lite-embed {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b3d5c;
  cursor: pointer;
  isolation: isolate;
}

.lite-embed--portrait {
  width: 180px;
  aspect-ratio: 180 / 240;
  margin: 0 auto;
}

.lite-embed--fluid,
.video-responsive .lite-embed,
.impact-report-embed .lite-embed {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 100%;
}

.impact-report-embed .lite-embed {
  min-height: 100%;
  height: 100%;
}

.lite-embed__poster {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.lite-embed__poster--placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #0b3d5c 0%, #1a6b9a 55%, #0b3d5c 100%);
}

/* Document facades (PDF / Drive docs): page icon, not a video play button */

.lite-embed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 14px;
  pointer-events: none;
}

.lite-embed__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.lite-embed:hover .lite-embed__play,
.lite-embed:focus-visible .lite-embed__play {
  background: #c00;
}

.lite-embed:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lite-embed__label {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  pointer-events: none;
}

.lite-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.news-card.video-card .lite-embed,
.news-section-wrapper .news-card.video-card .lite-embed {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.news-card.video-card.portrait-video-card .lite-embed {
  width: 180px;
  height: 240px;
  aspect-ratio: auto;
  margin: 0 auto;
}
