/* ============================================================
   AutoTex Mobile Detailing — styles.css
   Dark Theme Color Palette (matched to brand logo):
     --primary:        #001e6e  (deep navy blue)
     --primary-light:  #0066ff  (electric blue)
     --primary-mid:    #003dcc  (mid blue)
     --accent:         #00d4ff  (electric cyan — logo glow)
     --accent-dark:    #00aad4  (darker cyan for hover)
     --white:          #ffffff
     --dark:           #050a18  (hero/footer background)
     --bg:             #070d1c  (main page background)
     --bg-section-alt: #0a1122  (alternate section background)
     --bg-card:        #0d1630  (card surface)
     --gray:           #8aa4cc  (muted text — readable on dark)
     --text:           #dde8ff  (body text on dark)
============================================================ */

/* ===== CSS RESET & ROOT VARIABLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:           #001e6e;
  --primary-light:     #0066ff;
  --primary-mid:       #003dcc;
  --accent:            #00d4ff;
  --accent-dark:       #00aad4;
  --white:             #ffffff;
  --dark:              #050a18;
  --bg:                #070d1c;
  --bg-section-alt:    #0a1122;
  --bg-card:           #0d1630;
  --gray:              #8aa4cc;
  --text:              #dde8ff;
  --card-shadow:       0 8px 40px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 20px 60px rgba(0, 212, 255, 0.18);
  --border-radius: 12px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-google {
  background: var(--bg-card);
  color: var(--white);
  border: 2px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-google:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #4285f4, #ea4335);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for child elements */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* ===========================
   NAVIGATION
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.nav-cta {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--accent-dark);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #04080f;
}

/* Subtle glow behind the text only */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 102, 255, 0.10) 0%, transparent 70%);
}

/* Diagonal stripe pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 80px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo img {
  width: clamp(260px, 45vw, 480px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-sub strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 16px 36px;
  flex-wrap: wrap;
  gap: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

@keyframes fadeInBounce {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   WHY US BANNER
=========================== */
.why-us-banner {
  background: var(--primary);
  padding: 24px 0;
}

.why-us-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.3px;
}

.why-item:last-child {
  border-right: none;
}

.why-icon {
  font-size: 1.2rem;
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
  background: var(--bg-section-alt);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 212, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.22);
}

.service-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.83rem;
  color: var(--text);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

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

.services-cta p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 16px;
  font-weight: 500;
}

.services-cta .btn-primary {
  color: var(--primary);
}

/* ===== COMMERCIAL GRID ===== */
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.commercial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.commercial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.commercial-card .service-title {
  font-size: 1.2rem;
}

.commercial-card .service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===========================
   BEFORE/AFTER GALLERY
=========================== */
.gallery {
  background: var(--dark);
}

.gallery .section-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.25);
}

.gallery .section-title,
.reviews .section-title {
  color: var(--white);
}

.gallery .section-subtitle,
.reviews .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.sliders-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.slider-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

/* ---- Comparison Slider ---- */
.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.08);
}

.slider-before,
.slider-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* After panel clips to left half; handle sets the clip */
.slider-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s; /* no transition — JS drives it */
}

/* Real images inside slider panels */
.slider-before img,
.slider-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Placeholder images (remove when real images are added) */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.placeholder-before {
  background: linear-gradient(135deg, #3d2b1f, #5c3a20, #4a2e18);
}

.placeholder-after {
  background: linear-gradient(135deg, #001e6e, #0066ff, #00aaff);
}

.placeholder-img span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.placeholder-img small {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  font-weight: 500;
}

/* Slider handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), rgba(255,215,0,0.7), var(--accent));
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.6);
}

.slider-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.6), 0 0 0 3px rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comparison-slider:hover .slider-circle,
.comparison-slider.dragging .slider-circle {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 28px rgba(0, 212, 255, 0.8), 0 0 0 4px rgba(255,255,255,0.3);
}

.handle-arrows {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

/* ===========================
   REVIEWS SECTION
=========================== */
.reviews {
  background: var(--bg);
}

.overall-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.rating-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1;
}

.rating-stars {
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.reviewer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.review-date {
  font-size: 0.78rem;
  color: var(--gray);
}

.google-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4285f4, #ea4335);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}

.review-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
}

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

/* ===========================
   CONTACT SECTION
=========================== */
.contact {
  background: linear-gradient(135deg, #020510 0%, var(--primary) 100%);
}

.contact .section-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.25);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.contact-tagline {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item p,
.info-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-item a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.social-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group select option {
  background: var(--primary);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: -4px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-success.show {
  display: flex;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 8px 32px rgba(0,212,255,0.4);
}

.form-success h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.form-success p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #04070f;
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo-img {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-services li {
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  text-transform: uppercase;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-tagline {
  color: var(--accent) !important;
  font-weight: 500;
  opacity: 0.7;
}

/* ===========================
   RESPONSIVE — TABLET (768px)
=========================== */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Nav mobile */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 32px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    border-radius: var(--border-radius);
    padding: 20px;
    gap: 16px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  /* Why us */
  .why-item {
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 50%;
    justify-content: center;
  }

  .why-item:nth-child(even) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Services */
  .section {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .sliders-wrapper {
    grid-template-columns: 1fr;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .why-item {
    width: 100%;
    border-right: none;
  }
}
