:root {
  --primary-green: #66b721;
  --light-green: #f2fff2;
  --bg-green: #e5ffe5;
  --primary-purple: #5a509a;
  --blue: #61b7bd;
  --dark-gray: #444;
}

.green {
  color: var(--primary-green);
}

.purple {
  color: var(--primary-purple);
}

.dark-gray {
  color: var(--dark-gray);
  font-family: "Montserrat", sans-serif;
}

.bg-light-gray {
  background-color: #f5f5f5;
}

.bg-light-green {
  background-color: var(--light-green);
}

.bg-green {
  background-color: var(--bg-green);
}

.bg-light-green-green {
  background-color: var(--bg-green);
}

@media (min-width: 768px) {
  .bg-light-green-green {
    background: linear-gradient(
      to right,
      var(--light-green) 50%,
      var(--bg-green) 50%
    );
  }
}

.bg-dark-gray {
  background-color: var(--dark-gray);
}

.bg-purple {
  background-color: var(--primary-purple);
}

.bg-magenta {
  background-color: #fcefff;
}

body {
  font-family: "Raleway", sans-serif !important;
  font-weight: 400;
  color: var(--dark-gray);
  overflow-x: hidden;
}

body p {
  font-size: 16px;
}

body h2 {
  font-size: 30px;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: var(--primary-green);
}

.btn-purple {
  background-color: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 60px;
  padding-left: 30px;
  padding-right: 30px;
  border: 1px solid var(--primary-purple);
  box-sizing: border-box;
}

.btn-purple:hover {
  background-color: white;
  color: var(--primary-purple);
  border: 1px solid var(--primary-purple);
  box-sizing: border-box;
}

.btn-white {
  background-color: white;
  color: var(--primary-purple);
  border: none;
  border-radius: 60px;
  padding-left: 30px;
  padding-right: 30px;
  border: 1px solid var(--primary-purple);
  box-sizing: border-box;
  text-shadow: none !important;
}

.btn-white:hover {
  background-color: var(--primary-purple);
  color: white;
  border: 1px solid var(--primary-purple);
  box-sizing: border-box;
}

.hcp-banner {
  background: linear-gradient(
    172deg,
    #160c53 8%,
    #5c50a1 51%,
    #61b7bd 75%,
    #5fcd79 96%
  );
  color: white;
  border: none;
  text-shadow: 1px 1px gray;
  position: relative;
  z-index: 10;
}

.header-container {
  background-image: url("../images/fembloc-header-index.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 56.25%; /* creates a 16:9 aspect ratio*/
  position: relative;
}

.insemination-hero {
  background-image: url("../images/fembloc-pbc-hero.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 26.25%; /* This creates a 16:9 aspect ratio - adjust this value based on your image's actual ratio */
  position: relative;
}

.about-hero {
  background-image: url("../images/women-outside-hero.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 26.25%; /* This creates a 16:9 aspect ratio - adjust this value based on your image's actual ratio */
  position: relative;
}

.faqs-hero {
  background-image: url("../images/header-faq.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 26.25%; /* This creates a 16:9 aspect ratio - adjust this value based on your image's actual ratio */
  position: relative;
}

.resources-hero {
  background-image: url("../images/header-resources.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 26.25%; /* This creates a 16:9 aspect ratio - adjust this value based on your image's actual ratio */
  position: relative;
}

.contact-hero {
  background-image: url("../images/header-contact.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 26.25%; /* This creates a 16:9 aspect ratio - adjust this value based on your image's actual ratio */
  position: relative;
}

.header-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  padding-left: 100px;
  max-width: 800px;
  color: var(--dark-gray);
}

.header-overlay h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 52px;
  margin-bottom: 2rem;
}

.white-swoop {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.green-swoop {
  max-width: 100%;
  z-index: 1;
}

/* Mobile specific adjustments for header */
@media (max-width: 768px) {
  .header-container {
    padding-top: 75%; /* Adjust aspect ratio for potentially taller mobile view */
    background-position: center 30%; /* Adjust background position if needed */
  }

  .insemination-hero {
    padding-top: 100%; /* Adjust aspect ratio for potentially taller mobile view */
    background-position: 68% center; /* Position slightly right of center (60% from left) */
    position: relative; /* For overlay positioning */
  }

  .about-hero {
    padding-top: 80%; /* Adjust aspect ratio for potentially taller mobile view */
    background-position: 20% center; /* Position slightly right of center (60% from left) */
    position: relative; /* For overlay positioning */
  }

  .mobile-black {
    color: black;
  }

  .white-mobile {
    color: white;
  }

  .header-overlay {
    padding-left: 20px; /* Reduce left padding */
    padding-right: 20px; /* Add some right padding */
    max-width: 90%; /* Allow overlay to take more width */
    text-align: left; /* Center text */
    top: 60%; /* Keep vertical centering */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .white-mobile-shadow {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
  }

  .header-overlay h1 {
    font-size: 1.8rem; /* Reduce font size significantly */
    margin-bottom: 1.5rem; /* Adjust margin */
  }
}

.bg-dark-gray {
  background-color: var(--dark-gray);
}

/* Override Bootstrap Carousel Icons Color */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23444'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23444'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.fw-900 {
  font-weight: 900;
}

.text-green {
  color: var(--primary-green);
}

.green-swoop-container {
  min-height: 400px;
}

@media (max-width: 768px) {
  .green-swoop-container {
    min-height: 200px;
  }
}

#testimonialCarousel .carousel-indicators button {
  background-color: #d3d3d3; /* Light gray for inactive dots */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
}
#testimonialCarousel .carousel-indicators .active {
  background-color: #333; /* Darker gray/black for active dot */
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 5%; /* Adjust width of the control area */
}

/* Style for the card */
#testimonialCarousel .card {
  max-width: 800px; /* Adjust max-width as needed */
  margin: auto; /* Center the card */
}

/* Custom styling for accordion */
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--dark-gray);
}

.accordion-button {
  border: none;
  padding: 1.5rem 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-body-color);
  background-color: white;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: white;
  box-shadow: none;
  border: none;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.accordion-item:last-of-type {
  border-bottom: 1px solid var(--dark-gray);
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#hcpModalButton {
  border: none !important;
  background-color: transparent !important;
}

.procedure-step-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
