/* ==========================================================================
   YouBroadband Enterprise Platform Design System
   Benchmarked against: Safaricom Business, Liquid Technologies, Microsoft, Shopify Admin
   Fonts: Inter (body) & Poppins (headings & display)
   Responsive up to 1680px+ ultra-wide
   ========================================================================== */

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

:root {
  --yb-primary: #e61c6b;
  --yb-primary-hover: #cc145b;
  --yb-primary-glow: rgba(230, 28, 107, 0.35);
  --yb-navy-dark: #060b18;
  --yb-navy-card: #0d1527;
  --yb-navy-surface: #111b33;
  --yb-navy-border: rgba(255, 255, 255, 0.08);
  --yb-success: #10b981;
  --yb-cyan: #06b6d4;
  --yb-blue: #3b82f6;
  --yb-amber: #f59e0b;
  --yb-slate-bg: #f8fafc;
  --yb-sidebar-width: 290px;
}

@media (min-width: 1440px) {
  :root {
    --yb-sidebar-width: 310px;
  }
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: #ffffff;
  color: #0f172a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   1. FLUID ENTERPRISE CONTAINER (UP TO 1800PX)
   Mobile / Tablet: 100%
   Desktop: 1400px max
   Large Desktop: 1600px max
   Ultra Wide: 1800px max
   ========================================================================== */
.container,
.container-custom {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container,
  .container-custom {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container,
  .container-custom {
    max-width: 1280px; /* Laptop */
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1440px) {
  .container,
  .container-custom {
    max-width: 1440px; /* Desktop */
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1680px) {
  .container,
  .container-custom {
    max-width: 1600px; /* Large Screens */
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Fluid Auto-Fill Grids */
.fluid-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

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

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

@media (min-width: 1280px) {
  .fluid-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

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

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

@media (min-width: 1200px) {
  .fluid-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* ==========================================================================
   2. ENTERPRISE CARDS, GRADIENTS & MICRO-ANIMATIONS
   ========================================================================== */
.enterprise-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(6, 11, 24, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.enterprise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(6, 11, 24, 0.1);
  border-color: rgba(230, 28, 107, 0.3);
}

.enterprise-card-dark {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.enterprise-card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 28, 107, 0.5);
  box-shadow: 0 25px 50px -15px rgba(230, 28, 107, 0.2);
}

.glass-panel {
  background: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glow-btn {
  background: var(--yb-primary);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px var(--yb-primary-glow);
  transition: all 0.25s ease;
}

.glow-btn:hover {
  background: var(--yb-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(230, 28, 107, 0.6);
}

/* Pulse indicator animation */
@keyframes ybPulseSlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

.pulse-live {
  animation: ybPulseSlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   3. SAAS ADMIN DASHBOARD SYSTEM (280PX SIDEBAR, FLUID WORKSPACE)
   ========================================================================== */
/* ==========================================================================
   GLOBAL SAAS ADMIN LAYOUT STANDARD (ZOHO / WHMCS / NOVA / FILAMENT GRADE)
   Fixed 280px Sidebar + Independent Center Page Viewport with Dedicated Slider
   ========================================================================== */

html.admin-html,
body.admin-body {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.admin-shell {
  display: flex !important;
  width: 100% !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  background-color: #F4F6F9;
  position: relative;
}

/* Sidebar Standard: 280px fixed left, 100vh height, NO VISIBLE SCROLLBAR SLIDER */
.admin-sidebar {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  z-index: 1000 !important;
  background-color: #0A101D;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  /* Hide scrollbar on sidebar completely (no slider on sidebar) */
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.admin-sidebar::-webkit-scrollbar,
#admin-nav-list::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#admin-nav-list {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

@media (max-width: 1023px) {
  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
  }
  .admin-sidebar.mobile-open {
    transform: translateX(0) !important;
  }
}

@media (min-width: 1024px) {
  .admin-sidebar {
    transform: translateX(0) !important;
  }
  #admin-nav-list {
    display: block !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }
}

/* Center Page Content Area: Full Independent Scrollable Viewport with Slider */
.admin-content-area {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  width: 100% !important;
  padding: 24px !important;
  background-color: #F4F6F9;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* Dedicated visible scrollbar ("slider") on the center page */
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 #f1f5f9 !important;
}

@media (min-width: 1024px) {
  .admin-content-area {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    max-width: calc(100% - 280px) !important;
    padding: 24px !important;
  }
}

/* Modern Styled Center Page Slider (Webkit) */
.admin-content-area::-webkit-scrollbar {
  width: 10px !important;
}
.admin-content-area::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
}
.admin-content-area::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 6px !important;
  border: 2px solid #f1f5f9 !important;
}
.admin-content-area::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* Content Container: Remove ALL width restrictions */
.admin-content-area > *,
.admin-container,
.admin-workspace,
.content-wrapper,
.content-boxed,
.layout-boxed,
.dashboard-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override any Tailwind max-w container limits in admin content */
.admin-content-area .max-w-7xl,
.admin-content-area .max-w-6xl,
.admin-content-area .max-w-5xl,
.admin-content-area .max-w-4xl,
.admin-content-area .max-w-screen-xl,
.admin-content-area .max-w-screen-2xl,
.admin-content-area .container {
  max-width: none !important;
  width: 100% !important;
}

/* Responsive Full-Width Tables */
.admin-content-area table {
  width: 100% !important;
}

.table-responsive,
.admin-table-container,
.admin-table-wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Responsive Fluid Form Grids */
.admin-form-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

/* Full Width Rich Text Editors */
.yb-rich-editor,
.tox-tinymce,
.ck-editor,
.ck-editor__main,
.ck-content {
  width: 100% !important;
  max-width: none !important;
}

/* Dashboard & Widget Cards: Auto-fill remaining row space */
.admin-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

/* ==========================================================================
   GRID & RESPONSIVE UTILITIES FOR SAAS ADMIN PANEL
   ========================================================================== */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-10 { grid-column: span 10 / span 10; }
.col-span-11 { grid-column: span 11 / span 11; }
.col-span-12, .col-span-full { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-12 { grid-column: 1 / -1; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:col-span-12 { grid-column: 1 / -1; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:block { display: block !important; }
  .lg\:hidden { display: none !important; }
  .lg\:flex { display: flex !important; }
}

@media (min-width: 1280px) {
  .xl\:col-span-1 { grid-column: span 1 / span 1; }
  .xl\:col-span-2 { grid-column: span 2 / span 2; }
  .xl\:col-span-3 { grid-column: span 3 / span 3; }
  .xl\:col-span-4 { grid-column: span 4 / span 4; }
  .xl\:col-span-8 { grid-column: span 8 / span 8; }
  .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.text-slate-950 { color: #020617 !important; }
.bg-slate-950 { background-color: #020617 !important; }

/* ==========================================================================
   ENTERPRISE CMS FORM CONTROLS & COMPONENT SYSTEM
   ========================================================================== */
.form-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.form-input-icon-wrap .lead-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-input-icon-wrap input,
.form-input-icon-wrap select {
  width: 100%;
  padding-left: 42px;
  padding-right: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.15s ease;
}
.form-input-icon-wrap input:focus,
.form-input-icon-wrap select:focus {
  outline: none;
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
  background-color: #ffffff;
}
.form-input-icon-wrap .trail-addon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
  border: 1px solid #e2e8f0;
}

/* Modern Toggle Switch */
.modern-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.modern-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.modern-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .25s ease;
  border-radius: 24px;
}
.modern-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.modern-toggle input:checked + .modern-toggle-slider {
  background-color: #e11d48;
}
.modern-toggle input:checked + .modern-toggle-slider:before {
  transform: translateX(20px);
}

/* Subtle Shadow & Card Polish */
.enterprise-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

/* Live Preview Card Specific Styling */
.preview-package-card {
  background: linear-gradient(145deg, #060e22 0%, #0d1730 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   ENTERPRISE SAAS DESIGN SYSTEM UTILITIES (DELIGHT & STRIPE AESTHETIC)
   ========================================================================== */
.admin-shell {
  background-color: #F4F6F9;
  min-height: 100vh;
}

.admin-content-area {
  background-color: #F4F6F9;
}

/* Crisp White SaaS Cards */
.saas-card {
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

/* Partnership & Category Pill Badges (Matching Reference) */
.badge-tier {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  border-radius: 9999px;
  background-color: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.badge-featured-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.badge-featured-no {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background-color: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

/* Action Buttons */
.btn-action-delete {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background-color: #EF4444;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-action-delete:hover {
  background-color: #DC2626;
  transform: translateY(-1px);
}

/* ==========================================================================
   ENTERPRISE CMS SHARED DESIGN SYSTEM (STRIPE & DELIGHT ADMIN SPECIFICATION)
   ========================================================================== */

/* Universal Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background-color: #E11D48 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.8125rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.btn-primary:hover {
  background-color: #CC145B !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background-color: #1E3A8A !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.8125rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.btn-navy:hover {
  background-color: #172554 !important;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 0.75rem;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-secondary:hover {
  background-color: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

/* Action Icon Buttons */
.action-btn-edit {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #F1F5F9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}
.action-btn-edit:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}

.action-btn-delete {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #EF4444;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}
.action-btn-delete:hover {
  background-color: #DC2626;
  transform: translateY(-1px);
}

/* Inputs & Form Controls */
.form-input-clean {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.form-input-clean:focus {
  outline: none;
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-select-clean {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}
.form-select-clean:focus {
  outline: none;
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-textarea-clean {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.form-textarea-clean:focus {
  outline: none;
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

/* Explicit Color Utility Classes */
.bg-\[\#0A101D\] { background-color: #0A101D !important; }
.bg-\[\#070C16\] { background-color: #070C16 !important; }
.bg-\[\#E11D48\] { background-color: #E11D48 !important; }
.bg-\[\#CC145B\] { background-color: #CC145B !important; }
.bg-\[\#1E3A8A\] { background-color: #1E3A8A !important; }
.bg-\[\#172554\] { background-color: #172554 !important; }
.text-\[\#E11D48\] { color: #E11D48 !important; }
.border-\[\#E11D48\]\/30 { border-color: rgba(225, 29, 72, 0.3) !important; }
.bg-\[\#E11D48\]\/15 { background-color: rgba(225, 29, 72, 0.15) !important; }
.bg-\[\#E11D48\]\/20 { background-color: rgba(225, 29, 72, 0.2) !important; }

/* Responsive Grid System (Fallback if Tailwind uncompiled) */
@media (min-width: 1024px) {
  .lg\:grid-cols-12 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .lg\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

/* ==========================================================================
   4. TOAST NOTIFICATIONS & ACCORDION
   ========================================================================== */
#yb-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 3rem);
}

.yb-toast {
  background: #060b18;
  color: #ffffff;
  border-left: 4px solid #e61c6b;
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.4);
  min-width: 280px;
  max-width: 420px;
  animation: ybSlideIn 0.25s ease forwards;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 700px;
}

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

/* Horizontal Testimonial & Partner Carousel Scroll Snap */
.horizontal-scroll-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.horizontal-scroll-carousel::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll-carousel > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ==========================================================================
   PHASE 2F – IMMERSION, BRAND MOTION & STORYTELLING STYLES
   ========================================================================== */

/* 1. Brand Logo Enhancement & Carrier Signal */
.site-brand {
  position: relative;
  transition: opacity 0.2s ease;
  animation: ybBrandEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Uploaded Official Logo Container & Beacon */
.site-brand-logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
}

.site-brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.site-brand:hover .site-brand-logo-img {
  transform: scale(1.04);
}

.site-brand-beacon {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981, 0 0 14px rgba(16, 185, 129, 0.75);
  border: 1.5px solid #ffffff;
  animation: ybCarrierSignal 2.2s infinite ease-in-out;
}

@media (max-width: 640px) {
  .site-brand-logo-img {
    height: 34px;
    max-width: 170px;
  }
}

@keyframes ybBrandEntrance {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-brand-mark {
  position: relative;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  overflow: visible !important;
}

/* Subtle Ambient Glow */
.site-brand-mark::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(230, 28, 107, 0.5) 0%, transparent 75%);
  opacity: 0.6;
  z-index: -1;
  animation: ybBeaconPulse 4s infinite ease-in-out;
}

/* Live Operational Carrier Signal Beacon Dot */
.site-brand-mark::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  border: 1.5px solid #ffffff;
  animation: ybCarrierSignal 2.2s infinite ease-in-out;
}

@keyframes ybBeaconPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.75;
  }
}

@keyframes ybCarrierSignal {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 4px #10b981, 0 0 10px rgba(16, 185, 129, 0.7);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
    box-shadow: 0 0 2px #10b981;
  }
}

.site-brand:hover .site-brand-mark {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 28px -6px rgba(230, 28, 107, 0.55), 0 0 18px rgba(230, 28, 107, 0.4);
}

.site-brand-name {
  transition: color 0.2s ease;
}

.site-brand:hover .site-brand-name {
  color: var(--brand-primary) !important;
}

/* 2. Hero Ambient Background & Fiber Optical Depth */
.hero-ambient-fiber {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-fiber-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(230, 28, 107, 0.6), transparent);
  width: 100%;
  animation: ybFiberFlow 8s infinite linear;
}

@keyframes ybFiberFlow {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateX(100%); opacity: 0; }
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: contrast(1.1) brightness(0.9);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-shimmer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 60%, transparent 100%);
}

/* 3. Showcase Slider System */
.yb-showcase-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl, 24px);
  background: var(--bg-dark-surface, #0c1427);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.yb-showcase-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.yb-showcase-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
}

@media (min-width: 992px) {
  .yb-showcase-slide {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.yb-showcase-content {
  padding: 2.5rem;
  z-index: 2;
}

@media (min-width: 1200px) {
  .yb-showcase-content {
    padding: 3.5rem 4rem;
  }
}

.yb-showcase-media {
  position: relative;
  height: 320px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .yb-showcase-media {
    height: 100%;
    min-height: 440px;
  }
}

.yb-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.yb-showcase-slide:hover .yb-showcase-img {
  transform: scale(1.04);
}

.yb-showcase-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.yb-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 20, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yb-slider-arrow:hover {
  background: var(--brand-primary, #e61c6b);
  border-color: var(--brand-primary, #e61c6b);
  transform: scale(1.08);
}

.yb-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yb-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.yb-dot.active {
  width: 28px;
  background: var(--brand-primary, #e61c6b);
}

/* Video Play Trigger Button */
.yb-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(230, 28, 107, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 25px rgba(230, 28, 107, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.yb-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: #e61c6b;
  box-shadow: 0 0 35px rgba(230, 28, 107, 0.85);
}

/* 4. Customer Success Stories Matrix */
.yb-success-card {
  background: #ffffff;
  border: 1px solid var(--bg-light-border, #e2e8f0);
  border-radius: var(--radius-xl, 20px);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yb-success-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-primary-light, rgba(230, 28, 107, 0.3));
}

.yb-story-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yb-flow-step {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  font-size: 0.825rem;
}

/* 5. Community & Partner Gallery Grid */
.yb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

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

.yb-gallery-item {
  position: relative;
  border-radius: var(--radius-xl, 18px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
}

.yb-gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2);
}

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

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

.yb-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 11, 24, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

/* Category Filter Bar */
.yb-gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.yb-filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yb-filter-btn.active,
.yb-filter-btn:hover {
  background: var(--brand-primary, #e61c6b);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 28, 107, 0.3);
}

/* 6. Universal Video Modal Lightbox */
#site-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

#site-video-modal.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.yb-video-modal-container {
  width: 100%;
  max-width: 900px;
  background: #060b18;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
}

.yb-video-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000000;
}

.yb-video-aspect iframe,
.yb-video-aspect video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yb-video-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yb-video-close-btn:hover {
  background: #e61c6b;
  transform: rotate(90deg);
}

/* ==========================================================================
   Admin Hero Banner & Offline Tailwind CSS Fallbacks
   Guarantees high-contrast dark theme even if Tailwind CDN is blocked/delayed
   ========================================================================== */
.admin-hero-banner {
  background: linear-gradient(135deg, #070C16 0%, #0F172A 50%, #020617 100%) !important;
  color: #FFFFFF !important;
  border-color: #1e293b !important;
}

.admin-hero-banner h1 {
  color: #FFFFFF !important;
}

.admin-hero-banner p {
  color: #CBD5E1 !important;
}

.bg-slate-950 {
  background-color: #020617 !important;
}

.border-slate-800 {
  border-color: #1e293b !important;
}

.from-slate-950 {
  --tw-gradient-from: #020617 var(--tw-gradient-from-position, 0%) !important;
  --tw-gradient-to: rgba(2, 6, 23, 0) var(--tw-gradient-to-position, 100%) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.via-slate-900 {
  --tw-gradient-to: rgba(15, 23, 42, 0) var(--tw-gradient-to-position, 100%) !important;
  --tw-gradient-stops: var(--tw-gradient-from), #0f172a var(--tw-gradient-via-position, 50%), var(--tw-gradient-to) !important;
}

.to-slate-950 {
  --tw-gradient-to: #020617 var(--tw-gradient-to-position, 100%) !important;
}

.bg-pink-600 {
  background-color: #db2777 !important;
}

.bg-pink-500 {
  background-color: #ec4899 !important;
}

.text-emerald-400 {
  color: #34d399 !important;
}

/* ==========================================================================
   Hero Visual Standard: Vibrant Split Photographic Backdrop with Navy Gradient
   Benchmarked: YouBroadband Impact & Internship Design System
   ========================================================================== */
.hero-split-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-split-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.88; /* Vibrant, crisp opacity as seen in mockup */
  filter: contrast(1.05) saturate(1.1);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 12%, rgba(0,0,0,0.8) 42%, #000000 70%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 12%, rgba(0,0,0,0.8) 42%, #000000 70%);
}

.hero-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #060b18 0%, rgba(6, 11, 24, 0.96) 38%, rgba(6, 11, 24, 0.65) 60%, rgba(6, 11, 24, 0.2) 85%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-split-image {
    width: 100%;
    opacity: 0.45;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  }
  .hero-split-overlay {
    background: linear-gradient(180deg, rgba(6, 11, 24, 0.95) 0%, rgba(6, 11, 24, 0.75) 60%, rgba(6, 11, 24, 0.9) 100%);
  }
}

/* ==========================================================================
   Impact & Internships Design System (Programs, Spotlight & Journeys)
   ========================================================================== */
.program-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.program-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.program-card-modern .media-cover {
  position: relative;
  height: 165px;
  background: #0f172a;
  overflow: hidden;
}
.program-card-modern .media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.program-card-modern:hover .media-cover img {
  transform: scale(1.04);
}

.student-spotlight-box {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.journey-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}
.journey-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.mentor-card-clean {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mentor-card-clean:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   4. Universal Card Carousel Slider System (.yb-card-carousel)
   Used on Architecture Pillars, Packages, Testimonials, Mentorship etc.
   Prevents excessive vertical stacking while preserving full fidelity.
   ========================================================================== */
.yb-card-carousel {
  position: relative;
  width: 100%;
}

.yb-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.yb-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 12px 4px 18px 4px;
  margin: -12px -4px -18px -4px;
}

.yb-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.yb-carousel-slide {
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 4-Item Desktop Mode (e.g. Packages) */
.yb-card-carousel[data-items-desktop="4"] .yb-carousel-slide {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
  max-width: calc((100% - 3 * 20px) / 4);
}

/* 3-Item Desktop Mode (e.g. Architecture Pillars, Testimonials) */
.yb-card-carousel[data-items-desktop="3"] .yb-carousel-slide,
.yb-card-carousel:not([data-items-desktop]) .yb-carousel-slide {
  flex: 0 0 calc((100% - 2 * 20px) / 3);
  max-width: calc((100% - 2 * 20px) / 3);
}

/* Responsive: Tablet (2 items) */
@media (max-width: 1024px) {
  .yb-card-carousel[data-items-desktop="4"] .yb-carousel-slide,
  .yb-card-carousel[data-items-desktop="3"] .yb-carousel-slide,
  .yb-card-carousel .yb-carousel-slide {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }
}

/* Responsive: Mobile (1 item) */
@media (max-width: 680px) {
  .yb-card-carousel[data-items-desktop="4"] .yb-carousel-slide,
  .yb-card-carousel[data-items-desktop="3"] .yb-carousel-slide,
  .yb-card-carousel .yb-carousel-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Slider Navigation Controls */
.yb-carousel-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yb-carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.yb-carousel-arrow:hover:not(:disabled) {
  background: var(--brand-primary, #e61c6b);
  border-color: var(--brand-primary, #e61c6b);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 28, 107, 0.35);
}

.yb-carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Dark theme carousel arrows */
.section-dark .yb-carousel-arrow,
.dark .yb-carousel-arrow {
  background: rgba(12, 20, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.section-dark .yb-carousel-arrow:hover:not(:disabled),
.dark .yb-carousel-arrow:hover:not(:disabled) {
  background: var(--brand-primary, #e61c6b);
  border-color: var(--brand-primary, #e61c6b);
  color: #ffffff;
}

/* Carousel Pagination Dots */
.yb-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.yb-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #cbd5e1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.yb-carousel-dot.active {
  width: 28px;
  background: var(--brand-primary, #e61c6b);
}

.section-dark .yb-carousel-dot,
.dark .yb-carousel-dot {
  background: rgba(255, 255, 255, 0.25);
}

.section-dark .yb-carousel-dot.active,
.dark .yb-carousel-dot.active {
  background: var(--brand-primary, #e61c6b);
}

/* ==========================================================================
   CARRIER-GRADE MOBILE NAVIGATION & OFF-CANVAS DRAWER SYSTEM
   ========================================================================== */
body.mobile-nav-locked {
  overflow: hidden !important;
  touch-action: none !important;
}

.mobile-nav-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-cta-pill {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--brand-primary, #e61c6b);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(230, 28, 107, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-nav-cta-pill:hover {
  background: var(--brand-primary-hover, #cc145b);
  transform: translateY(-1px);
}

@media (max-width: 1099px) {
  .mobile-nav-cta-pill {
    display: inline-flex;
  }
}

@media (max-width: 380px) {
  .mobile-nav-cta-pill {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* Morphing Burger Button */
.site-burger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-burger:hover {
  background: #e2e8f0;
}

.site-burger.is-active {
  background: var(--brand-primary, #e61c6b);
  color: #ffffff;
  border-color: var(--brand-primary, #e61c6b);
}

/* Backdrop Overlay */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 24, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Off-Canvas Drawer Container */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 92vw);
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-status-pill {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* Drawer Body (Scrollable) */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Utility Strip */
.mobile-drawer-utility {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.mobile-hotline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
}

.mobile-hotline-row strong {
  color: #0f172a;
}

.mobile-paybill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #edf2f7;
  padding-top: 8px;
}

.mobile-paybill-row strong {
  color: var(--brand-primary, #e61c6b);
  background: rgba(230, 28, 107, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Navigation List */
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  flex: 1;
  transition: color 0.15s ease;
}

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

.mobile-accordion-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.25s ease, color 0.2s ease;
}

.mobile-accordion-toggle.is-open {
  transform: rotate(180deg);
  color: var(--brand-primary, #e61c6b);
}

.mobile-nav-sublist {
  display: none;
  padding: 4px 0 12px 14px;
  border-left: 2px solid #e2e8f0;
  margin-left: 8px;
  margin-bottom: 8px;
}

.mobile-nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink.is-active {
  background: #f1f5f9;
  color: var(--brand-primary, #e61c6b);
}

/* Self Care Micro Cards */
.mobile-drawer-card {
  background: #060b18;
  border-radius: 16px;
  padding: 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-card-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan, #06b6d4);
  margin-bottom: 12px;
}

.mobile-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-card-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.mobile-card-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-primary, #e61c6b);
}

/* CTAs */
.mobile-drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-drawer-footer {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.mobile-staff-link {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-staff-link:hover {
  color: #475569;
}


