/* cta.css - CTA Section */

#contact {
  background-color: #EEF2F9;
  overflow: hidden;
  position: relative;
}

/* Dot grids */
.cta-dots-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 288px;
  height: 288px;
  opacity: 0.5;
  background-image: radial-gradient(circle, #93C5FD 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  pointer-events: none;
}

.cta-dots-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 288px;
  height: 288px;
  opacity: 0.5;
  background-image: radial-gradient(circle, #93C5FD 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  transform: scaleX(-1);
  pointer-events: none;
}

/* Wave SVGs */
.cta-wave-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  opacity: 0.8;
  pointer-events: none;
}

.cta-wave-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  opacity: 0.8;
  transform: scaleX(-1);
  pointer-events: none;
}

/* Main content */
.cta-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 16px 56px;
}

/* Eyebrow */
.cta-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

.cta-eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2563EB;
}

.cta-eyebrow-line {
  width: 36px;
  height: 2px;
  border-radius: 9999px;
  background-color: #2563EB;
}

/* Heading */
.cta-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 896px;
}

@media (min-width: 640px) {
  .cta-heading {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .cta-heading {
    font-size: 60px;
  }
}

.cta-heading .heading-navy {
  color: #07133D;
}

.cta-heading .heading-gradient {
  font-style: italic;
  background: linear-gradient(90deg, #2563EB 0%, #14B8A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 4px;
  display: inline-block;
}

/* Description */
.cta-desc {
  color: #64748B;
  font-size: 16px;
  line-height: 1.7;
  max-width: 448px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .cta-desc {
    font-size: 18px;
  }
}

/* Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    width: auto;
  }
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background-color: #07133D;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.cta-btn-primary:hover {
  background-color: #0c1d52;
}

.cta-btn-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.cta-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background-color: #ffffff;
  color: #07133D;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid #CBD5E1;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.cta-btn-secondary:hover {
  background-color: #F8FAFC;
}

.cta-btn-secondary .btn-arrow {
  transition: transform 0.2s ease;
}

.cta-btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Contact strip */
.cta-contact-strip-wrapper {
  padding-bottom: 48px;
  width: 100%;
  max-width: 896px;
  margin: 32px auto 0;
  padding-left: 16px;
  padding-right: 16px;
}

.cta-contact-strip {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-contact-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--slate-100);
}

.cta-contact-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .cta-contact-item {
    border-bottom: none;
    border-right: 1px solid var(--slate-100);
  }

  .cta-contact-item:last-child {
    border-right: none;
  }
}

.cta-contact-item:hover {
  background-color: rgba(248, 250, 252, 0.8);
}

.cta-contact-icon {
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta-contact-item:hover .cta-contact-icon {
  transform: scale(1.05);
}

.cta-contact-icon.blue { background-color: #EFF6FF; color: var(--blue-600); }
.cta-contact-icon.teal { background-color: #F0FDFA; color: var(--teal-500); }

.cta-contact-label {
  font-size: 14px;
  font-weight: 500;
  color: #07133D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cta-contact-item:hover .cta-contact-label {
  color: #2563EB;
}
