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

body {
  font-family: "Inter", -webkit-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Header Navigation */
.header {
  background: rgb(31, 34, 38);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 1;
}

/* Scrolled state with fade effect */
.header.scrolled {
  background: rgba(31, 34, 38, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Optional: Fade out effect when scrolling */
.header.fade-out {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from flex-start */
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0; /* Prevents logo from shrinking */
}
.logo img {
  height: 40px; /* adjust to taste */
  width: auto;
  display: block;
}
.logo span {
  line-height: 1; /* avoids extra vertical drift */
}

.nav-menu {
  display: flex;
  justify-content: space-evenly; /* Distributes items evenly */
  align-items: center;
  list-style: none;
  gap: 2rem;
  flex: 1; /* Takes up available space */
  max-width: 600px; /* Optional: limits max width */
  margin: 0 2rem; /* Removes margin-left: auto, adds margin on both sides */
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  line-height: 1;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #2b9bd9;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: #2b9bd9;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: rgba(27, 90, 150, 0.98);
  backdrop-filter: blur(10px);
  padding: 5rem 2rem 2rem;
  transition: left 0.3s ease;
  z-index: 999;
}

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

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
}

.mobile-nav-menu li {
  margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.mobile-nav-menu a:hover {
  color: #2b9bd9;
}

.mobile-cta {
  margin-top: 2rem;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(1, 9, 20, 0.8);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.get-quote-btn {
  background: #ed8936;
  color: white;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0; /* Prevents button from shrinking */
  white-space: nowrap; /* Prevents text wrapping */
}

.get-quote-btn:hover {
  background: #de823b;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  background: url(../Assets/Kitchen\ header.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 0, 0, 0.451); /* dark overlay */
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: center;
  z-index: 2;
}

.hero-content {
  color: white;
}

.hero-tagline {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-title .highlight {
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
}

.btn-primary:hover {
  background: #2b9bd9;
  color: white;
  transform: translateY(-2px);
  transition: all 0.5s;
  box-shadow: 0 6px 20px rgba(43, 155, 217, 0.4);
}

.quote-card {
  background: rgba(255, 255, 255, 0.774);
  border: 2px solid #2b9bd9;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(230, 231, 232, 0.2);
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.585),
    rgba(255, 255, 255, 0.681)
  );
  z-index: 0;
}

.quote-card > * {
  position: relative;
  z-index: 1;
}

.quote-title {
  color: #333333;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.quote-subtitle {
  color: #1b5a96;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(27, 90, 150, 0.3);
}

.request-quote-btn {
  background: linear-gradient(135deg, #38a169, #2f855a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
}

.request-quote-btn:hover {
  background: linear-gradient(135deg, #2f855a, #38a169);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 161, 105, 0.4);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333333;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services-section {
  background: #fdfdfd;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(27, 90, 150, 0.1);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(27, 90, 150, 0.15);
  border-color: #2b9bd9;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
}

.service-icon img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  display: block; /* Add this */
  object-fit: contain; /* Add this - keeps aspect ratio */
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.service-icon:hover img {
  animation: flicker 0.5s ease-in-out 3;
}

.home-icon img {
  transform: translateY(-3px);
}

.checklist-icon img {
  transform: translateX(5px);
}

.commercial-icon img {
  transform: translateY(-5px);
}

.light-icon:hover {
  animation: flicker 0.5s ease-in-out 3;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.service-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333333;
}

.service-description {
  color: #333333;
  line-height: 1.6;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, #1a365d, #1b5a96);
  color: white;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2b9bd9, #ed8936);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.4);
}

.step-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.step-description {
  color: #e2e8f0;
}

/* Remove background from the section */
.features-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.features-section .container {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

/* Add this new rule */
.features-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/powercable.svg") center / cover no-repeat;
  z-index: -1;
}

.features-section .container::before {
  content: "";
  position: absolute;
  inset: -80px -50vw; /* Extend beyond container */
  background: rgba(255,255,255,0.8);
  z-index: 0;
}


.features-section .container > * {
  position: relative;
  z-index: 1;
} 


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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s;
}

.feature-item:hover {
  background: #ebf8ff;
  transform: translateY(-3px);
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.2);
}

.feature-icon img{
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  display: block; /* Add this */
  object-fit: contain; /* Add this - keeps aspect ratio */
  transition: transform 0.5s ease;
  transform-origin: center center;
  transform: translateX(-3px);
  }

.feature-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #1a365d;
}

.gallery-section {
  background-color: #f2f8fd;
}

.feature-content p {
  color: #333333;
  font-size: 0.95rem;
}

.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-nav {
  background: rgba(43, 155, 217, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-nav:hover {
  background: #2b9bd9;
  transform: scale(1.1);
}

/* Gallery Section - Make sure this is in your CSS */
.gallery-container {
  display: flex !important; /* Force flex display */
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 2rem 0;
  scroll-behavior: smooth;
  flex-wrap: nowrap; /* Prevent wrapping */

  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #2b9bd9 rgba(255, 255, 255, 0.2);
}

.gallery-container img {
  min-width: 400px !important; /* Force minimum width */
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;  Prevent images from shrinking */
}

.cta-section {
  background: linear-gradient(135deg, #2b9bd9, #1b5a96); 
 color: white;
  text-align: center;
  position: relative;
  overflow: hidden; 
  background: url(../Assets/Footerimg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
background: rgba(10, 0, 0, 0.451);


}


.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.cta-button {
  background: #ed8936;
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.cta-button:hover {
  background: #dd7324;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a365d, #2d3748);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section h3 {
  color: #2b9bd9;
  margin-bottom: 1rem;
  font-weight: bold;
  flex-direction: column;
}

.footer-section p,
.footer-section a {
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #2b9bd9;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  text-align: center;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quote-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-container {
    padding: 0 1rem;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    justify-content: center;
  }

  .quote-card {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  /* Center align all headings and text on mobile */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: center;
  }

  .service-title,
  .step-title,
  .feature-content h3 {
    text-align: center;
  }

  /* Keep feature items centered but maintain left-align for readability */
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 1rem;
  }

  /* Center service cards content */
  .service-card {
    text-align: center;
  }
}

/* Google Reviews Section Styles - Matching JR Electrical Design */
.reviews-section {
  background-color: #f2f8fd;
  padding: 5rem 0;
  position: relative;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333333;
  margin-bottom: 1rem;
}

.reviews-subtitle {
  font-size: 1.1rem;
  color: #333333;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(27, 90, 150, 0.1);
  border: 1px solid #e2e8f0;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #4285f4;
  font-size: 1.2rem;
}

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

.rating-stars {
  display: flex;
  gap: 4px;
}

.star {
  color: #fbbf24;
  font-size: 1.5rem;
}

.rating-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333333;
}

.rating-count {
  color: #333333;
  font-size: 0.95rem;
}

.reviews-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #2b9bd9 rgba(255, 255, 255, 0.2);
  -webkit-overflow-scrolling: touch;
}

.reviews-container::-webkit-scrollbar {
  height: 6px;
}

.reviews-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb {
  background: #2b9bd9;
  border-radius: 10px;
}

.review-card {
  min-width: 280px;
  max-width: 280px;
  width: 280px;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(27, 90, 150, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
  height: auto;
}

.review-card:hover {
  box-shadow: 0 15px 35px rgba(27, 90, 150, 0.15);
  border-color: #2b9bd9;
}

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

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
  flex-shrink: 0;
}

.reviewer-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.2;
}

.review-date {
  color: #333333;
  font-size: 0.8rem;
  margin: 2px 0 0 0;
  opacity: 0.8;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.8rem;
}

.review-stars .star {
  font-size: 1rem;
}

.review-text {
  color: #333333;
  line-height: 1.5;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.google-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #4285f4;
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(43, 155, 217, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.reviews-nav:hover {
  background: #2b9bd9;
  transform: translateY(-50%) scale(1.1);
}

.reviews-nav.prev {
  left: -25px;
}

.reviews-nav.next {
  right: -25px;
}

.view-all-reviews {
  text-align: center;
  margin-top: 2.5rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
}

.view-all-btn:hover {
  background: #2b9bd9;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 155, 217, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reviews-section {
    padding: 3rem 0;
  }

  .reviews-title {
    font-size: 2rem;
  }

  .google-rating-summary {
    flex-direction: column;
    gap: 15px;
    margin: 0 1rem 2rem;
  }

  .review-card {
    min-width: 250px;
    max-width: 250px;
    width: 250px;
    padding: 1.2rem;
  }

  .reviews-nav {
    display: none;
  }

  .reviews-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reviews-carousel {
    padding: 0 1rem;
  }

  .reviews-title,
  .reviews-subtitle {
    text-align: center;
  }

  .view-all-reviews {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .review-card {
    min-width: 220px;
    max-width: 220px;
    width: 220px;
    padding: 1rem;
  }

  .reviews-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .google-rating-summary {
    margin: 0 0.5rem 2rem;
    padding: 1rem;
  }

  .reviews-title {
    font-size: 1.8rem;
  }

  .view-all-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reviews-section {
    padding: 3rem 0;
  }

  .reviews-title {
    font-size: 2rem;
  }

  .google-rating-summary {
    flex-direction: column;
    gap: 15px;
    margin: 0 1rem 2rem;
  }

  .review-card {
    min-width: 300px;
    padding: 1.5rem;
  }

  .reviews-nav {
    display: none;
  }

  .reviews-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reviews-carousel {
    padding: 0 1rem;
  }

  .reviews-title,
  .reviews-subtitle {
    text-align: center;
  }

  .view-all-reviews {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .review-card {
    min-width: 280px;
    padding: 1.2rem;
  }

  .reviews-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .google-rating-summary {
    margin: 0 0.5rem 2rem;
    padding: 1rem;
  }

  .reviews-title {
    font-size: 1.8rem;
  }

  .view-all-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .service-card,
  .quote-card {
    padding: 1.2rem;
  }

  .hero-buttons {
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Extra small screens - ensure everything is centered */
  .hero-content {
    text-align: center;
  }

  .container {
    text-align: center;
  }

  /* Make sure paragraphs are also centered on very small screens */
  .hero-subtitle,
  .hero-description,
  .section-subtitle,
  .service-description,
  .step-description,
  .feature-content p {
    text-align: center;
  }
}

/* Contact Us

/* ===== CONTACT FORM STYLES ===== */
/* Add this to your existing styles.css file */

.contact-section {
  padding: 5rem 0;
  min-height: 100vh;
  background-color: #fdfdfd;
 
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333333;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #333333;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(27, 90, 150, 0.1);
  border: 1px solid #e2e8f0;
  height: fit-content;
}

.info-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1b5a96;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s;
}

.contact-item:hover {
  background: #f0f9ff;
  transform: translateX(5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
}

.contact-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  display: block; /* Add this */
  object-fit: contain; /* Add this - keeps aspect ratio */
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1b5a96;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: #333333;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-details a {
  color: #2b9bd9;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #1b5a96;
}

.hours-grid {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hour-item {
  display: flex;
  column-gap: 24px;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(27, 90, 150, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2b9bd9, #1b5a96, #ed8936);
}

.form-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1b5a96;
  margin-bottom: 1rem;
}

.form-subtitle {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1b5a96;
  font-size: 0.9rem;
}

.form-label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  background: #f9fafb;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2b9bd9;
  background: white;
  box-shadow: 0 0 0 3px rgba(43, 155, 217, 0.1);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 3rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #2b9bd9;
}

.checkbox-label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label a {
  color: #2b9bd9;
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(135deg, #2b9bd9, #1b5a96);
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(43, 155, 217, 0.3);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.submit-btn:hover {
  background: #2b9bd9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 155, 217, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s, height 0.6s;
  transform: translate(-50%, -50%);
}

.submit-btn:active::before {
  width: 300px;
  height: 300px;
}

.emergency-notice {
  background: linear-gradient(135deg, #ed8936, #dd7324);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.emergency-notice h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.emergency-notice img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  object-fit: contain; /* Add this - keeps aspect ratio */
  
}

.emergency-notice p {
  font-size: 0.9rem;
  opacity: 0.95;
}

.emergency-phone {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.5rem;
  display: block;
}

/* File Upload Styles */
.file-upload-container {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
  background: #f9fafb;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-container:hover {
  border-color: #2b9bd9;
  background: white;
  box-shadow: 0 0 0 3px rgba(43, 155, 217, 0.1);
}

.file-upload-container.drag-over {
  border-color: #2b9bd9;
  background: white;
  box-shadow: 0 0 0 3px rgba(43, 155, 217, 0.1);
  transform: scale(1.01);
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content {
  pointer-events: none;
  width: 100%;
}

.file-upload-icon {
  font-size: 2rem;
  color: #999;
  margin-bottom: 0.5rem;
  float: left;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.file-upload-text {
  color: #999;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.file-upload-hint {
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.file-upload-limits {
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.file-preview-container {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.file-preview-item {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
}

.file-preview-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.file-preview-name {
  font-size: 0.7rem;
  color: #666;
  word-break: break-all;
  line-height: 1.2;
}

.file-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #e53e3e;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.file-remove-btn:hover {
  background: #c53030;
  transform: scale(1.1);
}

.file-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f0f9ff;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1b5a96;
}

.clear-all-btn {
  background: none;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.clear-all-btn:hover {
  color: #c53030;
}

/* Success/Error Messages */
.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Contact Form Mobile Responsive */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form-container {
    padding: 2rem;
  }

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

  .contact-item {
    padding: 0.75rem;
  }

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

  .submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-info,
  .contact-form-container {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .info-title,
  .form-title {
    font-size: 1.5rem;
  }

  .emergency-notice {
    padding: 1.2rem;
  }
}

        /* Success/Error Messages */
        .form-message {
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-weight: 500;
            display: none;
        }

        .form-message.success {
            background: #dcfce7;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .form-message.error {
            background: #fee2e2;
            color: #dc2626;
            border: 1px solid #fecaca;
        }

        /* Mobile Responsive */
        @media (max-width: 1024px) {
            .contact-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            .contact-section {
                padding: 3rem 0;
            }

            .container {
                padding: 0 1rem;
            }

            .contact-title {
                font-size: 2rem;
            }

            .contact-info,
            .contact-form-container {
                padding: 2rem;
            }

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

            .contact-item {
                padding: 0.75rem;
            }

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

            .submit-btn {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .contact-info,
            .contact-form-container {
                padding: 1.5rem;
            }

            .contact-title {
                font-size: 1.8rem;
            }

            .info-title,
            .form-title {
                font-size: 1.5rem;
            }

            .emergency-notice {
                padding: 1.2rem;
            }
        }