* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

:root {
    --primary-font: 'Poppins', sans-serif;
    --primary-color: #842B38;
    --secondary-color: #4F4C4C;
    --gray-bg-color: #F5F5F5;

}

html,
body {
    font-family: var(--primary-font);
    background-color: var(--gray-bg-color);

    .fa {
        overflow: hidden;
    }
}


header {
    nav {
        background-color: var(--gray-bg-color);
    }

    /* .nav-item {
        padding: 1rem;
        @media (max-width:800px) {
            padding: 0;
        }
        @media (max-width:768px) {
            padding: 0;
        }
    } */


    a {
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 0.15em;
        display: inline-block;
        padding: 0px;
        position: relative;
    }

    .nav-item.active {
        a {
            color: var(--primary-color);
            font-weight: 600;
            border-bottom: var(--primary-color) solid;
        }
    }

    .nav-item:hover {
        a {
            color: var(--primary-color);
            font-weight: 600;
            /* border-bottom: var(--primary-color) solid; */
        }
    }

    a:after {
        background: none repeat scroll 0 0 transparent;
        bottom: 0;
        content: "";
        display: block;
        height: 2px;
        left: 50%;
        position: absolute;
        color: var(--primary-color);
        background: var(--primary-color);
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
        width: 0;
    }

    a:hover:after {
        width: 100%;
        left: 0;

    }
}

.section {
    padding: 3rem 0rem;
    align-content: center;

    .pre-title {
        padding: 0 0 1rem 0;
        color: var(--secondary-color);


        display: block;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .title {
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: 800;
        padding-bottom: 2rem;
        line-height: 1.5;
    }

    .text {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        max-width: 800px;

        color: var(--secondary-color);
        padding-bottom: 1rem;

    }

    .intro-img {
        align-content: center;
    }
}

.featured {
    position: relative;
    display: inline-flex;
    padding: 5px 15px;
    color: var(--primary-color);
}

.featured:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-color: var(--primary-color);
    opacity: 0.15;
}

.btn-wrapper {
    margin-top: 0rem;
    margin-bottom: 0rem;
    text-align: center;
    display: block;
    padding: 2rem;
    color: white;

    .btn {
        padding: 0.857rem 2.571rem;
        font-size: 1.143rem;
        border-radius: 2.143rem;
        font-weight: 600;
        box-shadow: 0 0.5rem 1rem rgb(16, 16, 16);
        outline: 2px solid var(--primary-color);
        outline-offset: 0px;
        border: none;
        cursor: pointer;
        background: var(--primary-color);
        transition: all .3s ease-in-out;
        color: var(--white-color);

        &:hover {
            outline-offset: .2rem;
        }

    }
}


.hero-section {
    /* margin-top: 10%; */
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

/* .hero-video {
    position: absolute;

    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;

} */



.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the entire section */
    transform: translate(-50%, -50%);
    /* Centers the video */
}


.home-section {
    background-color: white;

    .intro-col {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

.services-section {

    text-align: center;

    .text {
        max-width: unset;
    }

    .item {
        margin-bottom: 30px;

        .card {
            position: relative;
            z-index: 1;
            width: 100%;
            padding: 45px;
            border-radius: 10px;
            border: none;
            /* box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.1); */
            transition: transform 0.3s, box-shadow 0.3s;

            .fa {
                color: var(--primary-color);
                line-height: 24px;
                font-size: 24px;
                cursor: pointer;
            }


            h4 {

                margin: 1.5rem 0;
                font-size: 1.5rem;
                font-weight: 700;
                line-height: 1.2;
            }

            a {
                font-size: 1rem;
                font-weight: 400;
                line-height: 1.5;
                color: var(--secondary-color);
                text-decoration: none;

                .fa {
                    color: var(--primary-color);
                    position: absolute;
                    top: 43px;
                    right: 45px;
                    width: 24px;
                    height: 24px;
                    line-height: 24px;
                    font-size: 24px;
                    text-align: center;
                    cursor: pointer;
                    /* opacity: 0.5; */
                }
            }
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 10px 15px 30px 5px rgba(0, 0, 0, 0.2);
        }
    }

    .items .item:nth-child(even) {
        .card {
            background-color: var(--primary-color);
            color: white;

            .fa {
                color: white;
            }

            a {
                color: white;

                .fa {
                    color: white;
                }
            }
        }
    }

}

.top-banner {
    margin-top: 10%;

    @media only screen and (min-width: 320px) and (max-width: 768px) {
        /* Styles specific to screens between 320px and 768px */
        margin-top: 6rem;

    }


    .breadcrumb-banner {
        margin: 1rem;
        padding: 1.5rem 0 0 0;
        position: relative;
        display: flex;
        justify-content: center;
        text-align: center;

        h2 {
            color: var(--primary-color);
            font-size: 2em;
            font-weight: 900;
            padding: 1rem;
        }

    }

    .breadcrumb-banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;



        opacity: 0.15;
        background: url("assets/raw/about-us-2.jpg") repeat;
        background-color: rgba(132, 43, 63, 0.15);
        background-blend-mode: overlay;
        /* Add this line */
        /* Add this */
    }



    .breadcrumb {
        display: flex;
        justify-content: center;

    }

    .breadcrumb-item {
        font-size: 1rem;
        font-weight: 600;
        padding-left: 0.5rem;


        a {
            text-decoration: none;
            color: var(--secondary-color);
        }
    }

    li.breadcrumb-item.active {
        color: var(--primary-color);
    }
}

.values-banner {
    background-color: white;

    .values-into {
        text-align: center;

        .text {
            max-width: unset;
        }
    }

    .value-main-content {

        .mission-row,
        .vision-row,
        .values-row {
            padding: 1rem;
        }

        .mission-col,
        .vision-col,
        .values-col {
            color: var(--primary-color);
            position: relative;
            padding: 20px;
            /* margin-left: 1rem; */

            display: flex;
            text-align: center;
            align-items: center;
            justify-content: center;
            align-content: center;
            justify-items: center;
            flex-direction: column;

            h4 {
                font-size: 1.5rem;
                font-weight: 600;
                text-transform: uppercase;
                margin-top: 1rem;
            }

            .fa {
                font-size: xx-large;
                overflow: hidden;
            }
        }

        .mission-col:before,
        .vision-col:before,
        .values-col:before {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--primary-color);
            opacity: 0.15;
            /* Change the RGBA values to your desired color and opacity */
            border-radius: 4px;
        }

        .mission-content,
        .vision-content,
        .values-content {
            color: var(--secondary-color);
            position: relative;
            padding: 2rem;

            h4 {
                margin: 1rem 0;
                padding: 2rem;
                text-align: center;
            }

        }

        .mission-content:before,
        .vision-content:before,
        .values-content:before {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--secondary-color);
            opacity: 0.15;
            /* Change the RGBA values to your desired color and opacity */
            border-radius: 4px;
        }

    }

}

.why-banner {
    /* text-align: center; */


    .text {
        max-width: unset;
    }

    .items {
        margin-top: 1rem;
        padding-top: 2rem;
    }

    .item {

        margin-bottom: 30px;

        .card {
            position: relative;
            z-index: 1;
            width: 100%;
            padding: 20px;
            border-radius: 10px;
            border: none;
            /* box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.1); */
            transition: transform 0.3s, box-shadow 0.3s;

            h4 {
                margin: 1.5rem 0;
                font-size: 1.5rem;
                font-weight: 700;
                line-height: 1.2;
            }

            .fa {
                color: var(--primary-color);
                line-height: 24px;
                font-size: 24px;
                cursor: pointer;
            }
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 10px 15px 30px 5px rgba(0, 0, 0, 0.2);
        }
    }

    .items .item:nth-child(even) {
        .card {
            background-color: var(--primary-color);
            color: white;

            .fa {
                color: white;
            }
        }
    }
}

.contact-section {
    .contact-info {
        p {
            margin: 1.5rem 0;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
        }

        ul {
            list-style: none;
            padding-left: 0;
        }

        li {

            padding: 0.5rem 0;
            font-size: 1.4rem;
            font-weight: 400;
            color: var(--primary-color);
            display: flex;
            /* align-content: space-evenly; */
            align-items: center;


            i {
                margin-right: 10px;
                width: 45px;
                height: 45px;
                background: rgba(132, 43, 63, 0.15);
                border-radius: 100px;
                text-align: center;
                line-height: 45px;
                font-size: 20px;
            }
        }
    }

    .form-control {
        width: 100%;
        height: 50px;
        background: no-repeat;
        box-shadow: none;
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.075);
        border: none;
        border-radius: 4px;
        line-height: 1.2;
        color: #21333e;
    }

    #message {
        height: unset;
    }
}

footer {
    background-color: #4F4C4C;

    a {
        text-decoration: none;
        color: #ffff;
    }

    h5 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.5;
    }

    li {
        padding: 0.5rem 0;
    }

    i {
        padding-right: 0.5rem;
        font-style: normal;
    }

}

.constructionline-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
}
.constructionline-announcement-section ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    padding-left: 1rem;
    position: relative;
}

.constructionline-announcement-section ul li {
    margin-bottom: 6px;
    padding-left: 1.5rem;
    position: relative;
}

.constructionline-announcement-section ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

