/* Haeder CSS */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body,
p,
span,
li,
a {
    font-family: 'Lora', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', serif;
}

#container-height {
    height: 40px;
}

.nav-container .navbar-light .navbar-nav .nav-link{
    color: black;
}

.nav-container .dropdown-item.active, .dropdown-item:active {
    background-color: #dc3545;
}

.font-icons {
    font-size: 20px;
}

.logo-width {
    height: 70px;
    width: 70px;
}

#font-nav {
    font-size: 22px;
    font-weight: 1000;
    font-family: 'Lora', serif;
}

#nav-color {
    color: black;
}

.font {
    font-family: 'Lora', serif;
}

.container-image {
    height: 650px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.container-image h1 {
    color: black;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.hero-main-section {
    padding: 250px 0px 250px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-main-section .hero-main-container {
    display: flex;
    flex-direction: column;
    max-width: 57%;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #ffffff73;
    padding: 20px;
    border-radius: 18px;
}

.container-image a {
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.get-in {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

.get-in:hover {
    background-color: black;
    color: white;
}

.provide {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

#style {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

#accordion .accordion-item .btn {
    position: relative;
    display: block;
}

#accordion .accordion-item .btn .fa {
    position: absolute;
    right: 10px;
    top: 10px;
}

#accordion .accordion-item .accordion-header {
    background-color: transparent;
    border: none;
    margin-bottom: 4px;
}

#accordion .accordion-item {
    box-shadow: 0 2px 0 rgba(110, 130, 208, .18);
    border: black;
}

#accordion .accordion-item .accordion-header .btn {
    color: #000;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    /* font-family: 'Baloo Bhai 2', cursive; */
    font-size: 1.2rem;
    padding: 10px;
    border: black;
}

#accordion .accordion-item .accordion-body {
    background: white;
    border-bottom: 1px solid black;
}

#accordion .accordion-item .accordion-header .btn {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.request {
    font-size: 3.5rem;
}

.request-image {
    height: auto;
    width: 80px;
}

.footer-font {
    font-size: 1.3rem;
}

#form_class {
    border: 1px solid grey;
    border-radius: 30px;
    box-shadow: none;
    outline: 0;
}

.border-form {
    border: 1px solid grey;
}

#form_text {
    font-size: 1rem;
    font-weight: bold;
    color: black;
}

#forms:focus {
    outline: 0;
    box-shadow: none;
}

.container-hover {
    position: relative;
}

.container-hover:hover .text {
    visibility: visible;
}

.text {
    position: absolute;
    top: 0;
    left: 0;
    height: 236px;
    width: 292px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    opacity: 0.8;
    visibility: hidden;
}

.mini-services-container {
    background-color: #F5F5F5;
    padding: 60px 0px;
}

.mini-services-container .text-services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mini-services-container .text-services h2 {
    font-family: 'Lora', serif;
    font-size: 35px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.25em;
    color: #FFF;
}

.mini-services-container .text-services p {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8em;
    color: white;
}

.mini-services-container .card-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 18px;
}

.mini-services-container .first-card {
    width: 170px;
    height: 170px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 50px 30px;
    background-color: #FFF;
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 0.5);
    transition: background-color 2s ease;
    /* smooth transition */
}

.mini-services-container .first-card:hover {
    background-color: #3D3751;
    color: #FFF;
}

.mini-services-container .first-card i {
    font-size: 30px;
    margin-bottom: 15px;
    color: #000;
}

.mini-services-container .first-card:hover i {
    color: #fff;
}

.mini-services-container .first-card span {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2.25px;
}

.mini-services-container .cover {
    margin-top: -10px;
}

.mini-services-container .spacing {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.image-height-adjust {
    height: 100%;
    max-height: 650px;
    object-fit: cover;
}

.custom-blog-card {
    border-radius: 18px;
    min-height: 342px;
}

.custom-blog-image {
    height: 193px;
    object-fit: cover;
    width: 100%;
    border-radius: 18px 18px 0px 0px;
}

.custom-blog-date {
    color: #ADADAD;
    font-size: 14px;
    margin-bottom: 8px;
}

.custom-blog-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 12px;
}

.custom-blog-btn {
    font-size: 14px;
    font-weight: 500;
    color: #3D3751;
    border-radius: 1px 0px 1px 1px;
    padding: 0;
    background-color: #CE616100;
    text-decoration: none;
    border: none;
}

.custom-blog-btn:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
}

.pagination a:hover {
    background-color: #ddd;
}

.blog-description img {
    width: 100% !important;
    height: 500px !important;
    object-fit: cover;
}

.footer-headings {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2em;
}

.footer-sub-links {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.hero-commercial-section {
    background-image: url("/static/images/commercial-hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 220px 0px;
    ;
    z-index: 1;
    position: relative;
}

.residential-section-bg {
    background-image: url("/static/images/Residential-building.jpg");
}

.civil-section-bg {
    background-image: url("/static/images/civil-bg.jpg");
}

.hero-commercial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-commercial-section>* {
    position: relative;
    z-index: 3;
}

.hero-commercial-section .hero-commercial-container {
    max-width: 78%;
    text-align: center;
}

.hero-commercial-section .hero-commercial-container h1,
.hero-commercial-section .hero-commercial-container p {
    color: #fff;
}

.about-commercial-section .commercial-container .row-commercial img {
    max-height: 450px;
    object-fit: cover;
    border-radius: 18px;
    border-top: 5px solid #dc3545;
    border-right: 5px solid #dc3545;
}

.commercial-services-section {
    background-image: url("/static/images/service-three_pattern.png");
    background-repeat: no-repeat;
    background-position: top left;
    padding: 80px 0px;
    background-color: #F5F5F5;
}

.commercial-services-section .commercial-service-container .commercial-service-content-box {
    max-width: 75%;
    margin: auto;
}

.commercial-services-section .commercial-service-container .commercial-service-box {
    background-color: white;
    padding: 20px;
    border-radius: 18px;
    width: 49%;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: color 0.4s ease;
    z-index: 1;
}

.commercial-services-section .commercial-service-container .commercial-service-box .icon-box {
    padding: 16px;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
}

.commercial-services-section .commercial-service-container .commercial-service-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.commercial-services-section .commercial-service-container .commercial-service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: #000;
    transform: translateX(-50%);
    transition: width 0.5s ease;
    z-index: 0;
}

.commercial-services-section .commercial-service-container .commercial-service-box:hover::before {
    width: 100%;
}

.commercial-services-section .commercial-service-container .commercial-service-box>* {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.commercial-services-section .commercial-service-container .commercial-service-box:hover h3,
.commercial-services-section .commercial-service-container .commercial-service-box:hover p {
    color: white;
}

.process-commercial-section .process-container .process-image {
    max-height: 720px;
    object-position: center;
    object-fit: cover;
    width: 100%;
    border-radius: 18px;
    border-left: 5px solid #dc3545;
    border-top: 5px solid #dc3545;
}

.service-resi-sec .process-container .process-image {
    max-width: unset;
    height: 100%;
}

.process-commercial-section .process-container .custom-tick {
    list-style: none;
    padding-left: 0;
}

.process-commercial-section .process-container .custom-tick li::before {
    content: "✔";
    color: #dc3545;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.5em;
}

.process-commercial-section .process-container .custom-tick p {
    margin: 0 0 1em 1.7em;
}

.tech-commercial-section {
    background-color: #F5F5F5;
    padding: 80px 0px;
}

.tech-residential-bg {
    background-color: white;
    padding: unset;
}

.tech-commercial-section .tech-commercial-container {
    max-width: 75%;
    margin: auto;
    text-align: center;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box {
    width: 49%;
    text-align: left;
    background-color: white;
    padding: 20px;
    border-radius: 18px;
}

.tech-residential-bg .tech-commercial-container .tech-commercial-content-box .tech-commercial-box {
    background-color: #F5F5F5;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box .tech-icon {
    width: 100px;
    height: 100px;
    border: 2px solid #7d7e83;
    border-radius: 50%;
    padding: 13px;
    object-fit: cover;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box .tech-icon-bluebeam {
    width: 100px;
    height: 100px;
    border: 2px solid #0083db;
    border-radius: 50%;
    padding: 13px;
    object-fit: cover;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box .tech-icon-quickbooks {
    width: 100px;
    height: 100px;
    border: 2px solid greenyellow;
    border-radius: 50%;
    padding: 13px;
    object-fit: cover;
}

.tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box .tech-icon-dashbaord {
    width: 100px;
    height: 100px;
    border: 2px solid #f9ae19;
    border-radius: 50%;
    padding: 13px;
    object-fit: cover;
}

.who-we-serve-bg {
    background-color: #F5F5F5;
    padding: 80px 0px;
}

.faq-res-bg {
    background-color: #F5F5F5;
    padding: 80px 0px;
}

.commercial-serve-section .commercial-serve-container .contractor-content-box .contractor-box {
    width: 49%;
    padding: 25px;
    border: 3px solid #dc3545;
    border-radius: 18px;
}

.commercial-serve-section .commercial-serve-container .contractor-content-box .contractor-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
}

.commercial-serve-section .commercial-serve-container .contractor-content-box {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.commercial-chose-section {
    background-color: #F5F5F5;
    padding: 80px 0px;
}

.commercial-chose-container .commercial-chose-row .chose-first-col .commercial-chose-contentbox .commercial-chose-box {
    background: white;
    padding: 20px;
    border-radius: 18px;
}

.commercial-chose-container .commercial-chose-row .chose-first-col .commercial-chose-contentbox .commercial-chose-box .chose-img-heading {
    display: flex;
    align-items: center;
    gap: 20px;
}

.commercial-chose-container .commercial-chose-row .chose-first-col .commercial-chose-contentbox img {
    width: 60px;
    height: 60px;
    padding: 8px;
    border-radius: 50%;
    background: #F5F5F5;
    object-fit: cover;
}

.commercial-chose-container .chose-second-col img {
    height: 100%;
    border-radius: 18px;
    border-right: 5px solid #dc3545;
    border-top: 5px solid #dc3545;
    width: 100%;
    object-fit: cover;
}

.faq-commercial-section .faq-commercial-projects .accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
}

.faq-commercial-section .faq-commercial-projects .accordion-button:focus {
    border-color: white;
    box-shadow: none;
}

.faq-commercial-section .faq-col-second img {
    height: 100%;
    border-radius: 18px;
    border-left: 5px solid #dc3545;
    border-top: 5px solid #dc3545;
    width: 100%;
    object-fit: cover;
}

.commercial-contact-section {
    background-color: black;
    padding: 80px 0px;
}

.commercial-contact-section .commercial-contact-container {
    max-width: 65%;
    text-align: center;
    color: white;
}

.commercial-contact-section .commercial-contact-container .commercial-contact-btn {
    border: 2px solid #dc3545;
    padding: 12px 12px;
    border-radius: 18px;
    outline: none;
    box-shadow: none;
    color: white;
}

.resi-builder-chose-section .resi-other-box {
    gap: 100px;
}

.resi-builder-chose-section .resi-other-box .first-resi-col {
    border-left: 2px solid #7d7e83;
    padding-left: 30px;
    position: relative;
}

.resi-builder-chose-section .resi-other-box .second-resi-col {
    border-left: 2px solid #7d7e83;
    padding-left: 30px;
    position: relative;
}

.resi-builder-chose-section .resi-other-box .first-resi-col .res-numbering {
    position: absolute;
    background-color: #dc3545;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    left: -23px;
}

.resi-builder-chose-section .resi-other-box .second-resi-col .res-numbering {
    position: absolute;
    background-color: #dc3545;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    left: -23px;
}

.resi-builder-chose-section .resi-other-box .first-resi-col {
    width: 45%;
}

.resi-builder-chose-section .resi-other-box .second-resi-col {
    width: 45%;
}

.civil-tech-section .tech-commercial-box {
    padding-bottom: 70px !important;
}

.civil-tech-section .numbering-civil {
    color: #dc3545;
    position: absolute;
    bottom: 0px;
    right: 20px;
    font-weight: 700;
    font-size: 60px;
    margin: 0;
}

.civil-tech-section .civil-text-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 990px) {
    .container-image h1 {
        font-size: 1.5rem;
        color: black;
        text-align: center;
        text-transform: uppercase;
        padding: 10px;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mini-services-container .card-main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .mini-services-container .first-card {
        width: 45%;
        margin-top: 10px;
    }

    .hero-commercial-section .hero-commercial-container {
        max-width: 100%;
    }

    .commercial-services-section .commercial-service-container .commercial-service-box {
        width: 48%;
    }

    .tech-commercial-section .tech-commercial-container {
        max-width: 100%;
    }

    .tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box {
        width: 48%;
    }

    .commercial-serve-section .commercial-serve-container .contractor-content-box .contractor-box {
        width: 100%;
    }
}


@media (max-width: 767px) {
    .mini-services-container .card-main {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .mini-services-container .first-card {
        width: 304px;
        margin-top: 9px;
    }

    .blog-description img {
        height: 300px !important;
        /* Smaller height on mobile */
    }

    .footer-headings {
        font-size: 24px;
        margin-top: 20px;
    }

    .hero-commercial-section .hero-commercial-container {
        max-width: 100%;
    }

    .commercial-services-section .commercial-service-container .commercial-service-content-box {
        max-width: 100%;
    }

    .commercial-services-section .commercial-service-container .commercial-service-box {
        width: 100%;
    }

    .process-commercial-section .process-container .process-image {
        margin-bottom: 20px;
    }

    .tech-commercial-section .tech-commercial-container {
        max-width: 100%;
    }

    .tech-commercial-section .tech-commercial-container .tech-commercial-content-box .tech-commercial-box {
        width: 100%;
    }

    .commercial-serve-section .commercial-serve-container .contractor-content-box .contractor-box {
        width: 100%;
    }

    .commercial-chose-container .chose-second-col img {
        height: 450px;
        margin-top: 20px;
    }

    .faq-commercial-section .faq-col-second img {
        margin-bottom: 20px;
    }

    .commercial-contact-section .commercial-contact-container {
        max-width: 100%;
    }

    .resi-builder-chose-section .resi-other-box {
        gap: 0px;
    }

    .resi-builder-chose-section .resi-other-box .first-resi-col {
        width: 100%;
    }

    .resi-builder-chose-section .resi-other-box .second-resi-col {
        width: 100%;
    }

    .resi-builder-chose-section .resi-main-content-box {
        width: 100% !important;
    }
    .nav-container .bid-nav-dropdown{
        justify-content: end !important;
        gap: 12px;
    }
    .hero-main-section .hero-main-container{
        max-width: 100%;
    }

}