/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .container {
  max-width: 1280px;
}

.contact .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact .contact-wrapper {
    grid-template-columns: 38% 62%;
    gap: 30px;
  }
}

.contact .contact-info-panel {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 40%));
  color: var(--contrast-color);
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-panel .contact-info-header {
  margin-bottom: 30px;
}

.contact .contact-info-panel .contact-info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .contact-info-panel .contact-info-header p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.contact .contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.contact .info-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact .info-card .icon-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .info-card .icon-container i {
  font-size: 20px;
  color: var(--contrast-color);
}

.contact .info-card .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--contrast-color);
}

.contact .info-card .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

.contact .social-links-panel {
  margin-top: 35px;
}

.contact .social-links-panel h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .social-links-panel .social-icons {
  display: flex;
  gap: 12px;
}

.contact .social-links-panel .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .social-links-panel .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .map-container {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .form-container {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact .form-container h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  background: linear-gradient(120deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 30%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact .form-container p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 25px;
}

.contact .form-container .form-floating {
  margin-bottom: 20px;
}

.contact .form-container .form-floating .form-control {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 24px 20px 8px 20px;
  height: calc(3.5rem + 3px);
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-container .form-floating .form-control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  background-color: var(--surface-color);
}

.contact .form-container .form-floating .form-control::placeholder {
  color: transparent;
}

.contact .form-container .form-floating label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 1rem 1.25rem 2.5rem 1.25rem;
}

.contact .form-container .form-floating label::after {
  background-color: transparent;
}

.contact .form-container .btn-submit {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 30%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .form-container .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .form-container .btn-submit i {
  transition: transform 0.3s ease;
}

.contact .form-container .btn-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact .contact-info-panel {
    padding: 30px 25px;
  }

  .contact .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .contact .social-links-panel .social-icons {
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# Contact Page — Full Redesign
--------------------------------------------------------------*/

/* ── Hero ── */
/*--------------------------------------------------------------
# Contact Hero  (.ct-hero)
--------------------------------------------------------------*/
.ct-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #EFF6FF 0%, #F0FDFA 60%, #F8FAFC 100%);
  margin-top: -74px;
  padding-top: calc(74px + 18px);
  padding-bottom: 18px;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,76,129,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Two-column layout */
.ct-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

/* LEFT copy */
.ct-hero-copy .section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}

.ct-hero-copy h1 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}

.ct-hl {
  background: linear-gradient(135deg, #0F4C81 0%, #00B8A9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-hero-copy > p {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 0 10px;
}

.ct-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .ct-hero-cta { margin-top: 16px; }
}

.ct-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(15,76,129,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,76,129,0.32);
  color: #fff;
}

.ct-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  color: #0F4C81;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid rgba(15,76,129,0.25);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-hero-btn-ghost:hover {
  border-color: #0F4C81;
  background: rgba(15,76,129,0.05);
  color: #0F4C81;
}

/* RIGHT visual — empty */
.ct-hero-visual {
  display: block;
  align-self: end;
  padding-top: 48px;
}

/*--------------------------------------------------------------
# Contact Hero — Get in Touch Card (.git-)
--------------------------------------------------------------*/
.git-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 24px rgba(15,23,42,0.07);
  overflow: hidden;
}

.git-top {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F1F5F9;
}

.git-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.git-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.git-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.2;
}

.git-sub {
  font-size: 0.72rem;
  color: var(--muted-color);
  margin: 2px 0 0;
}

.git-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

.git-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: gitPulse 1.8s ease-in-out infinite;
}

@keyframes gitPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74,222,128,0.3); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0.08); }
}

.git-items {
  padding: 4px 0;
}

.git-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid #F8FAFC;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: default;
}

.git-item--last { border-bottom: none; }

a.git-item { cursor: pointer; }
a.git-item:hover { background: #F8FAFC; }
a.git-item:hover .git-item-arrow { opacity: 1; transform: translateX(3px); }
a.git-item:hover .git-item-icon { background: var(--gii, #0F4C81); color: #fff; }

.git-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--gii, #0F4C81), transparent 88%);
  color: var(--gii, #0F4C81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.git-item-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.git-item-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  line-height: 1;
}

.git-item-val {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--heading-color);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.git-item-arrow {
  font-size: 0.8rem;
  color: #CBD5E1;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.git-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  font-size: 0.72rem;
  color: var(--muted-color);
}

.git-footer i { color: #10B981; }

.git-sep {
  width: 1px;
  height: 12px;
  background: #E2E8F0;
}

@media (prefers-reduced-motion: reduce) {
  .git-dot { animation: none; }
}

/* Responsive */
@media (max-width: 991px) {
  .ct-hero { padding-top: calc(74px + 56px); padding-bottom: 56px; }
  .ct-hero-copy > p { max-width: 100%; }
  .ct-hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .ct-hero { padding-top: calc(74px + 36px); padding-bottom: 44px; }
  .ct-hero-copy h1 { font-size: clamp(1.75rem, 6vw, 2.3rem); }
  .ct-hero-cta { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-dash-pulse { animation: none; }
  .ct-hero-btn-primary,
  .ct-hero-btn-ghost { transition: none; }
}

/* ── Main section ── */
.ct-section {
  background: #F8FAFC;
  position: relative;
}

.ct-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,76,129,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ct-section .container { position: relative; z-index: 1; }

/* Two-column grid */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ct-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

/* Left panel — contact info block */
.ct-whn-panel {
  position: sticky;
  top: 90px;
}

.ct-whn-header {
  margin-bottom: 16px;
}

.ct-whn-header h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin: 6px 0 5px;
}

.ct-whn-header p {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.ct-info-block {
  padding: 8px 0;
}

.ct-ib-heading {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.ct-ib-sub {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 340px;
}

.ct-ci-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-ci-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #F1F5F9;
}

.ct-ci-row:last-child { border-bottom: none; }

.ct-ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cii, #0F4C81), transparent 88%);
  color: var(--cii, #0F4C81);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ct-ci-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ct-ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94A3B8;
  line-height: 1;
  margin-bottom: 2px;
}

.ct-ci-body a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F172A;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.ct-ci-body a:hover { color: #0F4C81; }

.ct-ci-body span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.6;
}

/* ── Form panel ── */
.ct-form-wrap {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 8px 40px rgba(15,23,42,0.08);
}

.ct-form-header {
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #F1F5F9;
}

.ct-form-header h3 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin: 0 0 5px;
}

.ct-form-header p {
  font-size: 0.855rem;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* ── Field row (2-col grid) ── */
.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ── Floating-label field ── */
.ct-fl-field {
  position: relative;
  margin-bottom: 8px;
}

/* The wrapper that holds input + label + icons */
.ct-fl-wrap {
  position: relative;
}

/* Input & textarea base */
.ct-fl-wrap input,
.ct-fl-wrap textarea,
.ct-fl-wrap select {
  width: 100%;
  height: 40px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  padding: 14px 32px 4px 34px;
  font-size: 0.78rem;
  font-family: var(--default-font);
  color: #0F172A;
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ct-fl-wrap textarea {
  height: auto;
  min-height: 72px;
  padding-top: 16px;
  resize: none;
  line-height: 1.5;
}

/* Floating label */
.ct-fl-wrap label {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 500;
  color: #94A3B8;
  pointer-events: none;
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
  line-height: 1;
}

.ct-fl-textarea .ct-fl-wrap label {
  top: 13px;
  transform: none;
}

/* Floated state — when input has value or is focused */
.ct-fl-wrap input:not(:placeholder-shown) ~ label,
.ct-fl-wrap input:focus ~ label,
.ct-fl-wrap textarea:not(:placeholder-shown) ~ label,
.ct-fl-wrap textarea:focus ~ label,
.ct-fl-wrap select:not([value=""]):valid ~ label,
.ct-fl-wrap select:focus ~ label,
.ct-fl-field--filled .ct-fl-wrap label {
  top: 6px;
  transform: none;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.ct-fl-textarea .ct-fl-wrap textarea:not(:placeholder-shown) ~ label,
.ct-fl-textarea .ct-fl-wrap textarea:focus ~ label {
  top: 8px;
}

/* Focus ring */
.ct-fl-wrap input:focus,
.ct-fl-wrap textarea:focus,
.ct-fl-wrap select:focus {
  background: #fff;
  border-color: #0F4C81;
  box-shadow: 0 0 0 3px rgba(15,76,129,0.10);
}

/* Leading icon */
.ct-fl-wrap > i:first-of-type {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: #CBD5E1;
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s ease;
}

.ct-fl-textarea .ct-fl-wrap > i:first-of-type {
  top: 13px;
  transform: none;
}

.ct-fl-wrap:focus-within > i:first-of-type { color: #0F4C81; }

/* Checkmark icon (valid state) */
.ct-valid-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #10B981;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ct-fl--valid .ct-valid-icon { opacity: 1; }

/* Select chevron */
.ct-sel-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #94A3B8;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ct-fl-wrap:focus-within .ct-sel-arrow { color: #0F4C81; transform: translateY(-50%) rotate(180deg); }

/* Required asterisk */
.ct-req { color: #EF4444; margin-left: 2px; }

/* ── Validation states ── */
.ct-fl--error .ct-fl-wrap input,
.ct-fl--error .ct-fl-wrap textarea,
.ct-fl--error .ct-fl-wrap select {
  border-color: #EF4444;
  background: #FFF5F5;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.ct-fl--error .ct-fl-wrap > i:first-of-type { color: #EF4444; }

.ct-fl--valid .ct-fl-wrap input,
.ct-fl--valid .ct-fl-wrap textarea,
.ct-fl--valid .ct-fl-wrap select {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.08);
}

.ct-fl--valid .ct-fl-wrap > i:first-of-type { color: #10B981; }

/* Error message */
.ct-err {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #EF4444;
  margin-top: 5px;
  min-height: 0;
  line-height: 1.4;
}

.ct-err:empty { display: none; }

/* Field meta row (error + char count) */
.ct-field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  gap: 8px;
}

.ct-char-count {
  font-size: 0.70rem;
  color: #94A3B8;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.ct-char--warn { color: #F59E0B; font-weight: 700; }

/* ── Preferred contact method ── */
.ct-contact-pref {
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

.ct-contact-pref legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 10px;
  float: none;
  width: 100%;
}

.ct-pref-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ct-pref-opt {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ct-pref-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ct-pref-opt span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  background: #F8FAFC;
  transition: all 0.18s ease;
  user-select: none;
}

.ct-pref-opt span i { font-size: 0.85rem; }

.ct-pref-opt input:checked + span {
  border-color: #0F4C81;
  background: rgba(15,76,129,0.06);
  color: #0F4C81;
}

.ct-pref-opt:hover span {
  border-color: #94A3B8;
  color: #334155;
}

.ct-pref-opt input:focus-visible + span {
  outline: 2px solid #0F4C81;
  outline-offset: 2px;
}

/* ── Status banners ── */
.ct-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.855rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.ct-status--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}

.ct-status--success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
}

.ct-status i { font-size: 1rem; flex-shrink: 0; }

/* ── Submit button ── */
.ct-submit {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #0F4C81 0%, #00B8A9 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--default-font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(15,76,129,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.ct-submit-text,
.ct-submit-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.ct-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ctSpin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes ctSpin {
  to { transform: rotate(360deg); }
}

.ct-submit-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 0;
}

.ct-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15,76,129,0.38);
  filter: brightness(1.06);
}

.ct-submit:hover:not(:disabled) .ct-submit-shine { left: 145%; }

.ct-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.ct-form-note {
  text-align: center;
  font-size: 0.68rem;
  color: #94A3B8;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ct-form-note i { color: #00B8A9; font-size: 0.78rem; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-whn-panel { position: static; }
  .ct-ib-sub { max-width: 100%; }
}

@media (max-width: 767px) {
  .ct-hero { padding: calc(74px + 22px) 0 40px; }
  .ct-hero-copy h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-form-wrap { padding: 24px 18px; }
  .ct-pref-options { gap: 8px; }
  .ct-pref-opt span { padding: 7px 13px; font-size: 0.80rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ct-fl-wrap label,
  .ct-fl-wrap input,
  .ct-fl-wrap textarea,
  .ct-fl-wrap select,
  .ct-submit { transition: none; }
  .ct-spinner { animation: none; }
}

/* Services page styles → assets/css/services.css */

/*--------------------------------------------------------------
# Navbar offset — push main content below fixed 74px header
--------------------------------------------------------------*/
body { padding-top: 74px; }

/* Hero sections bleed under the fixed navbar */
.about-hero,
.hero,
.svc-hero { margin-top: -74px; padding-top: calc(74px + 56px); }
.ct-hero  { /* padding-top handled inside .ct-hero rule */ }

/*--------------------------------------------------------------
# Section Rhythm — Alternating Backgrounds
--------------------------------------------------------------*/

/* ── 2. Home About: #F8FAFC + dot grid (set above) ── */

/* ── 3. Clients: white with top/bottom hairlines ── */
.tp-clients {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 100%) !important;
  border-top: 1px solid rgba(15,76,129,0.08);
  border-bottom: 1px solid rgba(15,76,129,0.08);
  padding: 48px 0 !important;
}

/* ── 4. Service Details (What We Offer): soft blue-tint gradient ── */
.service-details-2 {
  background: linear-gradient(160deg, #EFF6FF 0%, #F0FDFA 100%);
  position: relative;
  overflow: hidden;
}

.service-details-2::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,129,0.06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.service-details-2::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,169,0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.service-details-2 .container { position: relative; z-index: 1; }

/* ── 5. Featured Departments: #F8FAFC ── */
.featured-departments {
  background: #F8FAFC;
}

/* ── 6. Featured Services: white + subtle line grid ── */
.featured-services {
  background: linear-gradient(160deg, #F0F7FF 0%, #F0FDFA 60%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.featured-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,76,129,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,76,129,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.featured-services .container,
.featured-services .container.section-title { position: relative; z-index: 1; }

/* ── 7. Testimonials: deep navy dark section ── */
.tp-testimonials {
  background: linear-gradient(135deg, #0a1628 0%, #0F2744 50%, #0a1e38 100%);
  position: relative;
  overflow: hidden;
}

.tp-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(0,184,169,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 20%, rgba(15,76,129,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.tp-testimonials .container { position: relative; z-index: 1; }

/* Override testimonial text colors for dark bg */
.tp-testimonials .section-label {
  color: #5EEAD4;
  background: rgba(94,234,212,0.10);
  border-color: rgba(94,234,212,0.25);
}

.tp-testimonials .section-title h2 {
  color: #ffffff;
}

.tp-testimonials .testimonial-item h2 {
  color: #ffffff;
}

.tp-testimonials .testimonial-item p {
  color: rgba(255,255,255,0.78);
}

.tp-testimonials .testimonial-item .profile-info h3 {
  color: #ffffff;
  font-weight: 800;
  font-family: var(--heading-font);
  letter-spacing: -0.01em;
}

.tp-testimonials .testimonial-item .profile-info span:first-of-type {
  color: #00B8A9;
  font-weight: 600;
}

.tp-testimonials .testimonial-item .profile-info .tp-clinic {
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-size: 0.72rem;
}

.tp-testimonials .testimonial-item {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}

.tp-testimonials .swiper-button-prev,
.tp-testimonials .swiper-button-next {
  color: rgba(255,255,255,0.60);
}

/* ── 8. Call to Action: keep dark gradient, tighten padding ── */
.call-to-action {
  background: linear-gradient(135deg, #0a3560 0%, #0F4C81 50%, #0d6e6e 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 !important;
}


/*--------------------------------------------------------------
# What Happens Next Timeline (.whn-)
--------------------------------------------------------------*/
.whn-section {
  background: #fff;
  padding: var(--section-padding) 0;
}

/* whn inside ct-whn-panel: always vertical, no centering */
.ct-whn-panel .whn-track {
  flex-direction: column !important;
  max-width: 100%;
  margin: 0;
}

.ct-whn-panel .whn-step {
  flex: unset !important;
  display: grid !important;
  grid-template-columns: 40px 1fr !important;
  flex-direction: unset !important;
  align-items: start !important;
  text-align: left !important;
}

.ct-whn-panel .whn-node {
  flex-direction: column !important;
  width: auto !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

.ct-whn-panel .whn-connector {
  width: 2px !important;
  height: auto !important;
  min-height: 20px !important;
  flex: 1 !important;
  margin: 3px 0 !important;
  background: linear-gradient(to bottom, #E2E8F0, #E2E8F0) !important;
}

.ct-whn-panel .whn-step:first-child .whn-node::before { display: none !important; }

.ct-whn-panel .whn-step--last .whn-connector { display: block !important; }

.ct-whn-panel .whn-body { padding: 6px 0 18px !important; }

.ct-whn-panel .whn-step--last .whn-body { padding-bottom: 0 !important; }

.whn-header {
  text-align: center;
  margin-bottom: 56px;
}

.whn-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin: 12px 0 10px;
}

.whn-header p {
  font-size: 0.95rem;
  color: #64748B;
  margin: 0;
}

/* Track — vertical on mobile, horizontal on desktop */
.whn-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

/* Single step */
.whn-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 20px;
  align-items: start;
}

/* Node column: icon + connector line */
.whn-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icon circle */
.whn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.whn-step:hover .whn-icon,
.whn-step:focus-within .whn-icon {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15,76,129,0.25);
}

/* Final step icon — always filled */
.whn-icon--final {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15,76,129,0.22);
}

/* Vertical connector line */
.whn-connector {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, #E2E8F0, #E2E8F0);
  margin: 4px 0;
}

/* Body column */
.whn-body {
  padding: 6px 0 22px;
}

.whn-step--last .whn-body {
  padding-bottom: 0;
}

.whn-step-num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #00B8A9;
  margin-bottom: 6px;
}

.whn-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.whn-body p {
  font-size: 0.775rem;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* Desktop: switch to horizontal 5-column layout */
@media (min-width: 768px) {
  .whn-track {
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
    gap: 0;
  }

  .whn-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    position: relative;
  }

  .whn-node {
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
  }

  .whn-connector {
    flex: 1;
    width: auto;
    height: 2px;
    min-height: unset;
    margin: 0;
    background: linear-gradient(to right, #E2E8F0, #E2E8F0);
  }

  /* Connector only on the right side of each step except last */
  .whn-step--last .whn-connector { display: none; }

  /* Add a left-side spacer on first step so icon is centered */
  .whn-step:first-child .whn-node::before {
    content: "";
    flex: 1;
  }

  .whn-body {
    padding: 0 12px;
  }

  .whn-step--last .whn-body { padding-bottom: 0; }
}

@media (max-width: 767px) {
  .whn-header { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .whn-icon { transition: none; }
}

/*--------------------------------------------------------------
# Contact — What Happens Next (nxt-)
--------------------------------------------------------------*/
.ct-whn-panel {
  position: sticky;
  top: 90px;
}

.nxt-header {
  margin-bottom: 28px;
}

.nxt-header h2 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}

.nxt-header p {
  font-size: 0.8rem;
  color: var(--muted-color);
  margin: 0;
}

.nxt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nxt-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 14px;
  align-items: start;
  position: relative;
  padding-bottom: 22px;
}

.nxt-item--last {
  padding-bottom: 0;
}

.nxt-item:not(.nxt-item--last)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #E2E8F0 60%, transparent);
}

.nxt-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted-color);
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nxt-item:hover .nxt-num {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-color: transparent;
  color: #fff;
}

.nxt-num--final {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-color: transparent;
  color: #fff;
}

.nxt-content {
  padding-top: 6px;
}

.nxt-content h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.nxt-content p {
  font-size: 0.775rem;
  color: var(--muted-color);
  margin: 0;
  line-height: 1.6;
}

.nxt-footer {
  margin-top: 24px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--secondary), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--secondary), transparent 75%);
  border-radius: 10px;
  font-size: 0.775rem;
  color: var(--muted-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nxt-footer i {
  color: var(--secondary);
  font-size: 0.85rem;
}

.nxt-footer strong {
  color: var(--heading-color);
}

@media (prefers-reduced-motion: reduce) {
  .nxt-num { transition: none; }
}


/*--------------------------------------------------------------
# WhatsApp Floating Button
--------------------------------------------------------------*/
/* wa-float styles moved to main.css */
