/* ==========================================================================
   SETLIGHT DENTAL CLINIC — Clean, Minimalist & Modern Design System
   Font: Outfit (Google Fonts)
   ========================================================================== */

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

:root {
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Modern Minimalist Palette */
  --primary: #0284c7;           /* Medical Sky Blue */
  --primary-hover: #0369a1;
  --primary-dark: #075985;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;
  
  --brand-red: #e11d48;         /* Rose Red */
  --brand-red-light: #fff1f2;
  
  --gold: #d97706;              /* Soft Amber Gold */
  --gold-light: #fef3c7;
  
  --dark-slate: #0f172a;        /* Slate 900 for dark text & dark minimal cards */
  --card-dark: #1e293b;
  
  --bg-canvas: #f8fafc;         /* Pure Airy Light Slate Canvas */
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Minimal Shadows - Soft & Airy */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 48px -8px rgba(15, 23, 42, 0.12);

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas);
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Section Spacing */
.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Minimal Subpage Hero Banner */
.page-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  position: relative;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .page-hero-title {
    font-size: 3rem;
  }
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
}

.badge-red {
  background-color: var(--brand-red-light);
  color: var(--brand-red);
}

.badge-gold {
  background-color: var(--gold-light);
  color: var(--gold);
}

.badge-slate {
  background-color: var(--bg-subtle);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

/* Typography Helpers */
.heading-xl {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.heading-lg {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.heading-md {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

@media (min-width: 640px) {
  .heading-xl { font-size: 3rem; }
  .heading-lg { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .heading-xl { font-size: 3.5rem; }
  .heading-lg { font-size: 2.75rem; }
}

/* Minimal Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-accent {
  background: var(--brand-red);
  color: white;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-accent:hover {
  background: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--border-light);
}

/* ==========================================================================
   Header & Clean Desktop Navigation Alignment
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Spaced out Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.25rem; /* Spacious tab layout */
    margin: 0 auto;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  cursor: pointer;
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: white;
  z-index: 1000;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  transition: right 0.35s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
}

/* ==========================================================================
   Clean & Minimal Hero Section
   ========================================================================== */
.hero-section {
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-content h1 {
  margin-top: 1.25rem;
  color: var(--text-dark);
}

.hero-content h1 .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.5rem;
  font-size: 0.925rem;
  color: var(--text-main);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.hero-card-wrapper {
  position: relative;
}

.hero-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Quick Info Bar Section
   ========================================================================== */
.quick-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.quick-bar-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .quick-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-bar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quick-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
}

.quick-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.quick-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Meet Dentist Section
   ========================================================================== */
.dentist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .dentist-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.dentist-photo-wrapper {
  position: relative;
  order: -1;
}

@media (min-width: 1024px) {
  .dentist-photo-wrapper {
    order: 1;
  }
}

.dentist-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.dentist-exp-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border-light);
}

.dentist-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.75rem;
  list-style: none;
}

@media (min-width: 640px) {
  .dentist-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dentist-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--primary-border);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   About Section & Special Features
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vm-card {
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.vm-card p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  color: var(--text-main);
  font-style: italic;
}

.vm-card .verse {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

/* Credit & Discount Card */
.credit-container {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.discount-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

.discount-pill {
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--primary-border);
}

/* Sabbatical Pricing Protection */
.sabbatical-card {
  background: var(--dark-slate);
  color: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Galleries (Clinic & Patient Smiles)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
}

.gallery-subtitle {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
}

/* Patient Smiles Grid */
.smiles-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .smiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.smile-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Appointment Booking Form
   ========================================================================== */
.booking-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-canvas);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold);
}

.google-review-cta {
  background: var(--dark-slate);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   FAQs Accordion
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-btn:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Contact & Location
   ========================================================================== */
.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel {
  background: var(--dark-slate);
  color: white;
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-info-panel {
    padding: 3.5rem;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
}

.contact-item:hover {
  color: var(--primary-border);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-panel {
  min-height: 400px;
  width: 100%;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer & Floating Widget
   ========================================================================== */
.footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links li {
  display: flex;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-icon {
  color: var(--primary);
  opacity: 0.9;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.footer-links a:hover .footer-icon {
  color: #38bdf8;
  opacity: 1;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.designer-credit {
  color: #ef4444;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.designer-link {
  color: #ef4444 !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.designer-link:hover {
  color: #fca5a5 !important;
  text-decoration: none;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  background: #25D366;
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  font-weight: 700;
  transition: var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  background: #20bd5a;
}

.ping-dot {
  position: relative;
  display: flex;
  width: 10px;
  height: 10px;
}

.ping-dot span:first-child {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: white;
  opacity: 0.75;
}

.ping-dot span:last-child {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  height: 10px;
  width: 10px;
  background-color: white;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ==========================================================================
   Mobile Responsiveness Enhancements & Header Responsiveness
   ========================================================================== */

@media (max-width: 1023px) {
  .header-container {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    gap: 0.5rem !important;
  }

  .brand-wrapper {
    gap: 0.5rem !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .brand-logo {
    height: 38px !important;
    width: 38px !important;
    flex-shrink: 0 !important;
  }

  .brand-title {
    font-size: 0.95rem !important;
    letter-spacing: 0.01em !important;
    line-height: 1.15 !important;
  }

  .brand-subtitle {
    font-size: 0.5rem !important;
    letter-spacing: 0.08em !important;
  }

  .header-actions {
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  .header-actions .btn-outline {
    display: none !important; /* Hide extra SMS button on header to fit cleanly */
  }

  .header-actions .btn-accent {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .heading-xl {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .heading-lg {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .page-hero-title {
    font-size: 1.85rem;
  }

  .page-hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btns .btn {
    width: 100%;
  }

  /* Increase footer bottom padding so floating WhatsApp button never covers footer credit */
  .footer {
    padding-top: 3rem;
    padding-bottom: 6.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
  }

  .designer-credit {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  }

  /* Responsive Tables */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
  }

  /* Responsive Form Inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-logo {
    height: 34px !important;
    width: 34px !important;
  }

  .brand-title {
    font-size: 0.825rem !important;
    line-height: 1.1 !important;
  }

  .brand-subtitle {
    display: none !important; /* Hide subtitle on mobile phone screen so header is super clean */
  }

  .header-actions .btn-accent {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  .footer {
    padding-bottom: 7rem;
  }
}
