/* ===== Z H Sikder WMC — CareWell-style layout · 60% white · 30% navy · 10% red ===== */

:root {
  --white: #ffffff;
  --navy: #1a2d6b;
  --navy-dark: #111f47;
  --red: #d71920;
  --red-hover: #b8141a;
  --soft: #eef2f9;
  --gray: #5a6478;
  --line: #e4e7ee;
  --ink: #1a2d6b;

  --font-body: "Roboto", system-ui, -apple-system, sans-serif;
  --font-heading: "Oswald", "Roboto Condensed", system-ui, sans-serif;
  --top-bar: 40px;
  --header-nav: 72px;
  --container: 1140px;
  --radius: 10px;
  --section-py: 64px;
  --shadow-sm: 0 2px 8px rgba(17, 31, 71, 0.07);
  --shadow-md: 0 8px 28px rgba(17, 31, 71, 0.1);
  --transition: 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.hero-name-short { display: none; }

.hero-grid > *,
.about-row > *,
.cta-inner > * {
  min-width: 0;
}

/* ===== BUTTONS ===== */
.btn-navy,
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline-navy {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-full { width: 100%; }

.section-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 10px;
}

.section-head-center h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  text-transform: capitalize;
}

.section-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head-center p {
  color: var(--gray);
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.6;
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.top-bar-inner {
  min-height: var(--top-bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.top-bar-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.top-bar-info li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info i { color: var(--red); font-size: 11px; }

.top-bar-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 20px;
}

.top-bar-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.top-bar-highlights i {
  color: var(--red);
  font-size: 11px;
}

.main-nav {
  height: var(--header-nav);
  display: flex;
  align-items: center;
  background: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.brand-name-short {
  display: none;
}

.hero-mobile-cta {
  display: none;
  width: 100%;
  max-width: 340px;
  margin-top: 4px;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray);
  line-height: 1.25;
  max-width: 200px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color var(--transition);
}

.nav-menu a:hover { color: var(--red); }

.nav-cta {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  padding: 40px 0 112px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 31, 71, 0.96) 0%,
    rgba(17, 31, 71, 0.92) 38%,
    rgba(17, 31, 71, 0.75) 62%,
    rgba(17, 31, 71, 0.45) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--white);
  padding-top: 8px;
}

.hero-tag {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  background: var(--red);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.hero-left h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 560px;
  text-transform: capitalize;
}

.hero-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 520px;
}

.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.hero-checks li {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.hero-fees {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-fee-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 10px 18px;
}

.hero-fee-item span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.hero-fee-item strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-phone,
.hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}

.hero-phone {
  background: var(--white);
  color: var(--navy);
}

.hero-phone:hover { background: var(--soft); }

.hero-wa {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.hero-wa:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.hero-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 100%;
}

.hero-form-head {
  background: var(--navy);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-head-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 3px;
}

.hero-form-head-text {
  min-width: 0;
  text-align: left;
}

.hero-form-head h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  letter-spacing: normal;
}

.hero-form-head p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-form {
  padding: 18px 20px 20px;
}

.hero-form .form-field {
  margin-bottom: 12px;
}

.hero-form .form-field input,
.hero-form .form-field select {
  padding: 10px 12px;
  font-size: 13px;
}

.hero-form .btn-navy {
  padding: 12px 20px;
  font-size: 13px;
}

/* ===== FEATURE BAR (overlaps hero) ===== */
.feature-bar {
  margin-top: -56px;
  padding-bottom: var(--section-py);
  position: relative;
  z-index: 2;
}

.feature-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  transition: background var(--transition);
}

.feature-bar-item:last-child { border-right: none; }

.feature-bar-item:hover { background: var(--soft); }

.feature-bar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.feature-bar-item:hover .feature-bar-icon {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.feature-bar-text h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: normal;
}

.feature-bar-text p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== SERVICES ===== */
.services-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--navy);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--soft);
  background: var(--soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: normal;
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== ABOUT ===== */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
  text-transform: capitalize;
}

.about-text p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.7;
}

.about-text .btn-navy {
  margin-top: 8px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.form-field { margin-bottom: 14px; }

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-field input.is-invalid,
.form-field.has-error input,
.form-field.has-error select { border-color: var(--red); }

.phone-field {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid var(--line);
}

.phone-prefix img { width: 18px; }

.phone-field input {
  border: none !important;
  border-radius: 0 !important;
}

.field-error {
  display: block;
  font-size: 11px;
  color: var(--red);
  margin-top: 4px;
  min-height: 14px;
}

.form-error {
  color: var(--red);
  font-size: 13px;
  margin-bottom: 10px;
}

/* ===== ADMISSION PROCESS ===== */
.process-section {
  padding: var(--section-py) 0;
  background: var(--soft);
}

.process-track {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.process-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.process-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 12px;
}

.process-bubble {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.4);
}

.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 12px;
  min-height: 40px;
}

.process-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
  transition: gap var(--transition), opacity var(--transition);
}

.process-link:hover {
  opacity: 1;
  gap: 10px;
}

.process-link i {
  font-size: 11px;
  color: var(--red);
}

.process-connector {
  flex-shrink: 0;
  width: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
}

.process-connector span {
  display: block;
  width: 100%;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.35);
  position: relative;
}

.process-connector span::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(255, 255, 255, 0.35);
}

.process-bridge {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: calc(16.66% - 24px);
  height: 40px;
}

.process-bridge span {
  display: block;
  width: 2px;
  height: 100%;
  border-left: 2px dashed rgba(255, 255, 255, 0.35);
  position: relative;
}

.process-bridge span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.35);
}

/* ===== GALLERY ===== */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 0;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(17, 31, 71, 0.88));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}

.testimonial-slider {
  margin-top: 8px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testimonialScroll 40s linear infinite;
  padding: 8px 16px 16px;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 340px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-top img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.testimonial-top h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: normal;
}

.testimonial-top p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.testimonial-stars {
  color: var(--red);
  font-size: 11px;
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FAQ ===== */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
  border-color: var(--navy);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition);
}

.faq-q:hover {
  background: var(--soft);
}

.faq-q i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item.is-open .faq-q i {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 48px 0;
  border-top: 3px solid var(--red);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.25;
  text-transform: capitalize;
}

.cta-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-btn {
  flex-shrink: 0;
  background: var(--red);
  border-color: var(--red);
}

.cta-btn:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* ===== FORM POPUP ===== */
.form-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.form-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.form-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 71, 0.82);
}

.form-popup-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}

.form-popup.is-open .form-popup-dialog {
  transform: translateY(0) scale(1);
}

.form-popup-card {
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
}

.form-popup-close:hover {
  background: var(--red-hover);
}

body.popup-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* ===== SIDE COUNSELLING TAB ===== */
.side-counselling-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 350;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 14px 9px;
  cursor: pointer;
  box-shadow: 4px 0 18px rgba(17, 31, 71, 0.22);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.side-counselling-tab:hover {
  background: var(--red-hover);
  transform: translateY(-50%) translateX(2px);
  box-shadow: 6px 0 22px rgba(17, 31, 71, 0.28);
}

.side-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.side-counselling-tab i {
  font-size: 17px;
  line-height: 1;
}

.side-tab-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(17, 31, 71, 0.28);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(17, 31, 71, 0.35);
}

.floating-btn i {
  font-size: 22px;
  color: var(--white);
  line-height: 1;
}

.floating-phone {
  background: var(--navy);
}

.floating-wa {
  background: #25d366;
}

.floating-wa i {
  font-size: 26px;
}

button.process-link {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.footer-apply-btn {
  margin-top: 4px;
  background: var(--red);
  border-color: var(--red);
}

.footer-apply-btn:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}

.footer-brand span {
  font-size: clamp(0.85rem, 2.8vw, 1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  max-width: 300px;
  text-wrap: balance;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}

.footer-contact li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-contact i { color: var(--red); }

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--white); }

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
  max-width: 640px;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #243a82 100%);
}

.thankyou-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.thankyou-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  padding: 36px 28px 28px;
  text-align: center;
  border-top: 4px solid var(--red);
  position: relative;
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(215, 25, 32, 0.35);
}

.thankyou-tag {
  margin-bottom: 8px;
}

.thankyou-card h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.thankyou-lead {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 24px;
}

.thankyou-lead strong {
  color: var(--navy);
  font-weight: 600;
}

.thankyou-steps {
  text-align: left;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thankyou-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.thankyou-steps i {
  color: var(--red);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.thankyou-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.thankyou-btn:hover {
  transform: translateY(-1px);
}

.thankyou-btn-wa {
  background: #25d366;
  color: var(--white);
}

.thankyou-btn-wa:hover {
  background: #1fb855;
}

.thankyou-btn-call {
  background: var(--navy);
  color: var(--white);
}

.thankyou-btn-call:hover {
  background: var(--navy-dark);
}

.thankyou-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition), gap var(--transition);
}

.thankyou-home:hover {
  color: var(--red);
  gap: 10px;
}

.thankyou-footer {
  padding: 16px;
  text-align: center;
}

.thankyou-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .nav-menu a {
    padding: 8px 6px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }

  .brand-sub {
    font-size: 0.52rem;
    max-width: 160px;
  }
}

@media (max-width: 1024px) {
  .top-bar { display: none; }

  /* Fixed header on mobile — sticky breaks when body.nav-open sets overflow:hidden */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: var(--site-header-h, 72px);
  }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .nav-menu.is-open {
    display: flex;
    position: fixed;
    top: var(--site-header-h, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--white);
    padding: 8px 16px 24px;
    box-shadow: var(--shadow-md);
    z-index: 199;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.is-open a {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    width: 100%;
    font-size: 15px;
  }

  .nav-menu.is-open li:last-child a {
    border-bottom: none;
  }

  .hero-section {
    padding: 28px 0 72px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(17, 31, 71, 0.95) 0%,
      rgba(17, 31, 71, 0.9) 50%,
      rgba(17, 31, 71, 0.85) 100%
    );
  }

  .hero-bg {
    background-position: center center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left {
    padding-top: 0;
    text-align: center;
    align-items: center;
  }

  .hero-left h1,
  .hero-lead {
    max-width: 100%;
  }

  .hero-name-full { display: none; }
  .hero-name-short { display: inline; }

  .hero-checks {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    width: 100%;
    max-width: 440px;
  }

  .hero-contact {
    justify-content: center;
    width: 100%;
    max-width: 440px;
  }

  .hero-form-card {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .feature-bar {
    margin-top: -36px;
  }

  .feature-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-bar-item:nth-child(2) { border-right: none; }
  .feature-bar-item { border-bottom: 1px solid var(--line); }
  .feature-bar-item:nth-child(3),
  .feature-bar-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-row { grid-template-columns: 1fr; gap: 28px; }
  .about-image { order: -1; }

  .process-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
    padding: 16px 0;
  }

  .process-connector,
  .process-bridge { display: none; }

  .process-track { padding: 24px 18px; }
  .process-step p { min-height: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-head-center { margin-bottom: 28px; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 40px;
    --header-nav: 64px;
  }

  .container {
    width: min(var(--container), calc(100% - 16px));
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .brand-name-full { display: none; }
  .brand-name-short { display: block; font-size: 0.88rem; }
  .brand-sub { display: none; }

  .brand-logo {
    min-width: 0;
    flex: 1;
  }

  .main-nav {
    height: var(--header-nav);
    min-height: 0;
    padding: 0;
  }

  .nav-inner {
    align-items: center;
    gap: 12px;
  }

  .brand-logo img {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-form-desktop {
    display: none;
  }

  .hero-mobile-cta {
    display: inline-flex;
  }

  .hero-left {
    gap: 14px;
  }

  .hero-left h1 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-checks {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 8px;
    text-align: left;
  }

  .hero-checks li {
    font-size: 13px;
  }

  .hero-fees {
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .hero-fee-item {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    text-align: center;
  }

  .hero-contact {
    flex-direction: row;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    gap: 10px;
  }

  .hero-phone,
  .hero-wa {
    flex: 1;
    justify-content: center;
    padding: 11px 10px;
    font-size: 12px;
  }

  .feature-bar {
    margin-top: 0;
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
  }

  .feature-bar-grid { grid-template-columns: 1fr; }

  .feature-bar-item {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding: 16px 14px;
  }

  .feature-bar-item:last-child { border-bottom: none; }

  .section-head-center {
    margin-bottom: 24px;
    padding-inline: 4px;
  }

  .section-head-center h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .section-head-center p {
    font-size: 14px;
  }

  .services-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card { padding: 20px 18px; }

  .section-cta .btn-navy,
  .about-text .btn-navy,
  .process-section .section-cta .btn-navy {
    width: 100%;
  }

  .stats-bar { padding: 32px 0; }

  .stat-item {
    justify-content: flex-start;
    padding: 0 4px;
  }

  .stat-item strong { font-size: 1.5rem; }

  .about-text p { font-size: 14px; }

  .process-track { padding: 20px 14px; }

  .process-step h3 { font-size: 14px; }

  .process-step p { font-size: 12px; }

  .gallery-item { aspect-ratio: 16/10; }

  .testimonial-track { padding: 8px 12px 16px; }

  .testimonial-card {
    flex: 0 0 min(290px, calc(100vw - 40px));
    padding: 18px;
  }

  .faq-list { gap: 10px; }

  .faq-q {
    font-size: 13px;
    padding: 14px 14px;
    gap: 10px;
  }

  .faq-a p {
    padding: 0 14px 14px;
    font-size: 13px;
  }

  .faq-item.is-open .faq-a { max-height: 320px; }

  .cta-section { padding: 32px 0; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cta-text p { font-size: 13px; }

  .cta-btn,
  .footer-apply-btn {
    width: 100%;
    max-width: 100%;
  }

  .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-contact li {
    font-size: 13px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .form-popup {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  .form-popup-dialog {
    max-width: 100%;
    width: 100%;
    max-height: min(90dvh, 640px);
    overflow-y: auto;
    border-radius: var(--radius);
  }

  .form-popup-card {
    border-radius: var(--radius);
    overflow: hidden;
  }

  .form-popup-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 13px;
    z-index: 2;
  }

  .form-popup .hero-form-head {
    padding: 16px;
    padding-right: 48px;
  }

  .form-popup .hero-form {
    padding: 16px;
  }

  .form-head-logo {
    width: 36px;
    height: 36px;
  }

  .phone-prefix {
    padding: 0 8px;
    font-size: 12px;
  }

  .phone-prefix img { width: 16px; }

  .hero-form .form-field input,
  .hero-form .form-field select,
  .form-field input,
  .form-field select {
    font-size: 16px;
  }

  .side-counselling-tab {
    display: flex;
    top: 50%;
    bottom: auto;
    left: 0;
    transform: translateY(-50%);
    padding: 10px 7px;
    border-radius: 0 8px 8px 0;
    z-index: 350;
  }

  .side-counselling-tab:hover {
    transform: translateY(-50%) translateX(2px);
  }

  .side-tab-inner { gap: 8px; }
  .side-tab-text { font-size: 10px; letter-spacing: 0.08em; }
  .side-counselling-tab i { font-size: 14px; }

  .floating-contact {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn i { font-size: 19px; }
  .floating-wa i { font-size: 22px; }

  .thankyou-card {
    padding: 28px 20px 24px;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .thankyou-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 16px));
  }

  .brand-name-short {
    font-size: 0.8rem;
    max-width: 150px;
    line-height: 1.2;
  }

  .hero-tag {
    font-size: 10px;
    padding: 5px 10px;
  }

  .hero-form-head,
  .hero-form {
    padding: 14px;
  }

  .btn-navy,
  .btn-outline-navy {
    padding: 12px 18px;
    font-size: 13px;
  }

  .feature-bar-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .feature-bar-text h3 { font-size: 14px; }

  .testimonial-card {
    flex: 0 0 calc(100vw - 32px);
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .footer-brand span {
    max-width: 260px;
    font-size: 0.82rem;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
  }

  .side-counselling-tab {
    padding: 9px 6px;
  }

  .side-tab-text {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 360px) {
  .hero-left h1 {
    font-size: 1.2rem;
  }

  .hero-fee-item strong { font-size: 0.95rem; }

  .hero-checks li { font-size: 12px; }

  .side-counselling-tab {
    padding: 8px 5px;
  }

  .side-tab-text {
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .side-tab-inner { gap: 6px; }

  .thankyou-card h1 {
    font-size: 1.3rem;
  }

  .thankyou-lead {
    font-size: 14px;
  }
}

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