html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  background-color: #f7f9fa;
}

section {
  margin-bottom: 20px;
}

footer {
  text-align: center;
  font-size: 14px;
  background-color: #0066ff;
  color: #f7f9fa;
  padding: 20px;
  margin-top: 50px;
}

footer a {
  color: #f7f9fa;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}

.navbar {
  background-color: #267dff9f;
}

.navbar .navbar-brand {
  color: #1e1e1e;
  font-weight: 600;
}

.navbar .nav-link {
  font-weight: 500;
  color: #1e1e1e;
}

.navbar.scrolled {
  background-color: #f7f9fa !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: #f97316;
}

.hero .btn-custom,
.about .btn-custom,
.programs .program-btn {
  background-color: #f97316;
  color: #1e1e1e;
  font-weight: 600;
}

.hero .btn-custom,
.about .btn-custom,
.programs .programs-cta-btn {
  padding: 10px 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.programs .program-btn {
  padding: 8px 15px;
  width: 100%;
}

.programs .programs-cta-btn,
.contact .btn-custom {
  background-color: #0066ff;
  color: #f7f9fa;
  font-weight: 600;
}

.hero .btn-custom:hover,
.about .btn-custom:hover,
.programs .btn-custom:hover,
.contact .btn-custom:hover {
  background-color: #1e1e1e;
  color: #f7f9fa;
}

.hero {
  min-height: 100vh;
  background-color: #0066ff;
  color: #f7f9fa;
  margin: 0 auto;
}

.hero h1 {
  font-size: 60px;
  margin: 40px 0;
}

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

.hero .hero-secondary-cta {
  font-size: 18px;
}

.hero-img {
  border-radius: 8px;
}

.about {
  position: relative;
  padding-left: 40px;
  margin: 30px auto;
  max-width: 900px;
}

.about::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 12px;
  background-color: #f97316;
}

.about h2,
.programs h2,
.testimonials h2,
.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about h3 {
  margin-bottom: 20px;
}

.about p,
.programs p {
  margin: 20px;
}

.credentials,
.program-card-list {
  display: inline-block;
  text-align: left;
}

.credentials li::marker,
.program-card-list li::marker {
  color: #f97316;
}

.programs {
  max-width: 900px;
  margin: 0 auto;
}

.programs h3 {
  font-size: 30px;
  padding: 5px;
}

.programs h4 {
  font-size: 20px;
  color: #f97316;
  font-weight: 700;
}

.programs .card {
  max-width: 375px;
  margin: 0 auto;
  border: none;
  box-shadow: none;
}

.programs .card-title {
  background-color: #0066ff;
  color: #f7f9fa;
  padding: 15px 20px;
  margin: -20px -20px 20px -20px;
  border-radius: 6px 6px 0 0;
  border-bottom: 4px solid #f97316;
}

.programs .expanding-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  margin-top: 15px;
  padding-top: 15px;
}

.programs .expanding-divider {
  border: none;
  height: 2px;
  background-color: #f97316;
  margin: 0 0 20px 0;
}

.programs .expanding-content.expanded {
  max-height: 500px;
}

.program-btn {
  margin-top: 15px;
}

.programs .col-md-4.has-expanded-card {
  align-self: flex-start !important;
  height: auto !important;
}

.testimonials {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.testimonials-item {
  max-width: 350px;
  margin: 0 auto;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-quote {
  font-size: 20px;
  font-style: italic;
  color: #0066ff;
}

.testimonials-name {
  font-size: 18px;
}

.nav-btn {
  border: none;
  background-color: #1e1e1e13;
  font-size: 20px;
}

.contact {
  max-width: 400px;
  margin: 0 auto;
  margin-top: 60px;
  background-color: #f97316;
  padding: 10px;
  border-radius: 6px;
}

.contact-form label {
  font-weight: 600;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f7f9fa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  text-align: center;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

@media (max-width: 1024px) {
  .hero h1 {
    margin-top: 60px;
    font-size: 54px;
  }
}

@media (max-width: 992px) {
  .hero-img {
    max-height: 350px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 20px 0;
  }

  .hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
  }

  .hero-content-text {
    margin-bottom: 30px;
  }

  .programs .col-md-4 {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .contact {
    max-width: 600px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero .row {
    flex-direction: column;
    gap: 20px;
  }

  .hero .col-lg-6 {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .hero-content-text {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero .row {
    flex-direction: column;
  }

  .hero .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-content-text {
    max-width: 600px;
    margin: 0 auto 30px auto;
  }
}
