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

:root {
  --black: #000000;
  --ink: #0a0a0a;
  --midnight: #111111;
  --orange: #ff6b35;
  --orange-dark: #e55a2b;
  --orange-light: #ff8c61;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-700: #404040;
  --success: #10b981;
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(17, 17, 17, 0.7));
  --shadow-soft: 0 20px 80px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 60px rgba(0, 0, 0, 0.3);
  --shadow-orange: 0 10px 40px rgba(255, 107, 53, 0.3);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--black);
  color: var(--gray-100);
  line-height: 1.6;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (max-width: 480px) {
  .container {
    padding: 0 12px; /* Even smaller padding on small mobile */
  }
}

.section-heading {
  max-width: 100%;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 20px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  word-spacing: 0.1em;
}

/* Services heading with separators styling */
#services .section-heading h2 {
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.4;
}

.section-heading p {
  color: var(--gray-300);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(30, 30, 30, 0.95); /* Grey background to match dark site */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px; /* Original smaller height */
}

@media (max-width: 1024px) {
  .header-container {
    padding: 8px 20px; /* Smaller on tablet */
  }
  
  .brand-logo-container {
    width: 50px !important; /* Tablet size */
    height: 50px !important; /* Tablet size */
    padding: 5px !important; /* Padding to fit logo inside */
    overflow: hidden !important; /* Clip edges */
  }
  
  .brand-logo {
    max-width: 40px !important; /* 50px - 10px padding = 40px */
    max-height: 40px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  
  .brand-title {
    font-size: 0.85rem;
  }
  
  .brand-subtitle {
    font-size: 0.75rem;
  }
  
  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 6px 16px; /* Smallest on mobile */
  }
  
  .mobile-menu-toggle {
    display: flex; /* Show hamburger menu on mobile */
  }
  
  .brand-logo-container {
    width: 45px !important; /* Mobile size */
    height: 45px !important; /* Mobile size */
    padding: 4px !important; /* Padding to fit logo inside */
    overflow: hidden !important; /* Clip edges */
  }
  
  .brand-logo {
    max-width: 37px !important; /* 45px - 8px padding = 37px */
    max-height: 37px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  
  .brand {
    gap: 8px; /* Reduced gap on mobile */
  }
  
  .brand-title {
    font-size: 0.75rem; /* Smaller on mobile */
  }
  
  .brand-subtitle {
    font-size: 0.65rem; /* Smaller on mobile */
  }
  
  /* Mobile Navigation Menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
  
  .nav-links.mobile-open {
    right: 0;
  }
  
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    text-align: center;
  }
  
  /* Mobile menu overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

/* Logo container with white background in circle */
.brand-logo-container {
  width: 60px !important; /* Circle size - fixed */
  height: 60px !important; /* Circle size - fixed */
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 50% !important;
  background: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important; /* Padding to ensure logo fits nicely inside circle */
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important; /* CRITICAL: Clip anything outside the circle */
  position: relative !important;
}

.brand-logo {
  width: 100% !important; /* Fill available space inside circle */
  height: 100% !important; /* Fill available space inside circle */
  max-width: 48px !important; /* 60px - 12px padding = 48px */
  max-height: 48px !important; /* 60px - 12px padding = 48px */
  object-fit: contain !important; /* Maintain aspect ratio, fit inside circle */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important; /* Remove any border-radius from image itself */
}

/* CRITICAL: Ensure logo container and image are always visible and properly clipped */
.brand-logo-container img,
img.brand-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: white; /* White text for dark header */
}

.brand-subtitle {
  color: var(--orange); /* Orange color - #ff6b35 */
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9); /* White text for dark header */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange); /* Orange on hover - #ff6b35 */
  opacity: 1;
}

.nav-cta-link,
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.2s ease;
}

.nav-cta-link:hover,
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 1) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 70px); /* Reduced to fit in viewport with header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
  padding: 30px 0 40px; /* Significantly reduced top padding to bring content closer to header */
  margin-top: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65; /* Increased from 0.4 to make video more visible */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(17, 17, 17, 0.7)); /* Reduced darkness from 0.95/0.9 to 0.75/0.7 */
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url('https://assets.website-files.com/5d38c5d6c54d9f0810e5e0c4/5d3a7f6c16be0eeaf6ba6748_Noise.png');
  opacity: 0.15; /* Reduced from 0.22 to make background more visible */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px; /* Reduced gap from 60px to 40px */
  align-items: center;
  text-align: left;
}

.hero-content-left {
  max-width: 720px;
}

.hero-logo-side {
  display: none; /* Logo removed from hero section */
}

.hero-logo-side img {
  display: none; /* Logo removed from hero section */
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 16px; /* Reduced from 22px to 16px */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem); /* Slightly smaller to fit better */
  line-height: 1.15; /* Slightly tighter line height */
  margin-bottom: 14px; /* Reduced from 18px to 14px */
  font-weight: 800;
}

.hero-description {
  font-size: 1.1rem; /* Slightly smaller font */
  color: var(--gray-200);
  margin-bottom: 24px; /* Reduced from 30px to 24px */
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px; /* Reduced from 36px to 28px */
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.metric-label {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.3;
  margin-top: 4px;
}

/* Trust Logos */
.trust-logos {
  background: #D4C4B0; /* Cream background color - lighter shade with low transparency */
  padding: 50px 0 40px; /* Reduced padding for more compact, professional look for spacing from hero */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 160px; /* Reduced height for more compact section */
}

/* INFINITE LOGO SCROLL - Webflow Style */
.logo-scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px 0; /* Reduced margin for compact look */
  padding: 15px 0; /* Reduced padding */
  min-height: 90px; /* Reduced height for compact section */ even if logos are loading */
  background: transparent; /* No box - transparent background */
}

.logo-scroll-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 90px; /* Reduced height for compact section */ */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Infinite scroll wrapper */
.logo-scroll-wrapper,
#logoScrollWrapper {
  display: inline-flex;
  align-items: center;
  gap: 120px; /* Increased gap for better spacing - prevents cramped logos */
  animation: scrollLogos 25s linear infinite; /* Faster scroll to show all 50 logos */
  will-change: transform;
  white-space: nowrap;
}

/* Pause on hover */
.logo-scroll-container:hover .logo-scroll-wrapper,
.logo-scroll-container:hover #logoScrollWrapper {
  animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* Simplified logo containers - no cropping */
.simple-logo-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px !important;
  margin: 0 20px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  min-width: 150px !important;
  height: 90px !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

.simple-logo-item:hover {
  opacity: 1 !important;
}

/* Logo items - Clean minimal design like Webflow - Uniform white logos */
.logo-item,
.logo-item-fixed,
.simple-logo-item,
[class*="logo-item"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  height: 90px; /* Increased height to prevent top/bottom cropping */
  width: auto;
  padding: 8px 35px; /* Added vertical padding to prevent cropping, reduced horizontal */
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hide logo items that failed to load or are not visible */
.logo-item.logo-failed {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Show logo items that are loaded */
.logo-item.logo-loaded {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hide logo items with empty or invalid images */
.logo-item img[src=""],
.logo-item img:not([src]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Show loading logos but keep them transparent until loaded */
.logo-item.logo-loading img {
  opacity: 0 !important;
  transition: opacity 0.3s ease;
}

/* Show loaded logos */
.logo-item.logo-loaded img {
  opacity: 1 !important;
}

/* Ensure logo items without valid images don't show */
.logo-item:empty {
  display: none !important;
}

/* Only show logos that are successfully loaded */
.logo-item.logo-loaded {
  display: flex !important;
  visibility: visible !important;
}

.logo-item:hover {
  opacity: 0.8;
}

/* Show logos in original colors */
.logo-item img,
.logo-item-fixed img,
.simple-logo-item img,
[class*="logo-item"] img {
  max-height: 90px; /* Use max-height instead of fixed height to prevent cropping */`n  height: auto; /* Allow natural height within max constraint */
  width: auto; /* Maintain aspect ratio */
  max-width: 180px; /* Slightly reduced for more compact look */
  object-fit: contain;
  object-position: center;
  padding: 0; /* Remove padding to maximize logo space */
  box-sizing: border-box;
  /* Original colors - no filter applied */
  filter: brightness(0);
  transition: opacity 0.3s ease;
  display: block;
}

/* Hide images that failed to load or are empty */
.logo-item img[src=""],
.logo-item img:not([src]) {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* Show loading images but keep them transparent */
.logo-item.logo-loading {
  display: flex !important;
  visibility: visible !important;
}

.logo-item.logo-loading img {
  opacity: 0 !important;
  visibility: visible !important;
  display: block !important;
}

/* Show loaded images */
.logo-item.logo-loaded {
  display: flex !important;
  visibility: visible !important;
}

.logo-item.logo-loaded img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Larger logos - TVS, Lenovo, Wipro, Toyota */
.logo-item[data-logo-size="large"] img {
  height: 80px; /* Larger height for these brands */
  max-width: 250px;
  padding: 8px; /* Extra padding to prevent cropping */
  box-sizing: border-box;
}

.logo-item[data-logo-size="large"] {
  height: 80px; /* Match container height */
  padding: 0 50px; /* Extra horizontal padding to prevent edge cropping */
}

/* Toyota specific - extra padding to prevent side cropping */
.logo-item[data-logo-name="Toyota"] {
  padding: 0 120px !important; /* Even more horizontal padding for Toyota */
  min-width: 450px !important; /* Ensure enough space */
  max-width: none !important; /* Remove max-width restriction */
}

.logo-item[data-logo-name="Toyota"] img {
  max-width: 400px !important; /* Wider max-width for Toyota */
  width: auto !important;
  height: 80px !important;
  padding: 15px !important; /* Extra padding around image */
  object-fit: contain !important;
  margin: 0 auto !important; /* Center the image */
}

/* Original colors for all logos - no special filters needed */
.logo-item[data-logo-type="white-fix"] img,
.logo-item[data-logo-type="background-fix"] img {
  /* Show in original colors */
  filter: brightness(0);
  padding: 4px;
  box-sizing: border-box;
}

.logo-item:hover img,
.logo-item-fixed:hover img,
.simple-logo-item:hover img,
[class*="logo-item"]:hover img {
  opacity: 1;
}

.logo-item span {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.logo-item span {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  font-weight: 500;
}

/* Buttons removed for infinite scroll design */

@media (max-width: 768px) {
  .logo-scroll-container {
    margin: 30px 0;
    padding: 15px 0;
  }
  
  .logo-item {
    height: 50px; /* Consistent smaller height on mobile */
    padding: 0 20px;
  }
  
  .logo-item img {
    height: 50px; /* Fixed height for consistency */
    max-width: 150px;
  }
  
  /* Larger logos on mobile */
  .logo-item[data-logo-size="large"] {
    height: 65px;
  }
  
  .logo-item[data-logo-size="large"] img {
    height: 65px;
    max-width: 200px;
  }
  
  /* Toyota specific mobile styles */
  .logo-item[data-logo-name="Toyota"] {
    padding: 0 80px !important; /* Generous padding on mobile */
    min-width: 350px !important;
    max-width: none !important;
  }
  
  .logo-item[data-logo-name="Toyota"] img {
    max-width: 300px !important;
    height: 65px !important;
    padding: 10px !important;
    margin: 0 auto !important;
  }
  
  .logo-scroll-wrapper,
  #logoScrollWrapper {
    gap: 80px; /* Increased gap on mobile to prevent cramped logos */
    animation-duration: 20s; /* Faster scroll on mobile */
  }
  
  /* Capabilities mobile */
  .capabilities {
    padding: 60px 0 50px;
  }
  
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .capability-card {
    padding: 20px;
  }
  
  .capability-card h3 {
    font-size: 1.2rem;
  }
  
  /* Portfolio mobile */
  .portfolio {
    padding: 60px 0;
  }
  
  .portfolio-filters {
    gap: 8px;
    margin-bottom: 30px;
    padding: 0 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .portfolio-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* About section mobile */
  .about {
    padding: 60px 0;
  }
  
  /* Team section mobile */
  .team {
    padding: 60px 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 50px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Capabilities */
.capabilities {
  padding: 110px 0 80px;
  background: radial-gradient(circle at top, rgba(255, 107, 53, 0.08), rgba(0, 0, 0, 0));
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.capability-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.capability-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.capability-card p {
  color: var(--gray-300);
  margin-bottom: 12px;
}

.capability-card ul {
  list-style: none;
  color: var(--gray-100);
  font-size: 0.98rem;
}

.capability-card li {
  padding: 6px 0;
}

.capability-cta {
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.capability-cta:hover {
  background: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

/* Portfolio */
.portfolio {
  padding: 80px 0;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: var(--gray-100);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.portfolio-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-video-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.portfolio-video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--midnight);
  overflow: hidden;
}

.portfolio-video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
}

.portfolio-video-card:hover .portfolio-video-play {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.portfolio-video-info {
  padding: 20px;
}

.portfolio-video-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.portfolio-video-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.portfolio-video-client {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.portfolio-video-card.hidden {
  display: none;
}

/* Metrics */
.metrics {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.metrics-grid article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-grid h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

blockquote {
  border-radius: var(--radius-md);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
}

blockquote cite {
  display: block;
  margin-top: 14px;
  color: var(--gray-300);
  font-style: normal;
}

/* Process */
.process {
  padding: 80px 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.timeline-step {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-step span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.timeline-step h3 {
  margin: 10px 0;
}

/* CTA Banner */
.cta-banner {
  padding: 70px 0;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1), rgba(0, 0, 0, 0));
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Questionnaire */
.questionnaire {
  padding: 110px 0;
  background: var(--gray-100);
  color: var(--ink);
}

.form-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.form-header h2 {
  color: var(--ink);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--gray-500);
}

.form-stats p {
  background: var(--gray-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  color: var(--gray-700);
}

.progress-container {
  margin-bottom: 28px;
}

.progress-bar {
  height: 10px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 8%;
  background: var(--orange);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-text {
  margin-top: 10px;
  text-align: center;
  color: var(--gray-500);
  font-weight: 600;
}

.form-step {
  display: none;
  animation: fadeIn 0.28s ease;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--ink);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.step-subtitle {
  margin-bottom: 18px;
  color: var(--gray-500);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.option-card {
  position: relative;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.16);
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card:has(input:checked) {
  border-color: var(--orange);
  background: #fff5f0;
}

.card-content {
  text-align: left;
  color: var(--ink);
}

.option-card.checkbox .card-content {
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.category-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(170deg, #ffffff, #fff5f0);
  box-shadow: 0 14px 42px rgba(255, 107, 53, 0.11);
}

.category-card h4 {
  color: var(--ink);
  margin-bottom: 4px;
}

.category-card header p {
  color: var(--gray-500);
  margin-bottom: 10px;
}

.category-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 100px;
  margin-top: 6px;
}

textarea:focus,
input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.privacy-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

/* Buttons */
.cta-button,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: none;
  text-decoration: none;
}

.cta-button.primary {
  background: var(--orange);
  color: var(--white);
  padding: 13px 26px;
  box-shadow: var(--shadow-orange);
}

.cta-button.primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 14px 40px rgba(255, 107, 53, 0.4);
}

.cta-button.primary.large {
  padding: 15px 30px;
  font-size: 1.02rem;
}

.cta-button.primary:hover {
  transform: translateY(-1px);
  background: var(--orange-dark);
}

.cta-button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 13px 24px;
}

.cta-button.secondary {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 11px 22px;
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  padding: 11px 22px;
}

/* Results */
.results {
  padding: 110px 0;
  background: var(--ink);
  color: var(--white);
}

.results-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--success);
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.results-subtitle {
  color: var(--gray-200);
  margin-bottom: 26px;
}

.strategy-content {
  margin: 30px 0 34px;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.strategy-section {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.strategy-section:last-child {
  border-bottom: none;
}

.strategy-section h4 {
  margin-bottom: 6px;
}

.strategy-section ul {
  list-style: none;
  margin-top: 8px;
}

.strategy-section li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.strategy-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.cta-section {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* About Us */
.about {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* Team */
.team {
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-member {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--orange);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  margin: 0 !important;
  border-radius: 50% !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

.team-initials {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 0;
  background: var(--orange);
  border-radius: 50%;
}

/* Show initials only when image fails or is hidden */
.team-avatar img[style*="display: none"] + .team-initials,
.team-avatar:not(:has(img[src])) .team-initials {
  display: flex !important;
}

.team-member h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  margin-top: 0;
}

.team-member p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Blog */
.blog {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.blog-coming-soon {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px;
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

/* FAQ Accordion */
.faq {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 900px;
  margin: 48px auto 0;
}

.faq-item {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question[aria-expanded="true"] {
  background: rgba(255, 107, 53, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-200);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--white);
}

/* Contact */
.contact {
  padding: 90px 0;
  background: rgba(255, 255, 255, 0.02);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.contact-list {
  list-style: none;
  margin: 20px 0;
  color: var(--gray-300);
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.contact-list span {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.contact-list a {
  color: var(--white);
  text-decoration: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

.social-links a svg {
  width: 24px;
  height: 24px;
}

.contact-cta {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

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

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 8px 0;
}

/* Error & Loading */
.error-message {
  background: #ffe5e9;
  color: #c6244f;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 4px solid #c6244f;
  margin-bottom: 14px;
}

.loading {
  opacity: 0.7;
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--white);
  border-top-color: transparent;
  right: 18px;
  animation: spin 0.8s linear infinite;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Chatbot Styles */
.chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 50px rgba(255, 107, 53, 0.4);
}

.chatbot-container {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
}

.chatbot-container.active {
  display: flex;
}

.chatbot-header {
  background: var(--black);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: var(--gray-100);
}

.chatbot-message {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.chatbot-message.user {
  align-items: flex-end;
}

.chatbot-message.bot {
  align-items: flex-start;
}

.message-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.chatbot-message.user .message-bubble {
  background: var(--orange);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chatbot-message.bot .message-bubble {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}

.chatbot-input-area {
  padding: 18px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 12px;
}

.chatbot-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.chatbot-send {
  padding: 12px 20px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.chatbot-send:hover {
  background: var(--orange-dark);
}

.chatbot-typing {
  display: flex;
  gap: 4px;
  padding: 8px 0;
}

.chatbot-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typing 1.4s infinite;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    padding: 25px 0 35px; /* Reduced padding for tablet */
    min-height: calc(100vh - 65px);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px; /* Reduced gap for tablet */
    text-align: center;
  }

  .hero-content-left {
    max-width: 100%;
  }

  .hero-logo-side {
    order: -1;
  }

  .hero-logo-side img {
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
  }

  .hero-ctas {
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    gap: 30px;
  }

  .section-heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .form-header {
    flex-direction: column;
  }

  .trust-logos {
    padding: 60px 0 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 0 30px; /* Reduced padding for mobile to fit content */
    min-height: auto; /* Let content determine height */
    align-items: flex-start; /* Align to top */
  }

  .hero-content {
    gap: 24px;
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .hero-content-left {
    max-width: 100%;
  }

  .hero-pill {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .hero-ctas {
    margin-bottom: 24px;
  }

  .hero-ctas .cta-button {
    width: 100%; /* Full width button on mobile */
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .metric-value {
    font-size: 1.6rem;
  }

  .metric-label {
    font-size: 0.85rem;
  }

  .hero-logo-side img {
    max-width: 150px;
  }

  .section-heading {
    padding: 0 16px;
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
  }

  .section-heading p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 16px 0 24px; /* Reduced padding for small mobile */
    min-height: auto;
  }

  .hero-content {
    gap: 18px;
  }

  .hero-logo-side {
    display: none; /* Hide logo on small screens */
  }

  .hero-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.15;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-metrics {
    gap: 16px;
  }

  .metric-value {
    font-size: 1.4rem;
  }

  .metric-label {
    font-size: 0.8rem;
  }

  .trust-logos {
    padding: 50px 0 30px;
  }

  .form-wrapper {
    padding: 30px 20px;
  }

  .options-grid,
  .category-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }
  
  /* Capabilities mobile */
  .capabilities {
    padding: 60px 0 50px;
  }
  
  .capability-card {
    padding: 20px;
  }
  
  .capability-card h3 {
    font-size: 1.2rem;
  }
  
  /* Portfolio mobile */
  .portfolio {
    padding: 60px 0;
  }
  
  .portfolio-filters {
    gap: 8px;
    margin-bottom: 30px;
    padding: 0 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .portfolio-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* About section mobile */
  .about {
    padding: 60px 0;
  }
  
  /* Team section mobile */
  .team {
    padding: 60px 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 50px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Logo Scroll Animation - Disabled (JavaScript controlled) */
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* Logo Scroll Responsive Adjustments */
@media (max-width: 900px) {
  .logo-item,
  .logo-item-fixed,
  .simple-logo-item {
    min-width: 150px;
    max-width: 300px;
    padding: 20px;
    margin: 0 10px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .logo-item img,
  .logo-item-fixed img,
  .simple-logo-item img {
    max-width: 140px;
    max-height: 90px;`n  height: auto; /* Allow natural height within max constraint */
  }
  
  .logo-scroll-viewport {
    max-width: 100%;
    min-height: 100px;
  }
}

@media (max-width: 600px) {
  .logo-item,
  .logo-item-fixed,
  .simple-logo-item {
    min-width: 120px;
    max-width: 250px;
    padding: 15px;
    margin: 0 8px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .logo-item img,
  .logo-item-fixed img,
  .simple-logo-item img {
    max-width: 120px;
    max-height: 40px;
  }
  
  .logo-scroll-container {
    gap: 10px;
  }
}

/* FINAL OVERRIDE - Remove ALL background boxes from logos - MUST BE LAST */
.logo-item,
.logo-item-fixed,
.simple-logo-item,
#logoScrollWrapper .logo-item,
#logoScrollWrapper > div,
[class*="logo-item"],
.trust-logos .logo-item {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Ensure logo images are visible and properly sized */
.logo-item img,
.logo-item-fixed img,
.simple-logo-item img {
  max-width: 220px !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
}



