/* Banner: hero section ("Reflect. Design Yourself. Deliver Value.") */

.banner-group {
  border-radius: 0;
  height: 450px;
  padding: 1em 5em 1em;
  font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
}

.banner-container {
  display: flex;
  max-width: 100%;
  gap: 1%;
}

.banner-content-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: normal;
  width: 56%;
}

.banner-content-wrapper {
  margin-top: 40px;
  margin-right: 30px;
}

.banner-main-heading {
  color: var(--color-gray-700);
  font-size: 42px;
  font-weight: 500;
  margin: 0;
}

.banner-content-details {
  display: flex;
  margin-top: 40px;
  width: 717px;
  max-width: 100%;
  flex-direction: column;
  align-items: start;
  font-size: 16px;
}

.banner-description {
  color: var(--color-gray-900);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.4px;
  margin: 0;
}

.banner-cta-button {
  border-radius: 29px;
  border: 3px solid var(--color-blue-light);
  background-color: transparent;
  margin-top: 25px;
  padding: 16px 27px;
  font-size: 14px;
  color: var(--color-gray-500);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  font-family: inherit;
}

/* Tooltip text styling */
.banner-cta-button::after {
  content: "Coming soon";
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

/* Arrow pointing up to the button */
.banner-cta-button::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

/* Show tooltip and arrow on hover */
.banner-cta-button:hover::after,
.banner-cta-button:hover::before {
  opacity: 1;
  visibility: visible;
}

.banner-cta-button:hover {
  background-color: rgba(107, 201, 239, 0.1);
  transform: scale(1.05);
}

.banner-cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 201, 239, 0.5);
}

.banner-image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  line-height: normal;
  width: 40%;
  max-width: 43%;
  overflow: hidden;
}

.banner-image {
  aspect-ratio: 1.0;
  object-fit: contain;
  object-position: center;
  width: 100%;
  max-width: 100%;
  flex-grow: 1;
  height: auto;
  scale: 1.2;
  transition: transform 0.3s ease;
  /* Smooth transition for scaling */
}

@media (max-width: 991px) {
  /* Text only (the image is hidden): the banner is as tall as its content, so the space before
     the next section is the same on every screen height */
  .banner-group {
    height: auto;
    padding-bottom: 0;
  }

  .banner-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .banner-content-column {
    width: 100%;
  }

  .banner-content-wrapper {
    max-width: 100%;
    margin-top: 30px;
    margin-right: 0px;
  }

  .banner-main-heading {
    max-width: 100%;
    font-size: 30px;
  }

  .banner-content-details {
    margin-top: 40px;
  }

  .banner-description {
    max-width: 100%;
  }

  .banner-cta-button {
    padding: 16px 20px;
    margin-top: 20px;
    position: relative;
    cursor: pointer;
  }

  .banner-image {
    max-width: 100%;
    margin-top: 40px;
  }

  .banner-image-column {
    width: 100%;
    margin-left: 0;
    height: auto;
    max-width: 100%;
    display: none;
  }
}

@media (max-width: 480px) {
  .banner-group {
    padding: 10px 0px 0 55px;
  }
}

@media (max-width: 350px) {
  .banner-group {
    padding-left: 50px;
  }
}
