/* General Styles */
body {
  background: #f8f9fa;
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  height: 80vh;
  background: url('cleaningimages/herobg.jpg') center center/cover no-repeat;
  position: relative;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(30,30,30,0.65);
  border-radius: 18px;
  padding: 56px 32px 40px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
  text-align: center;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35), 0 1px 0 #222;
}

.hero-content p {
  color: #e0e0e0;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-btn {
  font-size: 1.1rem;
  padding: 0.7rem 2.1rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: rgba(0,123,255,0.85);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0.5rem;
}

.hero-btn.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid #fff;
}

.hero-btn:hover, 
.hero-btn:focus {
  background: #0056b3;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Card Styles */
.card-img-top {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.card {
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

/* Form Styles */
.form-control, 
.btn {
  border-radius: 0.5rem;
}

/* Quote Section */
.blockquote {
  background: rgba(255,255,255,0.7);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* Services Section */
.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  object-fit: cover;
}

/* Client Logo Section */
.client-logo {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Navigation */
.navbar {
  background-color: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  line-height: 0;
  padding: 0;
  margin: 0;
}

.logo {
  max-height: 60px;
  padding: 0;
  margin: 0;
  display: block;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.quote-btn {
  border-radius: 20px;
}

.company-logo {
  max-height: 60px;
}

.nav-link:hover {
  color: #fff !important;
}

/* Image Gallery */
.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}

/* Before-After Section */
.before-after-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.ba-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 Aspect Ratio */
  overflow: hidden;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
}

.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.ba-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #333;
  line-height: 1;
}

.ba-labels {
  margin-top: 8px;
  font-weight: 500;
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.testimonial-text {
  font-style: italic;
  color: #555;
}

/* Contact Section */
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .service-img {
    height: 150px;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  .before-after-img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 32px 20px;
  }
  
  .client-logo {
    max-width: 120px;
  }
}
