/* ============================================================
   Contact Page — Plain CSS (converted from Tailwind utilities)
   ============================================================ */

.contact-main {
  background: #ffffff;
}

/* ── Section wrapper ── */
.contact-form-section {
  background: #ffffff;
  padding-top: 120px;
  padding-bottom: 120px;
}

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

/* Background decorations */
.contact-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url('../images/grid-pattern.svg');
  background-size: 220px;
  background-repeat: repeat;
  pointer-events: none;
}

.contact-bg-graphic {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -5rem;
  width: 42rem;
  opacity: 0.16;
  background-image: url('../images/world-network-light.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .contact-bg-graphic {
    display: block;
  }
}

/* ── Two-column grid ── */
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1280px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr);
  }
}

/* ── Info column ── */
.contact-info-col {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

/* Details card (dark blue) */
.contact-details-card {
  border: 1px solid rgba(13, 59, 105, 0.08);
  background: linear-gradient(135deg, #0d3b69 0%, #143e6d 100%);
  padding: 1.75rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

@media (min-width: 640px) {
  .contact-details-card {
    padding: 2rem;
  }
}

.contact-details-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.contact-details-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.contact-icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-detail-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.contact-detail-value {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
}

/* Response card (white) */
.contact-response-card {
  border: 1px solid rgba(13, 59, 105, 0.08);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .contact-response-card {
    padding: 2rem;
  }
}

.contact-response-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(13, 59, 105, 0.7);
  margin: 0;
}

.contact-response-text {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 2rem;
  color: #5a6b82;
}

/* ── Form card ── */
.contact-form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.75rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}

.contact-form-badge {
  display: inline-flex;
  border: 1px solid rgba(13, 59, 105, 0.1);
  background: #f7fbff;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 59, 105, 0.8);
}

.contact-form-title {
  margin-top: 1.25rem;
  font-family: 'Sora', sans-serif;
  color: #0d3b69;
  max-width: 12ch;
}

/* ── Form elements ── */
.contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.contact-form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .contact-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
}

.contact-field {
  display: grid;
  gap: 0;
  width: 100%;
}

.contact-label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #173a61;
}

.contact-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(13, 59, 105, 0.1);
  background: #fbfdff;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  font-family: 'Manrope', sans-serif;
  color: #1e3a5f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  appearance: none;
}

.contact-input::placeholder {
  color: #7a8798;
}

.contact-input:focus {
  border-color: rgba(13, 59, 105, 0.3);
  box-shadow: 0 0 0 4px rgba(13, 59, 105, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-textarea {
  resize: vertical;
  min-height: 9rem;
}

/* ── Submit button ── */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #0d3b69;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  border: none;
  cursor: pointer;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.contact-submit:hover {
  background: #0b3158;
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .contact-submit {
    width: auto;
    min-width: 14.5rem;
  }
}
@media (max-width: 640px) {
  .contact-detail-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-response-card {
    padding: 0px;
    background:transparent;
    box-shadow: none;
    border: none;
  }
  .contact-form-card{
    padding: 0px;
    background:transparent;
    box-shadow: none;
    border: none;
  }
}
