/* ==========================================================================
   AI LAB TECHNOLOGIES — Dedicated Homepage Animations
   File: css/home-animation.css
   Scope: All rules scoped under .home-page & .home-content to prevent conflicts
   ========================================================================== */

.home-page .hp-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -12px;
  margin-bottom: 2px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* --------------------------------------------------------------------------
   1. FULL HERO BANNER CAROUSEL TRACK & SLIDE STYLES
   -------------------------------------------------------------------------- */
.home-page .hp-hero-full-carousel-track {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
}

.home-page .hp-hero-full-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%) scale(0.96);
  filter: blur(10px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.4s ease;
  pointer-events: none;
  border-radius: 24px;
  overflow: hidden;
  padding: 24px 28px 22px 28px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.home-page .hp-hero-full-slide[data-slide="0"] {
  background-image: linear-gradient(135deg, rgba(8, 12, 20, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%), url('../assets/images/hero/hero-1.jpg');
}

.home-page .hp-hero-full-slide[data-slide="1"] {
  background-image: linear-gradient(135deg, rgba(8, 12, 20, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%), url('../assets/images/hero/hero-12.jpeg');
}

.home-page .hp-hero-full-slide[data-slide="2"] {
  background-image: linear-gradient(135deg, rgba(8, 12, 20, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%), url('../assets/images/hero/hero-11.jpeg');
}

.home-page .hp-hero-full-slide.push-out {
  opacity: 0;
  transform: translateX(-100%) scale(0.92);
  filter: blur(12px);
}

.home-page .hp-hero-full-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  animation: hpFullSlideLanding 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Platform Card Overlay in Hero Visual Wrap */
.home-page .hp-platform-preview-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #0f172a;
}

.home-page .hp-platform-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.home-page .hp-platform-preview-card:hover .hp-platform-img {
  transform: scale(1.04);
}

.home-page .hp-platform-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 70%, transparent 100%);
  backdrop-filter: blur(8px);
}

.home-page .hp-platform-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.2);
  color: #00f0ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

/* Carousel Dots Indicator */
.home-page .hp-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.home-page .hp-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-page .hp-carousel-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--hp-primary);
  border-color: var(--hp-primary);
  box-shadow: 0 0 10px var(--hp-primary);
}

/* --------------------------------------------------------------------------
   2. Sleek Enterprise Floating Particle & Mouse Hover Glass Bubbles
   -------------------------------------------------------------------------- */
.home-page .hp-particles-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

/* Ambient Floating Background Orbs */
.home-page .hp-particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 229, 255, 0.4) 45%, rgba(168, 85, 247, 0.15) 80%, transparent 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3), inset 0 0 6px rgba(255, 255, 255, 0.5);
  animation: hpParticleFloat 12s linear infinite;
  opacity: 0.6;
  will-change: transform, opacity;
}

/* Professional Interactive Mouse Hover Glass Sparkle Bubbles */
.home-page .hp-sparkle-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(0, 229, 255, 0.5) 40%, rgba(223, 42, 25, 0.25) 75%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 25;
  will-change: transform, opacity;
  animation: hpGlassBubbleFloat 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* --------------------------------------------------------------------------
   3. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes hpFullSlideLanding {
  0% { transform: translateX(100px) scale(0.95); opacity: 0; }
  75% { transform: translateX(-6px) scale(1.01); opacity: 1; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes hpParticleFloat {
  0% { transform: translate3d(0, 100vh, 0) scale(0.6); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.7; }
  100% { transform: translate3d(20px, -10vh, 0) scale(1.2); opacity: 0; }
}

@keyframes hpGlassBubbleFloat {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.3);
    opacity: 0.95;
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8), inset 0 0 12px rgba(255, 255, 255, 1);
  }
  100% {
    transform: translate3d(calc(-50% + var(--drift-x, 0px)), -60px, 0) scale(1.3);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   4. Per-Slide Color Theme Overrides for Stat Cards & Buttons (No Red Leakage)
   -------------------------------------------------------------------------- */
/* Slide 1 (Red / Coral Theme) */
.home-page .hp-hero-full-slide[data-slide="0"] .hp-hero-stat-card:hover {
  border-color: rgba(223, 42, 25, 0.4);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(223, 42, 25, 0.08) 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(223, 42, 25, 0.25);
}
.home-page .hp-hero-full-slide[data-slide="0"] .hp-hero-stat-card::before {
  background: linear-gradient(90deg, #df2a19 0%, #ff523b 100%);
}

/* Slide 2 (Electric Cyan & Purple Theme) */
.home-page .hp-hero-full-slide[data-slide="1"] .hp-hero-stat-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 229, 255, 0.08) 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 229, 255, 0.25);
}
.home-page .hp-hero-full-slide[data-slide="1"] .hp-hero-stat-card::before {
  background: linear-gradient(90deg, #00f0ff 0%, #a855f7 100%);
}
.home-page .hp-hero-full-slide[data-slide="1"] .hp-hero-stat-card:hover .hp-hsc-icon-box {
  background: #00f0ff;
  color: #040812;
  box-shadow: 0 0 15px #00f0ff;
}

/* Slide 3 (Emerald & Teal Theme) */
.home-page .hp-hero-full-slide[data-slide="2"] .hp-hero-stat-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(16, 185, 129, 0.25);
}
.home-page .hp-hero-full-slide[data-slide="2"] .hp-hero-stat-card::before {
  background: linear-gradient(90deg, #10b981 0%, #00f0ff 100%);
}
.home-page .hp-hero-full-slide[data-slide="2"] .hp-hero-stat-card:hover .hp-hsc-icon-box {
  background: #10b981;
  color: #040812;
  box-shadow: 0 0 15px #10b981;
}

/* ==========================================================================
   LIGHT THEME OVERRIDES FOR HERO SLIDES & STAT CARDS (High Contrast Light Mode)
   ========================================================================== */

[data-theme="light"] .home-page .hp-hero,
body.light-theme .home-page .hp-hero,
body:not(.dark-theme) .home-page .hp-hero {
  background: #ffffff !important;
  color: #000000 !important;
}

[data-theme="light"] .home-page .hp-hero-full-slide[data-slide="0"],
body.light-theme .home-page .hp-hero-full-slide[data-slide="0"],
body:not(.dark-theme) .home-page .hp-hero-full-slide[data-slide="0"] {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%), url('../assets/images/hero/hero-1.jpg') !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .home-page .hp-hero-full-slide[data-slide="1"],
body.light-theme .home-page .hp-hero-full-slide[data-slide="1"],
body:not(.dark-theme) .home-page .hp-hero-full-slide[data-slide="1"] {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%), url('../assets/images/hero/hero-12.jpeg') !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .home-page .hp-hero-full-slide[data-slide="2"],
body.light-theme .home-page .hp-hero-full-slide[data-slide="2"],
body:not(.dark-theme) .home-page .hp-hero-full-slide[data-slide="2"] {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%), url('../assets/images/hero/hero-11.jpeg') !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .home-page .hp-hero-h1,
body.light-theme .home-page .hp-hero-h1,
body:not(.dark-theme) .home-page .hp-hero-h1 {
  color: #000000 !important;
  font-weight: 900 !important;
}

[data-theme="light"] .home-page .hp-hero-p,
body.light-theme .home-page .hp-hero-p,
body:not(.dark-theme) .home-page .hp-hero-p {
  color: #1e293b !important;
  font-weight: 600 !important;
}

[data-theme="light"] .home-page .hp-hero-stat-card,
body.light-theme .home-page .hp-hero-stat-card,
body:not(.dark-theme) .home-page .hp-hero-stat-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .home-page .hp-hsc-number,
body.light-theme .home-page .hp-hsc-number,
body:not(.dark-theme) .home-page .hp-hsc-number {
  color: #000000 !important;
  font-weight: 900 !important;
}

[data-theme="light"] .home-page .hp-hsc-label,
body.light-theme .home-page .hp-hsc-label,
body:not(.dark-theme) .home-page .hp-hsc-label {
  color: #334155 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .home-page .hp-hero-badge-item,
[data-theme="light"] .home-page .hp-location-highlight,
body.light-theme .home-page .hp-hero-badge-item,
body.light-theme .home-page .hp-location-highlight,
body:not(.dark-theme) .home-page .hp-hero-badge-item,
body:not(.dark-theme) .home-page .hp-location-highlight {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .home-page .hp-tag-badge,
body.light-theme .home-page .hp-tag-badge,
body:not(.dark-theme) .home-page .hp-tag-badge {
  background: rgba(223, 42, 25, 0.08) !important;
  border: 1px solid rgba(223, 42, 25, 0.25) !important;
  color: #df2a19 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .home-page .hp-btn-glass,
[data-theme="light"] .home-page .hp-hero-nav-btn,
body.light-theme .home-page .hp-btn-glass,
body.light-theme .home-page .hp-hero-nav-btn,
body:not(.dark-theme) .home-page .hp-btn-glass,
body:not(.dark-theme) .home-page .hp-hero-nav-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  font-weight: 700 !important;
}




/* ==========================================================================
   PERFECT DESKTOP DROPDOWN & MEGA MENU ALIGNMENT ENGINE (Fixes Off-Screen Shift)
   ========================================================================== */
@media (min-width: 1025px) {
  .site-header .nav-wrap,
  .nav-wrap {
    position: relative !important;
  }

  .site-header nav .nav-list,
  .nav-list {
    position: static !important;
  }

  .site-header .has-dropdown,
  .has-dropdown {
    position: static !important;
  }

  .dropdown-menu,
  .dropdown-menu.focus-mega-menu,
  .dropdown-menu.services-list-menu,
  .dropdown-menu.mega-menu-cards.platforms-list-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(12px) !important;
    margin: 0 auto !important;
    z-index: 1100 !important;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:hover .dropdown-menu.focus-mega-menu,
  .has-dropdown:hover .dropdown-menu.services-list-menu,
  .has-dropdown:hover .dropdown-menu.mega-menu-cards.platforms-list-menu {
    transform: translateX(-50%) translateY(0) !important;
  }

  .dropdown-menu.focus-mega-menu {
    width: 1040px !important;
    max-width: min(1040px, calc(100vw - 48px)) !important;
  }

  .dropdown-menu.services-list-menu {
    width: 840px !important;
    max-width: min(840px, calc(100vw - 48px)) !important;
  }

  .dropdown-menu.mega-menu-cards.platforms-list-menu {
    width: 640px !important;
    max-width: min(640px, calc(100vw - 48px)) !important;
  }
}






/* ==========================================================================
   EXACT IMAGE 1 CARD VIEW & MEGA MENU ENGINE (Applied Universally across All Pages)
   ========================================================================== */
@media (min-width: 1025px) {
  .dropdown-menu.focus-mega-menu,
  .focus-mega-menu {
    width: 1080px !important;
    max-width: min(1080px, calc(100vw - 48px)) !important;
    padding: 24px !important;
    gap: 24px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    align-items: stretch !important;
  }

  .focus-sidebar {
    width: 310px !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .focus-sidebar .focus-btn {
    padding: 9px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
  }

  .focus-sidebar .focus-btn .icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
  }

  .focus-sidebar .focus-btn span {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
  }

  .focus-sidebar .focus-btn .arrow-icon {
    font-size: 12px !important;
    color: #64748b !important;
  }

  .focus-sidebar .focus-btn.active {
    border: 1.5px solid rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08) !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #ffffff !important;
  }

  .focus-main-content {
    gap: 24px !important;
    grid-template-columns: 1fr 260px !important;
    flex: 1 !important;
  }

  /* Exact Card View Matching Image 1 */
  .focus-info-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .focus-overview-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 26px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 240px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .focus-overview-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 8px 28px rgba(223, 42, 25, 0.12) !important;
  }

  .overview-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
  }

  .overview-card-icon {
    width: 44px !important;
    height: 36px  !important;
    border-radius: 12px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important; color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
  }

  .overview-card-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
  }

  .overview-card-desc {
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
    flex: 1 !important;
  }

  .overview-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
  }

  .overview-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .overview-card-btn:hover {
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  .focus-visual-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .focus-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .focus-image-wrapper img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }
}



/* ==========================================================================
   EXACT REFERENCE CARD VIEW ENGINE FOR FOCUS AREA DROPDOWN LIST (IMAGE 1 SPEC)
   ========================================================================== */
.focus-info-col {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.focus-overview-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.focus-overview-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06) !important;
}

.overview-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.overview-card-icon {
  width: 44px !important;
  height: 36px  !important;
  min-width: 44px !important;
  border-radius: 12px !important;
  --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important; color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.overview-card-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.overview-card-desc {
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 20px 0 !important;
}

.overview-card-footer {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: auto !important;
}

.overview-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.overview-card-btn:hover {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}



/* ==========================================================================
   FOCUS PREVIEW SUBMENU - 1 COLUMN X 4 ROWS VERTICAL STACKED LAYOUT
   ========================================================================== */
.focus-preview-submenu .submodules-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(4, auto) !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

.focus-preview-submenu .submodule-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  gap: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.focus-preview-submenu .submodule-card:hover {
  border-color: #df2a19 !important;
  box-shadow: 0 6px 18px rgba(223, 42, 25, 0.12) !important;
  transform: translateX(4px) !important;
  background: #fffbfb !important;
}

.focus-preview-submenu .submodule-top {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}

.focus-preview-submenu .submodule-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.focus-preview-submenu .submodule-card h4 {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.focus-preview-submenu .submodule-card p {
  font-size: 11.5px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.focus-preview-submenu .submodule-arrow-link {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #df2a19 !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  transition: transform 0.2s ease !important;
}

.focus-preview-submenu .submodule-card:hover .submodule-arrow-link {
  transform: translateX(4px) !important;
}

/* Light Theme overrides for 1 Col Submodule Card */
[data-theme="light"] .focus-preview-submenu .submodule-card,
body.light-theme .focus-preview-submenu .submodule-card {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .focus-preview-submenu .submodule-card h4,
body.light-theme .focus-preview-submenu .submodule-card h4 {
  color: #0f172a !important;
}

[data-theme="light"] .focus-preview-submenu .submodule-card p,
body.light-theme .focus-preview-submenu .submodule-card p {
  color: #475569 !important;
}





/* ==========================================================================
   REMOVE FOCUS OVERVIEW CARD INNER EMPTY SPACE FIX
   ========================================================================== */
@media (min-width: 1025px) {
  .dropdown-menu.focus-mega-menu {
    width: 960px !important;
    max-width: min(960px, calc(100vw - 48px)) !important;
    display: flex !important;
    padding: 24px !important;
    gap: 24px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    align-items: center !important;
  }

  .focus-sidebar {
    width: 280px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .focus-main-content {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 260px !important;
    gap: 20px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .focus-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    min-width: 0 !important;
    position: relative !important;
  }

  /* Submodules Grid (1 Column x 4 Rows) */
  .focus-preview-submenu {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .focus-preview-submenu[style*="display: none"] {
    display: none !important;
  }

  .focus-preview-submenu .submodules-heading {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .focus-preview-submenu .submodules-heading i {
    color: #df2a19 !important;
  }

  .focus-preview-submenu .submodules-heading-line {
    width: 32px !important;
    height: 2.5px !important;
    background: #df2a19 !important;
    border-radius: 2px !important;
    margin-bottom: 10px !important;
  }

  .focus-preview-submenu .submodules-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, auto) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    gap: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 4px 14px rgba(223, 42, 25, 0.12) !important;
    transform: translateX(3px) !important;
    background: #fffbfb !important;
  }

  .focus-preview-submenu .submodule-top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .focus-preview-submenu .submodule-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .focus-preview-submenu .submodule-card h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 1px 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-card p {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-arrow-link {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #df2a19 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    transition: transform 0.2s ease !important;
  }

  .focus-preview-submenu .submodule-card:hover .submodule-arrow-link {
    transform: translateX(3px) !important;
  }

  /* Compact Focus Overview Card (Zero Inner Empty Space) */
  .focus-overview-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    height: auto !important;
    width: 100% !important;
    align-self: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
  }

  .focus-overview-card[style*="display: none"] {
    display: none !important;
  }
  .focus-overview-card[style*="display: block"] {
    display: flex !important;
  }

  .focus-overview-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 8px 28px rgba(223, 42, 25, 0.12) !important;
  }

  .overview-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }

  .overview-card-icon {
    width: 44px !important;
    height: 36px  !important;
    border-radius: 10px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important; color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
  }

  .overview-card-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
  }

  .overview-card-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  .overview-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 4px !important;
  }

  .overview-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .overview-card-btn:hover {
    background: #b91c1c !important;
    transform: translateX(3px) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
  }

  .focus-visual-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 260px !important;
    flex-shrink: 0 !important;
  }

  .focus-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 250px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  }

  .focus-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
}

/* ==========================================================================
   USER CUSTOM FOCUS OVERVIEW CARD STYLES
   ========================================================================== */
.focus-overview-card {
    display: block;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: auto;
    min-height: unset;
}

.focus-overview-card[style*="display: none"] {
    display: none !important;
}

.overview-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.overview-card-icon {
    width: 65px;
    height: 65px;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-card-icon i {
    font-size: 30px;
    color: #ffffff !important;
}

.overview-card-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.overview-card-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 25px;
}

.overview-card-footer {
    margin-top: 15px;
}

.overview-card-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: #009f78;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.overview-card-btn:hover {
    background: #007d5d;
}




/* ==========================================================================
   COMPACT FOCUS MEGA MENU - REDUCED WIDTH & HEIGHT ENGINE
   ========================================================================== */
@media (min-width: 1025px) {
  .dropdown-menu.focus-mega-menu {
    width: 830px !important;
    max-width: min(830px, calc(100vw - 32px)) !important;
    display: flex !important;
    padding: 16px !important;
    gap: 16px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    align-items: stretch !important;
  }

  /* Compact Sidebar List */
  .focus-sidebar {
    width: 240px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .focus-sidebar .focus-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 10px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    width: 100% !important;
  }

  .focus-sidebar .focus-btn .icon-box {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }

  .focus-sidebar .focus-btn span {
    flex: 1 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-sidebar .focus-btn .arrow-icon {
    font-size: 11px !important;
    color: #94a3b8 !important;
  }

  .focus-sidebar .focus-btn.active {
    border: 1.5px solid rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08) !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #ffffff !important;
  }

  /* Compact Main Content Grid */
  .focus-main-content {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 210px !important;
    gap: 14px !important;
    align-items: stretch !important;
    min-width: 0 !important;
  }

  .focus-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    min-width: 0 !important;
    position: relative !important;
  }

  /* Submodules Grid (1 Column x 4 Rows - Compact) */
  .focus-preview-submenu {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .focus-preview-submenu[style*="display: none"] {
    display: none !important;
  }

  .focus-preview-submenu .submodules-heading {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .focus-preview-submenu .submodules-heading i {
    color: #df2a19 !important;
  }

  .focus-preview-submenu .submodules-heading-line {
    width: 26px !important;
    height: 2px !important;
    background: #df2a19 !important;
    border-radius: 2px !important;
    margin-bottom: 6px !important;
  }

  .focus-preview-submenu .submodules-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 3px 10px rgba(223, 42, 25, 0.1) !important;
    transform: translateX(2px) !important;
    background: #fffbfb !important;
  }

  .focus-preview-submenu .submodule-top {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .focus-preview-submenu .submodule-icon-box {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    font-size: 11.5px !important;
  }

  .focus-preview-submenu .submodule-stat-val {
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .focus-preview-submenu .submodule-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .focus-preview-submenu .submodule-card h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 1px 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-card p {
    font-size: 10.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-arrow-link {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #df2a19 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  /* Compact Overview Card View */
  .focus-overview-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 310px !important;
    width: 100% !important;
    align-self: stretch !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }

  .focus-overview-card[style*="display: none"] {
    display: none !important;
  }
  .focus-overview-card[style*="display: block"] {
    display: flex !important;
  }

  .focus-overview-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 6px 20px rgba(223, 42, 25, 0.1) !important;
  }

  .overview-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .overview-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important; color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
  }

  .overview-card-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
  }

  .overview-card-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 0 12px 0 !important;
  }

  .overview-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
  }

  .overview-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    color: #ffffff !important;
    padding: 7px 15px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .overview-card-btn:hover {
    background: #b91c1c !important;
    transform: translateX(2px) !important;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.2) !important;
  }

  /* Compact Visual Column Image */
  .focus-visual-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 210px !important;
    flex-shrink: 0 !important;
  }

  .focus-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 310px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  }

  .focus-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
}




/* ==========================================================================
   WIDE SIDEBAR & ZERO CENTER CARD EMPTY SPACE ENGINE
   ========================================================================== */
@media (min-width: 1025px) {
  .dropdown-menu.focus-mega-menu {
    width: 920px !important;
    max-width: min(920px, calc(100vw - 32px)) !important;
    display: flex !important;
    padding: 20px !important;
    gap: 20px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    align-items: stretch !important;
  }

  /* Wide Sidebar (No Text Truncation) */
  .focus-sidebar {
    width: 275px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .focus-sidebar .focus-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    width: 100% !important;
  }

  .focus-sidebar .focus-btn .icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }

  .focus-sidebar .focus-btn span {
    flex: 1 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .focus-sidebar .focus-btn .arrow-icon {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
  }

  .focus-sidebar .focus-btn.active {
    border: 1.5px solid rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.08) !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #ffffff !important;
  }

  /* Main Content Layout */
  .focus-main-content {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 240px !important;
    gap: 16px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .focus-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    min-width: 0 !important;
    position: relative !important;
  }

  /* Submodules Grid (1 Column x 4 Rows) */
  .focus-preview-submenu {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .focus-preview-submenu[style*="display: none"] {
    display: none !important;
  }

  .focus-preview-submenu .submodules-heading {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    margin-bottom: 3px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .focus-preview-submenu .submodules-heading i {
    color: #df2a19 !important;
  }

  .focus-preview-submenu .submodules-heading-line {
    width: 28px !important;
    height: 2px !important;
    background: #df2a19 !important;
    border-radius: 2px !important;
    margin-bottom: 8px !important;
  }

  .focus-preview-submenu .submodules-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, auto) !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .focus-preview-submenu .submodule-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 3px 10px rgba(223, 42, 25, 0.1) !important;
    transform: translateX(2px) !important;
    background: #fffbfb !important;
  }

  .focus-preview-submenu .submodule-top {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .focus-preview-submenu .submodule-icon-box {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
  }

  .focus-preview-submenu .submodule-stat-val {
    font-size: 13.5px !important;
    font-weight: 800 !important;
  }

  .focus-preview-submenu .submodule-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .focus-preview-submenu .submodule-card h4 {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 1px 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-card p {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .focus-preview-submenu .submodule-arrow-link {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #df2a19 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  /* Compact Overview Card View (ZERO Center Empty Space) */
  .focus-overview-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px 22px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    height: auto !important;
    width: 100% !important;
    align-self: center !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }

  .focus-overview-card[style*="display: none"] {
    display: none !important;
  }
  .focus-overview-card[style*="display: block"] {
    display: flex !important;
  }

  .focus-overview-card:hover {
    border-color: #df2a19 !important;
    box-shadow: 0 6px 20px rgba(223, 42, 25, 0.1) !important;
  }

  .overview-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }

  .overview-card-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 9px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important; color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
  }

  .overview-card-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
  }

  .overview-card-desc {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  .overview-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 4px !important;
  }

  .overview-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    --tw-bg-opacity: 1; background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .overview-card-btn:hover {
    background: #b91c1c !important;
    transform: translateX(3px) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
  }

  /* Visual Column Image */
  .focus-visual-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 240px !important;
    flex-shrink: 0 !important;
  }

  .focus-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  }

  .focus-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
}


/* Force white text on Hero Banners even in Light Theme for Focus Area pages */
html[data-theme="light"] .hero-banner .hero-content h1,
html[data-theme="light"] .hero-banner .hero-content p,
body.light-theme .hero-banner .hero-content h1,
body.light-theme .hero-banner .hero-content p,
html[data-theme="light"] .service-hero .hero-content h1,
html[data-theme="light"] .service-hero .hero-content p,
body.light-theme .service-hero .hero-content h1,
body.light-theme .service-hero .hero-content p {
    color: #ffffff !important;
}


/* ==========================================================================
   FOCUS AREAS DROPDOWN LIGHT RED HIGHLIGHT EFFECT (Matching Services Menu Style)
   ========================================================================== */
.focus-sidebar .focus-btn:hover,
.focus-sidebar .focus-btn.active {
  background: #fff8f6 !important;
  border: 1px solid rgba(223, 42, 25, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(223, 42, 25, 0.06) !important;
}

.focus-sidebar .focus-btn.active .icon-box,
.focus-sidebar .focus-btn:hover .icon-box {
  background: rgba(223, 42, 25, 0.12) !important;
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  border-radius: 8px !important;
}

.focus-sidebar .focus-btn.active span,
.focus-sidebar .focus-btn:hover span {
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  font-weight: 700 !important;
}

.focus-sidebar .focus-btn.active .arrow-icon,
.focus-sidebar .focus-btn:hover .arrow-icon {
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}

/* Overview Learn More Button */
.overview-card-btn,
.focus-overview-card .overview-card-btn {
  background: #fff8f6 !important;
  border: 1px solid rgba(223, 42, 25, 0.3) !important;
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  transition: all 0.2s ease !important;
}

.overview-card-btn:hover,
.focus-overview-card .overview-card-btn:hover {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  color: #ffffff !important;
  border-color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .focus-sidebar .focus-btn:hover,
[data-theme="dark"] .focus-sidebar .focus-btn.active,
body.dark-theme .focus-sidebar .focus-btn:hover,
body.dark-theme .focus-sidebar .focus-btn.active {
  background: rgba(223, 42, 25, 0.15) !important;
  border-color: rgba(223, 42, 25, 0.35) !important;
}

[data-theme="dark"] .focus-sidebar .focus-btn.active .icon-box,
[data-theme="dark"] .focus-sidebar .focus-btn:hover .icon-box,
body.dark-theme .focus-sidebar .focus-btn.active .icon-box,
body.dark-theme .focus-sidebar .focus-btn:hover .icon-box {
  background: rgba(223, 42, 25, 0.25) !important;
  color: #ff6b5b !important;
}

[data-theme="dark"] .focus-sidebar .focus-btn.active span,
[data-theme="dark"] .focus-sidebar .focus-btn:hover span,
body.dark-theme .focus-sidebar .focus-btn.active span,
body.dark-theme .focus-sidebar .focus-btn:hover span,
[data-theme="dark"] .focus-sidebar .focus-btn.active .arrow-icon,
[data-theme="dark"] .focus-sidebar .focus-btn:hover .arrow-icon,
body.dark-theme .focus-sidebar .focus-btn.active .arrow-icon,
body.dark-theme .focus-sidebar .focus-btn:hover .arrow-icon {
  color: #ff6b5b !important;
}


/* ==========================================================================
   COMPACT & PROFESSIONAL HEADER LAYOUT (Reduced Top Spacing & Clean Height)
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
}

.nav-wrap,
.site-header .nav-wrap {
  height: 58px !important;
  min-height: 58px !important;
  gap: 16px !important;
}

.logo-img,
.site-logo .logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
}

.nav-list a,
.site-header nav .nav-list > li > a {
  padding: 6px 12px !important;
  font-size: 13.5px !important;
}

/* ==========================================================================
   HOMEPAGE HERO CAROUSEL RESPONSIVE ADJUSTMENTS (css/home-animation.css)
   ========================================================================== */
@media (max-width: 992px) {
  .home-page .hp-hero-full-slide {
    padding: 24px 16px 20px 16px !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }

  .home-page .hp-hero-full-carousel-track {
    min-height: auto !important;
  }
}

@media (max-width: 768px) {
  .home-page .hp-hero-full-slide {
    padding: 18px 12px 16px 12px !important;
    border-radius: 14px !important;
  }
}