/* Ganga Dental Care - Stylesheet
   Premium design inspired by divinesmiles.in */

:root {
  --primary: #0e8074;
  --primary-dark: #0a5f56;
  --primary-light: #e8f5f3;
  --primary-soft: #f3faf9;
  --accent: #f0a830;
  --dark: #10312e;
  --text: #2b3a38;
  --text-light: #6a7a77;
  --bg: #ffffff;
  --bg-alt: #f5faf9;
  --border: #e4ecea;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(14, 128, 116, 0.08);
  --shadow: 0 16px 48px rgba(14, 128, 116, 0.12);
  --shadow-lg: 0 30px 70px rgba(10, 49, 46, 0.18);
  --max-width: 1200px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --head: 'Playfair Display', 'Poppins', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--dark); font-weight: 700; }

.section > .container > h2,
.section-header h2 {
  font-family: var(--head);
  font-size: 2.6rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-intro {
  max-width: 640px;
  color: var(--text-light);
  margin-bottom: 56px;
  font-size: 1.08rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(14, 128, 116, 0.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(14, 128, 116, 0.38);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.btn-whatsapp { background: #25d366; color: var(--white); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-3px); }

/* Top bar */
.topbar {
  background: var(--dark);
  color: #d7e6e3;
  font-size: 0.85rem;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #d7e6e3; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info i { color: var(--accent); margin-right: 5px; }

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.3rem; color: var(--dark); }
.logo i {
  font-size: 1.4rem;
  color: var(--white);
  background: var(--primary);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-img {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(14,128,116,0.12);
}
.logo span { line-height: 1.1; }
.logo span small { display: block; font-size: 0.68rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text); transition: color 0.2s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--primary); transition: width 0.25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: var(--dark); cursor: pointer; }

/* Hero — full-width photo background with overlaid text */
.hero {
  position: relative;
  padding: 120px 0 110px;
  overflow: hidden;
  background-color: var(--dark);
}
/* Rotating clinic photos — three slides cross-fade behind the content */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 21s infinite;
}
.hero-slide-1 { background-image: url("../images/Clinic.JPG");  animation-delay: 0s; }
.hero-slide-2 { background-image: url("../images/Clinic1.JPG"); animation-delay: 7s; }
.hero-slide-3 { background-image: url("../images/Clinic2.JPG"); animation-delay: 14s; }
/* 3 slides, 21s loop, staggered 7s apart. Each fades in, holds ~1/3 of the
   loop, then fades out — the fades overlap so there is no dark gap. */
@keyframes heroFade {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  30%   { opacity: 1; }
  38%   { opacity: 0; }
  100%  { opacity: 0; }
}
/* Dark tint sits above the photos, below the text */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(16,28,38,0.86) 0%, rgba(16,28,38,0.55) 50%, rgba(16,28,38,0.30) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide-1 { opacity: 1; }
}
.hero .container { position: relative; z-index: 2; }
.hero-text { max-width: 680px; }
/* Pill-style eyebrow badge (reference style) */
.hero .eyebrow {
  color: #f3d9a8;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  letter-spacing: 1px;
}
.hero .eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 { font-family: var(--head); font-size: 3.4rem; margin: 16px 0 22px; line-height: 1.12; color: var(--white); }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,0.9); margin-bottom: 34px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 32px;
  justify-content: start;
}
.hero-stats .stat strong { display: block; font-size: 2.1rem; color: var(--white); font-family: var(--head); }
.hero-stats .stat span { font-size: 0.82rem; color: rgba(255,255,255,0.78); }

/* Split (image + text) layout — used on inner pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 460px; object-fit: cover; }
.split-text .eyebrow { margin-bottom: 14px; }

/* Google rating banner (reviews page) */
.rating-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 40px;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.rating-score { font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: var(--dark); line-height: 1; }
.rating-detail { text-align: left; }
.rating-detail .rating-stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; }
.rating-detail .rating-count { color: var(--text-light); font-size: 0.92rem; margin-top: 2px; }
.rating-google { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.rating-google .g-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review .review-meta { display: flex; align-items: center; gap: 6px; color: var(--text-light); font-size: 0.8rem; margin-top: 4px; }
.review .review-meta i { color: var(--primary); }

/* Speciality chips */
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); color: var(--primary); }

/* Doctor profile card */
.doctor-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}
.doctor-photo {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #d3ede9);
  display: flex; align-items: center; justify-content: center;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo-fallback { display: none; font-size: 5rem; color: var(--primary); }
.doctor-photo.no-photo .doctor-photo-fallback { display: block; }
.doctor-info h3 { font-size: 1.7rem; margin-bottom: 4px; }
.doctor-role { color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.doctor-quals { color: var(--text-light); font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; letter-spacing: 0.3px; }
.doctor-info > p { color: var(--text-light); margin-bottom: 20px; }
.doctor-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.doctor-services li { font-size: 0.92rem; color: var(--text); }
.doctor-services li i { color: var(--primary); margin-right: 8px; font-size: 0.85rem; }
@media (max-width: 768px) {
  .doctor-card { grid-template-columns: 1fr; gap: 26px; padding: 24px; }
  .doctor-services { grid-template-columns: 1fr; }
}

/* Treatments grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), #d3ede9);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 22px; transition: all 0.35s;
}
.card:hover .icon { background: var(--primary); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; }
.badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent); color: var(--white);
  font-size: 0.68rem; font-weight: 600; padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
  z-index: 3;
}

/* Photo-backed treatment cards */
.card-photo {
  color: var(--white);
  border: none;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  /* Dark gradient tint; each card sets its own photo below via a dedicated class */
  background-color: var(--dark);
  background-image: linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Per-card background photos (paths are relative to this CSS file) */
.card-smile {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/smilemakeover.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-implant {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/treatment.jpeg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-braces {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/brace.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-whitening {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/teethwhitening.png");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-rct {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/rct.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-general {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/treatment1.jpeg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
/* Services-only cards — add photos named below into the images/ folder */
.card-crowns {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/crowns.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-paediatric {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/paediatric.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.card-extraction {
  background-image:
    linear-gradient(180deg, rgba(10,49,46,0.25) 0%, rgba(10,49,46,0.55) 55%, rgba(10,49,46,0.9) 100%),
    url("../images/extraction.jpg");
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
/* Keep the card's own content above the layers */
.card-photo .icon,
.card-photo h3,
.card-photo p { position: relative; z-index: 2; }
/* Badge stays absolutely positioned in the top-right corner */
.card-photo .badge { z-index: 3; }
.card-photo h3 { color: var(--white); }
.card-photo p { color: rgba(255,255,255,0.92); }
.card-photo .icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.card-photo:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-photo:hover .icon { background: var(--accent); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.card-photo::before { display: none; }

/* Why choose - features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch; }
.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature .num {
  font-family: var(--head);
  color: var(--primary); font-weight: 700; font-size: 2.4rem; opacity: 0.35; line-height: 1;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.15rem; margin: 0 0 12px; }
.feature p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 28px; }
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review::before {
  content: "\201C";
  font-family: var(--head);
  position: absolute; top: 10px; right: 26px;
  font-size: 4.5rem; color: var(--primary-light); line-height: 1;
}
.review .stars { color: var(--accent); margin-bottom: 16px; font-size: 1.05rem; letter-spacing: 2px; }
.review p { color: var(--text); margin-bottom: 22px; position: relative; z-index: 1; }
.review .reviewer { font-weight: 600; color: var(--dark); display: flex; flex-direction: column; }
.review .reviewer small { color: var(--text-light); font-weight: 400; font-size: 0.82rem; }

/* Location / contact cards */
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
}
.location-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.location-card p { color: var(--text-light); margin-bottom: 14px; }
.location-card p i { color: var(--primary); margin-right: 8px; }
.location-card .hours { font-size: 0.95rem; margin-bottom: 24px; }
.location-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-band::after {
  content: ""; position: absolute; bottom: -100px; right: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-family: var(--head); font-size: 2.6rem; margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; opacity: 0.92; }
.cta-band .eyebrow { color: #cfeee9; }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band .btn-primary { background: var(--white); color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background: #f2fbfa; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 15px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,128,116,0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }

/* Blog / Dental Journey */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-thumb { position: relative; height: 210px; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 600; padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 14px; }
.post-meta i { color: var(--primary); margin-right: 5px; }
.post-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.35; }
.post-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 18px; }
.post-link { margin-top: auto; color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; }
.post-link i { transition: transform 0.25s; }
.post-card:hover .post-link i { transform: translateX(4px); }

/* Newsletter strip */
.news-strip { background: var(--primary-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px; text-align: center; margin-top: 56px; }
.news-strip h3 { font-family: var(--head); font-size: 1.7rem; margin-bottom: 10px; }
.news-strip p { color: var(--text-light); max-width: 520px; margin: 0 auto 24px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-grid img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius); transition: transform 0.4s, box-shadow 0.4s;
  box-shadow: var(--shadow-sm);
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* Page hero (inner pages) — photo background with dark overlay, matching the homepage hero */
.page-hero {
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
  background-image:
    linear-gradient(180deg, rgba(16,28,38,0.80) 0%, rgba(16,28,38,0.70) 100%),
    url("../images/Clinic1.JPG");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-logo {
  width: 84px; height: 84px;
  border-radius: 20px;
  object-fit: contain;
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto 22px;
  position: relative;
  display: block;
}
.page-hero .eyebrow { color: #7fe3d6; }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { font-family: var(--head); font-size: 3rem; margin-bottom: 12px; position: relative; color: var(--white); }
.page-hero h1 .accent { color: var(--accent); }
.page-hero p { color: rgba(255,255,255,0.9); position: relative; max-width: 640px; margin: 0 auto; }

/* Footer */
footer { background: var(--dark); color: #b9cbc8; padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.05rem; }
footer ul li { margin-bottom: 11px; }
footer a:hover { color: var(--white); }
footer i { color: var(--accent); margin-right: 6px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; }
.footer-brand .logo span { color: var(--white); }
.footer-logo-img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
  padding: 3px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; text-align: center; font-size: 0.85rem; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; bottom: 26px; right: 26px;
  background: #25d366; color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999; transition: transform 0.25s; animation: pulse 2.5s infinite;
}
.float-wa:hover { transform: scale(1.12); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .contact-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 80px; }
  .split-img img { height: 340px; }
  .hero-img img { height: 380px; }
  .hero h1 { font-size: 2.6rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    gap: 18px; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 2.1rem; }
  .section > .container > h2, .section-header h2, .cta-band h2, .page-hero h1 { font-size: 1.9rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-info { font-size: 0.76rem; gap: 14px; }
}
