/* ==========================================================================
   AAP (AAM AADMI PARTY) — OFFICIAL BRAND IDENTITY THEME
   Based on official AAP brand guidelines
   ──────────────────────────────────────────────────────
   Primary:    #0066B3 → #0A5EA8   (AAP Blue)
   Secondary:  #4DA6E0             (Sky Blue — hovers, icons, gradients)
   Accent:     #FFC20E             (Warm Yellow — CTA, badges, highlights)
   Neutrals:
     White:    #FFFFFF             (card surfaces, backgrounds)
     Grey:     #F2F6FA             (alternate section backgrounds)
     Navy:     #0B2545             (text, footer)
   Broom (jhadu) motif: line-art SVG watermark, section dividers
   Font: Mukta (Devanagari-friendly) + Poppins
   ========================================================================== */

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

/* ── CSS Custom Properties ─────────────────────────────────────────────────── */
:root {
  /* AAP Brand Palette */
  --aap-blue:         #0066B3;
  --aap-blue-dark:    #0A5EA8;
  --aap-blue-deeper:  #004D8A;
  --aap-sky:          #4DA6E0;
  --aap-yellow:       #FFC20E;
  --aap-yellow-dark:  #E0A800;
  --aap-navy:         #0B2545;
  --aap-grey:         #F2F6FA;
  --aap-white:        #FFFFFF;

  /* Map to dentist.css variables */
  --primary:          #0066B3;
  --primary-dark:     #0A5EA8;
  --primary-light:    #E0EEF9;
  --secondary:        #4DA6E0;
  --secondary-dark:   #2A8FC5;
  --secondary-light:  #D6EEFA;
  --accent:           #FFC20E;
  --bg-main:          #F2F6FA;
  --bg-card:          #FFFFFF;
  --text-dark:        #0B2545;
  --text-muted:       #4A6080;
  --text-light:       #8AAAC8;
  --border-light:     #C8DCF0;
  --shadow-sm:        0 4px 6px -1px rgba(0, 102, 179, 0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-md:        0 10px 25px -5px rgba(0, 102, 179, 0.15), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-lg:        0 20px 35px -10px rgba(0, 102, 179, 0.20), 0 10px 15px -8px rgba(0,0,0,0.06);
  --radius-sm:        12px;
  --radius-md:        20px;
  --radius-lg:        30px;
  --radius-full:      9999px;
  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
  font-family: 'Poppins', 'Mukta', sans-serif;
  background-color: var(--aap-grey);
  color: var(--aap-navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mukta', 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--aap-navy);
}

/* ── Broom (Jhadu) SVG Watermark ──────────────────────────────────────────── */
/* Inline SVG broom as a CSS background — subtle, line-art only */
.aap-broom-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}

/* ── Navbar ─────────────────────────────────────────────────────────────────  */
.navbar-theme {
  background: var(--aap-white) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(0, 102, 179, 0.10) !important;
  backdrop-filter: none;
  padding: 10px 0;
}

/* AAP Blue brand bar at very top of navbar */
.navbar-theme::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aap-blue) 0%, var(--aap-sky) 70%, var(--aap-yellow) 100%);
}

.navbar-theme.scrolled {
  box-shadow: 0 4px 24px rgba(0, 102, 179, 0.14) !important;
}

.brand-text {
  color: var(--aap-blue) !important;
  font-family: 'Mukta', sans-serif;
  font-weight: 800;
}

.nav-link {
  color: var(--aap-navy) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--aap-blue) !important;
  background: var(--primary-light) !important;
}

/* Get In Touch nav button */
.btn-book-nav {
  background: var(--aap-blue) !important;
  box-shadow: 0 4px 14px rgba(0, 102, 179, 0.30) !important;
  border: none !important;
}
.btn-book-nav:hover {
  background: var(--aap-blue-dark) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 179, 0.44) !important;
  transform: translateY(-2px);
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.hero-wrapper {
  background: linear-gradient(150deg, #EAF3FB 0%, var(--aap-white) 50%, #EAF3FB 100%) !important;
  padding-top: 140px;
}

/* AAP Blue radial glow top-right */
.hero-shape-1 {
  background: radial-gradient(circle, rgba(0, 102, 179, 0.14) 0%, transparent 70%) !important;
  width: 560px;
  height: 560px;
}

/* Sky blue subtle glow bottom-left */
.hero-shape-2 {
  background: radial-gradient(circle, rgba(77, 166, 224, 0.12) 0%, transparent 70%) !important;
  width: 420px;
  height: 420px;
}

/* Broom watermark circles in hero (mimics broom handle arc) */
.hero-wrapper::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 179, 0.07);
  pointer-events: none;
  z-index: 1;
}
.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 102, 179, 0.05);
  pointer-events: none;
  z-index: 1;
}

/* Hero title: AAP Blue gradient */
.hero-title {
  background: linear-gradient(135deg, var(--aap-blue) 0%, var(--aap-blue-dark) 60%, var(--aap-blue-deeper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Mukta', sans-serif;
}

.hero-tagline {
  color: var(--aap-navy) !important;
  font-weight: 600;
}

.owner-badge-card {
  border: 1.5px solid var(--border-light) !important;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95) !important;
}

.owner-avatar {
  border: 3px solid var(--aap-blue) !important;
}

.rating-pill {
  background: #FFF8E1 !important;
  color: var(--aap-yellow-dark) !important;
}

.hero-float-card {
  border: 1px solid var(--border-light) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.hero-float-icon {
  background: var(--primary-light) !important;
  color: var(--aap-blue) !important;
}

/* ── Hero CTA Buttons ──────────────────────────────────────────────────────── */
/* Primary CTA: Yellow accent (AAP brand — used sparingly for key CTA) */
.btn-primary-custom {
  background: var(--aap-yellow) !important;
  color: var(--aap-navy) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255, 194, 14, 0.40) !important;
  border: none !important;
}
.btn-primary-custom:hover {
  background: var(--aap-yellow-dark) !important;
  color: var(--aap-navy) !important;
  box-shadow: 0 6px 20px rgba(255, 194, 14, 0.55) !important;
  transform: translateY(-2px);
}

/* Outline buttons → AAP Blue */
.btn-outline-primary {
  --bs-btn-color:              var(--aap-blue);
  --bs-btn-border-color:       var(--aap-blue);
  --bs-btn-hover-bg:           var(--aap-blue);
  --bs-btn-hover-color:        #FFFFFF;
  --bs-btn-hover-border-color: var(--aap-blue);
  --bs-btn-active-bg:          var(--aap-blue-dark);
}

/* ── Quick Actions Bar ─────────────────────────────────────────────────────── */
.quick-actions-card {
  border: 1px solid var(--border-light) !important;
  border-top: 4px solid var(--aap-blue) !important;
  box-shadow: var(--shadow-lg) !important;
  background: var(--aap-white) !important;
}

.quick-btn {
  border: 1px solid var(--border-light) !important;
  background: var(--aap-grey) !important;
  color: var(--aap-navy) !important;
}
.quick-btn i {
  color: var(--aap-blue) !important;
}
.quick-btn:hover {
  background: var(--aap-blue) !important;
  border-color: var(--aap-blue) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
}
.quick-btn:hover i {
  color: #FFFFFF !important;
}

.quick-social-card {
  border: 1px solid var(--border-light) !important;
  background: linear-gradient(to right, var(--primary-light), var(--aap-white), var(--primary-light)) !important;
}

/* ── Section Tag & Title ───────────────────────────────────────────────────── */
.section-tag {
  background: var(--primary-light) !important;
  color: var(--aap-blue-dark) !important;
}

.section-title {
  color: var(--aap-navy);
}

/* Broom-inspired two-tone underline: Blue → Sky Blue */
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-full);
  margin: 10px auto 0 auto;
  background: linear-gradient(90deg,
    var(--aap-blue) 0%,
    var(--aap-sky)  60%,
    var(--aap-yellow) 100%
  );
}

.section-subtitle {
  color: var(--text-muted);
}

/* ── Alternating Section Backgrounds ─────────────────────────────────────── */
/* Even sections use cool grey, odd use white (matches brand spec) */
section.section-padding:nth-child(even),
section.bg-white {
  background-color: var(--aap-white) !important;
}

section.section-padding:nth-child(odd) {
  background-color: var(--aap-grey) !important;
}

/* ── Universal Cards ──────────────────────────────────────────────────────── */
.universal-card {
  border: 1px solid var(--border-light) !important;
  background: var(--aap-white) !important;
}
.universal-card:hover {
  border-color: rgba(0, 102, 179, 0.30) !important;
  box-shadow: var(--shadow-md) !important;
}

/* ── MVV Cards ────────────────────────────────────────────────────────────── */
.mvv-card {
  background: var(--aap-white) !important;
  border: 1px solid var(--border-light) !important;
}
.mvv-card:hover {
  border-color: var(--aap-blue) !important;
  box-shadow: var(--shadow-lg) !important;
}
.mvv-icon {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%) !important;
  color: var(--aap-blue) !important;
}

/* ── Highlight Cards ─────────────────────────────────────────────────────── */
.highlight-item-card {
  background: var(--aap-white) !important;
  border: 1px solid var(--border-light) !important;
}
.highlight-item-card:hover {
  border-color: var(--aap-blue) !important;
  box-shadow: var(--shadow-md) !important;
}
.highlight-icon {
  background: var(--primary-light) !important;
  color: var(--aap-blue) !important;
}

/* ── Service Cards ───────────────────────────────────────────────────────── */
.service-icon-badge {
  background: var(--primary-light) !important;
  color: var(--aap-blue) !important;
}

/* ── Swiper ──────────────────────────────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
  color: var(--aap-blue) !important;
  border-color: var(--border-light) !important;
}
.swiper-pagination-bullet-active {
  background: var(--aap-blue) !important;
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.accordion-theme .accordion-button:not(.collapsed) {
  color: var(--aap-blue) !important;
  background: var(--primary-light) !important;
}
.accordion-theme .accordion-item {
  border-color: var(--border-light) !important;
  background: var(--aap-white) !important;
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.form-theme .form-control:focus,
.form-theme .form-select:focus {
  border-color: var(--aap-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 179, 0.14) !important;
}

/* ── Business Hours Card ─────────────────────────────────────────────────── */
.hours-card {
  background: linear-gradient(135deg, var(--aap-navy) 0%, #122D50 100%) !important;
  border-left: 4px solid var(--aap-blue) !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer,
.footer-dark {
  background: var(--aap-navy) !important;
  border-top: none !important;
  position: relative;
  overflow: hidden;
}

/* AAP Blue → Sky → Yellow top stripe on footer */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--aap-blue)   0%,
    var(--aap-sky)    60%,
    var(--aap-yellow) 100%
  );
}

.footer-link:hover {
  color: var(--aap-sky) !important;
}

/* ── Read More Button ────────────────────────────────────────────────────── */
.read-more-btn {
  color: var(--aap-blue) !important;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  font-size: 0.88rem;
}
.read-more-btn:hover {
  color: var(--aap-blue-dark) !important;
  text-decoration: underline;
}

/* ── Floating Action Button ──────────────────────────────────────────────── */
.float-call {
  background: var(--aap-blue) !important;
  box-shadow: 0 4px 16px rgba(0, 102, 179, 0.40) !important;
}
.float-call:hover {
  background: var(--aap-blue-dark) !important;
  transform: translateY(-3px) scale(1.05);
}

/* ── Gallery Overlay ─────────────────────────────────────────────────────── */
.gallery-overlay {
  background: rgba(0, 102, 179, 0.55) !important;
  backdrop-filter: blur(4px);
}

/* ── Rating Pills ────────────────────────────────────────────────────────── */
.rating-pill {
  background: #FFF8E1 !important;
  color: var(--aap-yellow-dark) !important;
}

/* ── Yellow Accent Badge (sparingly — CTA elements) ─────────────────────── */
.badge-aap-yellow,
.aap-badge {
  background: var(--aap-yellow) !important;
  color: var(--aap-navy) !important;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ── Section Share Button ────────────────────────────────────────────────── */
.btn-section-share {
  background: var(--primary-light) !important;
  color: var(--aap-blue) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-full) !important;
}
.btn-section-share:hover {
  background: var(--aap-blue) !important;
  color: #FFFFFF !important;
}

/* ── Scroll-to-top ───────────────────────────────────────────────────────── */
.scroll-top-float,
.float-scrolltop {
  background: var(--aap-blue) !important;
}

/* ── WhatsApp Chat Widget ────────────────────────────────────────────────── */
.chat-header {
  background: linear-gradient(135deg, var(--aap-blue) 0%, var(--aap-blue-dark) 100%) !important;
}

/* ── Mobile Sticky Bottom Bar ────────────────────────────────────────────── */
.sticky-bottom-bar,
.mobile-floating-dock,
.sticky-mobile-bar {
  background: var(--aap-white) !important;
  border-top: 3px solid var(--aap-blue) !important;
  box-shadow: 0 -4px 20px rgba(0, 102, 179, 0.12) !important;
}

/* ── Promo Banner ────────────────────────────────────────────────────────── */
.promo-banner {
  border-left: 4px solid var(--aap-yellow) !important;
  background: linear-gradient(to right, #FFF8E1, var(--aap-white)) !important;
}

/* ── Broom Divider — subtle SVG inline decoration ────────────────────────── */
/* Usage: <div class="aap-broom-divider"></div> between sections */
.aap-broom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px auto;
  opacity: 0.18;
  color: var(--aap-blue);
  font-size: 1.4rem;
}
.aap-broom-divider::before,
.aap-broom-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aap-blue), transparent);
  max-width: 120px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-wrapper {
    background: linear-gradient(160deg, #EAF3FB 0%, var(--aap-white) 60%, #EAF3FB 100%) !important;
  }
  .navbar-theme {
    box-shadow: 0 2px 12px rgba(0, 102, 179, 0.10) !important;
  }
}
