:root {
  --primary-orange: #FF8C42;
  --secondary-orange: #FF6B1A;
  --primary-black: #1A1A1A;
  --secondary-black: #2D2D2D;
  --accent-white: #FFFFFF;
  --light-gray: #F5F5F5;
  --text-gray: #666666;
  --success-green: #28a745;
  --warning-red: #dc3545;
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--primary-black);
  background: var(--accent-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: var(--container-padding); 
}

/* Navbar */
.navbar { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid rgba(0,0,0,0.1); 
  z-index: 1000; 
  transition: all 0.3s ease; 
}

.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 5px 0; 
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 12px,12px,12px; 
  text-decoration: none; 
  color: var(--primary-black); 
  font-weight: 700; 
  font-size: 1.2rem; 
}

.nav-menu { 
  display: flex; 
  list-style: none; 
  gap: 30px; 
  align-items: center; 
}

.nav-link { 
  text-decoration: none; 
  color: var(--text-gray); 
  font-weight: 500; 
  transition: color 0.3s ease; 
  position: relative; 
}

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

/* ENHANCED: Nav Link Underline Animation */
.nav-link::after { 
  content: ''; 
  position: absolute; 
  width: 0; 
  height: 2px; 
  bottom: -5px; 
  left: 0; 
  background: var(--primary-orange); 
  transition: width 0.3s ease; 
}

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

.emergency-phone { 
  background: var(--warning-red); 
  color: white; 
  padding: 8px 10px; 
  border-radius: var(--border-radius); 
  text-decoration: none; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  animation: pulse 2s infinite; 
}

@keyframes pulse { 
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); } 
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); } 
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } 
}

/* Mobile Menu Button */
.mobile-menu-btn { 
  display: none; 
  flex-direction: column; 
  cursor: pointer; 
  padding: 8px;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1001;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-btn span { 
  width: 20px; 
  height: 2px; 
  background: var(--primary-black); 
  margin: 2px 0; 
  transition: all 0.3s ease;
  border-radius: 1px;
  display: block;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) { 
  transform: translateY(6px) rotate(45deg); 
}

.mobile-menu-btn.active span:nth-child(2) { 
  opacity: 0; 
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) { 
  transform: translateY(-6px) rotate(-45deg); 
}

/* ENHANCED: Hero Section with Animations */
.hero { 
  padding: 120px 0 80px; 
  background: linear-gradient(135deg, var(--light-gray) 0%, rgba(255,140,66,0.08) 100%); 
  text-align: center; 
  position: relative; 
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* ENHANCED: Hero Background Animation */
.hero::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: 
    radial-gradient(600px 300px at 20% 30%, rgba(255,140,66,0.15), transparent 70%),
    radial-gradient(400px 200px at 80% 70%, rgba(255,107,26,0.12), transparent 60%);
  opacity: 0.8;
  animation: heroGradient 8s ease-in-out infinite alternate;
}

@keyframes heroGradient {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0.9; transform: scale(1.02); }
}

/* ENHANCED: Hero Content Slide In */
.hero-content { 
  position: relative; 
  z-index: 2;
  animation: heroSlideIn 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  opacity: 0;
  transform: translateY(50px);
}

@keyframes heroSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ENHANCED: Hero Badge Bounce Animation */
.hero-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)); 
  color: white; 
  padding: 10px 20px; 
  border-radius: 50px; 
  font-size: 0.9rem; 
  font-weight: 700; 
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(255,140,66,0.35);
  animation: badgeBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
}

@keyframes badgeBounce {
  0% { opacity: 0; transform: scale(0.3) translateY(-20px); }
  50% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ENHANCED: Title Slide Animation */
.hero h1 { 
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); 
  font-weight: 800; 
  margin-bottom: 25px; 
  line-height: 1.15;
  animation: titleSlide 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both;
}

@keyframes titleSlide {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ENHANCED: Highlight Glow Effect */
.hero h1 .highlight { 
  color: var(--primary-orange);
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: highlightGlow 3s ease-in-out infinite alternate;
}

@keyframes highlightGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

/* ENHANCED: Subtitle Fade Animation */
.hero p { 
  font-size: 1.1rem; 
  color: var(--text-gray); 
  max-width: 640px; 
  margin: 0 auto 35px;
  animation: subtitleFade 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s both;
}

@keyframes subtitleFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ENHANCED: Buttons Pop Animation */
.hero-actions { 
  display: flex; 
  gap: 18px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 35px;
  animation: buttonsPop 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.9s both;
}

@keyframes buttonsPop {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ENHANCED: Button Styles with Shine Effect */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 16px 28px; 
  border-radius: var(--border-radius); 
  text-decoration: none; 
  font-weight: 700; 
  transition: var(--transition-smooth); 
  cursor: pointer; 
  border: none; 
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

/* ENHANCED: Button Shine Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary { 
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)); 
  color: white;
  box-shadow: 0 10px 25px rgba(255,140,66,0.35);
}

.btn-primary:hover { 
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255,140,66,0.45);
}

.btn-secondary { 
  background: transparent; 
  color: var(--primary-black); 
  border: 2px solid var(--primary-black);
  box-shadow: 0 5px 15px rgba(26,26,26,0.15);
}

.btn-secondary:hover { 
  background: var(--primary-black); 
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(26,26,26,0.25);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 13px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

.scroll-indicator p {
    color: var(--white);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ENHANCED: Stats Section */
.stats-section { 
  padding: 50px 0; 
  background: linear-gradient(135deg, white 0%, var(--light-gray) 100%); 
}

.stats-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 25px; 
}

/* ENHANCED: Stat Card with Top Border Animation */
.stat-card { 
  text-align: center; 
  padding: 35px 25px; 
  border-radius: var(--border-radius); 
  background: white; 
  transition: var(--transition-bounce);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

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

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

.stat-card:hover { 
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ENHANCED: Stat Number with Gradient */
.stat-number { 
  font-size: 2.8rem; 
  font-weight: 800; 
  color: var(--primary-orange); 
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { 
  font-size: 1.05rem; 
  color: var(--text-gray); 
  font-weight: 600; 
}

/* Services Section */
.services-section { 
  padding: var(--section-padding); 
  background: var(--light-gray); 
}

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

.section-title { 
  font-size: clamp(2rem, 4vw, 2.6rem); 
  font-weight: 800; 
  margin-bottom: 18px; 
  color: var(--primary-black); 
}

.section-subtitle { 
  font-size: 1.1rem; 
  color: var(--text-gray); 
  max-width: 640px; 
  margin: 0 auto; 
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 25px; 
}

/* ENHANCED: Service Card with Background Glow */
.service-card { 
  background: white; 
  padding: 35px 28px; 
  border-radius: var(--border-radius); 
  box-shadow: var(--card-shadow); 
  text-align: center; 
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,140,66,0.03) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

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

.service-card:hover { 
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

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

.services-learn-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  box-shadow: 0 10px 25px rgba(255, 140, 66, 0.35);
  transition: var(--transition-smooth);
}

.services-learn-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(255, 140, 66, 0.45);
}

/* ENHANCED: Service Icon with Rotation */
.service-icon { 
  width: 70px; 
  height: 70px; 
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto 20px; 
  color: white; 
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(255,140,66,0.35);
  transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 18px 35px rgba(255,140,66,0.45);
}

/* ENHANCED: Service Features with Hover */
.service-features { 
  list-style: none; 
  text-align: left; 
}

.service-features li { 
  padding: 6px 0; 
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.service-features li:hover {
  color: var(--primary-black);
  transform: translateX(5px);
}

.service-features li::before { 
  content: '✓'; 
  color: var(--success-green); 
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ENHANCED: Emergency Section with Pulse */
.emergency-section { 
  padding: var(--section-padding); 
  background: linear-gradient(135deg, var(--warning-red), #e74c3c); 
  color: white; 
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: emergencyPulse 4s ease-in-out infinite;
}

@keyframes emergencyPulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, -5%) scale(1.05); }
}

.emergency-section .section-title, 
.emergency-section .section-subtitle { 
  color: white;
  position: relative;
  z-index: 2;
}

.emergency-content { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* ENHANCED: Emergency Card */
.emergency-card { 
  background: rgba(255,255,255,0.15); 
  padding: 35px 25px; 
  border-radius: var(--border-radius); 
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: var(--transition-bounce);
  border: 1px solid rgba(255,255,255,0.2);
}

.emergency-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.emergency-phone-large { 
  font-size: 1.8rem; 
  font-weight: 800; 
  color: white; 
  text-decoration: none; 
  display: inline-block; 
  margin: 20px 0;
  padding: 10px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.emergency-phone-large:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.5);
}

/* About Section */
.about-section { 
  padding: var(--section-padding); 
  background: white; 
}

.about-content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
  align-items: center; 
}

/* ENHANCED: About Features with Hover */
.about-features { 
  list-style: none; 
  margin-top: 25px; 
}

.about-features li { 
  padding: 12px 0; 
  display: flex; 
  align-items: center; 
  gap: 15px;
  color: var(--text-gray);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.about-features li:hover {
  color: var(--primary-orange);
  transform: translateX(8px);
}

.about-features li i { 
  color: var(--primary-orange); 
  font-size: 1.3rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,140,66,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ENHANCED: About Image with Overlay */
.about-image { 
  height: 400px; 
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)); 
  border-radius: var(--border-radius); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 5rem; 
  color: white;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255,140,66,0.1), rgba(255,107,26,0.1));
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.gallery-container {
    position: relative;
    width: 350x;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-image-wrapper {
    width: 100%;
    height: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.thumbnail-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    transform: translateY(120%);
    opacity: 0;
    filter: blur(10px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease, filter 0.6s ease;
}

/* --- Hover Animations --- */

.gallery-container:hover {
    transform: scale(1.02);
}

.gallery-container:hover .main-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-container:hover .thumbnail-wrapper {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.2s; /* Stagger the animation */
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.7;
    transform: scale(1);
    transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.thumbnail:hover {
    transform: scale(1.15);
    opacity: 1;
    border-color: #ffffff;
}

.thumbnail.active {
    opacity: 1;
    border-color: #00aaff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.8);
}


/* ENHANCED: Testimonials Section */
.testimonials-section { 
  padding: var(--section-padding);
  background: var(--light-gray);
}

/* Testimonials Grid */
.testimonials-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 70px;
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .testimonials-grid {
    padding: 22px 15px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    padding: 20p 10px;
    gap: 15px;
  }
}



/* ENHANCED: Testimonial Card with Quote and Top Border */
.testimonial-card { 
  background: rgb(245, 245, 245); 
  padding: 55px; 
  border-radius: var(--border-radius); 
  box-shadow: var(--card-shadow);
  position: relative;
  transition: var(--transition-bounce);
  overflow: hidden;
}

.testimonial-card::before { 
  content: '"'; 
  font-size: 4rem; 
  color: rgba(255,140,66,0.3); 
  position: absolute; 
  top: -10px; 
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

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

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-text { 
  font-size: 1.05rem; 
  color: var(--text-gray); 
  margin-bottom: 20px; 
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-author { 
  font-weight: 700; 
  color: var(--primary-black);
  position: relative;
  z-index: 2;
}

.testimonial-company { 
  color: var(--primary-orange); 
  font-weight: 600;
  position: relative;
  z-index: 2;
}


/* Contact Section */
.contact-section { 
  padding: var(--section-padding); 
  background: rgb(245, 245, 245);
}

.contact-content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
}

.contact-form { 
  display: grid; 
  gap: 20px; 
}

.form-group label { 
  display: block; 
  margin-bottom: 8px; 
  font-weight: 600; 
  color: var(--primary-black); 
}

/* ENHANCED: Form Inputs with Focus Animation */
.form-group input, 
.form-group select, 
.form-group textarea { 
  width: 100%; 
  padding: 12px; 
  border: 2px solid var(--light-gray); 
  border-radius: var(--border-radius); 
  font-family: inherit; 
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus { 
  border-color: var(--primary-orange); 
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,140,66,0.15);
  transform: translateY(-2px);
}

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

.contact-info { 
  display: grid; 
  gap: 25px; 
}

/* Enhanced Contact Section */
.contact-section { 
  padding: var(--section-padding); 
  background: var(--primary-black); 
  color: white; 
}

.contact-section .section-title, .contact-section .section-subtitle { 
  color: white; 
}

.contact-content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
  margin-top: 40px; 
}

.contact-form { 
  display: grid; 
  gap: 20px; 
}

.form-group { 
  display: grid; 
  gap: 8px; 
}

.form-group label { 
  font-weight: 600; 
  color: white; 
}

.form-group input, .form-group textarea, .form-group select {
  padding: 16px; 
  border: 2px solid var(--text-gray); 
  border-radius: var(--border-radius); 
  background: white; 
  color: var(--primary-black); 
  font-size: 1rem; 
  outline: none; 
  transition: var(--transition-smooth);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus { 
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(255,140,66,0.15);
  transform: translateY(-2px);
}

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

.contact-info { 
  display: grid; 
  gap: 30px; 
}

.contact-item { 
  display: flex; 
  align-items: center; 
  gap: 18px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.contact-item:hover {
  transform: translateX(8px);
}

.contact-item i { 
  width: 50px; 
  height: 50px; 
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(255,140,66,0.35);
  transition: var(--transition-bounce);
}

.contact-item:hover i {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(255,140,66,0.45);
}

.contact-item-content h4 { 
  font-size: 1.1rem; 
  margin-bottom: 5px;
  font-weight: 700;
}

.contact-item-content p { 
  color: var(--light-gray); 
}

/* Footer */
.footer { 
  background: var(--primary-black); 
  color: var(--light-gray); 
  padding: 60px 0 20px; 
}

.footer-content { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 40px; 
  margin-bottom: 40px; 
}

.footer-section h4 { 
  color: white; 
  margin-bottom: 20px; 
  font-weight: 700; 
}

/* ENHANCED: Footer Links with Underline */
.footer-section a { 
  display: block; 
  color: var(--light-gray); 
  text-decoration: none; 
  margin-bottom: 10px; 
  transition: var(--transition-smooth);
  position: relative;
}

.footer-section a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-section a:hover { 
  color: var(--primary-orange);
  transform: translateX(5px);
}

.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.1); 
  padding-top: 20px; 
  text-align: center;
  color: var(--light-gray); 
}

/* Responsive Design */
@media (max-width: 920px) {
  .nav-menu { 
    position: fixed; 
    left: -100%; 
    top: 70px; 
    flex-direction: column; 
    background: rgba(255, 255, 255, 0.98); 
    width: 100%; 
    height: calc(100vh - 70px);
    transition: left 0.3s ease; 
    box-shadow: 0 10px 27px rgba(0,0,0,0.1); 
    padding: 20px 0;
    backdrop-filter: blur(15px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active { 
    left: 0; 
  }

  /* ENHANCED: Staggered Menu Item Animation */
  .nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
  .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }
  .nav-menu.active li:nth-child(7) { transition-delay: 0.7s; }

  .mobile-menu-btn { 
    display: flex; 
  }
}

@media (max-width: 768px) {
  .hero { 
    padding: 100px 0 60px;
    min-height: auto;
  }

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

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

  .about-content, 
  .contact-content { 
    grid-template-columns: 1fr; 
  }
}

/* ========================================
   MEDIA QUERIES FOR MOBILE DEVICES
   ======================================== */

/* 425px and below */
@media (max-width: 425px) {
  /* Stats Grid - 2x2 Layout */
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Emergency Phone - Responsive Size */
  .emergency-phone-large {
    font-size: 1.4rem;
    padding: 8px 16px;
    word-break: break-all;
  }

  /* Client Scroll Rectangle - Smaller */
  .client-scroll-rect {
    padding: 15px;
    margin: 30px auto;
  }

  .client-logo {
    width: 140px;
    height: 65px;
    padding: 8px;
  }

  /* Hero Section */
  .hero {
    padding: 90px 0 50px;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

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

  .hero-badge {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Services Section - Reduced Top Padding */
  .services-section {
    padding: 40px 0 60px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Section Headers */
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

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

  /* Emergency Section */
  .emergency-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .emergency-card {
    padding: 28px 20px;
  }

  /* About Section */
  .about-content {
    gap: 40px;
  }

  .gallery-container {
    width: 100%;
    height: 300px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  /* Contact Section */
  .contact-content {
    gap: 40px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Footer - Compact */
  .footer {
    padding: 30px 0 10px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-section h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .footer-section a {
    font-size: 0.8rem;
    margin-bottom: 6px;
    padding: 2px 0;
  }

  .footer-bottom {
    padding-top: 12px;
    font-size: 0.75rem;
  }

  /* Container Padding */
  .container {
    padding: 0 15px;
  }
}

/* 375px and below */
@media (max-width: 375px) {
  /* Stats Grid - Maintain 2x2 */
  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* Emergency Phone - Further Reduced */
  .emergency-phone-large {
    font-size: 1.2rem;
    padding: 6px 12px;
  }

  /* Client Scroll - Even Smaller */
  .client-scroll-rect {
    padding: 12px;
    margin: 25px auto;
  }

  .client-logo {
    width: 120px;
    height: 55px;
    padding: 6px;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 1.6rem;
  }

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

  .hero-badge {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

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

  /* Services Section - Reduced Top Padding */
  .services-section {
    padding: 35px 0 55px;
  }

  /* Service Cards */
  .service-card {
    padding: 25px 18px;
  }

  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  /* Section Headers */
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

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

  /* Emergency Cards */
  .emergency-card {
    padding: 25px 18px;
  }

  .emergency-card h3 {
    font-size: 1.1rem;
  }

  /* Gallery */
  .gallery-container {
    height: 280px;
  }

  .thumbnail {
    width: 80px;
    height: 60px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 22px 18px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  /* Contact Items */
  .contact-item {
    gap: 12px;
  }

  .contact-item i {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .contact-item-content h4 {
    font-size: 1rem;
  }

  .contact-item-content p {
    font-size: 0.9rem;
  }

  /* Footer - More Compact */
  .footer {
    padding: 25px 0 8px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
  }

  .footer-section h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .footer-section a {
    font-size: 0.75rem;
    margin-bottom: 4px;
    padding: 1px 0;
  }

  .footer-bottom {
    padding-top: 10px;
    font-size: 0.7rem;
  }

  /* Container Padding */
  .container {
    padding: 0 12px;
  }
}

/* 320px and below */
@media (max-width: 320px) {
  /* Stats Grid - Maintain 2x2 but tighter */
  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 18px 10px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  /* Emergency Phone - Minimum Size */
  .emergency-phone-large {
    font-size: 1rem;
    padding: 6px 10px;
    word-spacing: -2px;
  }

  /* Client Scroll - Minimum Size */
  .client-scroll-rect {
    padding: 10px;
    margin: 20px auto;
  }

  .client-logo {
    width: 100px;
    height: 50px;
    padding: 5px;
  }

  /* Hero Section */
  .hero {
    padding: 80px 0 40px;
  }

  .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }

  .hero-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }

  /* Services Section - Reduced Top Padding */
  .services-section {
    padding: 30px 0 50px;
  }

  /* Services */
  .service-card {
    padding: 22px 15px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

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

  .service-card p {
    font-size: 0.85rem;
  }

  .service-features li {
    font-size: 0.85rem;
    gap: 8px;
  }

  /* Section Headers */
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

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

  /* Emergency Section */
  .emergency-card {
    padding: 22px 15px;
  }

  .emergency-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .emergency-card h3 {
    font-size: 1rem;
  }

  .emergency-card p {
    font-size: 0.85rem;
  }

  /* About Section */
  .about-features li {
    font-size: 0.85rem;
    gap: 10px;
  }

  .about-features li i {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  /* Gallery */
  .gallery-container {
    height: 250px;
  }

  .thumbnail {
    width: 70px;
    height: 50px;
  }

  .thumbnail-wrapper {
    gap: 10px;
    padding: 15px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px 15px;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .testimonial-author {
    font-size: 0.9rem;
  }

  .testimonial-company {
    font-size: 0.85rem;
  }

  /* Contact Section */
  .contact-item {
    gap: 10px;
  }

  .contact-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-item-content h4 {
    font-size: 0.9rem;
  }

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

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  /* Footer - Ultra Compact */
  .footer {
    padding: 20px 0 8px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer-section h4 {
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .footer-section a {
    font-size: 0.7rem;
    margin-bottom: 3px;
    padding: 1px 0;
    line-height: 1.4;
  }

  .footer-bottom {
    padding-top: 8px;
    font-size: 0.65rem;
    line-height: 1.3;
  }

  /* Container Padding */
  .container {
    padding: 0 10px;
  }

  /* Logo */
  .logo img {
    width: 60px;
  }

  .logo-text {
    font-size: 16px;
  }

  /* Navigation */
  .nav {
    padding: 8px 0;
  }

  .navbar {
    padding: 5px 0;
  }
}

/* ========================================
   SMOOTH SCROLL FIX - PREVENT JUMPING
   ======================================== */

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Prevent content shift during animations */
.stats-section,
.services-section,
.emergency-section,
.about-section,
.testimonials-section,
.contact-section {
  min-height: fit-content;
  position: relative;
  overflow: hidden; /* Prevent elements from moving outside */
}

/* Keep space for hidden elements */
.fade-in,
.slide-in-left,
.slide-in-right,
.service-card,
.stat-card,
.testimonial-card,
.emergency-card {
  min-height: 50px; /* Prevents collapse */
} 

/* Prevent magnetic button effect from causing page shifts */
.btn,
.service-card,
.stat-card {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}


/* Remove will-change after animation completes */
.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible,
.service-card.visible,
.stat-card.visible,
.testimonial-card.visible,
.emergency-card.visible {
  will-change: auto;
}
/* REDUCED ANIMATION DISTANCES - SMOOTHER */
.fade-in {
  transform: translateY(30px); /* Reduced from 60px */
}

.slide-in-left {
  transform: translateX(-50px); /* Reduced from -100px */
}

.slide-in-right {
  transform: translateX(50px); /* Reduced from 100px */
}

.service-card,
.stat-card {
  transform: translateY(40px) scale(0.95); /* Reduced movement and scale */
}

.testimonial-card,
.emergency-card {
  transform: translateY(30px); /* Reduced from 60px */
}

.about-text {
  transform: translateX(-40px); /* Reduced from -80px */
}

.gallery-container {
  transform: translateX(40px); /* Reduced from 80px */
}

.contact-form {
  transform: translateX(-30px); /* Reduced from -60px */
}

.contact-info {
  transform: translateX(30px); /* Reduced from 60px */
}

.contact-item {
  transform: translateY(20px); /* Reduced from 30px */
}

.section-header {
  transform: translateY(20px); /* Reduced from 40px */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1536px) {
  body {
    zoom: 0.96;
  }
}
