/********** Template CSS **********/
:root {
    --primary: #081f66;
    --light: #F8F8F8;
    --dark: #000c22;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.display-5{
    font-size: xx-large;
}

/*** 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;
    background-color: #091c3f;
    border-color: #091c3f;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    background-color: #091c3fe7;
    border-color: #091c3fe7;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    border-color: #777777;
    color: #e77b00;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: #e77b00;
    border-color: #e77b00;
}


/*** Navbar ***/


.navbar .dropdown-toggle::after {
    border: none;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .nav-item-Contact {
    margin-right: 30px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #091c3fe7;
    color: #EEEEEE;
}

.navbar .nav-item-Contact :hover {
    margin-right: 30px;
    font-weight: 500;
    text-transform: uppercase;
    color: #FFFFFF;
}

.navbar .nav-link-Contact {
    margin-right: 30px;
    padding: 30px 0;
    color: #FFFFFF;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar .nav-link-Contact:hover {
    margin-right: 30px;
    padding: 30px 0;
    color: #e77b00;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #e77b00;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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 ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 700px;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    object-fit: cover;
}

@media (max-width: 200x) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.img-fluid-Main{
    height: 630px;
}

.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;
}

.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/output\ \(8\).jpg) center center no-repeat;
    background-size: cover;
}

.page-header-ManPower {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/ManPower.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Refined {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/refined-products1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Cement {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Cement1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Supplies{
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/General\ Supllies.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Mining {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Mining.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Marine {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Marine3.png) center center no-repeat;
    background-size: cover;
}

.page-header-Offshore {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/offshore-maintenance-write-gapesco-e65a18.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-OnlineLeak {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Online\ leak\ sealing.png) center center no-repeat;
    background-size: cover;
}

.page-header-Composite {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Composite3.png) center center no-repeat;
    background-size: cover;
}

.page-header-Flange-Management {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Flange\ Managment.png) center center no-repeat;
    background-size: cover;
}

.page-header-Flange-Facing {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Flange\ Management.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-PipeMaintenance {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/write-gapesco-oil-and-gas-industry-pipe-maint_vJpluOk.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Heavy-Equipment {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/IMG-20190109-WA0009.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Hot-Tapping {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Hot\ Tapping.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-Cold-Cutting {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/pipe-cold-cutting-on-site.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.display-1 {
    font-size: 80px;
    color: var(--primary);
    border-color: var(--primary);
}


.display-2 {
    width: 25%;
}

.display-2.logos:hover{
    width: 25%;
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/


.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;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: #081f66;
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}



/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid #081f66;
    z-index: -1;
}



/*** Service ***/

.row .col-lg-4{
    margin-bottom: 30px;
    align-items: center;
    height: 380px;
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text .mb-4{
    height: 55px;
    margin-top: 15px;
    margin-bottom: 15px;
    align-items: center;
    width: auto;
}

.service-item .service-text .mb-4-Composite-Wrapping{
    height: 55px;
    margin-top: 15px;
    margin-bottom: 20px;
    align-items: center;
    width: auto;
}

.service-item .service-text .mb-4-Online-Leak{
    height: 80px;
    margin-bottom: 10px;
    align-items: center;
    width: auto;
}

.service-item .service-text .mb-4-ManPower{
    height: 80px;
    align-items: center;
    width: auto;
    margin-bottom: 20px;
    margin-top: -10px;
}

.service-item .service-text .mb-4-Lifting{
    height: 80px;
    align-items: center;
    width: auto;
    margin-bottom: 20px;
    margin-top: -10px;
}


.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    margin-top: 40px;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}





/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: #081f66;
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: #081f66;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: #081f66;
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: #081f66;
}

/* Slider logo */

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 90px;
    margin: 0 40px;
  }
  

/*** Footer ***/

.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/download\ \(2\).png) center center no-repeat;
    background-size: cover;
}


.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: #e77b00;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #e77b00;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #c4c4c4;
}

.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: #e77b00;
}

#clients {
    padding: 60px 0;
    
}
#clients .clients-wrap {
    border-top: 1px solid #d6eaff;
    border-left: 1px solid #d6eaff;
    margin-bottom: 30px;
}

#clients .client-logo {
    padding: 64px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: 1px solid #d6eaff;
    border-bottom: 1px solid #d6eaff;
    overflow: hidden;
    background: #fff;
    height: 200px;
}

#clients img {
    height: 100px;
    transition: all 0.4s ease-in-out;
}
 
