/* =============================
   KIND DENTAL - GLOBAL STYLES
   ============================= */

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

:root {
  --blue: #9b8ec4;
  --blue-dark: #7b6ea4;
  --blue-light: #f3f0fa;
  --teal: #7ec8c8;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }
h2 { font-size: 1.75rem; color: #7b6ea4; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 4rem 0; }

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

/* =============================
   BUTTONS
   ============================= */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-primary.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

.btn-call {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.btn-call .call-icon {
  font-size: 1.2rem;
  color: var(--blue);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-call .call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.btn-call span.call-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}
.btn-call span.call-number {
  font-size: 1.05rem;
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-heading);
}
.btn-call:hover span.call-number { color: var(--blue-dark); }

.read-more {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* =============================
   TOP BAR
   ============================= */
.top-bar {
  background: #7b6ea4;
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.top-bar a { color: var(--white); }

/* =============================
   HEADER & NAV
   ============================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 108px;
}

.logo { flex-shrink: 0; }
.logo a { display: block; }
.logo img { height: 90px; width: auto; display: block; }

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav > ul > li > a {
  display: block;
  padding: 0.6rem 0.55rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s;
  font-family: var(--font-heading);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--blue); }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  z-index: 999;
}
.has-dropdown:hover > .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--blue-light); color: var(--blue); }

.sub-dropdown {
  left: 100%;
  top: 0;
}

.header-cta { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.header-cta .btn-primary { padding: 0.7rem 1.25rem; font-size: 0.9rem; white-space: nowrap; }

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--blue);
}

/* Persistent tap-to-call button shown only when the full header CTA
   (phone label + Schedule Appointment button) is hidden, so mobile and
   tablet visitors always have one-tap access to call the practice. */
.mobile-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.mobile-call-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.mobile-call-btn .mobile-call-icon { font-size: 1.2rem; line-height: 1; }

/* Compact booking CTA alongside the call button on mobile/tablet.
   Uses a shorter label ("Book Now") than the desktop button since
   "Schedule Appointment" doesn't fit next to the call + menu icons on
   narrow phones. */
.mobile-book-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 0.85rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mobile-book-btn:hover { background: var(--blue-dark); color: var(--white); }

/* =============================
   HERO VIDEO
   ============================= */
.hero-slider {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,210,230,0.55) 0%, rgba(180,200,220,0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: calc((100vw - 1100px) / 2);
  padding: 4rem 1.5rem;
  color: var(--white);
}

.hero-content h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a2a5e;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.3);
  font-weight: 400;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #1a2a5e;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-content { margin-left: 0; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-slider { min-height: 420px; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-slider { min-height: 350px; }
}

/* =============================
   INTRO
   ============================= */
.intro-section { background: var(--off-white); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-text h2 { margin-bottom: 1rem; }
.intro-text p { color: var(--text-light); font-size: 1rem; }

.intro-video iframe {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-video iframe { height: 220px; }
}

/* =============================
   SERVICE CARDS
   ============================= */
.services-section { background: var(--white); }
.services-section h2 { text-align: center; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(37,99,168,0.12); transform: translateY(-3px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 a { color: var(--blue-dark); }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem; }

/* =============================
   VALUES
   ============================= */
.values-section { background: var(--blue-light); text-align: center; }
.values-tagline { font-size: 1.1rem; font-style: italic; color: var(--blue-dark); margin-bottom: 1rem; }
.values-section > .container > p { color: var(--text-light); max-width: 700px; margin: 0 auto 1.5rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.value-item { text-align: center; }
.value-item img { height: 70px; margin: 0 auto 1rem; }
.value-item h3 { color: var(--blue-dark); font-size: 1.1rem; }

/* =============================
   STATS
   ============================= */
.stats-section {
  background: #7b6ea4;
  color: var(--white);
  padding: 3rem 1.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-icon { display: block; font-size: 2.2rem; margin-bottom: 0.5rem; }
.stat-num { display: block; font-size: 2.2rem; font-family: var(--font-heading); font-weight: 700; }
.stat-label { font-size: 0.95rem; opacity: 0.9; margin-top: 0.25rem; display: block; }

/* =============================
   MEMBERSHIP
   ============================= */
.membership-section { background: var(--off-white); }

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.membership-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.membership-content h2 { color: var(--blue-dark); margin-bottom: 1.5rem; }
.membership-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 2rem; color: var(--text-light); }
.membership-content ul li { margin-bottom: 0.75rem; }

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

/* =============================
   REVIEWS
   ============================= */
.reviews-section { background: var(--white); text-align: center; }
.reviews-rating { margin-bottom: 2rem; font-size: 1.05rem; color: var(--text-light); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.review-card {
  background: var(--off-white);
  border-left: 4px solid #9b8ec4;
  border-radius: 4px;
  padding: 1.25rem;
}
.review-text { font-style: italic; color: var(--text); margin-bottom: 0.75rem; }
.reviewer { font-weight: 700; color: var(--blue-dark); font-size: 0.9rem; }

/* =============================
   CONTACT FORM
   ============================= */
.contact-cta-section { background: var(--blue-light); }
.contact-cta-section h2 { text-align: center; margin-bottom: 2rem; }

.contact-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-home-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.contact-form button { align-self: flex-start; }

@media (max-width: 768px) {
  .contact-home-grid { grid-template-columns: 1fr; }
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
  background: #1a2a3a;
  color: #cdd5e0;
  padding: 3rem 1.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 55px; margin-bottom: 0.85rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links h4,
.footer-contact h4 { color: var(--white); margin-bottom: 0.75rem; font-family: var(--font-heading); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.4rem; }
.footer-links ul li a { color: #cdd5e0; font-size: 0.9rem; }
.footer-links ul li a:hover { color: var(--teal); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a { color: #cdd5e0; }
.footer-contact a:hover { color: var(--teal); }

.social-links { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.social-links a:hover { transform: scale(1.1); opacity: 0.9; }
.social-links a.fb { background: #1877f2; color: white; }
.social-links a.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-links a.yt { background: #ff0000; color: white; }

.footer-bottom {
  border-top: 1px solid #2d3f54;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #8899aa;
}
.footer-bottom a { color: #8899aa; }
.footer-bottom a:hover { color: var(--white); }

/* =============================
   PAGE HERO (inner pages)
   ============================= */
.page-hero {
  background: linear-gradient(135deg, #7b6ea4 0%, #9b8ec4 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.5rem; }
.page-hero p { opacity: 0.9; margin-top: 0.5rem; }
.breadcrumb { font-size: 0.85rem; opacity: 0.75; margin-top: 0.5rem; }
.breadcrumb a { color: var(--white); opacity: 0.8; }

/* =============================
   SERVICES PAGE
   ============================= */
.services-category { margin-bottom: 4rem; }
.services-category h2 {
  text-align: center;
  color: #9b8ec4;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-left: none;
  padding-left: 0;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.services-list.three-col {
  grid-template-columns: repeat(3, 1fr);
}
.service-item { text-align: center; }
.service-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  border: 1px solid #d8d0f0;
  display: block;
}
.services-list.three-col .service-item img {
  height: 460px;
}
.service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-heading);
}
.service-item h3 a { color: var(--text); }
.service-item h3 a:hover { color: #9b8ec4; }

@media (max-width: 900px) {
  .services-list,
  .services-list.three-col { grid-template-columns: repeat(2, 1fr); }
  .services-list.three-col .service-item img { height: 380px; }
}
@media (max-width: 500px) {
  .services-list,
  .services-list.three-col { grid-template-columns: 1fr; }
}

/* =============================
   DOCTOR PAGE
   ============================= */
.doctor-section { padding: 4rem 0; }
.doctor-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.doctor-photo img { border-radius: 8px; width: 100%; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.doctor-bio h2 { color: #7b6ea4; margin-bottom: 1.25rem; }
.doctor-bio p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.doctor-story {
  background: var(--blue-light);
  border-left: 4px solid #9b8ec4;
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 2rem;
}
.doctor-story h3 { color: #7b6ea4; margin-bottom: 0.75rem; font-size: 1rem; }
.doctor-story p { font-style: italic; color: var(--text); font-size: 0.95rem; margin-bottom: 0; }

/* =============================
   BLOG PAGE
   ============================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: 0 6px 20px rgba(155,142,196,0.15); transform: translateY(-3px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-date { font-size: 0.8rem; color: #9b8ec4; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem; }
.blog-card-body h3 { color: #7b6ea4; font-size: 1.05rem; margin-bottom: 0.75rem; }
.blog-card-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }

/* About page kindness list */
.about-kindness-section { background: var(--blue-light); border-radius: 8px; padding: 2rem; margin-bottom: 1rem; }
.about-kindness-list { list-style: none; padding: 0; margin-top: 1rem; }
.about-kindness-list li { padding: 0.4rem 0; color: var(--text-light); font-size: 1rem; }


/* =============================
   CONTACT PAGE
   ============================= */
.contact-info-section {
  background: var(--off-white);
  padding: 4rem 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-info-card h3 { color: var(--blue-dark); margin-bottom: 1rem; }
.contact-info-card p { color: var(--text-light); margin-bottom: 0.5rem; }
.contact-info-card a { color: var(--blue); }

.map-embed {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* =============================
   ABOUT PAGE
   ============================= */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.about-value-card {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}
.about-value-card img { height: 80px; margin: 0 auto 1rem; }
.about-value-card h3 { color: var(--blue-dark); margin-bottom: 0.5rem; }
.about-value-card p { color: var(--text-light); font-size: 0.95rem; }

/* =============================
   RESPONSIVE
   ============================= */
/* Nav switches to hamburger earlier than the rest of the layout collapses.
   The full desktop nav (logo + 7 links + dropdowns + call button + CTA
   button) needs ~1250px to fit without overlapping/cutting off the
   Schedule Appointment button, so this breakpoint is intentionally
   higher than the 900px used for the rest of the responsive layout. */
@media (max-width: 1260px) {
  .header-cta { display: none; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; top: 0; left: 0; width: 80%; height: 100vh; background: var(--white); z-index: 2000; overflow-y: auto; padding: 2rem 1rem; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
  .main-nav.open ul { flex-direction: column; }
  .main-nav.open .dropdown { display: block; position: static; box-shadow: none; border: none; background: var(--blue-light); border-radius: 4px; margin: 0.25rem 0; }
  .main-nav.open .sub-dropdown { left: 0; }
  .mobile-menu-toggle { display: flex; }
  .mobile-call-btn { display: flex; }
  .mobile-book-btn { display: flex; }
}

@media (max-width: 900px) {
  .hero-content { margin-left: 0; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-slider { min-height: 420px; }

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

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

  .doctor-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero { min-height: 380px; }
  h2 { font-size: 1.6rem; }
  .values-grid,
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
}

/* =============================
   GALLERY PAGE
   ============================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(155,142,196,0.2);
}

/* =============================
   ABOUT PAGE
   ============================= */

/* Hero banner with office photo */
.about-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  background: url('about-office.jpg') center/cover no-repeat;
  overflow: hidden;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(155, 142, 196, 0.35);
}
.about-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 4rem;
  margin-left: 45%;
}
.about-hero-content h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Two column top layout */
.about-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.about-top-left {
  display: flex;
  flex-direction: column;
}
.about-values-title {
  color: #9b8ec4;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
}
.about-top-left p { color: var(--text-light); line-height: 1.8; }
.about-top-right {
  align-self: start;
}

/* Kindness card (right side) */
.kindness-card {
  background: #f8f6fc;
  border: 1px solid #e0d8f0;
  border-top: 4px solid #9b8ec4;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(155,142,196,0.1);
}
.kindness-card-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.kindness-card h4 { color: #333; font-size: 1rem; margin-bottom: 0.5rem; font-family: var(--font-heading); font-weight: 600; }
.kindness-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* Four horizontal kindness items */
.kindness-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.kindness-item {
  background: #f5f3fb;
  border: 1px solid #e0d8f0;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kindness-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7ec8c8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.kindness-item span { color: var(--text); font-size: 0.9rem; font-weight: 500; }

/* Google-style reviews */
.about-reviews-section { background: #f9f9fb; }

.google-reviews-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.google-rating-summary { text-align: center; }
.google-excellent { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.google-stars { font-size: 1.4rem; margin-bottom: 0.25rem; }
.google-based-on { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.google-logo { height: 28px; margin: 0 auto; display: block; }

.google-review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.google-review-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.google-review-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.google-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.google-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.google-reviewer-info { display: flex; flex-direction: column; line-height: 1.3; }
.google-reviewer-info strong { font-size: 0.85rem; color: var(--text); }
.google-reviewer-info span { font-size: 0.75rem; color: var(--text-light); }
.google-review-stars { font-size: 0.85rem; margin-bottom: 0.5rem; }
.google-review-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .about-top-grid { grid-template-columns: 1fr; }
  .kindness-items-grid { grid-template-columns: repeat(2, 1fr); }
  .google-reviews-layout { grid-template-columns: 1fr; }
  .google-review-cards { grid-template-columns: 1fr; }
  .about-hero-content { margin-left: 0; padding: 2rem; }}
@media (max-width: 600px) {
  .kindness-items-grid { grid-template-columns: 1fr; }
  .google-review-cards { grid-template-columns: 1fr; }
}

/* =============================
   DOCTOR PAGE - NEW LAYOUT
   ============================= */
.doctor-name-heading {
  font-size: 2.2rem;
  color: #1a2a5e;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.doctor-content-wrap {
  margin-bottom: 2rem;
}

.doctor-photo-float {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: 550px;
  max-width: 55%;
}

.doctor-photo-float img {
  width: 100%;
  border: 2px solid #e0d8f0;
  border-radius: 4px;
  display: block;
}

.doctor-content-wrap p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  text-align: justify;
}

.doctor-story-section {
  clear: both;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.doctor-story-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.doctor-story-section p {
  font-style: italic;
  color: var(--text);
  line-height: 1.9;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .doctor-photo-float {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* =============================
   SERVICE DETAIL PAGES
   ============================= */
.service-detail-section {
  padding: 4rem 0;
}
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.service-detail-row.reverse {
  direction: rtl;
}
.service-detail-row.reverse > * {
  direction: ltr;
}
.service-detail-img {
  border: 1px solid #d8d0f0;
  border-radius: 4px;
  overflow: hidden;
}
.service-detail-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.service-detail-text h2 {
  color: #9b8ec4;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
}
.service-detail-text p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.service-detail-text p strong a {
  color: #9b8ec4;
  font-weight: 700;
}
.service-detail-text .btn-primary {
  margin-top: 1rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .service-detail-row,
  .service-detail-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .service-detail-img img { height: 280px; }
}

/* =============================
   DENTAL BONDING PAGE
   ============================= */
.db-quote {
  background: #f8f6fc;
  border-left: 4px solid #9b8ec4;
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1.5rem;
}
.db-quote p {
  color: #1a2a5e;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.6;
  margin: 0;
}

.db-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}
.db-benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f5f3fb;
  border: 1px solid #e0d8f0;
  border-radius: 6px;
}
.db-check {
  width: 38px;
  height: 38px;
  background: #b8d8d8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.db-benefit-item span {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

/* FAQ Accordion */
.db-faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.faq-item {
  border: 1px solid #e0d8f0;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  background: #f5f3fb;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #9b8ec4;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  user-select: none;
}
.faq-question:hover { background: #ece8f8; }
.faq-icon {
  font-size: 1.2rem;
  color: #9b8ec4;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
}
.faq-answer {
  display: none;
  padding: 1.25rem 1.5rem;
  background: white;
}
.faq-answer.open { display: block; }
.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0; }
.faq-answer ul li { margin-bottom: 0.9rem; }
.faq-answer ul li:last-child { margin-bottom: 0; }

/* Porcelain Veneers benefit items with description */
.pv-benefit { align-items: flex-start !important; }
.pv-benefit > div { display: flex; flex-direction: column; }
.pv-benefit strong { font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; font-family: var(--font-heading); }
.pv-benefit p { margin: 0; font-size: 0.9rem; color: var(--text-light); font-weight: 400; }

/* =============================
   PORCELAIN VENEERS PAGE
   ============================= */
.pv-container { max-width: 1000px; }

.pv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.pv-text h2 {
  color: #9b8ec4;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
}

.pv-text p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 0.95rem;
}

.pv-image {
  border: 1px solid #d8d0f0;
  border-radius: 4px;
  overflow: hidden;
}

.pv-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pv-benefit-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pv-benefit-block .db-check { flex-shrink: 0; margin-top: 0.2rem; }
.pv-benefit-block strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 0.35rem; font-family: var(--font-heading); font-weight: 700; }
.pv-benefit-block p { margin: 0; font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

@media (max-width: 768px) {
  .pv-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =============================
   BEFORE/AFTER DRAG-COMPARE SLIDER
   Shared component used on gallery.html and index.html
   ============================= */
.gallery-intro { text-align:center; max-width:680px; margin:0 auto 3.5rem; }
.gallery-intro h2 { color:#9b8ec4; margin-bottom:0.75rem; font-size:1.75rem; }
.gallery-intro p  { color:var(--text-light); line-height:1.8; font-size:0.97rem; }

.ba-carousel-wrap { position:relative; max-width:780px; margin:0 auto 3rem; }
.ba-track { overflow:hidden; border-radius:12px; }
.ba-slides { display:flex; transition:transform 0.45s cubic-bezier(.4,0,.2,1); }
.ba-slide  { min-width:100%; display:flex; flex-direction:column; }

.ba-slider {
  position:relative; width:100%; aspect-ratio:2/1;
  overflow:hidden; cursor:ew-resize;
  user-select:none; touch-action:none;
  background:#1a1a1a;
}
.ba-slider img {
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  object-fit:contain; pointer-events:none; display:block;
}
.ba-after  { z-index:1; }
.ba-before { z-index:2; clip-path:inset(0 50% 0 0); }

.ba-divider {
  position:absolute; top:0; bottom:0; left:50%;
  width:2px; background:#fff; z-index:3;
  transform:translateX(-50%);
  box-shadow:0 0 8px rgba(0,0,0,0.25);
}
.ba-handle {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:48px; height:48px; background:#fff;
  border-radius:50%; z-index:4;
  box-shadow:0 2px 12px rgba(0,0,0,0.22);
  display:flex; align-items:center; justify-content:center; gap:5px;
}
.ba-handle::before {
  content:''; border-top:8px solid transparent;
  border-bottom:8px solid transparent; border-right:9px solid #9b8ec4;
}
.ba-handle::after {
  content:''; border-top:8px solid transparent;
  border-bottom:8px solid transparent; border-left:9px solid #9b8ec4;
}
.ba-tag {
  position:absolute; top:14px; z-index:5;
  font-size:0.72rem; font-weight:700; letter-spacing:0.07em;
  text-transform:uppercase; padding:4px 12px;
  border-radius:20px; pointer-events:none;
}
.ba-tag-before { left:14px;  background:rgba(155,142,196,0.92); color:#fff; }
.ba-tag-after  { right:14px; background:rgba(255,255,255,0.92); color:#9b8ec4; }

.ba-caption-bar {
  background:#fdf6ff; border:1px solid #e8e0f5; border-top:none;
  border-radius:0 0 12px 12px; padding:0.85rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
}
.ba-caption-treatment { font-weight:600; color:#9b8ec4; font-size:0.95rem; font-family:var(--font-heading); }
.ba-caption-hint { font-size:0.8rem; color:#b8aed4; display:flex; align-items:center; gap:0.35rem; }

.ba-arrow {
  position:absolute; top:calc(50% - 28px); transform:translateY(-50%);
  width:44px; height:44px; background:#fff;
  border:1px solid #d8d0f0; border-radius:50%;
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  z-index:10; transition:background 0.2s;
}
.ba-arrow:hover { background:#9b8ec4; }
.ba-arrow:hover svg { stroke:#fff; }
.ba-arrow svg { stroke:#9b8ec4; transition:stroke 0.2s; }
.ba-arrow-prev { left:-56px; }
.ba-arrow-next { right:-56px; }

.ba-dots { display:flex; justify-content:center; gap:8px; margin-top:1.25rem; }
.ba-dot {
  width:9px; height:9px; border-radius:50%;
  background:#d8d0f0; cursor:pointer;
  transition:background 0.2s, transform 0.2s;
  border:none; padding:0;
}
.ba-dot.active { background:#9b8ec4; transform:scale(1.3); }
.ba-counter { text-align:center; font-size:0.85rem; color:#b8aed4; margin-top:0.5rem; font-weight:500; }

.gallery-cta {
  text-align:center; padding:2.75rem 2rem;
  background:#fdf6ff; border-radius:12px;
  border:1px solid #e8e0f5; margin-top:1rem;
}
.gallery-cta h3 { color:#9b8ec4; margin-bottom:0.5rem; font-size:1.3rem; }
.gallery-cta p  { color:var(--text-light); margin-bottom:1.5rem; font-size:0.95rem; }

@media (max-width:900px) {
  .ba-arrow { display:none; }
  .ba-carousel-wrap { max-width:100%; }
}
