/* ==========================================================================
   Lourensriver Family Practice - Modern Pure CSS Stylesheet
   Design System: Clean, Medical Editorial, Accessible, Responsive
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-deep: #0f172a;
  --primary-light: #e0f2fe;
  --primary-soft: #f0f9ff;
  --accent: #0d9488;
  --accent-light: #ccfbf1;
  --accent-dark: #0f766e;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-focus: #38bdf8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 35px -5px rgba(2, 132, 199, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Notification / Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-deep);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-item svg {
  width: 15px;
  height: 15px;
  color: #38bdf8;
  flex-shrink: 0;
}

.top-info-item a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Header & Sticky Navigation (Pure CSS Mobile Menu)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 54px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.logo-brand-text {
  display: flex;
  flex-direction: column;
}

.logo-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  line-height: 1.15;
}

.logo-brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--primary-deep);
}

.nav-toggle-label svg {
  width: 26px;
  height: 26px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.35rem 0;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--primary-deep);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-white:hover {
  background: #f8fafc;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero Section & Pure CSS Slideshow
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 7rem;
  color: #ffffff;
  overflow: hidden;
  background-color: var(--primary-deep);
}

/* Background slider container */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Gradient overlay for contrast & readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.72) 50%,
    rgba(2, 132, 199, 0.65) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 700px;
}

/* Hero Slideshow Horizontal Indicator Stripes */
.slideshow-indicators {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.2rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.indicator-stripe {
  width: 18px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.indicator-stripe.active {
  background: #38bdf8;
  width: 28px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@media (max-width: 768px) {
  .indicator-stripe {
    width: 10px;
    height: 3px;
    gap: 0.25rem;
  }
  .indicator-stripe.active {
    width: 18px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.hero-title span {
  background: linear-gradient(120deg, #38bdf8, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.hero-meta {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  line-height: 1.2;
}

.hero-meta-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Feature Quick Highlights (Float Cards)
   ========================================================================== */
.quick-features {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 5rem;
}

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

.feature-card {
  background: var(--bg-card);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #bae6fd;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   Section General Styling
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #ffffff;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 270px;
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-floating-icon svg {
  width: 24px;
  height: 24px;
}

.about-floating-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-deep);
  line-height: 1.2;
}

.about-floating-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.about-checklist svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #bae6fd;
}

.service-img-box {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-alt);
}

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

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Doctors & Team Section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-align: center;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.doctor-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.doctor-card:hover .doctor-img {
  transform: scale(1.04);
}

.doctor-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doctor-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

.doctor-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.doctor-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.doctor-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1877f2;
  background: #f0f7ff;
  border: 1px solid #d0e7ff;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  margin-top: 0.4rem;
}

.doctor-social-link svg {
  width: 15px;
  height: 15px;
}

.doctor-social-link:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

/* ==========================================================================
   Quote of the Month / Philosophy Banner
   ========================================================================== */
.quote-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.quote-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: #38bdf8;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quote-author::before {
  content: '';
  width: 20px;
  height: 2px;
  background-color: #38bdf8;
}

/* ==========================================================================
   Appointment Booking Section
   ========================================================================== */
.appointment-section {
  padding: 6rem 0;
  background-color: var(--bg-page);
}

.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.appointment-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-info h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.appointment-info p {
  color: #e0f2fe;
  font-size: 1.025rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.appointment-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

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

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.contact-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #bae6fd;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-card-val {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin-top: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-card-val a {
  word-break: break-all;
}

.contact-card-val a:hover {
  text-decoration: underline;
}

/* Form Styles */
.appointment-form-wrap {
  padding: 3.5rem;
}

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

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

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* ==========================================================================
   Location & Map Section
   ========================================================================== */
.map-section {
  padding: 0 0 5rem 0;
}

.map-card-container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.map-details {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-card);
}

.map-details h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.map-details p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-light);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.65rem 0;
  font-size: 0.925rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary-deep);
}

.map-embed {
  min-height: 420px;
  width: 100%;
  background: var(--bg-alt);
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-deep);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-top: 1.2rem;
  color: #94a3b8;
}

.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Floating Action Buttons Cluster (Bottom Right) */
.floating-actions-cluster {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-actions-cluster.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-book-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.floating-book-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.55);
}

.floating-book-btn svg {
  width: 20px;
  height: 20px;
}

.floating-facebook-btn {
  background: #1877f2;
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition);
}

.floating-facebook-btn:hover {
  background: #0d65d9;
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.55);
}

.floating-facebook-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Practice Tour Slideshow Showcase (37 Images)
   ========================================================================== */
.showcase-carousel-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-display {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #0b1120;
  transition: opacity 0.35s ease;
}

.showcase-img.fade-transition {
  opacity: 0.2;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.carousel-control svg {
  width: 26px;
  height: 26px;
}

.carousel-control:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.carousel-control.prev {
  left: 1.5rem;
}

.carousel-control.next {
  right: 1.5rem;
}

.carousel-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
  z-index: 10;
}

.carousel-play-toggle {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-play-toggle svg {
  width: 18px;
  height: 18px;
}

.carousel-play-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Thumbnail Strip */
.showcase-thumbs-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border-light);
}

.showcase-thumbs-container::-webkit-scrollbar {
  height: 6px;
}

.showcase-thumbs-container::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: var(--radius-full);
}

.showcase-thumbs-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

.showcase-thumb {
  flex: 0 0 90px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #0f172a;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.65;
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-thumb:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.showcase-thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .showcase-display {
    height: 320px;
  }
  .carousel-control {
    width: 40px;
    height: 40px;
  }
  .carousel-control.prev {
    left: 0.8rem;
  }
  .carousel-control.next {
    right: 0.8rem;
  }
  .showcase-thumb {
    flex: 0 0 70px;
    height: 52px;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .appointment-wrapper {
    grid-template-columns: 1fr;
  }
  
  .map-card-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  
  .nav-container {
    height: 70px;
  }

  .logo-img {
    height: 44px;
  }

  .nav-toggle-label {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  
  /* Pure CSS Toggle */
  .nav-toggle-checkbox:checked ~ .nav-menu {
    display: flex;
  }
  
  .nav-action-btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .about-main-img {
    height: 320px;
  }

  .about-floating-card {
    right: 0.5rem;
    bottom: -1rem;
    padding: 1rem 1.25rem;
    max-width: calc(100% - 1rem);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .appointment-wrapper {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
    margin: 0;
  }

  .appointment-info {
    padding: 2rem 1.25rem;
  }

  .appointment-info h3 {
    font-size: 1.65rem;
    margin-bottom: 0.85rem;
  }

  .appointment-info p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.8rem;
  }

  .appointment-contact-list {
    gap: 1.2rem;
  }

  .contact-card-item {
    gap: 0.85rem;
  }

  .contact-card-icon {
    width: 38px;
    height: 38px;
  }

  .contact-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-card-val {
    font-size: 0.925rem;
  }

  .appointment-form-wrap {
    padding: 2rem 1.25rem;
  }

  .form-control {
    font-size: 0.925rem;
    padding: 0.75rem 0.95rem;
  }

  .map-details {
    padding: 2rem 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .floating-actions-cluster {
    bottom: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }
  
  .floating-book-btn,
  .floating-facebook-btn {
    padding: 0.75rem 1.15rem;
    font-size: 0.85rem;
  }
}

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

  .appointment-info {
    padding: 1.6rem 1rem;
  }

  .appointment-form-wrap {
    padding: 1.6rem 1rem;
  }

  .appointment-info h3 {
    font-size: 1.5rem;
  }

  .contact-card-val {
    font-size: 0.85rem;
  }

  .floating-actions-cluster {
    bottom: 0.75rem;
    right: 0.75rem;
    gap: 0.4rem;
  }

  .floating-book-btn,
  .floating-facebook-btn {
    padding: 0.65rem 0.95rem;
    font-size: 0.8rem;
  }
}
