/* Modern Reset & Base - White Theme Overhaul */
:root {
  --primary-color: #b70100; /* Signature Red */
  --primary-glow: rgba(183, 1, 0, 0.25);
  --secondary-color: #111111; /* Headings/Dark text */
  --bg-color: #f8f9fa; /* Off-white background */
  --surface-color: #ffffff; /* Card backgrounds */
  --text-color: #4a4a4a; /* Paragraphs text */
  --border-color: rgba(0, 0, 0, 0.08); /* Subtle dark borders */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 80px;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --glow-effect: 0 0 20px var(--primary-glow);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Ambient Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.ambient-orb.orb-1 {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  /* Fixed: rgba(0,0,0,0) = true transparent, not white */
  background: radial-gradient(circle, rgba(183,1,0,0.08) 0%, rgba(0,0,0,0) 70%);
  animation: floatOrb 15s ease-in-out infinite alternate;
}

.ambient-orb.orb-2 {
  bottom: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  /* Fixed: use rgba(0,0,0,0) instead of rgba(255,255,255,0) to avoid white smoke */
  background: radial-gradient(circle, rgba(183,1,0,0.06) 0%, rgba(0,0,0,0) 70%);
  animation: floatOrb 20s ease-in-out infinite alternate-reverse;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; letter-spacing: -1.5px; }
h2 { font-size: 2.75rem; margin-bottom: 1rem; letter-spacing: -1px; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-color); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(90deg, #111111, #555555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-red {
  background: linear-gradient(90deg, #d30000, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255,255,255,0.05); /* very subtle light border initially */
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s ease-in-out;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff; /* Default white for dark hero */
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.4s;
}

.header.scrolled .logo-text {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem; /* slightly larger since not upper case anymore */
  color: #dddddd; /* Lighter color for dark hero */
  position: relative;
  padding: 0.5rem 0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: color 0.4s;
}

.nav-link i {
  margin-left: 6px;
  font-size: 0.8em;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.header.scrolled .nav-link {
  color: #555555;
}

.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
  color: #111111;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-color);
  border-radius: 12px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555555;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.dropdown-item:hover {
  background-color: rgba(0,0,0,0.03);
  color: #111111;
  padding-left: 2rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.4s;
}

.header.scrolled .menu-toggle {
  color: var(--secondary-color);
}

@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  position: relative;
  padding: calc(var(--header-height) + 8rem) 0 8rem;
  background: linear-gradient(-45deg, #050505, #121212, #000000, #1a0202);
  background-size: 400% 400%;
  animation: gradientBg 15s ease infinite;
  overflow: hidden;
  color: white; 
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  z-index: 10;
  position: relative;
}

.hero-text {
  flex: 1;
  max-width: 650px;
  text-align: left;
}

.hero-empty-right {
  flex: 1;
}

/* Hero Image Slider */
.hero-slider {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 400px;
  overflow: visible;
}

.hero-slide {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
  /* Blend with dark background, no white */
  mix-blend-mode: lighten;
  filter: brightness(0.95) contrast(1.05);
  /* Subtle bottom fade shadow */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  /* Gentle float animation when active */
  animation: slideFloat 6s ease-in-out infinite;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes slideFloat {
  0%, 100% { transform: translateY(-50%) translateX(0px); }
  30% { transform: translateY(-52%) translateX(6px); }
  70% { transform: translateY(-48%) translateX(-4px); }
}

.hero h1 {
  opacity: 0;
  animation: fadeUpAnim 1s ease-out 0.2s forwards;
  color: white;
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero .text-gradient {
  background: linear-gradient(90deg, #dddddd, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 15px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeUpAnim 1s ease-out 0.4s forwards;
}

.hero p {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  color: #cccccc;
  opacity: 0;
  animation: fadeUpAnim 1s ease-out 0.6s forwards;
  line-height: 1.6;
}

.hero .btn-group-animate {
  opacity: 0;
  animation: fadeUpAnim 1s ease-out 0.8s forwards;
}

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

/* Button utility */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.1rem 2.5rem !important;
  border-radius: 30px; /* Pill shape for SaaS tech look */
  font-weight: 600;
  font-size: 1rem !important;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #da0000);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 15px rgba(183, 1, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(183, 1, 0, 0.3), 0 0 15px rgba(183,1,0,0.2);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.4);
  color: var(--secondary-color);
}

/* Hero Section Specific Button Overrides */
.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 1);
  color: #ffffff;
}

/* Feature Cards & Grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Client Logo Carousel */
.clients-section {
  background-color: #ffffff;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 1rem 0;
}

.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollCarousel 65s linear infinite; /* Longer duration for more logos */
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-group {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding-right: 5rem;
}

.client-logo-strip {
  height: 90px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  /* Removed CSS blending/filters so logos show fully clear in original colors */
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  padding: 0 15px;
}

.client-logo-strip:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scrollCarousel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.feature-card {
  background: var(--surface-color);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,0,0,0.03), transparent 40%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,0,0,0.15);
  box-shadow: var(--shadow-md);
}

.feature-card .icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--glow-effect);
}
/* Glassmorphism Feature Cards for Dark Sections */
.feature-card-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card-glass:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 1, 0, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(183, 1, 0, 0.1);
}

.feature-card-glass h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.feature-card-glass p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.watermark-letter {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.feature-card-glass:hover .watermark-letter {
  color: rgba(183, 1, 0, 0.08);
  transform: scale(1.1) rotate(-5deg);
}

/* Dark Tech Section Utility */
.section-dark {
  background: linear-gradient(135deg, #050505 0%, #151515 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.section-dark .section-header h2 {
  color: #ffffff;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* UI Structure */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-bg-light {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 3rem;
  letter-spacing: -1px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
}

/* Image blocks */
.image-block {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.image-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Asymmetrical & Special Layouts */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.stat-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    z-index: 5;
    animation: floatImage 4s ease-in-out infinite;
}

.industrial-marker {
    color: rgba(183,1,0,0.15);
    font-size: 5rem;
    position: absolute;
    top: 0;
    right: 20px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.image-block::after {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
  pointer-events: none;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.slide-right {
  opacity: 0;
  transform: translateX(50px) scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-right.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Custom Pulsating Highlight */
@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(183, 1, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(183, 1, 0, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(183, 1, 0, 0);
  }
}

.phone-indicator-overlay {
  position: absolute;
  top: 15%; /* Will be fine-tuned inline in HTML */
  left: 20%;
  background: transparent;
  padding: 4px 8px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  border: none;
  transform: none; /* Removed tilt */
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  animation: pulse-ring 2s infinite;
}

.phone-indicator-overlay span {
  color: #fff;
}
.phone-indicator-overlay i {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: #555555;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col p {
  color: #666666;
  font-size: 0.95rem;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: #666666;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #666666; /* Match existing text/icon color */
  font-size: 1.2rem;
  transition: color 0.3s ease, margin-top 0.3s;
}

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

/* Form Styles for Dark Theme */
input, select, textarea {
  background: var(--surface-color) !important;
  color: var(--secondary-color) !important;
  border: 1px solid var(--border-color) !important;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(183,1,0,0.2) !important;
}

/* Media Queries */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
    position: fixed; /* Use fixed for better scroll control */
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
    overflow-y: auto; /* Enable scroll if content exceeds viewport */
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #333333 !important; /* Dark text for light background */
    width: 100%;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link::after {
    display: none; /* Hide hover line on mobile */
  }

  .menu-toggle {
    display: block;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: #f9f9f9; /* Subtle contrast for dropdown area */
    padding: 0;
    min-width: unset;
    display: none;
    width: 100%;
    border-radius: 0;
    margin-top: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    transform: none;
  }

  .dropdown-item {
    padding: 1.1rem 1.5rem;
    color: #444444 !important;
    border-bottom: 1px solid rgba(0,0,0,0.02);
  }

  .dropdown-item:hover {
    padding-left: 1.5rem;
    background: transparent;
  }


  /* Adjust Hero for mobile */
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-layout {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .hero-phone-wrapper {
      width: 350px;
  }
  .hero-slide {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .hero {
    padding: calc(var(--header-height) + 3rem) 0 4rem;
  }
  .hero-visuals {
      display: none;
  }
  /* Stack hero layout on mobile */
  .hero-layout {
      flex-direction: column;
      text-align: left;
  }
  /* Show slider below text but smaller */
  .hero-slider {
      display: flex;
      width: 100%;
      min-height: 220px;
      margin-top: 1.5rem;
  }
  .hero-slide {
      max-width: 100%;
      right: auto;
      left: 0;
      transform: translateY(-50%);
  }
  .hero h1, h1[style], .hero h1 span[style] {
    font-size: 2.25rem !important;
  }
  .hero .subtitle {
    font-size: 1rem !important;
    margin-bottom: 0.8rem;
  }
  .hero p {
    font-size: 1rem !important;
    line-height: 1.5;
  }
  .hero-text {
    padding: 0 10px;
  }
  .btn-group-animate {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .hero .btn-outline {
    margin-left: 0 !important;
    width: 100%;
    max-width: 280px;
  }
  .hero .btn-primary {
    width: 100%;
    max-width: 280px;
  }
  h2, h2[style] {
    font-size: 2rem !important;
  }
  .feature-card {
    padding: 2rem 1.5rem;
  }
  .container {
    padding: 0 15px;
  }
  /* Force single column for grids with inline minmax that breaks mobile */
  div[style*="grid-template-columns"], .feature-grid {
      grid-template-columns: 1fr !important;
      gap: 1.5rem !important;
  }
  div[class*="orb"] {
      width: 80vw !important;
      height: 80vw !important;
  }
  .footer {
      padding: 2rem 0;
  }
  .footer-content {
      display: none;
  }
  .footer-bottom {
      text-align: center;
      color: #000000;
      border-top: none;
      padding-top: 0;
  }
  .footer-col h4 {
      margin-top: 1.5rem;
  }
}



/* Solutions Carousel */
.solutions-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
}

.solutions-carousel-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.solutions-carousel-container:hover .solutions-carousel-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.25rem)); }
}

.solution-pillar-card {
    width: 380px;
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: #111111;
    text-decoration: none;
}

.solution-pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(183, 1, 0, 0.05), transparent 70%);
    pointer-events: none;
}

.solution-pillar-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: #ffffff;
    border-color: rgba(183, 1, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(183, 1, 0, 0.1);
}

.solution-pillar-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #d00000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(183, 1, 0, 0.3);
}

.solution-pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #111111;
    font-weight: 700;
}

.solution-pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.solution-pillar-card .learn-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: gap 0.3s;
}

.solution-pillar-card:hover .learn-more {
    gap: 12px;
}

@media (max-width: 768px) {
    .solution-pillar-card {
        width: 300px;
        padding: 2rem;
    }
}


/* Vision & Mission Redesign */
.vm-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top left, rgba(183,1,0,0.03) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(17,17,17,0.02) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.vm-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4rem 3rem;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 0;
    background: var(--primary-color);
    transition: height 0.5s ease;
}

.vm-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: rgba(183, 1, 0, 0.2);
}

.vm-card:hover::before {
    height: 100%;
}

.vm-icon-box {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    transition: all 0.5s ease;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}

.vm-card:hover .vm-icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotateY(180deg);
    box-shadow: 0 15px 30px rgba(183, 1, 0, 0.3);
}

.vm-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.vm-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

.vm-watermark {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    transition: all 0.5s ease;
}

.vm-card:hover .vm-watermark {
    transform: scale(1.1) translateY(-10px);
    color: rgba(183, 1, 0, 0.05);
}

@media (max-width: 992px) {
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vm-card {
        padding: 3rem 2rem;
    }
}

/* MVNO Overhaul Styles */
.mvno-hero {
    position: relative;
    padding: calc(var(--header-height) + 6rem) 0 8rem;
    background: linear-gradient(135deg, #050505 0%, #1a1a1a 100%);
    color: white;
    overflow: hidden;
}

.mvno-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mvno-hero-visual {
    position: relative;
    z-index: 1;
}

.mvno-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    animation: floatImage 6s ease-in-out infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(183, 1, 0, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.light-theme-card {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 0, 0, 0.01) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.light-theme-card:hover {
    border-color: rgba(183, 1, 0, 0.4) !important;
    background: white !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.glow-accent {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(183,1,0,0.4);
}

/* AI Section Styles */
.ai-tech-section {
    background: #0a0a0a;
    color: white;
    overflow: hidden;
    position: relative;
}

.ai-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.ai-card {
    background: linear-gradient(145deg, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 30px;
    transition: all 0.5s ease;
    position: relative;
}

.ai-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(183,1,0,0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ai-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.ai-card:hover::after {
    opacity: 1;
}

/* Timeline Process Styles */
.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    padding: 4rem 0;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    z-index: 1;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(183,1,0,0.2);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.2);
}

.benefit-box {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-box:hover {
    border-color: var(--primary-color);
    background: rgba(183,1,0,0.02);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .mvno-hero-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .section, .vm-section, .ai-tech-section {
        padding: 2rem 0 !important;
    }

    .mvno-hero, .hero {
        padding-top: calc(var(--header-height) + 1rem) !important;
        padding-bottom: 2rem !important;
    }

    .section-header {
        text-align: left;
        margin-left: 0;
        margin-bottom: 1rem !important;
    }

    .footer {
        padding: 2.5rem 0 1rem !important;
    }

    .glass-card, .ai-card, .benefit-box {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .ai-card-grid, .feature-grid, .mvno-hero-layout, .asymmetric-grid {
        gap: 1.5rem !important;
    }

    .asymmetric-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-badge {
        position: static !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    .benefit-box, .ai-card, .glass-card, .glass-card p {
        text-align: left !important;
    }

    .glass-card p {
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-bottom: 1.5rem !important;
    }

    .btn-group {
        justify-content: flex-start !important;
    }
    
    .timeline-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-steps::before {
        display: none;
    }

    .step-item {
        text-align: center !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .step-number {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .btn-group .btn {
        width: 100%;
        margin-left: 0 !important;
    }

    /* MVNO Specific Mobile Refinements */
    .success-story-card.glass-card {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .success-story-card .subtitle {
        text-align: left !important;
        width: 100%;
    }

    .cpaas-partnership-text {
        font-size: 16px !important;
    }

    .mobile-hide-ai-overlay {
        display: none !important;
    }
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
