/* #gallery{
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 20px;
}
.gallery-container {
    position: relative;
    max-width: 800px;
    margin: auto;
}
.gallery-image {
    display: none;
    width: 100%;
    border-radius: 8px;
}
.active {
    display: block;
}
.caption {
    margin-top: 10px;
    font-size: 1.2em;
}
.controls {
    margin-top: 15px;
}
.controls button {
    padding: 8px 16px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1em;
}

*/

#gallery {
    font-family: Arial, sans-serif;
    background: #8BBC8F;
    color: #fff;
    margin: 0;
    padding: 80px 0;
}
#gallery h2 {
    text-align: center;
}
#gallery .thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
#gallery .thumbs img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border: 4px solid #fff;
    border-radius: 5px;
    transition: transform 0.3s;
}
#gallery .thumbs img:hover {
    transform: scale(1.05);
}

/* Modal styling */
#gallery .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#gallery .modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}
#gallery .caption {
    margin-top: 10px;
    font-size: 1.2em;
    color: #fff;
}
#gallery .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}
#gallery .nav-btn:hover {
    color: #ccc;
}
#gallery .prev { left: 20px; }
#gallery .next { right: 20px; }
#gallery .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    #gallery .thumbs img {
        width: 90%;
        height: auto;
        object-fit: cover;
        cursor: pointer;
        border: 4px solid #18B0D4;
        border-radius: 5px;
        transition: transform 0.3s;
    }
}

/***** Banner ****/

.hero-wrap {
  background-image: url('../images/cacbelvederebanner.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  min-height: 200px; /* Adjust as needed */
  z-index: 0;
}

.hero-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2); /* Optional dark overlay */
  z-index: 1;
}

.hero-wrap .container,
.hero-wrap .text {
  position: relative;
  z-index: 2;
}

/* Mobile: Use contain and adjust position */
@media (max-width: 768px) {
  .hero-wrap {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 70vh; /* reduce height to avoid too much blank space */
  }
  .slider-text {
    min-height: 250px;
  }
  .img-3{
    min-height: 600px;
    }
}


.block-23 ul li .icon{
    color:#000 !important;
}

.block-23 ul li span {
    color:#000;
}

.testimony-section .overlay {

  background: #18B0D4;
  opacity: .5;
}

