/* ==========================================================================
   SHYBER WINGS - Premium CSS Design System
   ========================================================================== */

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

/* --- Root Variables --- */
:root {
  /* Color Palette */
  --clr-primary: #0066FF;
  --clr-primary-rgb: 0, 102, 255;
  --clr-accent: #2F80FF;
  --clr-accent-rgb: 47, 128, 255;
  --clr-navy: #07111F;
  --clr-surface: #0B1220;
  --clr-surface-rgb: 11, 18, 32;
  --clr-black: #05070A;
  --clr-white: #FFFFFF;
  --clr-offwhite: #F5F7FA;
  --clr-offwhite-rgb: 245, 247, 250;
  
  --clr-text-dark: #F5F7FA;
  --clr-text-dark-muted: #8A99AD;
  --clr-text-light: #1D2939;
  --clr-text-light-muted: #667085;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --ff-headings: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing (Fluid Clamp) */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1.25rem);
  --space-md: clamp(1.25rem, 2.5vw, 2rem);
  --space-lg: clamp(2rem, 4vw, 3.5rem);
  --space-xl: clamp(3.5rem, 8vw, 6.5rem);
  
  /* Grid & Dimensions */
  --container-max-width: 1280px;
  --header-height: 80px;
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadow Definitions */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.15);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text-light);
  background-color: var(--clr-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-headings);
  font-weight: 600;
  line-height: 1.2;
  color: #020079; /* Replaced var(--clr-navy) with deep blue #020079 */
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
}

/* --- Accessibility Focus States --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 4px;
}

/* --- Layout Primitives --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Responsive grid adjustments */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* --- Core Theme Theme Setup --- */
.theme-dark {
  position: relative;
  background-color: var(--clr-black);
  color: var(--clr-text-dark);
  z-index: 1;
  overflow: hidden; /* Clamp background effects */
}

/* Gradient Dots Animation (CSS equivalent of React Framer-Motion component) */
.theme-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--clr-black);
  background-image: 
    radial-gradient(circle at 50% 50%, transparent 1.5px, var(--clr-black) 0 8px, transparent 8px),
    radial-gradient(circle at 50% 50%, transparent 1.5px, var(--clr-black) 0 8px, transparent 8px),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.4), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.35), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 255, 0.45), transparent 60%);
  background-size: 
    10px 17.32px,
    10px 17.32px,
    200% 200%,
    200% 200%,
    200% 200%,
    200% 17.32px;
  background-position: 
    0px 0px, 5px 8.66px,
    0% 0%,
    0% 0%,
    0% 0px;
  animation: moveGradientDots 35s linear infinite, colorCycleDots 8s linear infinite;
  opacity: 0.28; /* Subtle, premium opacity to maintain contrast readability */
  z-index: -1;
  pointer-events: none;
}

@keyframes moveGradientDots {
  0% {
    background-position: 
      0px 0px, 5px 8.66px,
      0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 
      0px 0px, 5px 8.66px,
      800% 400%, 1000% -400%, -1200% -600%, 400% 17.32px;
  }
}

@keyframes colorCycleDots {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 {
  color: var(--clr-white);
}
.theme-dark p {
  color: var(--clr-text-dark-muted);
}
.theme-dark-surface {
  background-color: var(--clr-surface);
  border: 1px solid var(--border-dark);
}

/* --- Core Theme Theme Setup --- */
.theme-light {
  position: relative;
  background-color: #ffffff; /* White background */
  color: var(--clr-text-light); /* Dark text color */
  z-index: 1;
  overflow: hidden; /* Clamp visual bleed */
}

/* Dotted Modern Background Pattern (CSS equivalent of React DottedModern component) */
.theme-light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #ffffff;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.theme-light::after {
  content: none; /* Disable aurora background animations */
}

.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 {
  color: #020079; /* Made headings deep blue #020079 */
}
.theme-light p {
  color: var(--clr-text-light-muted); /* Made description text dark gray */
}
.theme-light-surface {
  background-color: var(--clr-offwhite); /* Clean off-white surface card */
  border: 1px solid var(--border-light); /* Light border */
  color: var(--clr-text-light);
}
.theme-light-surface h1, .theme-light-surface h2, .theme-light-surface h3, .theme-light-surface h4 {
  color: #020079; /* Made headings deep blue #020079 */
}
.theme-light-surface p {
  color: var(--clr-text-light-muted);
}

/* Card Hover Interactions - Glassmorphic Blue & White Text */
.theme-light-surface, .theme-dark-surface, .bento-card, .timeline-content, .work-details {
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), color var(--transition-normal);
}

/* Glassmorphic Blue Hover states for surface units and bento cards */
.theme-light-surface:hover, .theme-dark-surface:hover, .bento-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(2, 0, 121, 0.95), rgba(0, 102, 255, 0.7)) !important;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 32px rgba(2, 0, 121, 0.35), 0 0 15px rgba(0, 102, 255, 0.25) !important;
  color: var(--clr-white) !important;
}

/* Force headings, paragraphs, spans, and links inside hovered cards to white */
.theme-light-surface:hover h1, .theme-light-surface:hover h2, .theme-light-surface:hover h3, .theme-light-surface:hover h4,
.theme-light-surface:hover p, .theme-light-surface:hover span, .theme-light-surface:hover li, .theme-light-surface:hover div,
.theme-light-surface:hover a,
.theme-dark-surface:hover h1, .theme-dark-surface:hover h2, .theme-dark-surface:hover h3, .theme-dark-surface:hover h4,
.theme-dark-surface:hover p, .theme-dark-surface:hover span, .theme-dark-surface:hover li, .theme-dark-surface:hover div,
.theme-dark-surface:hover a,
.bento-card:hover h1, .bento-card:hover h2, .bento-card:hover h3, .bento-card:hover h4,
.bento-card:hover p, .bento-card:hover span, .bento-card:hover li, .bento-card:hover div,
.bento-card:hover a {
  color: var(--clr-white) !important;
}

/* Bento card specific items on hover */
.bento-card:hover .bento-icon {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--clr-white) !important;
}
.bento-card:hover .bento-link {
  color: var(--clr-white) !important;
}
.bento-card:hover .bento-link svg {
  color: var(--clr-white) !important;
  transform: translateX(4px);
}

/* Testimonial avatar specific items on hover */
.theme-light-surface:hover .testimonial-avatar {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--clr-white) !important;
}

/* Work card details glassmorphic blue hover */
.work-card:hover .work-details {
  background: linear-gradient(135deg, rgba(2, 0, 121, 0.95), rgba(0, 102, 255, 0.7)) !important;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 32px rgba(2, 0, 121, 0.35) !important;
  color: var(--clr-white) !important;
}
.work-card:hover .work-details h1, .work-card:hover .work-details h2, .work-card:hover .work-details h3, .work-card:hover .work-details h4,
.work-card:hover .work-details p, .work-card:hover .work-details span, .work-card:hover .work-details div, .work-card:hover .work-details a,
.work-card:hover .work-details .work-meta-item {
  color: var(--clr-white) !important;
}
.work-card:hover .work-meta {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Process Timeline step cards glassmorphic blue hover */
.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(2, 0, 121, 0.95), rgba(0, 102, 255, 0.7)) !important;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 32px rgba(2, 0, 121, 0.35) !important;
  color: var(--clr-white) !important;
}
.timeline-step:hover .timeline-content h1, .timeline-step:hover .timeline-content h2, .timeline-step:hover .timeline-content h3, .timeline-step:hover .timeline-content h4,
.timeline-step:hover .timeline-content p, .timeline-step:hover .timeline-content span, .timeline-step:hover .timeline-content div, .timeline-step:hover .timeline-content a,
.timeline-step:hover .timeline-content .timeline-step-num {
  color: var(--clr-white) !important;
}

/* --- Common Components --- */

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
.badge-primary {
  background-color: rgba(0, 102, 255, 0.08);
  color: var(--clr-primary);
  border: 1px solid rgba(0, 102, 255, 0.15);
}
.theme-dark .badge-primary {
  background-color: rgba(47, 128, 255, 0.12);
  color: var(--clr-accent);
  border: 1px solid rgba(47, 128, 255, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}
.btn-primary:hover {
  background-color: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-navy);
  border: 1px solid rgba(7, 17, 31, 0.15);
}
.btn-secondary:hover {
  background-color: var(--clr-offwhite);
  transform: translateY(-2px);
}
.theme-dark .btn-secondary {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.15);
}
.theme-dark .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-text {
  padding: 0;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.btn-text:hover {
  color: var(--clr-accent);
}
.btn-text svg {
  transition: transform var(--transition-fast);
}
.btn-text:hover svg {
  transform: translateX(4px);
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--clr-white) 30%, var(--clr-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-light .text-gradient {
  background: linear-gradient(135deg, var(--clr-navy) 30%, var(--clr-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg) auto;
}
.section-title-wrap h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}
.section-title-wrap p {
  font-size: clamp(16px, 1.8vw, 18px);
}

/* ==========================================================================
   GLOBAL HEADER (NAVIGATION BAR & MEGA MENU)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 68px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(5, 7, 10, 0.65); /* Translucent dark background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.main-header.scrolled {
  top: 10px;
  width: 95%;
  max-width: 1280px;
  background-color: rgba(5, 7, 10, 0.45) !important; /* 50% opacity feel */
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px rgba(2, 0, 121, 0.12) !important;
}
.theme-light-page .main-header.scrolled {
  background-color: rgba(5, 7, 10, 0.45) !important;
}

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

.logo-area {
  font-family: var(--ff-headings);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--clr-white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 28px; /* Adds gap between logo and menu items */
}
.theme-light-page .logo-area {
  color: var(--clr-white) !important;
}

.logo-img {
  height: 30px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.logo-img:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #020079, #0066ff) !important;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--clr-white);
  border-right: 3px solid var(--clr-white);
  transform: rotate(45deg) translate(-1px, 1px);
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px !important;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: pointer;
  border-radius: 30px;
  transition: all var(--transition-fast) !important;
}
.theme-light-page .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}
.nav-link:hover, .nav-item:hover .nav-link {
  color: var(--clr-white) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}
.nav-link svg {
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 900px;
  background-color: var(--clr-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1100;
}
.theme-light-page .mega-menu {
  background-color: var(--clr-white);
  border: 1px solid var(--border-light);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-column-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}
.theme-light-page .mega-column-title {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.mega-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu-item a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-dark-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.theme-light-page .mega-menu-item a {
  color: var(--clr-text-light-muted);
}
.mega-menu-item a:hover {
  color: var(--clr-white);
  background-color: rgba(255, 255, 255, 0.05);
}
.theme-light-page .mega-menu-item a:hover {
  color: var(--clr-primary);
  background-color: var(--clr-offwhite);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-cta .btn-primary {
  background: linear-gradient(135deg, #020079 0%, #0066ff 100%) !important;
  color: var(--clr-white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.25) !important;
  transition: all var(--transition-normal) !important;
}
.header-cta .btn-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4) !important;
  background: linear-gradient(135deg, #001275 0%, #0088ff 100%) !important;
}

@media (max-width: 1024px) {
  .header-cta .btn { display: none; }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1200;
}
@media (max-width: 1024px) {
  .mobile-toggle { display: flex; }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}
.theme-light-page .mobile-toggle span {
  background-color: var(--clr-white) !important; /* Force hamburger to be white inside floating header */
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--clr-black);
  border-left: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  padding: 100px 32px 32px 32px;
  z-index: 999;
  overflow-y: auto;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.theme-light-page .mobile-drawer {
  background-color: var(--clr-white);
  border-left-color: var(--border-light);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer-link {
  font-family: var(--ff-headings);
  font-size: 20px;
  font-weight: 600;
  color: var(--clr-white);
}
.theme-light-page .mobile-drawer-link {
  color: var(--clr-navy);
}

.mobile-drawer-link.has-submenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-submenu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-left: 16px;
  margin-top: 12px;
  border-left: 1px solid var(--clr-primary);
}
.mobile-drawer-submenu a {
  font-size: 15px;
  color: var(--clr-text-dark-muted);
}
.theme-light-page .mobile-drawer-submenu a {
  color: var(--clr-text-light-muted);
}

.mobile-drawer-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 7, 10, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: var(--space-lg);
  overflow: hidden;
  background-color: var(--clr-black);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-radial-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  animation: heroGlowPulse 15s ease-in-out infinite alternate;
}
@keyframes heroGlowPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-10%, 8%) scale(1.15);
    opacity: 0.95;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.18) 0%, transparent 65%);
  }
  100% {
    transform: translate(5%, -5%) scale(0.9);
    opacity: 0.75;
  }
}
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-lg);
}
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--clr-white);
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--clr-text-dark-muted);
  max-width: 580px;
}
@media (max-width: 1024px) {
  .hero-content p { margin: 0 auto; }
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 1024px) {
  .hero-ctas { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
}

.hero-statement {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  margin-bottom: -10px;
}

/* 3D Container & Technology fallback */
.Hero3DContainer {
  width: 100%;
  height: 480px;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .Hero3DContainer { height: 280px; min-height: auto; }
}

.hero-fallback-visual {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tech-net-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.tech-orb-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--clr-primary) 0%, rgba(47, 128, 255, 0.4) 40%, transparent 70%);
  border-radius: var(--radius-full);
  z-index: 2;
  filter: blur(2px);
  animation: floatOrb 8s infinite ease-in-out;
}

.tech-rings {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(47, 128, 255, 0.3);
  border-radius: var(--radius-full);
  animation: rotateRing 20s infinite linear;
}
.tech-rings::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  top: -31px;
  left: -31px;
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: var(--radius-full);
  animation: rotateRing 30s infinite linear reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   HOMEPAGE CAPABILITY STRIP
   ========================================================================== */
.capability-strip {
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 30px 0;
  background-color: var(--clr-surface);
}

.capability-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 768px) {
  .capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
}

.capability-item {
  font-family: var(--ff-headings);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-text-dark-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .capability-item { justify-content: center; }
}
.capability-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--clr-primary);
}

/* ==========================================================================
   BENTO GRID SERVICES SECTION
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.bento-card:hover {
  transform: translateY(-4px);
}

.bento-card-bg {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  filter: blur(30px);
  pointer-events: none;
  opacity: 0.2;
}

.bento-card.theme-dark-surface:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-glow);
}
.bento-card.theme-light-surface:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
  background-color: var(--clr-white);
}

.bento-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--clr-primary);
}
.theme-dark .bento-icon {
  background-color: rgba(47, 128, 255, 0.12);
  border-color: rgba(47, 128, 255, 0.25);
  color: var(--clr-accent);
}

.bento-info h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 10px;
}

.bento-info p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bento-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.bento-link svg {
  transition: transform var(--transition-fast);
}
.bento-link:hover svg {
  transform: translateX(4px);
}

/* Bento size configurations */
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

@media (max-width: 1024px) {
  .col-8, .col-4 { grid-column: span 6; }
}
@media (max-width: 768px) {
  .col-8, .col-6, .col-4 { grid-column: span 12; }
}

/* ==========================================================================
   AI SOLUTIONS SECTION & WORKFLOW
   ========================================================================== */
.ai-workflow-container {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.ai-workflow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) {
  .ai-workflow-grid {
    flex-direction: column;
    align-items: center;
  }
}

.workflow-node {
  width: 160px;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.workflow-node-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.workflow-node h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.workflow-node p {
  font-size: 12px;
}

.workflow-connector {
  flex-grow: 1;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.08); /* Dark base track */
  position: relative;
  overflow: hidden;
  max-width: 80px;
  border-radius: var(--radius-full);
}
.workflow-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--clr-primary), var(--clr-accent), transparent);
  animation: flowConnector 2s infinite linear;
}

@keyframes flowConnector {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@media (max-width: 1024px) {
  .workflow-connector {
    width: 3px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    max-width: none;
    margin: 10px auto;
  }
  .workflow-connector::after {
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--clr-primary), var(--clr-accent), transparent);
    animation: flowConnectorY 2s infinite linear;
  }
}

@keyframes flowConnectorY {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   INTERACTIVE COMPARISON COMPONENT (Before/After)
   ========================================================================== */
.comparison-wrapper {
  margin-top: var(--space-md);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .comparison-wrapper { grid-template-columns: 1fr; }
}

.comparison-pane {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pane-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

.pane-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.pane-dot.before-dot { background-color: #FF3B30; }
.pane-dot.after-dot { background-color: #34C759; }

.comparison-pane h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: var(--space-xs);
}

.comparison-list-box {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--space-sm);
}

.comparison-item-box {
  display: flex;
  gap: 12px;
  font-size: 15px;
}

.comparison-icon-box {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  font-weight: bold;
}
.before-box .comparison-icon-box {
  background-color: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
}
.after-box .comparison-icon-box {
  background-color: rgba(52, 199, 89, 0.1);
  color: #34C759;
}

/* ==========================================================================
   HOW WE WORK - INTERACTIVE TIMELINE
   ========================================================================== */
.timeline-container {
  position: relative;
  margin-top: var(--space-lg);
  padding-left: 20px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--clr-primary), var(--clr-accent), transparent);
}

.timeline-step {
  position: relative;
  padding-bottom: var(--space-md);
  padding-left: 32px;
  cursor: pointer;
}
.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background-color: var(--clr-primary);
  border: 3px solid var(--clr-white);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
  z-index: 2;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.theme-dark .timeline-dot {
  border-color: var(--clr-black);
  box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.2);
}

.timeline-content {
  background-color: var(--clr-offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

/* Timeline Hover States */
.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-primary);
  background-color: var(--clr-white);
}
.timeline-step:hover .timeline-dot {
  transform: scale(1.3);
  background-color: var(--clr-accent);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.5);
}

.theme-dark .timeline-content {
  background-color: var(--clr-surface);
  border-color: var(--border-dark);
}
.theme-dark .timeline-step:hover .timeline-content {
  background-color: var(--clr-surface);
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-glow);
}
.theme-dark .timeline-step:hover .timeline-dot {
  border-color: var(--clr-black);
  box-shadow: 0 0 12px rgba(47, 128, 255, 0.5);
}

.timeline-step-num {
  font-family: var(--ff-headings);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* ==========================================================================
   PORTFOLIO WORK GRID
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}
@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
}

.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-image {
  height: 260px;
  background-color: var(--clr-navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--clr-white);
}

.work-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  text-align: center;
  background: linear-gradient(135deg, #07111F 0%, #0B1220 100%);
  position: relative;
}
.work-image-fallback::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
  filter: blur(20px);
}

.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.work-details {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-details h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin-bottom: 8px;
}

.work-details p {
  font-size: 14px;
  margin-bottom: var(--space-sm);
}

.work-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.theme-dark .work-meta {
  border-top-color: var(--border-dark);
}

.work-meta-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-text-light-muted);
}
.theme-dark .work-meta-item {
  color: var(--clr-text-dark-muted);
}

/* ==========================================================================
   TESTIMONIALS INFINITE MARQUEE
   ========================================================================== */
.testimonial-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: var(--space-sm) 0;
}
.testimonial-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
  padding-right: 20px;
}
.testimonial-marquee-track:hover {
  animation-play-state: paused;
}

.testimonial-slide-card {
  width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  transition: border-color var(--transition-normal);
}
.theme-dark .testimonial-card-header {
  border-bottom-color: var(--border-dark);
}
.theme-light-surface:hover .testimonial-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.testimonial-avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(2, 0, 121, 0.06);
  border: 1px solid rgba(2, 0, 121, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020079;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.theme-light-surface:hover .testimonial-avatar-icon {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--clr-white) !important;
}

.testimonial-card-text {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

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

/* ==========================================================================
   FAQ ACCORDION DRAWERS
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--space-md);
}

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--ff-headings);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.faq-icon-indicator {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon-indicator::before, .faq-icon-indicator::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-normal);
}
/* Horizontal bar */
.faq-icon-indicator::before {
  width: 100%;
  height: 2px;
}
/* Vertical bar */
.faq-icon-indicator::after {
  width: 2px;
  height: 100%;
}

.faq-item.active .faq-icon-indicator::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-item.active .faq-icon-indicator::before {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  font-size: 15px;
}

/* ==========================================================================
   CONTACT FORM & FIELDS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail-card {
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 102, 255, 0.08);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--clr-primary);
}

.contact-detail-content p {
  font-size: 15px;
  font-weight: 500;
}

.contact-form-card {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .form-group-row { grid-template-columns: 1fr; gap: 16px; }
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 15px;
  color: #020079; /* Entered text color is set to dark blue */
  transition: all var(--transition-fast);
}
.theme-dark .form-input, .theme-dark .form-select, .theme-dark .form-textarea {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--clr-white);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  outline: none;
}

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

.form-consent-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 13px;
}
.form-consent-box input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Form States */
.form-status {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
  font-weight: 500;
}
.form-status.success {
  display: block;
  background-color: rgba(52, 199, 89, 0.1);
  color: #34C759;
  border: 1px solid rgba(52, 199, 89, 0.2);
}
.form-status.error {
  display: block;
  background-color: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
  border: 1px solid rgba(255, 59, 48, 0.2);
}
.form-status.loading {
  display: block;
  background-color: rgba(0, 102, 255, 0.1);
  color: var(--clr-primary);
  border: 1px solid rgba(0, 102, 255, 0.2);
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--clr-black);
  color: var(--clr-text-dark);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-xl);
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: span 3; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: span 1; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand-logo {
  font-family: var(--ff-headings);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--clr-text-dark-muted);
}

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

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dark);
  color: var(--clr-text-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.footer-social-icon:hover {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.footer-title {
  font-family: var(--ff-headings);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--clr-text-dark-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--clr-primary);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-newsletter p {
  font-size: 14px;
  color: var(--clr-text-dark-muted);
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--clr-white);
}
.newsletter-form input:focus {
  border-color: var(--clr-primary);
  outline: none;
}
.newsletter-form .btn {
  padding: 10px 16px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

.footer-bottom p {
  font-size: 13px;
  color: var(--clr-text-dark-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--clr-text-dark-muted);
}
.footer-bottom-links a:hover {
  color: var(--clr-primary);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: var(--clr-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 990;
  transition: all var(--transition-normal);
}
.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   SERVICE SPECIFIC PAGES STYLING
   ========================================================================== */
.service-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--space-lg);
  overflow: hidden;
  background-color: var(--clr-black);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.service-hero-content h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--clr-white);
}
.service-hero-content p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--clr-text-dark-muted);
  margin-bottom: var(--space-sm);
}

.split-features {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .split-features { grid-template-columns: 1fr; }
}

.split-features-img {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

/* Bullet list icons style */
.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icon-list-item {
  display: flex;
  gap: 12px;
  font-size: 15px;
}
.icon-list-marker {
  color: var(--clr-primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 102, 255, 0.08);
}
.theme-dark .icon-list-marker {
  color: var(--clr-accent);
  background-color: rgba(47, 128, 255, 0.12);
}

/* ==========================================================================
   INDUSTRIES & OTHER INNER PAGES
   ========================================================================== */
.industry-card {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.industry-card-icon {
  font-size: 32px;
  margin-bottom: var(--space-xs);
}
.industry-card h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: var(--space-xs);
}
.industry-card p {
  font-size: 14px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .bento-card, .btn, .floating-whatsapp, .work-card, .tech-orb-glow, .tech-rings, .tech-rings::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   TECH TOOL STACK SECTION
   ========================================================================== */
.tech-card {
  position: relative;
  background-color: rgba(11, 18, 32, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 8px 32px rgba(2, 0, 121, 0.2), 0 0 15px rgba(0, 102, 255, 0.15);
}

.tech-card-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

/* Custom mouse glow spotlight styling */
.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 80%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tech-card:hover::before {
  opacity: 1;
}

.tech-card-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
}

.tech-card-icon {
  color: var(--clr-primary);
  flex-shrink: 0;
}

.tech-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-white) !important;
  margin: 0;
}

.tech-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--clr-white) !important;
  background-color: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.tech-pill:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
