  .gallery {
 padding: 15px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  text-align:center;
}

.gallery p {
  margin-bottom: 30px;
  color: #555;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 calc(25% - 20px); /* 4 in a row */
  max-width: calc(25% - 20px);
}
@media (min-width: 1700px) {
  .gallery-item img {
    height: 50vh !important; /* increase height for large screens */
  }
}
.gallery-item img {
  width: 100%;
    height: 300px;
    
    /*height: 50vh;*/
    object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 992px) {
  .gallery-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media screen and (max-width: 600px) {
  .gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.gallery-item.extra {
    display: none;
  }

  .gallery-buttons {
    text-align: center;
    margin-top: 20px;
  }

  .gallery-controls button {
  padding: 10px 25px;
  font-size: 16px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-banner {
 background: url(images/gallery-banner.jpg) no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    height: 450px;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 48px;
  /*margin-bottom: 10px;*/
  font-weight: bold;
}
@media (max-width:768px) {
.logo h1 {
    font-size: 18px !important;
    margin: 0;line-height: 24px;
}
.logo img {
    height: 10vh!important;
    margin-right: 10px;padding:3px;margin-left: 10px;
}
    .mobile-toggle {
        display: block;
        margin: 15px;
    }
	    .main-nav.active {
        display: block;padding-top:5px;
        margin-top: 5px;
    }
	    .carousel-text h1 {
        font-size: 15px!important;
    }
	  .carousel {
      height: 35vh!important;
    }
	  .carousel-controls {
    position: absolute;
    width: 100%;
    top: 90%!important;
    transform: translateY(-50%)!important;
    display: flex;
    justify-content: space-between;
    padding: 0 10px!important;
  }
  .carousel-controls span{
    padding: 0!important;
	}
	.carousel-text {
		width: 75%!important;
    position: absolute;
    top: 80%!important;
    left: 50%!important;
    transform: translate(-50%, -50%)!important;
    z-index: 2;
    text-align: center;
    color: white;
    border-radius: 15px;
    max-width: 100%!important;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.5s;
}
    .about-text h2 {
        font-size: 1.6rem;line-height: 1.8rem;
        text-align: left;
    }
	.services h2 {
    text-align: center;
    margin-bottom: 6px;line-height: 2rem;
    font-size: 1.6rem!important;
    color: #003366;
}
.gallery h2 {
    font-size: 2rem!important;line-height: 2.4rem;
    margin-bottom: 30px;
    text-align: center;
}
.service-card {
    flex: 1;
    background: #f1f1f1;
    padding: 30px 15px!important;
}
.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
    flex-direction: column;
}
.contact-form textarea {
    width: 100%!important;
    height: 150px!important;
}
.contact-form {
    background-color: #ffffff;
    padding: 5px!important;
}
    .about-content {
        flex-direction: column;
        text-align: left!important;
    }
	.service-card p {
    text-align: left!important;
}
}