@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


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

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

:root {
    --white: #ffffff;
    --black: #000000;
    --red: #e93d3d;
    --btn-bg: #d50032;
    --transparent: transparent;
    --color-yellow: #FFE610;
    --color-blue: #004680;
}



body {
    font-family: "Montserrat", sans-serif !important;
}

footer h5,
footer p,
footer {
    font-family: "Montserrat", sans-serif !important;
}

.heder-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

}


.heder-wrapper nav {
    display: flex;

    gap: 50px;

}


.heder-wrapper nav ul {
    display: flex;
    gap: 30px;

}

.hero-section {
    background: url('../img/main-bg.webp') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed;
}

.contact-box {
    background-color: #232625;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
}


.hero-section .container {
    position: relative;
    z-index: 11;
    /* padding: 0; */
}

a.nav-link {
    font-weight: 600;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
}

.menu-item a:hover {
    color: #d50032 !important;
}

header {
    background: #00000063;
    /* padding: 20px; */
    color: white;
    z-index: 999;
    position: relative;
}

a.navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 30px;
}


.hero-section::after {
    content: "";
    background: #000000a3;
    inset: 0;
    position: absolute;
}

.contact-form {
    border: 2px solid white;
    text-align: center;
    padding: 50px 15px;
    color: white;
}



.contact-form .form-control {
    outline: none;
    padding: 13px;
}

.contact-form button {
    border: 2px solid white !important;
    color: white !important;
    padding: 13px !important;
}

.banner-wrapper h1 {
    line-height: 1.4;
    font-size: 50px;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}


.btn-default-theme {
    background: var(--btn-bg);
    color: white;
    padding: 13px 20px;
    display: inline-block;
    transition: .1s;
    font-weight: 700;
    height: fit-content;
    margin: 0.5rem 0;
    transition: all .3s;
}

.btn-default-theme:hover {
    box-shadow: rgba(0, 0, 0, 0.055) 0px 1.7625px 1.10156px -1.10156px;
    background: black;
    color: white;
    /* border-radius: 15px; */
}

.hero-section .btn-default-theme:hover {
    background: white !important;
    color: #000000 !important;
}

.get-a-quote-sec {
    background: var(--white);
    padding: 3rem 0;
}

.get-a-quote-sec h2 {
    font-weight: 700;
    margin-bottom: 2rem;
}

.professional-inspections {
    background: url(../img/bg.webp) center center /cover;
    background: #e6e6e6;
    padding: 3rem 0;
}

.professional-inspections h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.professional-inspections ul {
    column-count: 2;
    padding-left: 0;
    list-style: none;
}

.professional-inspections ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.professional-inspections ul li::before {
    content: "\f14a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-blue);
}


.inspection-services {
    background-color: #004b87;
    padding: 3rem 0;
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
}



.service-card {
    position: relative;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.2);
}

.service-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.service-card h5 {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: bold;
}

.learn-more {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.learn-more i {
    margin-left: 0.3em;
}

.learn-more:hover {
    text-decoration: underline;
    color: var(--btn-bg);
}

.community-trusts-sec {
    padding: 3rem 0;
    background: #f2f2f2;
}


.community-trusts-sec h2 {
    font-weight: 700;
}


/* accordion start */
.faq-sec {
    background: url(../img/faq-bg.webp) center center/cover;
    padding: 3rem 0;
    position: relative;
    color: white;
    background-attachment: fixed;
}

.faq-sec::before {
    content: "";
    background: #0000009e;
    inset: 0;
    position: absolute;
}

.faq-sec h2 {
    margin-bottom: 2rem;
    font-size: 30px;
    font-weight: 600;
}

.faq-sec .container {
    position: relative;
    z-index: 11;
}

.accordion {
    background-color: #f9f9f9;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header.active {
    background: #373740;
    color: white;
}

.accordion-header {
    padding: 16px;
    cursor: pointer;
    font-weight: bold;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
    font-size: 15px;
}

section.contact-us-sec .title-span {
    font-size: 20px;
    color: black;
    margin-bottom: 0.3rem;
    display: inline-block;
    text-transform: uppercase;
}

.accordion-header::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: '\f106';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 15px;
    color: black;
    border-top: 1px solid #ddd;
}

.accordion-content.open {
    padding: 15px;
    max-height: 1000px;
}



.contact-us-sec {
    padding: 3rem 0;
}

.footer-col .text-white {
    text-decoration: none !important;
    transition: .3s;
}

.footer-col a.text-white:hover {
    text-decoration: underline !important;
}

.contact-us-sec h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* accordion end */


.footer-custom {
    background: var(--color-blue);
    color: white;
    padding: 3rem 9px;
    padding-bottom: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-col ul li a {
    font-size: 16px;
}

.footer-col ul li a:hover {
    text-decoration: underline;
    color: white !important;
}

.footer p {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer i {
    width: 18px;
    text-align: center;
}



/* Residential Inspection css */

.breadcrum-section {
    padding: 5rem;
}


.breadcrum-section h2 {
    font-size: 55px;
    font-style: normal;
    font-weight: 700;
    color: white;
    line-height: 1.4;
}

.key_reason_homebuyers_sec {
    padding: 80px 60px;
    /* background: var(--color-blue) url(../img/blue-bg.webp); */
    background-color: var(--color-blue);
    color: white;
}

.key_reason_head {
    display: flex;
}

.key_reason_homebuyers_sec h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2rem;
}


.key_reason_homebuyers_ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.key_reason_homebuyers_ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    /* color: var(--color-blue); */
}

/* Residential Inspection css end */


.sub-menu {
    display: none;
    position: absolute;
    background-color: black;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0 16px;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.sub-menu .nav-link,
.sub-menu a {
    padding: 4px 0;
    display: block;
    white-space: nowrap;
    color: white;
    text-decoration: none;
}

.nav-item:hover>.sub-menu,
.menu-item.menu-item-has-children:hover>.sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children>a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-item-has-children.open>a::after {
    transform: rotate(180deg);
}

.breadcrum-section .btn-default-theme {
    margin: 2rem 0;
}

.menu-item a {
    color: white;
}

.contact-info {
    color: white;
}

button.navbar-toggler.border-0 {
    background: white;
}

.elementor-post__card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.sub-menu a {
    color: white !important;
}

.contact-info a:hover {
    color: var(--btn-bg);
}

.page-id-14 .wpcf7-response-output {
    color: white;
}
main.def-page {
    padding: 20px 0;
}

.menu-item-652 > a{
    pointer-events: none;
}