* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bitter', serif;
}

a {
    text-decoration: none;
}

 :root {
    --blue: #1866b0;
    --white: #ffffff;
    --orange: #ec2f22;
    --black: #000;
}

body {
    position: relative;
}


/* start header */

header {
    background-image: url(../images/header.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

header ul li .nav-link {
    font-weight: 500;
    font-size: 20px;
}

nav {
    transform: background-color 0.4s eas-in-out;
    background-color: transparent;
    z-index: 99;
}

.scrolled {
    background-color: white;
}

.clip {
    clip-path: polygon(0 0, 61% 0, 35% 100%, 0% 100%);
    background-color: rgba(255, 255, 255, 0.5);
    padding-bottom: 100px;
    width: 100%;
}

.clip-content {
    padding-top: 250px;
}

.clip-content h1 {
    color: var(--orange);
}

.clip-content p {
    color: var(--black);
    font-weight: 400;
    margin-top: 50px;
    font-size: 20px;
}


/* end header */


/* start service */

.service-section {
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-section h2 {
    color: #ec2f22;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.service-section #paragraph {
    width: 60%;
    text-align: center;
    line-height: 1.5rem;
    white-space: 1px;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
    z-index: 9;
}

.cards .card {
    display: flex;
    flex-direction: column;
    justify-content: flex start;
    min-height: 350px;
    width: 380px;
    padding: 0 8%;
    background-color: #BFCDD6;
    position: relative;
    border-radius: 10px;
    margin: 0 10px;
}

.cards .card::before {
    position: absolute;
    content: "";
    background-color: var(--orange);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.3s all;
    transform: rotate(0deg);
    z-index: -1;
}

.cards .card:hover.card::before {
    transform: rotate(10deg);
}

.cards .card i {
    font-size: 1.5rem;
    color: #ec2f22;
    margin-top: 40px;
    margin-bottom: 10px;
}

.cards .card h3 {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.cards .card .content p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

@media (min-width:1101px) {
    .service-section h2 {
        margin-top: 30px;
    }
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-section #paragraph {
        width: 80%;
    }
    .cards .card {
        width: 330px;
        margin: 20px 0;
    }
}

@media (max-width:1100px) {
    .service-section h2 {
        margin-top: 30px;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-section #paragraph {
        width: 80%;
    }
    .cards .card {
        width: 400px;
        height: 400px;
        margin: 20px 0;
    }
}

@media (max-width:900px) {
    .cards .card {
        width: 400px;
        height: 400px;
        margin: 20px 0;
    }
    .cards {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* end service */


/* start gas heater */

.gas-heater {
    margin-top: 50px;
    width: 100%;
    background-image: url(../images/gas-heater.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 40px 40px 20px 40px;
}

.clip-txt {
    padding-top: 20px;
    font-size: 20px;
    text-align: center;
}

.right-side {
    background-color: #ec2f22;
    padding: 20px;
    height: 100%;
    margin-top: 20px;
}

.right-side p {
    font-size: 30px;
}

.right-side .gas-img {
    width: 100%;
}

.right-side .gas-img img {
    width: 50%;
    height: 50%;
    transform: translate(50%, 10%);
}

@media screen and(max-width:1199px) {
    .gas-img {
        margin: auto;
        width: 150px;
    }
    .right-side p {
        text-align: center;
    }
}


/* end gas heater */


/* start tankless heater */

.tanlkless-heater {
    background-color: white;
    margin-top: 0px;
    padding: 25px;
}

.tankless-txt::before,
.tankless-txt::after {
    position: absolute;
    content: "";
    top: -25px;
    left: -20px;
    width: 100px;
    height: 25px;
    background: #ec2f22;
}

.tankless-txt::after {
    top: 100%;
    margin-top: -1px;
    background: #ec2f22;
}

.tankless-txt {
    background-color: #F8F9FA;
    padding: 40px;
    line-height: 2.1rem;
    margin-top: 50px;
    position: relative;
    border-left: 20px solid #ec2f22;
    font-size: 20px;
}

.tankless-img img {
    width: 100%;
    height: 100%;
}


/* end tankless heater */


/*** Service ***/

.service-item-top img {
    transition: .5s;
}

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

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.gallon img {
    position: absolute;
    width: 350px;
    height: 350px;
    right: -170px;
}


/* start efficient */

.efficient-heater {
    background: url(../images/efficient-heater.webp) no-repeat left;
    background-size: 55%;
    background-color: #F8F9FA;
    overflow: hidden;
    padding: 100px 0;
}

.inner-container {
    width: 55%;
    float: right;
    background-color: #F8F9FA;
    padding: 100px;
}

.inner-container h2 {
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 500;
}

.efficient-txt {
    text-align: justify;
    margin-bottom: 40px;
}

@media screen and (max-width:1400px) {
    .inner-container {
        padding: 80px;
    }
}

@media screen and (max-width:1200px) {
    .efficient-heater {
        background-size: 100%;
        padding: 100px 40px;
    }
    .inner-container {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.7);
    }
}

@media screen and (max-width:800px) {
    .efficient-heater {
        background-size: 0%;
    }
    .inner-container {
        padding: 20px;
    }
}


/* end efficient */


/* start contact */

.form-control {
    border: none;
    border: 1px solid #d9d9d9;
    border-radius: 0;
}

.form-control:active,
.form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #000;
}

.col-form-label {
    color: #000;
}

.btn,
.form-control {
    height: 55px;
}

.btn:active,
.btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

label.error {
    font-size: 12px;
    color: red;
}

#message {
    resize: vertical;
}

#form-message-warning,
#form-message-success {
    display: none;
}

#form-message-warning {
    color: #B90B0B;
}

#form-message-success {
    color: #55A44E;
    font-size: 18px;
    font-weight: bold;
}

.submitting {
    float: left;
    width: 100%;
    padding: 10px 0;
    display: none;
    font-weight: bold;
    font-size: 12px;
    color: #000;
}
 .contact a{
    color: #000;
    user-select: none;
 }

/* end contact */
footer a {
    color: black;
  
    
}
footer{
    font-size: 14.2px;
}


/* start media queries */
@media screen and (max-width:1124px) {
   .gallon img {
        display: none;
     
    }
}





@media screen and (max-width:991px) {
    header .clip {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}


/* end media queries */



.spam { display:none;}

