/* Blumox Design System - Mature Light Theme */
:root {
  /* Colors */
  --bg-page: #f0f9ff; /* Light Sky Blue Tint */
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-light: #e2e8f0;

  /* Accents */
  --color-primary: #1d1d1b; /* Text Primary / Dark Charcoal */
  --color-brand: #37b5f1; /* Brand Primary */
  --color-secondary: #475569; /* Slate 600 */
  --accent-solid: #37b5f1; /* Brand Primary */
  --accent-hover: #298ebd; /* Darker Brand (using previous primary as hover) */
  --accent-text: #ffffff; /* White text on blue button */
  --accent-gradient: linear-gradient(135deg, #37b5f1 0%, #298ebd 100%);

  /* Typography */
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 10px 25px -5px rgba(41, 142, 189, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--color-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase; /* Industrial feel */
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-full {
  width: 100%;
  padding: 0 4rem; /* Wider padding for full width look */
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container-full {
    padding: 0 1em; /* Reduced padding on mobile */
  }
}

.text-gradient {
  color: var(--color-primary); /* Remove gradient for flat industrial look */
  background: none;
  -webkit-text-fill-color: initial;
}

.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.grid {
  display: grid;
}
.gap-4 {
  gap: 1rem;
}
.gap-8 {
  gap: 2rem;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-btn); /* Less rounded */
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-solid);
  color: var(--accent-text);
  box-shadow: none;
  border: 1px solid var(--accent-solid);
}

@media (max-width: 768px) {
  .header-cta {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(55, 181, 242, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.card {
  background: rgba(255, 255, 255, 0.7); /* Glassmorphism base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px; /* Smoother corners */
  padding: 3rem; /* More spacious */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Premium spring feel */
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.card:hover {
  /* transform: translateY(-8px); */
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.01),
    0 0 0 1px rgba(55, 181, 242, 0.1); /* Subtle accent border glow */
  border-color: rgba(55, 181, 242, 0.2);
}

.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-page); /* Solid color matching Tosi */
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
}

/* .nav-links margin handled by parent */

.mobile-menu-btn {
  display: none !important; /* Force hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

@media (max-width: 1023px) {
  /* Lower breakpoint to avoid 1024px overlap */
  .mobile-menu-btn {
    display: flex !important;
  }

  .nav-links {
    display: none; /* Hide nav links on mobile default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    max-height: 80vh; /* Scrollable if too long */
    overflow-y: auto;
  }

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

  .nav-links ul {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
    align-items: flex-start; /* Left align text */
  }

  /* Mobile Dropdown Reset */
  .has-dropdown {
    width: 100%;
    flex-wrap: wrap;
  }

  .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin-top: 1rem;
    display: none; /* Hidden by default on mobile */
    min-width: unset;
  }

  .has-dropdown.active .dropdown-menu {
    display: block; /* Show on click */
  }

  .dropdown-arrow {
    transform: rotate(-90deg); /* Point right on mobile initially */
  }

  .has-dropdown.active .dropdown-arrow {
    transform: rotate(0deg);
  }
}

/* Desktop Dropdowns */
@media (min-width: 1024px) {
  .has-dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    display: block;
    z-index: 100;
  }

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

  .dropdown-menu li {
    margin-bottom: 0.5rem;
  }

  .dropdown-menu li:last-child {
    margin-bottom: 0;
  }

  .dropdown-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--color-secondary);
    border-radius: 6px;
    font-size: 0.95rem;
  }

  .dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--color-primary);
  }
}

.mobile-back {
  display: none;
}

.dropdown-arrow {
  display: inline-block;
  font-size: 0.8rem;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

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

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

/* Hero Section */
/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Mobile browser compatibility */
  background: var(--bg-page);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth Relaxing Ease */
  visibility: hidden;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  visibility: visible;
}

/* Mobile Header */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
  flex-shrink: 0;
}

.mobile-logo {
  height: 32px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-cross::before,
.icon-cross::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.icon-cross::before {
  transform: rotate(45deg);
}
.icon-cross::after {
  transform: rotate(-45deg);
}

/* Mobile Body */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-page);
  min-height: 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.arrow-right {
  font-size: 1.2rem;
  color: var(--color-secondary);
}

/* Mobile Submenu (Slide Over) */
.mobile-submenu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Match overlay height */
  background: var(--bg-page);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Matching Smoothness */
  visibility: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.mobile-submenu.active {
  transform: translateX(0);
  visibility: visible;
}

.submenu-header {
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
  flex-shrink: 0;
}

.submenu-back {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%; /* Full Width */
  padding: 1.5rem 2rem; /* Standard Padding */
  text-align: left;
}

.submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.submenu-list li a {
  display: block;
  padding: 1.25rem 2rem;
  font-size: 1rem;
  color: var(--color-secondary);
  border-bottom: 1px solid var(--border-light);
}

/* Fixed CTA Footer */
.mobile-nav-footer {
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  flex-shrink: 0; /* Keep Fixed */
}

.dropdown-cta {
  width: 100%;
  text-align: center;
}

/* Disable old nav on mobile since we use overlay */
@media (max-width: 1023px) {
  .nav-links {
    display: none !important;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh; /* Reduced from 100vh (desktop) */
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Vertical stack */
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
  background: var(--bg-page);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 0 2.5rem 0; /* Reduced from 4rem */
  margin: 0 auto;
}

.hero-image-block {
  position: relative; /* Static positioning in flow */
  top: auto;
  right: auto;
  transform: none;
  width: 70vw;
  max-width: 1000px;
  height: 45vh; /* Reduced from 60vh */
  min-height: 350px; /* Reduced from 500px */
  /* Darker, richer background for contrast */
  background: linear-gradient(135deg, #1d1d1b 0%, #2d2d2b 100%);
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
  /* Stronger shadow for separation */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  /* Thin border to define edge */
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

/* Ensure actions are centered */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.abstract-grid {
  width: 100%;
  height: 100%;
  /* Mesh-like gradient for premium feel */
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(55, 181, 242, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    );
  opacity: 1;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

/* Add subtle animation */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.hero-image-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  width: auto;
  max-width: fit-content;
  /* Ensure it centers if blockified */
  margin: 0 auto 2rem auto;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--accent-solid);
  background: #fff;
  color: var(--accent-solid);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.text-accent-highlight {
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

.text-accent-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--accent-solid);
  z-index: -1;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto; /* Remove fixed VH to allow content to flow */
    padding-bottom: 0; /* Remove bottom padding to pull clients up */
  }

  .hero-image-block {
    opacity: 1; /* Fully visible */
    width: 90%; /* Slight margin */
    /* right: 0; removed since it's centered by margin auto in base class */
    height: 30vh; /* Reduced height for mobile */
    min-height: 200px;
    margin-top: 1.5rem;
    margin-bottom: 1rem; /* Small buffer before clients */
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding-bottom: 0;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem; /* Reduced from 3rem */
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-content {
    padding-bottom: 1rem; /* Reduced padding */
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px; /* Constrain width for better look */
    margin: 0 auto 2rem; /* Center and add bottom spacing */
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .bento-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
    gap: 1.5rem;
  }
}

/* Clients Slider */
.clients-section {
  padding: 1rem 0; /* Tighter padding */
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
}

.clients-heading {
  font-size: 1rem; /* Slightly larger */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em; /* Increased spacing */
  color: var(--color-primary); /* Use primary color for branding */
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

/* Add subtle underscore */
.clients-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  opacity: 0.3;
  margin: 0.5rem auto 0;
}

.slider {
  height: 80px;
  margin: auto;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    var(--bg-page) 0%,
    rgba(240, 249, 255, 0) 100%
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 150px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(250px * 18); /* 250px slide width * 18 slides */
  animation: scroll 40s linear infinite;
}

.slide {
  height: 80px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.slide img {
  width: 150px;
  height: auto;
  /* filter: grayscale(100%); */
  /* opacity: 0.6; */
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 9));
  } /* Move by half the track width */
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  position: relative;
  background: var(--bg-page);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: 0; /* Left align for industrial feel */
  text-align: left;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-secondary);
  font-size: 1.125rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-rows: 1fr; /* Equal height cards */
}

/* Removed bento spans for uniform layout */
.bento-large,
.bento-wide {
  grid-column: span 1;
  grid-row: span 1;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  height: 100%;
  position: relative; /* Ensure overlapping works */
}

.service-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
}

.service-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.03; /* Very subtle texture */
  filter: grayscale(100%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .service-bg img {
  opacity: 0.08;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.card-content {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px !important;
  background: linear-gradient(
    135deg,
    rgba(55, 181, 242, 0.1) 0%,
    rgba(55, 181, 242, 0.05) 100%
  );
  color: var(--accent-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(55, 181, 242, 0.1);
  transition: all 0.3s ease;
}

.card:hover .service-icon {
  transform: scale(1.05);
  background: var(--accent-solid);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(55, 181, 242, 0.2);
}

.service-card h3 {
  font-size: 1.35rem; /* Slightly more refined */
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.service-card p {
  color: var(--color-secondary);
  font-size: 1rem;
  line-height: 1.7; /* Increased line-height for readability */
  font-weight: 400;
}

.service-list {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.service-list li {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: "•";
  color: var(--accent-solid);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide,
  .bento-large {
    grid-column: span 1;
  }
  .section-title {
    font-size: 2.25rem;
  }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-page), #ffffff);
}

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

.stats-grid {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-solid);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Code Block */
.code-block {
  background: #1e1e1e;
  border-radius: 1rem !important;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  color: #f0f9ff;
}

.code-header {
  margin-bottom: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50% !important;
  margin-right: 0.3rem;
}

.bg-red-500 {
  background: #ef4444;
}
.bg-yellow-500 {
  background: #eab308;
}
.bg-green-500 {
  background: #22c55e;
}

.keyword {
  color: #c678dd;
}
.class {
  color: #e5c07b;
}
.function {
  color: #61afef;
}
.string {
  color: #98c379;
}
.this {
  color: #fb7258;
}

/* Contact Section */
/* Contact Section */
/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background: var(--bg-page);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.cta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content {
  text-align: left;
  max-width: 600px;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.5;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 8px; /* Slightly sharper corners */
  border: none;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Benefits List used in Partner Section */
.benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--color-secondary);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(55, 181, 242, 0.2);
  color: #38bdf8;
  border-radius: 50%;
  margin-right: 0.75rem;
  font-size: 0.8rem;
  font-weight: bold;
}

.btn.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--color-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-secondary);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--accent-solid);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .code-block {
    display: none;
  }
}

/* Industries Section */
.industries-section {
  padding: 8rem 0;
  background: var(--bg-card); /* Slightly different bg for contrast */
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

/* Abstract Background "Image" via Gradient */
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

/* Specific Backgrounds (Real Images with Mature Blue Tint) */
.industry-card::before {
  /* Default state: Visible (low opacity), Grayscale for maturity */
  filter: grayscale(100%) brightness(0.7);
  mix-blend-mode: multiply;
  opacity: 0.15; /* Visible by default as requested */
  transition: all 0.5s ease;
}

.industry-card:nth-child(1)::before {
  background: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
    no-repeat center/cover;
} /* Travel */

.industry-card:nth-child(2)::before {
  background: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
    no-repeat center/cover;
} /* Healthcare */

.industry-card:nth-child(3)::before {
  /* Media: TV News Camera/Live Reporting */
  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(56, 189, 248, 0.2)),
    url("https://images.unsplash.com/photo-1585829365295-ab7cd400c167?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
      no-repeat center/cover;
}

.industry-card:nth-child(4)::before {
  background: url("https://images.unsplash.com/photo-1532968961962-8a0cb3a2d4f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
    no-repeat center/cover;
} /* Astrology */

.industry-card:nth-child(5)::before {
  /* E-commerce: Modern Digital Payment (Reverted) */
  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(56, 189, 248, 0.2)),
    url("https://images.unsplash.com/photo-1556740714-a8395b3bf30f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
      no-repeat center/cover;
}

.industry-card:nth-child(6)::before {
  background: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80")
    no-repeat center/cover;
} /* Manufacturing */

.industry-card:hover {
  /* transform: translateY(-8px); */
  border-color: rgba(56, 189, 248, 0.3); /* Subtle blue border on hover */
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
}

.industry-card:hover::before {
  zoom: 10%;
  filter: grayscale(0%) brightness(1); /* Full Color on hover */
  opacity: 0.4;
  transform: scale(1.1);
}

/* Change text color to white on hover for contrast */
.industry-card:hover h3 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.industry-card:hover .industry-icon {
  color: #ffffff !important; /* Force white icon on hover */
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.industry-icon {
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  transform: scale(1);
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) translateY(-5px);
  color: var(
    --color-text-primary
  ); /* Darken icon for contrast against light bg */
}

.industry-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

/* Blumox Company Overview Section */
.blumox-overview-section {
  padding: 8rem 0 4rem 0;
  background: var(--bg-page);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.overview-content .section-header {
  margin-bottom: 3rem;
  max-width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.value-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.overview-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.overview-visual::before {
  content: "";
  opacity: 0.1;
  background: radial-gradient(
    circle,
    var(--color-primary) 10%,
    transparent 10%
  );
  background-size: 20px 20px;
}

/* Case Studies */
.case-studies-section {
  padding: 8rem 0;
  background: #f8fafc; /* Light gray contrast */
}

/* Case Slider */
.case-slider-wrapper {
  position: relative;
  width: 100%;
  /* Overflow visible is risky for track, but needed for controls if they are outside? 
     No, controls are absolute to wrapper. If wrapper is overflow:hidden, controls might be cut off if top is negative.
     Actually, wrapper padding-top can accommodate controls.
  */
  overflow: visible;
  padding: 0 0 3rem 0;
}

/* Controls */
.case-slider-controls {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  /* Absolute positioning relative to wrapper */
  position: absolute;
  top: -4rem; /* Aligns with "Proven Excellence" header approx */
  right: 0;
  z-index: 20;
}

@media (max-width: 768px) {
  .case-slider-controls {
    top: -3rem; /* Give more space on mobile */
    right: 0;
    bottom: auto;
    width: auto;
    justify-content: flex-end;
    transform: none; /* Remove centering */
  }
}

.case-prev-btn,
.case-next-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff; /* Solid bg so it covers text if overlap */
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-prev-btn:hover,
.case-next-btn:hover {
  background: var(--accent-solid);
  color: #fff;
  border-color: var(--accent-solid);
  transform: scale(1.1);
}

.case-slider-viewport {
  overflow: hidden; /* Only clip the track */
  width: 100%;
  padding: 1rem 0 2rem 0; /* Vertical breathing room for shadows */
}

.case-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  gap: 2rem; /* Desktop Gap */
  padding-left: 2px; /* Fix minor clip on left */
}

@media (max-width: 768px) {
  .case-slider-track {
    gap: 1rem; /* Smaller gap on mobile */
  }
}

.case-card {
  flex: 0 0 calc(33.333% - 1.33rem); /* Desktop: 3 visible - gap correction */
  /* max-width: calc(33.333% - 1.33rem); */

  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .case-card {
    flex: 0 0 calc(50% - 1rem); /* Tablet: 2 visible */
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .case-card {
    /* Mobile: 1.5 visible items. 
       Use simpler 60% logic to ensure peek. 
       66% + 1rem gap + 33% remainder peek.
    */
    flex: 0 0 66%;
    max-width: 66%;
  }
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-image {
  height: 240px;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  position: relative;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.case-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-stat {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-solid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.case-desc {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.case-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.case-link:hover {
  color: var(--accent-solid);
}

/* Testimonials */
.testimonials-section {
  padding: 8rem 0;
  background: var(--bg-page);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-solid);
}

.quote-icon {
  font-size: 4rem;
  color: var(--color-brand);
  font-family: serif;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-solid);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.author-info span {
  font-size: 0.875rem;
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .case-study-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .case-study-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-image {
    height: 200px;
  }
}

.overview-visual {
  position: relative;
}

.overview-visual::before {
  content: ""; /* Required for pseudo-element */
  position: absolute; /* Position behind the card */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(55, 181, 242, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.visual-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 2rem !important;
  padding: 4rem;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.visual-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.visual-card .card-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.visual-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.visual-card p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .overview-content .section-header {
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    text-align: center;
  }

  .values-grid .value-item:first-child {
    grid-column: span 2; /* "Projects Delivered" takes full width */
  }

  .visual-card {
    transform: rotate(0deg);
  }
}

/* Mega Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Links side-by-side */
    gap: 2rem;
  }

  /* Full Width Items on Mobile */
  .footer-brand,
  .footer-newsletter,
  .footer-contact {
    grid-column: 1 / -1;
    text-align: center;
  }

  /* Center Logo specifically */
  .footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
  }

  .footer-brand p {
    margin: 0 auto 1.5rem auto; /* Center paragraph */
  }

  .social-links {
    justify-content: center; /* Center socials */
  }

  /* Choose specific alignment for contact list on mobile if needed */
  .footer-contact .contact-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer-brand p {
  color: var(--color-secondary);
  max-width: 320px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  margin-top: 2rem;
  width: 100%;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.separator {
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--color-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-btn);
  background: var(--bg-page);
  color: var(--color-text-primary);
  flex: 1;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
}

.newsletter-form .btn {
  padding: 0.75rem 1.25rem;
}

/* Inline Contact Form */
.cta-wrapper {
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.cta-content {
  flex: 1;
  text-align: left; /* Ensure left alignment */
}

.cta-form-wrapper {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-solid);
}

.inline-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* Increased gap */
}

.inline-contact-form input,
.inline-contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  color: var(--color-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.inline-contact-form input::placeholder,
.inline-contact-form textarea::placeholder {
  color: #94a3b8;
}

.inline-contact-form input:focus,
.inline-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary); /* Sky Blue */
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(55, 181, 242, 0.1); /* Focus ring */
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.1rem; /* Larger CTA text */
}

@media (max-width: 1024px) {
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .cta-content {
    text-align: center;
  }

  /* Center the benefits list items on tablet/mobile */
  .benefits-list {
    align-items: center;
  }

  .cta-form-wrapper {
    max-width: 100%;
  }
}

/* Partner Success Hub (Merged) */
.partner-hub-section {
  padding: 8rem 0;
  background: var(--bg-page);
}

.partner-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* Left Column: Testimonials Slider */
.testimonials-column {
  position: relative;
}

.testimonial-slider-container {
  margin-top: 3rem;
  position: relative;
}

.testimonial-slides {
  display: grid;
  grid-template-areas: "slide";
  position: relative;
  /* Removed fixed min-height to allow auto-sizing based on tallest slide */
}

.testimonial-slide {
  grid-area: slide; /* Stack all slides in the same cell */
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  transform: translateX(20px);
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
}

.quote-icon-large {
  font-size: 5rem;
  color: var(--accent-solid);
  opacity: 0.2;
  font-family: serif;
  line-height: 0.8;
  margin-right: 1rem;
  float: left;
}

.slide-text {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.slide-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--color-primary);
  /* width: 24px; */
  border-radius: 12px;
}

/* Right Column: CTA Card */
.cta-column {
  position: relative;
}

.cta-card-premium {
  padding: 3rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
}

.cta-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cta-card-subtitle {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.hub-contact-form input,
.hub-contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.hub-contact-form input:focus,
.hub-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(55, 181, 242, 0.1);
}

.cta-benefits-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-secondary);
  justify-content: center;
}

@media (max-width: 1024px) {
  .partner-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Grid Utility */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Specific Section Padding Overrides */
.vision-mission-section.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .vision-mission-section.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
/* Blog Page Styles */
.blog-hero {
  background: #fff;
  padding: 160px 0 60px;
  text-align: center;
}

.blog-layout {
  display: block;
  padding: 4rem 0 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

@media (max-width: 900px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.blog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.minimal-search {
  position: relative;
  display: flex;
  align-items: center;
}

.minimal-search input {
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  width: 200px;
  transition: all 0.3s;
  outline: none;
}

.minimal-search input:focus {
  width: 250px;
  border-color: var(--color-primary);
}

.minimal-search svg {
  position: absolute;
  left: 12px;
  color: var(--color-secondary);
  pointer-events: none;
}

.featured-post {
  margin-bottom: 4rem;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .featured-post {
    flex-direction: row;
    align-items: stretch;
  }
  .featured-image {
    width: 50%;
    min-height: 400px;
    object-fit: cover;
  }
  .featured-content {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.featured-image {
  background-color: #ddd; /* Placeholder */
  width: 100%;
  height: 300px;
}

.article-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: none;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card:hover .article-image {
  transform: scale(1.03);
}

.article-image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.article-image {
  height: 240px;
  background-color: #e2e8f0;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-content {
  padding: 1.5rem;
}

.category-pill {
  display: inline-block;
  width: auto;
  max-width: fit-content;
  /* Ensure it doesn't stretch in flex containers */
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  background: var(--bg-page);
  color: var(--color-secondary);
}

.category-tech {
  background: #e0f2fe;
  color: #0284c7;
}
.category-design {
  background: #fdf2f8;
  color: #db2777;
}
.category-business {
  background: #f0fdf4;
  color: #16a34a;
}

.sidebar-widget {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  color: var(--color-secondary);
  display: flex;
  justify-content: space-between;
}

.category-list a:hover {
  color: var(--accent-solid);
}
/* Blog Details Page Styles */
.article-header {
  padding: 160px 0 60px;
  text-align: center;
  background: radial-gradient(circle at center, #f0f9ff 0%, #fff 70%);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.article-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.article-body h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent-solid);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.author-bio {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 12px;
  margin-top: 4rem;
}

.author-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--bg-page);
  color: var(--accent-solid);
  border-color: var(--accent-solid);
}

/* Sticky Sidebar Styles */
.sidebar-wrapper {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.toc-widget {
  /* Removed sticky from here, moving to wrapper */
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  border-left: 2px solid var(--border-light);
}

.toc-list li {
  position: relative;
}

.toc-list a {
  display: block;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--color-secondary);
  font-size: 0.95rem; /* Slightly larger */
  transition: all 0.2s;
  text-decoration: none;
  font-weight: 500;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--accent-solid);
  padding-left: 1.75rem; /* Subtle movement */
}

.toc-list a.active::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-solid);
}

/* Share Widget */
.share-links {
  display: flex;
  gap: 0.75rem;
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Circular */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  background: var(--bg-page);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.share-icon:hover {
  background: #fff;
  color: var(--accent-solid);
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sidebar-cta-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.sidebar-cta-text {
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Case Study Card Styles (Premium) */
.case-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(
    --shadow-xl,
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04)
  );
  border-color: var(--accent-solid);
}

.case-card .article-image-wrapper {
  height: 240px;
  margin: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.case-card .article-image {
  height: 100%;
  transition: transform 0.6s ease;
}

.case-card:hover .article-image {
  transform: scale(1.05);
}

.case-card .article-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.case-card p {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  flex-grow: 1;
}

.case-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.metric-badge {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

.metric-badge strong {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 700;
  color: var(--accent-solid);
}

.case-cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.case-card:hover .case-cta {
  color: var(--accent-solid);
  gap: 0.75rem;
}

.toc-list a.active::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-solid);
}

/* Case Study Page Styles */
.case-study-hero {
  padding: 160px 0 60px;
  background: #fff;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .case-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.case-hero-image {
  width: 100%;
  height: 500px;
  background-color: #cbd5e1;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.highlight-stat-box {
  background: var(--bg-page);
  border-left: 4px solid var(--color-brand);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
}

/* Industry Details Page Styles - Redesigned (Clean & Premium) */

/* 1. Compliance: Clean & Minimal */
.compliance-strip {
  background: transparent; /* No bg */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle separator */
  padding: 2rem 0;
}

.compliance-grid {
  display: flex;
  justify-content: center;
  gap: 4rem; /* More space */
  flex-wrap: wrap;
  opacity: 0.7; /* Slightly muted for elegance */
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.check-icon {
  color: var(--accent-solid); /* Gold check */
  background: none; /* Remove circle bg */
  font-size: 1.2rem;
  width: auto;
  height: auto;
}

/* 2. Challenges: Soft & Minimalist */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .challenges-grid {
    grid-template-columns: 1fr;
  }
}

.challenge-card {
  background: #fdfdfd; /* Very subtle off-white */
  padding: 2rem;
  border-radius: 12px;
  border: none;
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Soft ambient shadow */
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.challenge-card .card-icon {
  width: auto;
  height: auto;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  text-align: left;
}

.challenge-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.challenge-card p {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.solution-box {
  background: transparent;
  border: none;
  border-left: 2px solid var(--accent-solid);
  color: var(--color-primary);
  padding: 0.5rem 0 0.5rem 1rem;
  border-radius: 0;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: auto;
}

/* Product Status Badges */
.product-status-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 10;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.status-launched {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.status-beta {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.status-coming-soon {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
  border-color: rgba(107, 114, 128, 0.2);
}

/* 3. Services: Editorial 2-Column List */
.services-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 6rem; /* Large gap for editorial feel */
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .services-list-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.service-item-clean {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff; /* White Background */
  padding: 2.5rem;
  border-radius: 20px;
  color: var(--color-primary);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.service-item-clean:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(55, 181, 241, 0.15); /* Soft Brand Shadow */
  border-color: var(--color-brand);
}

.service-icon-large {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(55, 181, 241, 0.08); /* Light Brand Tint */
  color: var(--color-brand); /* Brand Color Icon */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-item-clean:hover .service-icon-large {
  background: var(--color-brand);
  color: #fff;
}

.service-content-clean h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.service-content-clean p {
  font-size: 1.05rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* 4. Tech Stack: Minimal */
.tech-stack-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.tech-stack-grid:hover {
  opacity: 1;
}

.tech-item {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.tech-item:not(:last-child)::after {
  content: "/";
  margin-left: 2rem;
  color: #e2e8f0;
}

/* 4. Tech Stack: Infinite Marquee */
.tech-stack-section {
  overflow: hidden;
  padding: 4rem 0;
  background: #f8fafc;
  position: relative;
}

.tech-marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.tech-marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  padding: 1rem 0;
}

.tech-marquee-item {
  font-size: 1.5rem;
  font-weight: 600;
  color: #94a3b8; /* Muted default */
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-marquee-item:hover {
  color: var(--color-primary);
}

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

/* 5. Premium Outline Button */
/* 5. Clean Minimal Button */
.btn-premium-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0; /* No side padding */
  border: none; /* Remove border */
  border-radius: 0;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
}

.btn-premium-outline::after {
  content: "→";
  transition: transform 0.3s ease;
  font-family: var(--font-body);
}

.btn-premium-outline:hover {
  color: var(--color-brand);
  transform: translateX(5px);
  box-shadow: none; /* Remove shadow */
}

.btn-premium-outline:hover::after {
  transform: translateX(5px);
}

/* Responsive Section Header */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start; /* Left align aligns with mobile design usually, or center? Let's go left for consistency with titles */
    gap: 1.5rem;
  }

  .section-header-flex .btn-premium-outline.desktop-only {
    display: none;
  }

  .mobile-only-btn-container {
    display: block !important;
    margin-top: 2rem;
    text-align: center;
  }

  .mobile-only-btn-container .btn-premium-outline {
    justify-content: center;
    width: 100%; /* Full width button on mobile? Or centered? Let's keep inline-flex but centered by container */
    display: inline-flex;
  }

  .hero-title {
    font-size: 2.5rem !important; /* Smaller hero title on mobile */
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    padding: 0 1rem;
  }

  .industry-hero {
    min-height: auto !important;
    padding: 6rem 0 4rem;
  }

  /* Case Study Mobile Optimization */
  .case-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .details-grid {
    display: block; /* Stack sidebar below content */
    padding-bottom: 2rem;
  }

  .sidebar-wrapper {
    margin-top: 3rem; /* Add spacing between content and sidebar */
  }

  .results-grid {
    grid-template-columns: 1fr; /* Stack results */
    gap: 1.5rem;
  }
}

/* Missing Case Study Styles */
.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.tech-badge {
  padding: 0.5rem 1rem;
  background: var(--bg-page);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

/* Ensure Case Cards fill grid cells on all devices */
.case-study-grid .case-card {
  min-width: 0;
  max-width: 100% !important;
  flex: 1 !important;
  width: 100%;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.result-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
}

.result-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.result-label {
  font-size: 1rem;
  color: var(--color-secondary);
}

/* Mobile Optimizations for Services & Details */
@media (max-width: 768px) {
  .services-list-grid {
    gap: 3rem;
  }

  .service-item-clean {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .testimonial-text-large {
    font-size: 1.5rem;
  }

  /* Compliance Mobile - 2 Column Grid for better structure */
  .compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: center; /* Center items in their grid cells */
    text-align: center;
    padding: 0 1rem;
  }

  .compliance-item {
    font-size: 0.75rem;
    width: 100%;
    justify-content: center; /* Center text/icon */
  }

  /* Tech Stack Mobile */
  .tech-stack-section {
    padding: 3rem 0; /* Tighter padding */
  }

  .tech-marquee-track {
    gap: 2rem;
  }

  .tech-marquee-item {
    font-size: 1rem; /* Smaller, more readable on mobile */
  }

  /* Proven Results Mobile */
  .case-studies-section .grid-3,
  .case-study-grid {
    grid-template-columns: 1fr !important; /* Force single column */
    gap: 2rem;
    display: grid; /* Ensure grid display */
  }

  /* Override the slider 'peek' style from global css */
  .case-study-grid .case-card {
    min-width: 0;
    max-width: 100% !important;
    flex: auto !important;
    width: 100%;
  }

  .case-card {
    min-width: 0;
    margin-bottom: 1rem;
  }
}

/* Industry Hero Specifics */
.industry-hero {
  min-height: 60vh;
  align-items: center;
  display: flex;
}

/* Ensure Case Study Grid has desktop styles too since we removed inline */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 5. Testimonial - Clean Typography */
.testimonial-card-clean {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0;
}

.quote-mark-large {
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-solid);
  opacity: 0.2;
  font-family: serif;
  margin-bottom: -2rem;
  display: block;
}

.testimonial-text-large {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.testimonial-author-clean {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-role-clean {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-top: 0.25rem;
}

/* Premium CTA Section */
.cta-premium {
  padding: 10rem 0; /* Increased padding */
  position: relative;
  overflow: hidden;
  background: #000; /* Pure Black for max contrast */
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 175, 55, 0.15) 0%,
    /* Gold Glow center */ transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}

.cta-content-premium {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-premium h2 {
  font-size: 4.5rem; /* Larger */
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
}

.cta-premium p {
  font-size: 1.5rem;
  color: #a3a3a3;
  margin-bottom: 4rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-glow {
  position: relative;
  background: #d4af37; /* Gold Background */
  color: #000;
  border-color: #d4af37;
  font-weight: 700;
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-glow:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
  transform: translateY(-4px) scale(1.05);
}

.btn-glow .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.btn-glow:hover .arrow {
  transform: translateX(5px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 0.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.result-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.result-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-solid);
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.tech-stack-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tech-badge {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.testimonial-box {
  background: #1e1e24;
  color: #fff;
  padding: 3rem;
  border-radius: 20px;
  margin-top: 4rem;
  position: relative;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--accent-solid);
}

.testimonial-author span {
  font-size: 0.9rem;
  opacity: 0.8;
}
/* GLOBAL SHARP THEME OVERRIDE */
* {
  border-radius: 0 !important;
}

/* Maintain circles for avatars, icons, and buttons that must be round */
.rounded-full,
.circle,
.slider-arrow,
.share-icon,
.share-btn,
.author-image,
.case-prev-btn,
.case-next-btn,
.slider-dots .dot,
.check-icon,
.step-number,
.radio-mark,
.checkbox-mark,
.file-icon-wrapper,
.remove-file {
  border-radius: 50% !important;
}

/* Industries Sticky Split Layout - Scrollytelling */
.industry-split-container {
  display: flex;
  width: 100%;
  position: relative;
}

.industry-section-gap {
  padding: 4rem 0rem;
}

/* VISUAL COLUMN (Left, Sticky) */
.sticky-visual-col {
  width: 50%;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #000; /* Dark bg for image contrast */
}

.visual-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.industry-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition:
    opacity 0.8s ease-in-out,
    transform 8s ease; /* Long slow zoom */
  transform: scale(1.1);
  will-change: opacity, transform;
}

/* Active State for Visuals */
.industry-visual.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(
    0.85
  ); /* Slight dim for text readiness if needed, though text is on right */
}

/* CONTENT COLUMN (Right, Scrolling) */
.scrolling-content-col {
  width: 50%;
  background: #fff;
  position: relative;
  z-index: 10;
}

.industry-content-block {
  min-height: 100vh; /* Each section takes full viewport height scroll */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Typography & Elements */
.industry-content-block .category-pill {
  margin-bottom: 2rem;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #888;
  display: inline-block;
}

.industry-content-block h3 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.industry-content-block p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 520px;
}

/* Feature Grid Redux */
.industry-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
}

.feature-row span:last-child {
  color: #d4af37; /* Gold check/dot */
}

/* Button to Link Transformation */
.industry-content-block .case-cta {
  background: #37b5f2 !important;
  border: #37b5f2 !important;
  padding: 0 !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  position: relative;
  box-shadow: none !important;
  padding: 1rem 2rem !important;
}

.industry-content-block .case-cta::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.industry-content-block .case-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .industry-content-block h3 {
    font-size: 2.5rem;
  }
  .industry-content-block {
    padding: 3rem;
  }
}

@media (max-width: 900px) {
  .industry-split-container {
    flex-direction: column;
  }

  .sticky-visual-col {
    display: none;
  }

  .scrolling-content-col {
    width: 100%;
  }

  .industry-content-block {
    min-height: auto;
    padding: 4rem 1.5rem;
  }

  .mobile-industry-image {
    display: block;
    width: 100%;
    /* height: 300px;
    object-fit: cover; */
    margin-bottom: 2rem;
    border-radius: 0;
  }
}

@media (min-width: 901px) {
  .mobile-industry-image {
    display: none;
  }
}

/* Pill shapes that should arguably stay pill-shaped or become rectangular? 
   User said "remove from all", usually implies buttons/cards. 
   Pills (badges) becoming rectangles is a valid interpretation of "sharp".
   I will leave them sharp (0 radius) as per "remove from all". 
*/

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-step {
  position: relative;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-light);
  transition: background 0.3s ease;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.01);
  border-color: #cbd5e1;
}
.process-step:hover::before {
  background: var(--accent-solid);
}
.step-number {
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.06;
  color: var(--color-primary);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
}
.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  font-weight: 700;
}
.process-step p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.hero-trust-strip img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
  mix-blend-mode: multiply;
}
.hero-trust-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
  mix-blend-mode: normal;
}
/* Lock Icon Polish */
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  border-radius: 20px;
  color: var(--color-secondary);
  font-size: 0.75rem;
  margin-top: 1rem;
  border: 1px solid var(--border-light);
}

/* ===================================
   Clientele Page Styles
   =================================== */

/* Counter Stats Section */
.clientele-counter-section {
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 10;
}

.clientele-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  padding: 3rem 4rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Filter Bar */
.clientele-filters {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.5rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover {
  background: #fff;
  border-color: var(--accent-solid);
  color: var(--accent-solid);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* Clientele Grid */
.clientele-section {
  padding-bottom: 6rem;
  position: relative;
}

.clientele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

/* Card Reveal Animation */
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.01),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.client-card[style*="display: none"] {
  opacity: 0;
  transform: scale(0.9);
}

.client-card:hover {
  transform: translateY(-12px) scale(1.03);
  background: #fff;
  border-color: var(--accent-solid);
  box-shadow:
    0 40px 80px -15px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(55, 181, 242, 0.1),
    0 0 0 1px rgba(55, 181, 242, 0.05);
}

.client-logo-wrapper {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 16px;
  transition: background 0.3s ease;
}

.client-card:hover .client-logo-wrapper {
  background: #fff;
}

.client-logo-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 1;
  transition: all 0.4s ease;
}

.client-card:hover .client-logo-wrapper img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.client-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-card:hover .client-name {
  opacity: 1;
  letter-spacing: 0.12em;
  color: var(--accent-solid);
}

/* Background Decoration */
.clientele-bg-accent {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(55, 181, 242, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Clientele CTA Section */
.clientele-cta-section {
  padding-bottom: 4rem;
}

.clientele-cta-card {
  text-align: center;
  padding: 5rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

/* Clientele Responsive */
@media (max-width: 768px) {
  .clientele-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .clientele-stat-divider {
    width: 60px;
    height: 1px;
  }

  .clientele-stat-number {
    font-size: 2rem;
  }

  .clientele-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .client-card {
    padding: 1.5rem 1rem;
  }

  .client-logo-wrapper {
    height: 70px;
  }

  .client-name {
    font-size: 0.75rem;
  }

  .clientele-cta-card {
    padding: 2.5rem 1.5rem;
  }

  /* Mobile Filter Slider */
  .clientele-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0.5rem 1rem 1.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .clientele-filters::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .clientele-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .client-card {
    padding: 1.25rem 0.5rem;
    gap: 0.75rem;
  }

  .client-logo-wrapper {
    height: 50px;
    padding: 0.5rem;
  }

  .client-name {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}
