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

/* ----------------------------------------------------
   1. Design Tokens & Root Variables
   ---------------------------------------------------- */
:root {
  --primary: #0082c8;
  --primary-rgb: 0, 130, 200;
  --primary-hover: #006aa4;
  --secondary: #0d1e3d;
  --secondary-rgb: 13, 30, 61;
  --accent: #0ea5e9;
  --accent-rgb: 14, 165, 233;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg-primary: #ffffff;
  --bg-secondary: #f4f8fc;
  --bg-dark: #09152b;
  --bg-dark-card: #112547;
  --bg-card: #ffffff;

  --text-main: #2b354e;
  --text-muted: #626e8a;
  --text-light: #ffffff;
  --text-link: #0082c8;

  --border-color: #e2effa;
  --border-dark: #1b2f52;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

  --header-height: 85px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --container-width: 1320px;
}

/* ----------------------------------------------------
   2. Reset & Core Typography
   ---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

ul {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #cbdcf0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a3bfdf;
}

/* ----------------------------------------------------
   3. Common Layout & Grid Utilities
   ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

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

.section-bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--text-light);
}

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

.section-header.left-aligned {
  text-align: left;
  margin-left: 0;
  max-width: 100%;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  font-weight: 600;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  position: relative;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.section-bg-dark .section-desc {
  color: #8c9cb6;
}

/* Grid helper utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   4. Buttons & Badges
   ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(0, 130, 200, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 130, 200, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: #172d54;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-primary);
  color: var(--secondary);
}

.btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 130, 200, 0.1);
  color: var(--primary);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  font-family: var(--font-heading);
}

.badge-primary {
  background-color: rgba(0, 130, 200, 0.12);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(14, 165, 233, 0.12);
  color: var(--accent);
}

.badge-white {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--text-light);
}

/* ----------------------------------------------------
   5. Header & Navigation (Desk & Mobile)
   ---------------------------------------------------- */
.top-bar {
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 12px;
  padding: 8px 0;
  font-weight: 500;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-socials {
  display: flex;
  gap: 12px;
}

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

.main-header {
  height: var(--header-height);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--border-color);
}

.main-header.scrolled {
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 20px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--secondary);
  position: relative;
  padding: 6px 0;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-toggle {
  color: var(--secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

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

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 2000;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  transition: right var(--transition-normal);
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-close {
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
}

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

@media (max-width: 991px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* ----------------------------------------------------
   6. Hero Section
   ---------------------------------------------------- */
.hero-slider {
  position: relative;
  background-color: var(--secondary);
  height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13, 30, 61, 0.9) 30%, rgba(13, 30, 61, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  color: var(--text-light);
  transform: translateY(30px);
  opacity: 0;
  transition: all var(--transition-slow) 0.3s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-tag {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  color: var(--text-light);
  font-size: 54px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-nav {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-indicator.active {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-nav {
    right: 20px;
  }
}

/* ----------------------------------------------------
   7. Homepage Specific Sections
   ---------------------------------------------------- */

/* Welcome Grid (Since 2003) */
.welcome-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.welcome-img-large {
  width: 70%;
  height: 85%;
  border: 8px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.welcome-img-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 60%;
  border: 8px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.welcome-badge {
  position: absolute;
  bottom: 40px;
  right: 20px;
  background-color: var(--primary);
  color: var(--text-light);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-family: var(--font-heading);
  animation: float 4s ease-in-out infinite;
}

.welcome-badge span {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.welcome-badge label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.welcome-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.welcome-card {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  gap: 15px;
}

.welcome-card:hover {
  background-color: var(--bg-primary);
  box-shadow: 0 10px 20px rgba(0, 130, 200, 0.08);
  transform: translateY(-2px);
}

.welcome-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 130, 200, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.welcome-card-title {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--secondary);
}

.welcome-card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.welcome-bullets {
  margin-bottom: 30px;
}

.welcome-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--secondary);
}

.welcome-bullet-item i {
  color: var(--primary);
  font-size: 16px;
}

.welcome-contact-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.welcome-phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.welcome-phone-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.welcome-phone-text span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.welcome-phone-text a {
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .welcome-left {
    height: 380px;
    margin-bottom: 30px;
  }
  .welcome-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Card Box */
.service-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 130, 200, 0.08);
  border-color: var(--primary);
}

.service-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

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

.service-card-content {
  padding: 30px;
}

.service-card-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  gap: 10px;
}

/* Running Marquee Bar */
.marquee-bar {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-anim 25s linear infinite;
  gap: 60px;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.marquee-item i {
  font-size: 16px;
  color: var(--accent);
}

/* Portfolio Slider Grid */
.portfolio-slider-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0 40px 0;
}

.portfolio-track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-normal);
  cursor: grab;
}

.portfolio-track:active {
  cursor: grabbing;
}

.portfolio-card {
  flex: 0 0 calc((100% - 72px) / 4);
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.portfolio-img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.portfolio-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.portfolio-badge {
  position: absolute;
  top: 15px;
  left: 15px;
}

.portfolio-card-content {
  padding: 20px;
}

.portfolio-card-title {
  font-size: 17px;
  color: var(--secondary);
  margin-top: 5px;
}

.portfolio-nav-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: -30px;
  margin-bottom: 25px;
}

.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.portfolio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbdcf0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 1199px) {
  .portfolio-card {
    flex: 0 0 calc((100% - 48px) / 3);
  }
}

@media (max-width: 991px) {
  .portfolio-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 576px) {
  .portfolio-card {
    flex: 0 0 100%;
  }
}

/* Stats Counter Row */
.stats-banner {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 130, 200, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }
}

/* Monitoring Interactive Tabs */
.tabs-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 50px;
  align-items: center;
}

.tabs-nav {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  color: #8c9cb6;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
}

.tab-content-pane {
  display: none;
  animation: fadeIn 0.5s ease;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.tab-content-pane.active {
  display: grid;
}

.tab-desc {
  color: #8c9cb6;
  margin-bottom: 25px;
}

.tab-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.tab-bullet i {
  color: var(--accent);
}

.tab-visual-wrapper {
  background-color: var(--bg-dark-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  padding: 15px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.tab-mock-screen {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.tab-mock-screen img {
  width: 100%;
  border-radius: 0;
}

@media (max-width: 991px) {
  .tabs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tab-content-pane {
    grid-template-columns: 1fr;
  }
}

/* Appointment Overlay Cards */
.emergency-cta-bar {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 80px 0 120px 0;
  background-image: linear-gradient(to right, rgba(13, 30, 61, 0.95), rgba(13, 30, 61, 0.8)), url('../images/photo-1576091160550-2173dba999ef.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.emergency-cta-box {
  max-width: 650px;
  margin: 0 auto;
}

.emergency-cta-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.emergency-cta-desc {
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.overlapping-cards-row {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.overlapping-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
  transition: all var(--transition-normal);
  display: flex;
  gap: 20px;
}

.overlapping-card:hover {
  transform: translateY(-8px);
}

.overlapping-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(0, 130, 200, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.overlapping-card:nth-child(2) {
  border-top-color: var(--accent);
}
.overlapping-card:nth-child(2) .overlapping-card-icon {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--accent);
}

.overlapping-card:nth-child(3) {
  border-top-color: var(--secondary);
}
.overlapping-card:nth-child(3) .overlapping-card-icon {
  background-color: rgba(13, 30, 61, 0.1);
  color: var(--secondary);
}

.overlapping-card-title {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.overlapping-card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .overlapping-cards-row {
    margin-top: 30px;
  }
}

/* Doctors Profile Cards */
.doctor-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.doctor-img-wrapper {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.doctor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

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

.doctor-card-content {
  padding: 24px;
}

.doctor-specialty {
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.doctor-name {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.doctor-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.doctor-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--transition-fast);
}

.doctor-socials a:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* Appointment Widget Split Box */
.appointment-split-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.appointment-info-side {
  padding: 60px;
  color: var(--text-light);
  background-image: linear-gradient(135deg, rgba(13, 30, 61, 0.95), rgba(0, 130, 200, 0.3)), url('../images/photo-1519494026892-80bbd2d6fd0d.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-info-side h2 {
  color: var(--text-light);
  font-size: 32px;
}

.appointment-form-side {
  background-color: var(--bg-primary);
  padding: 60px;
}

.appointment-form-side h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-primary);
}

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

@media (max-width: 991px) {
  .appointment-split-layout {
    grid-template-columns: 1fr;
  }
  .appointment-info-side, .appointment-form-side {
    padding: 40px;
  }
}

/* Testimonial slider */
.testimonial-slider-container {
  overflow: hidden;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 10px;
  text-align: center;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 30px;
  font-weight: 500;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
  content: '"';
  font-size: 40px;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
}

.testimonial-quote::before {
  left: -20px;
  top: -15px;
}

.testimonial-quote::after {
  right: -20px;
  bottom: -30px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid var(--primary);
}

.testimonial-name {
  font-size: 16px;
  color: var(--secondary);
  font-weight: 700;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 13px;
  margin-top: 6px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

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

/* Partner Logo slider */
.partners-bar {
  background-color: var(--bg-secondary);
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.partner-logo {
  height: 35px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all var(--transition-fast);
}

.partner-logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners-track {
    justify-content: center;
  }
}

/* Blog Post Cards */
.blog-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.blog-img-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

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

.blog-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.blog-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.blog-readmore {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-readmore:hover {
  gap: 10px;
}

/* ----------------------------------------------------
   8. Mega Footer
   ---------------------------------------------------- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-side p {
  color: #8c9cb6;
  margin: 20px 0;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.footer-widget h4 {
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #8c9cb6;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #8c9cb6;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

.footer-contact-item span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-contact-item p, .footer-contact-item a {
  color: var(--text-light);
  font-weight: 500;
}

.footer-newsletter p {
  color: #8c9cb6;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 5px;
  border: 1px solid var(--border-dark);
}

.newsletter-form input {
  padding: 10px;
  flex-grow: 1;
  color: var(--text-light);
  font-size: 13px;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  color: #8c9cb6;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ----------------------------------------------------
   9. Secondary Pages Specific Layouts
   ---------------------------------------------------- */

/* Page Banner */
.page-banner {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 70px 0;
  background-image: linear-gradient(135deg, rgba(13, 30, 61, 0.92), rgba(0, 130, 200, 0.45)), url('../images/photo-1579684385127-1ef15d508118.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-banner-title {
  color: var(--text-light);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.breadcrumbs span {
  color: var(--accent);
}

/* Timeline Layout */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 40px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 4px solid var(--primary);
  top: 10px;
  z-index: 1;
}

.timeline-item-left {
  left: 0;
  text-align: right;
}

.timeline-item-left::after {
  right: -8px;
}

.timeline-item-right {
  left: 50%;
  text-align: left;
}

.timeline-item-right::after {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.timeline-content h4 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding: 0 0 0 40px;
    text-align: left;
  }
  .timeline-item-left::after, .timeline-item-right::after {
    left: 12px;
  }
  .timeline-item-right {
    left: 0;
  }
}

/* Service Detail Block */
.detail-layout {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 40px;
}

.detail-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin-bottom: 30px;
}

.detail-content h3 {
  font-size: 24px;
  margin: 30px 0 15px 0;
}

.detail-list {
  margin: 20px 0;
}

.detail-list-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-list-item i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

.detail-sidebar-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.detail-sidebar-box h4 {
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.services-list-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-list-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.services-list-nav-item.active, .services-list-nav-item:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

@media (max-width: 991px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Insurance Calculator */
.calc-wrapper {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-results {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.calc-result-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin: 15px 0;
}

.calc-result-note {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion Styling */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-primary);
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--primary);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--bg-primary);
  transition: background-color var(--transition-fast);
}

.accordion-item.active .accordion-header {
  background-color: var(--bg-secondary);
}

.accordion-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary);
}

.accordion-icon {
  font-size: 14px;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.accordion-content-inner {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
}

/* Blog Detail Specifics */
.blog-post-detail {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 30px;
}

.blog-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 15px 25px;
  background-color: var(--bg-secondary);
  font-style: italic;
  font-size: 17px;
  margin: 30px 0;
  color: var(--secondary);
}

.blog-share-row {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comments-section {
  margin-top: 50px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.comment-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 14px;
  color: var(--text-main);
}

/* Vector Map Styling */
.map-box {
  position: relative;
  background-color: #cbdcf0;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -100%);
  animation: pulse-pin 2s infinite;
}

.map-pin-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
  box-shadow: 0 0 0 6px rgba(0, 130, 200, 0.2);
}

.map-pin-tooltip {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  width: 200px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.map-pin:hover .map-pin-tooltip, .map-pin.active .map-pin-tooltip {
  opacity: 1;
}

.map-pin-tooltip h5 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 4px;
}

.map-pin-tooltip p {
  color: #8c9cb6;
}

/* Appointment Modal Display */
.appointments-modal-drawer {
  position: fixed;
  top: 0;
  left: -350px;
  width: 330px;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 2001;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: left var(--transition-normal);
}

.appointments-modal-drawer.open {
  left: 0;
}

.appointment-badge-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  position: relative;
}

.appointment-badge-card h5 {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.appointment-badge-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.appointment-badge-cancel {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--danger);
  font-size: 14px;
  cursor: pointer;
}

/* Filter components */
.filter-tabs-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
  transition: all var(--transition-fast);
}

.filter-tab-btn.active, .filter-tab-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.search-bar-row {
  max-width: 500px;
  margin: 0 auto 30px auto;
  display: flex;
  background-color: var(--bg-secondary);
  border-radius: 50px;
  padding: 6px;
  border: 1px solid var(--border-color);
}

.search-bar-row input {
  padding: 10px 20px;
  flex-grow: 1;
  font-size: 14px;
}

.search-bar-row .search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   10. Keyframe Animations
   ---------------------------------------------------- */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse-pin {
  0% { transform: translate(-50%, -100%) scale(1); }
  50% { transform: translate(-50%, -100%) scale(1.05); }
  100% { transform: translate(-50%, -100%) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
