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

body {
    background-color: #fc72021c;
}

/* 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;
    height: 4px;
    width: 100px;
    margin: 20px;
    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%;
}

.social-icon:hover {
    background-color: #ffffff7d;
}

.marquee {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    animation: marquee 30s linear infinite;
    color: #eee;
}
.brand{
    background-color: #fff;
}
.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: #fc7302;

    &:after {
        background-color: #1a5ad1;
    }
}

.button-hover-1 {
    background: #1a5ad1;

    &:after {
        background-color: #fc7302;
    }
}

.btn {
    position: relative;
    text-align: center;
    z-index: 1;
    color: #fff;
    background: transparent;
    cursor: pointer;
    padding: 30px 40px;
    &:hover {
        color: #fff;
    }
}

/* navbar */
.navbar {
    background-color: #1a5ad1;
}

.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: #fff;
    transition: all .3s;
    &:hover{
        letter-spacing: 2px;
    }
}


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

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

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

.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: #5FBDFF;
    transition: width .5s;
}

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

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

.move.active {
    opacity: 1;
}

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

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

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

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

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

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

@keyframes fade-bottom {
    0% {
        transform: translateY(100px);
        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;
    }
}

/* home */
.hero {
    background-image: url(../images/home/water-heater-bakcground.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 300px 0;

}

.hero h1 {
    color: #fff;
    font-weight: 620;
}

.hero h1 span {
    color: #1a5ad1;
    text-shadow: #fff -3px -2px 2px;
    font-weight: bold;
    font-size: 45px;
}

.hero p {
    font-size: 18px;
}

.touch-btn {
    background-color: #1a5ad1;
    font-size: 20px;
    border-radius: 50px;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
}

.bubble {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.1;
    animation: floating 60s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 20s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 20s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 15s;
    animation-delay: 1s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(7) {
    width: 25px;
    height: 25px;
    left: 75%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 80px;
    height: 80px;
    left: 80%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 13s;
    animation-delay: 0s;
}

.bubble:nth-child(10) {
    width: 50px;
    height: 50px;
    left: 85%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.bubble:nth-child(11) {
    width: 15px;
    height: 15px;
    left: 82%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bubble:nth-child(12) {
    width: 15px;
    height: 15px;
    left: 90%;
    animation-duration: 13s;
    animation-delay: 0s;
}

.bubble:nth-child(13) {
    width: 15px;
    height: 15px;
    left: 30%;
    animation-duration: 13s;
    animation-delay: 0s;
}

.bubble:nth-child(14) {
    width: 15px;
    height: 15px;
    left: 84%;
    animation-duration: 13s;
    animation-delay: 0s;
}

@keyframes floating {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }

    50% {
        transform: translateX(100px);
    }

    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

/* hot-water */
.water-img {
    border: #1a5ad1 2px dashed;
}

.title h3 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #fc720265;
    top: 10px;

}

.title h2 {
    font-size: 2rem;
    font-weight: bold;
}


/* issues */
.issues {
    background-image: url(../images/home/water-heater-issues.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.issues-content {
    clip-path: polygon(0 0, 64% 0, 41% 100%, 0 100%);
    background-color: #1a5ad1d3;
    padding: 150px 30px;
    color: #fff;
}

/* repair */
.repair .row {
    border: #1a5ad1 2px dashed;
}
/* contact */

.contact h2 {
    color: #fff;
    padding: 20px;
}

.contact-title {
    font-size: 40px;
    background-color: #1a5ad1;
    padding: 10px;
}

.contact-btn {
    background-color: #fc7302;
    color: #fff;
}

.contact img{
    border-radius: 25px;
}
.contact-btn:hover {
    background-color: #143D8D;
    color: #fff;
}

@media (max-width:992px) {
    .contact {
        margin-top: 0;
        width: 100%;
    }

    .contact-title {
        width: 200px;
    }
}

 form.CUS input.subject { display: none; }
/* info */
.info{
    background-color: #1a5ad1;
}
.service-btn{
    width: 130px;
    font-size: 15px;
    background-color: #fc7302;
    
}
.about-content{
    padding-bottom: 20px;
}
@media (max-width:1316px) {
    
    .navbar-collapse ul>li{
        width: 80px;
    }
    .navbar-collapse ul>li>a{
        font-size: 12px;
    }
    .title h3{
        display: none;
    }
    .hot-water p{
        font-size: 12px;
    }
    .repair p{
        font-size: 15px;
    }
    .service-btn{
        width: 100px;
        font-size: 12px;
    }
    .about p{
        font-size: 12px;    
    }
    .about .about-content{
        padding-bottom: 20px;
    }
    .about h2{
        text-align: center;
    }
}
@media (max-width:1400px) {
    .nav-btn{
        display: none;
    }

}
@media(max-width:992px){
    .info .about, .info .service{
        text-align: center;
    }
    .issues-content {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        background-color: #1a5ad1d3;
        padding: 150px 30px;
        color: #fff;
    }
    .contact-title{
        font-size: 20px;
    }
    .hot-water p{
        width: 100%;
    }
    .info .d-flex h2{
        font-size: 12px;
        padding-top: 10px;
    }
}
@media (max-width:992px) {
    .hero , .issues{
        background-attachment: scroll;
        background-position: 35% 20%;
    }
}
