
.business-hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(to bottom, var(--purple-nav), rgba(134, 43, 174, 0)),
    url("/static/backgrounds/business-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  min-height: 400px;
}



.content {
  background-color: var(--deep-purple-two);
  padding: 1.5em;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  max-width: 400px;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 500;

}

.form-container {
  background: var(--white);
  padding: 1em;
  border-radius: 10px;
  width: 300px;
  margin-right: 2em;
}

.form-container h2 {
  font-size: 1rem;
  color: var(--purple-primary);
  text-align: center;
}

/* Form Styles */


form input {
  border: none;
  outline: none;
  background-color: var(--gray-light);
  border-radius: 5px;
  margin: 0.2em 0em 0.2em 0em;
  padding: 0.5em;
}

form button {
  padding: 0.5em;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: var(--purple-nav);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.2em;
}

form button:hover {
  background-color: #4b1a9c;
  /* Darker purple for hover */
}

.message {
  color: green;
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;

}



/* 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(--purple-nav), 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(--purple-nav), rgba(134, 43, 174, 0)),
    url("/static/backgrounds/multi-office.webp");
  background-size: cover;
  background-position: center;

}


/* why us cards */
.why-us-card {
  height: 80px;
  padding: 0.8em;
}

.why-us-card .text .subtext {
  font-weight: 300;
  font-size: 0.7rem;
}




/* images grid */
.client-layout {
  display: flex;
  flex-direction: column;

}

.client-section {
  display: flex;
  justify-content: space-around;
}

.client-section img {
  filter: grayscale(100%); 
  transition: filter 0.3s ease;
}

.client-section img:hover {
  filter: grayscale(0%);

}

.client-section.top,
.client-section.bottom {
  flex: 1;
  align-items: flex-start;
  display: flex;
  justify-content: center;
}

.client-section.middle {
  flex: 1;
  align-items: center;
  display: flex;
  justify-content: center;
}

.client-layout img {
  width: 200px;
  height: 200px;
  padding: 1.5em;
}

.client-section.top img:nth-child(-n+4) {
  border-right: 1px solid #ccc; 
  border-bottom: 1px solid #ccc; 
}


.client-section.top img:last-child {
  border-bottom: 1px solid #ccc;
}


.client-section.middle img {
  border-left: 1px solid #ccc;
}

.client-section.middle img:last-child {
  border-right: 1px solid #ccc;
}

.client-section.bottom img:nth-child(-n+4) {
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.client-section.bottom img:last-child {
  border-top: 1px solid #ccc;
}



@media (width < 1050px) {
  .business-hero-section {
    flex-direction: column;
    justify-content: center;
    padding: 1em;
  }

  .content {
    padding: 0.8em;
    margin: 1em;
    border-radius: 10px;
    width: 400px;
    text-align: center;
  }

  .content h2 {
    font-size: 1rem;

  }

  .content h1 {
    font-size: 1.5rem;
  }

  .form-container {
    margin: unset;
    width: 400px;
  }

  .client-layout img {
    height: 100px;
    width: 100px;
    padding: 1em;
  }
}


@media (width < 768px) {
  .business-type {
    flex-direction: column;
    gap: 0.5em;
  }
}


@media (width < 600px) {
  .content {
    width: 300px;
  }

  .form-container {
    width: 300px;
  }

  .why-us-card {
    width: 100%;
    height: auto;
  }

  .client-layout img {
    height: 70px;
    width: 70px;
    padding: 0.5em;
  }
}