/* ============================================
   BLUE BOX HANDYMAN — Premium Design System
   ============================================ */

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- Custom Properties (Design Tokens) --- */
:root {
  --primary: #324b92;
  --primary-dark: #263a73;
  --primary-light: #4a65b0;
  --accent: #02aef2;
  --accent-dark: #0290c7;
  --accent-light: #33c2f5;
  --accent-glow: rgba(2, 174, 242, 0.35);

  --dark-bg: #ffffff;
  --dark-bg-2: #f8fafc;
  --dark-bg-3: #f1f5f9;
  --light-bg: #f0f4ff;
  --light-bg-2: #e8edfb;
  --white: #ffffff;

  --text-dark: #1a1a2e;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --text-on-dark: #1a1a2e; /* Light theme override */
  --text-on-dark-muted: #475569; /* Light theme override */

  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-soft: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  --gradient-dark: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2));

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.14);
  --shadow-xl: 0 30px 80px rgba(10, 22, 40, 0.18);
  --shadow-glow: 0 8px 40px var(--accent-glow);
  --shadow-card-hover: 0 20px 50px rgba(2, 174, 242, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 10px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --container-sm: 900px;
  --radius: 12px;
  --navbar-h: 316px;
  --navbar-h-shrink: 80px;
  --section-py: 100px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-medium);
  line-height: 1.8;
}

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

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-description {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* --- Layout & Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: var(--container-sm);
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2, 174, 242, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(2, 174, 242, 0.15);
}

.btn-outline-dark {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(5deg); }
  50% { transform: translate(-20px, -80px) rotate(-3deg); }
  75% { transform: translate(40px, -30px) rotate(4deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-40px, 30px) rotate(-4deg); }
  50% { transform: translate(30px, 60px) rotate(6deg); }
  75% { transform: translate(-20px, 20px) rotate(-2deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes scrollIndicator {
  0% { opacity: 0; transform: translateY(-8px); }
  50% { opacity: 1; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for card groups */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(2, 174, 242, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.preloader-text {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 10001;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  height: var(--navbar-h-shrink);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  height: 80px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
  height: 56px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav a {
  padding: 8px 18px;
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 60%;
}

.navbar-nav a:hover {
  color: var(--accent);
}

.navbar-nav a.active {
  color: var(--accent);
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(2, 174, 242, 0.1);
  border: 1px solid rgba(2, 174, 242, 0.3);
  border-radius: 8px;
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.navbar-phone:hover {
  background: rgba(2, 174, 242, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.navbar-phone::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  background: none;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--text-on-dark);
  border-radius: 4px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span { background: var(--text-dark); }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover {
  color: var(--accent);
  background: rgba(2, 174, 242, 0.08);
}

.mobile-menu .mobile-phone {
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--gradient);
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--white) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--white);
  overflow: hidden;
  padding: 336px 0 80px;
}

/* Background image with gradient overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center right;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0) 100%);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -15%;
  right: -10%;
  animation: float1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -20%;
  left: -10%;
  animation: float2 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 15s ease-in-out infinite;
}

/* Subtle grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: var(--container);
  margin: 0; /* No longer centered */
  padding: 0 40px; /* Space from the absolute left edge */
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--text-medium);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.15s both;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  max-width: 800px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-description {
  color: var(--text-medium);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease 0.45s both;
  justify-content: flex-start;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-number .counter-suffix {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollIndicator 2s infinite;
}

/* --- Hero Social Cards --- */
.hero-social-cards {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.social-card {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 220px;
  animation: fadeInRight 0.8s ease both;
  color: white;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}

.social-card:hover::before {
  opacity: 1;
}

.social-card:nth-child(1) { animation-delay: 0.6s; }
.social-card:nth-child(2) { animation-delay: 0.8s; }

.social-card.facebook {
  background: linear-gradient(135deg, #0062E0 0%, #19AFFF 100%);
  box-shadow: 0 8px 24px rgba(0, 98, 224, 0.35);
}

.social-card.facebook::before {
  background: linear-gradient(135deg, #0051bf 0%, #1499e6 100%);
}

.social-card.instagram {
  background: linear-gradient(45deg, #FCAF45 0%, #F77737 20%, #FD1D1D 40%, #E1306C 60%, #C13584 80%, #833AB4 100%);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
}

.social-card.instagram::before {
  background: linear-gradient(45deg, #e89e3e 0%, #dd6a30 20%, #e31919 40%, #c92b60 60%, #ad2f76 80%, #7333a0 100%);
}

.social-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.social-card.facebook:hover {
  box-shadow: 0 12px 32px rgba(0, 98, 224, 0.5);
}

.social-card.instagram:hover {
  box-shadow: 0 12px 32px rgba(225, 48, 108, 0.5);
}

.social-icon {
  font-size: 24px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.social-title {
  color: white;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.social-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 992px) {
  .hero-social-cards {
    display: none;
  }
}

/* ============================================
   SERVICES OVERVIEW (Home Page)
   ============================================ */
.services-overview {
  background: var(--light-bg);
  position: relative;
}

/* Wave divider */
.wave-divider {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

.wave-divider-bottom {
  top: auto;
  bottom: -1px;
  transform: rotate(180deg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(50, 75, 146, 0.06);
}

.service-card-img-top {
  margin: -40px -32px 24px -32px;
  width: calc(100% + 64px);
  max-width: none;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: cover;
  height: 280px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

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

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

.service-card-icon {
  width: auto;
  height: auto;
  background: none;
  display: block;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: var(--accent);
  transition: var(--transition);
  position: relative;
  padding-bottom: 16px;
}

.service-card-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.service-card:hover .service-card-icon::after {
  width: 48px;
}

.service-card:hover .service-card-icon {
  color: var(--primary);
  transform: none;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-card-link i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.service-card-link:hover {
  color: var(--accent);
  gap: 10px;
}

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

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(2, 174, 242, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--white);
  border-color: rgba(2, 174, 242, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: auto;
  height: auto;
  background: none;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--accent);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  color: var(--accent-light);
  transform: translateY(-3px);
}

.feature-card h4 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 48px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number .stat-suffix {
  color: var(--accent);
}

.stat-label {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.service-areas {
  background: var(--light-bg);
  position: relative;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2.5rem;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid rgba(50, 75, 146, 0.1);
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: default;
}

.area-badge i {
  color: var(--accent);
  font-size: 0.85rem;
}

.area-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.area-badge:hover i {
  color: var(--accent-light);
}

/* ============================================
   GOOGLE REVIEWS CTA
   ============================================ */
.reviews-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(50, 75, 146, 0.2), rgba(2, 174, 242, 0.1));
  pointer-events: none;
}

.reviews-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.reviews-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.reviews-stars i {
  color: #fbbf24;
  font-size: 1.8rem;
}

.reviews-content h2 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

.reviews-content p {
  color: var(--text-medium);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--white);
  border-radius: 10px;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.reviews-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.reviews-badge img {
  height: 24px;
}

/* Reviews Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  background: transparent;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 24px;
  /* 8 cards x ~374px width each = track width around 2992px */
  /* The animation should translate by exactly 50% so it loops */
  animation: scroll-left 35s linear infinite;
  padding-left: 24px; 
}

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

.review-card {
  flex: 0 0 auto;
  width: 350px;
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 16px;
}

.review-meta h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.google-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.5rem;
  color: #4285f4;
}

.review-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-medium);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  /* (350px + 24px gap) * 4 cards = 1496px */
  100% { transform: translateX(-1496px); }
}

@media (max-width: 768px) {
  .review-card { width: 300px; }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    /* (300px + 24px gap) * 4 = 1296px */
    100% { transform: translateX(-1296px); }
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */
.map-section {
  padding: 0;
  background: var(--dark-bg);
}

.map-section .container {
  max-width: 100%;
  padding: 0;
}

.map-header {
  text-align: center;
  padding: 60px 24px 40px;
}

.map-header h2 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.map-header p {
  color: var(--text-medium);
}

.map-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-wrapper::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(2, 174, 242, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 0;
}

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

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.85) contrast(1.1) saturate(0.8);
  transition: filter 0.4s ease;
  position: relative;
  z-index: 1;
}

.map-wrapper:hover iframe {
  filter: brightness(1) contrast(1) saturate(1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  padding: 80px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: var(--text-medium);
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  height: 160px;
}

.footer h4 {
  color: var(--text-dark);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

.footer-contact-item a {
  color: var(--text-on-dark-muted);
}

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

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

.footer-bottom p {
  color: var(--text-medium);
  font-size: 0.85rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.page-header {
  background: var(--light-bg);
  padding: 376px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 174, 242, 0.08), transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(50, 75, 146, 0.08), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--text-dark);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--text-medium);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .section-subtitle {
  position: relative;
  z-index: 1;
}

/* Service Category Section */
.service-category {
  padding: 80px 0;
}

.service-category:nth-child(even) {
  background: var(--light-bg);
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.service-category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-category-header h2 {
  margin: 0;
}

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

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(50, 75, 146, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-category:nth-child(even) .service-detail-card {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.service-detail-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

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

.service-detail-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.service-detail-card:hover i {
  transform: scale(1.1);
  color: var(--primary);
}

.service-detail-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-detail-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
/* --- 3D Gallery Slider --- */
.gallery-slider-container {
  width: 100%;
  padding-bottom: 50px;
  overflow: hidden;
}

.gallery-swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 60%;
  height: 60vh;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  background-color: var(--dark-bg);
  cursor: pointer;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
  padding: 40px 30px 30px;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.swiper-slide-active .gallery-slide-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-slide-caption h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--white) !important;
  background: rgba(0, 0, 0, 0.5);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background: var(--primary) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 85%;
    height: 50vh;
  }
}

.gallery-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
}

.gallery-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent);
  opacity: 0.5;
}

.gallery-empty h3 {
  color: var(--text-medium);
  margin-bottom: 8px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: fixed;
  top: 32px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 32px;
}

.lightbox-next {
  right: 32px;
}

.lightbox-caption {
  text-align: center;
  margin-top: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

/* ============================================
   ESTIMATE FORM PAGE
   ============================================ */
.estimate-section {
  background: var(--light-bg);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.estimate-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(50, 75, 146, 0.05);
}

.form-title {
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--text-medium);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-bg-2);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(2, 174, 242, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Estimate sidebar */
.estimate-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(50, 75, 146, 0.05);
}

.sidebar-card h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card h3 i {
  color: var(--accent);
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-bg);
}

.sidebar-contact-item:last-child {
  border-bottom: none;
}

.sidebar-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-contact-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}

.sidebar-contact-item strong {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.sidebar-contact-item a {
  color: var(--text-dark);
}

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

/* Hours card */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.hours-item .day {
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(2, 174, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   FLOATING PHONE BUTTON (Mobile)
   ============================================ */
.floating-phone {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  padding: 14px 24px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(2, 174, 242, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.floating-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(2, 174, 242, 0.5);
}

.floating-phone i {
  animation: pulse 2s infinite;
}

/* ============================================
   FORM SUCCESS MESSAGE
   ============================================ */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 24px;
}

.form-success.active {
  display: block;
  animation: fadeInUp 0.6s ease;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE — Tablet (< 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ============================================
   RESPONSIVE — Mobile (< 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --navbar-h: 64px;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-phone {
    display: none !important;
  }
  .navbar-logo {
    height: 48px !important;
  }

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

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

  .stats-row {
    flex-direction: column;
    gap: 32px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  .page-header {
    padding: 180px 0 60px;
  }

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

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

  .estimate-form {
    padding: 32px 24px;
  }

  .floating-phone {
    display: flex;
  }

  .back-to-top {
    bottom: 80px;
    right: 20px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 40px; height: 40px; }

  .service-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================
   RESPONSIVE — Small Mobile (< 480px)
   ============================================ */
@media (max-width: 480px) {
  html { font-size: 15px; }

  .container { padding: 0 16px; }

  .hero { padding-top: 160px; }

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

  .hero-scroll { display: none; }

  .areas-grid { gap: 8px; }

  .area-badge {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .sidebar-card {
    padding: 24px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .preloader,
  .back-to-top,
  .floating-phone,
  .scroll-progress,
  .hero-bg {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a { color: #000; text-decoration: underline; }
}





