@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --blue: #1FA2FF;
  --navy: #16213E;
  --navy-deep: #002F79;
  --teal: #00EBBA;
  --text: #6E6E6E;
  --heading: #16213E;
  --white: #ffffff;
  --light: #F4F8FC;
  --field: #EAF4FF;
  --border: #eeeeee;
  --shadow: 0 10px 40px rgba(22, 33, 62, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.no-subscribe-band .subscribe { display: none; }
body {
  font-size: 16px;
  line-height: 1.8;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  font-weight: 400;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.35s; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: "Poppins", sans-serif;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}
p { color: var(--text); font-weight: 500; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.container-lg { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; }
.ptb-100 { padding: 100px 0; }
.pt-100 { padding-top: 100px; }
.pb-70 { padding-bottom: 70px; }
.pb-100 { padding-bottom: 100px; }
.pt-70 { padding-top: 70px; }

.hex-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='70' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 2 L74 21 L74 49 L40 68 L6 49 L6 21 Z' fill='none' stroke='%231FA2FF' stroke-width='1' opacity='0.12'/%3E%3C/svg%3E");
}

/* Buttons */
.default-btn, .default-btn-two, .appointment-btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: 0.45s;
  font-size: 15px;
}
.default-btn { background: var(--navy); color: #fff; }
.default-btn:hover { background: var(--blue); color: #fff; }
.default-btn-two { background: var(--blue); color: #fff; }
.default-btn-two:hover { background: var(--navy); color: #fff; }

/* Section title */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span { color: var(--blue); font-weight: 500; display: block; margin-bottom: 8px; }
.section-title h2 { font-size: 35px; margin-bottom: 12px; }
.section-title .divider {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin: 8px 0 12px;
}
.section-title .divider::before, .section-title .divider::after {
  content: ""; width: 90px; height: 2px; background: var(--blue);
}
.section-title .divider i { color: var(--blue); font-size: 18px; transform: rotate(45deg); }
.section-title p { max-width: 640px; margin: 0 auto; }

/* Top header */
.top-header { background: var(--blue); color: #fff; padding: 10px 0; font-size: 14px; font-weight: 600; }
.top-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-header-left { display: flex; gap: 28px; flex-wrap: wrap; }
.top-header-left a, .top-header-left span { color: #fff; display: flex; align-items: center; gap: 8px; }
.top-header-left a:hover { color: var(--navy); }
.top-social { display: flex; gap: 6px; }
.top-social a {
  width: 30px; height: 30px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; font-size: 13px;
}
.top-social a:hover { background: #fff; color: var(--navy); }

/* Navbar */
.navbar {
  background: #fff;
  padding: 0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(22,33,62,.06);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.logo .brand { display: flex; flex-direction: column; line-height: 1.15; }
.logo .brand strong { font-family: "Poppins", sans-serif; font-size: 26px; color: var(--navy); font-weight: 700; }
.logo .brand small { font-size: 10px; color: var(--blue); letter-spacing: .4px; text-transform: uppercase; font-weight: 600; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: 15px; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; color: var(--navy); font-size: 18px; }
.nav-actions a:hover { color: var(--blue); }
.menu-toggle {
  display: none; background: none; border: 0; font-size: 24px; color: var(--navy); cursor: pointer;
}

/* Hero / home banner */
.hero {
  position: relative;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(22, 33, 62, 0.78);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 10px;
  min-height: 640px;
}
.hero-content { padding: 110px 0 170px; }
.hero-content h1 {
  font-size: 56px; color: #fff; font-weight: 700; margin-bottom: 22px; max-width: 640px;
}
.hero-content p { color: #fff; max-width: 520px; margin-bottom: 32px; }
.hero-content .appointment-btn { background: var(--blue); color: #fff; padding: 13px 26px; }
.hero-content .appointment-btn:hover { background: #fff; color: var(--navy); }
.hero-photo { position: relative; display: flex; justify-content: flex-end; align-items: flex-end; }
.hero-photo img {
  width: min(560px, 100%);
  height: 620px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
}

/* Banner bottom cards */
.banner-cards {
  margin-top: -110px; position: relative; z-index: 3; padding-bottom: 30px;
}
.banner-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.banner-card {
  background: var(--blue); color: #fff; padding: 40px 36px 36px; position: relative; overflow: hidden;
  min-height: 210px;
}
.banner-card:nth-child(2) { background: #1496F5; }
.banner-card:nth-child(3) { background: #0B8AE8; }
.banner-card i { font-size: 42px; margin-bottom: 14px; display: block; }
.banner-card h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.banner-card p { color: rgba(255,255,255,.9); font-size: 14px; margin: 0; }
.banner-card .num {
  position: absolute; right: 22px; bottom: 8px; font-size: 72px; font-weight: 800;
  color: rgba(255,255,255,.18); font-family: "Poppins", sans-serif; line-height: 1;
}

/* About */
.about-area { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 520px; object-fit: cover; }
.hours-box {
  position: absolute; left: 20px; bottom: 20px; background: var(--navy); color: #fff;
  padding: 28px 26px; width: min(280px, calc(100% - 40px));
}
.hours-box h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.hours-box li {
  display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500;
  padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.15);
}
.hours-box li:last-child { border-bottom: 0; }
.hours-box span { color: #cfe8ff; }
.about-copy h2 { font-size: 34px; margin: 8px 0 16px; }
.about-copy > p { margin-bottom: 16px; }
.feature-list { margin: 22px 0 28px; }
.feature-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-list .ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; font-size: 18px;
}
.feature-list h4 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { font-size: 14px; margin: 0; }

/* Appointment band */
.appt-band {
  position: relative;
  background: url("../images/banner-stethoscope.jpg") center/cover no-repeat;
}
.appt-band::before { content: ""; position: absolute; inset: 0; background: rgba(22,33,62,.88); }
.appt-band-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px;
}
.appt-form-wrap { padding: 80px 0; }
.appt-form-card {
  background: #fff; padding: 40px 34px; box-shadow: var(--shadow);
}
.appt-form-card h2 { font-size: 28px; margin-bottom: 6px; }
.appt-form-card .sub { color: var(--blue); margin-bottom: 22px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { position: relative; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-control, select.form-control, textarea.form-control {
  width: 100%; border: 0; background: var(--field); padding: 14px 16px;
  font-family: inherit; font-size: 14px; color: var(--navy); outline: none;
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-control.error { box-shadow: inset 0 0 0 2px #e74c3c; }
.field-error { color: #e74c3c; font-size: 12px; font-weight: 600; margin-top: 4px; display: none; }
.form-control.error + .field-error, .form-group.error .field-error { display: block; }
.submit-wide { width: 100%; background: var(--navy); color: #fff; padding: 16px; border: 0; font-weight: 600; cursor: pointer; transition: .35s; }
.submit-wide:hover { background: var(--blue); }
.appt-doctor { display: flex; align-items: flex-end; justify-content: center; }
.appt-doctor img { max-height: 520px; object-fit: contain; object-position: bottom; }

.form-success {
  display: none; background: #e8f8ef; border: 1px solid #b7e4c7; color: #1b7a3d;
  padding: 16px 18px; font-weight: 600; margin-bottom: 16px; text-align: center;
}
.form-success.show { display: block; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid #f0f0f0; padding: 40px 28px 32px; text-align: center;
  box-shadow: var(--shadow); transition: .4s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(31,162,255,.18); }
.service-card:hover .service-icon { background: var(--navy); }
.service-icon {
  width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 30px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin: 0; }

/* Brand bar */
.brand-bar {
  background: var(--navy); padding: 40px 0;
}
.brand-row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  opacity: .85;
}
.brand-item {
  color: #fff; font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: .5px;
  font-style: italic; opacity: .75;
}
.brand-item:nth-child(odd) { font-family: "Montserrat", sans-serif; font-style: normal; font-weight: 700; }

/* Products / pharmacy */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid #f2f2f2; text-align: center; padding: 22px 16px 24px; transition: .35s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card img { height: 160px; object-fit: contain; margin: 0 auto 14px; }
.product-card h4 { font-size: 16px; margin-bottom: 6px; }
.product-card .price { color: var(--blue); font-weight: 700; }

/* Case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.case-card img { width: 100%; height: 210px; object-fit: cover; }
.case-card .body { padding: 22px 22px 26px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { font-size: 14px; margin: 0; }

/* Testimonials */
.testi-wrap {
  position: relative;
  background: url("../images/hospital-corridor.jpg") center/cover no-repeat;
  padding: 100px 0;
}
.testi-wrap::before { content: ""; position: absolute; inset: 0; background: rgba(10,40,90,.28); }
.testi-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.testi-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.testi-card {
  background: var(--navy-deep); color: #fff; padding: 60px 48px; text-align: center; position: relative;
}
.testi-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 18px; }
.testi-nav button {
  width: 42px; height: 42px; border: 0; background: var(--blue); color: #fff; cursor: pointer; font-size: 16px;
}
.testi-nav button:hover { background: #fff; color: var(--blue); }
.testi-card i.quote { font-size: 42px; color: var(--blue); margin-bottom: 16px; }
.testi-card p { color: #fff; font-size: 18px; margin-bottom: 24px; }
.testi-card img.avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.testi-card h4 { color: #fff; font-size: 16px; }
.testi-card span { color: #d0d8e8; font-size: 13px; }
.testi-slide { display: none; }
.testi-slide.active { display: block; }

/* Doctors */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor-card { background: #fff; box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.doctor-photo {
  background: linear-gradient(160deg, #00D4C8 0%, #1FA2FF 100%);
  height: 280px; overflow: hidden;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-card .info { padding: 20px 16px 24px; }
.doctor-card h3 { font-size: 18px; margin-bottom: 4px; }
.doctor-card h3 a:hover { color: var(--blue); }
.doctor-card span { font-size: 13px; color: var(--text); }

.filter-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.filter-tabs button {
  border: 0; background: #eef6ff; color: var(--navy); padding: 10px 18px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--navy); color: #fff; }

/* Emergency */
.emergency {
  position: relative;
  background: url("../images/emergency-bg.jpg") center/cover no-repeat;
  padding: 90px 0;
}
.emergency::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,47,121,.92) 0%, rgba(31,162,255,.55) 55%, rgba(22,33,62,.35) 100%); }
.emergency-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; }
.emergency-copy h2 { color: #fff; font-size: 40px; margin-bottom: 12px; }
.emergency-copy p { color: #fff; max-width: 520px; margin-bottom: 22px; }
.emergency-copy .cta { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 22px; font-weight: 700; }
.emergency-copy .cta i {
  width: 54px; height: 54px; border-radius: 50%; background: var(--blue); display: grid; place-items: center;
}
.emergency-photo { display: flex; justify-content: flex-end; }
.emergency-photo img { max-height: 340px; object-fit: contain; }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card .body { padding: 22px; }
.blog-meta { font-size: 13px; color: var(--blue); margin-bottom: 8px; display: flex; gap: 14px; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: 14px; margin-bottom: 12px; }
.read-more { color: var(--blue); font-weight: 600; font-size: 14px; }
.read-more:hover { color: var(--navy); }

/* Subscribe */
.subscribe {
  position: relative;
  background: url("../images/subscribe-bg.jpg") center/cover no-repeat;
  padding: 90px 0;
}
.subscribe::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,47,121,.88), rgba(31,162,255,.78));
}
.subscribe-inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.subscribe-inner h2 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.subscribe-inner p { color: #fff; margin-bottom: 28px; }
.subscribe-form { display: flex; max-width: 560px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; border: 0; padding: 16px 18px; font-family: inherit; outline: none;
}
.subscribe-form button {
  border: 0; background: var(--blue); color: #fff; padding: 16px 28px; font-weight: 600; cursor: pointer;
}
.subscribe-form button:hover { background: var(--navy); }

/* Footer */
.footer {
  background: #f7f9fc;
  background-image:
    radial-gradient(#1FA2FF 1.1px, transparent 1.1px),
    radial-gradient(#ff9aa2 1.1px, transparent 1.1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  padding: 80px 0 0;
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 50px; }
.footer h4 { font-size: 18px; margin-bottom: 18px; }
.footer p { font-size: 14px; }
.footer-about .logo { margin-bottom: 14px; }
.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%; background: #3b5998; color: #fff;
  display: grid; place-items: center; font-size: 13px;
}
.social-row a:nth-child(2) { background: #1da1f2; }
.social-row a:nth-child(3) { background: #0077b5; }
.social-row a:nth-child(4) { background: #e1306c; }
.social-row a:nth-child(5) { background: #ff0000; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--text); }
.footer-links a::before { content: "› "; color: var(--blue); font-weight: 700; }
.footer-links a:hover { color: var(--blue); padding-left: 4px; }
.hours-list li { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; gap: 10px; }
.footer-contact p { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.footer-contact i { color: var(--blue); margin-top: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; padding: 8px 0 18px; }
.footer-legal a { font-size: 13px; font-weight: 600; color: var(--navy); }
.footer-legal a:hover { color: var(--blue); }
.copyright {
  border-top: 1px solid #e6eaf0; text-align: center; padding: 16px 0; font-size: 13px; background: rgba(255,255,255,.55);
}

/* Inner banner */
.inner-banner {
  position: relative;
  background: url("../images/banner-stethoscope.jpg") center/cover no-repeat;
  min-height: 280px;
}
.inner-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, #002F79, rgba(0, 46, 121, 0.35));
}
.inner-banner.bg-about { background-image: url("../images/inner-about.jpg"); }
.inner-banner.bg-woman { background-image: url("../images/banner-woman.jpg"); }
.inner-banner.bg-hospital { background-image: url("../images/hospital-corridor.jpg"); }
.inner-banner.bg-blog { background-image: url("../images/inner-blog.jpg"); }
.inner-title { position: relative; z-index: 1; padding: 130px 0; }
.inner-title h3 { color: #fff; font-size: 44px; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 18px; color: #fff; font-weight: 500; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li { position: relative; }
.breadcrumb li:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 12px; width: 12px; height: 1px; background: #fff;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.info-card { background: #fff; box-shadow: var(--shadow); padding: 36px 30px; }
.info-card h3 { margin-bottom: 14px; }
.info-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.info-item i { color: var(--blue); margin-top: 4px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border: 1px solid #eef2f6; padding: 40px 28px 36px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.price-card.featured { transform: translateY(-12px); border: 2px solid var(--blue); background: linear-gradient(#f4f9ff, #fff); }
.price-card .tag {
  position: absolute; top: 18px; right: -32px; background: var(--blue); color: #fff;
  transform: rotate(45deg); width: 130px; font-size: 12px; font-weight: 700; padding: 4px 0;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card .amount { font-size: 48px; color: var(--navy); font-weight: 700; font-family: "Poppins", sans-serif; }
.price-card .amount small { font-size: 16px; color: var(--text); font-weight: 500; }
.price-card ul { margin: 22px 0 28px; text-align: left; }
.price-card li { padding: 8px 0 8px 28px; position: relative; font-size: 14px; font-weight: 500; }
.price-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--blue); position: absolute; left: 0; }

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 40px; }
.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sidebar .widget { background: #fff; box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.sidebar h4 { margin-bottom: 16px; font-size: 18px; }
.search-widget { display: flex; }
.search-widget input { flex: 1; border: 0; background: var(--field); padding: 12px 14px; outline: none; }
.search-widget button { border: 0; background: var(--navy); color: #fff; padding: 0 16px; cursor: pointer; }
.cat-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.cat-list a:hover { color: var(--blue); }
.recent-post { display: flex; gap: 12px; margin-bottom: 14px; }
.recent-post img { width: 74px; height: 64px; object-fit: cover; flex-shrink: 0; }
.recent-post h5 { font-size: 14px; line-height: 1.4; }
.recent-post span { font-size: 12px; color: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--field); padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--navy); }
.tag-cloud a:hover { background: var(--blue); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; height: 68px; object-fit: cover; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #eef3f8; color: var(--navy); font-weight: 600;
}
.pagination .active, .pagination a:hover { background: var(--navy); color: #fff; }

/* Article */
.article img.hero-img { width: 100%; height: 380px; object-fit: cover; margin-bottom: 22px; }
.article h1 { font-size: 32px; margin: 10px 0 16px; }
.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--blue); margin-bottom: 18px; }
.article p { margin-bottom: 16px; }
.article h2 { font-size: 24px; margin: 28px 0 12px; }
.article h3 { font-size: 20px; margin: 22px 0 10px; }
.two-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.two-imgs img { width: 100%; height: 230px; object-fit: cover; }
.comments { margin-top: 40px; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee; }
.comment img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box {
  background: var(--navy); color: #fff; padding: 28px; text-align: center; margin-bottom: 24px;
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.author-box h4, .author-box p { color: #fff; }
.author-box p { font-size: 13px; }

/* Doctor details */
.doc-profile { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.doc-profile .photo {
  background: linear-gradient(160deg, #00D4C8, #1FA2FF); overflow: hidden;
}
.doc-profile .photo img { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.doc-meta li { padding: 6px 0; font-size: 15px; }
.doc-meta strong { color: var(--navy); display: inline-block; min-width: 130px; }
.rich-text p { margin-bottom: 16px; }
.rich-text h2 { font-size: 26px; margin: 28px 0 12px; }
.rich-text h3 { font-size: 20px; margin: 22px 0 10px; }
.rich-text ul, .rich-text ol { margin: 0 0 16px 22px; }
.rich-text li { margin-bottom: 8px; list-style: disc; color: var(--text); font-weight: 500; }
.legal-wrap { max-width: 920px; margin: 0 auto; }
.legal-wrap h2 { margin-top: 32px; }

/* Video / serve */
.video-block { position: relative; }
.video-block img { width: 100%; height: 420px; object-fit: cover; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 30px rgba(31,162,255,.45);
}
.modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 2000;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-box { background: #fff; padding: 36px; max-width: 520px; width: 100%; text-align: center; position: relative; }
.modal-box h3 { margin-bottom: 10px; }
.modal .close-x { position: absolute; right: 14px; top: 10px; font-size: 24px; cursor: pointer; border: 0; background: none; }

.other-services { background: var(--navy); padding: 10px; }
.other-services a {
  display: block; background: var(--blue); color: #fff; padding: 12px 16px; margin-bottom: 8px; font-weight: 600; font-size: 14px;
}
.other-services a:hover { background: #fff; color: var(--navy); }
.service-detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }

/* Back to top */
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; display: none; place-items: center; z-index: 50; border: 0; cursor: pointer;
}
.back-top.show { display: grid; }

/* Search overlay */
.search-overlay {
  display: none; position: fixed; inset: 0; background: rgba(22,33,62,.92); z-index: 2000;
  align-items: center; justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay form { width: min(640px, 90%); display: flex; }
.search-overlay input { flex: 1; padding: 18px; border: 0; font-size: 18px; outline: none; }
.search-overlay button { border: 0; background: var(--blue); color: #fff; padding: 0 22px; cursor: pointer; }
.search-close { position: absolute; top: 24px; right: 28px; color: #fff; font-size: 32px; background: none; border: 0; cursor: pointer; }

/* Responsive */
@media (max-width: 1199px) {
  .hero-content h1 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-profile { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 0 20px; box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .hero-grid, .about-grid, .appt-band-inner, .testi-grid, .emergency-inner,
  .contact-grid, .blog-layout, .service-detail-grid, .doc-profile { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero-content { padding: 90px 0 160px; }
  .banner-cards-grid, .service-grid, .product-grid, .case-grid, .doctors-grid, .blog-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .emergency-photo { display: none; }
  .appt-doctor { display: none; }
  .price-card.featured { transform: none; }
  .blog-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .top-header-inner { flex-direction: column; gap: 8px; }
  .hero-content h1 { font-size: 32px; }
  .inner-title h3 { font-size: 30px; }
  .banner-cards-grid, .service-grid, .product-grid, .case-grid, .doctors-grid, .blog-grid, .pricing-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 26px; }
  .ptb-100 { padding: 70px 0; }
  .subscribe-form { flex-direction: column; }
  .hours-box { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -10px; }
  .two-imgs { grid-template-columns: 1fr; }
}
