/* 
  Project: STQ Air Duct Services
  Aesthetic: AeroFlow Neon (Futuristic Dark / Glassmorphism)
  Website Factory - Rotation #5 (Extended)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #72dcff;
  --primary-glow: rgba(114, 220, 255, 0.4);
  --secondary: #12c1fd;
  --accent: #00d2ff;
  --bg-deep: #0a0b26;
  --bg-dark: #0f102e;
  --bg-surface: #151637;
  --bg-card: rgba(27, 28, 64, 0.6);
  --text-primary: #e5e3ff;
  --text-secondary: #a9a8cb;
  --text-dim: rgba(229, 227, 255, 0.6);
  --glass-bg: rgba(27, 28, 64, 0.4);
  --glass-border: rgba(115, 114, 147, 0.2);
  --glass-highlight: rgba(114, 220, 255, 0.15);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-highlight);
  border-left: 1px solid var(--glass-highlight);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-pill {
  border-radius: 50px;
  padding: 10px 25px;
}

/* Glow */
.glow-primary {
  text-shadow: 0 0 10px var(--primary-glow);
}

.glow-box {
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Navbar Style #12 Enhanced: Holographic Floating */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 1200px;
  background: rgba(10, 11, 38, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 100px;
  padding: 10px 40px;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
              0 0 20px rgba(114, 220, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: visible !important;
}

.navbar::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent, var(--secondary), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  animation: borderRotate 6s linear infinite;
  pointer-events: none;
}

@keyframes borderRotate {
  0% { transform: scale(1); filter: hue-rotate(0deg); }
  50% { opacity: 0.6; }
  100% { transform: scale(1); filter: hue-rotate(360deg); }
}

.navbar.scrolled {
  top: 10px;
  width: 95%;
  background: rgba(10, 11, 38, 0.98);
  padding: 8px 30px;
}

@media (max-width: 991px) {
  .navbar.scrolled {
    width: calc(100% - 40px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 8px 15px !important;
  }
}

.navbar-brand img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 15px var(--primary-glow));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 14px;
}

.navbar-brand:hover img {
  transform: scale(1.12) rotate(3deg);
  filter: drop-shadow(0 0 35px var(--accent));
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 10px 20px !important;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none !important;
}

.nav-link:hover {
  text-shadow: 0 0 15px var(--primary-glow);
  color: var(--primary) !important;
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep) !important;
  border-radius: 100px;
  padding: 12px 30px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(114, 220, 255, 0.2);
  transition: var(--transition);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.nav-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px var(--primary-glow);
  color: var(--bg-deep) !important;
}

.nav-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: 0.6s;
  pointer-events: none;
}

.nav-btn:hover::after {
  left: 100%;
}

/* Hero Section #1: Mesh Dynamic */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 120px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(114, 220, 255, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(0, 210, 255, 0.05) 0%, transparent 60%),
              url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: brightness(0.6) contrast(1.2) saturate(1.1);
  animation: meshFlow 25s ease-in-out infinite alternate;
}

@keyframes meshFlow {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(-2%, -2%); }
  100% { transform: scale(1) translate(2%, 2%); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 40%);
  pointer-events: none;
  z-index: 3;
}

/* Background SVG Assets & Particles */
.hero-svg-assets {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.airflow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.air-wisp {
  animation: driftMist var(--d, 20s) ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes driftMist {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { transform: translate(var(--x, 150px), var(--y, 100px)) scale(1.2); opacity: 0.3; }
}

.wisp-1 { --x: 200px; --y: 150px; --d: 25s; }
.wisp-2 { --x: -250px; --y: -100px; --d: 30s; animation-delay: -5s; }
.wisp-3 { --x: 100px; --y: -200px; --d: 22s; animation-delay: -10s; }

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(2px);
  animation: floatParticle var(--d, 15s) ease-in-out infinite alternate;
}

@keyframes floatParticle {
  0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  100% { transform: translate(var(--x, 100px), var(--y, 100px)) scale(1.5); opacity: 0.6; }
}

/* Sample individual particle positions & variations */
.p-1 { width: 8px; height: 8px; top: 20%; left: 10%; --x: 120px; --y: 80px; --d: 12s; }
.p-2 { width: 12px; height: 12px; top: 60%; left: 15%; --x: -80px; --y: 150px; --d: 18s; animation-delay: -2s; }
.p-3 { width: 6px; height: 6px; top: 40%; left: 80%; --x: 150px; --y: -100px; --d: 14s; }
.p-4 { width: 10px; height: 10px; top: 80%; left: 70%; --x: -120px; --y: -120px; --d: 20s; animation-delay: -5s; }
.p-5 { width: 15px; height: 15px; top: 30%; left: 50%; --x: 60px; --y: -90px; --d: 16s; opacity: 0.15; }
.p-6 { width: 5px; height: 5px; top: 15%; left: 40%; --x: -100px; --y: 180px; --d: 22s; animation-delay: -3s; }
.p-7 { width: 9px; height: 9px; top: 75%; left: 30%; --x: 200px; --y: -50px; --d: 17s; }
.p-8 { width: 7px; height: 7px; top: 55%; left: 90%; --x: -180px; --y: 100px; --d: 19s; animation-delay: -4s; }

/* Hero Typography */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.accent-gradient {
  background: linear-gradient(90deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(114, 220, 255, 0.3));
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
}

/* Hero Badge */
.hero-badge-container {
  display: flex;
}

.hero-badge {
  background: rgba(114, 220, 255, 0.08);
  border: 1px solid rgba(114, 220, 255, 0.2);
  padding: 10px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  font-size: 1.1rem;
}

/* Hero Dashboard */
.hero-dashboard-container {
  position: relative;
  z-index: 5;
}

.glass-card-hero {
  padding: 35px;
  border-radius: 32px;
  background: rgba(15, 17, 51, 0.7); /* Slightly darker/more solid */
  backdrop-filter: blur(15px); /* Reduced blur for better visibility */
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(114, 220, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.dashboard-logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 0 10px rgba(114, 220, 255, 0.3));
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.pulse-blue {
  box-shadow: 0 0 0 0 rgba(114, 220, 255, 0.4);
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(114, 220, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(114, 220, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(114, 220, 255, 0); }
}

.scanning-element {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(114, 220, 255, 0.05), transparent);
  animation: scanning 4s linear infinite;
  pointer-events: none;
}

@keyframes scanning {
  0% { top: -100%; }
  100% { top: 100%; }
}

.progress-wrapper {
  position: relative;
}

.progress-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.progress-markers span {
  width: 2px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.shadow-glow {
  box-shadow: 0 0 15px var(--primary);
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(114, 220, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.stat-info h5 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.stat-info p {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: 0.05em;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-glass {
  background: rgba(114, 220, 255, 0.1);
  color: #fff !important;
  border: 1px solid var(--primary);
  padding: 18px 35px;
  border-radius: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary-glass::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary-glass:hover {
  background: var(--primary);
  color: var(--bg-deep) !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(114, 220, 255, 0.3);
}

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

.btn-outline-hologram {
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 35px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: all 0.4s ease;
}

.btn-outline-hologram:hover {
  border-color: #fff;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-5px);
}

/* Decorative Orbits */
.dashboard-orbit-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px dashed rgba(114, 220, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  animation: rotate 60s linear infinite;
}

.dashboard-orbit-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -2;
  animation: rotate 90s linear infinite reverse;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.trust-item i {
  font-size: 1rem;
}


/* Sub-Hero Status Chips */
.hero-status {
  padding: 30px 0;
  background: rgba(10, 11, 38, 0.6);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}

.hero-status::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 12px;
  transition: var(--transition);
}

.status-item:hover {
  background: rgba(114, 220, 255, 0.05);
  color: #fff;
}

.status-item span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0 15px var(--primary-glow);
}

.status-item .item-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

.status-item .item-label small {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Bento About #15 */
.section-padding {
  padding: 120px 0;
}

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

.section-header .tagline {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-header.text-center h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  border-radius: 10px;
}

.section-header:not(.text-center) h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  border-radius: 10px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 24px;
}

.bento-item {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.bento-large { grid-column: span 7; grid-row: span 2; }
.bento-medium { grid-column: span 5; grid-row: span 1; }
.bento-small-1 { grid-column: span 2; grid-row: span 1; }
.bento-small-2 { grid-column: span 3; grid-row: span 1; }

.bg-primary {
  background-color: var(--primary) !important;
}

.text-deep {
  color: var(--bg-deep) !important;
}

.bento-item.bg-primary .bento-content {
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
}

.bento-content {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bento-content h3 { font-size: 2.5rem !important; margin-bottom: 20px; font-weight: 700; }
.bento-content h4 { font-size: 1.75rem !important; margin-bottom: 15px; font-weight: 600; }
.bento-content h5 { font-size: 1.4rem !important; margin-bottom: 12px; font-weight: 600; }
.bento-content p { font-size: 1.15rem !important; line-height: 1.6; color: var(--text-primary); }
.bento-content .small { font-size: 1.05rem !important; opacity: 0.9; }

.bento-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.4;
}

.bento-item:hover .bento-img {
  transform: scale(1.1);
  opacity: 0.6;
}

.about-usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.usp-card {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.usp-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

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

.usp-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Services 1+5 Asymmetric Grid #8 Enhanced: Holographic Library */
.services-grid-asym {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 25px;
  perspective: 1500px;
}

.service-featured {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 600px;
}

.service-card {
  border-radius: 40px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  background: rgba(27, 28, 64, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(114, 220, 255, 0.1) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 30px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  transform: translateZ(50px);
}

.service-card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  transform: translateZ(30px);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  transform: translateZ(20px) translateY(20px);
  transition: all 0.5s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-2deg);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px var(--primary-glow);
  background: rgba(27, 28, 64, 0.7);
}

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

.service-card:hover i {
  transform: translateZ(80px) scale(1.1) rotate(-10deg);
  color: #fff;
  text-shadow: 0 0 20px var(--primary);
}

.service-card:hover p {
  opacity: 1;
  max-height: 200px;
  transform: translateZ(40px) translateY(0);
  margin-top: 20px;
}

/* Specific Card Layouts */
.services-grid-asym .service-card:nth-child(2),
.services-grid-asym .service-card:nth-child(3),
.services-grid-asym .service-card:nth-child(4),
.services-grid-asym .service-card:nth-child(5),
.services-grid-asym .service-card:nth-child(6) {
  grid-column: span 4;
}

/* Mobile Responsiveness & Fixes */
@media (max-width: 991px) {
  .navbar {
    width: 92% !important;
    max-width: 400px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    top: 10px !important;
    padding: 5px 15px !important;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  }

  .navbar::before {
    border-radius: 12px;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
  }

  .navbar-brand {
    max-width: 55%;
  }

  .navbar-brand img {
    height: 32px !important;
    border-radius: 8px;
  }

  .navbar-toggler {
    padding: 5px;
    margin-right: -5px;
    z-index: 1100;
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .navbar-collapse {
    background: rgba(10, 11, 38, 0.98);
    margin-top: 10px;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(50px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }

  .navbar-collapse.show {
    display: block !important;
  }

  .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem !important;
  }

  .nav-btn {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    padding: 12px !important;
    font-size: 1rem !important;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .glass-card-hero {
    padding: 25px;
    margin-top: 30px;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .bento-grid {
    grid-template-rows: auto;
    display: flex;
    flex-direction: column;
  }

  .bento-item {
    min-height: 250px;
  }

  .detailed-content h2 {
    font-size: 2.2rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 30px;
  }

  .footer-glass {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Detailed Sections */
.detailed-section {
  padding: 100px 0;
  position: relative;
}

.detailed-img-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

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

.detailed-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(10, 11, 38, 0.4), transparent);
}

.detailed-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.detailed-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.detailed-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.feature-pill i {
  color: var(--primary);
}

/* CTA Strips */
.cta-strip {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--primary-glow);
  border-bottom: 1px solid var(--primary-glow);
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(114, 220, 255, 0.03) 20px, rgba(114, 220, 255, 0.03) 40px);
}

.cta-strip h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
}

/* Process Section */
.process-section {
  background: var(--bg-dark);
}

.process-card {
  padding: 40px;
  border-radius: 30px;
  transition: var(--transition);
  height: 100%;
}

.process-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 10px;
}

.process-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.process-card:hover {
  background: var(--bg-surface);
  transform: translateY(-10px);
}

.process-card:hover .process-num {
  opacity: 1;
}

/* Area Grid #16 Auto-fill chips */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.area-chip {
  padding: 15px 25px;
  border-radius: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.area-chip:hover {
  background: var(--primary);
  color: var(--bg-deep);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--primary-glow);
  border-color: var(--primary);
}

/* FAQ Technical Blueprint #12 */
.faq-section {
  background: var(--bg-deep);
}

.accordion-item {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-surface) !important;
  color: var(--text-primary) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  padding: 25px 30px !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  border-bottom: 1px solid var(--glass-border);
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  padding: 30px !important;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Contact Hub #1 */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-card {
  padding: 60px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  width: 60px;
  height: 60px;
  background: var(--bg-surface);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h5 {
  margin-bottom: 5px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.contact-item p {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

.map-container {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) brightness(0.8) contrast(1.2);
}

/* Footer #3: Floating Glass */
.footer {
  padding: 40px 0;
  margin-bottom: 20px;
}

.footer-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 60px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-highlight);
}

.footer-logo {
  max-width: 250px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.sub-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero h1 { font-size: 4rem; }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--bg-deep);
  }
  .bento-grid {
    grid-template-rows: repeat(4, 250px);
  }
  .bento-large { grid-column: span 12; grid-row: span 2; }
  .bento-medium { grid-column: span 12; grid-row: span 1; }
  .bento-small-1 { grid-column: span 6; grid-row: span 1; }
  .bento-small-2 { grid-column: span 6; grid-row: span 1; }
  .services-grid-asym { grid-template-columns: 1fr 1fr; }
  .service-featured { grid-column: span 2; }
  .contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .section-header h2 { font-size: 2.5rem; }
  .detailed-content h2 { font-size: 2.2rem; }
  .services-grid-asym { grid-template-columns: 1fr; }
  .service-featured { grid-column: span 1; grid-row: span 1; min-height: 400px; }
  .footer-glass { padding: 40px 20px; }
  .sub-footer { flex-direction: column; gap: 15px; text-align: center; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Animations */
[data-aos] {
  transition-duration: 1000ms !important;
}
