
/* Banner */
.banner {
  display: flex;
  width: 100%;
  position: relative;
  align-items: center;
  background-color: #f5f5f5;
  overflow: visible;
  height: 130px;
  margin-top: 25px;

}

.banner-left {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/banner.webp');

  background-size: cover;
  background-position: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75%;
  height: 180px;
  align-self: center;
}

.banner-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #15438c;
  transition: transform 1s ease;
  z-index: 0;
  transform: translateX(0);
  clip-path: inherit;
}

.banner-left.active::before {
  transform: translateX(-100%);
}

.banner-text {

  color: rgb(255, 255, 255);
  text-align: center;
  padding: 20px;
  z-index: 1;
  text-shadow: #000000;
  font-weight: 900;
}

.main-heading {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-right {
  flex: 1;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
  padding: 5px 20px;
  min-height: 0;
}

.cta-container {
  display: flex;
  gap: 15px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cta-link {
  text-decoration: none;
  width: fit-content;
}

.cta-button {
  background-color: #15438c;
  color: white;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #15438c;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
}

.cta-button:hover {
  background-color: white;
  color: #15438c;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
