/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — contact.css
   Premium glass-morphism contact page
   ═══════════════════════════════════════════════════════════ */

@keyframes ctFloat1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-40px) scale(1.08)}}
@keyframes ctFloat2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-25px,35px) scale(.94)}}

/* ── 1. HERO (premium dark — matches homepage & about hero) ── */
.ct-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(92% 100% at 10% 10%, rgba(52, 121, 255, 0.24) 0%, rgba(10, 24, 59, 0) 60%),
    radial-gradient(90% 120% at 90% 86%, rgba(25, 92, 255, 0.20) 0%, rgba(10, 24, 59, 0) 58%),
    linear-gradient(145deg, #030916 0%, #06112a 36%, #08193d 62%, #030914 100%);
  border-bottom: 1px solid rgba(115, 167, 255, 0.22);
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(46, 107, 255, 0.22), transparent 22% 78%, rgba(31, 86, 215, 0.18)),
    repeating-linear-gradient(112deg, rgba(114, 169, 255, 0.07) 0 2px, rgba(114, 169, 255, 0) 2px 26px);
  opacity: 0.85;
}
.ct-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -2;
  will-change: transform;
}
.ct-hero__orb--1 {
  width: 520px; height: 520px;
  top: -150px; right: -90px;
  background: radial-gradient(circle, rgba(36, 126, 255, 0.55), rgba(36, 126, 255, 0) 70%);
  animation: ctFloat1 18s ease-in-out infinite;
}
.ct-hero__orb--2 {
  width: 400px; height: 400px;
  bottom: -110px; left: -70px;
  background: radial-gradient(circle, rgba(57, 166, 255, 0.42), rgba(57, 166, 255, 0) 70%);
  animation: ctFloat2 22s ease-in-out infinite;
}
.ct-hero .container { position: relative; z-index: 2; }

.ct-hero__kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bcd6ff;
  margin-bottom: 1.25rem;
  background: rgba(90, 150, 240, 0.12);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 190, 255, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ct-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.1;
  color: #f4f8ff;
  margin-bottom: 1.1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.ct-hero__title em {
  font-style: normal;
  color: #2f89ff;
  text-shadow: 0 0 26px rgba(57, 153, 255, 0.5);
}
.ct-hero__desc {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: rgba(216, 230, 255, 0.9);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── 2. CONTACT GRID ── */
.ct-main {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #f6f9ff 0%, #eef4fc 45%, #f6f9ff 100%);
}
.ct-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(29, 92, 181, 0.06), transparent 60%);
}
.ct-main .container { position: relative; z-index: 1; }
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Info cards ── */
.ct-info {
  display: grid;
  gap: 1.2rem;
}
.ct-info-card {
  background: linear-gradient(160deg, rgba(255,255,255,.9) 0%, rgba(248,250,255,.7) 100%);
  border: 1px solid rgba(180,205,255,.4);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(10,31,63,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ct-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10,31,63,.08);
}
.ct-info-card__icon {
  width: 40px; height: 40px;
  color: #1D5CB5;
  margin-bottom: .8rem;
}
.ct-info-card__icon svg { width: 100%; height: 100%; }
.ct-info-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0A1F3F;
  margin-bottom: .3rem;
}
.ct-info-card__link {
  font-size: .95rem;
  color: #1D5CB5;
  text-decoration: none;
  font-weight: 600;
}
a.ct-info-card__link:hover { text-decoration: underline; }
.ct-info-card__note {
  font-size: .82rem;
  color: #64748b;
  margin-top: .25rem;
}
.ct-trust {
  background: linear-gradient(135deg, rgba(29,92,181,.06), rgba(59,130,246,.04));
  border: 1px solid rgba(29,92,181,.1);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}
.ct-trust p {
  margin: 0;
  font-size: .9rem;
  color: #475569;
  line-height: 1.6;
  font-style: italic;
}

/* ── Form card ── */
.ct-form-wrap { position: relative; }
.ct-form-card {
  background: linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(248,250,255,.85) 100%);
  border: 1px solid rgba(180,205,255,.45);
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 40px rgba(10,31,63,.08),
    inset 0 1px 0 rgba(255,255,255,.7);
}
.ct-form-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #0A1F3F;
  margin-bottom: .4rem;
}
.ct-form-card__desc {
  font-size: .92rem;
  color: #64748b;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

/* ── Form fields ── */
.ct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.ct-field { display: flex; flex-direction: column; gap: .35rem; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field--addons[hidden] { display: none; }
.ct-field--addons {
  grid-column: 1 / -1;
  animation: ctSlideDown .3s ease forwards;
}
@keyframes ctSlideDown {
  from { opacity: 0; max-height: 0; margin: 0; padding: 0; }
  to { opacity: 1; max-height: 120px; }
}

.ct-field label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: #334155;
  letter-spacing: .02em;
}
.ct-required { color: #1D5CB5; }

.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: #0A1F3F;
  padding: .7rem .9rem;
  border: 1.5px solid rgba(180,205,255,.5);
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  transition: border-color .25s ease, box-shadow .25s ease;
  outline: none;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: #1D5CB5;
  box-shadow: 0 0 0 3px rgba(29,92,181,.1);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #94a3b8;
}
.ct-field textarea { resize: vertical; min-height: 120px; }
.ct-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

/* Submit button */
.ct-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  font-size: 1rem;
  gap: .6rem;
  border-radius: 999px;
}
.ct-submit svg {
  transition: transform .25s ease;
}
.ct-submit:hover svg {
  transform: translateX(4px);
}

/* Status message */
.ct-status {
  grid-column: 1 / -1;
  font-size: .9rem;
  min-height: 1.4rem;
  margin: 0;
  text-align: center;
}
.ct-status--success { color: #166534; }
.ct-status--error { color: #b91c1c; }

/* ── 3. FINAL CTA ── */
.ct-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(135deg, #0A1F3F 0%, #0d2a5c 50%, #0A1F3F 100%);
  text-align: center;
  color: #fff;
}
.ct-cta .container { position: relative; z-index: 2; }
.ct-cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: .8rem;
  color: #f4f8ff;
}
.ct-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

/* ── 4. RESPONSIVE ── */
@media (max-width: 860px) {
  .ct-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .ct-info { order: 2; }
  .ct-form-wrap { order: 1; }
}
@media (max-width: 540px) {
  .ct-form {
    grid-template-columns: 1fr;
  }
  .ct-hero__title { font-size: 1.8rem; }
}
