/*
Theme Name: Codeobadental
Theme URI: https://codeobadental.com
Author: Codeobadental
Author URI: https://codeobadental.com
Description: A professional dental clinic WordPress theme with Elementor compatibility. Features hero slider, services grid, FAQ accordion, team section, testimonials, floating call/WhatsApp buttons, and full theme customizer support.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codeobadental
Tags: dental, clinic, health, medical, elementor, one-page, custom-colors, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready
*/

/* =============================================
   CODEOBADENTAL THEME - MAIN STYLESHEET
   Design by: Codeobadental Team
   ============================================= */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary: #c2185b;
  --primary-dark: #880e4f;
  --primary-light: #f8bbd0;
  --secondary: #009688;
  --secondary-dark: #00796b;
  --secondary-light: #b2dfdb;
  --accent: #469da3;
  --white: #ffffff;
  --black: #000000;
  --dark: #111111;
  --grey-dark: #333333;
  --grey: #666666;
  --grey-light: #f5f5f5;
  --border: #e0e0e0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-light { background: var(--grey-light); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-primary { background: var(--primary); color: var(--white); }

/* --- Section Title --- */
.section-title-wrap { margin-bottom: 50px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}
.section-badge i { font-size: 12px; }
.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 16px;
  color: var(--grey);
  max-width: 600px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194,24,91,0.35);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

/* =============================================
   TOP BAR
   ============================================= */
#topbar {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left a, .topbar-right a {
  color: var(--white);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.topbar-left a:hover, .topbar-right a:hover { opacity: 0.8; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social a {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.topbar-social a:hover { background: rgba(255,255,255,0.4); }

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 25px rgba(0,0,0,0.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-logo img { height: 55px; width: auto; }
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.site-logo .logo-text span { color: var(--secondary); font-size: 13px; display: block; font-weight: 400; }

/* Main Navigation */
.main-nav ul { display: flex; align-items: center; gap: 5px; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current-menu-ancestor > a {
  color: var(--secondary);
  background: rgba(0,150,136,0.08);
}
/* Dropdown */
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
  border-top: 3px solid var(--primary);
}
.main-nav ul li:hover > ul { display: flex; }
.main-nav ul li ul li a {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 0;
  color: var(--grey-dark);
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.main-nav ul li ul li:last-child a { border-bottom: none; }
.main-nav ul li ul li a:hover { color: var(--primary); background: var(--primary-light); padding-left: 25px; }

.nav-has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.7;
}

/* Header CTA */
.header-cta .btn { padding: 10px 20px; font-size: 13px; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: var(--dark);
  font-size: 24px;
}

/* =============================================
   HERO SLIDER
   ============================================= */
#hero-slider {
  position: relative;
  overflow: hidden;
  background: #222;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-slide-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center top;
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-slide-content {
  max-width: 580px;
  padding: 0 60px;
  color: var(--white);
  animation: heroSlideIn 0.8s ease forwards;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide-content .badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-slide-content h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-slide-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-slide-content .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active { background: var(--primary); transform: scale(1.3); }

/* =============================================
   INTRO / VISION-MISSION STRIP
   ============================================= */
#intro-strip {
  padding: 0;
}
.intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.intro-strip-item {
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.intro-strip-item:nth-child(1) { background: var(--secondary); color: var(--white); }
.intro-strip-item:nth-child(2) { background: #ff7043; color: var(--white); }
.intro-strip-item:nth-child(3) { background: var(--primary); color: var(--white); }
.intro-strip-icon { font-size: 36px; opacity: 0.9; flex-shrink: 0; }
.intro-strip-text h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.intro-strip-text p { font-size: 13px; opacity: 0.9; line-height: 1.5; }

/* =============================================
   ABOUT SECTION
   ============================================= */
#about-section {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-img-frame {
  width: 380px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--primary-light);
  box-shadow: var(--shadow);
  position: relative;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img-badge .num { font-size: 32px; font-weight: 800; display: block; line-height: 1; }
.about-img-badge .lbl { font-size: 11px; font-weight: 500; opacity: 0.9; }
.about-content .section-badge { margin-bottom: 12px; }
.about-content h2 { font-size: 36px; margin-bottom: 16px; }
.about-content p { color: var(--grey); margin-bottom: 20px; }
.about-checklist { margin-bottom: 28px; }
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey-dark);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 15px;
}
.about-checklist li::before {
  content: "✔";
  color: var(--white);
  background: var(--primary);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
#services-section { background: var(--grey-light); }
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-card-body { padding: 20px; }
.service-card-icon {
  width: 60px; height: 60px;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -40px auto 16px;
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  position: relative;
  z-index: 1;
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.service-card p { font-size: 13px; color: var(--grey); margin-bottom: 14px; line-height: 1.6; }
.service-card .read-more {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card .read-more:hover { color: var(--primary); gap: 8px; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
#why-us-section { background: var(--white); }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-us-list { margin-bottom: 10px; }
.why-us-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.why-us-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.why-us-item-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}
.why-us-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-us-item p { font-size: 14px; color: var(--grey); line-height: 1.6; }
.why-us-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

/* =============================================
   STATS COUNTER
   ============================================= */
#stats-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-size: 52px;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  opacity: 0.85;
  font-weight: 500;
}
.stat-icon { font-size: 32px; opacity: 0.3; margin-bottom: 8px; }

/* =============================================
   SPECIALIST / DOCTOR SECTION
   ============================================= */
#doctor-section { background: var(--grey-light); }
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.doctor-card-img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.doctor-card-body { padding: 22px; }
.doctor-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.doctor-card .specialty {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.doctor-card p { font-size: 13px; color: var(--grey); margin-bottom: 16px; }
.doctor-social { display: flex; gap: 10px; justify-content: center; }
.doctor-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grey-light);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.doctor-social a:hover { background: var(--primary); color: var(--white); }

/* =============================================
   FAQ SECTION
   ============================================= */
#faq-section { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.faq-list { }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  gap: 10px;
}
.faq-question:hover { color: var(--primary); background: var(--grey-light); }
.faq-item.open .faq-question { color: var(--primary); background: var(--primary-light); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
#testimonials-section { background: var(--grey-light); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary-light);
  line-height: 0.8;
  position: absolute;
  top: 20px; left: 20px;
  opacity: 0.7;
}
.testimonial-stars { color: #ffc107; font-size: 14px; margin-bottom: 14px; }
.testimonial-text { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.testimonial-author-info h4 { font-size: 15px; font-weight: 700; color: var(--dark); }
.testimonial-author-info span { font-size: 12px; color: var(--grey); }

/* =============================================
   VIDEOS SECTION
   ============================================= */
#videos-section { background: var(--white); }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-card iframe { width: 100%; height: 100%; border: none; }

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact-section { background: var(--grey-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info-items { margin-top: 30px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 50px; height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.contact-info-text p, .contact-info-text a { font-size: 14px; color: var(--grey); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 24px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(194,24,91,0.1); }
textarea.form-control { height: 120px; resize: vertical; }

/* Map */
.contact-map { margin-top: 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 350px; border: none; display: block; }

/* =============================================
   GALLERY SECTION
   ============================================= */
#gallery-section { background: var(--white); }
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--grey-dark);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(194,24,91,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 28px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--black); color: var(--white); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { font-size: 20px; color: var(--white); }
.footer-logo .logo-text span { color: var(--primary); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-links { }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a::before { content: "›"; color: var(--primary); font-size: 16px; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-icon { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.65); }
.footer-contact-text a:hover { color: var(--primary); }
.footer-bottom {
  background: var(--primary);
  padding: 14px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.9); }
.footer-bottom a { color: var(--white); font-weight: 600; }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-btn {
  position: fixed;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
  text-decoration: none;
  bottom: 24px;
}
.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); color: var(--white); }
.floating-btn i { font-size: 20px; }
.floating-call-btn { left: 24px; background: #1565c0; }
.floating-call-btn:hover { background: #0d47a1; }
.floating-whatsapp-btn { right: 24px; background: #25d366; }
.floating-whatsapp-btn:hover { background: #128c7e; }

/* Scroll to Top */
#scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 42px; height: 42px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  font-size: 16px;
  box-shadow: var(--shadow);
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* =============================================
   APPOINTMENT BANNER
   ============================================= */
#appointment-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
#appointment-banner h2 { font-size: 36px; color: var(--white); margin-bottom: 12px; }
#appointment-banner p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
#appointment-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HERO / BREADCRUMB
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  padding: 50px 0;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: 38px; color: var(--white); margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; opacity: 0.85; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.7; }

/* =============================================
   SINGLE SERVICE PAGE
   ============================================= */
.single-service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.service-sidebar { }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-widget h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); color: var(--dark); }
.services-menu li { margin-bottom: 8px; }
.services-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.services-menu a:hover, .services-menu a.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* =============================================
   WOOCOMMERCE COMPATIBILITY
   ============================================= */
.woocommerce-placeholder { max-width: 600px; margin: 60px auto; text-align: center; color: var(--grey); }

/* =============================================
   ELEMENTOR OVERRIDES
   ============================================= */
body.elementor-page #site-header { position: sticky; top: 0; z-index: 9999; }
.elementor-section { }
.elementor-section.section-padding-el { padding: 80px 0; }

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-track { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 50px 0; }
  .section-title { font-size: 28px; }
  #topbar { display: none; }

  .header-inner { padding: 10px 0; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 99999;
    overflow-y: auto;
    padding: 80px 20px 20px;
  }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open ul li a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav.open ul li ul { display: flex; flex-direction: column; position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .nav-toggle { display: block; }
  .nav-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

  .hero-slide-img { height: 350px; }
  .hero-slide-content { padding: 0 20px; }
  .hero-slide-content h1 { font-size: 28px; }

  .intro-strip-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-img-frame { width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .single-service-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .floating-btn span { display: none; }
  .floating-btn { padding: 12px 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-slide-content h1 { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.floating-btn { animation: pulse 2.5s ease infinite; }
.floating-btn:hover { animation: none; }

/* =============================================
   WORDPRESS CORE CLASSES
   ============================================= */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--grey); text-align: center; padding: 5px 0; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.screen-reader-text { position: absolute; left: -9999em; }
.sticky { }
.bypostauthor { }
