/* fixed bg */
/* .fixed-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
} */
/* Nav */
.sub-head {
  color: #3ab052 !important;
}

/* Banner Section */

#bannerswiper.swiper {
  width: 100%;
  /* height: calc(100vh - 111px); */
}

#bannerSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-slide1,
.banner-slide3,
.banner-slide2,
.banner-slide4,
.banner-slide5 {
  height: 600px;
  width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  height: 40px !important;
  width: 40px !important;
  background-color: #3ab052;
  /* border-radius: 50%; */
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: white;
  font-size: 30px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #104602;
}

/* About Section */
.about-section {
  padding: 50px 0 30px;
  background-color: #dfdfdf;
}

.about-img {
  height: 100%;
  width: 100%;
}

.about-img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.about-cont p {
  font-size: 15px;
  margin-bottom: 10px;
}

.about-cont .sub-head {
  font-size: 14px;
  color: #3ab052;
  font-weight: 600;
  font-family: "rubik", sans-serif;
}

.about-cont .title2 span {
  font-weight: 700;
}

.about-cont-list span {
  color: #3ab052;
  font-family: "rubik", sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

.about-cont-list ul {
  list-style-type: square;
}

.about-cont-list ul li {
  font-size: 15px;
}

.construction-art {
  height: 100px;
  width: 100px;
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
}

.construction-art img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* why choose us section */
/* .choose-section {
  padding: 50px 0;
  background-color: #c7c7c7;
}
.choose-cart-left {
  background-color: #4a0000;
  height: 500px;
  padding: 45px 20px 50px;
  color: white;
  margin-right: -15px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  overflow: auto;
}
.choose-cart-left-cont .title3 span {
  color: #3ab052;
  font-family: "rubik", sans-serif;
  display: block;
}
.choose-cart-left-cont .title3 {
  line-height: 30px;
  margin-bottom: 22px;
}
.choose-cart-left-cont .sub-head {
  font-family: "rubik", sans-serif;
}
.choose-cart-left-cont p {
  font-size: 15px;
}

.choose-cart-left a {
  background-color: #92654b;
  padding: 20px 15px;
  text-align: left;
  color: #ffffff;
  font-family: "rubik", sans-serif;
  position: relative;
  margin-right: -17px;
}
.choose-cart-left a::before {
  content: "";
  width: 20px;
  height: 64px;
  background-color: #3ab052;
  position: absolute;
  left: -20px;
  top: 0;
}

.choose-cart-left a:hover {
  background-color: red;
  transition: all 0.6s ease-in-out;
}
.cart-box2 {
  background-color: rgb(58, 176, 82);
  color: white;
}
.cart-box1 {
  background-color: #8c4014;
}
.cart-box1 .img-title {
  color: white;
}
.cart-box4 {
  background-color: #25728a;
}
.cart-box5 {
  background-color: #252525;
  color: #c7c7c7;
}
.cart-box1,
.cart-box2,
.cart-box4,
.cart-box5 {
  height: 250px;
  margin-inline: -12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}
.cart-img {
  height: 65px;
  width: 65px;
  object-fit: contain;
  background-color: rgb(107, 62, 62);
  padding: 5px;
  border-radius: 50%;
}
.img-title {
  font-family: "rubik";
}
.cart-img2 {
  height: 60px;
  width: 60px;
  object-fit: contain;
  background-color: #c7c7c7;
  border-radius: 50%;
  padding: 10px;
}
.cart-img1 {
  height: 60px;
  width: 60px;
  object-fit: contain;
  background-color: #e45252;
  border-radius: 50%;
  padding: 10px;
}
.choose-cart p {
  margin-bottom: 0;
  font-size: 15px;
  color: white;
} */

/* old  upper*/
/* new */
.why-choose-bs {
  background: #f3f3f3;
}

/* HEADER */
.wc-title {
  font-size: 36px;
  color: #4a0000;
  font-weight: 700;

}

.wc-top {
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.527);
  margin-top: 15px;
}

.wc-sub {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 1px;
  text-align: left;
  padding: 10px 15px;
  background-color: #104602;
  margin-bottom: 0;
}

.wc-desc {
  color: #444;
  font-size: 15px;
  text-align: left;
  padding: 10px 15px;

}

/* CARD */
.wc-card {
  background: #ffffff;
  padding: 20px 12px;
  /* border-radius: 14px; */
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: all 0.35s ease;
  height: 270px;
  overflow-y: auto;
}

.wc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: #3ab052;
}

/* ICON */
.wc-icon {
  height: 90px;
  width: 90px;
  background: #d5d5d5b8;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wc-icon img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

/* CARD TITLES */
.wc-card h3 {
  margin-top: 18px;
  font-size: 20px;
  color: #4a0000;
  font-weight: 600;
}

/* CARD TEXT */
.wc-card p {
  margin-top: 8px;
  color: #444;
  font-size: 15px;
}

/* BUTTON */
.wc-btn {
  background: #4a0000;
  color: white;
  padding: 14px 40px;
  border-radius: 6px;
  transition: 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.wc-btn:hover {
  background: #3ab052;
}



/* Project Section */
.project-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.project-section .title2 {
  text-align: center;
  margin-bottom: 20px;
}

.project-section .title2 span {
  color: #3ab052;
  font-weight: 700;
}

#projectSwiper.swiper {
  width: 100%;
  height: 100%;
}

#projectSwiper .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

#projectSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-cart {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 15px 20px 30px;
}


.service-content {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 30px 10px;
  color: white;
  font-family: "rubik", sans-serif;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  font-size: 15px;
}

.services-section {
  padding: 30px 0;
  background: #dddddd;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h1 {
  font-size: 2.8rem;
  color: #000000;
  margin-bottom: 10px;
}

.services-header .sub-header {
  font-size: 1.1rem;
  color: #000000;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.801);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(43, 40, 40, 0.336);
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  box-shadow: 1px 4px 10px black;
}

/* gradient-glow overlay */
.service-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg,
      rgba(255, 0, 128, 0.3),
      rgba(0, 204, 255, 0.3),
      rgba(255, 255, 0, 0.3),
      rgba(255, 0, 128, 0.3));
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-card .icon {
  font-size: 2.5rem;
  color: #08f;
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.service-card .icon img {
  height: 40px;
}

.service-card:hover .icon {
  color: #ffd700;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #000000;
}

.service-card p {
  line-height: 1.5;
  color: #1d1d1d;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 450px;
    margin: 10px auto;
    height: auto;
  }
}

/* Gallery */
.gallery-section {
  padding: 50px 0;
}

.gallery-section .title2 {
  text-align: center;
  margin-bottom: 30px;
}

#gallerySwiper.swiper {
  width: 100%;
  height: 100%;
}

#gallerySwiper .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  padding: 10px;
  border: 1px solid black;
  background-color: #f3f3f3;
}

#gallerySwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cart {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-section .img-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.gallery-bottom {
  width: 100%;
  padding-block: 6px 8px;
  color: #dfdfdf;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.6);
}

.gallery-bottom a {
  color: #3ab052;
}

.gallery-bottom a:hover {
  color: #e45252;
}

/* Banner section */
.banner-section-other-page {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-container-other-page {
  margin-left: 100px;
}
.banner-section-other-page h1 {
  text-shadow: 2px 2px #000;
  color: #fff;
}

@media screen and (max-width: 992px) {

  /* about */
  .construction-art {
    bottom: 5%;
    right: 10%;
  }

  /* choose-us section */
  .choose-cart-left {
    height: 520px;
    margin-right: 0;
  }

  .cart-box1,
  .cart-box2,
  .cart-box4,
  .cart-box5 {
    margin: 0 0 20px;
    width: 100%;
    height: auto;
  }

  /* Service Section */
  .service-icon {
    top: 10px;
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  .construction-art {
    display: none;
  }

  .service-icon {
    top: 0;
  }
}

@media screen and (max-width: 575px) {
  .choose-cart-left {
    margin-bottom: 20px;
  }

  .service-icon {
    display: none;
  }

  .banner-slide1,
  .banner-slide2,
  .banner-slide3,
  .banner-slide4,
  .banner-slide5 {
    height: 250px;
  }

  .about-section {
    padding-block: 30px 20px;
  }
}

.galleryItem img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Blog */
.blog-section {
    padding: 60px 0;
}

/* Card */
.blog-card {
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #cdcfd0;
    border-radius: 15px;
}

.blog-card:hover {
    transform: translateY(-6px);
}

/* Image Box */
.blog-img-box {
    position: relative;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 15px 15px 0 0;
}

@media (max-width: 576px) {
    .blog-img-box img {
        height: auto;
    }
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.1);
}

/* Overlay */
.blog-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-date,
.blog-author {
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Content */
.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.read-more-btn {
    display: inline-block;
    font-size: 14px;
    padding: 8px 14px;
    background: #3ab052;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #104602;
}
