.service-header{
  margin-top: 40px;
}


.service-header h1{
    margin: 0;
    color: #fff;
    color: var(--gold-color);
    font-size: 35px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


section.service-intro-bg{
    width: 90%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    background-image: url("/assets/img/about-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  border-radius: 16px;

}

section.service-intro-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
}


section.service-intro-bg .service-intro-layer{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
}

.gallery-case-title {
  margin-bottom: 30px;
}

.gallery-case-title h2{
    margin: 0;
    color: #fff;
    font-size: 30px;
}

.gallery-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin-bottom: 75px;
  flex-wrap: wrap;
}

.gallery-service img {
  width: 23%;
  height: 15rem;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-service img:hover {
  transform: scale(1.05);
}

/* Overlay */
.overlay {
  display: flex;              /* always flex */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}


.overlay img {
    width: 30%;
    /* height: 27rem; */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-top: 7%;
    object-fit: cover;
  }

.overlay.close {
  cursor: pointer;
}


.main-desc{
    width: 75%;
    text-align: center;
    margin-bottom: 50px;

}

.main-desc h5{
    margin: 0;
    color: #f8bd0f;
    font-size: 16px;
}


/* questions */

.question-box{
  margin-bottom: 40px;
  width: 92%;
}

.question-box.question-eng{
  direction: ltr;
}



.question-box h2{ 
  color: #fff;
  margin: 0;
  font-size: 29px;
}

.question-box h2 i{
    font-size: 23px;
    margin-inline-end: 10px;
}

.question-box p{ 
  color: var(--gold-color);
}

.question-box h5{
    color: var(--gold-color);
    font-size: 16px;
}

.question-box h6{
  font-size: 14px;
  color: var(--gold-color);

}

.question-box h6 i{
  margin-inline-end: 10px;
}



.question-box.question-eng h6 i,
.question-box.question-eng h2 i{
  transform: scaleX(-1);
}

@media screen and (max-width: 500px) {
  .gallery-service img {
    width: 48%;
    margin-bottom: 15px;
  }

  .main-desc{
    width: 90%;
  }

  .main-desc h5{
    font-size: 15px;
  }

  .question-box h2{
    font-size: 23px;
  }

  .question-box p{
    font-size: 15px;
  }

  .question-box h5{
    font-size: 15px;
  }
}
