﻿:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f5fbff;
  --text: #112431;
  --muted: #556571;
  --border: #dbe8f0;
  --accent: #0f92c5;
  --accent-dark: #0c6f92;
  --shadow: 0 18px 50px rgba(15, 75, 102, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: #f1f7fb;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: left;
}

.section-header.text-center {
  text-align: center;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 146, 197, 0.12);
  color: var(--accent);
}

.section-pill.section-pill-soft {
  background: rgba(255, 255, 255, 0.9);
}

.section-header h2 {
  font-size: clamp(2.3rem, 1.8vw, 3.6rem);
  margin: 24px 0 18px;
  line-height: 1.04;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #e9fbff 0%, #ffffff 60%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(15, 146, 197, 0.12) 0%, transparent 26%), radial-gradient(circle at 80% 15%, rgba(28, 199, 217, 0.08) 0%, transparent 24%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 232, 240, 0.9);
  box-shadow: 0 18px 40px rgba(15, 75, 102, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 84px;
}

.brand-pill {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-link {
  white-space: nowrap;
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(15, 146, 197, 0.06);
}

.nav-toggle .bar {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  border-radius: inherit;
  transition: transform var(--transition);
}

.nav-toggle .bar::before {
  top: -8px;
}

.nav-toggle .bar::after {
  top: 8px;
}

.nav-toggle.active .bar {
  opacity: 0;
}

.nav-toggle.active .bar::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe8f0;
  box-shadow: 0 20px 45px rgba(15, 75, 102, 0.08);
  font-weight: 700;
}

.brand-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0b7b9d);
  color: #fff;
  font-size: 0.95rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-content h1 {
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 0.98;
  margin: 0;
}

.accent-text {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 18px;
  padding: 16px 26px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0b7b9d);
  color: white;
  box-shadow: 0 20px 40px rgba(15, 118, 158, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid #cfe5ef;
  box-shadow: 0 24px 45px rgba(15, 75, 102, 0.07);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #f4fbff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.hero-info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(15, 75, 102, 0.08);
  border: 1px solid #e6f1f7;
  max-width: 620px;
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgba(14, 133, 189, 0.08);
  display: grid;
  place-items: center;
}

.hero-info-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.hero-info-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 146, 197, 0.18);
  color: var(--accent);
  font-weight: 700;
  background: white;
  box-shadow: 0 18px 35px rgba(15, 75, 102, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.link-button:hover {
  transform: translateY(-2px);
  background: #f3fbff;
}

.hero-media {
  position: relative;
}

.hero-media-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  min-height: 520px;
  background: white;
  box-shadow: 0 35px 90px rgba(15, 75, 102, 0.12);
  border: 1px solid #e3eff6;
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  color: white;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: 28px;
  background: white;
  border: 1px solid #e3eff6;
  box-shadow: 0 20px 50px rgba(15, 75, 102, 0.08);
  padding: 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 146, 197, 0.22);
  box-shadow: 0 28px 60px rgba(15, 75, 102, 0.14);
}

.service-card h3,
.doctor-card h3,
.feature-card h3,
.partner-card h3,
.testimonial-card h3 {
  margin: 22px 0 14px;
  font-size: 1.2rem;
}

.service-card p,
.doctor-card p,
.feature-card p,
.partner-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.75;
}

.icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: white;
}

.partner-mark {
  width: 110px;      /* was 72px */
  height: 110px;     /* was 72px */
  border-radius: 50%;
  border: 0.5px solid #e0e0e0;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0px;      /* was 8px — less padding = more image space */
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.gradient-cyan { background: linear-gradient(135deg, #0f92c5, #0b7b9d); }
.gradient-blue { background: linear-gradient(135deg, #1f8bcf, #176ea3); }
.gradient-pink { background: linear-gradient(135deg, #e45fa7, #c34b96); }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #6d4bd0); }
.gradient-amber { background: linear-gradient(135deg, #f6b23c, #e29530); }
.gradient-emerald { background: linear-gradient(135deg, #2fce8d, #1e9b6a); }
.gradient-red { background: linear-gradient(135deg, #ef4d76, #d93a5f); }
.gradient-indigo { background: linear-gradient(135deg, #5c6ac4, #3f4da2); }

.service-card .icon {
  width: 1.4em;
  height: 1.4em;
}

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

.text-block p {
  margin-top: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.stat-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  background: white;
  border: 1px solid #e0ecf3;
}

.stat-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(15, 146, 197, 0.1);
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
}

.stat-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.image-block {
  display: grid;
  place-items: center;
}

.image-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(15, 75, 102, 0.14);
}

.image-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.doctor-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.doctor-image {
  min-height: 300px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.04);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subtitle {
  color: var(--accent);
  font-weight: 700;
  margin: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.link-button.small {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid #dbe8f0;
  background: #f7fcff;
  color: var(--accent-dark);
  font-weight: 700;
}

.feature-section {
  background: linear-gradient(135deg, #0f92c5, #0c6f92);
  color: white;
}

.feature-section .section-header p,
.feature-section .section-header h2 {
  color: white;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  border-radius: 28px;
  padding: 32px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-top: 0;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.partner-card {
  text-align: center;
  padding: 28px;
}

.partner-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #def7ff, #b7ecff);
  color: #0f92c5;
  font-weight: 800;
}

.insurance-cta-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f92c5, #0b7b9d);
  color: white;
}

.insurance-cta-card .icon {
  width: 50px;
  height: 50px;
}

.insurance-cta-card h3 {
  margin: 0 0 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

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

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-weight: 700;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.testimonials-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-card {
  padding: 32px;
  min-height: 340px;
}

.testimonial-stars {
  font-size: 0.95rem;
  color: #f6c453;
  margin-bottom: 18px;
}

.testimonial-card p {
  margin-bottom: 30px;
}

.testimonial-by {
  display: flex;
  gap: 14px;
  align-items: center;
}

.testimonial-by span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 146, 197, 0.16), rgba(15, 146, 197, 0.1));
  font-weight: 700;
  color: var(--accent-dark);
}

.testimonial-by div strong {
  display: block;
  font-size: 1rem;
}

.testimonial-by span + div span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
}

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

.contact-panel h2,
.contact-panel h3 {
  margin: 14px 0 0;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #effafc 100%);
  border: 1px solid #d8edf7;
}

.contact-card > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #e2f5fd;
  color: var(--accent-dark);
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.map-frame {
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(15, 75, 102, 0.08);
  border: 1px solid #dbe8f0;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  background: white;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 25px 70px rgba(15, 75, 102, 0.08);
}

.contact-form-panel h3 {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #d8edf7;
  background: #f8fcff;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 146, 197, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer {
  padding-top: 70px;
  padding-bottom: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--text);
  font-weight: 700;
}

.brand-footer .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
  color: var(--accent-dark);
  box-shadow: 0 18px 40px rgba(15, 75, 102, 0.08);
  font-weight: 700;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-list a {
  color: var(--muted);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid #dbe8f0;
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .service-grid,
  .stats-grid,
  .values-grid,
  .doctors-grid,
  .features-grid,
  .insurance-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-frame {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .doctors-grid,
  .insurance-grid,
  .service-grid,
  .stats-grid,
  .values-grid,
  .features-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-item-large {
    grid-column: span 2;
  }
  .section {
    padding: 70px 0;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 24px 22px;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(219, 232, 240, 0.95);
    box-shadow: 0 24px 50px rgba(15, 75, 102, 0.08);
    z-index: 25;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #e8f3fa;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }
  .hero {
    padding-top: 70px;
  }
  .service-grid,
  .doctors-grid,
  .features-grid,
  .insurance-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item-large {
    grid-column: auto;
  }
  .hero-media-card {
    min-height: 360px;
  }
  .hero-cta-actions {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
