/*--------------- Hero Section ---------------*/
.contact-hero {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #8ecae626;
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact-hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0b2b4c;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.75rem;
  color: #126782;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 48rem) {
  .contact-hero {
    padding: 3rem 1rem;
  }

  .contact-hero h1 {
    font-size: 1.75rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}

/*------------ Contact Info Section ------------*/
.contact-info-section {
  background-color: #f3f5f7;
  padding: 4rem 1.5rem;
}

.contact-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 2rem;
  max-width: 70rem;
  margin: 0 auto;

  grid-template-columns: repeat(3, minmax(16rem, 18rem));
  justify-content: center;
}

.contact-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.08);
}

.contact-card img {
  width: 4rem;
  margin-bottom: 1.2rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #023047;
}

.contact-card p {
  margin-bottom: 0.4rem;

  font-size: 1rem;
  font-weight: 500;
  color: #126782;
  line-height: 1.6;

  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/*------------ Contact Form Section ------------*/
.contact-form-section {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.form-container {
  max-width: 55rem;
  margin: 0 auto;

  background: #ffffff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
}

.form-container h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 2.5rem;
  color: #0b3c5d;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.5rem;
  border: 0.08rem solid #cbd5e1;
  font-size: 1rem;
  outline: none;
  transition:
    border 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #023047;
  box-shadow: 0 0 0 0.15rem rgba(2, 48, 71, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: center;
  margin-top: 1rem;
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #f4a300;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #e69500;
  transform: translateY(-0.2rem);
}

@media (max-width: 600px) {
  .contact-form button {
    width: 100%;
  }
}

/*----------------- Map Section -----------------*/
.map-section {
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .map-section iframe {
    height: 350px;
  }
}

/*----------------- CTA Section -----------------*/
.cta-section {
  background-color: #eaf6fb;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #023047;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cta-btn:hover {
  background-color: #e0a800;
  transform: translateY(-0.125rem);
}

@media (max-width: 48rem) {
  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }
}
