/* Unique CTA Section Between Testimonials and Contact */
.unique-cta {
  position: relative;
  padding: 120px 0;
  background-color: #fad02c;
  color: #000000;
  overflow: hidden;
  z-index: 1;
}

/* Geometric background elements */
.geometric-element {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
}

.geo-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.3);
  top: -150px;
  left: -150px;
}

.geo-square {
  width: 200px;
  height: 200px;
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0.2);
  bottom: -100px;
  right: 10%;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 250px solid rgba(255, 255, 255, 0.15);
  top: 50px;
  right: -100px;
  transform: rotate(15deg);
}

.geo-dots {
  width: 300px;
  height: 300px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 2px,
    transparent 2px
  );
  background-size: 20px 20px;
  left: 10%;
  bottom: -150px;
}

/* Main content container with z-index to appear above geometric elements */
.unique-cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section header styling */
.unique-cta-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
}

.unique-cta-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #ffffff, #a0cfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.unique-cta-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #ffffff, #a0cfff);
  border-radius: 3px;
}

.unique-cta-header p {
  font-size: 1.2rem;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.9);
}

/* Cards container */
.flip-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
  perspective: 1000px;
}

/* Individual flip card styling */
.flip-card {
  width: 300px;
  height: 350px;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.5s;
}

.flip-card:hover {
  transform: translateY(-10px);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border-radius: 15px;
}

.flip-card-front {
  background: linear-gradient(145deg, #fad02c, #e9b800);
  color: black;
}

.flip-card-back {
  background: linear-gradient(145deg, #ffffff, #fff8e0);
  color: #000000;
  transform: rotateY(180deg);
}

.flip-card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  transform: translateY(0px);
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-icon {
  animation: bounce 0.5s ease;
}

.flip-card-front h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.flip-card-front p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.flip-card-back h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fad02c;
  font-weight: 600;
}

.flip-card-back p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.flip-card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fad02c;
  color: black;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.flip-card-link:hover {
  background-color: #e9b800;
  transform: scale(1.05);
}

/* Statistics counter section */
.stats-counter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.counter-item {
  text-align: center;
  min-width: 200px;
}

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

.counter-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA button styling */
.cta-button-container {
  margin-top: 50px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 18px 36px;
  background-color: #ffffff;
  color: #004aad;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s;
  z-index: -1;
}

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

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

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

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .flip-cards-container {
    gap: 20px;
  }
}

@media screen and (max-width: 991px) {
  .unique-cta {
    padding: 90px 0;
  }

  .unique-cta-header h2 {
    font-size: 2.6rem;
  }

  .stats-counter {
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .unique-cta-header h2 {
    font-size: 2.2rem;
  }

  .counter-number {
    font-size: 3rem;
  }

  .cta-button {
    padding: 15px 30px;
  }

  .flip-card {
    width: 280px;
    height: 320px;
  }
}

@media screen and (max-width: 576px) {
  .unique-cta {
    padding: 70px 0;
  }

  .unique-cta-header {
    margin-bottom: 40px;
  }

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

  .stats-counter {
    gap: 30px;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  .counter-label {
    font-size: 1rem;
  }
}
