/********** Template CSS **********/
:root {
    --primary: #9C9C9C;
    --secondary: #9E2F05;
    --light: #F7F8FC;
    --dark: #F5F5F5;
}

  .customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    padding: 20px;
    background: #f5f5f5;
  }
  .logo {
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
  }
  /* Adjustments for responsiveness */
  @media (max-width: 600px) {
    .customer-grid {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .logo {
      height: 80px;
    }
  }
  
  

.floating-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #9E2F05;
    color: white; /* Text color */
    padding: 10px 20px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center the text inside the button */
    font-size: 16px; /* Text size */
    text-decoration: none; /* No underline */
}



.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.webp) center center repeat;
    background-size: contain;
}



/*** Button ***/

.web-text{
    color: #F5F5F5;
}


.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-color {
    color: #FFFFFF;
    background: #9E2F05;
}

.section-color {
    background: #333333;
}

.section-color-light {
    background: #4d4d4d;
}

.btn:hover{
    color: #FFFFFF;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
    background: #68482C;
    color: #F5F5F5;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #F5F5F5;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #68482C;
        color: #F5F5F5;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    top:20px;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

.carousel-item {
    position: relative; /* Ensures that the absolute positioning of the image is relative to the carousel item */
}



/* Hide mobile images on larger screens */
.desktop-img {
    display: block; /* Show desktop images by default */
}

.mobile-img {
    display: none; /* Hide mobile images by default */
}

/* Media query for devices with a max width of 767 pixels */
@media (max-width: 767px) {
    .desktop-img {
        display: none; /* Hide desktop images on small devices */
    }

    .mobile-img {
        display: block; /* Show mobile images on small devices */
        width: 400px; /* Optional: Set width to 400px */
        height: 400px; /* Optional: Set height to 400px */
        object-fit: cover; /* Cover the area without stretching the image */
    }
}



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* CSS placed within your existing stylesheet */
@media (max-width: 767px) {
    .carousel-item img {
        width: 400px; /* Set width to 400px */
        height: 400px; /* Set height to 400px */
        object-fit: cover; /* This will cover the area without stretching the image */
    }
}


.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/banner1.webp) top right no-repeat;
    background-size: cover;
}


.page-headerrr {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/servicesback.webp) top right no-repeat;
    background-size: cover;
}

.page-header1 {
    padding-top: 12rem; /* Adjusted based on your design */
    padding-bottom: 6rem; /* Adjusted based on your design */
    position: relative; /* Keeps child elements positioned absolutely within */
    height: 500px; /* The desired height */
    overflow: hidden; /* Ensures no content spills out */
}

.header-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the available space */
    z-index: -1; /* This sends the image to the back, behind other content */
}


.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}



.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #F5F5F5;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #F5F5F5;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #F5F5F5;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}