/* Declaring Custom Fonts */
@font-face {
  font-family: "PP Formula Condensed";
  font-style: normal;
  font-weight: normal;
  src: local("PP Formula Condensed Bold"),
    url("/assets/fonts/FormulaCondensed-Bold.woff") format("woff");
}

@font-face {
  font-family: "PP Neue Montreal TT";
  font-style: normal;
  font-weight: normal;
  src: local("PP Neue Montreal TT"),
    url("/assets/fonts/ppneuemontreal-book.woff") format("woff");
}

/* General Styling */
* {
  scroll-behavior: smooth;
}

/* Preloader */
.preloader {
  transition: all 1s ease;
}

.preloader.active {
  top: -100%;
  opacity: 0;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header Section */
.header {
  transition: all 0.5s ease;
  border: 1px solid transparent;
}

.header.active {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 4px;
  padding-bottom: 4px;
}

.header ul li a {
  transition: all 0.5s ease;
}

.header.active ul li a {
  color: #000;
}

.header.active ul li a::before {
  background-color: #000;
}

.header a.partner:hover {
  color: #fff;
  border: 1px solid #fff;
}

.header.active a.partner:hover {
  color: #000;
  border: 1px solid #000;
}

/* Hamburger */
.hamburger-bar-1.translate {
  transform: translateY(0px) !important;
  transition: 0.3s ease;
}

.hamburger-bar-2.translate {
  transform: translateY(0px) !important;
  transition: 0.3s ease;
}

.hamburger-bar-1.reduce {
  width: 0%;
  transition: 0.3s ease;
  align-self: flex-start;
}
.hamburger-bar-2.reduce {
  width: 0%;
  transition: 0.3s ease;
  align-self: flex-end;
}

.hamburger-bar-1.raise {
  transform: translateY(-14px) translateX(14px) rotate(-48deg);
  transition: 0s;
  width: 0;
}

.hamburger-bar-2.raise {
  transform: translateY(-14px) translateX(-14px) rotate(48deg);
  transition: 0s;
  width: 0;
}

.hamburger-bar-1.rotate {
  transform: translateY(4px) rotate(0deg);
  width: 70%;
}

.hamburger-bar-2.rotate {
  transform: translateY(-4px) rotate(0deg);
  width: 70%;
}

.hamburger-bar-1.draw-bar {
  transform: translateY(4px) rotate(-48deg);
  width: 70%;
  transition: 0.4s ease;
  transition-delay: 0.15s;
  align-self: initial;
}

.hamburger-bar-2.draw-bar {
  transform: translateY(-4px) rotate(48deg);
  transition: 0.4s ease;
  width: 70%;
  align-self: initial;
}

.mobile-nav.active {
  left: 0;
}

/* Hero Section */
.background .video {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  will-change: opacity;
}

.hero-text-1 {
  animation: fade-up 1s 3.1s ease-in-out;
  animation-fill-mode: backwards;
}

.hero-text-2 {
  animation: fade-up 1s 3.4s ease-in-out;
  animation-fill-mode: backwards;
}

.hero-text-3 {
  animation: fade-up 1s 3.7s ease-in-out;
  animation-fill-mode: backwards;
}

.hero-text-4 {
  animation: fade-left 1s 1s ease;
  animation-fill-mode: backwards;
}

.hero-text-5 {
  animation: fade-up 1s 0s ease-in-out;
  animation-fill-mode: backwards;
}

.hero-text-6 {
  animation: fade-up 1s 0.3s ease-in-out;
  animation-fill-mode: backwards;
}

/* Mission Section */
.founder-image {
  aspect-ratio: 9/10;
  object-fit: cover;
  -o-object-fit: cover;
}

/* Program Section */
.program-container::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

@media screen and (min-width: 640px) {
  .program-container {
    margin-left: calc((100vw - 640px) / 2);
  }
}

@media screen and (min-width: 768px) {
  .program-container {
    margin-left: calc((100vw - 768px) / 2);
  }
}

@media screen and (min-width: 1024px) {
  .program-container {
    margin-left: calc((100vw - 1024px) / 2);
  }
}

@media screen and (min-width: 1280px) {
  .program-container {
    margin-left: calc((100vw - 1280px) / 2);
  }
}

@media screen and (min-width: 1536px) {
  .program-container {
    margin-left: calc((100vw - 1536px) / 2);
  }
}

.program-image {
  aspect-ratio: 16/12;
  object-fit: cover;
  -o-object-fit: cover;
}

.overlay-image-1 {
  background: url("/assets/images/overlay-1.png") no-repeat center center;
  background-size: cover;
}

.overlay-image-2 {
  background: url("/assets/images/overlay-2.png") no-repeat center center;
  background-size: cover;
}

.overlay-image-3 {
  background: url("/assets/images/overlay-3.jpg") no-repeat center center;
  background-size: cover;
}

.overlay-1.show {
  pointer-events: auto;
  transform: translateX(0%);
}

.overlay-1.show .overlay-box-1 {
  pointer-events: auto;
  transform: scale(1);
}

.overlay-1 .overlay-box-1 {
  transform: scale(0);
}

.overlay-2.show {
  pointer-events: auto;
  transform: translateX(0%);
}

.overlay-2.show .overlay-box-2 {
  pointer-events: auto;
  transform: scale(1);
}

.overlay-2 .overlay-box-2 {
  transform: scale(0);
}

.overlay-3.show {
  pointer-events: auto;
  transform: translateX(0%);
}

.overlay-3.show .overlay-box-3 {
  pointer-events: auto;
  transform: scale(1);
}

.overlay-3 .overlay-box-3 {
  transform: scale(0);
}

/* Testimonial Section */
.testimonial-selector .number {
  text-anchor: middle;
}

.testimonial-selector:hover .circle-bg {
  stroke: #ee6357;
}

.testimonial-selector.active {
  pointer-events: none;
}

.testimonial-selector.active .number {
  fill: #000;
}

.testimonial-selector.active .circle {
  stroke: #ee6357;
  animation: progress 90s linear forwards;
}

.more {
  display: none;
}

.read-more {
  color: #ee6357;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.read-more:hover {
  text-decoration: none;
}

/* Gallery Section */
.swiper {
  width: 100%;
  padding-bottom: 100px !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  -o-object-fit: cover;
  aspect-ratio: 16/9;
}

@media screen and (min-width: 1024px) {
  .swiper-slide img {
    height: 500px;
  }
}

.swiper-scrollbar {
  max-width: 1024px;
  left: 50% !important;
  transform: translateX(-50%);
}

/* Form */
.submit-btn::before {
  transition: all 0.3s ease;
}

.iti {
  display: block !important;
}

/* Transitions */
.transition-normal {
  transition: all 0.3s ease;
}

.transition-slow {
  transition: all 0.5s ease-in-out;
}

/* Animations */

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-in-out;
}

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Animations Keyframes */
@keyframes fade-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}
