html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
    height: 100%;
}

/*body {
    height: 100%;
 
}*/

.main-content {
    flex: 1;
}
body {
    height: 100%;
    overflow-y: auto;

    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}
.service-areas {
    text-align: center;
    /*    color: #ffffff;*/
    text-shadow: 2px 2px 4px rgba(0, 0, 1, 0.8);
    /* background: rgba(0, 0, 0, 0.3);*/
    /*  background: rgba(255, 255, 255, 0.7);*/
    /*  background-color: rgba(0, 0, 0, 0.5);*/
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}
.footer {
    flex-shrink: 0;
}


    body.page-about {
        background-image: url('../img/HMPOWERBackground1.jpg');

    }

    body.page-contact {
        background-image: url('../img/HMPOWERBackground-contact.jpg');
    }

    body.page-industrial {
        background-image: url('../img/HMPOWERBackground-inddust.jpg');
    }

body.page-commercial {
    background-image: url('../img/HMPOWERBackground-com.jpg');
}

body.page-residential {
    background-image: url('../img/HMPOWERBackground-res.jpg');
}


.services-content {
    display: grid;
    grid-gap: 20px;
 
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .services-content {
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  }
}

@media screen and (min-width: 1025px) {
  .services-content {
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}

@media screen and (min-width: 1025px) and (max-width: 1439px) {
  .services-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1440px) {
  .services-content {
    grid-template-columns: repeat(4, 1fr);
  }
}




.page-container {
       padding: 0;
}


.container_content {
    background-color: #f5f5f5;
    padding: 20px;
    margin-bottom:20px;
}

.container_title {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 1, 0.8);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0,0,0,0.5); /* set the background color and transparency of your caption */
    color: #fff; /* set the font color of your caption */
    font-size: 18px; /* set the font size of your caption */
    font-weight: bold; /* set the font weight of your caption */
    text-align: center; /* center the text of your caption */
}

.top-row{
    background-color:#ddd;
}
.my-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
 /*   align-items: center; */
}


   
    .my-list li {
        padding: 10px;
        display: flex;
        align-items: center;
        font-size: 16px;
        color: #555;
     }


        .my-list li i {
            font-size: 20px;
            margin-right: 10px;
            color: #333;
        }


        .my-list li:hover {
            background-color: #f0f0f0;
        }

        .follow-us{
    
            padding-bottom:30px;
        }

.follow-us ul li a i.fa-facebook {
    color: #3b5998; /* Facebook brand color */
}

.follow-us ul li a i.fa-twitter {
    color: #1da1f2; /* Twitter brand color */
}

.follow-us ul li a i.fa-instagram {
    color: #c13584; /* Instagram brand color */
}

.follow-us ul li a i.fa-linkedin {
    color: #0077b5; /* LinkedIn brand color */
}

.follow-us i {
    font-size: 30px !important;
}




a.undecorated {
    color: inherit !important;
    text-decoration: none;
}

.lnumber {
    padding: 10px;
}

nav a:hover {
    background-color:whitesmoke;
   
}
.nav-row {
     border-bottom: 1px solid #ddd;
}

.nav-menu {
    /*border-bottom: 2px solid;*/
    border-bottom: 2px solid #ff0000;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
 /*   flex-wrap: wrap;*/
 /*   justify-content: flex-end;*/ /* Align items to the right */
}




    .nav-list li {
        padding: 10px;
        display: flex;
        align-items: center;
        font-size: 16px;
        color: #555;
    }


        .nav-list li i {
            font-size: 20px;
            margin-right: 10px;
            color: #333;
        }


        .nav-list li:hover {
            background-color: #f0f0f0;
        }

    .logo {
        width: 200px;
        height: auto;
    }

    .carousel-item img {
        height: 650px;
        object-fit: cover;
    }


    .index-services {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 20px;
        margin-top: 15px;
        box-shadow: 0px 0px 5px #ddd;
    }

    .services-list-content {
        padding: 8px;
    }


.text-left {
    text-align: left;
}


.text-section {
    background: linear-gradient(to bottom, #f6f6f6, #dcdcdc); /* Adjust gradient colors as needed */
    padding: 20px;
    border-radius: 10px;
}


    .service-list {
        text-align: left;
        list-style-type: circle;
    }

    services-list-content
    .service-list li {
    }


    .img-size {
        width: 100%;
        /* height: 300px;*/
        object-fit: cover;
        transition: transform 0.3s ease;
    }



    /* styles for image container */
    .img-container {
        position: relative;
        overflow: hidden;
        padding: 10px;
    }

    /* styles for overlay */
    .overlay {
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    /* styles for hover effect */
    .img-container:hover .img-size {
        transform: scale(1.1);
    }

    .img-container:hover .overlay {
        transform: translateY(0);
    }

    form {
        margin: 50px auto;
        max-width: 600px;
        padding: 20px;
        border: 1px solid #ddd;
        background-color: #f5f5f5;
        border-radius: 10px;
        padding: 2rem;
        box-shadow: 0px 0px 5px #ddd;
    }

        form input,
        form textarea {
            margin-bottom: 20px;
        }

        form button[type="submit"] {
            margin-top: 10px;
        }



    label {
        font-weight: bold;
        color: #666;
    }

    .btn-primary:hover {
        background-color: #007bff;
        border-color: #007bff;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }



    .navbar-nav .nav-item .nav-link {
        padding-left: 50px;
        padding-right: 50px;
    }


    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .map-container {
        position: relative;
        height: 0;
        overflow: hidden;
        padding-bottom: 56.25%;
        margin-top: 50px; /* Add margin-top value here */
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0px 0px 5px #ddd;
    }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }



    .work-hours {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 20px;
        margin-top: 15px;
        box-shadow: 0px 0px 5px #ddd;
    }

        .work-hours h3 {
            font-size: 24px;
            margin-top: 0;
            margin-bottom: 10px;
        }

        .work-hours ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .work-hours li {
            margin-bottom: 5px;
        }

    .address {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.5;
    }

    .content-text {
        max-width: 80%;
    }

    .picture-frame {
        position: relative;
        overflow: hidden;
        padding: 10px;
    }

        .picture-frame img {
            display: block;
            margin: 0 auto;
            max-width: 100%;
        }

.picture-frame-com {
    position: relative;
    display: inline-block;
 /*   justify-content: center;*/
}

.image-container {
    display: flex;
    justify-content: center;
}

.picture-frame-com img {
    display: block;
    max-width: 100%;
    height: auto;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 50%; /* Position the overlay text at the center */
    transform: translateX(-50%); /* Adjust the position horizontally */
    width: 70%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .overlay-text p,
    .overlay-text a {
        margin-bottom: 10px;
    }




/* Responsive Styles */
@media (max-width: 768px) {
    .picture-frame-com {
        display: block;
    }

    .overlay-text {
        position: static;
        transform: none;
        width: 100%;
    }
}

.box {
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f8;
}



    .srvices-container {
        max-width: 800px;
        margin: 0 auto;
    }

        .srvices-container ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .srvices-container li {
            margin: 10px 0;
            padding-left: 20px;
            position: relative;
        }

            .srvices-container li:before {
                content: "";
                display: block;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background-color: #007bff;
                position: absolute;
                left: 0;
                top: 6px;
            }

            .srvices-container li ul {
                margin-top: 10px;
                margin-bottom: 10px;
            }

                .srvices-container li ul li:before {
                    top: 5px;
                    left: -10px;
                    width: 4px;
                    height: 4px;
                    background-color: #555;
                }

    .services-content {
        /* max-width: 800px;*/
        margin: 0 auto;
    }

    .flex-sm-wrap {
        flex-wrap: wrap;
    }

    .container.service-img {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .services-content h2 {
        text-align: center;
        padding: 40px 0;
    }

    .service {
        margin-bottom: 30px;
        padding: 20px;
        border-radius: 10px;
        background-color: #f5f5f5;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

        .service:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }

        .service h3 {
            font-size: 24px;
            margin-bottom: 10px;
            color: #555;
        }

        .service p {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 0;
            color: #777;
        }

    .centered-text {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .round-btn {
        padding: 10px 30px;
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
        border: none;
        border-radius: 30px;
        background-color: #f5f5f5;
        /*  color: #fff;*/
        /*    cursor: pointer;
    transition: all 0.3s ease;*/
    }

        .round-btn:hover {
            background-color: #ddd;
        }


.industrial-image-container {
    justify-content: space-between;
    max-width: 100%; /* Ensure the container doesn't exceed the width of the viewport */
    margin: 20px auto 0; /* Center the container and add 20px margin from the top */
}

.industrial-responsive-image {
    flex: 0 0 100%;  Set a flex basis of 30% to create three equal columns 
    max-width: 30%;  Adjust the percentage based on your design 
    height: auto; /* Maintain the aspect ratio */
    border: 2px solid #ccc; /* Add a 2px solid border with a light gray color */
    border-radius: 8px; /* Add a border-radius for a rounded frame */
    overflow: hidden; /* Hide any content that may extend beyond the frame */
}

@media screen and (max-width: 767px) {
    .industrial-image-container {
        flex-direction: column; /* Stack items in a column on small screens */
    }

    .industrial-responsive-image {
        flex: 0 0 100%; /* Take full width on small screens */
        max-width: 100%; /* Adjust the percentage based on your design */
    }
}

.industrial-image-service {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}





