/* ==========================================================================
   DARK MAFIA CUSTOMS - CORE CSS DESIGN SYSTEM
   ========================================================================== */

/* 1. CSS CUSTOM VARIABLES */
:root {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --color-matte-black: #0a0a0a;
  --color-dark-grey: #121212;
  --color-light-grey: #1c1c1c;
  --color-neon-red: #ff0033;
  --color-neon-red-rgb: 255, 0, 51;
  --color-silver: #e5e5e5;
  --color-white: #ffffff;
  --color-text-muted: #888888;
  
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-glow-border: rgba(255, 0, 51, 0.15);
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --carbon-pattern: 
    linear-gradient(45deg, #111111 25%, transparent 25%), 
    linear-gradient(-45deg, #111111 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #111111 75%), 
    linear-gradient(-45deg, transparent 75%, #111111 75%);
  --carbon-size: 8px 8px;
}

/* 2. BASE RESET & TYPOGRAPHY */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide standard cursor for custom cursor */
}

html {
  scroll-behavior: initial; /* Managed by Lenis smooth scroll */
  font-size: 16px;
  background-color: var(--color-matte-black);
}

body {
  font-family: var(--font-body);
  color: var(--color-silver);
  overflow-x: hidden;
  background-color: var(--color-matte-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-matte-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-light-grey);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-neon-red);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: normal;
  letter-spacing: 1.5px;
  color: var(--color-white);
  line-height: 1.1;
  text-transform: uppercase;
}

p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

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

/* Global utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.small-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-neon { color: var(--color-neon-red) !important; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }

/* Matte Dark & Carbon Texture styles */
.matte-dark {
  background-color: var(--color-matte-black);
  background-image: var(--carbon-pattern);
  background-size: var(--carbon-size);
}

/* 3. CUSTOM INTERACTIVE CURSOR */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

.cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-neon-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
}

.cursor-glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-neon-red);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* Cursor states on hover */
body.hovering-link .cursor-glow-ring {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 0, 51, 0.1);
  border-color: var(--color-neon-red);
}

/* Disable cursor on mobile */
@media (max-width: 768px) {
  .custom-cursor { display: none !important; }
  * { cursor: auto !important; }
}

/* 4. PREMIUM GLASSMORPHISM CARDS */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-glow-border);
  box-shadow: 0 15px 35px rgba(255, 0, 51, 0.08);
  transform: translateY(-5px);
}

/* 5. LOADER SCREEN */
#loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-matte-black);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.loader-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--carbon-pattern);
  background-size: var(--carbon-size);
  opacity: 0.3;
}

.loader-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.headlight-reveal-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.headlight-svg {
  width: 60px;
  height: 40px;
}

.lens-glow {
  transition: fill 0.3s ease, filter 0.3s ease;
}

/* Animated active state during load */
.lens-glow.glow-on {
  fill: #fff;
  stroke: #fff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

.loader-logo-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  letter-spacing: 4px;
  color: var(--color-white);
  line-height: 1;
}

.logo-red {
  color: var(--color-neon-red);
}

.loader-tagline {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 5px;
}

.loader-progress-container {
  width: 250px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  margin: 30px auto 10px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--color-neon-red);
  box-shadow: 0 0 8px var(--color-neon-red);
  transition: width 0.1s linear;
}

.loader-percentage {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: 300;
}

.ignition-sound-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 15px;
  opacity: 0.6;
}

/* 6. NAVIGATION NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: block;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--color-white);
}

.nav-logo .logo-sub {
  font-size: 0.8rem;
  font-family: var(--font-subheading);
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-left: 5px;
}

/* Menu Links */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-item {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-silver);
  padding: 8px 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-neon-red);
  box-shadow: 0 0 5px var(--color-neon-red);
  transition: var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: var(--color-white);
}

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

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

/* Mobile Hamburger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav-toggle .line {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-matte-black);
  background-image: var(--carbon-pattern);
  background-size: var(--carbon-size);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 40px;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: var(--color-white);
  text-transform: uppercase;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--color-neon-red);
}

/* Active Hamburger Lines */
.mobile-nav-toggle.active .line-1 {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.active .line-2 {
  opacity: 0;
}
.mobile-nav-toggle.active .line-3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* 7. PREMIUM BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Neon Red Button */
.btn-neon {
  background-color: var(--color-neon-red);
  color: var(--color-white);
  border: 1px solid var(--color-neon-red);
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.3);
}

.btn-neon:hover {
  box-shadow: 0 4px 25px rgba(255, 0, 51, 0.6);
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-neon-red);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-matte-black);
  border-color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* Pulse animation on CTA Button */
.btn-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 51, 0);
  }
}

/* 8. HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.video-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.95) 100%);
  z-index: 2;
}

.hero-visual-bg {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../images/hero_car.jpg');
  background-size: cover;
  background-position: center;
}

/* Headlight Beam sweep simulation */
.hero-headlight-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 0, 51, 0.3) 0%, rgba(255, 0, 51, 0) 70%);
  z-index: 3;
  opacity: 0.8;
  filter: blur(20px);
}

.left-glow {
  top: 45%;
  left: 25%;
}

.right-glow {
  top: 45%;
  right: 25%;
}

.hero-content-container {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  letter-spacing: 5px;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 6rem;
  letter-spacing: 5px;
  line-height: 0.95;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero-lead {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--color-silver);
  text-transform: uppercase;
  margin-bottom: 40px;
}

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

/* Scroll indicator mouse */
.scroll-indicator-wrapper {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-mouse {
  width: 20px;
  height: 35px;
  border: 1.5px solid var(--color-text-muted);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--color-neon-red);
  border-radius: 1.5px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-anim 1.5s infinite;
}

@keyframes scroll-wheel-anim {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

.scroll-text {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-title { font-size: 3.5rem; }
  .hero-lead { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; gap: 10px; }
  .left-glow, .right-glow { display: none; }
}

/* 9. ABOUT SECTION & STATS */
.about-section {
  padding: 120px 0;
  background: var(--color-dark-grey);
}

.split-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-visual-box {
  flex: 1;
  position: relative;
  padding-bottom: 80px;
}

.about-visual-box .image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}

.main-img-glow {
  position: relative;
  z-index: 2;
}

.main-img-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
  pointer-events: none;
}

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

.shadow-img {
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 60%;
  z-index: 3;
}

.about-img-sub {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--color-neon-red);
  padding: 15px 25px;
  border-radius: 4px;
  z-index: 4;
  box-shadow: 0 10px 20px rgba(255, 0, 51, 0.3);
  text-align: center;
}

.about-badge .years {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-white);
  display: block;
  line-height: 1;
}

.about-badge .label {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
  display: block;
}

.about-content-box {
  flex: 1.2;
}

.section-tag {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 25px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.section-desc-sub {
  font-size: 0.9rem;
  color: rgba(229,229,229,0.7);
  font-style: italic;
  margin-bottom: 35px;
}

/* Stats counter card grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .split-layout { flex-direction: column; gap: 40px; }
  .about-visual-box { width: 100%; max-width: 600px; padding-bottom: 40px; }
  .shadow-img { display: none; }
}

@media (max-width: 768px) {
  .section-title { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 15px; }
}

/* 10. SERVICES SECTION */
.home-services-section, .services-list-section {
  padding: 120px 0;
}

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

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

.services-grid, .services-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  padding: 0 !important;
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(10,10,10,0.85) 100%);
}

.service-icon-box {
  position: absolute;
  bottom: -20px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--color-neon-red);
  box-shadow: 0 4px 10px rgba(255, 0, 51, 0.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 1.3rem;
  z-index: 5;
}

.service-body {
  padding: 35px 25px 25px;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.service-link {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-link:hover i {
  transform: translateX(4px);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .services-grid, .services-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .services-grid, .services-list-grid { grid-template-columns: 1fr; }
}

/* 11. BEFORE & AFTER TRANSFORMATION SLIDER */
.transform-section {
  padding: 120px 0;
  background: var(--color-dark-grey);
}

.slider-wrapper-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.slider-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
}

.slider-tab-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--color-text-muted);
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition-fast);
}

.slider-tab-btn.active, .slider-tab-btn:hover {
  background: var(--color-neon-red);
  color: var(--color-white);
  border-color: var(--color-neon-red);
  box-shadow: 0 4px 10px rgba(255,0,51,0.25);
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.8);
  border: 1px solid var(--border-color);
  display: none;
}

.comparison-slider.active {
  display: block;
}

.comparison-slider .img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.image-before {
  z-index: 1;
}

.image-after {
  z-index: 2;
  /* clip-path manages the horizontal reveal */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.label-badge {
  position: absolute;
  top: 25px;
  padding: 6px 14px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--color-white);
  z-index: 5;
}

.before-badge { left: 25px; }
.after-badge { right: 25px; }

/* The drag bar handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--color-neon-red);
  box-shadow: 0 0 10px var(--color-neon-red);
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.handle-button {
  width: 44px;
  height: 44px;
  background-color: var(--color-matte-black);
  border: 2px solid var(--color-neon-red);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 1.1rem;
  position: relative;
}

.handle-button .btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
  animation: pulse-glow 2s infinite;
}

.handle-line {
  flex: 1;
  width: 1px;
  background-color: rgba(255, 0, 51, 0.3);
}

@media (max-width: 768px) {
  .comparison-slider { height: 350px; }
  .slider-nav-tabs { flex-direction: column; gap: 8px; }
  .slider-tab-btn { width: 100%; text-align: center; }
}

/* 12. PORTFOLIO SHOWCASE MASONRY & MODAL */
.home-projects-section, .projects-gallery-section {
  padding: 120px 0;
}

.projects-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-featured-card {
  position: relative;
  height: 350px;
  padding: 0 !important;
  border-radius: 6px;
  overflow: hidden;
}

.project-featured-card .proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.proj-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.2) 100%);
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.proj-card-overlay .cat {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
}

.proj-card-overlay h4 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.proj-card-overlay p {
  font-size: 0.85rem;
  color: var(--color-silver);
}

.project-featured-card:hover .proj-img {
  transform: scale(1.1);
}

/* Category filter row */
.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-tab-btn, .gallery-filter-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--color-text-muted);
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-tab-btn.active, .filter-tab-btn:hover,
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background-color: var(--color-neon-red);
  color: var(--color-white);
  border-color: var(--color-neon-red);
  box-shadow: 0 4px 10px rgba(255,0,51,0.25);
}

/* Masonry portfolio grid */
.portfolio-masonry-grid {
  columns: 3 300px;
  column-gap: 30px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 30px;
  padding: 0 !important;
  display: block;
}

.project-media-box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.project-thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-overlay-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  z-index: 5;
  transition: var(--transition-smooth);
}

.project-category-badge {
  font-family: var(--font-subheading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-neon-red);
  margin-bottom: 10px;
}

.project-thumb-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.project-vehicle-name {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.project-media-box:hover .project-overlay-details {
  opacity: 1;
}

.project-media-box:hover .project-thumb {
  transform: scale(1.05);
}

/* Modal details stylesheet */
.project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 24px;
}

.project-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-card {
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px !important;
  border-color: rgba(255,255,255,0.1);
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.close-modal-btn:hover {
  background-color: var(--color-neon-red);
  border-color: var(--color-neon-red);
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.modal-comparison-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.modal-comparison-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-vehicle-model {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: var(--color-white);
  margin-top: 5px;
}

.project-metadata-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.project-metadata-row i { color: var(--color-neon-red); }

.section-title-sub {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-white);
}

.modal-desc-text {
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.modal-specs-list {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modal-specs-list li {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-specs-list i { color: var(--color-neon-red); }

.modal-actions-footer {
  display: flex;
  gap: 15px;
}

@media (max-width: 1024px) {
  .projects-featured-grid { grid-template-columns: 1fr; }
  .modal-grid-layout { grid-template-columns: 1fr; gap: 30px; }
  .modal-comparison-slider { height: 300px; }
}

@media (max-width: 768px) {
  .project-modal-card { padding: 25px !important; }
  .modal-specs-list { grid-template-columns: 1fr; }
  .modal-actions-footer { flex-direction: column; }
}

/* 13. HORIZONTAL PROCESS SECTION (GSAP PINNING) */
.process-scroll-section {
  position: relative;
  width: 100%;
  background-color: var(--color-matte-black);
}

.process-scroll-container {
  width: 100%;
  overflow: hidden;
}

.process-sticky-header {
  padding: 80px 0 20px;
}

.process-track-wrapper {
  display: flex;
  width: 100%;
  padding-bottom: 80px;
}

.process-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  padding-left: 24px;
}

.process-step-slide {
  flex: 0 0 320px;
}

.step-card {
  padding: 40px 30px;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.step-badge {
  position: absolute;
  top: 25px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.02);
  z-index: -1;
  transition: var(--transition-smooth);
}

.step-icon {
  font-size: 2.2rem;
  color: var(--color-neon-red);
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

.step-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,0,51,0.05) 0%, rgba(255,0,51,0) 70%);
  pointer-events: none;
  z-index: -1;
}

.step-card:hover .step-badge {
  color: rgba(255,0,51,0.08);
}

/* 14. WHY CHOOSE US CARDS */
.why-choose-section {
  padding: 120px 0;
  background: var(--color-dark-grey);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  padding: 30px;
  text-align: center;
}

.why-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

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

.why-card p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.why-card:hover .why-icon-box {
  background-color: var(--color-neon-red);
  border-color: var(--color-neon-red);
  color: var(--color-white) !important;
  box-shadow: 0 0 15px rgba(255,0,51,0.4);
}

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

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

/* 15. VIDEO CAROUSEL SHOWCASE */
.video-showcase-section {
  padding: 120px 0;
}

.video-carousel {
  width: 100%;
  padding-bottom: 50px !important;
}

.video-slide {
  width: 320px !important;
}

.video-preview-card {
  padding: 0 !important;
  border-radius: 6px;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-overlay-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10,10,10,0.85);
  border: 1.5px solid var(--color-neon-red);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px rgba(255,0,51,0.4);
}

.video-thumbnail:hover .video-overlay-play {
  transform: scale(1.1);
  background-color: var(--color-neon-red);
  box-shadow: 0 0 25px rgba(255,0,51,0.7);
}

.video-info {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.video-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  line-height: 1.2;
}

.video-info p {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 16. TESTIMONIAL CAROUSEL */
.testimonials-section-home, .testimonials-feed-section {
  padding: 120px 0;
  background-color: var(--color-dark-grey);
}

.testimonial-carousel {
  padding-bottom: 50px !important;
}

.testimonial-card {
  height: 100%;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar-glow {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--color-neon-red);
  box-shadow: 0 0 10px rgba(255,0,51,0.3);
}

.testimonial-header .avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-image: url('../images/default_avatar.jpg');
}

.testimonial-header .name {
  font-size: 1.1rem;
  color: var(--color-white);
}

.testimonial-header .vehicle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.testimonial-card .review {
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 15px;
}

.stars {
  color: var(--color-neon-red);
  font-size: 0.8rem;
  display: flex;
  gap: 2px;
}

/* Testimonials list on dedicated subpage */
.testimonials-grid-feed-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-page-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
}

.testimonial-stars-rating {
  margin-bottom: 15px;
}

.testimonial-body-text {
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-profile .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.testimonial-profile .name {
  font-size: 1rem;
  color: var(--color-white);
}

.testimonial-profile .vehicle-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

@media (max-width: 650px) {
  .testimonials-grid-feed-layout { grid-template-columns: 1fr; }
}

/* 17. SERVICE AREA MAP HIGHLIGHTS */
.service-area-section {
  padding: 120px 0;
}

.location-cards-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 35px;
}

.loc-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px !important;
}

.loc-card .icon-loc {
  font-size: 1.5rem;
  color: var(--color-neon-red);
}

.loc-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.loc-card p {
  font-size: 0.8rem;
  line-height: 1.4;
}

.loc-card .timings {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 5px;
}

.area-map-box {
  flex: 1.2;
}

.map-mockup-wrapper {
  padding: 20px !important;
  background: rgba(10, 10, 10, 0.9) !important;
}

.south-india-svg-map {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  transition: transform 0.3s ease;
}

.pin-wave-glow {
  fill: rgba(255, 0, 51, 0.15);
  stroke: var(--color-neon-red);
  stroke-width: 0.5;
  animation: pin-glow-ripple 2.5s infinite;
  transform-origin: center;
}

@keyframes pin-glow-ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.pin-center-dot {
  fill: var(--color-white);
  stroke: var(--color-neon-red);
  stroke-width: 2.5;
  box-shadow: 0 0 10px var(--color-neon-red);
}

.pin-label {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  fill: var(--color-white);
  font-weight: bold;
}

.map-instructions {
  margin-top: 15px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.map-pin:hover .pin-wave-glow {
  fill: rgba(255, 0, 51, 0.4);
  animation: none;
  transform: scale(1.1);
}

.map-pin:hover .pin-center-dot {
  fill: var(--color-neon-red);
}

/* 18. FAQ ACCORDION Design */
.faq-section-home, .faq-list-page-section, .service-detail-faq-section {
  padding: 120px 0;
  background-color: var(--color-dark-grey);
}

.faq-accordion-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-question .icon {
  font-size: 1.2rem;
  color: var(--color-neon-red);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
  padding: 0 30px;
}

.faq-answer p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Open Accordion state */
.faq-item.open {
  border-color: var(--glass-glow-border);
  background: rgba(255,0,51,0.02);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 0 30px 24px;
}

/* 19. INSTAGRAM GRID */
.instagram-section {
  padding: 120px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.insta-item {
  padding: 0 !important;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
}

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

.insta-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  z-index: 5;
  transition: var(--transition-smooth);
}

.insta-hover-overlay span {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 5px;
}

.insta-hover-overlay i { color: var(--color-neon-red); }

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

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

/* 20. CALL TO ACTION SECTION */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('../images/cta_car.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta-overlay-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,0,51,0.1) 0%, rgba(255,0,51,0) 70%);
  filter: blur(50px);
  z-index: 2;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.cta-title {
  font-size: 4rem;
  margin-bottom: 20px;
}

.cta-lead {
  font-family: var(--font-subheading);
  font-size: 1.05rem;
  color: var(--color-silver);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #25d366;
  border-color: #25d366;
  color: var(--color-matte-black);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .cta-title { font-size: 2.5rem; }
  .cta-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; gap: 10px; }
}

/* 21. CONTACT & INQUIRY FORM */
.contact-section-home, .contact-page-content-section {
  padding: 120px 0;
  background-color: var(--color-dark-grey);
}

.contact-details-box {
  flex: 1;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 35px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px !important;
}

.contact-info-card .icon-box {
  font-size: 1.6rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--color-silver);
}

.contact-info-card .phone-num {
  font-weight: bold;
}

.contact-info-card .subtext {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.contact-form-box {
  flex: 1.2;
}

.form-header {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-subheader {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-silver);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-neon-red);
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.15);
  background-color: rgba(255, 255, 255, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff0033'%3e%3cpath d='M12 16L6 10H18L12 16Z'%3e%3c/path%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control option {
  background-color: var(--color-matte-black);
  color: var(--color-white);
}

@media (max-width: 650px) {
  .form-row { grid-template-columns: 1fr; gap: 15px; }
}

/* Maps grids */
.contact-maps-section {
  padding: 80px 0 120px;
}

.maps-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.map-card-wrapper {
  padding: 20px !important;
}

.map-card-wrapper h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.google-map-embed-box {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

/* 22. FOOTER SECTION */
.footer-section {
  background-color: var(--color-matte-black);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-bg-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,0,51,0.03) 0%, rgba(255,0,51,0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 24px;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

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

.brand-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

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

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--color-silver);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
}

.social-circle:hover {
  background-color: var(--color-neon-red);
  border-color: var(--color-neon-red);
  color: var(--color-white);
  box-shadow: 0 0 10px rgba(255,0,51,0.4);
}

.footer-header {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-white);
  position: relative;
  padding-bottom: 8px;
}

.footer-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1.5px;
  background-color: var(--color-neon-red);
}

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

.footer-links li a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-links li a:hover {
  color: var(--color-white);
  padding-left: 3px;
}

.contact-info-footer p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-info-footer i {
  margin-top: 3px;
}

/* Footer bottom copyright row */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 25px 0;
  position: relative;
  z-index: 2;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover {
  color: var(--color-white);
}

/* Back to top dynamic button */
#back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-matte-black);
  border: none;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

#back-to-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top-btn .progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

/* manage path length mathematically */
#back-to-top-btn .progress-circle-bar {
  stroke-dasharray: 142; /* circumference: 2 * pi * r (2 * 3.14159 * 22.5 = 141.3) */
  stroke-dashoffset: 142;
  transition: stroke-dashoffset 0.1s linear;
}

#back-to-top-btn .arrow-icon {
  font-size: 1.3rem;
  color: var(--color-white);
  transition: transform 0.2s ease;
  position: relative;
  z-index: 5;
}

#back-to-top-btn:hover .arrow-icon {
  transform: translateY(-3px);
  color: var(--color-neon-red);
}

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

@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
}

/* 23. SERVICE DETAIL & BLOG DETAILS SPECIFIC STYLES */
.subpage-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--color-matte-black) 0%, rgba(10,10,10,0) 100%);
  pointer-events: none;
}

.subpage-title {
  font-size: 4rem;
  line-height: 1.1;
  margin: 10px 0;
}

.subpage-lead {
  font-size: 1rem;
  color: var(--color-silver);
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .subpage-hero { height: 300px; }
  .subpage-title { font-size: 2.2rem; }
  .subpage-lead { font-size: 0.85rem; }
}

/* Service Detail structures */
.service-detail-overview-section {
  padding: 80px 0;
}

.detail-text-box h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.detail-description p {
  margin-bottom: 15px;
}

.detail-benefits-box {
  padding: 40px !important;
  background: rgba(255,255,255,0.01) !important;
}

.benefits-header {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.benefits-list-detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefits-list-detail li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.benefits-list-detail li i {
  margin-top: 3px;
}

.service-detail-process-section {
  padding: 120px 0;
  background: var(--color-dark-grey);
}

.detail-process-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.detail-process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 17px;
  width: 2px;
  height: 100%;
  background: rgba(255, 0, 51, 0.15);
}

.detail-process-step {
  position: relative;
}

.step-num-circle {
  position: absolute;
  top: 0;
  left: -40px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-matte-black);
  border: 2px solid var(--color-neon-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-shadow: 0 0 10px rgba(255,0,51,0.3);
}

.step-content {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px 25px;
}

.step-content h4 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.85rem;
}

.service-detail-faq-section {
  padding: 120px 0;
}

/* Case study details */
.project-brief-section {
  padding: 120px 0;
}

.project-brief-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.specs-list-detailed {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.specs-list-detailed li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.project-meta-card {
  padding: 40px !important;
}

.project-meta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.project-meta-card .meta-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  font-size: 0.85rem;
}

.project-meta-card .meta-item .label {
  color: var(--color-text-muted);
}

.project-meta-card .meta-item .value {
  color: var(--color-white);
  font-weight: bold;
}

.project-comparison-section {
  padding: 120px 0;
  background: var(--color-dark-grey);
}

.related-projects-section {
  padding: 120px 0;
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.related-project-card {
  padding: 0 !important;
  border-radius: 6px;
  overflow: hidden;
}

.related-project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.related-project-card .card-details {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.related-project-card h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.related-project-card p {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .specs-list-detailed { grid-template-columns: 1fr; }
  .related-projects-grid { grid-template-columns: 1fr; }
}

/* 24. BLOG LIST & DETAILS STYLES */
.blogs-list-page-section, .blog-detail-body-section {
  padding: 120px 0;
}

.blogs-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  padding: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-img-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-neon-red);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

.blog-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.blog-meta i { color: var(--color-neon-red); }

.blog-title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

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

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

@media (max-width: 650px) {
  .blogs-grid-container { grid-template-columns: 1fr; }
}

/* Detailed blog layout */
.blog-detail-split {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.blog-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-main-content {
  padding: 40px !important;
}

.article-rich-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc;
}

.article-rich-text p {
  margin-bottom: 20px;
}

.article-rich-text h2 {
  font-size: 1.6rem;
  color: var(--color-white);
  margin: 35px 0 15px;
}

.article-rich-text h3 {
  font-size: 1.25rem;
  color: var(--color-white);
  margin: 25px 0 10px;
}

.article-rich-text ul {
  list-style: none;
  margin-bottom: 25px;
  padding-left: 10px;
}

.article-rich-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.article-rich-text ul li::before {
  content: '\f2ee'; /* remixicon check circle fill */
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  color: var(--color-neon-red);
}

.article-share-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.article-share-footer h4 { font-size: 1.1rem; }

.share-buttons-row {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
}

.share-btn.twitter { background-color: #000000; border: 1px solid rgba(255,255,255,0.1); }
.share-btn.facebook { background-color: #1877f2; }
.share-btn.whatsapp { background-color: #25d366; }

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,255,255,0.05);
}

/* Sidebar styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  padding: 30px !important;
}

.widget-header {
  font-size: 1.2rem;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  position: relative;
}

.widget-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1.5px;
  background-color: var(--color-neon-red);
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-blog-item {
  padding: 0 !important;
  display: flex;
  gap: 15px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.related-blog-item img {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
  transition: var(--transition-fast);
}

.related-blog-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-blog-details h5 {
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 5px;
  color: var(--color-silver);
  text-transform: none;
  font-family: var(--font-body);
}

.related-blog-details .date {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.related-blog-item:hover img {
  transform: scale(1.05);
}

.related-blog-item:hover h5 {
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .blog-detail-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .blog-main-content { padding: 25px !important; }
  .article-share-footer { flex-direction: column; align-items: flex-start; }
}

/* 25. MEDIA GRID */
.gallery-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  height: 260px;
  padding: 0 !important;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 5;
  transition: var(--transition-smooth);
}

.media-badge {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  letter-spacing: 1px;
  font-weight: bold;
  color: var(--color-neon-red);
  margin-bottom: 10px;
}

.gallery-item-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}

.btn-zoom, .btn-play-gallery {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-neon-red);
  border: none;
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
}

.btn-zoom:hover, .btn-play-gallery:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255,0,51,0.7);
}

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

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}

/* Lightbox Modal overlay */
.lightbox-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.close-lightbox-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-content img, .lightbox-content video {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--color-white);
  margin-top: 15px;
  text-transform: uppercase;
}

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

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