/* ==========================================================================
   INTAS Paint - Design System & Stylesheet (2026 Premium Corporate)
   ========================================================================== */

/* --- Google Fonts & Variables --- */
:root {
  /* Brand Colours */
  --color-red: #D31E25;
  --color-orange: #E87722;
  --color-maroon: #5E1218;
  --color-charcoal: #0F0F11;
  --color-dark-bg: #0A0A0C;
  --color-slate-gray: #18181C;
  --color-text-primary: #FFFFFF;
  --color-text-muted: #A0A0AB;
  
  /* HSL Tailored Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-red), var(--color-orange));
  --gradient-logo: linear-gradient(135deg, #D31E25 15%, #E87722 45%, #F8C300 65%, #4CB848 80%, #00A0E9 95%);
  --gradient-dark: linear-gradient(180deg, var(--color-charcoal) 0%, var(--color-dark-bg) 100%);
  --gradient-card-sheen: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  
  /* Glassmorphism Specs */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  
  /* Animation Timing & Physics Easing Suite (Modern 2026 Standards) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --ease-spring-soft: cubic-bezier(0.25, 1.15, 0.5, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-hover: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  
  /* Fallback aliases */
  --spring-easing: var(--ease-spring);
  --smooth-easing: var(--ease-out-expo);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Fluid Typography */
  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.4rem);
  --fs-h2: clamp(2rem, 4vw + 0.5rem, 2.8rem);
  --fs-h3: clamp(1.25rem, 2vw + 0.5rem, 1.45rem);
  --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.15rem);

  /* Spacing */
  --section-padding-y: clamp(60px, 8vw, 120px);
  --section-padding: var(--section-padding-y) 0;
  --container-width: 1280px;
}

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

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  background-color: var(--color-dark-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-slate-gray);
  border-radius: 4px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

p {
  color: var(--color-text-muted);
}

.text-balance {
  text-wrap: balance;
}

.container {
  width: 80%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- Shared UI Components --- */

/* Glassmorphism card foundation */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s var(--ease-out-expo);
  will-change: transform;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 20px rgba(232, 119, 34, 0.08);
}

/* Interactive Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.btn:active {
  transform: translateY(0) scale(0.97) !important;
  transition-duration: 0.1s !important;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -2px rgba(211, 30, 37, 0.35), 0 4px 12px -2px rgba(232, 119, 34, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.65s var(--ease-out-expo);
  pointer-events: none;
}

#bookbtn {
  padding: 8px 18px;
  font-size: 0.9rem;
}

#exploreBtn {
  gap: 12px;
}

.btn-primary:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 14px 34px -4px rgba(211, 30, 37, 0.5), 0 8px 20px -2px rgba(232, 119, 34, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #FFFFFF;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  padding: 10px 24px;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: var(--color-charcoal);
  border-color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2);
}

/* Icon micro-movement inside buttons */
.btn i, .btn svg {
  transition: transform 0.3s var(--ease-spring);
}

.btn:hover i[data-lucide="arrow-right"], 
.btn:hover svg.lucide-arrow-right,
.btn:hover i[data-lucide="chevron-right"],
.btn:hover svg.lucide-chevron-right {
  transform: translateX(4px);
}

.btn:hover i[data-lucide="external-link"],
.btn:hover svg.lucide-external-link {
  transform: translate(2px, -2px);
}

.btn-block {
  width: 100%;
}

/* Gradient text */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animated-gradient,
.gradient-text.animated-gradient {
  background: linear-gradient(
    125deg,
    #D31E25 0%,
    #FF3B30 20%,
    #E87722 45%,
    #FFB340 70%,
    #E87722 85%,
    #D31E25 100%
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: moving-gradient 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 2px 12px rgba(232, 119, 34, 0.2));
}

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

/* Badge Layout */
.section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
}

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

.inline-icon {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  stroke-width: 2px;
}

/* --- Sticky Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.35s var(--ease-out-expo), background-color 0.35s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s var(--ease-out-expo);
  padding: 24px 0;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 12, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img-header {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.35s var(--ease-spring);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.logo:hover .logo-img-header {
  transform: scale(1.05) rotate(1deg);
}

.logo-img-footer {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 0.35s var(--ease-spring);
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.25));
  margin-bottom: 8px;
}

.logo:hover .logo-img-footer {
  transform: scale(1.05) rotate(1deg);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
  font-weight: 500;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease-spring), left 0.3s var(--ease-spring);
}

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

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

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

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.25s var(--ease-spring);
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* --- Section 1: Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: var(--color-dark-bg);
}

/* Background Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 20%, rgba(10, 10, 12, 0.7) 55%, rgba(10, 10, 12, 0.35) 100%),
              linear-gradient(to top, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0) 20%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-container {
  margin-bottom: 24px;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(232, 119, 34, 0.1);
  border: 1px solid rgba(232, 119, 34, 0.25);
  color: var(--color-orange);
  box-shadow: 0 4px 15px rgba(232, 119, 34, 0.08);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 119, 34, 0.4);
}

.hero-title {
  font-size: clamp(3rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: var(--fs-body);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Category Selector Carousel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-category-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  background: rgba(10, 10, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  will-change: transform;
}

.category-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(-4px);
}

.category-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 119, 34, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateX(-6px);
}

.category-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: 2px;
  opacity: 0;
  transition: width 0.1s linear, opacity 0.3s ease;
}

.category-item.active::before {
  opacity: 1;
  width: 100%;
  transition: width 5s linear, opacity 0.3s ease;
}

.category-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.category-item.active .category-num {
  color: var(--color-orange);
}

.category-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.category-item.active h4 {
  color: #FFFFFF;
}

.category-item p {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.category-item.active p {
  color: rgba(255, 255, 255, 0.75);
}

/* Pack sizes visual box */
.pack-size-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pack-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-orange);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.pack-sizes {
  font-size: 0.8rem;
  color: #FFFFFF;
  font-weight: 500;
}

/* --- Section 2: About INTAS --- */
.about-section {
  padding: var(--section-padding);
  background: var(--color-dark-bg);
  border-top: 1px solid var(--glass-border);
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-text {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-goals {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.goal-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.goal-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-orange);
  stroke-width: 2px;
}

.goal-item h3 {
  font-size: var(--fs-h3);
  margin-bottom: 6px;
}

.goal-item p {
  font-size: 0.95rem;
}

/* Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
}

.stat-card {
  padding: 40px 24px;
  text-align: center;
  border-radius: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Section 3: Featured Products --- */
.products-section {
  padding: var(--section-padding);
  background: var(--color-charcoal);
  border-top: 1px solid var(--glass-border);
}

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.tab-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  will-change: transform;
}

.tab-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn:active {
  transform: translateY(0) scale(0.97);
}

.tab-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 24px -2px rgba(232, 119, 34, 0.35), 0 4px 12px -2px rgba(211, 30, 37, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  transition: opacity 0.4s var(--ease-out-expo);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s var(--ease-out-expo);
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(232, 119, 34, 0.12);
}

.product-image-container {
  width: 100%;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.65s var(--ease-out-expo);
  will-change: transform;
}

.product-card:hover .product-img {
  transform: scale(1.08) rotate(2deg);
}

/* Cans Hue Rotate filters representing different products */
.filter-primers {
  filter: hue-rotate(60deg) saturate(0.85); /* Purplish hue */
}
.filter-waterproof {
  filter: hue-rotate(-120deg) saturate(1.2); /* Deep blue-cyan hue */
}
.filter-specialty {
  filter: hue-rotate(180deg) saturate(0.6) brightness(1.2); /* Metallic/brown hue */
}

.product-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  transition: transform 0.3s var(--ease-spring);
}

.badge-interior { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.badge-exterior { background: rgba(211, 30, 37, 0.15); color: #FF4A50; }
.badge-primers { background: rgba(142, 68, 173, 0.15); color: #BB8FCE; }
.badge-waterproof { background: rgba(52, 152, 219, 0.15); color: #85C1E9; }
.badge-specialty { background: rgba(230, 126, 34, 0.15); color: #F5B041; }

.product-name {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--color-orange);
}

.product-btn {
  margin-top: auto;
}

/* --- Infinite Marquee Carousel --- */
.marquee-container {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 20px 0 60px 0;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-marquee 40s linear infinite;
  padding-left: 32px;
}

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

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 16px)); } /* Shift exactly half the track width (one set of cards) + gap */
}

.product-card-mini {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s var(--ease-out-expo);
  will-change: transform;
}

.product-card-mini:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.product-card-mini .product-img {
  transition: transform 0.6s var(--ease-out-expo);
}

.product-card-mini:hover .product-img {
  transform: scale(1.08) rotate(2deg);
}

.product-info-mini {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.products-cta {
  margin-top: 30px;
}

/* --- Section 4: Why Choose INTAS --- */
.why-section {
  padding: var(--section-padding);
  background: var(--color-dark-bg);
  border-top: 1px solid var(--glass-border);
}

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

.why-card {
  padding: 40px 30px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s var(--ease-out-expo);
  will-change: transform;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(232, 119, 34, 0.1);
}

.why-icon-container {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  will-change: transform;
}

.why-card:hover .why-icon-container {
  transform: scale(1.12) rotate(4deg);
  border-color: rgba(232, 119, 34, 0.4);
  color: #FFFFFF;
  background: var(--gradient-brand);
  box-shadow: 0 8px 20px rgba(232, 119, 34, 0.3);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Section 5: Services (HIGHLIGHT) --- */
.services-section {
  padding: var(--section-padding);
  background: var(--color-charcoal);
  border-top: 1px solid var(--glass-border);
}

/* Timeline Timeline Progress styling */
.process-timeline {
  position: relative;
  margin-bottom: 100px;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  z-index: 1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline-progress {
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
  transition: width 0.15s ease-out, height 0.15s ease-out;
  box-shadow: 0 0 12px var(--color-orange), 0 0 4px var(--color-orange);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  position: relative;
  margin-top: 36px;
  z-index: 2;
}

.timeline-step {
  padding: 30px 20px;
  position: relative;
  transition: all 0.4s ease;
}

.timeline-step.active {
  border-color: rgba(232, 119, 34, 0.35);
  box-shadow: 0 15px 35px rgba(232, 119, 34, 0.12);
  transform: translateY(-5px);
}

/* Timeline Node Dots and Particle Combiners */
.timeline-dot {
  position: absolute;
  top: -46px; /* Sits on horizontal line at Y=30px relative to grid with margin-top=36px */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.dot-ring {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: var(--color-charcoal);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot-core {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gradient-brand);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.timeline-step.active .dot-ring {
  border-color: var(--color-orange);
  box-shadow: 0 0 15px rgba(232, 119, 34, 0.6);
  background: rgba(232, 119, 34, 0.1);
  transform: scale(1.15);
}

.timeline-step.active .dot-core {
  background: var(--color-orange);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--color-orange);
}

/* Particle animation triggers when the card becomes active */
.timeline-step.active .dot-particle-1 {
  animation: combine-horizontal-1 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.timeline-step.active .dot-particle-2 {
  animation: combine-horizontal-2 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

/* Horizontal merging animation */
@keyframes combine-horizontal-1 {
  0% {
    transform: translate(-120px, -50%) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-5px, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes combine-horizontal-2 {
  0% {
    transform: translate(-100px, -50%) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-3px, -50%) scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, -50%) scale(1.3);
    opacity: 0;
  }
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.timeline-step h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.timeline-step p {
  font-size: var(1.15rem);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-left: 40px;
    margin-top: 0;
  }
  .timeline-line {
    top: 0;
    left: 20px;
    width: 6px;
    height: 100%;
  }
  .timeline-progress {
    width: 100%;
    height: var(--scroll-progress, 0%);
  }
  .timeline-step {
    padding: 30px 20px;
  }
  .timeline-step.active {
    transform: translateX(5px);
  }
  .timeline-dot {
    top: 40px;
    left: -20px;
    transform: translate(-50%, -50%);
  }
  .timeline-step.active .dot-particle-1 {
    animation: combine-vertical-1 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }
  .timeline-step.active .dot-particle-2 {
    animation: combine-vertical-2 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  }
}

/* Vertical merging animation */
@keyframes combine-vertical-1 {
  0% {
    transform: translate(-50%, -100px) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -5px) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, 0) scale(1.5);
    opacity: 0;
  }
}

@keyframes combine-vertical-2 {
  0% {
    transform: translate(-50%, -80px) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -3px) scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, 0) scale(1.3);
    opacity: 0;
  }
}

/* Before & After interactive slider */
.slider-block {
  max-width: 900px;
  margin: 80px auto 0 auto;
}

.slider-header {
  font-size: var(--fs-h2);
  margin-bottom: 30px;
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.after-layer {
  z-index: 1;
}

.before-layer {
  z-index: 2;
  /* Driven by javascript clip-path */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Custom CSS weather filters representing "Before" facade */
.weathered-filter {
  filter: grayscale(0.6) contrast(0.85) brightness(0.7) sepia(0.2) blur(0.5px);
}

.label-badge {
  position: absolute;
  top: 24px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 100px;
  z-index: 10;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-after {
  right: 24px;
  background: rgba(10, 10, 12, 0.6);
  color: #FFFFFF;
}

.badge-before {
  left: 24px;
  background: rgba(211, 30, 37, 0.2);
  color: var(--color-red);
  border-color: rgba(211, 30, 37, 0.4);
}

/* Slider Drag Handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

.slider-handle:hover {
  background: #FFFFFF;
}

.handle-line {
  flex-grow: 1;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.handle-button {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.handle-button i {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.services-cta {
  margin-top: 50px;
}

/* Pulse animation utility */
.pulse-shadow:hover {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 119, 34, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(232, 119, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 119, 34, 0); }
}

/* --- Section 6: Recent Projects (Masonry) --- */
.projects-section-gallery {
  padding: var(--section-padding);
  background: var(--color-dark-bg);
  border-top: 1px solid var(--glass-border);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 32px;
}

.card-large {
  grid-column: span 1;
}

@media (min-width: 800px) {
  .card-large {
    grid-column: span 2;
  }
}

.project-item {
  position: relative;
  height: clamp(300px, 40vw, 400px);
  overflow: hidden;
  cursor: pointer;
}

.project-item.card-large {
  height: clamp(400px, 50vw, 520px);
}

.project-item .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo);
  will-change: transform;
}

.project-item:hover .project-img {
  transform: scale(1.06);
}

/* Card Overlay Details */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 4vw, 40px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-details {
  transform: translateY(20px);
  transition: transform 0.45s var(--ease-out-expo);
  will-change: transform;
}

.project-item:hover .project-details {
  transform: translateY(0);
}

.project-details h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.project-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #FFA352;
  font-weight: 500;
  line-height: 1;
}

.project-loc svg,
.project-loc i {
  width: 15px;
  height: 15px;
  color: var(--color-orange);
  flex-shrink: 0;
}

/* --- Section 7: Testimonials Slider --- */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--color-charcoal);
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.65s var(--ease-out-expo);
  width: 100%;
  will-change: transform;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  padding: clamp(20px, 5vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stars {
  display: flex;
  gap: 4px;
}

.star-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.15);
}

.star-icon.fill-gold {
  color: #F8C300;
  fill: #F8C300;
}

.review-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 300;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-brand);
  padding: 1px;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-slate-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}

.client-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.client-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Nav Controls */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  will-change: transform;
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.slider-nav-btn:active {
  transform: scale(0.95);
}

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: width 0.35s var(--ease-spring), background 0.3s ease, border-radius 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--color-orange);
}

/* --- Section 8: Contact Section --- */
.contact-section {
  padding: var(--section-padding);
  background: var(--color-dark-bg);
  border-top: 1px solid var(--glass-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
}

.contact-header {
  font-size: var(--fs-h1);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-subtext {
  font-size: var(--fs-body);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 119, 34, 0.08);
  border: 1px solid rgba(232, 119, 34, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.detail-item:hover .detail-icon {
  transform: scale(1.08) rotate(3deg);
  border-color: rgba(232, 119, 34, 0.35);
}

.detail-icon i {
  width: 18px;
  height: 18px;
}

.detail-item h4 {
  font-size: 1rem;
  font-weight: 500;
}

.detail-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 14px 28px;
  border-radius: 100px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.35);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out-expo), background 0.3s ease;
  margin-bottom: 40px;
  border: 1px solid transparent;
  will-change: transform;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px -4px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
  transform: translateY(0) scale(0.97);
}

.whatsapp-svg {
  width: 20px;
  height: 20px;
}

/* Map Mockup container */
.map-container {
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(24, 24, 28, 0.8) 0%, rgba(10, 10, 12, 1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.map-placeholder-icon {
  width: 32px;
  height: 32px;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.map-placeholder p {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.map-placeholder span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Sleek Float Labels Form */
.contact-form-block {
  padding: 50px;
  border-radius: 28px;
}

.form-title {
  font-size: var(--fs-h2);
  margin-bottom: 12px;
}

.form-desc {
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.input-group {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.form-row .input-group {
  margin-bottom: 0;
}

.input-group input, 
.input-group select, 
.input-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-group textarea {
  resize: none;
}

.input-group select {
  appearance: none;
}

.input-group label {
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: left top;
}

/* Floating behavior when active or values exist */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-28px) scale(0.85);
  color: var(--color-orange);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
  border-color: rgba(232, 119, 34, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.08);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.checkbox-group input {
  margin-top: 5px;
  accent-color: var(--color-orange);
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Section 9: Premium Footer --- */
.footer {
  background: var(--color-dark-bg);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(40px, 6vw, 60px);
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  will-change: transform;
}

.social-links a:hover {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(232, 119, 34, 0.35);
}

.social-links a:active {
  transform: translateY(0) scale(0.95);
}

.social-links a svg,
.social-links a i {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-links h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

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

.footer-links ul a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links ul a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Animations Core (Native CSS Scroll-driven Reveals & Keyframes)
   ========================================================================== */

/* Keyframes definitions */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float-fast {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

/* Reveal Entry/Exit Keyframes */
@keyframes fade-up-reveal {
  from {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes scale-in-reveal {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

/* Native CSS Scroll-Driven Animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* Trigger fade up reveal on elements as they enter the screen */
    .about-content,
    .about-stats-grid,
    .why-card,
    .timeline-step,
    .slider-block,
    .testimonial-slide,
    .contact-info-block,
    .contact-form-block {
      animation: fade-up-reveal auto var(--ease-out-expo) backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 38%;
    }

    .product-card,
    .project-item {
      animation: scale-in-reveal auto var(--ease-out-expo) backwards;
      animation-timeline: view();
      animation-range: entry 5% entry 30%;
    }
  }
}

/* User reduced motion fallbacks */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   Responsive Design & Breakpoints
   ========================================================================== */

/* --- Laptop/Medium Desktop (Under 1200px) --- */
@media (max-width: 1200px) {
  :root {
    --section-padding: 100px 0;
  }
  
  .hero-title {
    font-size: 3.9rem;
  }
  
  .grid-2col {
    gap: 50px;
  }
  
  .contact-grid {
    gap: 50px;
  }
}

/* --- Tablet Landscape (Under 992px) --- */
@media (max-width: 992px) {
  .hero-container {
    text-align: center;
    padding-bottom: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    max-width: 600px;
  }
  
  .hero-visual {
    margin-top: 40px;
    justify-content: center !important;
  }
}

/* --- Mobile Menu / Hamburger Toggle Triggered (Under 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 100px 40px;
    gap: 28px;
    transition: right 0.4s var(--smooth-easing);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Hero Spacing Clearance & Sizing on Mobile */
  .hero-section {
    padding-top: 160px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
  }
  
  .badge-container {
    margin-bottom: 16px !important;
  }
  
  .hero-title {
    font-size: 2.8rem !important;
    line-height: 1.12;
    margin-bottom: 16px !important;
  }
  
  .hero-description {
    margin-bottom: 30px !important;
    font-size: 0.95rem !important;
  }
  
  .hero-category-selector {
    max-width: 100% !important;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .contact-form-block {
    padding: 30px 20px;
  }
}

/* --- Small Mobile Phones (Under 480px) --- */
@media (max-width: 480px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .hero-section {
    padding-top: 140px !important;
    padding-bottom: 50px !important;
  }
  
  .hero-title {
    font-size: 2.3rem !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    gap: 16px;
  }
}

/* --- Subpage & Dynamic Component Enhancements --- */
.about-page-hero,
.products-page-hero,
.services-page-hero,
.projects-page-hero,
.reviews-page-hero,
.contact-page-hero {
  padding: 80px 0 60px 0;
  background: radial-gradient(circle at center, rgba(232, 119, 34, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Accordion Component */
.faq-item {
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(232, 119, 34, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.active {
  border-color: rgba(232, 119, 34, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-orange);
}

/* Form Styles */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-orange) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 0 10px rgba(232, 119, 34, 0.1);
}

/* --- Projects Carousel for Desktop --- */
@media (min-width: 993px) {
  .projects-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .projects-masonry {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    width: 100% !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth !important;
    padding: 10px 0 !important;
    grid-template-columns: none !important;
  }

  .project-item {
    flex: 0 0 calc(50% - 16px) !important;
    width: calc(50% - 16px) !important;
    height: 450px !important;
  }

  .project-item.card-large {
    height: 450px !important;
    grid-column: auto !important;
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid var(--glass-border);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    will-change: transform;
  }

  .carousel-arrow:hover {
    background: var(--gradient-brand);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(232, 119, 34, 0.35);
  }

  .carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
  }

  .carousel-arrow.prev-arrow {
    left: -28px;
  }

  .carousel-arrow.next-arrow {
    right: -28px;
  }
}

@media (max-width: 992px) {
  .carousel-arrow {
    display: none !important;
  }
}

/* Mobile & Tablet Footer Responsiveness */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-about-text {
    margin: 0 auto;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* --- Page Preloader styling --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-dark-bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 1;
  visibility: visible;
}

.preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
}

.preloader-logo {
  width: 90px;
  height: auto;
  z-index: 2;
  animation: preloader-logo-pulse 2s infinite ease-in-out;
}

.preloader-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.2) 0%, rgba(232, 119, 34, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: preloader-glow-pulse 2s infinite ease-in-out;
}

.preloader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.03);
  border-top-color: var(--color-orange);
  border-left-color: var(--color-orange);
  border-radius: 50%;
  z-index: 3;
  animation: preloader-spin 1.2s infinite cubic-bezier(0.5, 0.1, 0.4, 0.9);
  box-shadow: 0 0 12px rgba(232, 119, 34, 0.2);
}

@keyframes preloader-logo-pulse {
  0%, 100% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 5px rgba(232, 119, 34, 0.15));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(232, 119, 34, 0.45));
  }
}

@keyframes preloader-glow-pulse {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

@keyframes preloader-spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   PROJECTS SHOWCASE & BEFORE/AFTER COMPARISON SUITE (2026 LUXURY)
   ========================================================================== */

/* --- Project Hero Stats Strip --- */
.stats-counter-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 40px auto 0 auto;
}

.stat-chip {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  transition: transform 0.4s var(--smooth-easing), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 119, 34, 0.4);
}

.stat-chip:hover::before {
  opacity: 1;
}

.stat-chip-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #FFFFFF 30%, #E87722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-chip-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Master Transformation Spotlight Showcase --- */
.spotlight-section {
  padding: 60px 0 100px 0;
  position: relative;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: #FFA352;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.spotlight-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E87722;
  box-shadow: 0 0 10px #E87722;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.spotlight-showcase-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.spotlight-showcase-container::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.15) 0%, rgba(211, 30, 37, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.spotlight-slider-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spotlight-slider-wrapper {
  height: 480px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background: #0D0D10;
}

.spotlight-slider-wrapper .image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.3s ease;
}

/* Slider Control Toolbar */
.slider-controls-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 8px;
  background: rgba(12, 12, 16, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.slider-preset-btns {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preset-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  line-height: 1;
}

.preset-btn svg, .preset-btn i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

.preset-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.preset-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.35);
}

.preset-btn.active svg, .preset-btn.active i {
  opacity: 1;
}

.slider-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.slider-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  line-height: 1;
}

.slider-hint-badge svg, .slider-hint-badge i {
  width: 14px;
  height: 14px;
  color: #FFA352;
  flex-shrink: 0;
}

.auto-scrub-btn {
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.4);
  color: #FFA352;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  line-height: 1;
}

.auto-scrub-btn svg, .auto-scrub-btn i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.auto-scrub-btn:hover, .auto-scrub-btn.playing {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.4);
  transform: translateY(-1px);
}

/* Spotlight Details Column */
.spotlight-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.spotlight-project-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.spotlight-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #FFA352;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
}

.spotlight-location svg, .spotlight-location i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-orange);
}

.spotlight-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.spotlight-selector-tray {
  margin-top: 24px;
}

.selector-tray-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
}

.spotlight-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.spotlight-tab-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s var(--ease-out-expo);
  text-align: left;
  will-change: transform;
}

.spotlight-tab-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.spotlight-tab-card:active {
  transform: translateY(0) scale(0.98);
}

.spotlight-tab-card.active {
  background: rgba(232, 119, 34, 0.15);
  border-color: rgba(232, 119, 34, 0.5);
  box-shadow: 0 4px 15px rgba(232, 119, 34, 0.25);
}

.tab-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.tab-card-loc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.spotlight-action-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  margin-top: 24px;
  align-items: stretch;
}

.spotlight-action-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 100px;
  text-align: center;
  width: 100%;
}

.spotlight-action-row .btn svg, .spotlight-action-row .btn i {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* --- Interactive Live Search Toolbar --- */
.projects-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 44px auto;
  padding: 8px 10px 8px 14px;
  background: rgba(14, 14, 18, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.projects-search-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-input-field {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 38px 12px 42px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease-out-expo);
}

.search-input-field:focus {
  outline: none;
}

.search-input-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
}

.search-icon-inside {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-orange);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}

.search-clear-btn svg {
  width: 13px;
  height: 13px;
}

.search-clear-btn:hover {
  background: rgba(211, 30, 37, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.projects-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1;
}

.projects-count-badge svg {
  width: 15px;
  height: 15px;
  color: #FFA352;
  flex-shrink: 0;
}

.projects-count-badge strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* --- Project Showcase Cards Grid --- */
.showcase-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 32px;
}

.showcase-card {
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s var(--ease-out-expo);
  position: relative;
  will-change: transform;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(232, 119, 34, 0.12);
}

/* Card Slider Area */
.card-slider-wrapper {
  height: 320px;
  position: relative;
  background: #0F0F12;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.card-slider-wrapper .image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-photo-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  pointer-events: none;
}

.card-photo-counter svg, .card-photo-counter i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.card-slider-toolbar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px 8px;
  display: flex;
  gap: 4px;
  z-index: 12;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.card-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background 0.2s ease, color 0.2s ease;
}

.card-toggle-btn:hover, .card-toggle-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transform: scale(1.04);
}

.card-toggle-btn:active {
  transform: scale(0.96);
}

.card-toggle-btn.active {
  background: var(--gradient-brand);
  box-shadow: 0 2px 8px rgba(232, 119, 34, 0.35);
}

/* Card Content Area */
.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-location-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFA352;
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1;
}

.card-location-row svg, .card-location-row i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-orange);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-case-study {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 100px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn-case-study:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(232, 119, 34, 0.4);
}

.btn-case-study:active {
  transform: translateY(0) scale(0.97);
}

.btn-case-study svg, .btn-case-study i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.btn-case-study:hover svg, .btn-case-study:hover i {
  transform: translateX(3px);
}

/* --- Multi-Photo Lightbox & Case Study Modal --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s var(--ease-out-expo);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lightbox-dialog {
  background: rgba(16, 16, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: 100%;
  max-width: 1080px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85), 0 0 50px rgba(232, 119, 34, 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.45s var(--ease-out-expo), opacity 0.35s ease;
  will-change: transform;
}

.lightbox-modal.open .lightbox-dialog {
  transform: scale(1) translateY(0);
}

.lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.lightbox-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lightbox-category-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(232, 119, 34, 0.15);
  color: #FFA352;
  border: 1px solid rgba(232, 119, 34, 0.3);
  line-height: 1.2;
}

.lightbox-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.lightbox-location-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
}

.lightbox-location-row svg, .lightbox-location-row i {
  width: 15px;
  height: 15px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.lightbox-close-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox-close-btn:hover {
  background: rgba(211, 30, 37, 0.25);
  border-color: rgba(211, 30, 37, 0.6);
  color: #FF6B6B;
  transform: rotate(90deg) scale(1.08);
}

.lightbox-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

.lightbox-body {
  padding: 24px 32px 28px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lightbox-tabs-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  padding: 6px;
  border-radius: 100px;
  align-self: flex-start;
  flex-wrap: wrap;
}

.lightbox-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), color 0.2s ease, background 0.2s ease, box-shadow 0.25s var(--ease-out-expo);
  line-height: 1;
  white-space: nowrap;
}

.lightbox-tab-btn svg, .lightbox-tab-btn i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.lightbox-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.lightbox-tab-btn:active {
  transform: scale(0.97);
}

.lightbox-tab-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.35);
}

.lightbox-stage-container {
  position: relative;
  width: 100%;
  height: clamp(380px, 56vh, 560px);
  background: radial-gradient(circle at center, #141419 0%, #07070A 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.lightbox-modal .label-badge.badge-before {
  background: rgba(211, 30, 37, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lightbox-modal .label-badge.badge-after {
  background: rgba(18, 140, 80, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lightbox-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: opacity 0.3s ease;
}

.lightbox-counter-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.lightbox-counter-badge svg, .lightbox-counter-badge i {
  width: 14px;
  height: 14px;
  color: #FFA352;
  flex-shrink: 0;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--ease-out-expo);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.lightbox-nav-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav-btn:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(232, 119, 34, 0.5);
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-prev-btn { left: 20px; }
.lightbox-next-btn { right: 20px; }

/* Filmstrip Thumbnails */
.lightbox-filmstrip-tray {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 18px;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

.lightbox-thumb {
  width: 100px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
  opacity: 0.65;
  transition: transform 0.3s var(--ease-spring), opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.3s var(--ease-out-expo);
  position: relative;
  background: #000;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lightbox-thumb:hover {
  opacity: 0.95;
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-thumb:active {
  transform: translateY(0) scale(0.97);
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--color-orange);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(232, 119, 34, 0.45);
}

.thumb-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.thumb-tag-before {
  background: rgba(211, 30, 37, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
}

.thumb-tag-after {
  background: rgba(18, 140, 80, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
}

/* --- Technology & Durability Comparison Section --- */
.tech-compare-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--color-dark-bg) 0%, rgba(24, 24, 28, 0.6) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.tech-table-container {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: rgba(18, 18, 22, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  margin-top: 40px;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.tech-table th, .tech-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.tech-table th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.02);
}

.tech-table th.highlight-col {
  background: rgba(232, 119, 34, 0.12);
  color: #FFA352;
  border-bottom-color: rgba(232, 119, 34, 0.3);
}

.tech-table td.highlight-col {
  background: rgba(232, 119, 34, 0.05);
  font-weight: 600;
  color: #FFFFFF;
}

.tech-feature-title {
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.tech-feature-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .spotlight-showcase-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  
  .spotlight-slider-wrapper {
    height: 380px;
  }
  
  .spotlight-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .slider-controls-toolbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 10px;
    gap: 10px;
  }
  
  .slider-preset-btns {
    width: 100%;
    justify-content: space-between;
  }
  
  .preset-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.75rem;
  }
  
  .slider-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .auto-scrub-btn {
    flex: 1;
    justify-content: center;
  }
  
  .spotlight-action-row {
    grid-template-columns: 1fr;
  }
  
  .projects-search-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 10px 14px;
    gap: 12px;
  }
  
  .projects-count-badge {
    justify-content: center;
  }
  
  .projects-search-wrapper {
    max-width: 100%;
  }
  
  .spotlight-slider-wrapper {
    height: 300px;
  }
  
  .spotlight-tabs-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-modal {
    padding: 12px;
  }
  
  .lightbox-header {
    padding: 18px 20px;
  }
  
  .lightbox-title {
    font-size: 1.25rem;
  }
  
  .lightbox-body {
    padding: 16px 18px 20px 18px;
    gap: 14px;
  }
  
  .lightbox-stage-container {
    height: 280px;
  }
  
  .lightbox-thumb {
    width: 80px;
    height: 56px;
  }
}
