/* =========================================================
   DENTAL SPECIALISTS — MODERN MOBILE-FIRST CSS
   Clean, minimal, SEO-optimized, fully responsive
   ========================================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:        #0057D9;
  --primary-dark:   #0040A8;
  --primary-light:  #EAF1FF;
  --accent:         #00C9A7;
  --heading:        #0A0E1A;
  --text:           #5A6478;
  --text-light:     #8A93A8;
  --white:          #FFFFFF;
  --dark:           #07101F;
  --border:         #E4E9F2;
  --bg:             #F7F9FD;
  --shadow-sm:      0 2px 12px rgba(0,76,185,0.07);
  --shadow-md:      0 8px 32px rgba(0,76,185,0.10);
  --shadow-lg:      0 20px 60px rgba(0,76,185,0.12);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'DM Sans', -apple-system, sans-serif;
  --max-w:          1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  margin: 0;
}

ol, ul { margin: 0; padding: 0; list-style: none; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover, a:focus { text-decoration: none; outline: none; }

img { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }
figure { margin: 0; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0;
  font-weight: 400;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
h5 { font-size: 18px; }
h6 { font-size: 14px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

::selection { background: var(--primary); color: #fff; }

input, textarea, button, select { font-family: var(--font-body); }

/* ---------- Utility ---------- */
.text-white   { color: #fff !important; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.relative     { position: relative; }

.section-gap  { padding: 96px 0; }
.section-bg   { background: var(--bg); }
.no-padding   { padding: 0 !important; }
.no-margin    { margin: 0 !important; }

.mt-10  { margin-top: 10px; }
.mt-15  { margin-top: 15px; }
.mt-20  { margin-top: 20px; }
.mt-25  { margin-top: 25px; }
.mt-30  { margin-top: 30px; }
.mt-40  { margin-top: 40px; }
.mt-50  { margin-top: 50px; }
.mb-0   { margin-bottom: 0; }
.mb-10  { margin-bottom: 10px; }
.mb-20  { margin-bottom: 20px; }
.mb-30  { margin-bottom: 30px; }
.mb-40  { margin-bottom: 40px; }
.mb-60  { margin-bottom: 60px; }
.pb-10  { padding-bottom: 10px; }
.pb-20  { padding-bottom: 20px; }
.pb-40  { padding-bottom: 40px; }
.pb-60  { padding-bottom: 60px; }
.pb-70  { padding-bottom: 70px; }
.pt-40  { padding-top: 40px; }
.fw500  { font-weight: 500; }
.fw600  { font-weight: 600; }
.fw700  { font-weight: 700; }

/* ---------- Section Heading ---------- */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-heading .eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-heading h2 { margin-bottom: 14px; }
.section-heading p  { font-size: 17px; color: var(--text); line-height: 1.8; }

/* ---------- Overlay ---------- */
.overlay { position: absolute; inset: 0; }
.overlay-bg { background: linear-gradient(160deg, rgba(7,16,31,0.68) 0%, rgba(0,57,180,0.45) 100%); }

/* ---------- Buttons ---------- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  border: 2px solid transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.primary-btn:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.primary-btn.outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.primary-btn.outline:hover {
  background: var(--primary);
  color: #fff;
}
.primary-btn.white-btn {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.primary-btn.white-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.header-btn { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- HEADER ---------- */
#header {
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border);
  position: relative;
}

/* Header top bar */
.header-top {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.site-logo h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--heading);
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-top-right .btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.header-top-right .btns:hover {
  background: var(--primary);
  color: #fff;
}
.header-top-right .icons {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--heading);
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.header-top-right .icons:hover { background: var(--primary); color: #fff; }

/* Main nav bar */
.main-menu {
  padding: 0;
}
.main-menu .row,
.main-menu > .container > .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
@media (max-width: 767px){
  .main-menu{
    padding: 0 !important;
  }

  .main-menu .row,
  .main-menu > .row{
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  #nav-menu-container,
  .menu-social-icons{
    display: none !important;
  }

  .about-hero{
    padding: 20px 0 70px;
  }

  .visit-actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .visit-actions .primary-btn{
    width:100%;
    margin:0 !important;
    justify-content:center;
  }
}
#nav-menu-container { display: flex; align-items: center; }

.nav-menu,
.nav-menu * { margin: 0; padding: 0; list-style: none; }

.nav-menu > li {
  position: relative;
  float: left;
  margin-left: 4px;
}
.nav-menu > li:first-child { margin-left: 0; }

.nav-menu a {
  display: inline-block;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-menu a:hover,
.nav-menu .menu-active > a {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.nav-menu ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 8px 0;
  z-index: 99;
  display: none;
  border: 1px solid var(--border);
}
.nav-menu li:hover > ul { display: block; }
.nav-menu ul li { width: 100%; }
.nav-menu ul li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 0;
}
.nav-menu ul li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Social icons in nav */
.menu-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-social-icons a {
  color: var(--text);
  font-size: 17px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg);
  transition: var(--transition);
}
.menu-social-icons a:hover { background: var(--primary); color: #fff; }

/* ---------- Mobile Nav ---------- */
#mobile-nav-toggle {
  position: fixed;
  right: 16px;
  top: 12px;
  z-index: 9999;
  border: 0;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

#mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 9998;
  overflow-y: auto;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  padding: 72px 0 32px;
  box-shadow: 20px 0 60px rgba(0,0,0,0.12);
}

#mobile-nav ul { padding: 0; }
#mobile-nav ul li { position: relative; }
#mobile-nav ul li a {
  display: block;
  padding: 14px 20px;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
#mobile-nav ul li a:hover,
#mobile-nav ul li .menu-item-active { color: var(--primary); }

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 99;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}
#mobile-nav ul .menu-has-children ul { display: none; }
#mobile-nav ul .menu-has-children ul li a {
  padding-left: 36px;
  font-size: 14px;
  background: var(--bg);
}

#mobile-body-overly {
  width: 100%; height: 100%;
  z-index: 9997;
  top: 0; left: 0;
  position: fixed;
  background: rgba(7,16,31,0.5);
  backdrop-filter: blur(4px);
  display: none;
}
body.mobile-nav-active { overflow: hidden; }
body.mobile-nav-active #mobile-nav { left: 0; }

.appointment-left {
  position: relative;
  min-height: 500px;
  background-image: url("../img/index-reception.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.appointment-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 80, 160, 0.28);
  z-index: 1;
}
.appointment-left > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 767.98px) {
  .appointment-left {
    min-height: 280px;
    background-position: center;
  }
}
/* ---------- HERO BANNER ---------- */
.banner-area {
  position: relative;
  background-image: url("../img/index-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.banner-area .overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(55, 90, 170, 0.55); /* bluish transparent layer */
  z-index: 1;
}

.banner-area .container,
.banner-area .banner-content {
  position: relative;
  z-index: 2;
}

.fullscreen {
  min-height: 700px;
  height: auto !important;
}

.banner-area .fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
}

.banner-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

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

.banner-content h6 {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.banner-content h6::before,
.banner-content h6::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(255,255,255,0.4);
}

.banner-content h1 {
  color: #fff;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.banner-content p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 32px;
}

.banner-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating badge on hero */
.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s both;
}
.banner-badge span { color: var(--accent); font-weight: 700; }

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-top: -52px;
  position: relative;
  z-index: 10;
}
.stats-bar .container { max-width: var(--max-w); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* ---------- OPENING HOURS ---------- */
.open-hour-area { padding: 80px 0; background: var(--bg); }

.open-hour-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.open-hour-wrap h2 { margin-bottom: 12px; }
.open-hour-wrap > p {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  color: #059669;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.open-btn .circle {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hours-card {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hours-day, .hours-time {
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
}
.hours-day { border-right: 1px solid var(--border); }
.hours-time { color: var(--primary); }

/* ---------- SERVICES ---------- */
.service-area { background: #fff; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.04); }
.service-card-body { padding: 24px; }
.service-card-body h4 { margin-bottom: 10px; color: var(--heading); }
.service-card-body p  { font-size: 14px; line-height: 1.8; color: var(--text); }
.service-icon-wrap {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--primary);
}

/* ---------- ABOUT ---------- */
.home-about-area { background: var(--bg); overflow: hidden; }

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-badge-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
  flex-shrink: 0;
}
.about-badge-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.about-badge-text span {
  font-size: 12px; color: var(--text);
}

.about-right { padding: 60px 0 60px 50px; }
.about-right h2 { margin-bottom: 16px; }
.about-right > p { font-size: 16px; line-height: 1.8; margin-bottom: 32px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feat-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary);
  flex-shrink: 0;
}
.feat-text h5 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}
.feat-text p { font-size: 13px; color: var(--text); }

/* ---------- TESTIMONIALS ---------- */
.testomial-area { background: var(--bg); }

.single-testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 8px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.single-testimonial:hover { box-shadow: var(--shadow-md); border-color: transparent; }

.review-top { margin-bottom: 16px; }
.quote-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
  opacity: 0.6;
}
.stars { color: #FBBF24; font-size: 13px; letter-spacing: 3px; }
.single-testimonial .desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  flex: 1;
  margin-bottom: 20px;
}
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-meta h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--heading);
}
.review-meta p { font-size: 12px; color: var(--text-light); }

/* Owl Carousel dots */
.owl-dots { margin-top: 28px; text-align: center; }
.owl-dot { display: inline-block; }
.owl-dot span {
  width: 8px; height: 8px;
  margin: 4px;
  display: block;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}
.owl-dot.active span {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ---------- TEAM ---------- */
.team-area { background: #fff; }
.team-area .single-team { padding: 12px; }

.doctor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.doctor-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--bg);
  display: block;
}
.doctor-info {
  padding: 20px;
  text-align: center;
}
.doctor-info h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading);
}
.doctor-info .designation {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.doctor-info .credentials {
  font-size: 12px;
  color: var(--text-light);
}

/* ---------- WHY CHOOSE US ---------- */
.feature-area { background: var(--bg); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.single-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.single-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}
.feature-area .icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-area .icon span { font-size: 24px; color: var(--primary); }
.feature-area .details h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading);
}
.feature-area .details p { font-size: 14px; line-height: 1.75; }

/* ---------- APPOINTMENT ---------- */
.appointment-area {
  background: #fff;
  overflow: hidden;
}
.appointment-area .appointment-left {
  min-height: 600px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.appointment-area .appointment-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,57,185,0.15), transparent);
}
.appointment-area .appointment-right {
  background: var(--primary);
  padding: 72px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.appointment-area .appointment-right h2 {
  color: #fff;
  margin-bottom: 8px;
}
.appointment-area .appointment-right > p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-bottom: 32px;
}

.booking-form .form-group { margin-bottom: 0; }

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  min-height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: var(--transition);
  margin-top: 14px;
}
.booking-form input::placeholder,
.booking-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.booking-form input:focus,
.booking-form textarea:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}
.booking-form textarea {
  min-height: 120px;
  resize: none;
}
.booking-form .form-control {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.booking-form .send-btn { margin-top: 8px; }
.booking-form .submit-btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
  padding: 0 32px;
  height: 52px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 20px;
}
.booking-form .submit-btn:hover {
  background: transparent;
  color: #fff;
}

/* ---------- BLOG ---------- */
.blog-area { background: var(--bg); }

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card .thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .thumb img { transform: scale(1.04); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.blog-card-body h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--heading);
  margin-bottom: 10px;
  flex: 1;
}
.blog-card-body p { font-size: 14px; color: var(--text); line-height: 1.75; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}
.blog-read-more:hover { gap: 10px; }

/* ---------- FOOTER ---------- */
.footer-area {
  background: var(--dark);
  padding: 80px 0 0;
}
.single-footer-widget { margin-bottom: 32px; }
.single-footer-widget h6 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
.single-footer-widget p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.85;
}
.single-footer-widget a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
.single-footer-widget a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item .fci-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item .fci-text strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.footer-contact-item .fci-text span {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-nav li { margin-bottom: 10px; }
.footer-nav li a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav li a::before {
  content: '→';
  color: var(--primary);
  font-size: 12px;
}
.footer-nav li a:hover { color: #fff; padding-left: 4px; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
  border-radius: 10px;
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-text { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ---------- Sticky Header ---------- */
.header-scrolled {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 888;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  color: #fff;
}

/* =============================================
   RESPONSIVE — TABLET (≤ 991px)
   ============================================= */
@media (max-width: 991.98px) {
  .section-gap { padding: 72px 0; }

  /* Header */
  #nav-menu-container { display: none; }
  .menu-social-icons  { display: none; }
  #mobile-nav-toggle  { display: inline-flex; }

  .header-top-right .btns { display: none; }
  .header-top-right .icons { display: inline-flex; }

  /* Stats bar */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item + .stat-item::before { display: none; }
  .stats-bar { padding: 32px 24px; margin-top: -36px; }

  /* About */
  .about-right { padding: 40px 0 0; }
  .about-right h2 { font-size: clamp(26px, 5vw, 44px); }

  /* About features */
  .about-features { grid-template-columns: 1fr; }

  /* Feature grid */
  .feature-grid { grid-template-columns: 1fr; }

  /* Appointment */
  .appointment-area .appointment-left { min-height: 300px; }
  .appointment-area .appointment-right { padding: 48px 36px; }

  /* Team */
  .team-area .single-team { padding: 8px; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================= */
@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .section-gap { padding: 56px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading p { font-size: 15px; }

  /* Header */
  .header-top { padding: 10px 0; }
  .header-top .container { flex-wrap: nowrap; }
  .site-logo img { width: 38px; height: 38px; }
  .site-logo h3 { font-size: 17px; }
  .header-top-right { gap: 6px; }
  .header-top-right .icons { width: 36px; height: 36px; font-size: 15px; }
  #mobile-nav-toggle { top: 10px; right: 12px; width: 40px; height: 40px; }

  /* Hero */
  .banner-area .fullscreen {
    min-height: auto;
    padding: 100px 0 70px;
  }
  .banner-content h1 { font-size: clamp(30px, 8vw, 46px); }
  .banner-content p  { font-size: 15px; }
  .banner-cta-group { flex-direction: column; gap: 10px; }
  .banner-cta-group .primary-btn { width: 100%; max-width: 280px; }
  .banner-badge { font-size: 12px; }

  /* Stats bar */
  .stats-bar { padding: 24px 16px; margin-top: 0; border-radius: var(--radius-md); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: clamp(24px, 6vw, 36px); }
  .stat-label  { font-size: 12px; }

  /* Hours */
  .open-hour-area { padding: 56px 0; }
  .open-hour-wrap { padding: 36px 20px; border-radius: var(--radius-md); }
  .hours-card { flex-direction: column; width: 100%; max-width: 280px; }
  .hours-day { border-right: none; border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .hours-time { text-align: center; width: 100%; }

  /* Services — 1 column on smallest */
  .service-card-body h4 { font-size: 17px; }

  /* About */
  .about-right { padding: 32px 0 0; }
  .about-right > p { font-size: 15px; }
  .about-badge { left: 12px; bottom: 12px; }
  .about-features { grid-template-columns: 1fr; gap: 12px; }

  /* Features */
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .single-feature { padding: 18px; }
  .feature-area .icon { width: 44px; height: 44px; }
  .feature-area .icon span { font-size: 20px; }

  /* Testimonials */
  .single-testimonial { padding: 20px; min-height: auto; }
  .single-testimonial .desc { font-size: 14px; }

  /* Team */
  .doctor-card img { aspect-ratio: 3/4; }
  .doctor-info { padding: 16px 12px; }
  .doctor-info h4 { font-size: 16px; }
  .doctor-info .designation { font-size: 12px; }

  /* Appointment */
  .appointment-area .appointment-left { min-height: 200px; }
  .appointment-area .appointment-right { padding: 36px 20px; }
  .appointment-area .appointment-right h2 { font-size: clamp(24px, 6vw, 38px); }

  /* Blog */
  .blog-card-body h4 { font-size: 16px; }

  /* Footer */
  .footer-area { padding: 60px 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 22px; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .site-logo h3 { font-size: 15px; }
  .doctor-info h4 { font-size: 15px; }
  .doctor-info .designation { font-size: 11px; }
  .appointment-area .appointment-right { padding: 28px 16px; }
}

/* =========================================================
   PROFESSIONAL UX + SEO ENHANCEMENTS
   ========================================================= */

main { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 10001;
  background: var(--heading);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.noscript-banner {
  background: #fff3cd;
  color: #5c4600;
  padding: 10px 16px;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid #f1d58a;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(0, 87, 217, 0.22);
  outline-offset: 3px;
}

#header.header-scrolled {
  position: sticky;
  top: 0;
  box-shadow: 0 12px 30px rgba(7, 16, 31, 0.08);
  backdrop-filter: blur(12px);
}

#header.header-scrolled .main-menu {
  background: rgba(255,255,255,0.96);
}

.booking-form input,
.booking-form textarea {
  transition: var(--transition);
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.10);
}

#form-message {
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}

.faq-area {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-card h3 {
  font-size: clamp(20px, 2.3vw, 26px);
  margin-bottom: 12px;
}

.faq-card p,
.faq-card a {
  font-size: 15px;
  line-height: 1.8;
}

img[loading="lazy"] {
  content-visibility: auto;
}

.service-card,
.single-feature,
.doctor-card,
.blog-card,
.about-feat-item,
.stat-item,
.faq-card {
  will-change: transform, opacity;
}

@media (max-width: 991.98px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .faq-card {
    padding: 20px;
    border-radius: var(--radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   INDEX SERVICES — MATCH SERVICES PAGE CARDS
   ========================================================= */

#services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

#services-section .service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

#services-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  color: inherit;
  border-color: var(--border);
}

#services-section .service-card-top {
  min-height: 220px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

#services-section .service-card-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

#services-section .service-card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,217,.84), rgba(0,201,167,.38));
}

#services-section .service-card-top.alt::after {
  background: linear-gradient(135deg, rgba(7,16,31,.82), rgba(0,87,217,.44));
}

#services-section .service-no {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
}

#services-section .service-card-top h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

#services-section .service-card-body {
  padding: 24px;
}

#services-section .service-card-body p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 14px;
  color: var(--text);
}

#services-section .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

#services-section .service-icon-wrap,
#services-section .thumb {
  display: none !important;
}

/* Responsive */
@media (max-width: 1199.98px) {
  #services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  #services-section .services-grid {
    grid-template-columns: 1fr;
  }

  #services-section .service-card-top h3 {
    font-size: 24px;
  }
}