/* Base styles */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
}

/* Top Email Bar */
.email-bar {
  background-color: #007bff;
  color: white;
  padding: 8px 0;
  font-size: 0.95rem;
}

.email-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Navbar */
.navbar-brand {
  font-weight: 700;
}

.navbar .btn-primary {
  border-radius: 50px;
  font-size: 0.9rem;
  padding: 8px 20px;
}

/* ==================== */
/* OPTIMIZED HERO SECTION */
/* ==================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 45, 57, 0.7);
  z-index: 1;
}
.overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(71, 112, 162, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px;
}

.hero-caption {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta .btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  min-width: 160px;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 60px 0;
  }
  
  .hero-caption {
    padding: 15px;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .video-container iframe {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    left: 0;
    transform: translateY(-50%);
  }
}

@supports (-webkit-touch-callout: none) {
  .video-container iframe {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    left: 0;
  }
}

/* About Section */
.about-section {
  background-color: #fff;
  padding: 60px 0;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
}

.about-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0056d2;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
  background-color: #0056d2;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 40px;
  margin-top: 25px;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background-color: #0041a3;
}

.blue {
  color: #0041a3;
}

/* Services */
.service-card img {
  object-fit: contain;
  
}

.service-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 576px) {
  .service-card img {
    height: 120px;
  }
}

/* Testimonials */
.testimonial-section {
  position: relative;
  background: url('../image/wiper.jpeg') no-repeat center center / cover;
  color: white;
  height: 130vh;
  padding: 80px 0;
}

.bg-dark-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.testimonial-section .container {
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: white;
  color: #333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 15px;
}

.testimonial-card h5 {
  font-weight: 600;
  margin-top: 15px;
}

@media (max-width: 767px) {
  .testimonial-card {
    margin-bottom: 30px;
  }
}

/* Locations */
.location-card {
  transition: all 0.3s ease-in-out;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Estimate Form */
.estimate-section {
  background-color: #f1f1f1;
}

.estimate-section textarea {
  resize: none;
}

.estimate-section input,
.estimate-section textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}

.estimate-section button {
  background-color: #007BFF;
  color: #fff;
  font-weight: 500;
  padding: 10px 30px;
}

.estimate-section button:hover {
  background-color: #0056b3;
}

/* Contact Form */
#contact input.form-control,
#contact textarea.form-control {
  background-color: #d9d9d9;
  border: none;
  border-bottom: 3px solid #207dff;
  border-radius: 0;
  padding: 12px 20px;
  font-size: 16px;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: #0056d2;
}

#contact button {
  transition: background-color 0.3s ease;
}

#contact button:hover {
  background-color: #0056d2;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 5px;
}

.review-btn {
  background-color: #207dff;
  color: #fff;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.review-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* ==================== */
/* RESPONSIVE FIXES */
/* ==================== */
@media (max-width: 1199.98px) {
  .testimonial-section {
    height: auto;
    padding-bottom: 60px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 15px;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    align-items: flex-start !important;
  }
  
  .nav-item {
    margin-bottom: 8px;
  }
  
  .about-section .row {
    flex-direction: column-reverse;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .testimonial-text {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .email-bar {
    font-size: 0.8rem;
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .about-title {
    font-size: 1.7rem;
  }
  
  .about-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .service-box {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .testimonial-card {
    padding: 20px 15px;
  }
  
  #contact .btn {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom p {
    margin-bottom: 10px;
  }
}

/* ==================== */
/* GENERAL FIXES */
/* ==================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container, .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
}

img {
  max-width: 100%;
  height: auto;
  
}

.position-absolute {
  right: 0;
  left: 0;
}

/* Mobile Menu Fix */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
  .location-card {
    margin-bottom: 15px;
  }
  
  #benefits .col-md-4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem auto;
    max-width: 95%;
  }
  
  .modal-content {
    padding: 15px;
  }
}

@media screen and (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================== */
/* HERO SECTION VIDEO FIXES */
/* ==================== */
.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-width: 177.78vh; /* 16:9 based on height */
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* iPad Mini and small tablet fixes */
@media (max-width: 1024px) and (min-width: 768px) and (max-height: 1024px) {
  .video-container iframe {
    width: 177.78vh; /* Width based on viewport height */
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
  }
}

/* Portrait orientation fix */
@media (max-width: 1024px) and (max-height: 768px) {
  .video-container iframe {
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
  }
}

/* Extra fix for iPad Mini in landscape */
@media (width: 1024px) and (height: 768px) {
  .hero-section {
    min-height: 768px;
  }
  .video-container iframe {
    width: 177.78vh;
    height: 100vh;
  }
}

/* Extra fix for iPad Mini in portrait */
@media (width: 768px) and (height: 1024px) {
  .hero-section {
    min-height: 1024px;
  }
  .video-container iframe {
    width: 100vw;
    height: 56.25vw;
  }
}

/* Testimonial Intro Text */
.testimonial-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  .testimonial-intro {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 768px) {
  .testimonial-intro {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media (min-width: 992px) {
  .testimonial-intro {
    padding-left: 180px;
    padding-right: 180px;
  }
}

@media (min-width: 1200px) {
  .testimonial-intro {
    padding-left: 240px;
    padding-right: 240px;
  }
}
.pricing-section {
  background: url('/image/clean-2.jpeg') center center / cover no-repeat;
  position: relative;
  z-index: 1;
}

.pricing-section .overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 84, 106, 0.7); /* Dark blue overlay for readability */
  z-index: 2;
}

.pricing-section .container {
  position: relative;
  z-index: 3;
}

.pricing-section h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-section p.lead {
  max-width: 750px;
  margin: 0 auto 2rem auto;
  font-size: 1.125rem;
  color: #f1f1f1;
}

.pricing-section .btn {
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}

.pricing-section .btn:hover {
  background-color: #ffffff;
  color: #08212f;
}

