* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(140, 214, 221, 0.45), transparent 28%),
    linear-gradient(180deg, #f8fdfe 0%, #e7f5f7 44%, #f9fcfc 100%);
  color: #18424c;
}

.contact-page {
  position: relative;
  overflow: hidden;
}

.contact-page .container {
  max-width: calc(100% - 80px);
  padding-left: 0;
  padding-right: 0;
}

.contact-page::before,
.contact-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.contact-page::before {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -160px;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.12), rgba(236, 0, 140, 0));
}

.contact-page::after {
  width: 520px;
  height: 520px;
  bottom: 80px;
  left: -220px;
  background: radial-gradient(circle, rgba(0, 97, 118, 0.16), rgba(0, 97, 118, 0));
}

.contact-hero {
  position: relative;
  padding: 72px 0 34px;
}

.contact-hero-copy {
  max-width: 720px;
}

.contact-eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #006176;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 97, 118, 0.08);
}

.contact-hero-copy h1 {
  margin: 18px 0 18px;
  color: #006176;
  font-size: clamp(2.4rem, 4.8vw, 3.2rem);
  line-height: 1.04;
  font-weight: 800;
}

.contact-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #477e87;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-section {
  padding: 8px 0 50px;
}

.contact-shell {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.contact-form-panel,
.map-card {
  height: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(0, 97, 118, 0.16);
  backdrop-filter: blur(12px);
}

.contact-form-panel {
  padding: 34px;
}

.panel-header h2,
.map-copy h2 {
  margin: 16px 0 10px;
  color: #006176;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.08;
  font-weight: 800;
}

.panel-header p,
.map-copy p {
  margin: 0;
  color: #5f8289;
  line-height: 1.7;
}

.contact-form {
  margin-top: 28px;
}

.form-label {
  margin-bottom: 8px;
  color: #006176;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 56px;
  border: 1px solid #cfe3e7;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  color: #18424c;
  background: #fdfefe;
  box-shadow: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  border-color: #00a9cc;
  box-shadow: 0 0 0 0.22rem rgba(0, 169, 204, 0.15);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.form-check {
  margin: 0;
}

.form-check-label {
  color: #5f8289;
  line-height: 1.5;
}

.form-check-input:checked {
  background-color: #006176;
  border-color: #006176;
}

.contact-submit {
  min-width: 220px;
  padding: 12px 30px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a8a9a, #43b6c9);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(11, 34, 39, 1);
  white-space: nowrap;
}

.contact-submit:hover {
  background: linear-gradient(135deg, #43b6c9, #5fd3e6);
  border-color: #d8eef2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 57, 65, 0.75);
}

.form-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: #0087a5;
  font-weight: 700;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fcfd 0%, #edf7f8 100%);
  border: 1px solid rgba(0, 97, 118, 0.08);
}

.detail-card i {
  color: #ec008c;
  font-size: 1.35rem;
}

.detail-card h3 {
  margin: 0 0 4px;
  color: #006176;
  font-size: 1rem;
  font-weight: 800;
}

.detail-card p {
  margin: 0;
  color: #5f8289;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-map-panel {
  height: 100%;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
}

.map-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 540px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(0, 97, 118, 0.08);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #006176;
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover {
  color: #ec008c;
}

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

@media (max-width: 991.98px) {
  .contact-hero {
    padding-top: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-frame-wrap {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .contact-page .container {
    max-width: calc(100% - 40px);
  }

  .contact-form-panel,
  .map-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }

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

  .map-frame-wrap {
    min-height: 340px;
    border-radius: 20px;
  }
}
