/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* ── Entrance animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

.hero {
  padding: 0;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-start;
  margin-top: -100px;
}

/* ── Video background ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(15, 23, 42, 0.68) 0%,
      rgba(15, 76, 129, 0.52) 50%,
      rgba(15, 23, 42, 0.55) 100%);
}

/* ── Floating blur blobs ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 1;
  animation: blobDrift ease-in-out infinite;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: rgba(15, 76, 129, 0.18);
  top: -120px; left: -80px;
  animation-duration: 18s;
}
.hero-blob-2 {
  width: 360px; height: 360px;
  background: rgba(0, 184, 169, 0.13);
  bottom: -80px; right: 10%;
  animation-duration: 22s;
  animation-delay: -6s;
}
.hero-blob-3 {
  width: 260px; height: 260px;
  background: rgba(56, 189, 248, 0.10);
  top: 30%; left: 40%;
  animation-duration: 28s;
  animation-delay: -12s;
}

/* ── Container ── */
.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 40px;
}

/* ── Left copy ── */
.hero-copy {
  padding: 0;
  animation: heroFadeRight 0.7s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.1s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 234, 212, 0.10);
  color: #5EEAD4;
  border: 1px solid rgba(94, 234, 212, 0.28);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.15s;
}

.hero-badge i { font-size: 0.8rem; }

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
  animation: heroFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.22s;
}

.hero-highlight {
  background: linear-gradient(135deg, #5EEAD4 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ── Typewriter cursor ── */
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.idx-cursor {
  display: inline-block;
  color: #5EEAD4;
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 0.8s step-start infinite;
  -webkit-text-fill-color: #5EEAD4;
}

.hero-copy p {
  font-size: 1rem;
  color: rgba(255,255,255,0.97);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 16px;
  animation: heroFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.30s;
}

/* ── Hero bullet list ── */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: heroFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.34s;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

.hero-bullets li i {
  color: #5EEAD4;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-bullets-highlight {
  background: linear-gradient(90deg, rgba(94,234,212,0.12), rgba(56,189,248,0.08));
  border: 1px solid rgba(94,234,212,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.hero-bullets-highlight i {
  color: #FBBF24 !important;
}

/* ── CTA row ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: heroFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.38s;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0F4C81 0%, #00B8A9 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15,76,129,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,76,129,0.45);
  color: #fff;
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.90);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.50);
  transform: translateY(-3px);
  color: #fff;
}

#bookdemo {
  scroll-margin-top: 0;
}

/* ── FORM CARD ── */
.hero-form-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 20px;
  padding: 20px 22px 18px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  animation: heroFadeLeft 0.75s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.2s;
}

/* ── Header ── */
.hero-form-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.hero-form-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 8px 20px rgba(15,76,129,0.35);
}

.hero-form-icon i { font-size: 1.1rem; color: #fff; }

.hero-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5EEAD4;
  background: rgba(94,234,212,0.10);
  border: 1px solid rgba(94,234,212,0.22);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.hero-form-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-form-header p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
  line-height: 1.55;
}

/* ── Field wrapper (input + its error) ── */
.hf-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Input row ── */
.hf-field {
  position: relative;
  display: flex;
  align-items: center;
}

/* Leading icon */
.hf-field > i:first-child {
  position: absolute;
  left: 14px;
  font-size: 0.85rem;
  color: #94A3B8;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}

.hf-field:focus-within > i:first-child {
  color: #00B8A9;
}

/* Inputs & select */
.hf-field input,
.hf-field select {
  width: 100%;
  height: 40px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 14px 0 40px;
  font-size: 0.835rem;
  font-family: var(--default-font);
  font-weight: 400;
  color: #0F172A;
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.hf-field input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

/* Focus state */
.hf-field input:focus,
.hf-field select:focus {
  background: #ffffff;
  border-color: #00B8A9;
  box-shadow: 0 0 0 3px rgba(0,184,169,0.15);
  color: #0F172A;
}

/* Error state on field */
.hf-field.hf-has-error input,
.hf-field.hf-has-error select {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}

.hf-field.hf-has-error > i:first-child { color: #F87171; }

/* Valid state */
.hf-field.hf-is-valid input,
.hf-field.hf-is-valid select {
  border-color: rgba(16,185,129,0.55);
}

.hf-field.hf-is-valid > i:first-child { color: #10B981; }

/* ── Select ── */
.hf-select-wrap { position: relative; }

.hf-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 34px;
  cursor: pointer;
}

.hf-field select option {
  background: #ffffff;
  color: #0F172A;
}

.hf-chevron {
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  font-size: 0.68rem !important;
  color: #94A3B8 !important;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease !important;
}

.hf-field:focus-within .hf-chevron { color: #00B8A9 !important; }

/* ── Per-field error text ── */
.hf-error {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #DC2626;
  line-height: 1.4;
  min-height: 0;
  transition: opacity 0.2s ease;
}

.hf-error:empty { display: none; }

/* ── Privacy checkbox ── */
.hf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748B;
  cursor: pointer;
  line-height: 1.55;
  margin: 0;
  padding: 2px 0;
}

.hf-privacy input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #00B8A9;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.hf-privacy a {
  color: #0F4C81;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hf-privacy a:hover { color: #00B8A9; }

/* ── Submit button ── */
.hf-submit {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #0F4C81 0%, #00B8A9 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--default-font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(15,76,129,0.28);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1),
              filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hf-submit-text { position: relative; z-index: 1; }
.hf-submit i { position: relative; z-index: 1; font-size: 0.9rem; }

.hf-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;
}

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

.hf-submit:hover .hf-shine { left: 145%; }

.hf-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,76,129,0.30);
  filter: brightness(0.97);
}

/* ── Trust row ── */
.hf-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.hf-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.70rem;
  font-weight: 500;
  color: #64748B;
  white-space: nowrap;
}

.hf-trust-row i {
  font-size: 0.72rem;
  color: #00B8A9;
}

/* ── php-email-form message overrides for white card ── */
.hero-form-card .php-email-form .error-message {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  border-radius: 10px;
  font-size: 0.78rem;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.hero-form-card .php-email-form .sent-message {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  font-size: 0.78rem;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.hero-form-card .php-email-form .loading {
  background: #F8FAFC;
  color: #64748B;
  border-radius: 10px;
  font-size: 0.78rem;
  padding: 10px 14px;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-form-card { padding: 20px 16px 18px; }
  .hf-field input, .hf-field select { height: 44px; font-size: 0.82rem; }
  .hf-submit { height: 48px; font-size: 0.88rem; }
}

/* ── Trust badges ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  animation: heroFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.46s;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 13px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.hero-trust-item:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.26);
}

.hero-trust-item i {
  font-size: 0.78rem;
  color: #5EEAD4;
}

/* ── Hero responsive ── */
@media (max-width: 992px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-container { padding-top: 130px; padding-bottom: 32px; }
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-container { padding-top: 120px; padding-bottom: 28px; }
  .hero-copy h1 { font-size: 2.2rem; }
  .hero-copy p { font-size: 1rem; margin-bottom: 24px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-btn-primary, .hero-btn-ghost { justify-content: center; }
  .hero-form-card { padding: 20px 16px; margin-top: 8px; }
}

@media (max-width: 576px) {
  .hero-copy h1 { font-size: 1.9rem; }
  .hero-trust { gap: 6px; }
  .hero-trust-item { font-size: 0.70rem; padding: 4px 10px; }
}

/*--------------------------------------------------------------
# Hero Below Bar (Stats + Contact)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Stats Section (.tp-stats)
--------------------------------------------------------------*/
.tp-stats {
  background: #F8FAFC;
  padding: 72px 0;
  position: relative;
  overflow: visible;
}

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

/* ── Card ── */
.tp-stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06), 0 1px 4px rgba(15,23,42,0.04);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.28s cubic-bezier(0.4,0,0.2,1),
              border-color 0.28s ease;
}

/* Gradient top accent bar */
.tp-stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sc, #0F4C81), transparent 20%),
    color-mix(in srgb, var(--sc, #0F4C81), white 40%));
  border-radius: 20px 20px 0 0;
  opacity: 0.9;
}

/* Subtle radial glow behind icon */
.tp-stat-card::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--sc, #0F4C81), transparent 82%) 0%,
    transparent 70%);
  pointer-events: none;
  transition: opacity 0.28s ease;
  opacity: 0.6;
}

.tp-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(15,23,42,0.11), 0 4px 12px rgba(15,23,42,0.06);
  border-color: color-mix(in srgb, var(--sc, #0F4C81), transparent 72%);
}

.tp-stat-card:hover::after { opacity: 1; }

/* ── Icon badge ── */
.tp-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--sc, #0F4C81), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--sc, #0F4C81), transparent 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sc, #0F4C81);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.tp-stat-card:hover .tp-stat-icon {
  background: var(--sc, #0F4C81);
  color: #ffffff;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--sc, #0F4C81), transparent 55%);
}

/* ── Number ── */
.tp-stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.tp-stat-count {
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.04em;
  font-family: var(--heading-font);
  line-height: 1;
}

.tp-stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--sc, #0F4C81);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Support card static number */
.tp-stat-number--sm span {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.04em;
  font-family: var(--heading-font);
  line-height: 1;
}

/* ── Label & description ── */
.tp-stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.tp-stat-desc {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .tp-stats { padding: 56px 0; }
  .tp-stat-card { padding: 28px 20px 24px; }
}

@media (max-width: 576px) {
  .tp-stats { padding: 48px 0; }
  .tp-stat-count { font-size: 2.4rem; }
  .tp-stat-suffix { font-size: 1.5rem; }
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about {
  background: #F8FAFC;
  position: relative;
}

/* Subtle dot grid */
.home-about::before {
  content: "";
  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;
  z-index: 0;
}

.home-about .container { position: relative; z-index: 1; }

.home-about .about-image {
  position: relative;
}

.home-about .about-image img {
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 76, 129, 0.12);
  width: 100%;
  object-fit: cover;
}

.home-about .about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: 24px;
  background: linear-gradient(135deg, #0F4C81 0%, #00B8A9 100%);
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 76, 129, 0.3);
  text-align: center;
  min-width: 120px;
}

.home-about .about-image .experience-badge .years {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.home-about .about-image .experience-badge .text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
  display: block;
}

.home-about .about-content {
  padding-left: 12px;
}

.home-about .about-content .section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00B8A9;
  background: rgba(0, 184, 169, 0.1);
  border: 1px solid rgba(0, 184, 169, 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.home-about .about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.home-about .about-content p {
  font-size: 1rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 10px;
}

.home-about .feature-item {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  height: 100%;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-about .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 76, 129, 0.1);
  border-color: rgba(15, 76, 129, 0.2);
}

.home-about .feature-item .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.1), rgba(0, 184, 169, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #0F4C81;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-about .feature-item:hover .icon {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  transform: scale(1.08);
}

.home-about .feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.home-about .feature-item p {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0;
  line-height: 1.6;
}

.home-about .cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.home-about .cta-wrapper .btn {
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.home-about .cta-wrapper .btn-primary {
  background: linear-gradient(135deg, #0F4C81, #1a6bb5);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
}

.home-about .cta-wrapper .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.4);
}

.home-about .cta-wrapper .btn-outline {
  border: 1.5px solid #CBD5E1;
  color: #334155;
  background: transparent;
}

.home-about .cta-wrapper .btn-outline:hover {
  border-color: #0F4C81;
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.04);
}

@media (max-width: 992px) {
  .home-about .about-content {
    margin-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .home-about .about-image .experience-badge {
    right: 12px;
    padding: 14px 18px;
  }
  .home-about .about-image .experience-badge .years { font-size: 1.8rem; }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments .department-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.featured-departments .department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.12);
  border-color: rgba(15, 76, 129, 0.2);
}

.featured-departments .department-image {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.featured-departments .department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-departments .department-card:hover .department-image img {
  transform: scale(1.06);
}

.featured-departments .department-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-departments .department-card:hover .department-image::after {
  opacity: 1;
}

.featured-departments .department-content {
  padding: 12px 14px 12px;
  position: relative;
}

.featured-departments .department-icon {
  position: absolute;
  top: -20px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 76, 129, 0.28);
  transition: transform 0.25s ease;
}

.featured-departments .department-card:hover .department-icon {
  transform: scale(1.1) rotate(-4deg);
}

.featured-departments .department-icon i {
  font-size: 16px;
  color: #fff;
}

.featured-departments h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 0 4px;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.featured-departments p {
  color: #64748B;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .featured-departments .department-content {
    padding: 10px 12px 10px;
  }
  .featured-departments .department-icon {
    left: 14px;
    width: 36px;
    height: 36px;
    top: -18px;
  }
  .featured-departments .department-icon i { font-size: 14px; }
  .featured-departments h3 {
    font-size: 0.9rem;
    margin: 18px 0 3px;
  }
  .featured-departments p { font-size: 0.80rem; }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  height: 100%;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.featured-services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0F4C81, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.featured-services .service-card:hover::before {
  transform: scaleX(1);
}

.featured-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.12);
  border-color: rgba(15, 76, 129, 0.2);
}

.featured-services .service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(0, 184, 169, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.featured-services .service-icon i {
  font-size: 2rem;
  color: #0F4C81;
  transition: all 0.3s ease;
}

.featured-services .service-card:hover .service-icon {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  transform: scale(1.08) rotate(-4deg);
}

.featured-services .service-card:hover .service-icon i {
  color: #fff;
}

.featured-services .service-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0F172A;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.featured-services .service-card:hover .service-content h3 {
  color: #0F4C81;
}

.featured-services .service-content p {
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.featured-services .service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.featured-services .service-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: #334155;
}

.featured-services .service-features li:last-child { margin-bottom: 0; }

.featured-services .service-features li i {
  color: #00B8A9;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.featured-services .service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0F4C81;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.featured-services .service-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.featured-services .service-btn:hover {
  color: #00B8A9;
}

.featured-services .service-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .featured-services .service-card { padding: 18px 16px; }
  .featured-services .service-icon { width: 60px; height: 60px; }
  .featured-services .service-icon i { font-size: 1.6rem; }
  .featured-services .service-content h3 { font-size: 1.05rem; }
  .featured-services .service-content p { font-size: 0.875rem; }
  .featured-services .service-features li { font-size: 0.825rem; }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.find-a-doctor .search-container {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 2rem;
}

.find-a-doctor .search-form .form-control,
.find-a-doctor .search-form .form-select {
  padding: 0.75rem 1rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.find-a-doctor .search-form .form-control:focus,
.find-a-doctor .search-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 85%);
}

.find-a-doctor .search-form .btn-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.find-a-doctor .search-form .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.find-a-doctor .filter-tabs .nav-pills .nav-link {
  color: var(--default-color);
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin: 0 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.find-a-doctor .filter-tabs .nav-pills .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.find-a-doctor .filter-tabs .nav-pills .nav-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.find-a-doctor .doctor-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 92%);
}

.find-a-doctor .doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.find-a-doctor .doctor-card .doctor-image {
  position: relative;
  overflow: hidden;
}

.find-a-doctor .doctor-card .doctor-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.find-a-doctor .doctor-card .doctor-image .availability-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.find-a-doctor .doctor-card .doctor-image .availability-badge.online {
  background: color-mix(in srgb, #28a745, transparent 10%);
  color: white;
}

.find-a-doctor .doctor-card .doctor-image .availability-badge.busy {
  background: color-mix(in srgb, #ffc107, transparent 10%);
  color: white;
}

.find-a-doctor .doctor-card .doctor-image .availability-badge.offline {
  background: color-mix(in srgb, var(--default-color), transparent 20%);
  color: white;
}

.find-a-doctor .doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

.find-a-doctor .doctor-card .doctor-info {
  padding: 1.5rem;
}

.find-a-doctor .doctor-card .doctor-info h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.find-a-doctor .doctor-card .doctor-info .specialty {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.find-a-doctor .doctor-card .doctor-info .experience {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.find-a-doctor .doctor-card .doctor-info .rating {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.find-a-doctor .doctor-card .doctor-info .rating i {
  color: #ffc107;
  font-size: 0.9rem;
  margin-right: 0.125rem;
}

.find-a-doctor .doctor-card .doctor-info .rating .rating-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions {
  display: flex;
  gap: 0.5rem;
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions .btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions .btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions .btn-outline-primary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions .btn-primary {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
}

.find-a-doctor .doctor-card .doctor-info .appointment-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
}

.find-a-doctor .btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.find-a-doctor .btn-lg:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .find-a-doctor .search-container {
    padding: 1.5rem;
  }

  .find-a-doctor .search-form .row.g-3>* {
    margin-bottom: 1rem;
  }

  .find-a-doctor .filter-tabs .nav-pills {
    flex-wrap: wrap;
  }

  .find-a-doctor .filter-tabs .nav-pills .nav-link {
    margin-bottom: 0.5rem;
  }

  .find-a-doctor .doctor-card .doctor-info .appointment-actions {
    flex-direction: column;
  }

  .find-a-doctor .doctor-card .doctor-info .appointment-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 576px) {
  .find-a-doctor h2 {
    font-size: 2rem;
  }

  .find-a-doctor .search-container {
    padding: 1rem;
  }

  .find-a-doctor .doctor-card .doctor-image img {
    height: 200px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(135deg, #0a3560 0%, #0F4C81 50%, #0d6e6e 100%);
  position: relative;
  overflow: hidden;
}

.call-to-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0, 184, 169, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.call-to-action .container { position: relative; z-index: 1; }

.call-to-action h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.call-to-action p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.call-to-action .cta-buttons {
  margin-bottom: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: #fff;
  color: #0F4C81;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  background: #f0f9ff;
  color: #0F4C81;
}

.call-to-action .cta-buttons .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: #fff;
  color: #0F4C81;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.call-to-action .cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  background: #f0f9ff;
}

.call-to-action .cta-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.call-to-action .cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

@media (max-width: 576px) {
  .call-to-action .cta-buttons { flex-direction: column; align-items: center; }
  .call-to-action .cta-buttons .btn-primary,
  .call-to-action .cta-buttons .btn-secondary { width: 100%; justify-content: center; }
}

.call-to-action .features-row {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.call-to-action .feature-card {
  background: rgba(255, 255, 255, 0.07);
  padding: 1.25rem 1.25rem;
  border-radius: 16px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.call-to-action .feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-6px);
}

.call-to-action .feature-card .icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: all 0.25s ease;
}

.call-to-action .feature-card .icon-wrapper i {
  font-size: 1.6rem;
  color: #5EEAD4;
}

.call-to-action .feature-card:hover .icon-wrapper {
  background: rgba(94, 234, 212, 0.2);
  transform: scale(1.08);
}

.call-to-action .feature-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.call-to-action .feature-card p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.875rem;
  max-width: none;
}

.call-to-action .feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5EEAD4;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.call-to-action .feature-card .feature-link i { transition: transform 0.2s ease; }

.call-to-action .feature-card .feature-link:hover { color: #fff; }
.call-to-action .feature-card .feature-link:hover i { transform: translateX(4px); }

.call-to-action .emergency-alert {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  margin-top: 1.5rem;
  color: #fff;
}

.call-to-action .emergency-alert .emergency-content {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .call-to-action .emergency-alert .emergency-content {
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

.call-to-action .emergency-alert .emergency-icon {
  width: 52px;
  height: 52px;
  background: rgba(94, 234, 212, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .call-to-action .emergency-alert .emergency-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

.call-to-action .emergency-alert .emergency-icon i {
  font-size: 1.3rem;
  color: #5EEAD4;
}

.call-to-action .emergency-alert .emergency-text h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.call-to-action .emergency-alert .emergency-text p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  font-size: 0.875rem;
  max-width: none;
}

.call-to-action .emergency-alert .emergency-btn {
  background: linear-gradient(135deg, #00B8A9, #0F4C81);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 184, 169, 0.3);
}

.call-to-action .emergency-alert .emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 184, 169, 0.4);
}

@media (max-width: 992px) {
  .call-to-action .emergency-alert { text-align: center; }
  .call-to-action .emergency-alert .row { flex-direction: column; }
  .call-to-action .emergency-alert .col-lg-5 { margin-top: 1rem; }
}

/*--------------------------------------------------------------
# Emergency Info Section
--------------------------------------------------------------*/
.emergency-info .emergency-alert {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: var(--contrast-color);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
  .emergency-info .emergency-alert {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

.emergency-info .emergency-alert .alert-icon {
  font-size: 3rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .emergency-info .emergency-alert .alert-icon {
    font-size: 2.5rem;
  }
}

.emergency-info .emergency-alert .alert-content {
  flex: 1;
}

.emergency-info .emergency-alert .alert-content h3 {
  color: var(--contrast-color);
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 700;
}

.emergency-info .emergency-alert .alert-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.emergency-info .emergency-alert .alert-action .btn-emergency {
  background-color: var(--contrast-color);
  color: #dc3545;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.emergency-info .emergency-alert .alert-action .btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #dc3545;
}

.emergency-info .emergency-alert .alert-action .btn-emergency i {
  font-size: 1.1rem;
}

.emergency-info .emergency-contacts .contact-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.emergency-info .emergency-contacts .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.emergency-info .emergency-contacts .contact-card.urgent {
  border-left-color: #dc3545;
}

.emergency-info .emergency-contacts .contact-card.urgent .card-icon i {
  color: #dc3545;
}

.emergency-info .emergency-contacts .contact-card .card-icon {
  text-align: center;
  margin-bottom: 20px;
}

.emergency-info .emergency-contacts .contact-card .card-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.emergency-info .emergency-contacts .contact-card .card-content {
  text-align: center;
  margin-bottom: 20px;
}

.emergency-info .emergency-contacts .contact-card .card-content h4 {
  color: var(--heading-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.emergency-info .emergency-contacts .contact-card .card-content .contact-info,
.emergency-info .emergency-contacts .contact-card .card-content .address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.emergency-info .emergency-contacts .contact-card .card-content .contact-info i,
.emergency-info .emergency-contacts .contact-card .card-content .address i {
  color: var(--accent-color);
  font-size: 1rem;
}

.emergency-info .emergency-contacts .contact-card .card-content .contact-info span,
.emergency-info .emergency-contacts .contact-card .card-content .address span {
  font-weight: 500;
}

.emergency-info .emergency-contacts .contact-card .card-content .description {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.emergency-info .emergency-contacts .contact-card .card-content .hours {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0;
}

.emergency-info .emergency-contacts .contact-card .card-action {
  text-align: center;
}

.emergency-info .emergency-contacts .contact-card .card-action .btn-contact {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.emergency-info .emergency-contacts .contact-card .card-action .btn-contact:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.emergency-info .quick-actions {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.emergency-info .quick-actions h4 {
  text-align: center;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.emergency-info .quick-actions .action-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-decoration: none;
  color: var(--default-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .emergency-info .quick-actions .action-link {
    margin-bottom: 0.5rem;
  }
}

.emergency-info .quick-actions .action-link:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transform: translateY(-3px);
}

.emergency-info .quick-actions .action-link i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.emergency-info .quick-actions .action-link span {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.emergency-info .quick-actions .action-link:hover i {
  color: var(--accent-color);
}

.emergency-info .emergency-tips {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.emergency-info .emergency-tips h4 {
  text-align: center;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.emergency-info .emergency-tips .emergency-list {
  list-style: none;
  padding: 0;
}

.emergency-info .emergency-tips .emergency-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 0;
}

.emergency-info .emergency-tips .emergency-list li i {
  color: #28a745;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.emergency-info .emergency-tips .emergency-list li:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Featured Testimonials Section
--------------------------------------------------------------*/
.featured-testimonials {
  background: #F8FAFC;
}

/* tp-clients — background handled in Section Rhythm block below */
/* Dark background for testimonials section */
.tp-testimonials {
  background: linear-gradient(135deg, #0a1e38 0%, #0F4C81 55%, #0a6e6e 100%) !important;
  position: relative;
  overflow: hidden;
}

.tp-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.tp-testimonials .testimonial-item {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}

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

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

.tp-testimonials .testimonial-item .profile-info h3 {
  color: #ffffff;
}

.tp-testimonials .testimonial-item .profile-info span:first-of-type {
  color: #5EEAD4 !important;
}

.tp-testimonials .testimonial-item .tp-clinic {
  color: rgba(255,255,255,0.45) !important;
}

.tp-testimonials .testimonial-item .tp-stars i {
  color: #FCD34D;
}

.tp-testimonials .testimonial-item::before {
  color: rgba(255,255,255,0.06) !important;
}

.tp-testimonials .swiper-button-prev,
.tp-testimonials .swiper-button-next {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}

.tp-testimonials .swiper-button-prev::after,
.tp-testimonials .swiper-button-next::after {
  color: #ffffff;
}

/* Star ratings */
.tp-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.tp-stars i {
  font-size: 0.85rem;
  color: #F59E0B;
}

/* Clinic name under role */
.featured-testimonials .testimonial-item .profile-info .tp-clinic {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-color);
  font-style: italic;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Pagination dots */
.featured-testimonials .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 16px;
}
.featured-testimonials .swiper-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.featured-testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.3);
}

/* Side image wrapper with badge */
.tp-testi-img-wrap {
  position: relative;
  height: 100%;
  max-height: 380px;
}
.tp-testi-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
}
.tp-testi-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.15);
}
.tp-testi-badge i {
  font-size: 1.4rem;
  color: #00B8A9;
}
.tp-testi-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}
.tp-testi-badge span {
  font-size: 0.75rem;
  color: var(--muted-color);
}


.featured-testimonials .testimonials-slider {
  width: 100%;
  position: relative;
  padding-bottom: 32px;
}

.featured-testimonials .swiper-wrapper {
  height: auto;
}

.featured-testimonials .testimonial-item {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  position: relative;
}

.featured-testimonials .testimonial-item::before {
  content: "\201C";
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(15, 76, 129, 0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

@media (max-width: 575px) {
  .featured-testimonials .testimonial-item { padding: 24px; }
}

.featured-testimonials .testimonial-item h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.featured-testimonials .testimonial-item p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #475569;
  font-style: normal;
}

.featured-testimonials .testimonial-item .profile {
  gap: 14px;
  align-items: center;
}

.featured-testimonials .testimonial-item .profile .profile-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #0F4C81, #00B8A9) border-box;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.18);
}

.featured-testimonials .testimonial-item .profile .profile-info h3 {
  font-size: 1.08rem;
  margin: 0 0 2px;
  font-weight: 800;
  color: #0a1e38;
  letter-spacing: -0.01em;
  font-family: var(--heading-font);
}

.featured-testimonials .testimonial-item .profile .profile-info span:first-of-type {
  font-size: 0.8rem;
  color: #00B8A9;
  font-weight: 600;
  display: block;
}

.featured-testimonials .testimonial-item .featured-img-wrapper {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 76, 129, 0.12);
}

.featured-testimonials .testimonial-item .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.featured-testimonials .swiper-navigation {
  position: absolute;
  bottom: 0;
  gap: 10px;
}

.featured-testimonials .swiper-button-prev,
.featured-testimonials .swiper-button-next {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 0;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.featured-testimonials .swiper-button-prev::after,
.featured-testimonials .swiper-button-next::after {
  font-size: 16px;
  color: #334155;
  font-weight: 700;
}

.featured-testimonials .swiper-button-prev:hover,
.featured-testimonials .swiper-button-next:hover {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
}

.featured-testimonials .swiper-button-prev:hover::after,
.featured-testimonials .swiper-button-next:hover::after {
  color: #fff;
}

/*--------------------------------------------------------------
# Custom CSS
--------------------------------------------------------------*/
.border-line-btm-gray {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.featured-services .cta-wrapper .btn-outline {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  color: var(--default-color);
}

.featured-services .cta-wrapper .btn-outline:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.featured-services .cta-wrapper .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.featured-services .cta-wrapper .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
}
.featured-testimonials .client-item {
  margin: 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-radius: 12px;
  transition: all 0.25s ease;
  min-width: 140px;
}

.featured-testimonials .client-item img {
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.25s ease, transform 0.25s ease;
  max-height: 160px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.featured-testimonials .client-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}
.appointment-form-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(15,76,129,0.12);
    box-shadow: 0 8px 24px rgba(15,23,42,0.06), 0 2px 10px rgba(15,76,129,0.05);
    max-width: 480px;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15,23,42,0.08), 0 4px 14px rgba(15,76,129,0.06);
}

.booking-section {
    background: rgba(15,76,129,0.035);
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(15,76,129,0.08);
    height: 100%;
}

.appointment-form-wrapper h3,
.booking-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

.appointment-form-wrapper .row.gy-3 {
    --bs-gutter-y: 0.9rem;
}

.appointment-form-wrapper .form-control,
.appointment-form-wrapper .form-select,
.appointment-form-wrapper textarea.form-control {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #DCE6F2;
    padding: 0.72rem 0.9rem;
    font-size: 0.9rem;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.appointment-form-wrapper .form-control:focus,
.appointment-form-wrapper .form-select:focus,
.appointment-form-wrapper textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px rgba(15,76,129,0.10);
    transform: translateY(-1px);
}

.appointment-form-wrapper small {
    display: block;
    margin-top: 0.22rem;
    color: #64748B;
    font-size: 0.74rem;
}

.appointment-form-wrapper .btn-primary {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1rem;
    box-shadow: 0 8px 20px rgba(15,76,129,0.18);
}

.login {
color: #ffffff;
background: linear-gradient(135deg, var(--accent-color),
 color-mix(in srgb, var(--accent-color), var(--heading-color) 100%)) !important;
}

.patientlogin {
color: #ffffff;
background: linear-gradient(135deg, var(--default-color),
 color-mix(in srgb, var(--default-color), var(--heading-color) 100%)) !important;
}

.login h5, .login h6 { text-align: center; color: #ffffff; margin: 5% 0;}
.patientlogin h5, .patientlogin h6 { text-align: center; color: #ffffff; margin: 5% 0;}
.login p { text-align: center; color: #ffffff; font-size: small; margin-top:1% !important}

/*--------------------------------------------------------------
# Onboarding Section (.ob-)
--------------------------------------------------------------*/
.ob-section {
  background: #F8FAFC;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

/* Background decorations */
.ob-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ob-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.ob-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(15,76,129,0.13) 0%, transparent 70%);
  top: -160px; left: -120px;
}

.ob-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,184,169,0.11) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}

.ob-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,76,129,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

/* ── Section header ── */
.ob-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.ob-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 8px 0 10px;
}

.ob-header p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* ── Timeline ── */
.ob-timeline {
  position: relative;
  margin-bottom: 48px;
}

.ob-tl-track {
  position: absolute;
  top: 20px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
}

.ob-tl-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0F4C81, #00B8A9);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ob-tl-fill.ob-tl-animated { width: 100%; }

.ob-tl-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 16.66%;
}

.ob-tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.ob-tl-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E2E8F0;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.ob-tl-node--active .ob-tl-num,
.ob-tl-node.ob-tl-node--done .ob-tl-num {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15,76,129,0.28);
}

.ob-tl-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.ob-tl-node--active .ob-tl-label,
.ob-tl-node.ob-tl-node--done .ob-tl-label {
  color: #0F4C81;
}

/* ── Cards grid ── */
.ob-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* ── Card ── */
.ob-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15,23,42,0.06);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Top border sweep */
.ob-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0F4C81, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ob-card:hover::before { transform: scaleX(1); }

.ob-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 56px rgba(15,76,129,0.12);
  border-color: rgba(15,76,129,0.18);
}

.ob-card-inner {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card top row */
.ob-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Step badge */
.ob-step-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0F4C81;
  background: rgba(15,76,129,0.08);
  border: 1px solid rgba(15,76,129,0.16);
  padding: 4px 10px;
  border-radius: 50px;
}

/* Icon box */
.ob-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15,76,129,0.08), rgba(0,184,169,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F4C81;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ob-card:hover .ob-icon-box {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

/* Title */
.ob-card h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  transition: color 0.25s ease;
}

.ob-card:hover h3 { color: #0F4C81; }

/* Description */
.ob-card p {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0 0 12px;
}

/* Checklist */
.ob-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  flex-grow: 1;
}

.ob-checklist li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.80rem;
  color: #334155;
  padding: 5px 0;
  border-bottom: 1px solid #F1F5F9;
}

.ob-checklist li:last-child { border-bottom: none; }

.ob-checklist li svg {
  color: #00B8A9;
  flex-shrink: 0;
}

/* Card footer */
.ob-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

/* Time badge */
.ob-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 50px;
}

.ob-time-badge svg { color: #00B8A9; }

/* CTA arrow */
.ob-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15,76,129,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F4C81;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ob-card:hover .ob-card-arrow {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  transform: translateX(4px);
}

/* ── Ready state bar ── */
.ob-ready {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
  flex-wrap: wrap;
}

.ob-ready-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15,76,129,0.28);
}

.ob-ready-text {
  flex: 1;
  min-width: 200px;
}

.ob-ready-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.ob-ready-text span {
  font-size: 0.845rem;
  color: #64748B;
}

.ob-ready-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15,76,129,0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.ob-ready-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,76,129,0.35);
  color: #fff;
}

.ob-ready-cta svg { transition: transform 0.22s ease; }
.ob-ready-cta:hover svg { transform: translateX(4px); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .ob-section { padding: 56px 0 48px; }
  .ob-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ob-tl-nodes { padding: 0 8%; }
  .ob-tl-track {
    left: calc(8% + 20px);
    right: calc(8% + 20px);
  }
}

@media (max-width: 767px) {
  .ob-section { padding: 48px 0 40px; }
  .ob-header { margin-bottom: 24px; }
  .ob-header h2 { font-size: clamp(1.4rem, 5vw, 1.75rem); }
  .ob-timeline { display: none; }
  .ob-cards { grid-template-columns: 1fr; gap: 12px; }
  .ob-card-inner { padding: 16px 16px 14px; }
  .ob-ready { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ob-ready-cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .ob-section { padding: 36px 0 32px; }
  .ob-icon-box { width: 38px; height: 38px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ob-card,
  .ob-tl-fill,
  .ob-icon-box,
  .ob-card-arrow,
  .ob-ready-cta svg { transition: none; }
}

/*--------------------------------------------------------------
# Index page — force white navbar
--------------------------------------------------------------*/
.index-page .tp-header {
  background: rgba(255,255,255,1) !important;
  border-bottom-color: #E2E8F0 !important;
}
.index-page .tp-header.tp-scrolled {
  background: rgba(255,255,255,1) !important;
  box-shadow: 0 4px 24px rgba(15,23,42,0.07), 0 1px 4px rgba(15,23,42,0.04);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  height: fit-content;
}

.departments .department-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.departments .department-card:hover .department-image-wrapper img {
  transform: scale(1.02);
}

.departments .department-card:hover .department-link {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.departments .department-header {
  text-align: center;
  margin-bottom: 20px;
}

.departments .department-header .department-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.departments .department-header .department-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.departments .department-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.departments .department-header .department-subtitle {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.departments .department-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 140px;
}

.departments .department-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.departments .department-image-wrapper .department-stats {
  position: absolute;
  top: 12px;
  right: 12px;
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.departments .department-image-wrapper .department-stats .stat-number {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.departments .department-image-wrapper .department-stats .stat-label {
  font-size: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
  text-transform: uppercase;
}

.departments .department-content p {
  font-size: 13px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 15px;
}

.departments .department-content .department-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.departments .department-content .department-highlights li {
  font-size: 12px;
  color: var(--default-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.departments .department-content .department-highlights li i {
  color: var(--accent-color);
  font-size: 12px;
}

.departments .department-content .department-link {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.departments .featured-department {
  background: linear-gradient(145deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 95%));
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  position: relative;
  overflow: hidden;
}

.departments .featured-department::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%), transparent);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.departments .featured-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.departments .featured-header .featured-badge {
  background: linear-gradient(135deg, #ffa726, #ff7043);
  color: var(--contrast-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.departments .featured-header .featured-badge i {
  font-size: 10px;
}

.departments .featured-header .featured-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 25%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.departments .featured-header .featured-icon i {
  font-size: 32px;
  color: var(--contrast-color);
}

.departments .featured-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.departments .featured-header .featured-subtitle {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.departments .featured-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 25px;
  height: 200px;
}

.departments .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.departments .featured-image .featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--default-color), transparent 20%), transparent);
  padding: 20px;
}

.departments .featured-image .achievement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.departments .featured-image .achievement-list .achievement-item {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 20px;
  color: var(--contrast-color);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.departments .featured-image .achievement-list .achievement-item i {
  font-size: 12px;
}

.departments .featured-content {
  text-align: center;
}

.departments .featured-content p {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
}

.departments .featured-content .featured-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.departments .featured-content .featured-services .service-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.departments .featured-content .featured-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.departments .featured-content .featured-btn:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

.departments .featured-content .featured-btn:hover i {
  transform: rotate(45deg);
}

.departments .featured-content .featured-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

@media (max-width: 992px) {
  .departments .featured-department {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .departments .department-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .departments .featured-department {
    padding: 25px;
  }

  .departments .featured-header .featured-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }

  .departments .featured-header .featured-icon i {
    font-size: 28px;
  }

  .departments .featured-header h2 {
    font-size: 24px;
  }

  .departments .featured-image {
    height: 180px;
  }

  .departments .department-image-wrapper {
    height: 120px;
  }

  .departments .featured-services .service-tag {
    font-size: 10px;
    padding: 5px 10px;
  }
}

