html {
    scroll-behavior: smooth;
  }

  body {
    background: #F5F5F5;
    color: #333;
    font-family: 'Open Sans', sans-serif;
  }

  .logo {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.5rem;
  }

  .navbar {
    background: #fff;
  }

  .section {
    padding: 60px 15px;
  }

  .btn-primary {
    background: #4CAF50;
    border: none;
  }

  .btn-primary:hover {
    background: #45A049;
  }

  footer {
    background: #333;
    color: #fff;
    padding: 20px;
  }

  /* .placeholder-img {
    width: 100%;
    height: 200px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.2rem;
  } */

  .header {
    background: url("../images/commercial-building-landscape.jpg") no-repeat center center;
    background-size: cover;
    background-position: center 95%;
  }

  .hero-section {
    position: relative;
    background: url('../images/commercial-building-landscape.jpg') no-repeat center 95%;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
  }

  .hero-text h1,
  .hero-text p {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }

  #services {
    width: auto;
  }

  .img-fluid {
    max-width: 100%;
    height: auto;
  }

  /* Hide video by default on small screens */
.desktop-video {
display: none;
width: 100%;
height: auto;
}

/* Show image on small screens */
.mobile-img {
display: block;
width: 100%;
height: auto;
}

.media-wrapper {
aspect-ratio: 16/9; 
background: #000;
}

.media-wrapper video,
.media-wrapper img {
object-fit: cover;
width: 100%;
height: 100%;
}


/* On screens 720px and up, show video and hide image */
@media (min-width: 720px) {
.desktop-video {
  display: block;
}
.mobile-img {
  display: none;
}
}

.card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img-top {
  object-fit: cover;
  height: 200px;
  transition: transform 0.3s ease;
}
.card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9; /* Consistent 16:9 image ratio across all cards */
  overflow: hidden;
  background: #000; /* fallback bg color */
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-quote span {
  font-size: 3rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: #555;
}

.footer {
  background: #1d2833;
  color: #ccc;
}

.footer h5, .footer h6 {
  color: #fff;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
}

.footer-link:hover {
  color: #4CAF50;
  text-decoration: underline;
}

.footer input[type="email"] {
  border-radius: 0.375rem 0 0 0.375rem;
}

.footer button {
  border-radius: 0 0.375rem 0.375rem 0;
}
