html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: 'Mukta', sans-serif;
}

main, footer {
    background-color: #81d4fa;
}

.box {
    color: black;
    text-align: justify;
    margin-left: 20px;
    margin-right: 20px;
    padding: 30px;
}

.pink {
    color: #db666d;
}

.blue {
    color: #083d78;
}

.slider {
    overflow: hidden;
}

.slide img {
    width: 85%;
    height: auto;
    float: left;
}

.slider figure {
    position: relative;
}

    .slider figure div {
        float: left;
    }

.box1, .box2 {
    background-color: #039be5;
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px;
    color: white;
}

    .box1 .col-md-6 h4 {
        text-align: justify;
        padding-top: 50px;
    }

.box3 {
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px;
    color: white;
}

.footer {
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    color: black;
}

    .footer .container {
        display: flex;
        justify-content: space-between;
    }

        .footer .container a {
            text-decoration: none;
            color: #083d78;
        }

            .footer .container a:hover {
                text-decoration: none;
                color: #db666d;
            }

@media screen and (max-width:768px) {
    .footer .container {
        display: block;
    }
}

.footer .row, .footer .row a {
    color: black;
}

.col-md-9 a {
    color: white;
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 10px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

#about .container {
    text-align: justify;
}

#about .col-md-3 {
    color: white;
    background-color: #0B3C74;
    padding-top: 8%;
}

#about .col-md-9 {
    color: white;
    background-color: #039be5;
    padding-top: 5%;
    padding-bottom: 5%;
}

#about .col-md-5 {
    padding-top: 5rem;
}

#about h3, #testimonials h3 {
    text-align: center;
    color: #083d78;
}

#about img {
    width: 100%;
    height: auto;
}

#about .box5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width:768px) {
    #about .box5 {
        display: block;
    }
}

#about .motto {
    width: 500px;
    border: 0.3rem solid white;
    background-color: #039be5;
    text-align: center;
    color: #b71c1c;
    margin-bottom: 2rem;
}

#testimonials {
    text-align: justify;
}

    #testimonials .container {
        padding: 50px;
        text-align: center;
    }

    #testimonials .testimonial {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20rem;
        margin-left: 5rem;
        margin-right: 5rem;
    }

@media screen and (max-width:768px) {
    #testimonials .testimonial {
        border: 1px solid #81d4fa;
        display: block;
    }
}

.testimonial .content {
    padding: 2rem;
}

#contact h3 {
    text-align: center;
    color: #083d78;
}

#contact .container {
    text-align: center;
}

.text1, .container form {
    color: black;
}

.text2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width:768px) {
    .text2 {
        display: block;
    }
}

.text2 .box4 {
    margin: 10rem;
    padding: 3rem;
    background-color: #083d78;
    color: white;
}

.form1 label {
    text-align: center;
}

.form1 input, .form1 textarea {
    border: none;
    border-bottom: 1px solid black;
}

input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 5px;
}

    input[type=submit]:hover {
        background-color: #45a049;
    }

input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    background-color: #81d4fa;
}

#home .card-body {
    color: white;
    text-align: justify;
    background-color: #083d78;
    border-radius: 15px;
}

#home .card {
    height: 270px;
    border-radius: 15px;
}

.modal-content {
    color: black;
}

    .modal-content a {
        color: #083d78;
        text-decoration: none;
    }

        .modal-content a:hover, .quicklinks a:hover,
        .col-md-9 a:hover {
            color: #db666d;
            text-decoration: none;
        }

#electrical .row, #plumbing .row,
#hvac .row, #solar .row {
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 5px;
    text-align: justify;
}

#electrical h3, #plumbing h3,
#hvac h3, #solar h3 {
    text-align: center;
    color: #083d78;
}

#hvac img, #electrical img, #solar img, #plumbing img {
    width: 60%;
    border: 2px solid black;
    margin-left: 15%;
}

.quicklinks a {
    color: white;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

    #myBtn:hover {
        background-color: #555;
    }

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }
}

/*old slide show effect*/

.slideshow-container {
    position: relative;
    margin-top: 5rem;
    margin-bottom: 2rem;
    background-color: #039be5;
}

.mySlides {
    padding: 3rem;
}

.mySlides q {
    font-size: 3rem;
}

.mySlides p {
    font-size: 2rem;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: black;
}
