:root {
  --blue-dark: #0a0e2a;
  --blue-light: #0d6efd;
  --green-light: #e6f6ee;
  --green-dark: #28a745;
  --text-color: #333;
  --light-gray: #f8f9fa;
}

/* Hero Section 1 */
.hero-section1 {
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background: linear-gradient(70deg, #0057d8 0%, #7ac943 115.66%);
  overflow: hidden;
}

.hero-section1 .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

.hero-section1 h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-section1 p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fff;
}

.hero-section1 .btn-wh1 {
  background-color: var(--blue-light);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.3rem;
  font-weight: 600;
}

.hero-section1 .btn-wh1:hover {
  background-color: #0b5ed7;
}

.hero-section1 .btn-wh {
  border: 1px solid var(--blue-light);
  color: var(--blue-light);
  padding: 0.75rem 2rem;
  border-radius: 0.3rem;
  font-weight: 600;
}

.hero-section1 .btn-wh:hover {
  background-color: var(--blue-light);
  color: white;
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Take your programs to the next level section */
.light-bg-section {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.custom-headline-color {
  color: var(--blue-dark);
}

.feature-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--blue-dark);
}

.feature-icon {
  color: var(--blue-light);
  font-size: 1.8rem;
  margin-right: 0.75rem;
}

.feature-title {
  text-transform: capitalize;
}

.custom-description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Allows description to take up available space */
}

.text-blue-light {
  color: var(--blue-light) !important;
}

.text-blue-light:hover {
  text-decoration: underline !important;
}

/* Testimonial Section */
.testimonial-section {
  background-color: #e6f6ee;
  padding: 5rem 0;
  color: var(--blue-dark);
}

.testimonial-img-box img {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.testimonial-content h2 {
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.testimonial-content a {
  color: var(--green-dark) !important;
  font-weight: bold;
}
.testimonial-content a:hover {
  text-decoration: underline !important;
}

/* Logo Carousel Section */
.logo-carousel-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  overflow: hidden; /* Hide overflowing logos */
}

.logo-carousel-section .section-title {
    color: #000000;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.logo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.logo-carousel-track {
  display: flex;
  width: calc(200px * 14); /* Number of logos * logo width */
  animation: scroll-left 40s linear infinite;
}

.logo-item {
  flex-shrink: 0;
  width: 200px; /* Adjust as needed */
  height: 70px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%) brightness(200%); /* Adjust for white logos on dark background */
  opacity: 0.7;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 7));
  } /* Half of total logos for seamless loop */
}

/* Resources Section */
.resources-section {
  background-color: var(--blue-light);
  padding: 5rem 0;
  position: relative;
}

.resources-section h2 {
  font-size: 2.5rem;
  font-weight: normal;
}

.resource-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card img {
  width: 100%;
  height: 180px; /* Fixed height for resource images */
  object-fit: cover;
}

.resource-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.resource-card-body p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--blue-dark);
  flex-grow: 1;
}

.resource-card-body .read-more {
  color: var(--blue-light);
  font-weight: bold;
  text-decoration: none;
  align-self: flex-start;
}
.resource-card-body .read-more:hover {
  text-decoration: underline !important;
}

.resources-section .carousel-control-prev,
.resources-section .carousel-control-next {
  width: 5%;
}
.resources-section .carousel-control-prev-icon,
.resources-section .carousel-control-next-icon {
  filter: brightness(0) invert(1); /* Make arrows white */
}

/* Unlock Section */
.Unlock .tool-icon-box {
  text-align: center;
  margin-bottom: 2rem;
}

.Unlock .tool-icon {
  font-size: 2.5rem;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.Unlock .tool-icon-box p {
  font-weight: bold;
  color: var(--blue-dark);
}

.form-panel {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blue-sidebar {
  background-color: #0057d8;
  padding: 2.5rem;
  color: white;
}

.blue-sidebar h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
}

.blue-sidebar ul {
  padding-left: 0;
  list-style: none;
}

.blue-sidebar ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
}

.blue-sidebar ul li i {
  margin-right: 0.75rem;
  color: var(--green-dark); /* Checkmark color */
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.demo-form {
  padding: 2.5rem;
}

.demo-form .form-control, .demo-form .form-select {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
}

.demo-form .form-control::placeholder {
  color: #6c757d;
}
.nice-select:before {
    position: absolute;
    content: "\e913";
    font-family: "icomoon";
    top: 1px;
    right: 25px;
    font-size: 8px;
    display: none;
}
.demo-form .btn-wh1 {
  background-color: var(--blue-light);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.3rem;
  font-weight: 600;
  width: auto;
}
.demo-form .btn-wh1:hover {
  background-color: #0b5ed7;
}

@media (max-width: 991.98px) {
  .hero-section1 .text-lg-start {
    text-align: center !important;
  }
  .hero-section1 .justify-content-lg-start {
    justify-content: center !important;
  }
  .hero-section1 h1 {
    font-size: 2.5rem;
  }
  .testimonial-section .col-md-5,
  .testimonial-section .col-md-7 {
    text-align: center;
  }
  .testimonial-section .ps-md-5 {
    padding-left: 0 !important;
  }
  .testimonial-content h2 {
    font-size: 1.8rem;
  }
  .logo-carousel-track {
    animation: scroll-left-md 40s linear infinite;
  }
  @keyframes scroll-left-md {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 7));
    }
  }
}

@media (max-width: 767.98px) {
  .hero-section1 h1 {
    font-size: 2rem;
  }
  .hero-section1 .btn-top {
    flex-direction: column;
    align-items: center;
  }
  .hero-section1 .btn-wh1,
  .hero-section1 .btn-wh {
    width: 80%;
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
  .testimonial-section .testimonial-img-box {
    margin-bottom: 2rem;
  }
  .logo-carousel-track {
    animation: scroll-left-sm 30s linear infinite;
  }
  @keyframes scroll-left-sm {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 7));
    } /* Adjusted for smaller screens if logo-item width changes */
  }
  .resources-section .carousel-control-prev,
  .resources-section .carousel-control-next {
    display: none; /* Hide carousel controls on small screens */
  }
  .resource-card img {
    height: 150px;
  }
  .form-panel .blue-sidebar,
  .form-panel .demo-form {
    padding: 1.5rem;
  }
  .demo-form .row.mb-3 > div,
  .demo-form .row.mb-4 > div {
    margin-bottom: 1rem;
  }
  .demo-form .row.mb-3 > div:last-child,
  .demo-form .row.mb-4 > div:last-child {
    margin-bottom: 0;
  }
}
