/* =====================================
   Total Construction Estimation
   Main Website Styles
===================================== */


/* Google Font Backup */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:'Open Sans', sans-serif;
    color:#222;
    line-height:1.7;
    background:#fff;

}


h1,h2,h3,h4,h5{

    font-family:'Poppins',sans-serif;

}


a{

    text-decoration:none;
    color:inherit;

}


img{

    max-width:100%;
    display:block;

}



.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}



.section{

    padding:80px 0;

}




/* =====================
HEADER
===================== */


.header{

    width:100%;
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);

}



.nav-container{

    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 0;

}



.logo img{

    width:180px;

}



.nav-menu{

    display:flex;
    gap:25px;
    list-style:none;

}



.nav-menu a{

    font-weight:600;
    color:#222;
    transition:.3s;

}


.nav-menu a:hover{

    color:#0B3D91;

}




.header-contact{

    display:flex;
    align-items:center;
    gap:10px;

}



.header-contact i{

    color:#FF9800;
    font-size:25px;

}



.header-contact span{

    display:block;
    font-size:13px;
    color:#777;

}


.header-contact strong{

    color:#0B3D91;

}




.quote-btn{

    background:#FF9800;
    color:white;
    padding:12px 25px;
    border-radius:4px;
    font-weight:600;

}



.quote-btn:hover{

    background:#0B3D91;

}





/* =====================
HERO
===================== */


.hero{

    height:650px;
    background:url("../images/hero-bg.jpg") center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;

}



.hero-overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);

}



.hero-content{

    position:relative;
    color:white;
    z-index:2;

}



.hero h1{

    font-size:55px;
    line-height:1.2;
    margin-bottom:20px;

}



.hero p{

    font-size:20px;
    max-width:650px;
    margin-bottom:35px;

}




.hero-buttons{

    display:flex;
    gap:20px;

}



.btn-primary,
.btn-secondary{

    padding:15px 35px;
    border-radius:5px;
    font-weight:600;

}



.btn-primary{

    background:#FF9800;
    color:#fff;

}



.btn-secondary{

    border:2px solid white;
    color:white;

}


.btn-secondary:hover{

    background:white;
    color:#0B3D91;

}





/* =====================
ABOUT
===================== */


.about-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;

}



.about-image img{

    border-radius:10px;

}



.about-content h5,
.section-title h5{

    color:#FF9800;
    letter-spacing:2px;

}



.about-content h2,
.section-title h2{

    font-size:38px;
    margin:15px 0 20px;
    color:#0B3D91;

}



.features{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:25px;

}



.features i{

    color:#FF9800;
    margin-right:10px;

}






/* =====================
SECTION TITLE
===================== */


.section-title{

    text-align:center;
    margin-bottom:50px;

}





/* =====================
SERVICES
===================== */


.services{

    background:#f7f7f7;

}



.service-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}



.service-card{

    background:white;
    padding:35px 25px;
    text-align:center;
    border-radius:8px;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.05);

}



.service-card i{

    font-size:40px;
    color:#0B3D91;
    margin-bottom:20px;

}



.service-card h3{

    margin-bottom:15px;

}



.service-card:hover{

    transform:translateY(-10px);

    border-bottom:4px solid #FF9800;

}





/* =====================
TRADES
===================== */


.trade-grid{

    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;

}



.trade-grid div{

    background:#0B3D91;
    color:white;
    text-align:center;
    padding:25px 10px;
    border-radius:5px;

}



.trade-grid i{

    font-size:30px;
    color:#FF9800;

}






/* =====================
CTA
===================== */


.cta{

    background:#0B3D91;
    color:white;
    text-align:center;
    padding:70px 0;

}



.cta h2{

    font-size:40px;

}



.cta a{

    display:inline-block;
    margin-top:25px;
    background:#FF9800;
    padding:15px 35px;
    border-radius:5px;

}





/* =====================
FOOTER
===================== */


footer{

    background:#222;
    color:white;
    padding-top:60px;

}



.footer-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;

}



footer h3,
footer h4{

    color:#FF9800;
    margin-bottom:15px;

}



.copyright{

    margin-top:40px;
    padding:20px;
    text-align:center;
    background:#111;

}