/**
 * CTA Section Component Styles
 * Blue section with decorative stars and centered content
 */

/* Section */
.cta-section {
  padding: 0;
  margin: 60px 0;
  width: 100%;
}

/* Background container - Full width */
.cta-section-bg {
  background: #0a3d91;
  border-radius: 0;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Decorative Stars Container */
.cta-stars {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
}

.cta-stars-left {
  left: 0;
}

.cta-stars-right {
  right: 100px;
}

/* Individual Star Positions */
.cta-star {
  position: absolute;
}

/* Left stars */
.cta-star-1 {
  top: 20%;
  left: 20px;
}

.cta-star-2 {
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}

.cta-star-3 {
  bottom: 25%;
  left: 30px;
}

/* Right stars */
.cta-star-4 {
  top: 15%;
  right: 40px;
}

.cta-star-5 {
  top: 55%;
  right: 20px;
}

.cta-star-6 {
  bottom: 20%;
  right: 60px;
}

/* Content */
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Title */
.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Description */
.cta-desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Wrapper */
.cta-btn-wrapper {
  margin-top: 10px;
}

/* Button */
.cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #0a3d91;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #0a3d91;
  background: #f5f5f5;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Desktop - 1200px and below */
@media (max-width: 1200px) {
  .cta-section-bg {
    padding: 50px 0;
  }

  .cta-title {
    font-size: 1.85rem;
  }

  .cta-stars {
    width: 120px;
  }
}

/* Tablet - 992px and below */
@media (max-width: 992px) {
  .cta-section {
    margin: 50px 0;
  }

  .cta-section-bg {
    padding: 45px 0;
  }

  .cta-title {
    font-size: 1.65rem;
    max-width: 800px;
  }

  .cta-desc {
    font-size: 0.95rem;
  }

  .cta-stars {
    width: 100px;
  }

  .cta-star-1,
  .cta-star-3,
  .cta-star-5 {
    display: none;
  }
}

/* Mobile Landscape - 768px and below */
@media (max-width: 768px) {
  .cta-section {
    padding: 0;
    margin: 40px 0;
  }

  .cta-section-bg {
    padding: 40px 0;
  }

  .cta-content {
    padding: 0 30px;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 14px;
    max-width: 600px;
  }

  .cta-desc {
    font-size: 0.9rem;
    margin-bottom: 25px;
    max-width: 600px;
  }

  .cta-btn {
    padding: 12px 35px;
    font-size: 0.95rem;
  }

  .cta-stars {
    width: 80px;
    opacity: 0.7;
  }
}

/* Mobile Portrait - 576px and below */
@media (max-width: 576px) {
  .cta-section {
    padding: 0;
    margin: 30px 0;
  }

  .cta-section-bg {
    padding: 35px 0;
  }

  .cta-content {
    padding: 0 20px;
  }

  .cta-title {
    font-size: 1.35rem;
    line-height: 1.4;
    max-width: 100%;
  }

  .cta-desc {
    font-size: 0.875rem;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .cta-stars {
    display: none;
  }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  .cta-section-bg {
    padding: 30px 0;
  }

  .cta-title {
    font-size: 1.25rem;
  }

  .cta-btn {
    padding: 10px 25px;
    width: 100%;
    max-width: 250px;
  }
}
