:root {
    --main: #2e3192;
    /*--secondary: linear-gradient(45deg, #91d6e3, #2e3192);*/
    --secondary: #2e3192;
    --logo-light-blue: #91d6e3;
    --heading-text: #91d6e3;
    --orange: #ed7333;
    --black: #000000;
    --lightblack: #222222;
    --white: #ffffff;
    --milkwhite: #f7f7f7;
    --text-main: #2e3192;
    --poppins-font: "Poppins", sans-serif;
    --caveat-font: "Caveat", cursive;
}

body {
    color: var(--black);
    font-family: var(--poppins-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.5px;
    background-color: var(--milkwhite);
    -webkit-font-smoothing: antialiased;
}

header{
    background: var(--white);
    border-bottom: 2px solid var(--main);
}

.text-main, .text-success{
    color: var(--text-main) !important;
}

.btn.btn-submit{
    color: var(--white);
    background: var(--main);
    border: 1px solid var(--main);
    transition: all 0.3s ease;
}
.btn.btn-submit:hover{
    background: var(--logo-light-blue);
}

/*:focus{outline:none !important;}*/
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

/* default font size */
.fa {
    font-size: 14px;
}

.fa-stack {
    width: 12px;
    font-size: 8px;
}

.fa-stack .fa {
    font-size: 13px;
    color: #dedddc;
}

/* Override the bootstrap defaults */
h1 {
    font-size: 33px;
}

h2 {
    font-size: 27px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 15px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10.2px;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

legend {
    font-size: 18px;
    padding: 7px 0px
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #262626;
}

select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control {
    font-size: 14px;
}

.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover {
    font-size: 14px;
}

.input-group .input-group-addon {
    font-size: 14px;
    height: 30px;
}


/* region start about front page*/

.about-pebcon h5 {
        color: var(--main);
    font-family: "Caveat", Sans-serif;
    font-size: 52px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -3.28px;
}

.about-pebcon p {
    line-height: 1.7;
}

/* endregion*/


/* region start About-Us Page*/
.about-page .section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    color: var(--main);
}

.about-page .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.about-page .section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-page .card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-page .card .card-text{
    color: var(--black);
}

.about-page .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-page .card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.bottom-liner{
    border: 1px solid var(--main);
    max-width: 80vw;
    margin: 10px auto;
}



/* endregion*/


        


        /* region start Why Choose us section*/
        
        .sec-why-choose-us {
            position: relative;
            padding: 30px 0;
            margin-top: 3rem;
            background-color: var(--main);
            z-index: 1;
            overflow: hidden; /* ensures pseudo-element stays contained */
        }

        .sec-why-choose-us::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('../image/background/section_background.png');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed; /* makes it fixed during scroll */
            background-position: center;  /* keep it centered */
            opacity: 0.2; /* adjust transparency */
            z-index: -1;
        }

        .common-style-bottom {
            padding-bottom: 28px 0px 75px 0px;
        }

        .elementor-section .elementor-container {
            display: flex;
            position: relative;
        }

        .elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {
            display: flex;
        }

        .element-box-wrapper {
            transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
            padding: 0px 15px 0px 15px;
        }

        .elementor-widget-wrap {
            position: relative;
            width: 100%;
            flex-wrap: wrap;
            align-content: flex-start;
        }

        .why-choose-us-peragraph p{
            color: var(--white);
        }

        .why-choose-us .section-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--heading-text);
            position: relative;
            display: inline-block;
        }

        .why-choose-us .title-section-area .section-title .sub-title {
            display: block;
            margin-bottom: 10px;
        }

        .why-choose-us .box-container .section-title span {
            color: var(--heading-text);
            font-family: "Roboto", Sans-serif;
            font-size: 26px;
            font-weight: 500;
            line-height: 26px;
            letter-spacing: 1.4px;
        }

        .why-choose-us-widget-container {
            height: 230px;
            width: 100%;
            padding: 40px 60px 40px 40px;
            -webkit-box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.08);
            box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.50);
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -ms-border-radius: 5px;
            overflow: hidden;
            position: relative;
            background: #ffffff;
            z-index: 2;
        }

        .why-choose-us-box-sec {
            padding: 20px 0 20px;
            gap: 10px;
        }

        .why-choose-us-box-sec i{
            position: absolute;
            right: 5px;
            top: 20px;
            font-size: 37px;
        }
        .why-choose-us-box-sec i img{
            height: 50px;
            width: 50px;
            border: none;
            border-radius: 0;
            box-shadow: none;
        }

        .why-choose-us-widget-container .count-number {
            background: var(--heading-text);
            position: absolute;
            right: -55px;
            bottom: -55px;
            width: 120px;
            height: 120px;
            -webkit-border-radius: 50%;
            -ms-border-radius: 50%;
            color: #ffffff;
            display: block;
            text-align: left;
            font-size: 16px;
            font-weight: 700;
            padding: 25px 30px;
        }

        .why-choose-us-widget-container .single-intro-text h3{
            color: var(--main);
        }

        .why-choose-us-widget-container .single-intro-text p{
            color: #a89e9e;
            line-height: 1;
        }

        /* endregion*/

/* region navigation section */

.nav-item .dropdown-menu .dropdown-item{
    font-size: 14px;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover{
    background-color: var(--main) !important;
    color: var(--white);
}

.nav-item .dropdown-menu li:hover{
    background: var(--main) !important;
}

.dropdown-item{
    width: auto;
    min-width: 200px;
}

/* endregion */

/* region start stats*/
/*
.stats-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.stats-box i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 15px;
}

.stats-box .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main);
    margin: 10px 0;
}
*/

.front-count-section {
    position: relative;
    background: url('https://www.chicagobooth.edu/-/media/project/chicago-booth/chicago-booth-review/2023/july/chicago-booth-construction.jpg?cx=0.57&cy=0.6&cw=1880&ch=783&hash=09773F3EA628E4B3A0FB87D0B079A0E7') 
                center/cover no-repeat;
    min-height: 65vh;       /* full screen height (responsive) */
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.front-count-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* black overlay 50% */
    z-index: 1;
}

.front-count-section .container {
    position: relative;
    z-index: 2;
}

.front-count-section .row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;  /* wrap for tablets/mobiles */
}

.stats-box {
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 200px;   /* responsive: min 200px */
    max-width: 250px;  /* not too wide on big screens */
}

.stats-box i {
    font-size: 40px;
        margin: 10px auto;
    display: block;
}

.stats-box .number {
    font-size: 32px;
    font-weight: bold;
}

@media (max-width: 776px) {
    .front-count-section{
        min-height: 50vh;
    }
    .front-count-section .row .col-sm-6{
        max-width: 40%;
    }
    .stats-box i {
        font-size: 30px;
    }
    .stats-box .number{
        font-size: 25px;
    }
    .stats-box p{
                font-size: 12px;
        line-height: 1;
    }

}

/* endregion*/

/* region partner slider start */

.partner-carousel .owl-nav {
    position: absolute;
    top: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.partner-carousel .owl-nav button {
    background: var(--secondary) !important;
    color: #fff !important;
    width: 20px !important;
    height: 35px !important;
}

.partner-carousel .owl-nav button:hover {
    background: var(--secondary);
}

.partner-carousel img {
    object-fit: contain;
    padding: 15px;
}

.owl-carousel .owl-nav button.owl-next {
    right: 0px;
}

/* endregion */

/* region expertise section start */

.expertise-sec .section-title {
    text-align: center;
    color: var(--main);
    font-family: "Caveat", Sans-serif;
    font-size: 52px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -3.28px;
}

.expertise-sec .card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: var(--main);
    color: var(--white);
}

.expertise-sec .card .card-title{
    color: var(--logo-light-blue);
    font-size: 26px;
}
.expertise-sec .card .card-text{
    font-size: 18px;
}

/* endregion */

/* region Company Profile section start */


.company-hero h1 {
  font-size: 2.2rem;
}
.company-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}
.card .card-text {
  font-size: 0.9rem;
  color: var(--white);
}


/* endregion */


/* region Information Page section start */

.career .page-headding{
            background: url(../image/page-heading/Career_Idea.jpg) center/cover no-repeat;
        }
        
.mission-vision .page-headding{
    background: url(../image/page-heading/mission_vision.png) center/cover no-repeat;
}

.values .page-headding{
    background: url(../image/page-heading/Core_values.png) center/cover no-repeat;
}
.team .page-headding{
    background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?cs=srgb&amp;dl=pexels-fauxels-3184418.jpg&amp;fm=jpg') center/cover no-repeat;
}
.company-profile .page-headding{
    background: url('../image/page-heading/company-profile-banner.png') center/cover no-repeat;
}
.page-headding{
    width: 100%;
    height: 0;
    padding-top: 23%;
}

.mission-vision .card{
    height: 250px;
}

.mission-vision h2{
    
}
.form-container {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 0 auto 50px;
}

.form-header {
    color: var(--main);
    padding: 25px 30px 0;
    text-align: center;
}
.form-content {
    padding: 35px;
}

.company-profile .ceo{
        display: grid;
        grid-template-columns: 40% 60%;
    }
    .company-profile .ceo_thumb {
        text-align: center;
        margin-right: 20px;
    }
    .company-profile .ceo_thumb img{
        height: 65%;
    }
    .company-profile .ceo_thumb p:first-of-type {
      margin: 20px 0 0;
      line-height: 1.4;
      padding: 10px 0 0;
    }

    .company-profile .pebcon_about{
        display: grid;
        grid-template-columns: 60% 40%;
    }
    .company-profile .pebcon_messages{
        margin-right: 20px;
    }
    .company-profile .thumb {
        align-items: start;
    }
    .company-profile .thumb {
        display: flex;
        align-items: end;
        justify-content: center;
    }
    
    @media (max-width: 768px ) {
        .company-profile .ceo{
            grid-template-columns: auto;
            margin-bottom: 40px;
        }
        .company-profile .ceo_thumb{
            margin-bottom: 30px;
        margin-right: 0;
        }
        .company-profile .ceo_messages{
            text-align: center;
        }
        .company-profile .pebcon_about{
            display: flex;
            grid-template-columns: auto;
            flex-wrap: wrap-reverse;
            gap: 30px;
        }
    }


/* endregion */

/* Popup display */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-modal {
    background: #fff;
    width: 400px;
    max-width: 90%;
    padding: 20px;
    position: relative;
    border-radius: 6px;
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 22px;
}

.popup-content img {
    max-width: 100%;
    height: auto;
}

/* endregion */

/* region Go To Top section start */

.go-top-btn{
    background: var(--main);
    color: var(--white);
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--white);
}
.go-top-btn:hover {
    border: 1px solid var(--logo-light-blue);
    background: transparent;
    color: var(--logo-light-blue);
}


/* endregion */

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.175) !important;
}

.team h5{
    font-size: 18px;
}

.team h6{
    font-size: 16px;
}

.blog-section .pagination{
        gap: 15px;
}
.blog-section .pagination li.active a,
.blog-section .pagination li.active span {
    color: var(--main);
}



/* Construction Services */


    .service-icon { font-size: 50px; color: #007bff; }
    .service-card { box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-radius: 8px; }
    .service-card .card-text {color: var(--black); }
    .service-card:hover { transform: translateY(-10px); transition: transform 0.3s ease; }
    .bg-primary-custom { background-color: #007bff; color: white; }
    .bg-secondary-custom { background-color: #f8f9fa; }
    .service-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
  

/* endregion */

@media (max-width: 667px) {
    
    .mission-vision .card{
        height: auto;
    }
    
}