* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    --theme_clr: #161747;
    --theme_green: #5eae4c;
    --font-poppins: 'Poppins', sans-serif;
    --theme-clr: #161747;
    --border-color: #8383834c;
}

::selection {
    background-color: var(--theme_clr);
    color: #fff;
}

body {
    /* / background-color: var(--theme-o); / */
    text-transform: capitalize;
    font-family: var(--font-poppins);
    color: var(--font-color);
    letter-spacing: .5px;
}



a {
    text-decoration: none;
    color: var(--font-color);

    &:hover {
        color: var(--theme_green);
    }
}

.theme-clr {
    background-color: var(--theme_clr) !important;
}

.txt-clr {
    color: var(--theme_clr) !important;
}

.txt-green {
    color: var(--theme_green) !important;
}


.transition5s {
    transition: all 0.5s ease;

    :hover {
        transition: all 0.5s ease;
    }
}

.sec_mar {
    margin-top: 100px;
    margin-bottom: 100px;

    @media (max-width: 768px) {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

.sec_pad {
    padding-top: 100px;
    padding-bottom: 100px;

    @media (max-width: 768px) {
        padding-top: 50px;
        padding-bottom: 50px;

    }
}

p {
    letter-spacing: .5px;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    color: var(--font_color);
}

button {
    &:focus {
        outline: none !important;
        box-shadow: none !important;
    }
}

.text-justify {
    text-align: justify;
}

.fs-14 {
    font-size: 14px !important;
    line-height: normal;
}

.fs-50 {
    font-size: 50px;

    @media (max-width: 768px) {
        font-size: 40px;
    }
}

.containercust {
    max-width: 1500px;
    margin: auto;
    padding: 0 15px;
}

.title-div {
    h2 {
        text-align: center;
        color: var(--theme_clr);
        font-weight: 700;
    }

    p {
        text-align: center;
    }

    .subheading {
        font-size: 16px;
        color: var(--theme-clr);
        font-weight: 600;
        letter-spacing: 1px;
    }
}

header {

    .nav-link {
        font-weight: 500;
        font-size: 18px;
    }



    /* Enable hover dropdown */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    /* headerbottom */
    /* General Styles */
    .navbar-nav {
        display: flex;
        gap: 20px;
    }

    /* Mega Menu Container */
    .mega-menu {
        position: unset;
    }

    /* Mega Dropdown Styling */
    .mega-dropdown {
        display: none;
        position: absolute;
        left: 0%;
        top: 100%;
        width: 100%;
        /* Adjust width as needed */
        background: white;
        border: none;
        border-top: 2px solid var(--theme_green);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;

        h6 {
            font-size: 18px;
            line-height: 35px;
            margin-top: 0px;
            padding: 5px 5px 5px 15px;
            background: var(--theme_clr);
            color: #fff;
            border-radius: 7px;
        }
    }

    /* Mega Menu Columns */
    .mega-dropdown .row {
        display: flex;
        flex-wrap: wrap;
    }

    .mega-dropdown .col-md-4 {
        flex: 1;
        padding: 10px;
    }

    .mega-dropdown h6 {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .mega-dropdown ul {
        list-style: none;
        padding: 0;
    }

    .mega-dropdown ul li {
        margin-bottom: 8px;
    }

    .mega-dropdown ul li a {
        text-decoration: none;
        color: #333;
        transition: 0.3s;
    }

    .mega-dropdown ul li a:hover {
        color: var(--theme_green);
    }

    /* Show Mega Menu on Hover (Desktop) */
    @media (min-width: 992px) {
        .mega-menu:hover .mega-dropdown {
            display: block;
        }
    }

    /* Responsive: Stack items in mobile */
    @media (max-width: 991px) {
        .mega-dropdown {
            width: 100%;
            position: relative;
            box-shadow: none;
        }
    }
}

#navoffcan {
    .dropdown-menu .row {
        display: flex;
        flex-wrap: wrap;
    }

    .dropdown-menu .col-md-4 {
        flex: 1;
        padding: 10px;
    }

    .dropdown-menu.show h6 {
        font-size: 14px !important;
        line-height: normal;
        margin-top: 0px;
        padding: 10px 15px;
        background: var(--theme_clr);
        color: #fff;
        border-radius: 7px;
    }

    .dropdown-menu ul {
        list-style: none;
        padding: 0;
    }

    .dropdown-menu ul li {
        margin-bottom: 5px;
    }

    .dropdown-menu ul li a {
        text-decoration: none;
        color: #333;
        transition: 0.3s;
        font-size: 14px;
    }

    .dropdown-menu ul li a:hover {
        color: var(--theme_green);
    }
}

.btn-clr {
    background-color: var(--theme_clr);
    color: #fff;
    padding: 8px 25px;
    border-radius: 7px;
    border: 1px solid var(--theme_clr);

    &:hover {
        background-color: transparent;
        color: var(--theme_clr);
        border: 1px solid var(--theme_clr);
    }
}

.btn-clr-o {
    background-color: transparent;
    color: var(--theme_clr);
    padding: 8px 25px;
    border-radius: 7px;
    border: 1px solid var(--theme_clr);
    width: fit-content;

    &:hover {
        background-color: var(--theme_clr);
        color: #fff !important;
        border: 1px solid var(--theme_clr);
    }
}

/* / sticky header / */
main:not(.home) {
    header {
        box-shadow: 0 5px 10px #ededed;
    }
}

.page-header.is-sticky {
    position: fixed;
    box-shadow: 0 0px 20px #00000024;
    background-color: #Fff;
    width: 100%;
    top: 0;
    z-index: 99;
    animation: slideDown 0.35s ease-out;

    a.nav-link {
        color: var(--font-color);

        &:hover {
            color: var(--theme-clr);
        }
    }

    .stickyhide {
        display: none !important;
    }

    .stickyblcok {
        display: block;
    }


}

.w-fitcontent {
    width: fit-content;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.w-fit {
    width: fit-content;
}

/* end sticky header */

.topherosec {
    @media (max-width:991px) {
        /* min-height: 600px; */
    }

    .topheroleftdiv {
        .dddiv {

            .welcometo {
                font-size: 60px;
                margin-bottom: 25px;
                font-weight: 700;
                color: var(--theme_clr);
                /* text-shadow: 5px 3px 8px #00000053; */
            }

            .searchbox {
                margin-bottom: 25px;

                input {
                    border: 2px solid var(--theme_clr);
                    width: 100%;
                    height: 48px;
                    padding: 15px;
                    border-radius: 8px;
                    box-shadow: 0px 5px 20px #0000003b;
                }
            }

            .twobtn {
                display: flex;
                gap: 10px;
                flex-wrap: wrap;
                margin-top: 20px;

                a {
                    background-color: #5bb24e;
                    color: #fff;
                    padding: 4px 12px;
                    border-radius: 40px;
                    font-size: 14px !important;
                }
            }
        }
    }
}

.ourservicesection {
    .featured-icon-box {
        padding: 20px;
        background-color: var(--theme_clr);
        border-radius: 15px;
        transition: all .5s ease;
        height: 100%;

        &:hover {
            background-color: var(--theme_green);
            transform: translateY(-15px);
        }

        .featured-title h3 {
            color: #fff;

        }
    }
}

/* tabcontentssec */
.tabcontentssec {
    .nav {
        overflow-x: auto;
		@media (max-width: 991px){
       	width: fit-content !important;   
      }
        a.active {
            background-color: var(--theme_clr) !important;
            color: #fff !important;
            border-radius: 7px;

        }

        a {
            white-space: nowrap;
        }
    }
}

.breadcrumbsec.sec_pad {
    padding: 40px 0;
  h4 {
    font-size: 35px !important;
    margin-bottom: 0;
}
}

.input-group-meta input,
.input-group-meta select {
    border: 1px solid var(--border-color);
    height: 47px;
    border-radius: 5px;
    padding-left: 15px;
}

.input-group-meta textarea {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
}


footer {
/*    background-image: url(../images/footer-bg.jpg);*/

    * {
        color: #ffffffe4;
    }
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 50px;
    right: 30px;
    background-color: #0e9640;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

/* singlepage */

.singlepagecontendiv {
    .top-150px {
        top: 150px !important;
    }

    .title-header {
        h3 {
            color: var(--theme_clr);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--theme_clr);
        }
    }

    .reqirementdesc {
        ul {
            li.reqirements {
                list-style: circle;
                margin: 15px 0;
                letter-spacing: .5px;
            }
        }

        .titlereq {
            color: var(--theme_clr);
            padding-bottom: 10px;
            border-bottom: 1px solid var(--theme_clr);
            width: fit-content;
        }
    }
}


/* about pager */
.about {
    .aboutcontendiv {
        .title-header {
            h3 {
                padding-bottom: 8px;
                border-bottom: 2px solid var(--theme-clr);
            }
        }
    }
}

/* galleypage */
.gallery {
    .masonry {
        /* Masonry container */
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1em;
        -moz-column-gap: 1em;
        column-gap: 1em;
        /* margin: 1.5em; */
        padding: 0;
        -moz-column-gap: 1.5em;
        -webkit-column-gap: 1.5em;
        column-gap: 1.5em;
        font-size: .85em;
    }

    .item {
        display: inline-block;
        width: 100%;
        -webkit-transition: 1s ease all;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;

    }

    .item img {
        max-width: 100%;
    }

    @media only screen and (max-width: 425px) {
        .masonry {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
            column-gap: .5em;

        }
    }

    @media only screen and (min-width: 426px) and (max-width: 991px) {
        .masonry {
            -moz-column-count: 2;
            -webkit-column-count: 2;
            column-count: 2;
            column-gap: .5em;

        }
    }

}

.max991px {
    max-width: 991px;
    margin: auto;
}

/* blog single*/

/* / single blog / */
.blogbody {
    .containercust {
        max-width: 991px;
        margin: auto;
    }
}

.blogbodydiv:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(../images/bg3.png), url(../images/bg3.png), url(../images/bg3.png);
    background-repeat: no-repeat;
    background-position: -1% 74%, 103% 100%, 104% 0;
    background-size: 130px, 200px, 200px;
}

.bloglistimg {
    height: 350px;
    overflow: hidden;
    border-radius: 25px;
}

.bloglistimg img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.bloglisttitlepara h4 {
    color: #2B2B2B;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.bloglisttitlepara p {
    font-size: 20px;
    font-weight: 300;
    line-height: 34px;
    letter-spacing: .5px;
    text-transform: capitalize;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* single blog end*/

/* testimonials */
.testimonials{
    .masonry {
        /* Masonry container */
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1em;
        -moz-column-gap: 1em;
        column-gap: 1em;
        /* margin: 1.5em; */
        padding: 0;
        -moz-column-gap: 1.5em;
        -webkit-column-gap: 1.5em;
        column-gap: 1.5em;
        font-size: .85em;
    }

    .item {
        display: inline-block;
        width: 100%;
        -webkit-transition: 1s ease all;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;

    }

    .item img {
        max-width: 100%;
    }

    @media only screen and (max-width: 574px) {
        .masonry {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
            column-gap: .5em;

        }
    }

    @media only screen and (min-width: 575px) and (max-width: 768px) {
        .masonry {
            -moz-column-count: 2;
            -webkit-column-count: 2;
            column-count: 2;
            column-gap: .5em;

        }
    }

    @media only screen and (min-width: 769px) and (max-width: 991px) {
        .masonry {
            -moz-column-count: 2;
            -webkit-column-count: 2;
            column-count: 2;
        }
    }

    @media only screen and (min-width: 990px) {
        .masonry {
            -moz-column-count: 3;
            -webkit-column-count: 3;
            column-count: 3;
        }
    }
}

.rs-banner__content .title {
    font-size: 70px;
    line-height: 80px;
    color: var(--theme_clr);
    margin-top: 30px;
    margin-bottom: 22px;
    font-weight: 600;
}
input, textarea, select {
    outline-color: var(--theme_clr);
}
@media only screen and (max-width: 767px) {
    .rs-banner__content .title {
        font-size: 36px;
        line-height: 48px;
    }
}