/* Banner Widget Styles */
.pravalli-banner-container {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pravalli-banner-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.pravalli-banner-bg-slide {
  position: absolute;
  top: 0;
  left: 30%;
  width: 70%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.pravalli-banner-bg-slide.active {
  opacity: 1;
}

.pravalli-banner-bg-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  z-index: 2;
}

.pravalli-banner-static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #071738 50%, transparent 50%);
  z-index: 3;
  opacity: 1; /* Adjust this value to control the overlay effect */
  pointer-events: none; /* Allows clicks to pass through */
}

.pravalli-banner-content {
  position: relative;
  z-index: 3; /* Ensure content is above both backgrounds */
  /* padding: 40px; */
  width: 30%;
  /* margin: auto 10%; */
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
  margin-left: 10%;
}

.pravalli-banner-heading {
  font-size: 96px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0px !important;
  color: #fff;
}

.pravalli-banner-heading > span {
  color: #4caf50;
  display: inline;
}

.pravalli-banner-subheading {
  font-size: 20px;
  font-weight: 500;
  margin: 0px !important;
  padding: 12px 0px;
  position: relative;
  bottom: 8px;
  width: max-content;
  height: auto; /* Changed from 100% to auto */
  color: #fff;
}

.pravalli-banner-subheading-container {
  width: max-content;
  height: auto; /* Changed from 100% to auto */
  color: #fff;
  position: relative;
  padding: 20px 32px;
  background-image: url("../../../../Pravalli/assets/images/comment.png");
  background-size: contain; /* Changed from 100% 100% to contain */
  background-repeat: no-repeat;
  background-position: center;
  overflow: visible;
}

.pravalli-banner-text {
  font-size: 16px;
  line-height: 1.6;
}

.pravalli-button {
  display: inline-block;
  width: max-content;
  padding: 12px 24px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pravalli-button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 768px) {
  .pravalli-banner-container {
    min-height: 400px;
  }

  .pravalli-banner-content {
    padding: 30px;
    max-width: 90%;
  }

  .pravalli-banner-heading {
    font-size: 28px;
  }

  .pravalli-banner-subheading {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .pravalli-banner-content {
    padding: 20px;
    width: 100%;
  }

  .pravalli-banner-heading {
    font-size: 24px;
  }

  .pravalli-banner-subheading {
    font-size: 18px;
  }

  .pravalli-button {
    padding: 10px 20px;
  }
}

@media (max-width: 1200px) {
  .pravalli-banner-container {
    min-height: 350px;
    width: 100%;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .pravalli-banner-content {
    width: 100% !important;
  }

  .pravalli-banner-static-bg {
    background: #071738;
    z-index: 3;
    opacity: 1; /* Adjust this value to control the overlay effect */
    pointer-events: none; /* Allows clicks to pass through */
  }
}
