/* Hero Slider Section */
.business-hero-section {
  margin-bottom: 2rem;
}

.hero-slider-container {
  position: relative;
  width: 100%;
}

.splide {
  width: 100%;
}

.slider-image {
  object-fit: cover;
  border-radius: 12px;
}

/* Form Container */
.form-container {
  background-color: white;
  border-radius: 16px;
  padding: 1em;

}

.form-container h2 {
  color: var(--black-text);
  font-size: 1.8rem;
  margin: 0.5em;
  text-align: center;
}

.form-container form {
  gap: 1rem;
}

.form-container input {
  margin: unset;
}



.form-container .message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}




/* Desktop: Absolute positioning on the right */
@media (min-width: 1000px) {
  .form-container {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 320px;
    height: auto;
    min-height: 380px;
    z-index: 10;

  }
}

/* Mobile: Below the slider */
@media (max-width: 1000px) {
  .hero-slider-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-container {
    width: 100%;
    margin-top: 1rem;
    border: 1px solid var(--gray);
  }

  .form-container form {
    gap: 0.5em;
  }

  .form-container .custom-btn {
    margin-top: 1em;
  }

}







/* service type */
.business-type {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.business-type h1 {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: left;
  color: var(--white);
  margin: 0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 120px;
  cursor: pointer;
}

.business-type h1:nth-child(1) {
  flex: 1;
  background:
    linear-gradient(to right, var(--primary-orange), rgba(134, 43, 174, 0)),
    url("/static/backgrounds/fiber-internet.webp");
  background-size: cover;
  background-position: center;

}

.business-type h1:nth-child(2) {
  flex: 1;
  background:
    linear-gradient(to right, var(--primary-orange), rgba(134, 43, 174, 0)),
    url("/static/backgrounds/multi-office.webp");
  background-size: cover;
  background-position: center;

}


@media (max-width: 1000px) {
  .business-type {
    flex-direction: column;
  }
}




/* why us */


/* --- Main Container Styles --- */

.why-us-section {
  background-image: 
    url('/static/backgrounds/circular-gradient.svg'),
    url('/static/backgrounds/circular-gradient.svg');
  background-position: 
    left center,
    right 40%;
  background-repeat: no-repeat, no-repeat;
  background-size: 50% 200%, 50% 200%;
  min-height: 600px;
  display: flex;
  align-items: center;
}
  

.why-us-container {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
}



/* content layer */
.why-us-container > * {
  position: relative;
  z-index: 1; /* keeps content above blending */
}
@media (min-width: 768px) {
  .why-us-container {
    padding: 3rem;
    /* 48px */
  }
}

/* --- Pill Styles --- */
.why-us-pill {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1em 0.3em;
  /* 16px */
  border-radius: 9999px;
  /* Fully rounded */
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out;
  height: 80px;
}



/* background layer */
.why-us-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.8)
  );
  mix-blend-mode: plus-lighter;
  opacity: 100%;
  border: 1px solid rgba(255,255,255,0.6);
  z-index: 0; /* sits behind content */
  transition: all 0.3s ease-in-out;
}

/* content layer */
.why-us-pill .pill-icon-bg,
.why-us-pill .pill-icon,
.why-us-pill .pill-text-content,
.why-us-pill .pill-title,
.why-us-pill .pill-description {
  position: relative;
  z-index: 1; /* keeps content above blending */
}

.why-us-pill:hover {
  transform: scale(1.05);
}


.pill-icon {
  width: 70px;
  /* 32px */
  height: 70px;

}

.pill-text-content {
  margin-left: 0.6rem;
  /* 16px */
}

.pill-title {
  font-weight: 600;
  color: var(--black-text);
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.pill-description {
  font-size: 10px;
  color: #5A606F;
}

/* Mobile styles for pills - 2 per row */
@media (max-width: 767px) {
  .why-us-section {
    min-height: auto;
    background-image: url('/static/backgrounds/circular-gradient.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 500% 150%;
    padding: 2em 0.5em;
  }
  .why-us-container {
    padding: 0.5em;
  }
  .why-us-pill {
    padding: 0.8em 0.2em;
    height: 70px;
  }
  
  .pill-icon {
    width: 60px;
    height: 60px;
  }
  
  .pill-text-content {
    margin-left: 0.4rem;
  }
  
  .pill-title {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }
  
  .pill-description {
    font-size: 0.7rem;
    line-height: 1.5;
  }
}

