/* Sophisticated CTA Section with Visual Design Elements */
.sophisticated-cta {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(250, 208, 44, 0.97),
      rgba(250, 208, 44, 0.85)
    ),
    url('../images/pattern-bg.jpg');
  background-attachment: fixed; /* Keep the background fixed while scrolling */
  padding: 100px 0 80px;
  overflow: hidden;
  color: #000000;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1); /* Add subtle shadow to top */
}

/* Decorative Elements */
.cta-decorative-element {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.3s ease-out; /* Smoother transitions */
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  top: -150px;
  right: -100px;
  animation: floatAnimation 6s infinite ease-in-out;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 15px solid rgba(255, 255, 255, 0.1);
  bottom: -80px;
  left: -80px;
  animation: floatAnimation 8s infinite ease-in-out reverse;
}

.cta-line-pattern {
  width: 150px;
  height: 300px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0px,
    rgba(255, 255, 255, 0.1) 2px,
    transparent 2px,
    transparent 10px
  );
  top: 50px;
  left: 10%;
  transform: rotate(30deg);
  animation: pulseAnimation 10s infinite ease-in-out;
}

.cta-dots-pattern {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.2) 2px,
    transparent 2px
  );
  background-size: 15px 15px;
  bottom: 50px;
  right: 10%;
  animation: floatAnimation 7s infinite ease-in-out alternate;
}

/* Content Container */
.sophisticated-cta-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.sophisticated-cta-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.sophisticated-cta-header:before {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.3);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.sophisticated-cta-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.sophisticated-cta-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.8);
}

/* Value Proposition Cards */
.value-prop-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.value-prop-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
}

.value-prop-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-prop-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #000000;
  color: #fad02c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.value-prop-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.value-prop-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
}

/* Stats With Enhanced Design */
.stats-showcase {
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: #ffffff;
  position: relative;
}

.stat-item:not(:last-child):after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fad02c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  display: inline-block;
}

.stat-plus,
.stat-percent {
  font-size: 2rem;
  margin-left: 5px;
}

.stat-label {
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Call to Action Button Section */
.cta-button-section {
  text-align: center;
  margin-top: 30px;
  position: relative;
  padding-bottom: 20px;
}

.cta-main-button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid #000000;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-main-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  z-index: -1;
}

.cta-main-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  background-color: transparent;
  color: #000000;
}

.cta-main-button:hover::before {
  left: 100%;
}

.cta-main-button:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-secondary-text {
  margin-top: 15px;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
}

.satisfaction-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.guarantee-badge {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.guarantee-text {
  text-align: left;
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .value-prop-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-showcase {
    padding: 30px;
    gap: 20px;
  }

  .sophisticated-cta-header h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .sophisticated-cta {
    padding: 70px 0 60px;
  }

  .stats-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-item:not(:last-child):after {
    display: none;
  }

  .cta-main-button {
    padding: 15px 35px;
    font-size: 1.1rem;
  }

  .sophisticated-cta-header h2 {
    font-size: 2rem;
  }

  .guarantee-badge {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .value-prop-container {
    grid-template-columns: 1fr;
  }

  .sophisticated-cta-header h2 {
    font-size: 1.8rem;
  }

  .sophisticated-cta {
    padding: 60px 0;
  }
}

/* Animations */
@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulseAnimation {
  0%,
  100% {
    opacity: 0.8;
    transform: rotate(30deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(32deg) scale(1.05);
  }
}
