
@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/********** Template CSS **********/
:root {
    --primary: #A3238E;
    --light: #ebebeb;
    --dark: #252525;
    --font-title: "Epilogue", sans-serif;
    --font-content: "Epilogue", sans-serif;

}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    font-family: var(--font-title);

}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    font-family: var(--font-title);
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    font-family: var(--font-title);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
html,body{overflow-x: hidden;}
body{
    font-family: var(--font-content) !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}
/* .btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555;
    -moz-box-shadow: 0 8px 6px -6px #555;
    box-shadow: 0 8px 6px -6px #555;
} */

.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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar-brand span {
    font-size: 18px;
    font-family: var(--font-title);
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--primary);
}
.navbar .dropdown-item{
    font-family: var(--font-title) !important;
}
.navbar .navbar-nav .nav-link {
    /*margin-right: 30px;*/
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-family: var(--font-title) !important;
}
.navbar .navbar-nav .nav-link:last-child {
    margin-right: 0px;
    padding: 30px 0;    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}
/* .navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active >a{
    color: var(--primary);
} */


.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    z-index:999;
}

@media (max-width: 767.98px) {
    .navbar-brand span {
        font-size: 14px;
        font-family: var(--font-title);
    }
}
@media (max-width: 991.98px) {
    .navbar-brand span {
        font-size: 16px;
        font-family: var(--font-title);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0px!important;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}
@media (max-width: 1199.98px) and (min-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 30px 8px;
        font-size: 14px;
    }
    .navbar-brand span {
        font-size: 16px;
    }
}
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0px;
    transition: box-shadow 0.15s ease-in-out;
    position:relative;
    
}

@media (max-width: 399.98px) {
    .navbar-brand span {
        font-size: 16px;
    }
    .navbar-toggler{
        padding:0px;
        outline:none;
        border-color: transparent;
        position:absolute;
        right:-15px;
        top:15px;
    }
}
@media (max-width: 359.98px) {
    .navbar-brand span {
        font-size: 14px;
    }
}
@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;
    }
}
.mfontsize{
    font-size:14px;
}
@media(min-width:568px){
    .mfontsize{
        font-size:16px;
    }    
}
/* body.aa div.aa>a{
    color: var(--primary) !important;
} */

body.act-home  a.act-home,
body.act-about  a.act-about,
body.act-segments a.act-segments,
body.act-certification a.act-certification,
body.act-contact a.act-contact,
body.act-infrastructure  a.act-infrastructure,
body.act-capabilities a.act-capabilities {
    /* background: var(--primary) !important; */
    font-weight: 600 !important;
    color:var(--primary) !important
}



/*** Header ***/
 .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 2;
}
.header-carousel .owl-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 1;
}

@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 p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-stage-outer{
    height: 500px;
    overflow: hidden !important;
}


@media (min-width: 768px) {
   .header-carousel .owl-stage-outer{
    height: 500px;
    overflow: hidden !important;
}}
@media (max-width: 768px) {
   .header-carousel .owl-stage-outer{
    height: auto;
    overflow: hidden !important;
}

}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .header-carousel .owl-dots {
        position: absolute;
        width: auto;
        height: auto;
        left: 0;
        bottom: 0;
        margin: 10px auto;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 10px;
    }
}
.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item{
    border-radius: 30px !important;
}
.fact-item p{
    /* text-align: justify; */
    text-justify: distribute-all-lines;
    word-spacing: 0;
}
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}
@media (max-width:992px) {
    .fact-item .fact-icon {
        margin-top: 30px;
    }
}

.fact-item:hover .fact-icon {
    background: var(--primary);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}
/* .fact-item .fact-icon img {
    width:auto;
} */

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}
.svg-image-white,
.fact-item:hover .svg-image {
  filter: invert(0.9) sepia(1) hue-rotate(200deg);
}

#fact a i{
    font-size: 40px;
}

/*.fact-icon svg:hover {*/
/*    fill:#FFFFFF !important;*/
/*}*/
/*svg:hover {*/
/*  fill: red;*/
/*}*/

/*** About & Feature ***/
.about-img
 {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img
 {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child
 {
    margin: 20% 0 0 40%;
}

.about-img::before
{
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}
.about-txt p{
    text-align: justify;
}
#mvt p{
    text-align: justify;
    /* text-justify: distribute-all-lines; */
    word-spacing: 0;
}



/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
    color: var(--light);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: var(--primary);
   
}

.service-item .btn {
    /* width: 40px;
    height: 40px; */
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    /* background: #FFFFFF; */
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    max-width: 140px;
}

/*** Our Segments ***/
#segments .service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

#segments .service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

#segments .service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

#segments .service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

#segments .service-item:hover .service-title {
    top: -100%;
}

#segments .service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

#segments .service-item:hover .service-text {
    top: 0;
}

#segments .service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

#segments .service-item:hover .service-text::before {
    top: -55px;
}

#segments .service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

#segments .service-item .btn:hover {
    color: #ffffff;
    background: var(--primary);
}


/*** Certification & Awards ***/

#certification-awards .service-item {
    position: relative;
    transition: .5s;
}

#certification-awards .service-item:hover {
    background: var(--primary);
}

#certification-awards .service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

#certification-awards .service-item:hover .service-icon {
    background: #FFFFFF;
}

#certification-awards .service-item h5,
#certification-awards .service-item p {
    transition: .5s;
}

#certification-awards .service-item:hover h5,
#certification-awards .service-item:hover p {
    color: #FFFFFF;
}

#certification-awards .service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

#certification-awards .service-item:hover a.btn {
    color: var(--primary);
}

#certification-awards .service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

#certification-awards .service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/***** Clients CSS *****/
.clients {
    position: relative;
    padding:0px 0;
}

.clients .section-header p {
    padding-bottom: 10px;
}

.clients img {
    max-width: 100%;
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
}

.clients img:hover {
    opacity: .5;
}

.clients .owl-nav,
.clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.clients .owl-dot.active {
    background-color: var(--primary);
}


/* .clients  .service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.clients  .service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    /* height: 130px; 
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.clients  .service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.clients  .service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.clients  .service-item:hover .service-title {
    top: -100%;
}

.clients  .service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.clients  .service-item:hover .service-text {
    top: 0;
}

.clients  .service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.clients  .service-item:hover .service-text::before {
    top: -55px;
}

.clients  .service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.clients  .service-item .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

 */

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer i {
    opacity: 0.4;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
   color: var(--primary);
}

.footer .copyright a:hover {
     color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* **locations ** */
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}

/*** automotive product ***/
.blog-item {
    transition: .1s;
    border-color: #A3238E !important;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

.blog-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Achievement 2,3 section ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}



/* segments */

.services {
    position: relative;
    padding: 50px 0;
}

.services .section-header p {
    padding-bottom: 10px;
}

/* .services img {
    max-width: 100%;
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
} */

/* .services img:hover {
    opacity: .5;
} */

.services .owl-nav,
.services .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.services .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.services .owl-dot.active {
    background-color: #4F84C4;
}


.services  .service-item {
    position: relative;
    margin: 65px 0 25px 0;
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .07); */
    border: 1px solid #a2238e30;
}

.services  .service-item .service-img {
    position: absolute;
    padding: 25px 12px;
    width: 130px;
    /* height: 130px; */
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .09); */
    border: 1px solid #a2238e30;
    z-index: 2;
}

.services  .service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.services  .service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ebebebc7;
    transition: .5s;
}

.services  .service-item:hover .service-title {
    top: -100%;
}

.services  .service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgb(162 35 142 / 70%);
    
    transition: .5s;
}

.services  .service-item:hover .service-text {
    top: 0;
}

.services  .service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.services  .service-item:hover .service-text::before {
    top: -55px;
}

.services  .service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.services  .service-item .btn:hover {
    color: black;
    background: white;
}






/* read more  */

.toggle-text {
    max-width: 100%;
    margin: 0px auto;
    text-align: left;
  }
  
  .toggle-text-content span {
    display: none;
  }
  
  .toggle-text-link {
    /* display: block; */
    margin: 20px 0;
    text-decoration: underline;
  }

/*** featurs Start ***/
#featurs-parallex { 
    background: url(../img/parallax-img-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    height: 100%; /* 100% of viewport height */
    margin: 0 auto; 
    position: relative; 
}
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 50px;
    height: 50px;
}
.featurs .featurs-item{
    background-color: white !important;
}
/* 
.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--primary);
    
} */
/*** featurs End ***/




/*** customers ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(192, 23, 116, 0.3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}

/***Measurement & Inspectiion ***/
 #measure .meas-img
 {
    position: relative;
    /* height: 100%; */
    min-height: 400px;
}

 #measure .meas-img img
 {
    position: absolute;
    width: 60%;
    height: 80%;
    /* object-fit: cover; */
}

 #measure .meas-img img:last-child
 {
    margin: 20% 0 0 40%;
}

 #measure .meas-img::before
{
    position: absolute;
    content: "";
    width: 60%;
    /* height: 80%; */
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
    min-height: 350px;
}

/*** Capabilities***/
#capabilities .cap-img
 {
    position: relative;
    height: 100%;
    min-height: 400px;
}

#capabilities .cap-img img
 {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

#capabilities .cap-img img:last-child
 {
    margin: 20% 0 0 40%;
}

#capabilities a img:hover{
        opacity: .6;
}
#capabilities .cap-img::before
{
    position: absolute;
    content: "";
    width: 60%;
    height: 65%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
    min-height: 420px;
}


/*** Infrastructure 1 ***/
#infra1 .infra1-img
 {
    position: relative;
    /* height: 100%; */
    min-height: 400px;
}

#infra1 .infra1-img img
 {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

#infra1 .infra1-img img:last-child
 {
    margin: 20% 0 0 40%;
}

#infra1 .infra1-img::before
{
    position: absolute;
    content: "";
    width: 60%;
    /* height: 70%; */
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
    min-height: 320px;
}

/*** Infrastructure 1 ***/
#infra2 .infra2-img
 {
    position: relative;
    height: 100%;
    min-height: 400px;
}

#infra2 .infra2-img img
 {
    position: absolute;
    top:0;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

#infra2 .infra2-img img:last-child
 {
    margin: 20% 0 0 40%;
}

#infra2 .infra2-img::before
{
    position: absolute;
    content: "";
    width: 60%;
    /* height: 80%; */
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
    min-height: 320px;
}


/* owl nav */
 .owl-prev span, .owl-next span {
    color: var(--primary) !important;
    }
    
 .owl-prev span:hover,
    .owl-next span:hover {
    color: #8199A3;
    }
    
 .owl-prev, .owl-next {
    position: absolute;
    bottom: 0px;
    height: 100%;
    }
    
  .owl-prev {
    left: 7px;
    }
    
  .owl-next {
    right: 7px;
    }
    
    /* removing blue outline from buttons */
     button:focus, button:active {
       outline: none;
       background-color: transparent;
    }



/*** Img Border ***/
.img-border {
    position: relative;
    height: 400px;
    min-height: 422px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
}

/* contact */
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

/* contact */
#contact-us .contact-details {
    display:flex;
    align-items:start;
    flex-wrap: nowrap;
    flex-direction: row;
  }
#contact-us .contact-details div.left-marg{
    margin-top: 0;
    margin-left: 1.5rem;
  }
#contact-us .contact-details .contact-details-box {
    display:flex;
    align-items:center;
    flex-shrink :0;
    justify-content:center;
}  
#contact-us .contact-details .contact-icon {
    display:flex;
    align-items:center;
    flex-shrink :0;
    justify-content:center;
    width: 55px; 
    height: 55px;
}  
@media (max-width:767.98px) {
    #contact-us .contact-details {        
        flex-wrap: wrap;
        flex-direction: column;
        margin-left: 0;
    }
    #contact-us .contact-details div.left-marg{
        margin-left: 0rem;
        margin-top: 1.5rem;
      }
}

