@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

body {
    box-sizing: border-box;
    font-family: "Josefin Sans", sans-serif
}

.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:active,
.navbar-toggler:focus {
    border: 0;
    box-shadow: none;
    outline: 0;
}
 
.btn {
    position: relative;
    display: inline-block; 
    padding: 12px 27px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
    background: #810000;
    border: 3px solid #810000;
    cursor: pointer;
    transition: ease-out 0.5s;
    -webkit-transition: ease-out 0.5s;
    -moz-transition: ease-out 0.5s;
}

.btn.btn-border-5::after,
.btn.btn-border-5::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    transition: .5s;
}

.btn.btn-border-5::after {
    top: 0;
    left: 0;
    border-top: 3px solid transparent;
}

.btn.btn-border-5::before {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid transparent;
}

.btn.btn-border-5:hover {
    color: #ffffff;
}

.formBtn.btn-border-5:hover {
    color: #810000;
}

.btn.btn-border-5:hover::after,
.btn.btn-border-5:hover::before {
    width: 100%;
    height: 100%;
    border-color: #810000;
}



.sec-heading h2 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.sec-heading p {
    font-size: 1rem;
    font-weight: 400;
}

.about-content h3 {
    font-size: 32px; 
    font-weight: 700;
}

.about-content small {
    font-style: 14px;
    margin-bottom: 1rem;
    display: block;
}

.about-content p {
    color: #000000a6;
}

.navbar .nav-item .nav-link {
    padding-left: 32px;
}

.navbar .nav-item .active {
    color: #810000;
}

.navbar .nav-item .nav-link:hover {
    color: #810000;
}

.hero .carousel .carousel-item {
    height: 100vh;
    position: relative;
}

.hero .carousel .carousel-item img {
    object-fit: cover;
}

.hero .carousel .carousel-item .carousel-caption { 
    bottom: inherit;
    left: 15%;
    top: 38%; 
}

.hero .carousel .carousel-item .carousel-caption h1 {
    font-size: 82px;
    color: #ffffff;  
    margin-bottom: 30px;
}
 

.hero .carousel .carousel-item::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    content: '';
     
}

.hero .carousel-item img {
    height: 100%;
}



/* Image Comparison */
.our-work {
    position: relative; 
    padding: 70px 0 120px 0; 
}

.our-work .carousel-wrapper { 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the entire carousel */
    align-items: center;
    width: 100%;
    min-height: 100%; /* Adjust the height for your design */
 
  }
  
  .our-work  .carousel-container { 
    width: 100%;
    overflow: hidden; /* Hide overflowing slides */
  }
  
  .our-work .carousel-slide {
    display: flex; /* Align slides in a row */
    
    transition: transform 0.5s ease; /* Add transition for sliding */
  }
  
  .our-work .image-compare {
    min-width: 100%;  
    max-height: 100%;   
    width: 100%; 
    object-fit: cover;  
  }

 
 
  
  .our-work  .carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    list-style: none;
    padding: 0;
  }
  
  .our-work  .carousel-indicators li {
    text-indent: 0;
    margin: 5px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #ffffff;
    color: #810000;
    line-height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    transition: background-color 0.25s ease;
  }
  
  .our-work .carousel-indicators li.active {
    background-color: #990d30;
    color: #fff;
  }
  
  .our-work  .carousel-indicators li:hover {
    background-color: #990d30;
    color: #fff;
  }
  

/* Image comparison */

.contact-detail {
    padding: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.contact-detail ul {
    padding: 0;
}

.contact-detail ul li {
    color: #fff;
    margin-bottom: 30px;
    list-style: none;
    display: flex;
    gap: 10px;
}

.contact-detail ul li .icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    font-size: 1rem;
    justify-content: center;
    color: #810000;
    border-radius: 100%;
}

.contact-detail .Soical-links {
    margin-top: 20px;
}

.contact-detail .Soical-links a {
    margin-right: 20px;
    font-size: 3.5rem;
}

.contact-detail .Soical-links a:hover {
    color: #810000;
    transition: color .15s ease-in-out;
}

.contact-form .form-control {
    border: none;
    border-bottom: 1px solid #810000;
    border-radius: 0;
    padding: 10px 0;
}

.contact-form .form-control:focus {
    box-shadow: none;
}

.contact-form .form-control::placeholder {
    font-size: 14px;
    color: #a0a0a0a6;
}

.contact-form .form-btn {
    background-color: #810000;
    color: #fff;
    border: 1px solid #810000;
    padding: 10px 20px;
    border-radius: 30px;
}

.contact-detail ul li h4 { 
    font-size: 24px;
    font-weight: 500;
}

.contact-detail ul li a {
    color: #fff;
    text-decoration: none;
}

footer .copyright-text p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0;
}
 
footer .copyright-text p a {
    color: #ea0000;
    text-decoration: none;
}




@media only screen and (max-width: 992px) {
    .navbar .nav-item .nav-link {
        padding-left: 0;
    }

    .hero .carousel .carousel-item .carousel-caption h1 {
        font-size: 50px;  
    }
}

@media only screen and (max-width: 600px) {

    .hero .carousel .carousel-item .carousel-caption h1 {
        font-size: 32px; 
    }
}