/* ============================================= 
   MODERN MEDSERVICE THEME - Bootstrap 5 
   Primary: #0078C1 | Inspired by MUI & Ant Design
   ============================================= */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* --- Primary Scale --- */
  --primary: #0078C1;
  --primary-dark: #005a94;
  --primary-light: #e6f3fb;
  --primary-50: rgba(0, 120, 193, 0.05);
  --primary-100: rgba(0, 120, 193, 0.1);
  --primary-200: rgba(0, 120, 193, 0.2);

  /* --- Secondary --- */
  --secondary: #1a2d45;

  /* --- Status Colors (MUI-inspired) --- */
  --success: #0d9488;
  --success-dark: #0a7a70;
  --success-light: #e6f7f5;
  --warning: #e8860c;
  --warning-dark: #c4720a;
  --warning-light: #fef5e7;
  --danger: #dc3545;
  --danger-dark: #b82d3c;
  --danger-light: #fce8ea;
  --info: #0ea5e9;
  --info-dark: #0b8bc7;
  --info-light: #e6f6fd;

  /* --- Text --- */
  --text-primary: #1a2d45;
  --text-secondary: #5a6a7e;
  --text-muted: #8c99a9;
  --text-inverse: #ffffff;

  /* --- Backgrounds --- */
  --bg-white: #ffffff;
  --bg-light: #f7f9fc;
  --bg-section: #f0f5fa;
  --bg-dark: #1a2d45;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* --- Borders --- */
  --border-color: #e8ecf1;
  --border-light: #f0f2f5;
  --border-focus: rgba(0, 120, 193, 0.4);

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 25px rgba(0, 120, 193, 0.25);
  --shadow-success: 0 8px 25px rgba(13, 148, 136, 0.25);
  --shadow-danger: 0 8px 25px rgba(220, 53, 69, 0.25);
  --shadow-focus: 0 0 0 3px rgba(0, 120, 193, 0.15);

  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --radius-circle: 50%;

  /* --- Spacing Scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- Z-Index Scale --- */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-navbar: 1040;
  --z-modal-backdrop: 1050;
  --z-modal: 1060;
  --z-toast: 1070;
  --z-tooltip: 1080;

  /* --- Transitions --- */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Typography --- */
  --font-heading: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* --- Global Resets & Base --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Typography System --- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1,
.h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2,
.h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3,
.h3 {
  font-size: 1.625rem;
  font-weight: 600;
}

h4,
.h4 {
  font-size: 1.375rem;
  font-weight: 600;
}

h5,
.h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6,
.h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Font Family Utilities */
.font-heading {
  font-family: var(--font-heading) !important;
}

.font-body {
  font-family: var(--font-body) !important;
}

/* Font Size Utilities */
.fs-xs {
  font-size: 0.75rem !important;
}

.fs-sm {
  font-size: 0.875rem !important;
}

.fs-base {
  font-size: 1rem !important;
}

.fs-lg {
  font-size: 1.125rem !important;
}

.fs-xl {
  font-size: 1.25rem !important;
}

.fs-2xl {
  font-size: 1.5rem !important;
}

.fs-3xl {
  font-size: 2rem !important;
}

.fs-4xl {
  font-size: 2.5rem !important;
}

.fs-5xl {
  font-size: 3rem !important;
}

/* Font Weight Utilities */
.fw-light {
  font-weight: 300 !important;
}

.fw-regular {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-extrabold {
  font-weight: 800 !important;
}

/* Line Height Utilities */
.lh-tight {
  line-height: 1.25 !important;
}

.lh-normal {
  line-height: 1.6 !important;
}

.lh-relaxed {
  line-height: 1.8 !important;
}

/* Letter Spacing Utilities */
.ls-tight {
  letter-spacing: -0.025em !important;
}

.ls-normal {
  letter-spacing: 0 !important;
}

.ls-wide {
  letter-spacing: 0.05em !important;
}

html {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.375rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

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

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

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

section {
  position: relative;
}

.container {
  max-width: 1200px;
}

/* --- Preloader --- */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.loaded #loader-wrapper {
  opacity: 0;
  visibility: hidden;
}

/* --- Section Spacing --- */
.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- Buttons (MUI-inspired) --- */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.5;
}

.btn-primary-modern {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

.btn-outline-modern {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

.btn-white-modern {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white-modern:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm-modern {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn-lg-modern {
  padding: 14px 36px;
  font-size: 0.9375rem;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--bg-light);
  padding: 8px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1041;
  transition: transform 0.3s ease;
}

.top-bar.top-bar-hidden {
  transform: translateY(-100%);
}

.top-bar a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar i {
  margin-right: 6px;
  font-size: 0.75rem;
  color: var(--primary);
}

.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-left: 4px;
  font-size: 0.75rem;
  background: rgba(0, 120, 193, 0.08);
  color: var(--primary);
}

.top-bar .social-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Navbar (BS5) --- */
.navbar-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  z-index: 1040;
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  transition: top 0.3s ease;
  font-family: var(--font-heading);
}

.navbar-modern.sticky-nav {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-modern.nav-up {
  top: 0;
}

.navbar-spacer {
  height: 106px;
}

.navbar-modern .navbar-brand img {
  height: 38px;
}

.navbar-modern .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 18px !important;
  position: relative;
  transition: var(--transition);
  border: none !important;
}

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

/* Remove ::after and ::before for NON-dropdown nav-links only */
.navbar-modern .nav-item:not(.dropdown)>.nav-link::after,
.navbar-modern .nav-item:not(.dropdown)>.nav-link::before {
  display: none !important;
  content: none !important;
}

/* Dropdown toggle - chevron arrow using inline SVG */
.navbar-modern .nav-item.dropdown>.nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-modern .nav-item.dropdown>.nav-link.dropdown-toggle::after {
  display: inline-block !important;
  content: '' !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex-shrink: 0;
  border: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  vertical-align: middle;
  margin-left: 0;
  margin-top: 0;
  transition: var(--transition);
  transform: none !important;
}

.navbar-modern .nav-item.dropdown>.nav-link.dropdown-toggle:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230078C1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
}

.navbar-modern .nav-item.dropdown.show>.nav-link.dropdown-toggle::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230078C1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 10l4-4 4 4'/%3E%3C/svg%3E") !important;
}

.navbar-modern .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px 0;
  margin-top: 0;
  min-width: 220px;
  animation: fadeDown 0.25s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-modern .dropdown-item {
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.navbar-modern .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.navbar-modern .nav-cta .nav-link {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 22px !important;
  font-weight: 600;
  box-shadow: var(--shadow-primary);
}

.navbar-modern .nav-cta .nav-link:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* --- Dropdown Hover on Desktop --- */
@media (min-width: 992px) {

  .navbar-modern .nav-item.dropdown:hover>.dropdown-menu,
  .navbar-modern .nav-item.mega-dropdown:hover>.mega-menu {
    display: block;
    margin-top: 0;
  }

  .navbar-modern .dropdown-menu {
    margin-top: 0;
  }
}

/* --- Mega Menu --- */
.navbar-modern .mega-dropdown {
  position: static !important;
}

.navbar-modern .mega-menu {
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  border: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 12px 36px rgba(0, 0, 0, .1);
  padding: 32px 0;
  margin-top: 0;
  animation: fadeDown 0.3s ease;
  background: #fff;
}

.mega-menu-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

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

.mega-menu-links li {
  margin-bottom: 2px;
}

.mega-menu-links li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.mega-menu-links li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 16px;
}

@media (max-width: 991.98px) {
  .navbar-modern .mega-menu {
    position: static !important;
    box-shadow: none;
    border-radius: var(--radius-md);
    padding: 16px;
    background: var(--bg-light);
    margin: 8px 0;
  }

  .mega-menu-title {
    margin-top: 12px;
  }

  .mega-menu-title:first-of-type {
    margin-top: 0;
  }
}

/* --- Hero Section (Bootstrap 5 Carousel) --- */
.hero-modern {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.hero-modern .carousel-inner,
.hero-modern .carousel-item {
  min-height: 650px;
}

.hero-modern .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Each carousel-item gets its own overlay */
.hero-modern .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 40, 80, 0.92) 0%,
      rgba(0, 120, 193, 0.75) 50%,
      rgba(0, 60, 110, 0.85) 100%);
  z-index: 1;
}

.hero-modern .hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
}

.hero-modern .hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-modern h1 {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-modern p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* Carousel Indicators - modern pill style */
.hero-modern .carousel-indicators {
  bottom: 30px;
  z-index: 5;
  gap: 8px;
  margin: 0;
  justify-content: center;
}

.hero-modern .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  opacity: 1;
  transition: var(--transition);
}

.hero-modern .carousel-indicators button.active {
  background-color: #fff;
  width: 32px;
  border-radius: 6px;
}

/* Carousel Nav Arrows */
.hero-modern .carousel-control-prev,
.hero-modern .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}

.hero-modern:hover .carousel-control-prev,
.hero-modern:hover .carousel-control-next {
  opacity: 1;
}

.hero-modern .carousel-control-prev {
  left: 20px;
}

.hero-modern .carousel-control-next {
  right: 20px;
}

.hero-modern .carousel-control-prev:hover,
.hero-modern .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-modern .carousel-control-prev-icon,
.hero-modern .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* Remove the hero-modern ::before and ::after since each carousel-item handles its own overlay */
.hero-modern::before,
.hero-modern::after {
  display: none;
}

/* --- About Boxes --- */
.about-boxes {
  margin-top: -120px;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

.about-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 8px 30px rgba(0, 0, 0, .08);
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}

.about-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 16px 40px rgba(0, 0, 0, .1);
}

.about-box h5 {
  color: var(--text-primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.about-box h5 i {
  color: var(--primary);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
}

.about-box p {
  font-size: 0.875rem;
}

.about-box .table td {
  padding: 10px 4px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.about-box .emergency-phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.about-box .emergency-phone i {
  margin-right: 8px;
}

/* --- Service Boxes --- */
.sbox-modern {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.sbox-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 120, 193, .1), 0 12px 30px rgba(0, 0, 0, .1);
  border-color: rgba(0, 120, 193, 0.15);
}

.sbox-modern .sbox-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.sbox-modern:hover .sbox-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.sbox-modern h5 {
  margin-bottom: 10px;
  font-weight: 700;
}

.sbox-modern p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Section Tag Inline --- */
.section-tag-inline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* --- Welcome / About Section --- */
.welcome-section {
  background: var(--bg-light);
}

.welcome-img {
  position: relative;
}

.welcome-img img {
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 8px 30px rgba(0, 0, 0, .1);
}

.welcome-img::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border-radius: calc(var(--radius-xl) + 8px);
  border: 2px solid rgba(0, 120, 193, 0.12);
  z-index: -1;
}

.welcome-img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #00b4d8);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.signature-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.signature-block .sig-name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Department Boxes (Style 2) --- */
.dept-box {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
}

.dept-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: var(--primary-light);
}

.dept-box .dept-icon {
  width: 110px;
  height: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.dept-box:hover .dept-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  transform: scale(1.08);
}

.dept-box h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
  transition: var(--transition);
}

.dept-box:hover h5 {
  color: var(--primary-dark);
}

/* Force flaticon icons to be large inside dept-box and sbox */
.dept-icon [class^="flaticon-"]::before,
.dept-icon [class*=" flaticon-"]::before {
  font-size: 3rem !important;
}

.sbox-icon [class^="flaticon-"]::before,
.sbox-icon [class*=" flaticon-"]::before {
  font-size: 1.75rem !important;
}

.stat-icon [class^="flaticon-"]::before,
.stat-icon [class*=" flaticon-"]::before {
  font-size: 2rem !important;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  display: none;
}

.cta-section .cta-content {
  position: relative;
  z-index: 2;
}

.cta-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  overflow: hidden;
}

.cta-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 193, 0.92) 0%, rgba(26, 45, 69, 0.95) 100%);
}

.cta-bg-image::after {
  display: none;
}

/* --- Statistics --- */
.stat-block {
  text-align: center;
  padding: 20px 10px;
}

.stat-block .stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.7;
}

.stat-block .stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.stat-block p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  font-weight: 500;
}

/* --- Gallery --- */
.bg-light-custom {
  background: var(--bg-section);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 1;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 120, 193, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 120, 193, 0.6);
}

.gallery-overlay a {
  color: #fff;
  font-size: 1.5rem;
  transform: scale(0);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay a {
  transform: scale(1);
}

/* --- Tabs Section (MUI Segmented Control) --- */
.tabs-modern {
  padding: 90px 0;
  background: var(--bg-white);
}

.tabs-modern .nav-pills {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: var(--bg-light);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.tabs-modern .nav-pills .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  border: none;
  background: transparent;
  transition: var(--transition);
}

.tabs-modern .nav-pills .nav-link:hover {
  color: var(--primary);
  background: rgba(0, 120, 193, 0.05);
}

.tabs-modern .nav-pills .nav-link.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.tabs-modern .text-center {
  display: flex;
  justify-content: center;
}

.tab-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 8px 30px rgba(0, 0, 0, .08);
}

.tab-img img {
  width: 100%;
  display: block;
}

.tab-content {
  margin-top: 30px;
}

.box-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
}

.box-list-item i {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.box-list-item p {
  margin: 0;
  color: var(--text-secondary);
}

/* --- Doctor Cards --- */
.doctor-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .06);
  transition: var(--transition);
  border: 1px solid transparent;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 16px 40px rgba(0, 0, 0, .1);
  border-color: rgba(0, 120, 193, 0.08);
}

.doctor-card .doctor-photo {
  position: relative;
  overflow: hidden;
}

.doctor-card .doctor-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.doctor-card .doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 120, 193, 0.7), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: var(--transition);
}

.doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctor-card .doctor-info {
  padding: 24px 20px;
  text-align: center;
}

.doctor-card .doctor-info h5 {
  margin-bottom: 4px;
  font-weight: 700;
}

.doctor-card .doctor-info .specialty {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.doctor-card .doctor-info p {
  font-size: 0.825rem;
  margin: 0;
  color: var(--text-muted);
}

/* --- Info Section (Opening Hours) --- */
.info-section-modern {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #0d2137 100%);
  position: relative;
  overflow: hidden;
}

.info-section-modern::after {
  display: none;
}

.info-section-modern h4,
.info-section-modern h5 {
  color: #fff;
}

.info-section-modern p {
  color: rgba(255, 255, 255, 0.7);
}

.info-section-modern .table {
  color: rgba(255, 255, 255, 0.9);
}

.info-section-modern .table td,
.info-section-modern .table th {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.15);
  padding: 12px 8px;
  font-size: 0.9rem;
  background: transparent !important;
}

/* --- Pricing Tables --- */
.pricing-table-modern {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .06);
  overflow: hidden;
  border: 1px solid transparent;
}

.pricing-table-modern .table thead {
  background: linear-gradient(135deg, rgba(0, 120, 193, 0.04), rgba(0, 120, 193, 0.02));
}

.pricing-table-modern .table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: none;
  padding: 16px;
}

.pricing-table-modern .table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-color: var(--border-light);
  vertical-align: middle;
}

.pricing-table-modern .table td span {
  font-weight: 700;
  color: var(--primary);
}

.pricing-table-modern .table tbody tr:hover {
  background: var(--primary-50);
}

.pricing-note {
  background: linear-gradient(135deg, rgba(0, 120, 193, 0.04), rgba(0, 120, 193, 0.02));
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border-left: 4px solid var(--primary);
  backdrop-filter: blur(4px);
}

.pricing-note span {
  font-weight: 700;
  color: var(--primary);
}

.pricing-note p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

.text-primary-custom {
  color: var(--primary) !important;
}

/* --- Reviews / Testimonials --- */
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.review-card .quote-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.review-card .review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.review-card .review-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.review-card .review-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Owl dots */
.owl-dots {
  text-align: center;
  margin-top: 24px;
}

.owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  display: inline-block;
  margin: 0 4px;
  transition: var(--transition);
}

.owl-dots .owl-dot.active span {
  background: var(--primary);
}

/* --- CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-strip h4 {
  color: #fff;
  margin: 0 0 6px 0;
  font-size: 1.3rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* --- Footer (Light Theme) --- */
.footer-modern {
  background: var(--bg-light);
  padding: 80px 0 0;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
}

.footer-modern h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
}

.footer-modern h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-modern p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-modern a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-modern a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-modern .footer-logo {
  margin-bottom: 16px;
  max-height: 40px;
}

.footer-modern .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 120, 193, 0.08);
  color: var(--primary);
  margin-right: 8px;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-modern .footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-modern .footer-emergency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.footer-modern .footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  margin-top: 3.5rem;
  text-align: center;
}

.footer-modern .footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-modern h1 {
    font-size: 2.25rem;
  }

  .hero-modern,
  .hero-modern .carousel-inner,
  .hero-modern .carousel-item {
    min-height: 500px;
  }

  .section-title h3 {
    font-size: 1.625rem;
  }

  .about-boxes {
    margin-top: 0;
    padding-top: 32px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .tabs-modern .nav-pills {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-modern .nav-cta .nav-link {
    margin: 8px 0;
    display: inline-block;
    text-align: center;
  }

  .top-bar .social-links {
    display: none;
  }

  /* Mobile: Hamburger left, logo center, icons right */
  .navbar-modern>.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  .navbar-modern .navbar-toggler {
    order: -1;
  }

  .navbar-modern .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    z-index: 2;
  }

  .navbar-modern .navbar-collapse {
    order: 3;
    flex-basis: 100%;
  }

  /* Mobile Icons (Search + Phone) — unified style */
  .navbar-icon {
    order: 2;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary) !important;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    text-decoration: none !important;
  }

  .navbar-icon:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
  }

  /* Custom Hamburger Icon */
  .navbar-modern .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-modern .navbar-toggler:focus {
    outline: none;
    box-shadow: none !important;
  }

  .navbar-modern .navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-modern .navbar-toggler-icon::before,
  .navbar-modern .navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .navbar-modern .navbar-toggler-icon::before {
    width: 100%;
  }

  .navbar-modern .navbar-toggler-icon::after {
    width: 60%;
  }

  /* Middle bar */
  .navbar-toggler-bar {
    display: block;
    width: 80%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hover effect */
  .navbar-modern .navbar-toggler:hover .navbar-toggler-icon::after {
    width: 100%;
  }

  /* Open state animation */
  .navbar-modern .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-modern .navbar-toggler[aria-expanded="true"] .navbar-toggler-bar {
    opacity: 0;
    transform: translateX(-10px);
  }

  .navbar-modern .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    width: 100%;
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Navbar Collapse */
  .navbar-modern .navbar-collapse {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 12px 36px rgba(0, 0, 0, .12);
    padding: 16px;
    margin-top: 12px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
  }

  .navbar-modern .navbar-collapse .nav-link {
    padding: 12px 16px !important;
    border-radius: var(--radius-sm);
  }

  .navbar-modern .navbar-collapse .nav-link:hover {
    background: var(--primary-light);
  }

  /* Mobile Dropdown */
  .navbar-modern .dropdown-menu {
    box-shadow: none !important;
    border: none !important;
    padding-left: 12px;
    background: var(--bg-light) !important;
    border-radius: var(--radius-md) !important;
    margin: 4px 0 8px !important;
    animation: none !important;
  }

  .navbar-modern .dropdown-item {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
  }

  /* Mobile Mega Menu */
  .navbar-modern .mega-menu {
    position: static !important;
    width: 100% !important;
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .mega-menu .row>[class*="col-"] {
    margin-bottom: 12px;
  }
}

@media (max-width: 767.98px) {
  .hero-modern h1 {
    font-size: 1.875rem;
  }

  .hero-modern,
  .hero-modern .carousel-inner,
  .hero-modern .carousel-item {
    min-height: 450px;
  }

  .hero-modern .hero-content {
    padding: 80px 0 60px;
  }

  .section-title h3 {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .about-box {
    margin-bottom: 16px;
  }

  .doctor-card .doctor-photo img {
    height: 260px;
  }

  .gallery-item img {
    height: 180px;
  }

  .tabs-modern .nav-pills .nav-link {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .cta-strip .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .top-bar {
    display: none;
  }

  .navbar-modern {
    top: 0;
  }

  .navbar-modern.nav-up {
    top: 0;
  }

  .navbar-spacer {
    height: 70px;
  }

  .hero-modern .carousel-control-prev,
  .hero-modern .carousel-control-next {
    display: none;
  }

  .scroll-to-top {
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .nav-lang-mobile {
    text-align: center;
  }

  .lang-switch-mobile {
    justify-content: center;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-modern h1 {
    font-size: 1.625rem;
  }

  .hero-modern .hero-content {
    padding: 60px 0 50px;
  }

  .about-boxes .row {
    margin: 0;
  }
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1050;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 120, 193, 0.35);
}

/* --- Info Section → Footer Smooth Transition --- */
.info-section-modern+.footer-modern,
.cta-strip+.footer-modern {
  border-top: none;
}

/* --- BS5 Reviews Carousel --- */
.reviews-bs5 .carousel-inner {
  padding: 0 0 40px;
}

.reviews-bs5 .carousel-indicators {
  bottom: 0;
  gap: 6px;
}

.reviews-bs5 .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: none;
  opacity: 1;
}

.reviews-bs5 .carousel-indicators button.active {
  background-color: var(--primary);
  width: 28px;
  border-radius: 6px;
}

/* ==============================================
   CONTENT PAGE STYLES
   ============================================== */

/* --- Page Hero / Breadcrumb Banner --- */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, #0d2137 50%, var(--primary-dark) 100%);
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.02)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.015)"/></svg>') no-repeat;
  background-size: cover;
}

.page-hero-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-breadcrumb {
  background: none !important;
  padding: 0 !important;
}

.page-breadcrumb .breadcrumb-item {
  font-size: 0.875rem;
  font-weight: 500;
}

.page-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.page-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
}

.page-breadcrumb .breadcrumb-item a i {
  margin-right: 4px;
}

.page-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35);
  content: "›";
  font-size: 1.1rem;
}

/* --- Content Area --- */
.content-area {
  background: var(--bg-white);
}

/* --- Article Styling --- */
.content-article h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.content-article h3 {
  font-size: 1.375rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-article h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.content-article p {
  margin-bottom: 1.25rem;
}

/* Content Image */
.content-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 8px 30px rgba(0, 0, 0, .08);
}

.content-image img {
  width: 100%;
  display: block;
}

/* Content Highlight Box */
.content-highlight {
  background: linear-gradient(135deg, rgba(0, 120, 193, 0.04), rgba(0, 120, 193, 0.02));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 28px;
  margin: 28px 0;
}

.content-highlight-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Content List */
.content-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.content-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Content Quote */
.content-quote {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 32px 32px 28px;
  margin: 32px 0;
  border: 1px solid var(--border-light);
}

.content-quote>.bi-quote {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.content-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.content-quote cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* --- Sidebar --- */
.content-sidebar {
  position: sticky;
  top: 100px;
}

/* Sidebar Widget */
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 4px 16px rgba(0, 0, 0, .06);
}

.sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
  position: relative;
}

.sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

/* Sidebar Search */
.sidebar-search {
  position: relative;
}

.sidebar-search input {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 48px 12px 16px;
  font-size: 0.875rem;
  transition: var(--transition);
  width: 100%;
}

.sidebar-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 193, 0.1);
  outline: none;
}

.sidebar-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-search button:hover {
  background: var(--primary-dark);
}

/* Sidebar Links (Categories) */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  border-bottom: 1px solid var(--border-light);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-links li a:hover {
  color: var(--primary);
  background: var(--primary-50);
  padding-left: 14px;
}

.sidebar-links li a .badge {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Sidebar Recent Posts */
.sidebar-recent-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-recent-post:last-child {
  border-bottom: none;
}

.sidebar-recent-post img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sidebar-recent-post a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  line-height: 1.4;
  margin-bottom: 4px;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-recent-post a:hover {
  color: var(--primary);
}

.sidebar-recent-post small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  color: #fff;
  box-shadow: var(--shadow-primary) !important;
}

.sidebar-cta .sidebar-widget-title {
  display: none;
}

.sidebar-cta i {
  font-size: 2.5rem;
  opacity: 0.3;
  margin-bottom: 12px;
  display: block;
}

.sidebar-cta h5 {
  color: #fff;
  font-size: 1.125rem;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.sidebar-cta-phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* --- Responsive Content Page --- */
@media (max-width: 991.98px) {
  .page-hero {
    padding: 60px 0 40px;
  }

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

  .content-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .page-hero-title {
    font-size: 1.5rem;
  }

  .content-quote {
    padding: 24px;
  }

  .sidebar-widget {
    padding: 20px;
  }
}

/* ==============================================
   LANGUAGE SWITCHER & SEARCH
   ============================================== */

/* --- Language Switch (Top Bar - Desktop) --- */
.lang-switch {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 2px;
}

.lang-switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted) !important;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.lang-switch-item img {
  display: block;
  border-radius: 2px;
}

.lang-switch-item.active {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 120, 193, 0.3);
}

.lang-switch-item:hover:not(.active) {
  color: var(--primary) !important;
}

/* --- Language Switch (Mobile - in collapse) --- */
.nav-lang-mobile {
  padding: 12px 0 4px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.lang-switch-mobile {
  display: flex;
  gap: 8px;
  padding: 4px 16px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50px;
  background: var(--bg-light);
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
}

.lang-btn img {
  border-radius: 2px;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 120, 193, 0.25);
}

.lang-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* --- Search Icon (Navbar) --- */
.nav-search .nav-link {
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  padding: 0 !important;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.nav-search .nav-link:hover {
  background: var(--primary-light);
  color: var(--primary) !important;
}

/* --- Search Panel (Light Slide-down) --- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  visibility: hidden;
}

.search-panel.active {
  pointer-events: auto;
  visibility: visible;
}

/* Backdrop */
.search-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.search-panel.active .search-panel-backdrop {
  opacity: 1;
}

/* Panel Body */
.search-panel-body {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  transform: translateY(-40px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-panel.active .search-panel-body {
  transform: translateY(0);
  opacity: 1;
}

/* Card */
.search-panel-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  max-width: 620px;
  margin: 0 auto;
}

.search-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.search-panel-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-panel-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Input Group */
.search-input-group {
  position: relative;
  margin-bottom: 20px;
}

.search-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-group input {
  width: 100%;
  padding: 16px 56px 16px 50px;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s ease;
  font-family: var(--font-primary);
}

.search-input-group input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-input-group input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 120, 193, 0.08);
}

.search-input-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-input-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

/* Quick Links */
.search-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-quick a {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  color: var(--text-secondary) !important;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.search-quick a:hover {
  background: var(--primary-light);
  border-color: rgba(0, 120, 193, 0.15);
  color: var(--primary) !important;
}

@media (max-width: 767.98px) {
  .search-panel-body {
    padding-top: 80px;
  }

  .search-panel-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .search-input-group input {
    font-size: 0.9375rem;
    padding: 14px 52px 14px 44px;
  }
}


/* ==============================================
   EXTENDED DESIGN SYSTEM — Components & Utilities
   MUI / Ant Design Inspired · Primary #0078C1
   ============================================== */

/* --- Color Utility Classes --- */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

.bg-success {
  background-color: var(--success) !important;
}

.bg-success-light {
  background-color: var(--success-light) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
}

.bg-warning-light {
  background-color: var(--warning-light) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
}

.bg-danger-light {
  background-color: var(--danger-light) !important;
}

.bg-info {
  background-color: var(--info) !important;
}

.bg-info-light {
  background-color: var(--info-light) !important;
}

.bg-dark {
  background-color: var(--bg-dark) !important;
}

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

.text-primary {
  color: var(--primary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-inverse {
  color: var(--text-inverse) !important;
}

/* --- Status Buttons --- */
.btn-success-modern {
  background: var(--success);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-success-modern:hover {
  background: var(--success-dark);
  color: #fff;
  box-shadow: var(--shadow-success);
  transform: translateY(-2px);
}

.btn-danger-modern {
  background: var(--danger);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-danger-modern:hover {
  background: var(--danger-dark);
  color: #fff;
  box-shadow: var(--shadow-danger);
  transform: translateY(-2px);
}

.btn-warning-modern {
  background: var(--warning);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-warning-modern:hover {
  background: var(--warning-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Form System (MUI/Ant-inspired) --- */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--primary-200);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c99a9' d='M6 8.825a.5.5 0 01-.354-.146l-3.5-3.5a.5.5 0 01.708-.708L6 7.618l3.146-3.147a.5.5 0 01.708.708l-3.5 3.5A.5.5 0 016 8.825z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}

.form-helper {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* Form States */
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--danger);
}

.form-group.has-error .form-input:focus,
.form-group.has-error .form-select:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-group.has-error .form-helper {
  color: var(--danger);
}

.form-group.has-error .form-label {
  color: var(--danger);
}

.form-group.has-success .form-input,
.form-group.has-success .form-select {
  border-color: var(--success);
}

.form-group.has-success .form-input:focus {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Input with Icon */
.input-icon-group {
  position: relative;
}

.input-icon-group .form-input {
  padding-left: 44px;
}

.input-icon-group .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.input-icon-group .form-input:focus~.input-icon,
.input-icon-group .form-input:focus+.input-icon {
  color: var(--primary);
}

/* Checkbox & Radio (Custom) */
.form-check-modern {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-check-modern input[type="checkbox"],
.form-check-modern input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* --- Alert Components --- */
.alert-modern {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid transparent;
  position: relative;
}

.alert-modern .alert-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.alert-modern .alert-content {
  flex: 1;
}

.alert-modern .alert-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.alert-modern .alert-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition-fast);
}

.alert-modern .alert-close:hover {
  opacity: 0.8;
}

.alert-success {
  background: var(--success-light);
  border-color: rgba(13, 148, 136, 0.2);
  color: var(--success-dark);
}

.alert-success .alert-icon {
  color: var(--success);
}

.alert-warning {
  background: var(--warning-light);
  border-color: rgba(232, 134, 12, 0.2);
  color: var(--warning-dark);
}

.alert-warning .alert-icon {
  color: var(--warning);
}

.alert-danger {
  background: var(--danger-light);
  border-color: rgba(220, 53, 69, 0.2);
  color: var(--danger-dark);
}

.alert-danger .alert-icon {
  color: var(--danger);
}

.alert-info {
  background: var(--info-light);
  border-color: rgba(14, 165, 233, 0.2);
  color: var(--info-dark);
}

.alert-info .alert-icon {
  color: var(--info);
}

/* --- Badge / Tag --- */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

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

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

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

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

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

.badge-dark {
  background: var(--secondary);
  color: #fff;
}

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --- Modal / Dialog --- */
.modal-backdrop-modern {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop-modern.active {
  opacity: 1;
  visibility: visible;
}

.modal-modern {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-modern.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.modal-header-modern h4 {
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  border-radius: var(--radius-circle);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--danger-light);
  color: var(--danger);
}

.modal-body-modern {
  padding: 20px 28px;
}

.modal-footer-modern {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  padding: 0 28px 24px;
}

/* --- Accordion / Collapse --- */
.accordion-modern {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item-modern {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item-modern:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
  text-align: left;
}

.accordion-trigger:hover {
  background: var(--bg-light);
}

.accordion-trigger .accordion-arrow {
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--primary);
}

.accordion-trigger[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- List Styles --- */
.list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-modern li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.list-modern li:last-child {
  border-bottom: none;
}

.list-modern li i {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.list-check li::before {
  content: '\f00c';
  /* fa-check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--success);
  font-size: 0.75rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* Description List */
.dl-modern dt {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.dl-modern dd {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  margin-left: 0;
  line-height: 1.7;
}

/* --- Avatar System --- */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  overflow: hidden;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

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

.avatar-xs {
  width: 28px;
  height: 28px;
  font-size: 0.65rem;
}

.avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
}

.avatar-md {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}

.avatar-xl {
  width: 80px;
  height: 80px;
  font-size: 1.5rem;
}

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  border: 2px solid #fff;
  margin-left: -8px;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* --- Skeleton Loading --- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-section) 25%, var(--border-light) 50%, var(--bg-section) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-title {
  height: 22px;
  width: 40%;
  margin-bottom: 16px;
}

.skeleton-img {
  height: 200px;
  border-radius: var(--radius-lg);
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
}

.skeleton-btn {
  width: 120px;
  height: 44px;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* --- Tooltip --- */
.tooltip-modern {
  position: relative;
  cursor: help;
}

.tooltip-modern::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #fff;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: var(--z-tooltip);
  pointer-events: none;
}

.tooltip-modern:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* --- Progress Bar --- */
.progress-modern {
  width: 100%;
  height: 8px;
  background: var(--bg-section);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-modern {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--info));
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-success .progress-bar-modern {
  background: linear-gradient(90deg, var(--success), #14b8a6);
}

.progress-danger .progress-bar-modern {
  background: linear-gradient(90deg, var(--danger), #f87171);
}

/* --- Divider / Separator --- */
.divider {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: var(--space-6) 0;
}

.divider-thick {
  height: 2px;
  background: var(--border-color);
}

.divider-primary {
  height: 3px;
  width: 40px;
  background: var(--primary);
  border-radius: 2px;
}

/* --- Icon Utilities --- */
.icon-xs {
  font-size: 0.75rem !important;
}

.icon-sm {
  font-size: 1rem !important;
}

.icon-md {
  font-size: 1.5rem !important;
}

.icon-lg {
  font-size: 2rem !important;
}

.icon-xl {
  font-size: 2.5rem !important;
}

.icon-2xl {
  font-size: 3rem !important;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
}

.icon-circle-sm {
  width: 32px;
  height: 32px;
}

.icon-circle-md {
  width: 48px;
  height: 48px;
}

.icon-circle-lg {
  width: 64px;
  height: 64px;
}

/* --- Truncate / Overflow Text --- */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Sidebar (for inner pages) --- */
.sidebar-modern {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: var(--space-5);
}

.sidebar-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-light);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.sidebar-nav li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

.sidebar-nav li a.active {
  background: var(--primary);
  color: #fff;
}

/* --- Pagination --- */
.pagination-modern {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-modern li a,
.pagination-modern li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
  text-decoration: none;
}

.pagination-modern li a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.pagination-modern li.active span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.pagination-modern li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==============================================
   TABLE SYSTEM
   ============================================== */
.table-modern {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-modern thead tr {
  background: linear-gradient(135deg, rgba(0, 120, 193, 0.04), rgba(0, 120, 193, 0.02));
}

.table-modern thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-light);
}

.table-modern tbody td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

.table-modern .td-name {
  font-weight: 600;
  color: var(--text-primary);
}

.table-modern .td-actions {
  text-align: right;
}

.table-modern .td-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 6px;
  transition: var(--transition-fast);
}

.table-modern .td-actions .btn-edit {
  color: var(--primary);
}

.table-modern .td-actions .btn-edit:hover {
  color: var(--primary-dark);
}

.table-modern .td-actions .btn-delete {
  color: var(--danger);
}

.table-modern .td-actions .btn-delete:hover {
  color: var(--danger-dark);
}

/* Table Variants */
.table-striped tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.table-hover tbody tr {
  transition: var(--transition-fast);
}

.table-hover tbody tr:hover {
  background: var(--primary-50);
}

/* ==============================================
   CARD SYSTEM
   ============================================== */
.card-modern {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: var(--transition);
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Card with Image */
.card-img-modern {
  padding: 0;
  overflow: hidden;
}

.card-img-modern .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-img-modern .card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.card-img-modern .card-body-modern {
  padding: var(--space-5);
}

/* Service Card */
.card-service {
  text-align: center;
  cursor: pointer;
}

.card-service .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  transition: var(--transition);
}

.card-service:hover .card-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

/* Stat Card */
.card-stat {
  cursor: default;
}

.card-stat .stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.card-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-stat .stat-change {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.card-stat .stat-change.up {
  background: var(--success-light);
  color: var(--success);
}

.card-stat .stat-change.down {
  background: var(--danger-light);
  color: var(--danger);
}

.card-stat .stat-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

.card-stat .stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* Pricing Card */
.card-pricing {
  text-align: center;
}

.card-pricing.featured {
  border: 2px solid var(--primary);
}

.card-pricing .pricing-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.card-pricing .pricing-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1;
}

.card-pricing .pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.card-pricing .pricing-features {
  text-align: left;
  margin-bottom: var(--space-4);
}

.card-pricing .pricing-features .feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.card-pricing .pricing-features .feature-item i {
  color: var(--success);
}

/* Profile Card */
.card-profile {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* ==============================================
   BREADCRUMB
   ============================================== */
.breadcrumb-modern {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-modern li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb-modern li a {
  color: var(--primary);
}

.breadcrumb-modern li a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-modern .separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumb-modern .current {
  color: var(--text-muted);
}

/* ==============================================
   TABS (Segmented Control)
   ============================================== */
.tabs-modern {
  display: inline-flex;
  gap: 6px;
  background: var(--bg-light);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.tab-item {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tab-item:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.tab-item.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

/* ==============================================
   STATUS DOT INDICATOR
   ============================================== */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.status-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-online::before {
  background: var(--success);
}

.status-offline::before {
  background: var(--danger);
}

.status-busy::before {
  background: var(--warning);
}

.status-away::before {
  background: var(--text-muted);
}

/* ==============================================
   EMPTY STATE
   ============================================== */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.empty-state .empty-icon {
  font-size: 3rem;
  color: var(--border-color);
  margin-bottom: var(--space-4);
}

.empty-state h5 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.empty-state p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto var(--space-5);
}

/* ==============================================
   DESIGN SYSTEM DOCUMENT LAYOUT
   ============================================== */
.ds-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--bg-white);
  border-right: 1px solid var(--border-light);
  overflow-y: auto;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.ds-sidebar::-webkit-scrollbar {
  width: 4px;
}

.ds-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.ds-sidebar .ds-logo {
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.ds-sidebar .ds-logo h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.ds-sidebar .ds-logo span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ds-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-weight: 500;
}

.ds-sidebar nav a:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.ds-sidebar nav a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
  border-right: 3px solid var(--primary);
}

.ds-sidebar nav .nav-group-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 16px 24px 6px;
}

.ds-main {
  margin-left: 260px;
  padding: 0 40px 80px;
}

.ds-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 40px;
  margin: 0 -40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ds-topbar h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.ds-section {
  margin-bottom: 60px;
  scroll-margin-top: 80px;
}

.ds-section-header {
  margin-bottom: 24px;
}

.ds-section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ds-section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0;
}

.ds-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.ds-card>h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

/* Code Preview Block */
.code-preview {
  position: relative;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-4);
}

.code-preview pre {
  padding: 20px;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.7;
  margin: 0;
  white-space: pre;
  tab-size: 2;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.code-preview .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.code-preview .copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Preview Box */
.preview-box {
  padding: var(--space-6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.preview-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

/* Color Swatches */
.swatch {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.swatch-color {
  height: 80px;
}

.swatch-info {
  padding: 10px 12px;
}

.swatch-name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.swatch-hex {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Do/Don't */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.do-item,
.dont-item {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.7;
}

.do-item {
  background: var(--success-light);
  border-left: 4px solid var(--success);
}

.dont-item {
  background: var(--danger-light);
  border-left: 4px solid var(--danger);
}

.do-item strong,
.dont-item strong {
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

/* Mobile toggle */
.ds-mobile-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Gradient bar for doc */
.gradient-bar {
  height: 60px;
  border-radius: var(--radius-md);
}

/* DS Responsive */
@media (max-width: 900px) {
  .ds-sidebar {
    transform: translateX(-100%);
  }

  .ds-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .ds-main {
    margin-left: 0;
    padding: 0 20px 60px;
  }

  .ds-topbar {
    padding: 14px 20px;
    margin: 0 -20px 30px;
  }

  .ds-mobile-toggle {
    display: flex;
  }

  .do-dont {
    grid-template-columns: 1fr;
  }
}
