/* 
  FAMILY DENTAL CARE - PROFESSIONAL POLISH DESIGN SYSTEM
  Refined Palette, Typography, Glassmorphic Cards & Elevated Micro-Interactions
*/

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

:root {
  /* Professional Polish Theme Color Palette */
  --primary: #0077B6;
  --primary-dark: #005F8A;
  --secondary: #00B4D8;
  --secondary-light: rgba(0, 180, 216, 0.1);
  --accent: #2EC4B6;
  --accent-light: rgba(46, 196, 182, 0.1);
  --bg-color: #F9FCFD;
  --card-bg: #FFFFFF;
  --heading-color: #023047;
  --paragraph-color: #4B5563;
  --btn-color: #0077B6;
  --btn-hover: #005F8A;
  --success-color: #16A34A;
  --whatsapp-color: #25D366;
  --border-color: #E5E7EB;
  
  /* Shadows & Radius */
  --shadow-soft: 0 10px 30px -5px rgba(0, 119, 182, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(0, 119, 182, 0.16);
  --shadow-glass: 0 8px 32px 0 rgba(2, 48, 71, 0.08);
  --shadow-btn: 0 10px 25px -5px rgba(0, 119, 182, 0.25);
  --shadow-btn-hover: 0 14px 30px -5px rgba(0, 119, 182, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

/* Global Reset & Typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--paragraph-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  color: var(--paragraph-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Utility Classes */
.bg-brand-light { background-color: var(--bg-color) !important; }
.text-brand-primary { color: var(--primary) !important; }
.text-brand-secondary { color: var(--secondary) !important; }
.text-brand-heading { color: var(--heading-color) !important; }
.text-brand-accent { color: var(--accent) !important; }

/* Top Announcement Bar - Vivid Blue Desktop Bar */
.top-announcement-bar {
  background-color: #0082C8;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement-bar a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-announcement-bar a:hover {
  opacity: 0.9;
  color: #ffffff;
}

.protocol-label {
  color: #38BDF8;
  font-weight: 700;
}

.protocol-value {
  color: #ffffff;
  font-weight: 600;
}

.text-cyan {
  color: #0096FF !important;
}

.top-bar-link {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.top-bar-whatsapp {
  color: #25D366 !important;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.top-bar-whatsapp:hover {
  color: #20BA56 !important;
}

/* Header Navbar */
.navbar-custom {
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s ease;
  padding: 12px 0;
}

.navbar-custom.sticky-active {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: #0082C8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 130, 200, 0.25);
  flex-shrink: 0;
}

.brand-text-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0F172A;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0082C8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-link-custom {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  color: #334155 !important;
  padding: 7px 16px !important;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-link-custom:hover {
  color: #0082C8 !important;
}

.nav-link-custom.active {
  color: #0082C8 !important;
  background-color: #EBF3FA;
  font-weight: 600;
}

/* Header Buttons */
.btn-emergency-custom {
  background-color: #ffffff;
  border: 1px solid #CBD5E1;
  color: #334155 !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-emergency-custom:hover {
  border-color: #0082C8;
  color: #0082C8 !important;
  background-color: #F8FAFC;
}

.btn-book-custom {
  background-color: #0082C8;
  border: none;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 22px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 130, 200, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-book-custom:hover {
  background-color: #0070B0;
  box-shadow: 0 6px 18px rgba(0, 130, 200, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   ANTI-DISTORTION & AUTOMATIC IMAGE FIT SYSTEM
   ========================================================================== */
img,
.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Fixed Responsive Frames for Hero Slides & Cards to prevent distortion */
.hero-image-box img,
.hero-slide img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 10;
  max-height: 440px;
  object-fit: cover !important;
  object-position: center !important;
}

.gallery-card img,
.gallery-item-wrapper img {
  width: 100% !important;
  height: 240px !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  object-position: center !important;
}

.service-card img {
  width: 100% !important;
  height: 200px !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: center !important;
}

/* Mobile Navigation Drawer Fixes & Animated Toggle Icon */
.navbar-custom .navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 6px 10px;
  border-radius: 10px;
  background-color: rgba(0, 119, 182, 0.06);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

.navbar-custom .navbar-toggler:hover,
.navbar-custom .navbar-toggler:focus {
  background-color: rgba(0, 119, 182, 0.14);
}

.navbar-custom .navbar-toggler i {
  display: inline-block;
  font-size: 1.85rem;
  line-height: 1;
  color: #0077B6;
  transition: transform 0.3s ease, color 0.25s ease;
}

.navbar-custom .navbar-toggler[aria-expanded="true"] i {
  transform: rotate(90deg) scale(1.1);
  color: #023047;
}

@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse {
    background-color: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(2, 48, 71, 0.12);
    margin-top: 12px;
    border: 1px solid #E2E8F0;
  }

  .navbar-custom .navbar-nav {
    margin-bottom: 14px !important;
  }

  .navbar-custom .nav-link-custom {
    padding: 10px 16px !important;
    font-size: 0.95rem;
    display: block;
    width: 100%;
  }

  .navbar-custom .navbar-collapse .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .navbar-custom .btn-emergency-custom,
  .navbar-custom .btn-book-custom {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 18px !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

/* Professional Polish Buttons */
.btn-primary-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--btn-color);
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap !important;
}

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

.btn-secondary-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: #ffffff;
  color: var(--heading-color) !important;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap !important;
}

/* Compact small button sizing for cards & compact containers */
.btn-sm.btn-primary-custom,
.btn-sm.btn-secondary-custom,
.btn-primary-custom.btn-sm,
.btn-secondary-custom.btn-sm,
.service-card .btn {
  padding: 9px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .btn-sm.btn-primary-custom,
  .btn-sm.btn-secondary-custom,
  .btn-primary-custom.btn-sm,
  .btn-secondary-custom.btn-sm,
  .service-card .btn {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 10px 14px;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
  }

  .btn-lg.btn-primary-custom,
  .btn-lg.btn-secondary-custom {
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.03em !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
  }
}

.btn-secondary-custom:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background-color: var(--bg-color);
  transform: translateY(-2px);
}

.btn-whatsapp-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp-custom:hover {
  background-color: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
}

/* Glassmorphism Cards */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 180, 216, 0.4);
}

/* Badge System - Professional Polish Pill Badges */
.badge-pill-custom, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--secondary-light);
  color: var(--primary);
}

.badge-pill-accent {
  background-color: var(--accent-light);
  color: #0d8a7f;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  background-color: var(--bg-color);
  padding: 60px 0 80px 0;
  overflow: hidden;
}

.hero-bg-shape-1 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  filter: blur(80px);
  top: 50px;
  right: -80px;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-shape-2 {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.1);
  filter: blur(60px);
  bottom: 40px;
  left: -80px;
  z-index: 0;
  pointer-events: none;
}

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

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
  animation: fadeInUp 0.6s ease forwards;
}

/* Trust Indicators Section */
.trust-indicator-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.trust-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paragraph-color);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

.floating-stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(2, 48, 71, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-stat-badge.pos-1 {
  top: 8%;
  left: -20px;
}

.floating-stat-badge.pos-2 {
  bottom: 10%;
  right: -20px;
}

/* Services Ribbon Strip */
.services-ribbon-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ribbon-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--secondary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.ribbon-item:hover .ribbon-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.ribbon-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Service Card Component */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--secondary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
}

.service-features-list li {
  font-size: 0.9rem;
  color: var(--paragraph-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-features-list li i {
  color: var(--success-color);
  font-size: 0.85rem;
}

/* Feature Box Icons */
.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* Process Step Card */
.process-step-card {
  position: relative;
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.3);
}

/* Gallery Items */
.gallery-item-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(2, 48, 71, 0.85) 0%, rgba(0, 119, 182, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity 0.35s ease;
  padding: 16px;
  text-align: center;
}

.gallery-item-wrapper:hover img {
  transform: scale(1.08);
}

.gallery-item-wrapper:hover .gallery-overlay {
  opacity: 1;
}

/* Review Card */
.review-card {
  padding: 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.star-rating {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.patient-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* FAQ Accordion Styling */
.accordion-custom .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-custom .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--heading-color);
  background-color: #ffffff;
  padding: 18px 24px;
  font-size: 1rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--secondary-light);
  box-shadow: none;
}

.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary);
}

/* Form Controls */
.form-control-custom, .form-select-custom {
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all 0.25s ease;
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15);
  outline: none;
}

/* Footer Section - Professional Polish Dark Navy */
.footer-wrapper {
  background-color: #022436;
  color: #94A3B8;
  padding-top: 60px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border-color);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 36px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #CBD5E1;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

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

/* Floating Actions Bar - Professional Polish Circular Badges with 4px White Border */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(2, 48, 71, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-btn-wa {
  background-color: var(--whatsapp-color);
}

.float-btn-call {
  background-color: var(--primary);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Mobile Sticky Bottom Bar (Disabled) */
.mobile-bottom-bar {
  display: none !important;
}

@media (max-width: 767.98px) {
  .floating-actions-container {
    bottom: 20px;
    right: 16px;
  }

  .floating-stat-badge {
    display: none;
  }
}

/* Custom Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 36, 54, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
}

/* Force crisp white text for headings, paragraphs & subtext in dark or text-white containers */
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white .font-heading,
.text-white span,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-dark p,
.bg-dark .font-heading {
  color: #ffffff !important;
}

.text-white .text-muted,
.text-white .opacity-90,
.text-white .opacity-80,
.text-white p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.text-dark,
.badge.text-dark,
.badge.text-dark i,
.badge.bg-light,
.badge.bg-light i,
.text-white .badge.bg-light,
.text-white .badge.text-dark,
.text-dark i {
  color: #000000 !important;
}


