:root {
  --bg: #FFFFFF;
  --card: #F8F9FA;
  --card-hover: #F1F5F9;
  --primary-orange: #7C3AED;
  --orange-hover: #6D28D9;
  --main-text: #111827;
  --secondary-text: #4B5563;
  --borders: #E5E7EB;
  --white: #FFFFFF;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--main-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
label,
input,
button,
textarea {
  overflow-wrap: break-word;
  word-break: break-word;
}

.shell {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-content,
.container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Typography & Base Components
   ========================================================================== */
h1,
h2,
h3,
h4 {
  color: var(--main-text);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(26px, 5vw, 64px);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

h1 em,
h2 em {
  color: var(--primary-orange);
  font-style: normal;
}

h2 {
  font-size: clamp(22px, 3.5vw, 42px);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  margin-bottom: 10px;
}

p {
  color: var(--secondary-text);
  font-size: 15px;
  line-height: 1.6;
}

.eyebrow {
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: var(--primary-orange);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid var(--primary-orange);
  cursor: pointer;
  transition: all 0.25s ease;
  max-width: 100%;
  text-align: center;
}

.btn:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--main-text);
  border-color: var(--borders);
}

.btn-secondary:hover {
  background-color: var(--card);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ==========================================================================
   Sticky Navbar & Mega-Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borders);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background-color: #FFFFFF;
  border-bottom-color: rgba(124, 58, 237, 0.2);
}

.nav {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--main-text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand b {
  color: var(--primary-orange);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--primary-orange);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 18px;
  border-radius: 6px;
}

.nav-panel,
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.services-trigger {
  padding: 10px 0;
  border: none;
  background: none;
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover,
.nav-links a.active,
.services-trigger:hover {
  color: var(--primary-orange);
}

.services-trigger span {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.services-nav.open .services-trigger span {
  transform: rotate(180deg);
}

/* Mega-Menu */
.services-nav {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  max-width: 90vw;
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-out;
  z-index: 1001;
}

.services-nav.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-text);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mega-category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mega-cat {
  border: 1px solid var(--borders);
  border-radius: 6px;
  background-color: var(--bg);
  overflow: hidden;
}

.mega-cat-toggle {
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: none;
  color: var(--main-text);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mega-cat-toggle:hover,
.mega-cat.open .mega-cat-toggle {
  background-color: var(--card-hover);
  color: var(--primary-orange);
}

.mega-sub-items {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.mega-cat.open .mega-sub-items {
  grid-template-rows: 1fr;
}

.mega-sub-items>div {
  overflow: hidden;
}

.mega-cat.open .mega-sub-items>div {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--borders);
}

.mega-sub-items a {
  display: block;
  padding: 5px 0;
  color: var(--secondary-text);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mega-sub-items a:hover {
  color: var(--primary-orange);
  transform: translateX(3px);
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle i {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--main-text);
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section & Automatic Slider
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0D0E12;
  min-height: 600px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.slide-banner {
  width: 100%;
  height: 100%;
  line-height: 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.9) contrast(1.05);
}

/* Keep hero-btn usable elsewhere on page */
.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255, 107, 26, 0.4);
}

.hero-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 26, 0.6);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.dot.active {
  background: var(--primary-color);
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}
/* ==========================================================================
   Hero Section & Interactive Showcase Slider
   ========================================================================== */
.hero {
  padding: 60px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 26, 0.08), transparent 40%), var(--bg);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-copy {
  max-width: 840px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--secondary-text);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Upgraded Hero Service Showcase Box */
.hero-slider-wrap {
  /* background-color: var(--card); */
  /* border: 1px solid var(--borders); */
  border-radius: 14px;
  padding: 24px 30px 30px;
  position: relative;
  /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); */
}

.hero-service-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--borders);
  scrollbar-width: none;
}

.hero-service-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 8px 14px;
  background-color: var(--bg);
  border: 1px solid var(--borders);
  border-radius: 20px;
  color: var(--secondary-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover {
  border-color: var(--primary-orange);
  color: var(--main-text);
}

.tab-btn.active {
  background-color: var(--primary-orange);
  color: var(--bg);
  border-color: var(--primary-orange);
}

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

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--borders);
  background-color: var(--bg);
  color: var(--main-text);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background-color: var(--primary-orange);
  color: var(--bg);
  border-color: var(--primary-orange);
}

.slider-container {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  /* grid-template-columns: 1.2fr 0.8fr; */
  gap: 30px;
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content-left h3 {
  font-size: 24px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.25;
}

.slide-content-left p {
  font-size: 15px;
  color: var(--secondary-text);
  margin-bottom: 18px;
  line-height: 1.6;
}

.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.slide-tag {
  padding: 4px 10px;
  background-color: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  border-radius: 4px;
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 600;
}

.slide-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Image Box inside Hero Slider */
.hero-image-card {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--borders);
  background-color: var(--bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.hero-image-card:hover .hero-slide-img {
  transform: scale(1.05);
}

.widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-text);
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borders);
}

.widget-head small {
  background: var(--primary-orange);
  color: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
}

.widget-head small.live-dot {
  background: #22c55e;
}

.chat-sim-msg {
  background: var(--card);
  border: 1px solid var(--borders);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--main-text);
}

.chat-sim-reply {
  background: rgba(255, 107, 26, 0.15);
  border: 1px solid var(--primary-orange);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--white);
}

.widget-metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.widget-metric div {
  background: var(--card);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--borders);
  text-align: center;
}

.widget-metric small {
  display: block;
  font-size: 10px;
  color: var(--secondary-text);
}

.widget-metric strong {
  font-size: 16px;
  color: var(--primary-orange);
}

.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feed-item {
  background: var(--card);
  border: 1px solid var(--borders);
  border-radius: 6px;
  padding: 8px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
}

.feed-item.full {
  grid-column: span 2;
  border-color: var(--primary-orange);
}

.feed-item span {
  color: var(--primary-orange);
  font-weight: 700;
}

.curriculum-item {
  background: var(--card);
  border: 1px solid var(--borders);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.curriculum-item span {
  color: var(--primary-orange);
  font-size: 11px;
}

.widget-badge {
  text-align: center;
  padding: 6px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px dashed var(--primary-orange);
  border-radius: 4px;
  font-size: 11px;
  color: var(--white);
  font-weight: 700;
}

.rack-sim {
  display: flex;
  gap: 6px;
}

.rack-unit {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--borders);
  padding: 10px 6px;
  border-radius: 6px;
  text-align: center;
  font-size: 10px;
}

.rack-unit.active {
  border-color: var(--primary-orange);
}

.rack-unit b {
  display: block;
  color: var(--primary-orange);
  margin-top: 4px;
}

.chart-sim {
  height: 70px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 8px;
  background: var(--card);
  border-radius: 6px;
  border: 1px solid var(--borders);
}

.chart-bar {
  flex: 1;
  background: #2d303e;
  border-radius: 4px 4px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 2px;
  font-size: 9px;
  color: var(--secondary-text);
}

.chart-bar.active {
  background: var(--primary-orange);
  color: var(--bg);
  font-weight: bold;
}

.app-sim-screen {
  background: var(--card);
  border: 1px solid var(--borders);
  border-radius: 8px;
  padding: 12px;
}

.app-sim-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--borders);
  padding-bottom: 4px;
}

.app-sim-body span {
  display: block;
  font-size: 11px;
  color: var(--secondary-text);
  margin-bottom: 4px;
}

.dots {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.dots button {
  width: 20px;
  height: 4px;
  background-color: var(--borders);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dots button.active {
  background-color: var(--primary-orange);
  width: 36px;
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

.service-card {
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: var(--card-hover);
  border-color: var(--primary-orange);
  transform: translateY(-4px);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 107, 26, 0.28);
  border-radius: 12px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--primary-orange);
  margin-bottom: 18px;
}

.card-icon-box svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-explore-btn {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: transform 0.2s ease;
}

.card-explore-btn:hover {
  transform: translateX(4px);
}

/* ==========================================================================
   Dedicated Service Sections (AI Solutions, AI Monitoring, etc.)
   ========================================================================== */
.bg-subtle {
  background-color: #fbfbfb;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.about-visual {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--borders);
  background: var(--card);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.about-visual img {
  width: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-visual:hover img { transform: scale(1.04); }

.about-copy h2 { margin-bottom: 18px; }

.about-copy p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.about-stat {
  position: relative;
  min-height: 176px;
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--primary-orange);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition-delay: calc(var(--stat-index) * 90ms);
}

.about-stat::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  background: #f1f1f1;
  box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.18);
  z-index: 0;
}

.about-stat:nth-child(even) { border-color: var(--main-text); }

.about-stat::after {
  content: '';
  position: absolute;
  left: -2px;
  right: 55%;
  bottom: -2px;
  height: 10px;
  background: var(--primary-orange);
  border-radius: 0 0 0 10px;
}

.about-stat:nth-child(even)::after { background: var(--main-text); }
.about-stat:hover { transform: translateY(-7px); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2); }

.about-stat-icon {
  color: var(--primary-orange);
  margin-bottom: 10px;
  transform-origin: center;
}
.about-stat:nth-child(even) .about-stat-icon { color: var(--main-text); }

.about-stat:hover .about-stat-icon {
  animation: aboutIconWiggle 0.7s ease-in-out infinite;
}

@keyframes aboutIconWiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .about-stat:hover .about-stat-icon { animation: none; }
}

/* ==========================================================================
   Mobile Layout Refinements
   ========================================================================== */
@media (max-width: 768px) {
  .shell,
  .feature-content,
  .container {
    width: min(100% - 32px, 560px) !important;
  }

  h1 { font-size: clamp(28px, 8vw, 44px); }
  h2 { font-size: clamp(24px, 7vw, 34px); }

  .section { padding: 58px 0; }

  .hero-slider {
    height: min(72vh, 560px);
    min-height: 420px;
  }

  .banner-img { object-position: center center; }

  .services-grid,
  .why-grid,
  .marketing-grid,
  .sub-service-grid,
  .offering-grid,
  .app-dev-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .service-card,
  .why-card,
  .sub-service-card,
  .app-dev-card { padding: 20px; }

  .monitoring-split,
  .contact-grid,
  .about-layout,
  .ai-solutions-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-stats { gap: 14px; }
  .about-stat { min-height: 158px; }

  .dashboard-visual,
  .data-center-visual,
  .contact-form { padding: 20px; }

  .dash-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .form-actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn,
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section-heading { text-align: center; }
  .section-heading h2 { max-width: 100%; }
}

@media (max-width: 576px) {
  .shell,
  .feature-content,
  .container {
    width: calc(100% - 24px) !important;
  }

  .section { padding: 48px 0; }

  .hero-slider {
    height: 62vh;
    min-height: 360px;
  }

  .slider-dots {
    bottom: 12px;
    gap: 7px;
  }

  .dot { width: 10px; height: 10px; }

  .about-visual img,
  .ai-solutions-image img {
    min-height: 230px;
  }

  .about-stat strong { font-size: 30px; }

  .dash-grid { grid-template-columns: 1fr; }
  .map-view-box { grid-column: auto; }

  .process-grid {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .process-grid::before { left: 25px; }

  .process-step {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 150px;
  }

  .process-step .process-content,
  .process-step:nth-child(odd) .process-content,
  .process-step:nth-child(even) .process-content {
    margin-left: 8px;
    padding: 16px;
  }

  .process-node {
    width: 56px;
    height: 56px;
    border-width: 7px;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.7), 0 8px 16px rgba(0, 0, 0, 0.18);
  }

  .process-node svg { width: 23px; height: 23px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .copyright { align-items: flex-start; flex-direction: column; gap: 10px; }

  .phone-widget { right: 16px; bottom: 82px; }
}

.about-stat > * { position: relative; z-index: 1; }

.about-stat-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-stat strong { margin-bottom: 8px; font-size: 34px; line-height: 1; color: var(--black); }

.about-stat strong sup {
  color: var(--primary-orange);
  font-size: 22px;
  vertical-align: top;
}

.about-stat > span:last-child {
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.about-stat:nth-child(even) > span:last-child { color: var(--main-text); }

.ai-solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.ai-solutions-copy {
  max-width: 560px;
}

.ai-solutions-copy h2 {
  margin-bottom: 18px;
}

.ai-solutions-copy p {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.75;
}

.ai-solutions-image {
  min-height: 360px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--borders);
  background: var(--card);
}

.ai-solutions-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

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

.sub-service-card {
  padding: 22px;
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sub-service-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.sub-service-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.sub-service-card p {
  font-size: 13px;
  margin: 0;
}

/* AI Monitoring Dashboard Visual */
.monitoring-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.dashboard-visual {
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borders);
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-text);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.cam-box {
  background-color: var(--bg);
  border: 1px solid var(--borders);
  border-radius: 6px;
  padding: 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
}

.cam-box span {
  color: var(--primary-orange);
  font-weight: 700;
}

.cam-box small {
  color: var(--secondary-text);
}

.map-view-box {
  grid-column: span 2;
  background: linear-gradient(135deg, #1b1c24, #121319);
  border: 1px dashed var(--borders);
  border-radius: 6px;
  padding: 14px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

/* Data Center Visual */
.data-center-visual {
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 12px;
  /* padding: 30px; */
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  min-height: 200px;
}

.server-rack {
  width: 50px;
  height: 140px;
  background-color: var(--bg);
  border: 1px solid var(--borders);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.server-rack i {
  height: 12px;
  background-color: #252834;
  border-radius: 2px;
  display: block;
}

.server-rack i.active {
  background-color: var(--primary-orange);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.5);
}

/* Digital Marketing Cards */
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* AI App Dev Cards */
.app-dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.app-dev-card {
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 10px;
  padding: 32px;
  transition: all 0.3s ease;
}

.app-dev-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-4px);
}

/* ==========================================================================
   About, Career, Why Choose Us, Process, Industries
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.why-card:hover {
  border-color: var(--primary-orange);
}

.why-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 107, 26, 0.28);
  border-radius: 12px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--primary-orange);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-size: 18px;
  color: var(--black);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  isolation: isolate;
  padding: 20px 0;
}

.process-grid::before {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  background: var(--main-text);
  z-index: -1;
  transform: translateY(-50%);
}

.process-step {
  min-width: 0;
  min-height: 350px;
  position: relative;
  display: grid;
  grid-template-rows: 1fr 92px 1fr;
  align-items: center;
  transition-delay: calc(var(--step-index) * 100ms);
}

.process-content {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--borders);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.process-step:nth-child(odd) .process-content {
  grid-row: 1;
  align-self: end;
  margin-bottom: 14px;
}

.process-step:nth-child(even) .process-content {
  grid-row: 3;
  align-self: start;
  margin-top: 14px;
}

.process-step:hover .process-content {
  border-color: var(--primary-orange);
  transform: translateY(-4px);
}

.process-node {
  grid-row: 2;
  width: 86px;
  height: 86px;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 10px solid var(--main-text);
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary-orange);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7), 0 12px 22px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-node {
  color: var(--main-text);
  transform: scale(1.08) rotate(5deg);
}

.process-node svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  margin: 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 20px 14px;
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

.ind-icon {
  font-size: 26px;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.industry-card h4 {
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background-color: var(--card);
  border: 1px solid var(--borders);
  border-radius: 12px;
  padding: 36px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--main-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg);
  border: 1px solid var(--borders);
  border-radius: 6px;
  color: var(--main-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.contact-form select option {
  background-color: var(--card);
  color: var(--main-text);
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-message {
  margin-top: 16px;
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 600;
}

/* WhatsApp AI training enquiry widget */
.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
}

.whatsapp-launcher,
.whatsapp-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.whatsapp-launcher {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #25D366;
  /* border: 3px solid #fff; */
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35), 0 3px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-launcher:hover {
  background: #1ebe5d;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
}

.whatsapp-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.whatsapp-launcher-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.whatsapp-launcher-copy strong {
  font-size: 14px;
}

.whatsapp-launcher-copy small {
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.85;
}

.whatsapp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.whatsapp-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow-y: auto;
  color: var(--main-text);
  background: var(--card);
  border: 1px solid var(--borders);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-popup.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.whatsapp-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.whatsapp-popup-header h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.whatsapp-popup-eyebrow {
  color: #36c86f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.whatsapp-popup-intro {
  margin: 12px 0 20px;
  color: var(--secondary-text);
  font-size: 14px;
}

.whatsapp-close {
  width: 32px;
  height: 32px;
  color: var(--secondary-text);
  background: transparent;
  border: 1px solid var(--borders);
  border-radius: 6px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.whatsapp-close:hover {
  color: var(--main-text);
  border-color: var(--primary-orange);
}

.whatsapp-form {
  display: grid;
  gap: 8px;
}

.whatsapp-form label {
  color: var(--main-text);
  font-size: 13px;
  font-weight: 600;
}

.whatsapp-form input {
  width: 100%;
  padding: 11px 12px;
  color: var(--main-text);
  background: var(--bg);
  border: 1px solid var(--borders);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.whatsapp-form input:focus {
  border-color: #36c86f;
}

.whatsapp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  padding: 13px 16px;
  color: #fff;
  background: #159447;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.whatsapp-submit:hover {
  background: #087f39;
}

.whatsapp-submit .whatsapp-icon {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  border-width: 1px;
  font-size: 12px;
}

.whatsapp-submit .whatsapp-icon svg {
  width: 15px;
  height: 15px;
}

.whatsapp-popup[hidden],
.whatsapp-backdrop[hidden] {
  display: none;
}

.phone-widget {
  position: fixed;
  right: 24px;
  bottom: 87px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #2563EB;
  /* border: 3px solid #fff; */
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35), 0 3px 8px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.phone-widget:hover {
  color: #fff;
  background: #1D4ED8;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.phone-widget-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.phone-widget-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 576px) {
  /* Keep widget anchored to bottom-right corner */
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
    left: auto;
  }

  /* Collapse launcher to a circle icon-only button */
  .whatsapp-launcher {
    width: 54px;
    height: 54px;
    min-width: unset;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    gap: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  /* Hide the text label on mobile — icon only */
  .whatsapp-launcher-copy {
    display: none;
  }

  /* Make the icon slightly larger to fill the circle */
  .whatsapp-icon {
    width: 36px;
    height: 36px;
    border: none;
    flex: none;
  }

  .whatsapp-icon svg {
    width: 32px;
    height: 32px;
  }

  /* Popup: full width, anchored bottom, leaves room for launcher */
  .whatsapp-popup {
    right: 12px;
    left: 12px;
    bottom: 80px;
    width: auto;
    max-height: calc(100vh - 100px);
    padding: 20px;
  }

  .whatsapp-popup-header h2 {
    font-size: 20px;
  }

  /* Phone widget: tuck above WhatsApp button */
  .phone-widget {
    right: 16px;
    bottom: 80px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #0b0c0e;
  border-top: 1px solid var(--borders);
  padding: 60px 0 30px;
}

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

.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--borders);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background-color: var(--primary-orange);
  color: var(--bg);
  border-color: var(--primary-orange);
}

.copyright {
  border-top: 1px solid var(--borders);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-text);
  font-size: 13px;
}

.copyright a {
  color: var(--secondary-text);
  text-decoration: none;
}

.copyright a:hover {
  color: var(--primary-orange);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 992px) {

  .services-grid,
  .why-grid,
  .marketing-grid,
  .sub-service-grid,
  .offering-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .monitoring-split,
  .contact-grid,
  .footer-grid,
  .hero-layout,
  .ai-solutions-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .hero-slider-wrap {
    padding: 20px 20px 24px;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 66px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid var(--borders);
    background: var(--card);
    cursor: pointer;
  }

  .menu-toggle i {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background-color: var(--main-text);
    transition: all 0.3s ease;
  }

  .nav-panel {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 18, 23, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--borders);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    height: calc(100vh - 66px);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .nav-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .nav-links>a,
  .services-trigger {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background-color: var(--card);
    border: 1px solid var(--borders);
    width: 100%;
    justify-content: space-between;
  }

  .services-nav {
    width: 100%;
  }

  .mega-menu {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    padding: 10px 0;
  }

  .services-nav.open .mega-menu {
    display: block;
  }

  .mega-category-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero {
    padding: 36px 0;
  }

  .about-stats { grid-template-columns: 1fr; }

  .about-visual img { min-height: 280px; }

  .slider-container {
    min-height: 480px;
  }

  .process-grid {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0;
    padding: 10px 0;
  }

  .process-grid::before {
    top: 10px;
    bottom: 10px;
    left: 34px;
    right: auto;
    width: 8px;
    height: auto;
    transform: none;
  }

  .process-step {
    grid-column: 1 / -1;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 170px;
  }

  .process-step .process-content,
  .process-step:nth-child(odd) .process-content,
  .process-step:nth-child(even) .process-content {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0 0 0 10px;
  }

  .process-node {
    grid-column: 1;
    grid-row: 1;
    width: 68px;
    height: 68px;
    border-width: 8px;
  }

  .process-node svg {
    width: 28px;
    height: 28px;
  }

  .slide {
    grid-template-columns: 1fr;
    gap: 16px;
    position: absolute;
    inset: 0;
    overflow-y: auto;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .slide-actions .btn {
    width: 100%;
  }

  .hero-image-card {
    height: 200px;
  }

  .app-dev-grid,
  .services-grid,
  .why-grid,
  .marketing-grid,
  .sub-service-grid,
  .offering-grid {
    grid-template-columns: 1fr !important;
  }

  main section[style*="display:grid"],
  main section[style*="display: flex"],
  main section[style*="display:flex"],
  .shell[style*="display:grid"],
  .shell[style*="display: flex"],
  .shell[style*="display:flex"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  div[style*="width:360px"],
  div[style*="width: 360px"] {
    width: 100% !important;
  }

  .process-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .dashboard-visual,
  .data-center-visual {
    padding: 16px;
  }

  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .shell {
    width: calc(100% - 24px);
  }

  .section {
    padding: 50px 0;
  }

  .process-grid,
  .industries-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .map-view-box {
    grid-column: span 1;
  }

  .slider-container {
    min-height: 520px;
  }

  .hero-image-card {
    height: 170px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    padding: 12px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .form-actions .btn {
    width: 100%;
  }

  .copyright {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .callout-box {
    padding: 24px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .callout-box .btn {
    width: 100%;
  }

  .hero-service-tabs {
    gap: 6px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-slider .slide,
  .hero-slider .slide-banner,
  .hero-slider .slide-banner a,
  .hero-slider .banner-img { height: 100%; }

  .hero-slider .banner-img { object-position: center center; }

  .slider-dots .dot {
    width: 11px;
    height: 11px;
    padding: 4px;
    background-clip: content-box;
  }
}

/* Final mobile overrides */
@media (max-width: 768px) {
  .shell,
  .feature-content,
  .container { width: min(100% - 32px, 560px) !important; }

  .section { padding: 58px 0; }

  body .hero-slider {
    height: min(72vh, 560px);
    min-height: 420px;
  }

  .services-grid,
  .why-grid,
  .marketing-grid,
  .sub-service-grid,
  .offering-grid,
  .app-dev-grid { grid-template-columns: 1fr !important; gap: 16px; }

  .monitoring-split,
  .contact-grid,
  .about-layout,
  .ai-solutions-layout { grid-template-columns: 1fr; gap: 28px; }

  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .form-actions,
  .hero-actions { flex-direction: column; align-items: stretch; }

  .form-actions .btn,
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
  .shell,
  .feature-content,
  .container { width: calc(100% - 24px) !important; }

  .section { padding: 48px 0; }

  body .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #fff;
  }

  body .hero-slider .slide,
  body .hero-slider .slide-banner,
  body .hero-slider .slide-banner a,
  body .hero-slider .banner-img { height: 100%; }

  body .hero-slider .banner-img {
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }

  .about-stats { grid-template-columns: 1fr; }
  .about-visual img,
  .ai-solutions-image img { min-height: 230px; }

  .dash-grid { grid-template-columns: 1fr; }
  .map-view-box { grid-column: auto; }

  .process-grid {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 0;
    padding: 10px 0;
  }

  .process-grid::before {
    top: 10px;
    bottom: 10px;
    left: 25px;
    right: auto;
    width: 8px;
    height: auto;
    transform: none;
  }

  .process-step {
    grid-column: 1 / -1;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 150px;
  }

  .process-step .process-content,
  .process-step:nth-child(odd) .process-content,
  .process-step:nth-child(even) .process-content {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0 0 0 8px;
    padding: 16px;
  }

  .process-node {
    grid-column: 1;
    grid-row: 1;
    width: 56px;
    height: 56px;
    border-width: 7px;
  }

  .process-node svg { width: 23px; height: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .copyright { align-items: flex-start; flex-direction: column; gap: 10px; }
}