/* 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;
}

/* Hero Carousel Section */
.hero-carousel {
    width: 100%;
    height: 100vh; /* full viewport height */
    position: relative;
    overflow: hidden;
}
.hero-carousel .swiper {
    width: 100%;
    height: 100%; /* force full height */
}
.hero-carousel .swiper-wrapper {
    width: 100%;
    height: 100%; /* force full height */
}
.hero-carousel .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.hero-carousel .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.hero-carousel .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeUp 1s ease forwards;
}
.hero-carousel .hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.hero-carousel .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.5;
}
.hero-carousel .btn-primary {
    background: #f58220;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
.hero-carousel .btn-primary:hover {
    background: #9b3520;
    transform: translateY(-3px);
}
/* Navigation & Pagination */
.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
}
.hero-carousel .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}
.hero-carousel .swiper-pagination-bullet-active {
    background: #f58220;
    opacity: 1;
}
/* Subtle zoom effect on active slide */
.heroSwiper .swiper-slide-active {
    transform: scale(1.05);
}
/* Hero slide animation */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Responsive hero */
@media(max-width: 992px) {
    .hero-carousel .hero-content h1 { font-size: 3rem; }
    .hero-carousel .hero-content p { font-size: 1.1rem; }
}
@media(max-width: 576px) {
    .hero-carousel .hero-content h1 { font-size: 2rem; }
    .hero-carousel .hero-content p { font-size: 1rem; }
}

/* 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;
}

/* 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;
    }
}

/* Client Logos Section */
.client-logos {
  padding: 80px 0;
  background: linear-gradient(135deg, #fdfdfd, #f4f4f4);
  position: relative;
  z-index: 1;
  text-align: center;
}
.client-logos .clients-heading {
  font-size: 42px;
  font-weight: 800;
  color: #231f20;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.client-logos .clients-subheading {
  font-size: 18px;
  color: #777;
  display: block;
  margin-bottom: 60px;
}
/* Swiper slides for logos */
.logosSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.logosSwiper .swiper-slide img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.logosSwiper .swiper-slide img:hover {
  transform: scale(1.1);
}
/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #f58220;
  transition: 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #231f20;
}
/* Swiper pagination */
.swiper-pagination-bullet {
  background: #bbb;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #f58220;
}
/* Responsive: adjust logo size on smaller screens */
@media(max-width: 768px) {
  .logosSwiper .swiper-slide img {
    max-width: 120px;
  }
}

/* Footer icons */
.single-footer-caption a i {
  margin-right: 6px;
  color: #f58220;
  font-size: 18px;
  transition: color 0.3s;
}
.single-footer-caption a i:hover {
  color: #231f20;
}

/* Make map responsive */
.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container iframe {
  width: 100% !important;
  height: 450px;
}

/* Optional: general swiper slide adjustments */
.swiper-slide img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
