/* ============================================
   AILAB TECHNOLOGIES — Full Website Stylesheet
   homepage.css — No JavaScript / No Next.js
   ============================================ */

/* ---- IMPORT FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --primary: rgb(223 42 25 / var(--tw-bg-opacity, 1));
  --primary-dark: rgb(180 30 18);
  --primary-light: rgb(223 42 25 / 0.2);
  --primary-bg: rgb(223 42 25 / 0.1);
  --accent-900: #0f172a;
  --accent-800: #1e293b;
  --accent-700: #334155;
  --accent-600: #475569;
  --accent-500: #64748b;
  --accent-200: #e2e8f0;
  --accent-100: #f1f5f9;
  --accent-50: #f8fafc;
  --white: #ffffff;
  --green: #10b981;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 60px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--accent-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 88px 0;
}

.section-pad-lg {
  padding: 100px 0;
}

.section-alt {
  background: rgb(240 249 255 / 50%);
}

.section-dark {
  background: var(--accent-900);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

/* ============================================
   HEADER / NAVIGATION BASE STYLES
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-200);
  transition: box-shadow 0.3s;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 24px;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
}

/* Nav Links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: static;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-list a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.has-dropdown {
  position: static;
}

.has-dropdown>a::after {
  content: ' \25BE';
  font-size: 10px;
  opacity: 0.6;
}

/* Dropdown Base & Delays */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 920px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 28px 32px;
  list-style: none;
  opacity: 0;
  pointer-events: auto !important;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s !important;
  transition-delay: 0.5s !important;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  overflow: visible;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s !important;
  transition-delay: 0s !important;
}

.dropdown-menu li {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.25s ease;
  background: #ffffff;
  overflow: visible;
}

.dropdown-menu li:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(223, 42, 25, 0.1);
  transform: translateY(-2px);
  background: #fffbfb;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  gap: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.dropdown-menu li a .icon-box {
  background: #fee2e2;
  color: var(--primary);
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.dropdown-menu li:hover a .icon-box {
  background: var(--primary);
  color: #ffffff;
}

/* =========================================
   FOCUS AREAS MEGA MENU
   ========================================= */
.focus-mega-menu {
  width: 1040px !important;
  display: none !important;
  padding: 28px !important;
  gap: 32px !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;
}

/* Sidebar List */
.focus-sidebar {
  width: 310px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.focus-sidebar .focus-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.focus-sidebar .focus-btn .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.focus-sidebar .focus-btn span {
  flex: 1;
  color: #1e293b;
  font-weight: 600;
}

.focus-sidebar .focus-btn .arrow-icon {
  font-size: 12px;
  color: #64748b;
  transition: all 0.2s ease;
}

.focus-sidebar .focus-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.focus-sidebar .focus-btn.active {
  --tw-bg-opacity: 1;
  border: 1px solid rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.2) !important;
}

.focus-sidebar .focus-btn.active .icon-box {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.focus-sidebar .focus-btn.active span,
.focus-sidebar .focus-btn.active .arrow-icon {
  color: #b91c1c !important;
  font-weight: 600 !important;
}

/* Main Content Column */
.focus-main-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
}

.focus-info-col {
  display: flex;
  flex-direction: column;
}

.focus-category-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #dc2626;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.focus-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.focus-main-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

/* Sub-modules Section */
.focus-submodules-section {
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
  grid-column: 1 / -1;
}

.submodules-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.submodules-heading i {
  color: #dc2626;
  font-size: 15px;
}

.submodules-heading-line {
  width: 36px;
  height: 3px;
  background: #dc2626;
  border-radius: 2px;
  margin-bottom: 14px;
}

.submodules-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.submodule-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
}

.submodule-card:hover {
  border-color: #df2a19 !important;
  box-shadow: 0 6px 18px rgba(223, 42, 25, 0.12) !important;
  transform: translateY(-2px) !important;
}

.submodule-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 4px !important;
}

.submodule-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

.submodule-icon-box.green {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  color: #ffffff !important;
}

.submodule-icon-box.blue {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

.submodule-icon-box.orange {
  background: #ffedd5 !important;
  color: #ea580c !important;
}

.submodule-icon-box.purple {
  background: #f3e8ff !important;
  color: #9333ea !important;
}

.submodule-icon-box.red {
  background: #fee2e2 !important;
  color: #df2a19 !important;
}

.submodule-stat-val {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1 !important;
  letter-spacing: -0.3px !important;
}

.submodule-card h4 {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 3px 0 2px 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.submodule-card p {
  font-size: 10.5px !important;
  color: #64748b !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.submodule-arrow-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #df2a19 !important;
  font-weight: 700 !important;
  font-size: 10.5px !important;
  align-self: flex-end !important;
  transition: transform 0.2s ease !important;
}

.submodule-card:hover .submodule-arrow-link {
  transform: translateX(4px) !important;
}

/* Focus Overview Card (Matching Screenshot 2 Format) */
.focus-overview-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px 22px !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;
  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;
  transform: translateY(-2px) !important;
}

.overview-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.overview-card-icon {
  width: 40px !important;
  height: 40px !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: 18px !important;
  flex-shrink: 0 !important;
}

.overview-card-title {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.overview-card-desc {
  font-size: 12.5px !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 0 14px 0 !important;
}

.overview-card-footer {
  display: flex !important;
  justify-content: flex-end !important;
}

.overview-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.overview-card-btn:hover {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

/* Visual Column */
.focus-visual-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.focus-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.focus-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-callout-card {
  display: none !important;
}

/* =========================================
   DARK MODE HEADER STYLES
   ========================================= */
body.dark-theme .site-header {
  background: rgba(15, 23, 42, 0.96) !important;
  border-bottom-color: var(--accent-200);
}

body.dark-theme .dropdown-menu {
  background: var(--accent-50);
  border-color: var(--accent-200);
}

body.dark-theme .focus-sidebar .focus-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-theme .focus-sidebar .focus-btn span {
  color: #f1f5f9;
}

body.dark-theme .focus-sidebar .focus-btn.active {
  border: 1px solid #fecaca !important;
  background: #fef2f2 !important;
  box-shadow: none !important;
}

body.dark-theme .focus-main-title {
  color: #ffffff;
}

body.dark-theme .submodule-card,
body.dark-theme .focus-callout-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-theme .submodule-card h4,
body.dark-theme .callout-content h4 {
  color: #ffffff;
}

body.dark-theme .submodule-card p {
  color: #94a3b8;
}

/* =========================================
   MOBILE RESPONSIVE HEADER
   ========================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--accent-900);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  margin-right: 16px;
}

body.dark-theme .mobile-menu-toggle {
  color: var(--white);
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-wrap {
    flex-wrap: wrap;
    position: relative;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--accent-200);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  body.dark-theme nav {
    background: var(--accent-50);
    border-top-color: var(--accent-200);
  }

  nav.mobile-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
  }

  .nav-list>li {
    width: 100%;
  }

  .nav-list>li>a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--accent-100);
  }

  .has-dropdown>a::after {
    float: right;
    transform: rotate(0deg);
    transition: transform 0.3s;
  }

  .has-dropdown.mobile-open>a::after {
    transform: rotate(90deg);
  }

  .dropdown-menu,
  .dropdown-menu.mega-menu-cards,
  .dropdown-menu.focus-mega-menu {
    position: static;
    transform: none !important;
    width: 100% !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    display: none !important;
    padding: 0 24px 16px 24px;
    background: var(--accent-50);
    transition: none !important;
  }

  .has-dropdown.mobile-open .dropdown-menu {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .has-dropdown.mobile-open .dropdown-menu:not(.mega-menu-cards):not(.focus-mega-menu) {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Mobile nav hidden on desktop, shown on small screens via CSS media query */

/* ============================================
   HERO SECTION — Slider
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay tint */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(237, 248, 254, 0.82) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.hero-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

/* Slide content */
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 900;
  color: var(--accent-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title span {
  color: var(--primary);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
}

.hero-cta svg {
  transition: transform 0.3s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Nav buttons */
.hero-nav {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-nav-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent-900);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-size: 18px;
}

.hero-nav-btn:hover {
  background: var(--primary);
  transform: scale(1.08);
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-200);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.4);
}

/* ============================================
   SECTION HEADING
   ============================================ */
.sec-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--accent-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.sec-desc {
  font-size: 16px;
  color: var(--accent-600);
  max-width: 620px;
}

.text-center .sec-desc {
  margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Image collage */
.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 580px;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-1 {
  border-radius: var(--radius-xl) var(--radius-sm) var(--radius-sm) var(--radius-sm);
  height: 200px;
  position: relative;
}

.about-img-1::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl) var(--radius-sm) var(--radius-sm) var(--radius-sm);
  background: var(--primary-light);
  z-index: -1;
}

.about-img-2 {
  border-radius: 80px 10px;
  height: 260px;
}

.about-img-3 {
  border-radius: 50px 10px;
  height: 220px;
  max-width: 250px;
  margin-left: auto;
}

.about-img-4 {
  border-radius: var(--radius) 10px var(--radius-xl);
  height: 220px;
}

/* Center icon */
.about-center-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  background: var(--primary);
  border-radius: 50%;
  border: 12px solid var(--white);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

/* About content */
.about-keypoints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-kp {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}

.about-kp:hover {
  background: var(--primary-bg);
  border-color: var(--primary-dark);
}

.about-kp-icon {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
}

.about-kp h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-900);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.12);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 58px;
  margin: 0 auto 24px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 30px;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--accent-600);
  line-height: 1.7;
}

/* ============================================
   PROJECTS / SERVICES GRID (our services)
   ============================================ */
.works-section {
  background: var(--accent-50);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.work-card:hover img {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.25) 50%, transparent 100%);
  transition: opacity 0.3s;
}

.work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
}

.work-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.work-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
  background: var(--accent-900);
  color: var(--white);
}

.stats-heading {
  text-align: center;
  margin-bottom: 52px;
}

.stats-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.stat-card:hover {
  background: rgba(2, 132, 199, 0.2);
  transform: translateY(-4px);
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(2, 132, 199, 0.2);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 26px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

/* .stat-value span { color: var(--primary-light); } */
.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   PREMIUM ENTERPRISE AI FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #070c17 0%, #030712 100%);
  color: #ffffff;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.site-footer .footer-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 36px 36px, 72px 72px;
  pointer-events: none;
}

.site-footer .footer-orb-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

.site-footer .footer-orb-2 {
  position: absolute;
  bottom: 0%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 42, 25, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

/* 5-Column Grid */
.site-footer .footer-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.25fr 1.55fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  position: relative;
  z-index: 5;
}

/* Brand Column */
.site-footer .footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-footer .footer-logo .logo-img,
.footer-brand .brand-logo .logo-img {
  height: 48px;
  width: auto;
}

.site-footer .footer-logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.site-footer .footer-brand-tagline {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.site-footer .footer-brand-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.site-footer .footer-block-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00f0ff;
  margin: 0 0 10px;
}

.site-footer .footer-map-visual {
  position: relative;
  width: 100%;
  max-width: 290px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.15);
  margin-top: 6px;
}

.site-footer .footer-map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(1.2);
}

.site-footer .footer-map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.site-footer .footer-map-pin:hover {
  transform: translate(-50%, -55%) scale(1.1);
}

.site-footer .footer-map-pin i {
  font-size: 16px;
  filter: drop-shadow(0 0 8px currentColor);
}

.site-footer .footer-map-pin .pin-label {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* Pin locations on the map */
.site-footer .footer-map-pin.pin-sg {
  top: 68%;
  left: 28%;
}

.site-footer .footer-map-pin.pin-sg i {
  color: #00f0ff;
}

.site-footer .footer-map-pin.pin-my {
  top: 72%;
  left: 52%;
}

.site-footer .footer-map-pin.pin-my i {
  color: #a855f7;
}

.site-footer .footer-map-pin.pin-in {
  top: 55%;
  left: 80%;
}

.site-footer .footer-map-pin.pin-in i {
  color: #ff4530;
}

.site-footer .footer-social-links {
  display: flex;
  gap: 10px;
}

.site-footer .footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer .footer-social-icon:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.4);
}

/* Nav Columns */
.site-footer .footer-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00f0ff;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer .footer-col-title.title-red {
  color: #ff4530;
}

.site-footer .footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-nav-list li a {
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-footer .footer-nav-list li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: #ff4530;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.site-footer .footer-nav-list.list-red li a::before {
  color: #ff4530;
}

.site-footer .footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* AI Assistant & Newsletter Column */
.site-footer .footer-assistant-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer .footer-ai-card {
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-ai-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer .footer-ai-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer .footer-ai-avatar {
  position: relative;
  width: 44px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.site-footer .footer-robot-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 240, 255, 0.5));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-footer .footer-ai-avatar:hover .footer-robot-img {
  transform: scale(1.15) translateY(-2px);
}

.site-footer .footer-ai-hello {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #00f0ff;
  color: #030712;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.4);
  pointer-events: none;
  white-space: nowrap;
}

.site-footer .footer-ai-hello::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: #00f0ff transparent transparent transparent;
}

.site-footer .footer-ai-avatar:hover .footer-ai-hello {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-footer .footer-ai-pulse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #0f172a;
}

.site-footer .footer-ai-speech h6 {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
}

.site-footer .footer-ai-speech p {
  font-size: 11.5px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.35;
}

.site-footer .footer-ai-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
}

.site-footer .footer-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
  color: #ffffff;
}

.site-footer .footer-ai-status-note {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
}

.site-footer .footer-ai-status-note .status-dot {
  color: #10b981;
}

/* STAY UPDATED Newsletter Form */
.site-footer .footer-newsletter-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer .footer-newsletter-title {
  font-size: 11px;
  font-weight: 800;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

.site-footer .footer-newsletter-desc {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.site-footer .footer-newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
}

.site-footer .footer-newsletter-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12px;
  flex-grow: 1;
}

.site-footer .footer-newsletter-input::placeholder {
  color: #64748b;
}

.site-footer .footer-newsletter-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563eb;
  border: none;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.site-footer .footer-newsletter-btn:hover {
  background: #3b82f6;
  transform: scale(1.05);
}

.site-footer .footer-privacy-note {
  font-size: 10px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Stats Bar */
.site-footer .footer-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.site-footer .footer-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .stat-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #00f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.site-footer .stat-info {
  display: flex;
  flex-direction: column;
}

.site-footer .stat-number {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.site-footer .stat-label {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.2;
}

/* Partners & Certifications Bar */
.site-footer .footer-partners-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
}

.site-footer .partners-label {
  font-size: 11px;
  font-weight: 800;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-shrink: 0;
}

.site-footer .partners-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.site-footer .footer-chip-graphic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(223, 42, 25, 0.2);
  border: 1px solid rgba(223, 42, 25, 0.5);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(223, 42, 25, 0.4);
}

/* Bottom Bar */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 5;
}

.site-footer .copyright-text,
.site-footer .made-with-text {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.site-footer .footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.site-footer .footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-bottom-links a:hover {
  color: #00f0ff;
}

/* Responsive Footer Breakpoints */
@media (max-width: 1024px) {
  .site-footer .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {

  .site-footer .footer-top-grid,
  .site-footer .footer-stats-bar {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-list {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-nav {
    display: none;
  }

  .section-pad {
    padding: 56px 0;
  }

  .section-pad-lg {
    padding: 64px 0;
  }

  .about-keypoints {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT / INNER PAGE HERO (breadcrumb)
   ============================================ */
.inner-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.inner-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  font-size: 10px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--accent-200);
}

.contact-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-900);
  margin-bottom: 8px;
}

.contact-form-wrap p {
  font-size: 14px;
  color: var(--accent-600);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--accent-900);
  background: var(--accent-50);
  border: 1.5px solid var(--accent-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
}

/* Contact Info Side */
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-900);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: var(--accent-600);
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.contact-info-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-card-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-900);
  margin-bottom: 4px;
}

.contact-info-card-text p,
.contact-info-card-text a {
  font-size: 14px;
  color: var(--accent-600);
  text-decoration: none;
}

.contact-info-card-text a:hover {
  color: var(--primary);
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--accent-200);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-v2-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-v2-image img {
  width: 100%;
  display: block;
}

.about-v2-content {}

.about-v2-content p {
  font-size: 16px;
  color: var(--accent-700);
  line-height: 1.8;
  margin-top: 16px;
}

/* Clients carousel */
.clients-section {
  padding: 64px 0;
  background: var(--accent-50);
}

.clients-marquee-wrap {
  overflow: hidden;
}

.clients-marquee {
  display: flex;
  gap: 40px;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.clients-marquee:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 24px;
  background: var(--white);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.client-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(60%);
  transition: filter 0.3s;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Testimonial */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--accent-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-900);
}

.testimonial-author-info span {
  font-size: 12px;
  color: var(--accent-500);
}

@media (max-width: 900px) {
  .about-v2-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DIGITAL PLATFORMS & SERVICES LIST MENU (Matching First Screenshot Layout)
   ========================================================================== */
.dropdown-menu.mega-menu-cards.platforms-list-menu,
.dropdown-menu.services-list-menu {
  display: grid !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(15px) !important;
  padding: 20px 24px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12), 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #e2e8f0 !important;
  z-index: 1000 !important;
  overflow: hidden !important;
}

.dropdown-menu.mega-menu-cards.platforms-list-menu {
  width: 640px !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 32px !important;
}

.dropdown-menu.services-list-menu {
  width: 840px !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 28px !important;
}

.has-dropdown:hover .dropdown-menu.mega-menu-cards.platforms-list-menu,
.has-dropdown:hover .dropdown-menu.services-list-menu {
  transform: translateX(-50%) translateY(0) !important;
}

.platform-list-col {
  display: flex !important;
  flex-direction: column !important;
}

.platform-list-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 6px !important;
}

.platform-list-item:last-child {
  border-bottom: none !important;
}

.platform-list-item:hover {
  background: #fff8f6 !important;
  border-bottom-color: transparent !important;
  padding-left: 14px !important;
}

.platform-item-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  color: #df2a19 !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.platform-list-item:hover .platform-item-icon {
  transform: scale(1.15) !important;
  color: #c81e1e !important;
}

.platform-item-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  flex-grow: 1 !important;
  line-height: 1.35 !important;
  transition: color 0.2s ease !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.platform-list-item:hover .platform-item-title {
  color: #df2a19 !important;
  font-weight: 700 !important;
}

.platform-item-arrow {
  font-size: 10px !important;
  color: #a0aec0 !important;
  transition: color 0.2s ease !important;
}

.platform-list-item:hover .platform-item-arrow {
  color: #df2a19 !important;
}

/* Dark Theme Overrides for 2-Column & 3-Column List Menus */
[data-theme="dark"] .dropdown-menu.mega-menu-cards.platforms-list-menu,
[data-theme="dark"] .dropdown-menu.services-list-menu,
body.dark-theme .dropdown-menu.mega-menu-cards.platforms-list-menu,
body.dark-theme .dropdown-menu.services-list-menu {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .platform-list-item,
body.dark-theme .platform-list-item {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .platform-item-title,
body.dark-theme .platform-item-title {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .platform-list-item:hover,
body.dark-theme .platform-list-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .platform-list-item,
body.dark-theme .platform-list-item {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .platform-item-title,
body.dark-theme .platform-item-title {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .platform-list-item:hover,
body.dark-theme .platform-list-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ============================================
   GLOBAL THEME SWITCHER DROPDOWN
   ============================================ */


/* ========================================= */
/* DARK MODE VARIABLE OVERRIDES              */
/* ========================================= */
body.dark-theme {
  background-color: #0f172a;
  /* Dark background */
  color: #e5e7eb;
  /* Light text */

  /* Invert CSS variables */
  --white: #111111;
  --accent-50: #1e1e1e;
  --accent-100: #262626;
  --accent-200: #333333;
  --accent-700: #e5e7eb;
  --accent-800: #f3f4f6;
  --accent-900: #ffffff;
}

/* ==========================================================================
   FLOATING THEME SWITCHER & DROPDOWN MENU
   ========================================================================== */

.floating-theme-btn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 9999;
}

.theme-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: #df2a19 !important;
  color: #ffffff !important;
  font-size: 20px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(223, 42, 25, 0.4);
}

.theme-btn:hover {
  background: #c81e1e !important;
  transform: translateY(-2px);
}

.theme-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 140px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.floating-theme-btn:hover .theme-dropdown-menu,
.floating-theme-btn.open .theme-dropdown-menu,
.floating-theme-btn:focus-within .theme-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.theme-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #0f172a !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  background: transparent;
}

.theme-dropdown-menu a:hover:not(.active) {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.theme-dropdown-menu a.active {
  background: #df2a19 !important;
  color: #ffffff !important;
  font-weight: 700;
}

/* ==========================================================================
   GLOBAL LIGHT & DARK THEME ENGINE
   ========================================================================== */

/* LIGHT THEME RULES */
[data-theme="light"] body,
body.light-theme {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
  color: #000000 !important;
  font-weight: 800;
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] li,
body.light-theme p,
body.light-theme span,
body.light-theme li {
  color: #0f172a;
}

/* Service Pages Dark Hero & Dark Containers in Light Theme - Ensure Text Remains White */
[data-theme="light"] .erp-hero,
[data-theme="light"] .erp-hero h1,
[data-theme="light"] .erp-hero h2,
[data-theme="light"] .erp-hero h3,
[data-theme="light"] .erp-hero h4,
[data-theme="light"] .erp-hero h5,
[data-theme="light"] .erp-hero h6,
[data-theme="light"] .erp-hero p,
[data-theme="light"] .erp-hero span:not(.hero-red),
[data-theme="light"] .erp-hero div,
[data-theme="light"] .erp-hero-title,
[data-theme="light"] .erp-hero-subtitle,
[data-theme="light"] .hero-white,
[data-theme="light"] .stat-number,
[data-theme="light"] .stat-label,
[data-theme="light"] .hero-stat-card,
[data-theme="light"] .erp-stats-section,
[data-theme="light"] .erp-stats-section h1,
[data-theme="light"] .erp-stats-section h2,
[data-theme="light"] .erp-stats-section h3,
[data-theme="light"] .erp-stats-section h4,
[data-theme="light"] .erp-stats-section p,
[data-theme="light"] .erp-stats-section span,
[data-theme="light"] .erp-cta-banner,
[data-theme="light"] .erp-cta-banner h1,
[data-theme="light"] .erp-cta-banner h2,
[data-theme="light"] .erp-cta-banner h3,
[data-theme="light"] .erp-cta-banner p,
[data-theme="light"] .erp-cta-banner span,
body.light-theme .erp-hero,
body.light-theme .erp-hero h1,
body.light-theme .erp-hero h2,
body.light-theme .erp-hero h3,
body.light-theme .erp-hero h4,
body.light-theme .erp-hero h5,
body.light-theme .erp-hero h6,
body.light-theme .erp-hero p,
body.light-theme .erp-hero span:not(.hero-red),
body.light-theme .erp-hero div,
body.light-theme .erp-hero-title,
body.light-theme .erp-hero-subtitle,
body.light-theme .hero-white,
body.light-theme .stat-number,
body.light-theme .stat-label,
body.light-theme .hero-stat-card,
body.light-theme .erp-stats-section,
body.light-theme .erp-stats-section h1,
body.light-theme .erp-stats-section h2,
body.light-theme .erp-stats-section h3,
body.light-theme .erp-stats-section h4,
body.light-theme .erp-stats-section p,
body.light-theme .erp-stats-section span,
body.light-theme .erp-cta-banner,
body.light-theme .erp-cta-banner h1,
body.light-theme .erp-cta-banner h2,
body.light-theme .erp-cta-banner h3,
body.light-theme .erp-cta-banner p,
body.light-theme .erp-cta-banner span {
  color: #ffffff !important;
}

[data-theme="light"] .hero-red,
body.light-theme .hero-red {
  color: #ff5252 !important;
}

/* Header in Light Theme */
[data-theme="light"] .site-header,
body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .site-header nav .nav-list>li>a,
body.light-theme .site-header nav .nav-list>li>a {
  color: #0f172a !important;
  font-weight: 700;
}

/* Dropdowns in Light Theme */
[data-theme="light"] .dropdown-menu,
body.light-theme .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .dropdown-menu a,
body.light-theme .dropdown-menu a {
  color: #0f172a !important;
  font-weight: 600;
}

[data-theme="light"] .focus-sidebar,
body.light-theme .focus-sidebar {
  background: #f8fafc !important;
  border-right: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .focus-sidebar .focus-btn span,
body.light-theme .focus-sidebar .focus-btn span {
  color: #0f172a !important;
  font-weight: 700;
}

[data-theme="light"] .submodule-card,
[data-theme="light"] .focus-callout-card,
[data-theme="light"] .focus-overview-card,
[data-theme="light"] .mega-card,
body.light-theme .submodule-card,
body.light-theme .focus-callout-card,
body.light-theme .focus-overview-card,
body.light-theme .mega-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .submodule-card h4,
[data-theme="light"] .callout-content h4,
[data-theme="light"] .overview-card-title,
[data-theme="light"] .mega-card h4,
body.light-theme .submodule-card h4,
body.light-theme .callout-content h4,
body.light-theme .overview-card-title,
body.light-theme .mega-card h4 {
  color: #000000 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .submodule-card p,
[data-theme="light"] .callout-content p,
[data-theme="light"] .overview-card-desc,
[data-theme="light"] .mega-card p,
body.light-theme .submodule-card p,
body.light-theme .callout-content p,
body.light-theme .overview-card-desc,
body.light-theme .mega-card p {
  color: #334155 !important;
  font-weight: 500 !important;
}

/* Footer in Light Theme */
[data-theme="light"] .site-footer,
body.light-theme .site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  color: #0f172a !important;
  border-top: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .site-footer .footer-brand-tagline,
[data-theme="light"] .site-footer .footer-block-title,
[data-theme="light"] .site-footer .footer-col-title,
body.light-theme .site-footer .footer-brand-tagline,
body.light-theme .site-footer .footer-block-title,
body.light-theme .site-footer .footer-col-title {
  color: #000000 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .site-footer .footer-nav-list li a,
body.light-theme .site-footer .footer-nav-list li a {
  `n white-space: nowrap !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .site-footer .footer-social-icon,
body.light-theme .site-footer .footer-social-icon {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .site-footer .footer-ai-card,
body.light-theme .site-footer .footer-ai-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .site-footer .footer-ai-speech h6,
body.light-theme .site-footer .footer-ai-speech h6 {
  color: #000000 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .site-footer .footer-bottom,
body.light-theme .site-footer .footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

[data-theme="light"] .site-footer .copyright-text,
[data-theme="light"] .site-footer .footer-bottom-links a,
body.light-theme .site-footer .copyright-text,
body.light-theme .site-footer .footer-bottom-links a,
body:not(.dark-theme) .site-footer .copyright-text,
body:not(.dark-theme) .site-footer .footer-bottom-links a {
  color: #334155 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .site-footer .footer-brand-desc,
body.light-theme .site-footer .footer-brand-desc,
body:not(.dark-theme) .site-footer .footer-brand-desc {
  color: #334155 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .site-footer .footer-ai-speech p,
body.light-theme .site-footer .footer-ai-speech p,
body:not(.dark-theme) .site-footer .footer-ai-speech p {
  color: #334155 !important;
  font-weight: 500 !important;
}

/* Footer Logo Switch for Light vs Dark Theme */
[data-theme="light"] .site-footer .footer-logo img,
body.light-theme .site-footer .footer-logo img,
body:not(.dark-theme) .site-footer .footer-logo img {
  content: url('../assets/images/logo/logo.png') !important;
}

[data-theme="dark"] .site-footer .footer-logo img,
body.dark-theme .site-footer .footer-logo img {
  content: url('../assets/images/logo/logo-white.png') !important;
}

/* DARK THEME RULES */
[data-theme="dark"] body,
body.dark-theme {
  background-color: #070c17 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .site-header,
body.dark-theme .site-header {
  background: rgba(11, 15, 25, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .site-header nav .nav-list>li>a,
body.dark-theme .site-header nav .nav-list>li>a {
  color: #ffffff !important;
}

[data-theme="dark"] .dropdown-menu,
body.dark-theme .dropdown-menu {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .dropdown-menu a,
body.dark-theme .dropdown-menu a {
  color: #ffffff !important;
}

[data-theme="dark"] .site-footer,
body.dark-theme .site-footer {
  background: #070c17 !important;
  color: #e2e8f0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !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: 1px solid #fecaca !important;
    background: #fef2f2 !important;
    box-shadow: none !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: #fee2e2 !important;
    color: #dc2626 !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #b91c1c !important;
    font-weight: 600 !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: none !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;
    background: #ef4444 !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 {
    --tw-bg-opacity: 1;
    background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !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: #ef4444 !important;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.overview-card-btn:hover {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}




/* ==========================================================================
   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: none !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: 1px solid #fecaca !important;
    background: #fef2f2 !important;
    box-shadow: none !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: #fee2e2 !important;
    color: #dc2626 !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #b91c1c !important;
    font-weight: 600 !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;
    background: #ef4444 !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 {
    --tw-bg-opacity: 1;
    background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !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: none !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: 1px solid #fecaca !important;
    background: #fef2f2 !important;
    box-shadow: none !important;
  }

  .focus-sidebar .focus-btn.active .icon-box {
    background: #fee2e2 !important;
    color: #dc2626 !important;
  }

  .focus-sidebar .focus-btn.active span,
  .focus-sidebar .focus-btn.active .arrow-icon {
    color: #b91c1c !important;
    font-weight: 600 !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;
    background: #ef4444 !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 {
    --tw-bg-opacity: 1;
    background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !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;
}


/* MASTER OVERRIDE FOR BUTTON TEXT */
.focus-overview-card .overview-card-btn,
.overview-card-btn {
  color: #ffffff !important;
}

.focus-overview-card .overview-card-btn:hover,
.overview-card-btn:hover {
  color: #ffffff !important;
}

/* ==========================================================================
   FOCUS AREAS ACTIVE BUTTON RE-STYLE (Light Red Professional Style)
   ========================================================================== */
.focus-sidebar .focus-btn.active {
  border: 1px solid #fecaca !important;
  background: #fef2f2 !important;
  box-shadow: none !important;
}

.focus-sidebar .focus-btn.active .icon-box {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.focus-sidebar .focus-btn.active span,
.focus-sidebar .focus-btn.active .arrow-icon {
  color: #b91c1c !important;
  font-weight: 600 !important;
}

/* Dark Theme Adjustments for Active Button */
body.dark-theme .focus-sidebar .focus-btn.active,
[data-theme="dark"] .focus-sidebar .focus-btn.active {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-theme .focus-sidebar .focus-btn.active .icon-box,
[data-theme="dark"] .focus-sidebar .focus-btn.active .icon-box {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #ef4444 !important;
}

body.dark-theme .focus-sidebar .focus-btn.active span,
body.dark-theme .focus-sidebar .focus-btn.active .arrow-icon,
[data-theme="dark"] .focus-sidebar .focus-btn.active span,
[data-theme="dark"] .focus-sidebar .focus-btn.active .arrow-icon {
  color: #f8fafc !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;
}

/* Overview Learn More Button */
.overview-card-btn,
.focus-overview-card .overview-card-btn {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  color: #0f172a !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(190 30 18 / var(--tw-bg-opacity, 1)) !important;
  color: #ffffff !important;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .focus-sidebar .focus-btn.active,
body.dark-theme .focus-sidebar .focus-btn.active {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  border-color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}

[data-theme="dark"] .focus-sidebar .focus-btn.active span,
body.dark-theme .focus-sidebar .focus-btn.active span {
  color: #ffffff !important;
}

[data-theme="dark"] .overview-card-btn,
[data-theme="dark"] .focus-overview-card .overview-card-btn,
body.dark-theme .overview-card-btn,
body.dark-theme .focus-overview-card .overview-card-btn {
  color: #ffffff !important;
}


/* ==========================================================================
   FLOATING THEME SWITCHER WIDGET STYLES (Clean Red Active Highlight & Dark Mode)
   ========================================================================== */
.floating-theme-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-theme-btn .theme-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #df2a19 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.floating-theme-btn .theme-btn:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 6px 20px rgba(223, 42, 25, 0.5) !important;
}

.theme-dropdown-menu {
  position: absolute !important;
  bottom: calc(100% + 12px) !important;
  right: 0 !important;
  width: 140px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease !important;
  z-index: 10000 !important;
}

.floating-theme-btn:hover .theme-dropdown-menu,
.floating-theme-btn.open .theme-dropdown-menu,
.floating-theme-btn:focus-within .theme-dropdown-menu {
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateY(0) !important;
}

.theme-dropdown-menu a {
  display: block !important;
  padding: 12px 20px !important;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  background: transparent !important;
  border: none !important;
}

.theme-dropdown-menu a:hover:not(.active) {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.theme-dropdown-menu a.active,
.theme-dropdown-menu a.active:hover {
  background: #df2a19 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Ensure Dark theme applies correctly to the dropdown menu */
html[data-theme="dark"] .theme-dropdown-menu,
body.dark-theme .theme-dropdown-menu {
  background: #1e293b !important;
  border-color: #334155 !important;
}

html[data-theme="dark"] .theme-dropdown-menu a,
body.dark-theme .theme-dropdown-menu a {
  color: #f8fafc !important;
}

html[data-theme="dark"] .theme-dropdown-menu a:hover:not(.active),
body.dark-theme .theme-dropdown-menu a:hover:not(.active) {
  background: #334155 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .theme-dropdown-menu a.active,
html[data-theme="dark"] .theme-dropdown-menu a.active:hover,
body.dark-theme .theme-dropdown-menu a.active,
body.dark-theme .theme-dropdown-menu a.active:hover {
  background: #df2a19 !important;
  color: #ffffff !important;
  font-weight: 700 !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;
}

/* Clean Pseudo-Element Background Effects for Site Footer */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 42, 25, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Ensure Focus Mega Menu displays flex on hover */
.has-dropdown:hover .dropdown-menu.focus-mega-menu,
.has-dropdown.mobile-open .dropdown-menu.focus-mega-menu {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

/* ==========================================================================
   MOBILE VIEW SUB MENU & RESPONSIVE TOGGLE BUTTON REFINEMENT
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header nav {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    display: none !important;
    padding: 16px 20px 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  }

  body.dark-theme .site-header nav,
  html[data-theme="dark"] .site-header nav {
    background: #0f172a !important;
  }

  .site-header nav.mobile-active {
    display: block !important;
  }

  .nav-list>li>a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px !important;
    color: #0f172a !important;
  }

  body.dark-theme .nav-list>li>a,
  html[data-theme="dark"] .nav-list>li>a {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  .has-dropdown>a::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    transition: transform 0.3s ease !important;
    color: var(--primary) !important;
    margin-left: auto !important;
  }

  .has-dropdown.mobile-open>a::after {
    transform: rotate(180deg) !important;
  }

  .dropdown-menu,
  .dropdown-menu.mega-menu-cards,
  .dropdown-menu.focus-mega-menu,
  .dropdown-menu.services-list-menu,
  .dropdown-menu.mega-menu-cards.platforms-list-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: none !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    background: rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
  }

  body.dark-theme .dropdown-menu,
  body.dark-theme .dropdown-menu.focus-mega-menu,
  body.dark-theme .dropdown-menu.services-list-menu,
  body.dark-theme .dropdown-menu.mega-menu-cards.platforms-list-menu,
  html[data-theme="dark"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .has-dropdown.mobile-open .dropdown-menu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  .focus-sidebar {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .focus-sidebar .focus-btn {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .focus-main-content {
    display: none !important;
  }

  .dropdown-menu.services-list-menu,
  .dropdown-menu.mega-menu-cards.platforms-list-menu {
    grid-template-columns: 1fr !important;
    display: none !important;
  }

  .has-dropdown.mobile-open .dropdown-menu.services-list-menu,
  .has-dropdown.mobile-open .dropdown-menu.mega-menu-cards.platforms-list-menu {
    display: flex !important;
    flex-direction: column !important;
  }

  .platform-list-col {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .platform-list-item {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   MOBILE SLIDE-IN DRAWER PANEL
   ========================================================================== */

/* Backdrop overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 10000;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.mobile-nav-overlay.overlay-visible {
  display: block;
  opacity: 1;
}

/* Drawer panel */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

body.dark-theme .mobile-nav-drawer,
html[data-theme="dark"] .mobile-nav-drawer {
  background: #0f172a;
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.drawer-open-state {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

/* Drawer Header: logo + close button */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

body.dark-theme .drawer-header,
html[data-theme="dark"] .drawer-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.drawer-logo img {
  height: 40px;
  width: auto;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #0f172a;
  border-radius: 8px;
  font-size: 18px;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: #0f172a;
  color: #ffffff;
}

body.dark-theme .drawer-close-btn,
html[data-theme="dark"] .drawer-close-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

body.dark-theme .drawer-close-btn:hover,
html[data-theme="dark"] .drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Drawer Nav Content area (scrollable) */
.drawer-nav-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

/* Drawer Nav List */
.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each nav row: link + chevron button */
.drawer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .drawer-nav-row,
html[data-theme="dark"] .drawer-nav-row {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.drawer-nav-row>a {
  flex: 1;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: block;
}

body.dark-theme .drawer-nav-row>a,
html[data-theme="dark"] .drawer-nav-row>a {
  color: #f1f5f9;
}

/* Simple nav items (no dropdown) */
.drawer-nav-list>li>a {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .drawer-nav-list>li>a,
html[data-theme="dark"] .drawer-nav-list>li>a {
  color: #f1f5f9;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

/* Chevron toggle button */
.drawer-chevron-btn {
  background: none;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  color: #df2a19;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-chevron-btn i {
  transition: transform 0.3s ease;
}

/* Submenu dropdown inside drawer */
.drawer-submenu {
  display: none;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background: rgba(15, 23, 42, 0.03) !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 8px 0 !important;
  flex-direction: column !important;
  gap: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

body.dark-theme .drawer-submenu,
html[data-theme="dark"] .drawer-submenu {
  background: rgba(255, 255, 255, 0.04) !important;
}

.has-dropdown.drawer-open>.drawer-submenu,
.has-dropdown.drawer-open .drawer-submenu {
  display: flex !important;
}

/* Links inside drawer submenus */
.drawer-submenu a.platform-list-item,
.drawer-submenu a.focus-btn,
.drawer-submenu .platform-list-col a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 20px 11px 28px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

body.dark-theme .drawer-submenu a.platform-list-item,
body.dark-theme .drawer-submenu a.focus-btn,
body.dark-theme .drawer-submenu .platform-list-col a,
html[data-theme="dark"] .drawer-submenu a.platform-list-item,
html[data-theme="dark"] .drawer-submenu a.focus-btn,
html[data-theme="dark"] .drawer-submenu .platform-list-col a {
  color: #94a3b8 !important;
  border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.drawer-submenu a.platform-list-item:hover,
.drawer-submenu a.focus-btn:hover,
.drawer-submenu .platform-list-col a:hover {
  color: #df2a19 !important;
  background: rgba(223, 42, 25, 0.04) !important;
}

.drawer-submenu .platform-item-icon,
.drawer-submenu .icon-box {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  background: #fee2e2 !important;
  color: #df2a19 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Hide desktop-only elements in drawer submenus */
.drawer-submenu .focus-main-content,
.drawer-submenu .arrow-icon,
.drawer-submenu .platform-item-desc {
  display: none !important;
}

.drawer-submenu .focus-sidebar {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Drawer Footer: contact info */
.drawer-footer {
  flex-shrink: 0;
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

body.dark-theme .drawer-footer,
html[data-theme="dark"] .drawer-footer {
  background: #0b1120;
  border-top-color: rgba(255, 255, 255, 0.07);
}

.drawer-contact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.drawer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  margin-bottom: 6px;
}

.drawer-contact-link i {
  width: 16px;
  color: #df2a19;
  flex-shrink: 0;
}

body.dark-theme .drawer-contact-link,
html[data-theme="dark"] .drawer-contact-link {
  color: #94a3b8;
}

.drawer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.drawer-social-row a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fee2e2;
  color: #df2a19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-social-row a:hover {
  background: #df2a19;
  color: #ffffff;
}

body.dark-theme .drawer-social-row a,
html[data-theme="dark"] .drawer-social-row a {
  background: rgba(223, 42, 25, 0.15);
}

/* Show toggle button on mobile only */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex !important;
  }

  .site-header nav {
    display: none !important;
  }
}

@media (min-width: 1025px) {

  .mobile-nav-drawer,
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE DRAWER SUBMENU — SERVICES & PLATFORMS ALIGNMENT FIX
   Must come LAST to override all desktop grid/flex mega-menu rules
   ========================================================================== */

/* Force all dropdown variants inside the drawer to stack vertically */
.mobile-nav-drawer .drawer-submenu.services-list-menu,
.mobile-nav-drawer .drawer-submenu.platforms-list-menu,
.mobile-nav-drawer .drawer-submenu.mega-menu-cards,
.mobile-nav-drawer .drawer-submenu.mega-menu-cards.platforms-list-menu,
.mobile-nav-drawer .drawer-submenu.focus-mega-menu,
.mobile-nav-drawer .drawer-submenu {
  display: none !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  flex-direction: column !important;
  /* Override grid completely */
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 4px 0 8px !important;
  background: rgba(15, 23, 42, 0.03) !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.dark-theme .mobile-nav-drawer .drawer-submenu,
html[data-theme="dark"] .mobile-nav-drawer .drawer-submenu {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Show submenu only when parent has drawer-open class */
.mobile-nav-drawer .has-dropdown.drawer-open > .drawer-submenu,
.mobile-nav-drawer .has-dropdown.drawer-open .drawer-submenu {
  display: flex !important;
}

/* Column containers inside drawer — all must be full-width stacked */
.mobile-nav-drawer .drawer-submenu .platform-list-col,
.mobile-nav-drawer .drawer-submenu .focus-sidebar {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 0 !important;
  grid-column: auto !important;
}

/* Every link inside drawer submenu — full width, no clipping */
.mobile-nav-drawer .drawer-submenu a,
.mobile-nav-drawer .drawer-submenu a.platform-list-item,
.mobile-nav-drawer .drawer-submenu a.focus-btn,
.mobile-nav-drawer .drawer-submenu .platform-list-col a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  /* Even padding left so icons & text never clip */
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  overflow: hidden !important;
  white-space: normal !important;
}

body.dark-theme .mobile-nav-drawer .drawer-submenu a,
html[data-theme="dark"] .mobile-nav-drawer .drawer-submenu a {
  color: #94a3b8 !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.mobile-nav-drawer .drawer-submenu a:hover,
.mobile-nav-drawer .drawer-submenu a.platform-list-item:hover,
.mobile-nav-drawer .drawer-submenu a.focus-btn:hover {
  color: #df2a19 !important;
  background: rgba(223, 42, 25, 0.04) !important;
}

/* Icon boxes — always visible, always fixed size */
.mobile-nav-drawer .drawer-submenu .platform-item-icon,
.mobile-nav-drawer .drawer-submenu .icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex-shrink: 0 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  background: #fee2e2 !important;
  color: #df2a19 !important;
}

/* Text label — takes remaining space, truncates if too long */
.mobile-nav-drawer .drawer-submenu .platform-item-title,
.mobile-nav-drawer .drawer-submenu a > span:not(.platform-item-icon):not(.icon-box) {
  flex: 1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Hide all desktop-only decorative/preview elements in drawer */
.mobile-nav-drawer .drawer-submenu .focus-main-content,
.mobile-nav-drawer .drawer-submenu .arrow-icon,
.mobile-nav-drawer .drawer-submenu .platform-item-desc,
.mobile-nav-drawer .drawer-submenu .focus-image-wrapper,
.mobile-nav-drawer .drawer-submenu .overview-card-desc,
.mobile-nav-drawer .drawer-submenu .submodules-grid,
.mobile-nav-drawer .drawer-submenu .focus-preview-submenu,
.mobile-nav-drawer .drawer-submenu .fa-chevron-right {
  display: none !important;
}

/* ==========================================================================
   FRESH MOBILE DRAWER — DRW-* CLASSES (Zero conflict with desktop nav)
   ========================================================================== */

/* Overlay */
.drw-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(2px);
  z-index: 10100;
}
.drw-overlay.drw-overlay-on { display: block; }

/* Drawer panel */
.drw-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 10101;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 6px 0 40px rgba(0,0,0,0.16);
  overflow: hidden;
}
body.dark-theme .drw-panel,
html[data-theme="dark"] .drw-panel {
  background: #0f172a;
  box-shadow: 6px 0 40px rgba(0,0,0,0.55);
}
.drw-panel.drw-open-state { transform: translateX(0); }

/* Lock body scroll */
body.drw-body-lock { overflow: hidden; }

/* ─── Drawer Header ─────────────────────────────────────────────── */
.drw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
body.dark-theme .drw-header,
html[data-theme="dark"] .drw-header {
  border-bottom-color: rgba(255,255,255,0.08);
}
.drw-logo img {
  height: 38px;
  width: auto;
}
.drw-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #0f172a;
  border-radius: 8px;
  font-size: 17px;
  color: #0f172a;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.drw-close:hover {
  background: #0f172a;
  color: #ffffff;
}
body.dark-theme .drw-close,
html[data-theme="dark"] .drw-close {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}
body.dark-theme .drw-close:hover,
html[data-theme="dark"] .drw-close:hover {
  background: rgba(255,255,255,0.12);
}

/* ─── Drawer Content (scrollable) ────────────────────────────────── */
.drw-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
}

/* ─── Top-level nav list ─────────────────────────────────────────── */
.drw-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.drw-item {
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
body.dark-theme .drw-item,
html[data-theme="dark"] .drw-item {
  border-bottom-color: rgba(255,255,255,0.07);
}

/* ─── Top-level link & row ───────────────────────────────────────── */
.drw-top-link {
  display: block;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}
body.dark-theme .drw-top-link,
html[data-theme="dark"] .drw-top-link {
  color: #f1f5f9;
}

/* Row for items that have a chevron button alongside the link */
.drw-row {
  display: flex;
  align-items: center;
  width: 100%;
}
.drw-row .drw-top-link {
  flex: 1;
  min-width: 0;
}

/* Chevron toggle button */
.drw-chevron {
  background: none;
  border: none;
  padding: 15px 18px;
  cursor: pointer;
  color: #df2a19;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drw-chevron i {
  transition: transform 0.28s ease;
}

/* ─── Submenu list ───────────────────────────────────────────────── */
.drw-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  background: rgba(15,23,42,0.03);
  width: 100%;
  box-sizing: border-box;
}
body.dark-theme .drw-sub,
html[data-theme="dark"] .drw-sub {
  background: rgba(255,255,255,0.04);
}

/* Show submenu when parent is open */
.drw-item.drw-open > .drw-sub {
  display: block;
}

/* Submenu link */
.drw-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.2s, background 0.2s;
}
body.dark-theme .drw-sub-link,
html[data-theme="dark"] .drw-sub-link {
  color: #94a3b8;
  border-bottom-color: rgba(255,255,255,0.04);
}
.drw-sub-link:hover {
  color: #df2a19;
  background: rgba(223,42,25,0.04);
}

/* Icon box inside submenu link */
.drw-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  background: #fee2e2;
  color: #df2a19;
  font-size: 13px;
  flex-shrink: 0;
}
body.dark-theme .drw-icon-box,
html[data-theme="dark"] .drw-icon-box {
  background: rgba(223,42,25,0.15);
}

/* Text inside submenu link */
.drw-link-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Drawer Footer ──────────────────────────────────────────────── */
.drw-footer {
  flex-shrink: 0;
  padding: 14px 18px 22px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #f8fafc;
}
body.dark-theme .drw-footer,
html[data-theme="dark"] .drw-footer {
  background: #0b1120;
  border-top-color: rgba(255,255,255,0.07);
}
.drw-contact-lbl {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.drw-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  margin-bottom: 6px;
}
.drw-contact-link i { color: #df2a19; width: 15px; flex-shrink: 0; }
body.dark-theme .drw-contact-link,
html[data-theme="dark"] .drw-contact-link { color: #94a3b8; }

.drw-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.drw-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fee2e2;
  color: #df2a19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.drw-socials a:hover { background: #df2a19; color: #fff; }
body.dark-theme .drw-socials a,
html[data-theme="dark"] .drw-socials a {
  background: rgba(223,42,25,0.15);
}

/* ─── Visibility guards ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mobile-menu-toggle { display: flex !important; }
  .site-header nav { display: none !important; }
}
@media (min-width: 1025px) {
  .drw-panel,
  .drw-overlay { display: none !important; }
}

/* ==========================================================================
   AI LAB TECHNOLOGIES — COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Supports: 4K Desktops, Standard Laptops, Tablets (Landscape & Portrait),
   Mobile Large, Mobile Medium, Extra Small Devices (down to 320px)
   ========================================================================== */

/* ─── 0. Universal Fluid Assets & Layout Safety Defaults ──────────────── */
img, video, canvas, svg, iframe {
  max-width: 100% !important;
  height: auto;
}

.img-fluid, .responsive-img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* Touch friendly min-height for interactive elements */
a, button, input, select, textarea, .btn {
  touch-action: manipulation;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  display: block;
}

/* ─── 1. Desktop & Widescreen Scaling (max-width: 1200px) ───────────────── */
@media (max-width: 1200px) {
  .container, .hp-container, .hero-container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-pad, .hp-section-pad {
    padding: 72px 0;
  }

  .section-pad-lg, .hp-section-pad-lg {
    padding: 84px 0;
  }

  /* 4-column grids scale to 3 or 2 */
  .grid-4, .footer-grid, .features-grid-4 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
  }
}

/* ─── 2. Laptops & Landscape Tablets (max-width: 992px) ─────────────────── */
@media (max-width: 992px) {
  .container, .hp-container, .hero-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-pad, .hp-section-pad {
    padding: 56px 0;
  }

  .section-pad-lg, .hp-section-pad-lg {
    padding: 68px 0;
  }

  /* Typography Scale Down */
  h1, .hero-title, .title-lg, .heading-xl, .page-title {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }

  h2, .section-title, .title-md, .heading-lg {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  h3, .title-sm, .heading-md {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  /* Convert 2-column hero split rows to vertical stack */
  .hero-row, .split-row, .feature-split, .two-col-grid, .contact-split, .about-split-row {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-content, .hero-visual, .split-left, .split-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Convert 3-column and 4-column card grids to 2-column */
  .grid-3, .grid-4, .services-grid, .products-grid, .features-grid,
  .team-grid, .cards-grid, .stats-grid, .footer-grid, .footer-cols {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Adjust Card paddings */
  .card, .service-card, .product-card, .feature-card, .info-card, .career-card, .contact-card {
    padding: 24px !important;
  }
}

/* ─── 3. Portrait Tablets & Mobile Large (max-width: 768px) ─────────────── */
@media (max-width: 768px) {
  .container, .hp-container, .hero-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-pad, .hp-section-pad {
    padding: 44px 0;
  }

  .section-pad-lg, .hp-section-pad-lg {
    padding: 52px 0;
  }

  /* Compact Header Navbar */
  .site-header {
    padding: 2px 0;
  }

  .nav-wrap {
    height: 52px !important;
    min-height: 52px !important;
  }

  .logo-img {
    height: 32px !important;
    max-height: 32px !important;
  }

  /* Typography Mobile Scale */
  h1, .hero-title, .title-lg, .heading-xl, .page-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }

  h2, .section-title, .title-md, .heading-lg {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  h3, .title-sm, .heading-md {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
  }

  p, .lead-text, .section-desc, .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  /* Convert all grids to 1 column */
  .grid-2, .grid-3, .grid-4, .services-grid, .products-grid, .features-grid,
  .team-grid, .cards-grid, .footer-grid, .footer-cols, .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Keep compact stats / metrics in 2 columns */
  .stats-grid, .badges-grid, .metrics-grid, .quick-facts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Stack button groups vertically on mobile */
  .btn-group, .hero-buttons, .cta-buttons, .action-buttons, .button-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .btn-group .btn, .hero-buttons .btn, .cta-buttons .btn, .action-buttons .btn, .button-row .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Forms & Inputs Responsive */
  .form-group, .form-control, input[type="text"], input[type="email"],
  input[type="tel"], input[type="number"], textarea, select {
    width: 100% !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 12px 14px !important;
  }

  .form-row, .input-row, .form-grid {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Footer Mobile Layout */
  .site-footer, footer {
    padding: 40px 0 24px !important;
    text-align: center !important;
  }

  .footer-bottom, .footer-sub {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .footer-socials {
    justify-content: center !important;
  }
}

/* ─── 4. Small Mobile Devices (max-width: 480px) ────────────────────────── */
@media (max-width: 480px) {
  .container, .hp-container, .hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-pad, .hp-section-pad {
    padding: 36px 0;
  }

  .section-pad-lg, .hp-section-pad-lg {
    padding: 44px 0;
  }

  h1, .hero-title, .title-lg, .page-title {
    font-size: 1.55rem !important;
  }

  h2, .section-title, .title-md {
    font-size: 1.3rem !important;
  }

  .card, .service-card, .product-card, .feature-card, .info-card {
    padding: 18px 14px !important;
    border-radius: 12px !important;
  }

  /* Stack stats grid to 1 column on extra small screens */
  .stats-grid, .metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .stat-card, .metric-box {
    padding: 16px 12px !important;
  }
}

/* ─── 5. Ultra Small Screen Guard (max-width: 360px) ────────────────────── */
@media (max-width: 360px) {
  .container, .hp-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1, .hero-title {
    font-size: 1.4rem !important;
  }

  .site-logo span {
    font-size: 14px !important;
  }
}