/* 1- general css style */
/* #004188 */
/* #C09E0A */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #004188;
}

::-webkit-scrollbar-thumb {
    background: #e0b002;
}

/* rubik-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/rubik-v28-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/rubik-v28-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/rubik-v28-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/rubik-v28-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.line {
    display: block;
    background-color: #e0b002;
    height: 4px;
    width: 200px;
    margin: 20px 0;
    transition: width .5s;
}

.text-justify {
    text-align: justify;
    padding: 5px;
    word-spacing: 0px;
}

.section-title:hover .line {
    width: 150px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

hr {
    color: #fff;
}

h1,
h2,
h3,
h4 {
    text-transform: capitalize;
}

.social-icon {
    border-radius: 50%;
}

.marquee {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    animation: marquee 30s linear infinite;
    color: #eee;
}


.marquee:hover {
    animation-play-state: paused
}

/* Make it move */
@keyframes marquee {
    0% {
        text-indent: 27.5em
    }

    100% {
        text-indent: -105em
    }
}

.button-hover,
.button-hover-1 {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 25px;

    &:after {
        display: block;
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        border-radius: 25px;
        top: 0%;
        left: 50%;
        opacity: .4;
        transform: translate(-50%, -50%) scale(0, 0);
        transition: transform .5s ease 0s;
        z-index: 0;
        color: #fff;
    }

    &:hover {
        &:after {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1, 1);
            transition: transform .5s ease 0s;
        }
    }
}

.button-hover {
    background: #e0b002;

    &:after {
        background-color: #032a53;
    }
}

.button-hover-1 {
    background: #55f70c;

    &:after {
        background-color: #7B66FF;
    }
}

.btn {
    position: relative;
    text-align: center;
    z-index: 1;
    font-size: 19px;
    background: transparent;
    cursor: pointer;
    color: #043161;
    font-weight: 500;

    &:hover {
        color: #fff;
    }
}

.img-effect {
    position: relative;
    padding: 10px 20px;
    background: white;
    font-size: 28px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 1s;

    &:after,
    &:before {
        content: " ";
        width: 10px;
        height: 10px;
        position: absolute;
        border: 0px solid #fff;
        transition: all 1s;
    }

    &:after {
        top: -1px;
        left: 0px;
        border-top: 10px solid #E0B002;
        border-left: 10px solid #E0B002;
    }

    &:before {
        bottom: -1px;
        right: 0px;
        border-bottom: 10px solid #E0B002;
        border-right: 10px solid #E0B002;
    }

    &:hover {
        border-top-right-radius: 0px;
        border-bottom-left-radius: 0px;

        &:before,
        &:after {

            width: 100%;
            height: 100%;
        }
    }
}
/* effect */

.move {
    position: relative;
    opacity: 0;
}

.move.active {
    opacity: 1;
}

.active.fade-bottom {
    animation: fade-bottom 1s ease-in;
}

.active.fade-left {
    animation: fade-left 1s ease-in;
}

.active.fade-right {
    animation: fade-right 1s ease-in;
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-right {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
/* counter */
.counter-item {
    margin-bottom: 30px;
    border: #fff 10px solid;
    margin-top: -100px;

    .counter-number {
        line-height: 48px;
        font-size: 48px;
        font-weight: bold;

    }

    .counter-title {
        color: #e0b002;

        strong {
            display: block;
            font-size: 1.2rem;
        }
    }
}

.counter-item {
    border-radius: 50px;
}

.counter-item:nth-child(1) {
    background-color: #004188;
}

.counter-item:nth-child(2) {
    background-color: #C09E0A;

}

.counter-item:nth-child(3) {
    background-color: #004188;
}

.counter-item:nth-child(4) {
    background-color: #C09E0A;
}

/* header */
header {
    background-color: #004188;
}

@media (max-width:992px) {
    .topbar {
        display: none;
    }
}

/* topbar */
.topbar{
    background-color: #004188;
}
.topbar .container{
    border: 2px solid #e0b002;
}

/* navbar */
.bg {
    background-color: #e0b002;
}
.navbar{
    background-color: #004188;
}
.navbar-collapse ul>li {
    display: inline-block;
    text-align: center;
    color: #fff;
    width: 100px;
}

.navbar-collapse ul>li>a {
    font-size: 15px;
    font-weight: bold;
    color: #043161;
}


.navbar-collapse ul>li>a:hover {
    color: #fff;
}

.border-1 {
    border: 4px solid #ffffff8c;
}

.nav-link {
    border-bottom: 5px solid #fff;
    border-width: 0;
    position: relative;
}

.nav-link::before,
.nav-link::after {
    content: "";
    position: absolute;
    border-color: #004188;
    border-style: solid;
    top: 0;
    left: 0;

}

.nav-link::before {
    border-width: 0 4px;
    width: 100%;
    height: 100%;
    transform: scale3d(1, 0, 1);
    transition: transform 0.2s;

}

.nav-link::after {
    border-width: 4px 0;
    width: 100%;
    height: 100%;
    transform: scale3d(0, 1, 1);
    transform-origin: left;
    transition: transform 0.4s;
}

.nav-link:hover:before {
    transform: scale3d(1, 1, 1);
}

.nav-link:hover::after {
    transform: scale3d(1, 1, 1);
    transition-delay: .2s;
}

.active::after,
.active::before {
    transform: scale3d(1, 1, 1);
}

.nav-icon-1 {
    width: 30px;
    height: 30px;
    position: relative;
    transition: 0.1s;
    margin: 10px 10px;
    cursor: pointer;
    display: inline-block;
}

.nav-icon-1 span {
    width: 5px;
    height: 5px;
    background-color: #fff;
    display: block;
    border-radius: 50%;
    position: absolute;
}

.nav-icon-1 span:nth-child(1) {
    left: 0;
    top: 0;
}

.nav-icon-1 span:nth-child(2) {
    left: 12px;
    top: 0;
}

.nav-icon-1 span:nth-child(3) {
    right: 0;
    top: 0;
}

.nav-icon-1 span:nth-child(4) {
    left: 0;
    top: 12px;
}

.nav-icon-1 span:nth-child(5) {
    position: absolute;
    left: 12px;
    top: 12px;
}

.nav-icon-1 span:nth-child(6) {
    right: 0px;
    top: 12px;
}

.nav-icon-1 span:nth-child(7) {
    left: 0px;
    bottom: 0px;
}

.nav-icon-1 span:nth-child(8) {
    position: absolute;
    left: 12px;
    bottom: 0px;
}

.nav-icon-1 span:nth-child(9) {
    right: 0px;
    bottom: 0px;
}

.nav-icon-1:hover span {
    transform: scale(1.2);
    transition: 350ms cubic-bezier(0.8, 0.5, 0.2, 1.4);
}

.nav-icon-1.open {
    transform: rotate(180deg);
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.8, 0.5, 0.2, 1.4);
}

.nav-icon-1.open span {
    border-radius: 50%;
    transition-delay: 200ms;
    transition: 0.5s cubic-bezier(0.8, 0.5, 0.2, 1.4);
}

.nav-icon-1.open span:nth-child(2) {
    left: 6px;
    top: 6px;
}

.nav-icon-1.open span:nth-child(4) {
    left: 6px;
    top: 18px;
}

.nav-icon-1.open span:nth-child(6) {
    right: 6px;
    top: 6px;
}

.nav-icon-1.open span:nth-child(8) {
    left: 18px;
    bottom: 6px;
}


.tb-effect,
.lt-effect {
    position: relative;
    z-index: 5;
}

.tb-effect::after,
.lt-effect::after {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.tb-effect::after {
    height: 0;
    background-color: #7B66FF;
    transition: height .5s;
}

.tb-effect:hover::after {
    height: 100%;
}

.tb-effect:hover {
    color: #fff;
}

.lt-effect {
    background-color: #7B66FF;
}

.lt-effect::after {
    width: 0;
    background-color: #41b40b;
    transition: width .5s;
}

.lt-effect:hover::after {
    width: 100%;
}


/* .hero */
.hero {
    background-color: #004188;
}

.hero .hero-img {
    padding: 70px 0;
}

.hero-content {
    padding: 160px 0;
}

/* plumbing */
.plum-title {
    color: #004188;
    font-weight: bold;
}

/* maintenance */
.maintenance {
    background-image: url(../images/home/maintenance-bg.webp);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 150px 0;
    z-index: -1;
}

.main-content {
    background-color: #004288bb;
    border-radius: 25px;
}

/* enhance */
.enhance .bd {
    border: #004188 3px dashed;
}

.enhance img {
    border: #C09E0A 5px solid;
    padding: 10px;
}

.enhance-title {
    color: #004288da;
    font-weight: bold;
}

/* offer */
.offer {
    background-color: #e0b002;
}

.offer h2 {
    font-weight: 600;
    color: #032a53;
    font-size: 45px;
}

.offer p {
    font-size: 20px;
    color: #fff;
}

.offer-btn {
    font-size: 25px;
    margin: 0 10px;
    background-color: #004188;
    font-weight: bold;
}

.offer-btn:hover {
    background-color: #147ceb;
}

/* contact-us */
.contact {
    background-color: #e9e9e9;
}

.contact-us span {
    color: #004188;
}

.contact-btn {
    background-color: #004188;
    border-radius: 25px;
}

.contact-btn:hover {
    background-color: #e0b002;
    color: #043161;
}

.line1 {
    display: block;
    margin: 20px auto;
    background-color: #06A3DA;
    height: 5px;
    width: 100px;
}

.map {
    margin-top: 130px;
}

@media (max-width:992px) {
    .map {
        margin-top: 20px;
    }
}

.spam {
    display: none;
}

/* info */
.info {
    background-color: #004188;
}


.info p {
    margin: 30px 0;
}

.info-btn {
    background-color: #004188;
    color: #fff;
    font-size: 12px;
    width: 100px;
    margin: 5px 10px;
    padding: 10px;
}

.info-btn:hover{
    background-color: #1a6cc4;
}

.info-element {
    border-right: 3px solid #fff;
}

@media (max-width:992px) {
    .info {
        text-align: center;
    }

    .line2,
    .line3 {
        margin: 30px auto;
    }
}

@media (max-width:992px) {
    .top-bar {
        display: none;
    }
    .hero-content {
        padding: 50px 0;
    }    
    .offer h2{
        font-size: 20px;
        margin-top: 20px;
    }
    .counter-item{
        margin-top: 50px;
    }
    .info-element {
        border-right: 0;
    }
    .info .address{
        font-size: 12px;
    }
    .info h4{
        font-size: 12px;
        padding-top: 12px;
    }
}
@media (max-width:1400px) {
    .navbar-collapse ul>li{
        width: 70px;
    }
    .topbar p{
        font-size: 11px;
        margin-top: 3px;
    }
    .navbar-collapse ul>li>a{
        font-size: 13px;
    }
    .offer p{
        font-size: 19px;

    }
    
}