/* Navigation Active Link */
#navigation a.active {
    color: #9b3520; 
    font-weight: bold;
}

/* Project hover effect */
.single-project {
    overflow: hidden;
}
.project-img {
    transition: transform 0.3s ease;
}
.single-project:hover .project-img {
    transform: scale(1.1);
}

/* Modal Body */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
}
.modal-lg {
    max-width: 80%;
}
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
    .modal-body img {
        max-width: 50%;
        height: auto;
        border-radius: 8px;
    }
    .modal-description {
        max-width: 50%;
        padding: 0 1.5rem;
    }
}
.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.modal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
.modal-title {
    color: #000; 
    font-weight: 600;
}

/* Service Preview Hover */
.single-service-cap {
    position: relative;
    transition: transform 0.3s;
}
.single-service-cap:hover {
    transform: scale(1.05);
}

/* Body & HTML */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Carousel */
.carousel-item {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}
.carousel-caption {
    bottom: 20%;
    z-index: 10;
}
.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.carousel-caption p {
    font-size: 1.25rem;
    font-weight: 500;
    background-color: rgba(0,0,0,0.4);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 auto;
}
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}
li {
    margin: 10px 0;
}
a {
    text-decoration: none;
    color: #333;
}
.icon {
    margin-right: 5px;
}

/* Modal Fullscreen Image */
.modal-balanced-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 1050;
    background: transparent;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #007bff;
    color: white;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: none;
    transition: opacity 0.3s ease;
}
#backToTop:hover {
    background-color: #0056b3;
}

/* Clients Section */
.clients-heading {
    color: #231f20;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-size: 70px;
}
.clients-subheading {
    color: #231f20;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    display: block;
    margin-top: 5px;
}
.clients-logo.section-padding30 {
    padding-top: 40px;
    padding-bottom: 30px;
}
.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Product/Service Boxes */
.service-box {
    background: #fff;
    padding: 60px 30px 30px;
    border-radius: 15px;
    border: 1px solid #ddd;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 450px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.15);
}

/* Icon wrapper for overlap */
.icon-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9b3520;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-wrapper img {
    width: 40px;
    height: 40px;
}

/* Heading & Paragraph */
.service-box h4 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-top: 50px;
    margin-bottom: 15px;
}
.service-box p {
    font-size: 16px;
    color: #555;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-box {
        min-height: 400px;
        padding: 50px 20px 20px;
    }
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    .icon-wrapper img {
        width: 35px;
        height: 35px;
    }
}
/* Section Background */
.customer-reviews {
  padding: 100px 0;
  background: linear-gradient(135deg, #fdfdfd, #f4f4f4);
  position: relative;
  z-index: 1;
}

/* Section Title */
.customer-reviews .clients-heading {
  font-size: 42px;
  font-weight: 800;
  color: #231f20;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.customer-reviews .clients-subheading {
  font-size: 18px;
  color: #777;
  display: block;
  margin-bottom: 60px;
}

/* Review Card */
.review-box {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: 16px;
  padding: 35px 40px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}

.review-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 30px rgba(0,0,0,0.12);
}

/* Reviewer Icon + Name */
.reviewer {
  text-align: center;
  min-width: 130px;
  flex-shrink: 0;
}

.reviewer-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #9b3520;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  color: #fff;
  font-size: 36px;
}
.reviewer h4 {
  font-size: 18px;
  font-weight: 700;
  color: #231f20;
  margin: 0;
}

/* Review Text */
.review-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: justify;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.review-text p:before {
  content: "";
  font-size: 40px;
  color: #f58220;
  position: absolute;
  left: -5px;
  top: -10px;
}

/* Swiper controls */
.swiper-button-next,
.swiper-button-prev {
  color: #f58220;
  transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #231f20;
}

.swiper-pagination-bullet {
  background: #bbb;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #f58220;
}

/* Responsive */
@media(max-width: 768px) {
  .review-box {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .review-text {
    margin-top: 15px;
  }

  .review-text p {
    padding-left: 0;
  }

  .review-text p:before {
    display: none;
  }
}
/* Make each review box narrower */
.reviewsSwiper .swiper-slide {
  display: flex;
  justify-content: center; /* center the slide */
}

.review-box {
  max-width: 700px; /* set your desired width */
  width: 100%;
}

/* Optional: add spacing between slides for larger screens */
@media (min-width: 1024px) {
  .reviewsSwiper .swiper-slide {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.single-footer-caption a i {
  margin-right: 6px;
  color: #f58220; /* your theme color */
  font-size: 18px;
  transition: color 0.3s;
}

.single-footer-caption a i:hover {
  color: #231f20; /* dark hover */
}
/* Make map responsive */
.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  width: 100% !important;
  height: 450px;
}
