:root {
  --cyan: #2bb0d1;
  --cyan-dark: #2399b6;
  --navy: #1d293e;
  --navy-dark: #152030;
  --text: #5a6a7a;
  --text-dark: #1d293e;
  --light: #f4f9fb;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(29, 41, 62, 0.08);
  --radius: 6px;
  --font: "Open Sans", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1170px, 92%);
  margin: 0 auto;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.55rem 0;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--cyan);
}

.topbar i {
  color: var(--cyan);
  margin-right: 0.35rem;
}

.social-top a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.25rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.2;
}

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

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

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy) center/cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(29, 41, 62, 0.92) 0%,
    rgba(29, 41, 62, 0.55) 55%,
    rgba(29, 41, 62, 0.35) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-kicker {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 3rem);
  max-width: 620px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 540px;
  opacity: 0.95;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243552 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.page-hero .breadcrumb a {
  color: var(--cyan);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .accent {
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.35rem;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: capitalize;
}

.section-title h2 span {
  color: var(--cyan);
}

.bg-light {
  background: var(--light);
}

/* Feature trio */
.feature-trio {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.feature-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card .body {
  padding: 1.25rem;
  text-align: center;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--light);
  border-radius: var(--radius);
}

.stat-item i {
  color: var(--cyan);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.stat-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-box {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(43, 176, 209, 0.15);
}

.service-box i {
  font-size: 2.25rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.service-box .read-more {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Gallery */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CTA bar */
.cta-bar {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem 0;
}

.cta-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-bar h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.why-item i {
  font-size: 2rem;
  color: var(--cyan);
  flex-shrink: 0;
}

/* Doctors */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.doctor-card .info {
  padding: 1.25rem;
}

.doctor-card .role {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.25rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--cyan);
}

.price-card.featured {
  border-top-color: var(--navy);
  transform: scale(1.03);
}

.price-card h3 {
  margin-bottom: 0.5rem;
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #e8eef2;
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓";
  color: var(--cyan);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* Forms */
.form-panel {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d5dee6;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 176, 209, 0.2);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}

.form-check label {
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: #c0392b;
}

.form-success {
  background: #e8f8ee;
  border: 1px solid #7dcea0;
  color: #1e5631;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success[hidden] {
  display: none;
}

/* Legal content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.site-footer p {
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--cyan);
  color: var(--white);
}

.site-footer .form-group input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.site-footer .form-group label {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .form-check label {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .form-check a {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 1rem;
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 992px) {
  .feature-trio-grid,
  .service-grid,
  .doctor-grid,
  .blog-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .feature-trio-grid,
  .service-grid,
  .doctor-grid,
  .blog-grid,
  .pricing-grid,
  .stats,
  .form-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
  }
}