/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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 ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #E3010F;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
}

.navbar-light.sticky-top {
    top: 0px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #E3010F;
    border-color: #E3010F;
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: #E3010F;
    border-color: #E3010F;
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../images/breadcrumb/bredcrumb.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
    color: #FFF;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: #FFF;
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgb(0 0 0 / 70%), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #E3010F;
    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: #E3010F;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #FFF;
}

.about-list i {
    color: #0072CE;
    font-size: 14px;
}


.pro-main{
    height: 325px;
    width: 100%;
}

.pro-img{
    height: 100%;
    object-fit: cover;
}
.navbar .dropdown {
    position: relative;
}

/* Products dropdown scroll support */
.navbar .dropdown-menu {
    /* max-height: 320px; */
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    box-sizing: border-box;
}


/* Smooth scrolling (optional) */
.navbar .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #E3010F;
    border-radius: 10px;
}

.navbar .dropdown-menu::-webkit-scrollbar-track {
    background: #f5f5f5;
}

@media (max-width: 991px) {
    .navbar .dropdown-menu {
        /* max-height: 260px; */
        overflow-y: auto;
    }
    
}

.add-class{
    color: #FFFFFF;
    text-decoration: none;
}

.num-class a, i{
    color: #FFFFFF;
    text-decoration: none;
}

.mail-class a, i{
    color: #FFFFFF;
    text-decoration: none;
}

.num-class a:hover{
    color: #E3010F;
    letter-spacing: 1px;
    box-shadow: none;
}

.mail-class a:hover{
    color: #E3010F;
    letter-spacing: 1px;
    box-shadow: none;
}

.main-logo{
    max-width: 240px;
}

.foot-logo{
    width: 250px;
}

.tech-add{
    color: #FFF !important;
}
.tech-add1{
    color: #FFF;
}
.tech-add1 i{
    color: #FFF !important;
}
.tech-no i{
    color: #FFF !important;
}
.tech-no a{
    color: #FFF !important;
}
.tech-mail i{
    color: #ffffff !important;
}
.tech-mail a{
    color: #FFF !important;
}


@media (max-width: 1439px) and (min-width: 1024px){
    .main-logo{
        max-width: 152px !important;
    }

    .map-class iframe{
        width: 238px !important;
        height: 228px !important;
    }

    .foot-logo{
    width: 180px;
    }

}
@media (max-width: 2560px) and (min-width: 992px){
    .contact-class{
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 992px){
    .main-logo{
        max-width: 121px !important;
    }

    .map-class iframe{
        width: 220px !important;
        height: 228px !important;
    }

    .foot-logo{
    width: 180px;
    }

}

@media (max-width: 768px) and (min-width: 320px) {
    .map-class{
        max-width: 537px !important;
    }
}

@media (max-width: 576px) and (min-width: 320px){
    .map-class iframe{
        width: 287px !important;
        height: 276px !important;
    }
}

@media (max-width: 383px) and (min-width: 320px){
    .main-logo{
        max-width: 175px !important;
    }
}




.whatsapp {
    padding: 0px;
    z-index: 9999;
    position: fixed;
    bottom: 23px;
    left: 20px;
}

.call {
    padding: 0px;
    z-index: 9999;
    position: fixed;
    bottom: 100px;
    left: 20px;
}


@media (min-width: 1024px) {
    .mobile-nav {
        display: none;
    }
}
@media only screen and (max-width : 1000px) {

	  

	  .whatsapp {

        display:none;

      }

	  

	  .call {

        display:none;

      }

	   }


		 

	  @media screen and (max-width: 1000px) {
  .mobile-nav {
    background: #004F9E ;
    z-index: 9999;
    position: fixed;
    right: 0;
    top: 68.5%;
    transform: translateY(-50%);
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    border-radius: 10px 0 0 10px;
  }
}

	  

	  .bloc-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

	  

	  .bloc-icon img {

        width: 30px;

      }

@media (min-width: 1000px) and (max-width: 1023px) {
    .mobile-nav {
        display: none !important;
    }
}

.service-item .overflow-hidden {
    height: 378px;          /* adjust height as needed */
}

.service-item .overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* fills container without distortion */
}
@media (max-width: 768px) {
    .service-item .overflow-hidden {
        height: 311px;
    }
}

.why-us p, h5{
    color: #FFF;
}

.four-feature h5{
    color: #353535;
}
.four-feature h1{
    color: #4d4848 !important;
}
.top-bar small{
    color: #FFF;
}
.product-class h4{
    margin-bottom: -0.5rem;
}

.footer p{
    color: #FFF;
}
.portfolio-container p{
    color: #E3010F !important;
}
.contact p{
    color: #FFF;
}
.services-2 {
    padding-bottom: 60px;
    padding-top: 45px;
}
.services-2 .service-item {
    background-color: #FFF;
    padding: 30px;
    border: 1px solid #004F9E;
    transition: 0.3s;
}
.services-2 .service-item .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}
.services-2 .service-item .description {
    line-height: 24px;
    font-size: 14px;
    margin: 0;
}
.services-2 .service-item .icon {
    font-size: 100px;
    line-height: 0;
    margin-right: 30px;
    color: #2683B8;
}
.map-class-cont iframe{
    height: 400px;
}



/* ===== DESKTOP MEGA MENU ONLY ===== */
@media (min-width: 992px) {

    .navbar {
        position: relative;
    }

    .mega-dropdown {
        position: static;
    }

    .mega-menu {
        position: absolute;
        top: 100%;
        left: -160px;
        right: 0;
        width: 100%;
        padding: 30px 0;
        border-radius: 0;
        display: block;
        overflow: hidden;
    }

    .mega-menu .container {
        max-width: 1140px; /* align with navbar content */
    }

    .mega-menu .row {
        display: flex;
    }

    .mega-menu .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .mega-menu .dropdown-item {
        padding: 6px 5px 5px 6px;
        font-size: 15px;
        white-space: normal;
    }
}

/* ===== MOBILE SAFE ===== */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static;
        width: auto;
        padding: 0;
    }
}
.dropdown-menu {
    min-width: 43rem;
}
.sticky-top {
    position: sticky;
    top: 0px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* .sticky-top.scrolled {
    transform: translateY(100px);
} */
@media(min-width:320px) and (max-width:610px){
    .header-carousel .owl-carousel-item{
        min-height: 260px !important;
    }
}
@media(min-width:320px) and (max-width:425px){
    .dropdown-menu{
        min-width: 20rem !important;
    }
}