/********** Template CSS **********/
/* 
body {
  font-size: 17px;
} */
:root {
  --bs-tertiary: #797e88;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.mobile-sticky-register {
  display: none;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px;
  }

  .mobile-sticky-register {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
    display: block;
  }

  .mobile-sticky-register .btn {
    border-radius: 0;
    padding: 15px;
    font-weight: 600;
  }

  .back-to-top {
    right: 15px;
    bottom: 76px;
  }
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Top Bar ***/
.top-bar {
  height: 160px;
  padding: 0 90px;
  background: #f5ede4;
}

.top-bar h6 {
  letter-spacing: 1px;
}

/*** Nav Bar ***/
.nav-bar {
  padding: 0 90px;
  transition: 0.5s;
  background: #1a685b;
}

@media (min-width: 992px) {
  .nav-bar .navbar {
    position: relative;
  }

  .nav-bar .navbar-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 20px 0;
  color: #ffffff;
  font-size: 16px;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #ffac00;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 20px;
    border-top: 1px solid var(--bs-white);
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header Carousel ***/
.header-carousel {
  position: relative;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.header-carousel .carousel-img {
  position: relative;
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bs-dark);
  background: var(--bs-primary);
}

.page-header {
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
  color: var(--bs-dark);
}

/*** Video ***/
.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 16px;
  height: 26px;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: var(--bs-dark);
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--bs-dark);
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--bs-dark);
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: -1px;
  border-left: 16px solid var(--bs-white);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: var(--bs-white);
  background: #000000;
  opacity: 1;
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 0px;
  top: 5px;
  left: -40px;
  border-top: 2px solid var(--bs-primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 0px;
  bottom: 6px;
  left: -60px;
  border-bottom: 2px solid var(--bs-primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** About ***/
.about-img {
  position: relative;
}

.about-img::before,
.about-img::after {
  position: absolute;
  content: "";
  width: 33%;
  height: 90px;
  background: var(--bs-white);
}

.about-img::before {
  top: 0px;
  left: 0px;
}

.about-img::after {
  right: 0px;
  bottom: 0px;
}

/*** Service ***/
.service-title {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.service-item {
  overflow: hidden;
}

.service-item .btn-square {
  width: 65px;
  height: 65px;
}

.service-item a {
  position: relative;
  padding: 0;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  transition: 0.5s;
}

.service-item a::after {
  position: absolute;
  content: "";
  width: 500%;
  height: 0;
  left: 100%;
  bottom: 3px;
  margin-left: 10px;
  border-bottom: 2px solid var(--bs-primary);
}

/*** Donation ***/
.donation-item {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.5s;
}

.donation-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.donation-item .donation-progress {
  width: 80px;
}

.donation-item .progress .progress-bar {
  height: 20px;
  overflow: visible;
  transition: 3s;
}

/*** Banner ***/
.banner .banner-inner {
  position: relative;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
}

.banner .banner-inner::before {
  top: 0;
  left: 0;
  border-top: 150px solid var(--bs-primary);
  border-right: 150px solid transparent;
}

.banner .banner-inner::after {
  right: 0;
  bottom: 0;
  border-bottom: 150px solid var(--bs-secondary);
  border-left: 150px solid transparent;
}

/*** Event ***/
.event-item {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.5s;
}

.event-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/*** Donate ***/
.donate .donate-text {
  position: relative;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
}

.donate .donate-text::before {
  top: 0;
  left: 0;
  border-top: 150px solid var(--bs-primary);
  border-right: 150px solid transparent;
}

.donate .donate-text::after {
  right: 0;
  bottom: 0;
  border-bottom: 150px solid var(--bs-secondary);
  border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
  border: none;
  background: rgba(255, 255, 255, 0.5);
}

.donate .donate-form .btn-group {
  display: flex;
}

.donate .donate-form .btn-group .btn {
  margin: 0;
  padding: 0;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--bs-tertiary);
  background: rgba(255, 255, 255, 0.5);
}

.donate .donate-form .btn-group .btn-check:checked + .btn {
  border: none;
  background: var(--bs-white);
}

/*** Team ***/
.team-item {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.5s;
  background: #fff;
}

.team-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.team-item .team-detail span {
  letter-spacing: 2px;
}

/*** Testimonial ***/
.testimonial-title {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.testimonial-img {
  position: relative;
  padding: 45px 0 45px 90px;
}

.testimonial-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: calc(50% + 45px);
  height: 100%;
  background: var(--bs-primary);
  z-index: -1;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 130%;
  left: 0rem;
  transform: translateY(-50%);
  display: flex;
  /* flex-direction: column; */
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
  width: 45px;
  height: 45px;
  margin: 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bs-white);
  background: var(--bs-secondary);
  transition: 0.5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
  color: var(--bs-secondary);
  background: var(--bs-primary);
}

.padding-tops {
  padding-top: 90px;
}

@media (max-width: 768px) {
  .testimonial-carousel .owl-nav {
    top: 18.3rem;
  }

  .padding-tops {
    padding-top: 0px;
  }
}

/*** Footer ***/
.footer {
  color: var(--bs-tertiary);
  background:
    linear-gradient(rgba(5, 19, 17, 0.95), rgba(5, 19, 17, 0.95)),
    url(../img/bg-footer.webp) center center no-repeat;
  background-size: cover;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--bs-tertiary);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-light);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/************************** SPORI CSS START FROM HERE *************************/
.custom-logo img {
  max-width: 190px;
}

.custom-patron img {
  max-height: 130px;
  width: auto;
}

.btn-dark {
  color: #051311;
  background-color: #ffac00;
  border-color: #ffac00;
  padding: 10px;
}

.off-class {
  background-color: #1a685b;
  color: #ffffff;
  padding: 10px;
  font-weight: 600;
}

.banner .fs-5 {
  font-size: 1.4rem !important;
  line-height: 1.6;
}

.banner .reg-text {
  font-size: 1.2rem !important;
  color: #000;
}

.run-marathon {
  position: relative;
  background: url(../img/bg.jpg) center center no-repeat;
  background-size: cover;
}

.running-events .event-item {
  box-shadow: 0 0 30px rgb(241 233 222);
  transition: 0.5s;
  background-color: #fff;
}

.running-events .event-item img {
  border: 1px solid #ffac00;
}

.running-events .event-item .amount {
  font-size: 25px;
  font-weight: 800;
  color: #1a685b;
}

.counter::after {
  content: "%";
  font-size: 20px;
}

.counter-plus::after {
  content: "K+";
  font-size: 35px;
}

.fs-5 {
  font-size: 1.2rem !important;
}

.display-6 {
  font-weight: 700;
  line-height: 1.25;
}

.owl-carousel .owl-item img {
  display: block;
  width: auto;
}

.header-carousel .owl-item img {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.header-carousel:hover .owl-item img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.img-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.zoom-img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio and crop */
  display: block;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.event-item:hover .zoom-img {
  /* transform: scale(1.1); */
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.accordion {
  --bs-accordion-active-bg: #ffffff;
  --bs-accordion-active-color: #000000;
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border: 2px solid #1a685b;
  box-shadow: 5px 5px #1a685b;
}

.accordion-button.collapsed {
  border: 1px solid #d8d8d8;
}

.accordion-collapse {
  transition: all 0.3s;
}

.accordion-button {
  font-size: 1.4rem;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  padding-top: 3px;
}

.bullets p i {
  color: var(--bs-primary);
}

.bullets p {
  margin-bottom: 5px;
}

@media only screen and (max-width: 600px) {
  .custom-logo img {
    max-width: 125%;
    max-height: 80px;
    width: auto;
  }

  .custom-patron img {
    max-height: 70px;
  }

  .header-carousel .owl-nav {
    display: none;
  }
  .top-bar {
    height: 125px;
  }
  .display-1 {
    font-size: calc(1.2em + 3.5vw);
  }
  .fs-5 {
    font-size: 1rem !important;
  }
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 3.1rem;
  }

  .team-h3 h3 {
    font-size: 1.5rem;
  }
}

/*** Hero Slider ***/
.hero-slider-wrapper {
  position: relative;
}

.hero-slider,
.hero-slider .owl-stage-outer {
  width: 100%;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* --site-header-h is set in main.js from the actual top-bar + nav-bar
     height, so the slide fills exactly what's left of the screen instead of
     literal 100vh pushing the CTA button below the fold */
  height: calc(100vh - var(--site-header-h, 0px));
}

.hero-slide img {
  /* .owl-carousel .owl-item img (width: auto) elsewhere in this file otherwise
     wins on specificity and lets each slide fall back to its own aspect ratio */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Ken Burns zoom on the desktop slider only - mobile stays static, no transform */
.hero-slider-desktop .hero-slide img {
  transform: scale(1.08);
  transition: transform 4s ease-out;
}

.hero-slider-desktop .owl-item.active .hero-slide img {
  transform: scale(1);
}

.hero-slider .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 2;
}

.hero-slider .owl-nav .owl-prev,
.hero-slider .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 45px;
  color: var(--bs-dark);
  background: rgba(255, 255, 255, 0.85);
  transition: 0.3s;
}

.hero-slider .owl-nav .owl-prev:hover,
.hero-slider .owl-nav .owl-next:hover {
  background: var(--bs-primary);
}

.hero-slider .owl-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-slider .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}

.hero-slider .owl-dot.active span {
  width: 26px;
  border-radius: 6px;
  background: var(--bs-primary);
}

.hero-slider-cta {
  position: absolute;
  right: 30px;
  bottom: 28px;
  z-index: 3;
  padding: 12px 28px;
}

@media (max-width: 768px) {
  .hero-slide {
    height: calc(70svh - var(--site-header-h, 0px));
  }

  .hero-slider .owl-nav {
    display: none;
  }

  .hero-slider-cta {
    right: 15px;
    bottom: 15px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
/************************** SPORI CSS ENDS HERE *************************/
