:root {
  --theme-color: #3d1a5c;
  --theme-transparent-color: #6d17b86a;
}

.our-services-main-container {
  background: url("../images/speech_service_bg.jpg") no-repeat center/cover;
  background-blend-mode: overlay;
}

.service-container-opacity {
  background-color: rgba(0, 0, 0, 0.466);
}
.services-logo-image {
  max-width: 2rem;
  height: auto;
  display: inline;
  margin-right: 5px;
}

.et_pb_blurb_content {
  display: flex;
}

.services-blocks {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  width: 80%;
  margin: auto;
}
.et_pb_blurb_content {
  padding: 1rem;
  background-color: #1f1f1ff3;
}

/* gallery section starts here  */

.gallery-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
.gallery-container img {
  max-height: 700px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
}

/* testimonial section starts here  */

.testimoniaal-container {
  background: url("../images/testi-bg-image.jpg") no-repeat top;
}

.swiper {
  width: 70%;
  height: auto;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
  background-color: #3a1a56ce;
  text-wrap: wrap;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-wraper {
  color: #fff;
  opacity: 0; /* Start hidden */
  transition: opacity 1s ease-in-out; /* Fade duration */
  position: absolute;
  text-align: center;
  padding-bottom: 1rem;
  padding-right: 2rem;
  text-wrap: wrap;
}
.swiper-slide-active .text-wraper {
  opacity: 1; /* Fade in active text */
  opacity: 1;
}

/* controller  */
.prev-butt {
  position: absolute;
  top: 40%;
  left: 15px;
  z-index: 9000;
}
.next-butt {
  position: absolute;
  top: 40%;
  z-index: 9999;
  right: 15px;
}

/* blog section starts here  */

.blog-section-container {
  padding: 2rem 8rem;
}

/* team section styling starts here  */
/* OUR TEAM SECTION STYLING STARTS HERE  */

.team-member-box {
  text-align: center;
  border: 5px solid transparent;
  transition: border-color 0.3s;
}
.team-member-box:hover .team-member-image {
  border-color: #633989; /* Change to desired hover color */
}
.team-member-image {
  margin-bottom: 10px;
  width: 60%;
  height: auto;
  border-radius: 50%; /* Changed to make the image circular */
  border: 8px solid #fff;
  transition: border ease 0.7s;
}


.about-section{
  /* border: 2px solid red; */
  max-width: 100%;
}



/* form section styling starts here  */

.contact-us-section {
  background-image: url("../images/slider01.jpg");
  /* background-size: contain; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  padding: 80px 0;
  position: relative;
}

.contact-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.contact-us-section .container {
  position: relative;
  z-index: 1;
}

.contact-form {
  background-color: var(--theme-transparent-color);
  padding: 40px;
  border-radius: 10px;
}

.contact-form .form-control {
  border: none;
  border-bottom: 1px solid #ced4da;
  border-radius: 10;
  padding-left: 0;
  margin-bottom: 20px;
  outline: none;
}

@media screen and (max-width: 992px) {
  .services-blocks {
    grid-template-columns: 1fr;
    width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .mySwiper {
    width: 100%;
  }

  .swiper-wrapper {
    /* border: 2px solid red; */
    margin: 0;
  }
  .text-wraper {
    padding: 0 1rem;
  }
  .swiper-slide {
    padding: 2rem 0;
  }
}

@media screen and (max-width: 576px) {
  .gallery-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  .contact-us-section {
    padding: 40px 0;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form .form-control {
    margin-bottom: 15px;
  }
}
