/* SECTION */
.cta-banner-section {
  background: #fff;
  padding: 60px;
}

/* WRAPPER */
.cta-banner-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 204px; /* Ensures minimum height */
}

/* IMAGE */
.cta-banner-img {
  width: 100%;
  display: block;
  height: auto;
}

/* OVERLAY – IMAGE KE UPAR */
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  z-index: 2;
}

/* LEFT TEXT */
.cta-text-wrapper {
  max-width: 60%;
}

.cta-heading {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-description {
  font-size: 18px;
  color: #fff;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* RIGHT CTA BUTTON */
.cta-button-wrapper {
  flex-shrink: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: #fff;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* IMAGE VISIBILITY */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

/* TABLET */
@media (max-width: 991px) {
  .cta-banner-overlay {
    padding: 30px 40px;
  }

  .cta-text-wrapper {
    max-width: 55%;
  }

  .cta-heading {
    font-size: 32px;
  }

  .cta-description {
    font-size: 16px;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }

  .cta-banner-section {
    padding: 40px 5px !important;
    margin-top: 0 !important;
  }

  .cta-banner-overlay {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 24px 20px;
    gap: 16px;
  }

  .cta-text-wrapper {
    max-width: 70%;
  }

  .cta-heading {
    font-size: 20px;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .cta-description {
    font-size: 13px;
    line-height: 1.4;
    max-width: 90%;
  }

  .cta-button-wrapper {
    width: auto;
    margin-top: 4px;
  }

  .cta-button {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    gap: 6px;
  }
  
  .cta-button svg {
      width: 16px;
      height: 16px;
  }
}
@media (max-width: 576px) {
  .cta-banner-wrapper {
    border-radius: 14px;
    width: 100%;
    height: 100%;
    min-height: 124px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .cta-heading {
    font-size: 16px;
  }

  .cta-description {
    font-size: 13px;
  }
}
