/* Floating CTA Banner Styles */

.floating-cta-wrapper {
  position: relative;
  z-index: 1000;
  background-color: transparent; /* Ensure transparent background so it blends with previous section */
}

.floating-cta-wrapper .container {
  padding-top: 15px;
  padding-bottom: 15px;
}



.floating-cta {
  display: block !important;
  position: relative;
  margin-bottom: -45px;
}

.floating-cta-inner {
  background: linear-gradient(135deg, #43bfe3 0%, #2a9fd6 100%);
  color: white;
  border-radius: 12px;
  padding: 50px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

/* Decorative rectangles */
.floating-cta-inner::before,
.floating-cta-inner::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.floating-cta-inner::before {
  width: 120px;
  height: 120px;
  top: -30px;
  left: 5%;
  transform: rotate(25deg);
}

.floating-cta-inner::after {
  width: 80px;
  height: 80px;
  bottom: -20px;
  right: 8%;
  transform: rotate(-15deg);
}

.floating-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Additional decorative elements */
.floating-cta-container::before,
.floating-cta-container::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.floating-cta-container::before {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 10%;
  transform: translateY(-50%) rotate(45deg);
}

.floating-cta-container::after {
  width: 90px;
  height: 90px;
  top: 20%;
  right: 5%;
  transform: rotate(-20deg);
}

.floating-cta-text {
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  padding: 0 15px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.floating-cta-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 5px 0 15px 0;
  padding: 0 15px;
  opacity: 0.95;
  color: #ffffff;
}

.floating-cta-button {
  background-color: white;
  color: #43bfe3;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.floating-cta-button:hover {
  background-color: #f8dc15;
  color: #16233c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Media queries */
@media (max-width: 768px) {
  .floating-cta-wrapper {
    margin-top: -60px;
  }
  
  .floating-cta {
    margin-bottom: -30px;
  }

  .floating-cta-inner {
    padding: 20px 0;
  }
  
  .floating-cta-inner::before {
    width: 80px;
    height: 80px;
    left: 3%;
  }
  
  .floating-cta-inner::after {
    width: 60px;
    height: 60px;
    right: 5%;
  }
  
  .floating-cta-container::before {
    width: 40px;
    height: 40px;
  }
  
  .floating-cta-container::after {
    width: 60px;
    height: 60px;
  }
  
  .floating-cta-text {
    font-size: 1.2rem;
  }
  
  .floating-cta-button {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}
