
/* Global Styles */
body{
  margin: 0;
}
/* Hero Banner */
.hero {
  background: url('Our service images/BG_Construction & Demolition.webp') center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  background-blend-mode: overlay;
 border-radius: 20.28px;
background: rgba(163, 31, 20, 0.74);
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}
.hero p {
  font-size: 1rem;
  margin-top: 10px;
  
}

/* Description */
.description {
  padding: 30px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  font-size: 1rem;
}
.description p {
  line-height: 1.6;
  color: #333;
   text-align: justify;
}


/* Gallery Grid */
.gallery-section {
  padding: 30px 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 20px;
}
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
/* Continue for more images */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-item img {
  width: 100%;
  height: 300px; /* Or 250px or whatever fits your layout */
  object-fit: cover; /* Crops to fill box evenly */
  border-radius: 5px;
  display: block;
   transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* .gallery-item:hover img {
  transform: scale(1.05);
} */
.caption {
  padding: 10px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.8);
  color: #003366;
}
/* Hide checkbox */
.modal-toggle {
  display: none;
}

/* Modal base */
.modal-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1000;
}

/* Show modal when checkbox is checked */
.modal-toggle:checked + .modal-box {
  display: block;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  z-index: 1000;
}

/* Modal Content */
.modal-content-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 700px;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  animation: zoomIn 0.5s forwards;
  z-index: 1001;
  text-align: center;
}

.modal-content-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.modal-caption {
  color: #333;
  font-weight: bold;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

/* Zoom animation */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .banner h2 {
font-size: 4rem;
}
}
.hero-content{
  background-color: #333;
  width:100vw;
}
.services-hero {
    background-image: url('Our service images/BG_Construction & Demolition.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner {
    border-radius: 20.28px;
background: rgba(163, 31, 20, 0.74);
    width: 100%;
    padding: 25px 0;
    text-align: center;
}

.banner h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
}
@media (max-width: 480px) {
.banner h2 {
font-size: 1.8rem;
}
}
