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

:root {
  --blue: #0077b6;
  --dark-blue: #005f92;
  --teal: #00b4d8;
  --green: #2e7d52;
  --light-bg: #eaf6fb;
  --dark: #2b2b2b;
  --gray: #555;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  scroll-behavior: smooth;
}

/* ── HEADER (overlaid on hero) ── */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* subpages use position:relative so need solid bg */
.site-header[style*="position:relative"] {
  background: rgba(255,255,255,0.96);
}

/* ── TOP BAR ── */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background: transparent;
}

.top-bar .phone a {
  background: var(--blue);
  color: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar .phone a:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

.top-bar .logo {
  text-align: center;
}

.top-bar .logo img {
  height: 62px;
  display: block;
}

.top-bar .appt a {
  background: var(--blue);
  color: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar .appt a:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

/* ── NAV ── */
nav {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.07);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 60px;
  padding: 14px 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  padding-bottom: 4px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

nav ul li a:hover::after,
nav ul li a[style*="color:var(--blue)"]::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--blue);
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.fade-in.visible {
  opacity: 1;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,30,60,0.45) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 72px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: #90d8f5;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}

.hero-cta:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,119,182,0.45);
}

/* ── WELCOME ── */
.welcome {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 90px 120px;
  background: #fff;
}

.welcome-text {
  flex: 1;
}

.welcome-text h2 {
  font-size: 34px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.welcome-text p {
  color: var(--gray);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 36px;
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--dark-blue);
  box-shadow: 0 8px 24px rgba(0,95,146,0.35);
}

.btn-secondary {
  background: #007f9f;
  color: #fff;
}

.btn-secondary:hover {
  background: #006b86;
  box-shadow: 0 8px 24px rgba(0,180,216,0.35);
}

.welcome-image {
  flex: 1;
}

.welcome-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  max-height: 400px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ── SERVICES ── */
.services {
  background: var(--light-bg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><circle cx="200" cy="200" r="180" fill="none" stroke="%23c0e8f5" stroke-width="2" opacity="0.4"/><circle cx="200" cy="200" r="140" fill="none" stroke="%23c0e8f5" stroke-width="2" opacity="0.3"/></svg>') center/cover;
  opacity: 0.3;
  pointer-events: none;
}

.services h2 {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  position: relative;
}

.services .subtitle {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 50px;
  position: relative;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 40px;
}

/* ── ICON SERVICE CARDS ── */
.service-card {
  width: 320px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
  background: linear-gradient(
    to bottom,
    rgba(190, 215, 235, 0.05) 0%,
    rgba(70, 120, 160, 0.12) 50%,
    rgba(15, 40, 70, 0.35) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.30);
}

.service-card-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 36px 24px;
}

.service-card-icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: invert(1) brightness(1.3) drop-shadow(0 0 10px rgba(80, 180, 255, 0.85)) drop-shadow(0 0 24px rgba(0, 120, 220, 0.5));
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), filter 0.3s;
  opacity: 1;
}

.service-card:hover .service-card-icon img {
  transform: scale(1.1) translateY(-4px);
  filter: invert(1) brightness(1.5) drop-shadow(0 0 14px rgba(80, 200, 255, 1)) drop-shadow(0 0 32px rgba(0, 140, 255, 0.7));
}

.service-card-label {
  width: 100%;
  background: rgba(8, 20, 38, 0.82);
  padding: 22px 28px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  transition: background 0.35s;
}

.service-card:hover .service-card-label {
  background: rgba(0, 90, 160, 0.88);
}

.service-card-label h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.4;
}

/* arrow hidden in icon design */
.service-card-arrow { display: none; }

/* ── OPTOS ── */
.optos {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: 420px;
}

.optos-image {
  flex: 1;
  min-height: 420px;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.eye-graphic {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #6ab0f5, #1565c0, #0d1b4b);
  position: relative;
  box-shadow: 0 0 60px rgba(100,160,255,0.4);
}

.eye-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}

.eye-ring:nth-child(1) { inset: -20px; }
.eye-ring:nth-child(2) { inset: -50px; }
.eye-ring:nth-child(3) { inset: -90px; }

.optos-text {
  flex: 1;
  padding: 60px 80px;
  background: #fff;
}

.optos-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 15px;
}

.optos-text hr {
  width: 60px;
  border: 2px solid var(--blue);
  margin-bottom: 20px;
}

.optos-text p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 30px;
}

/* ── SHARED SECTION ELEMENTS ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ── DOCTORS ── */
.doctors {
  background: #0a1628;
  padding: 90px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doctors::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,119,182,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(0,180,216,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.doctors-header {
  position: relative;
  margin-bottom: 60px;
}

.doctors-header .section-eyebrow {
  color: var(--teal);
}

.doctors-header h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 8px;
}

.doctors-header .section-rule {
  background: var(--teal);
  margin: 14px auto 20px;
}

.doctors-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.doctors-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.doctor-card-large {
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #111d2e;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: left;
}

.doctor-card-large:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,119,182,0.3);
}

.doctor-photo-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.doctor-card-large:hover .doctor-photo-wrap img {
  transform: scale(1.06);
}

.doctor-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 55%);
}

.doctor-card-info {
  padding: 24px 26px 28px;
}

.doctor-card-info h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doctor-title {
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: #f4f8fb;
  padding: 90px 80px;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 56px;
}

.testimonials-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 8px;
}

.testimonials-header .section-eyebrow {
  color: var(--blue);
}

.testimonials-header .section-rule {
  background: var(--blue);
  margin: 14px auto 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px 28px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,119,182,0.12);
}

.testi-card.featured {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,119,182,0.3);
}

.testi-card.featured:hover {
  transform: translateY(-14px);
}

.testi-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: 20px;
  display: block;
  font-style: italic;
}

.testi-card.featured .testi-quote-mark {
  color: #fff;
  opacity: 0.3;
}

.testi-text {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testi-card.featured .testi-text {
  color: rgba(255,255,255,0.9);
}

.testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 18px;
}

.testi-card.featured .testi-footer {
  border-top-color: rgba(255,255,255,0.2);
}

.testi-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
}

.testi-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
}

.testi-card.featured .testi-name {
  color: rgba(255,255,255,0.85);
}

.testimonials-cta {
  text-align: center;
}



/* ── FOOTER ── */
footer {
  position: relative;
  padding: 70px 80px 30px;
  color: rgba(255,255,255,0.75);
  background-image: url('location_bg.webp');
  background-size: cover;
  background-position: center;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 35, 0.88);
  z-index: 0;
}

footer > * {
  position: relative;
  z-index: 1;
}

.footer-logo {
  text-align: center;
  margin-bottom: 10px;
}

.footer-logo .logo-circle {
  width: 60px;
  height: 60px;
  background: var(--blue);
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .logo-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
}

.footer-logo p {
  font-size: 13px;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 600;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 25px 0;
}

.footer-google-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0 36px;
}

.footer-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.footer-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 7px 18px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.footer-google-badge:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ── FLOATING BUTTONS ── */
.floating-btns {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}

.floating-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: background 0.2s;
}

.floating-btns a:hover {
  background: #256644;
}

/* ── ABOUT PAGE ── */
.about-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-left {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-banner-left h1 {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.about-banner-right {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-banner-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.55);
  z-index: 1;
}

.about-layout {
  display: flex;
  gap: 48px;
  padding: 56px 72px;
  background: #fff;
  align-items: flex-start;
}

.about-main {
  flex: 1;
}

.about-main-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-main p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-img-wrap {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-img-wrap img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.about-sub-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 32px 0 10px;
}

.about-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 16px;
}

.about-svc-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-svc-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-svc-item a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.about-svc-item a:hover {
  color: var(--blue);
}

/* Sidebar */
.about-sidebar {
  flex: 0 0 300px;
}

.sidebar-search {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
}

.sidebar-search button {
  background: var(--blue);
  border: none;
  padding: 12px 14px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sidebar-search button:hover {
  background: var(--dark-blue);
}

.sidebar-articles {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-articles-header {
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 18px;
}

.sidebar-articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-article-item button {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  transition: background 0.15s, color 0.15s;
}

.sidebar-article-item button:hover {
  background: var(--light-bg);
  color: var(--blue);
}

.sidebar-article-item.open button {
  color: var(--blue);
  background: var(--light-bg);
}

.article-plus {
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.article-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.article-content p {
  padding: 14px 18px 10px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.article-link {
  display: inline-block;
  padding: 0 18px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.article-link:hover { text-decoration: underline; }

/* Sidebar promo cards */
.sidebar-promo {
  position: relative;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-promo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.sidebar-promo:hover .sidebar-promo-bg {
  transform: scale(1.06);
}

.sidebar-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.sidebar-promo-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

.sidebar-promo-content h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* ── SUBPAGE BANNER ── */
.page-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
  padding: 100px 60px 50px;
  text-align: center;
  margin-top: 0;
}

.page-banner h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CONTENT SECTION ── */
.content-section {
  padding: 70px 120px;
  background: #fff;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.content-section p {
  color: var(--gray);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ── SERVICES PHOTO GRID ── */
.services-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  background: #f4f7fa;
}

.svc-photo-card {
  position: relative;
  height: 320px;
  flex: 0 0 calc(33.333% - 10px);
  overflow: hidden;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.svc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.svc-photo-card:hover .svc-bg {
  transform: scale(1.12);
}

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.05) 100%);
  transition: background 0.4s;
}

.svc-photo-card:hover .svc-overlay {
  background: linear-gradient(to top, rgba(0,50,120,0.82) 0%, rgba(0,80,160,0.45) 55%, rgba(0,0,0,0.05) 100%);
}

.svc-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.svc-photo-card:hover .svc-content {
  transform: translateY(-6px);
}

.svc-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.svc-content h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.svc-content p {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s;
  opacity: 0;
}

.svc-photo-card:hover .svc-content p {
  max-height: 80px;
  opacity: 1;
}

.svc-link {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: inline-block;
}

.svc-photo-card:hover .svc-link {
  opacity: 1;
  transform: translateX(0);
}

/* ── DOCTORS PAGE ── */
.doctors-page {
  padding: 70px 120px;
  background: #fff;
}

.doctor-profile {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid #eee;
}

.doctor-profile:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.doctor-profile.reverse {
  flex-direction: row-reverse;
}

.doctor-photo {
  flex: 0 0 280px;
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-bio h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.doctor-bio .title {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.doctor-bio hr {
  width: 50px;
  border: 2px solid var(--blue);
  margin-bottom: 20px;
}

.doctor-bio p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.doctor-bio .detail-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 4px 4px 4px 0;
}

/* ── FAQ PAGE ── */
.faq-section {
  padding: 70px 200px;
  background: #fff;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--blue); }

.faq-question .faq-icon {
  font-size: 22px;
  color: var(--blue);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
}

.faq-answer.open { display: block; }

/* ── REVIEWS PAGE ── */
.reviews-intro {
  background: var(--blue);
  padding: 50px 80px;
  text-align: center;
}

.reviews-intro h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.reviews-intro p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 70px 80px;
  background: #f9f9f9;
}

.review-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.review-card .reviewer-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.review-card .stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 14px;
}

.review-card blockquote {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.contact-info-panel {
  background: var(--blue);
  padding: 70px 60px;
  color: #fff;
}

.contact-info-panel h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #fff;
}

.contact-detail p, .contact-detail a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  line-height: 1.7;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  font-size: 14px;
  margin-top: 8px;
}

.hours-grid .day { color: #fff; }
.hours-grid .time { color: #fff; font-weight: 600; }

.contact-form-panel {
  padding: 70px 60px;
  background: #fff;
}

.contact-form-panel h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

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

.map-section {
  height: 380px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── ABOUT PAGE ── */
.about-intro {
  display: flex;
  gap: 70px;
  align-items: center;
  padding: 80px 120px;
  background: #fff;
}

.about-text { flex: 1; }

.about-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  object-fit: cover;
  max-height: 420px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue);
  text-align: center;
}

.stat-item {
  padding: 50px 30px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

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

.stat-item .number {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-services {
  padding: 70px 120px;
  background: #f9f9f9;
}

.about-services h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

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

.services-list li {
  list-style: none;
  padding: 12px 16px;
  background: #fff;
  border-left: 3px solid var(--blue);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .top-bar { padding: 10px 20px; flex-wrap: wrap; gap: 10px; }
  nav ul { gap: 20px; flex-wrap: wrap; padding: 10px; }
  .welcome { flex-direction: column; padding: 40px 24px; }
  .optos { flex-direction: column; }
  .optos-image { min-height: 260px; width: 100%; }
  .optos-text { padding: 40px 24px; }
  .testimonials { flex-direction: column; padding: 40px 24px; }
  .testimonial-center { flex: none; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services { padding: 40px 20px; }
  .doctors { padding: 40px 20px; }
}

/* ── ARTICLE PAGE LAYOUT ── */
.article-page-layout {
  display: flex;
  gap: 48px;
  padding: 56px 72px;
  background: #fff;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.article-main { flex: 1; min-width: 0; }

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--blue);
  margin: 32px 0 12px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 22px 0 8px;
}

.article-body p {
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article-body li {
  color: #444;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 6px;
}

.article-cta-box {
  background: var(--light-bg);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 32px;
  margin-top: 48px;
}

.article-cta-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.article-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
}

.sidebar-cat-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  padding: 14px 16px 6px;
  border-top: 1px solid #e8edf2;
  margin-top: 4px;
  display: block;
}

.sidebar-cat-label:first-child { border-top: none; margin-top: 0; }

.sidebar-articles-list { list-style: none; padding: 0; margin: 0; }

.sidebar-articles-list li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.sidebar-articles-list li a:hover {
  background: var(--light-bg);
  color: var(--blue);
  padding-left: 22px;
}

.sidebar-articles-list li a.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .article-page-layout { flex-direction: column; padding: 32px 24px; }
  .article-sidebar { width: 100%; position: static; }
}

/* ── PHONE AND TABLET LAYOUT ── */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-layout { flex-direction: column; padding: 32px 24px; }
  .about-sidebar { flex: none; width: 100%; }
  .doctors-page { padding: 40px 24px; }
  .doctor-profile, .doctor-profile.reverse { flex-direction: column; gap: 24px; }
  .doctor-photo { flex: none; width: 100%; max-width: 320px; }
  .reviews-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 40px 24px; }
  .faq-section { padding: 40px 24px; }
  .svc-detail { flex-direction: column !important; padding: 40px 24px !important; gap: 32px !important; }
  .svc-detail > div { flex: none !important; width: 100%; }
}

@media (max-width: 600px) {
  .svc-detail div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
