html {
  scroll-behavior: smooth;
}

/* START - General */
p {
    font-size: 16px;
    line-height: 28px;
  }

.container, .container-xl, .container-xxl {
    max-width: 1200px !important;
}

.section-spacer {
    padding-top: clamp(60px, 10vh, 120px);
    padding-bottom: clamp(60px, 10vh, 120px);
}

/*HERO SECTION*/
.hero-video-container {
  position: relative;
  width: 100%;     
  height: 800px; 
  overflow: hidden;
}

.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.custom-cta {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  margin-bottom: 20px;
}

.custom-cta::after {
  content: "";
  position: absolute;
  bottom: -2px; 
  left: 0;
  width: 100%; 
  height: 2px;  
  background-color: white;
  transition: width 0.3s ease;
}

.custom-cta:hover::after {
  width: 85%;
}

.anchor-cta {
  position: absolute;
  bottom: 20px; 
  right: 20px;  
  display: flex;
}

.down-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 50px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s ease-out, color 0.3s ease;
}

.down-arrow:hover {
  color: #ffffff;            
  transform: translateY(8px); 
}

@media (max-width: 768px) {
  .hero-video-container {
    height: 400px; 
  }
}

/*SECTION CONTENT*/
.section-spacer-100 {
    padding-top: 100px;    
    padding-bottom: 100px;
}

/* Card Styling */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
  gap: 30px;
  background: #000;
  padding: 50px 0px 0px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #1a1a1c;
  color: white;
  padding: 40px 30px;
  border-radius: 12px;
  position: relative;
  min-height: 250px;
  
  /* Animation Start State */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.visual-img-responsive {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    object-position: center center; 
}

@media (min-width: 768px) {
    .visual-img-responsive {
        aspect-ratio: auto; 
        height: 750px; 
    }
}

/* The Green Top Border */
.top-border {
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 4px;
  background: #00FF63;
  border-radius: 0 0 4px 4px;
}

/* Animation End State */
.stat-card.show {
  opacity: 1;
  transform: translateY(0);
}

.stat-card p { font-size: 14px; line-height: 1.5; }

.tracking-widest {
  letter-spacing: 0.15em;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-gradient-dark {
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.video-side:hover .bg-opacity-50 {
  background-color: rgba(0,0,0,0.8) !important;
  transition: 0.3s;
}

.circle-link {
  transition: opacity 0.3s ease;
}

.circle-link:hover {
  opacity: 0.7; 
}

.arrow-circle {
  width: 30px;
  height: 30px;
  background-color: #989898;
  border-radius: 50%;
  flex-shrink: 0;
}

.circle-link:hover .bi-arrow-right {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

.instructor-card .row {
    display: flex;
    flex-wrap: wrap;
}

.object-fit-cover {
    object-fit: cover;
}

.video-mobile-fix {
    height: 350px; 
}

.video-box {
    transition: transform 0.3s ease;
}

.news-banner {
    /* Ensures the banner looks great on all screens */
    background-attachment: scroll; 
}


@media (max-width: 414px) {
   .stat-card {
        min-height: 100px;
    }
  }

@media (min-width: 768px) {
    .video-container {
        height: 100% !important;
        position: absolute;
    }
      .video-mobile-fix {
        height: auto;
        min-height: 100%;
    }

}

/*Accordian*/
.custom-accordion .accordion-button::after {
    display: none; 
}

.custom-accordion .accordion-button {
    padding-left: 0;
    padding-right: 0;
}

.custom-accordion .accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-button.collapsed .accordion-icon {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-item {
    border-top: none;
}


/* Zoom out image effects */
@keyframes parallaxSlideUp {
  from {
    transform: translateY(100px); 
    opacity: 0.6; 
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-up-offset {
  animation: parallaxSlideUp linear both;
  animation-timeline: view();
  
  animation-range: entry 0% cover 40%;
}
