/* =====================================================
   MODERN CIVIL CONSTRUCTION
   Professional Business Website
===================================================== */

/* ---------- Google Font ---------- */

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

html,
body{
    overflow-x:hidden;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    color:#333;
    background:#ffffff;
    overflow-x:hidden;

}

/* ---------- Variables ---------- */

:root{

    --primary:#0F172A;
    --secondary:#1E3A8A;
    --accent:#F59E0B;
    --white:#ffffff;
    --light:#F8FAFC;
    --gray:#6B7280;

}


/* ====================================
            LOGO AND TITLE
==================================== */

.logo{

    width:68px;
    height:68px;

    object-fit:contain;

}

.company-title{

    color:#24146B;
    font-size:30px;
    font-weight:700;
}

.company-subtitle{

    color:#666;
}


/* ====================================
            NAVBAR
==================================== */

.navbar{

    
    background:#ffffff;

    padding:16px 0;

    transition:.3s ease;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

}



.nav-link{

    color:#333 !important;

    font-weight:700;

    margin-left:20px;

    position:relative;

    transition:.3s;

}

.nav-link:hover{

    color:#1699E8 !important;

}

.nav-link.active{

    color:#24146B !important;

    font-weight:700;

}

/* Navbar Toggler */

.navbar-toggler{

    padding:4px 8px;

    background:#8170ce;

    border:none;

    box-shadow:none !important;

    border-radius:8px;

}

.navbar-toggler-icon{

    filter:brightness(0) invert(1);

}

.navbar-toggler:focus{

    box-shadow:none;

}

.navbar-toggler-icon{

    width:1.2em;

    height:1.2em;

}


/* ====================================
            HERO SECTION
==================================== */

.hero{

    position:relative;

    min-height:100svh;

    display:flex;

    align-items:center;

    overflow:hidden;

    
    /* background-size:cover;

    background-position:center; 
    background-repeat:no-repeat; */
}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("../assets/images/hero2.jpg") center center/cover no-repeat;

    
    z-index:1;
    animation:heroZoom 15s ease-in-out infinite alternate;


}

.hero::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        90deg,

        rgba(0,0,0,.70) 0%,

        rgba(0,0,0,.55) 40%,

        rgba(0,0,0,.20) 100%

    );

    z-index:1;

}

/* .overlay{

    position:absolute;
    inset:0;
     top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background:linear-gradient(
        rgba(15,23,42,.88),
        rgba(15,23,42,.72)
    );

} */

.hero-content{

    position:relative;
    z-index:10;
    color:white;
    

}

.hero h4{

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:5px;

    margin-bottom:15px;

    font-size:22px;

}

.hero h1{

    font-size:72px;
    font-weight:800;
    line-height:1.15;

    margin-bottom:25px;

}

.hero p{

    font-size:22px;

    color:#ddd;

    margin-bottom:35px;

}

/* ====================================
            BUTTONS
==================================== */

.btn-warning{

    background:var(--accent);
    border:none;

    padding:14px 35px;

    font-weight:600;

    border-radius:50px;

    transition:.4s;

}

.btn-warning:hover{

    transform:translateY(-5px);

    background:#d88b00;

}

.btn-outline-light{

    border-radius:50px;

    padding:14px 35px;

    transition:.4s;

}

.btn-outline-light:hover{

    transform:translateY(-5px);

}

/* ====================================
            SECTION TITLE
==================================== */

section{

    padding:90px 0;

}

section h2{

    font-size:42px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:25px;

}

section p{

    font-size:17px;

    color:var(--gray);

    line-height:1.9;

}

/* ====================================
            ABOUT
==================================== */

#about img{

    border-radius:20px;

    transition:.4s;

}

#about img:hover{

    transform:scale(1.02);

}

#about ul{

    margin-top:30px;

    list-style:none;

}

#about ul li{

    margin-bottom:15px;

    font-weight:500;

}

#about ul li::before{

    content:"✓ ";

    color:green;

    font-weight:bold;

}

/* ====================================
            SERVICES
==================================== */

#services{

    background:#F8FAFC;

}

.service-card{

    background:white;

    padding:45px 30px;

    text-align:center;

    border-radius:18px;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    height:100%;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.service-card i{

    font-size:60px;

    color:var(--accent);

    margin-bottom:25px;

}

.service-card h4{

    margin-bottom:20px;

    font-weight:700;

}

.service-card p{

    color:#666;

}

/* ====================================
            STATS
==================================== */

.stats{

    background:linear-gradient(
        135deg,
        #0F172A,
        #1E3A8A
    );

    color:white;

}

.stats h2{

    color:white;

    font-size:55px;

    font-weight:700;

}

.stats p{

    color:#ddd;

    font-size:18px;

}

/* ====================================
            PROJECTS
==================================== */

.project-card{

    overflow:hidden;

    border-radius:18px;

    background:white;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-10px);

}

.project-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-card h5{

    padding:20px;

    font-weight:600;

}

/* ====================================
            CONTACT SECTION
==================================== */

/*==========================
      CONTACT SECTION
===========================*/

.contact-section{

    padding:100px 0;

    background:#f8f9fa;

}

.section-title{

    font-size:42px;

    font-weight:700;

    color:#24146B;

}

.section-subtitle{

    color:#666;

    margin-top:10px;

}

.contact-card{

    background:#fff;

    padding:40px;

    border-radius:16px;

    height:100%;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.contact-card h3{

    color:#24146B;

    margin-bottom:15px;

}

.contact-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:30px;

}

.contact-item i{

    width:55px;

    height:55px;

    background:#24146B;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    flex-shrink:0;

}

.contact-item h6{

    margin-bottom:5px;

    font-weight:700;

}

.contact-item p{

    margin:0;

    color:#666;

}

.contact-item a{

    color:#1699E8;

    text-decoration:none;

}

.contact-item a:hover{

    text-decoration:underline;

}

.map-container{

    height:100%;

    min-height:500px;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

/* ====================================
        SIDE BAR
==================================== */
.offcanvas{

    top:0;
    left:0;
    width:280px;
    height:100vh;

}

.offcanvas-header{

    background:#24146B;

    color:#fff;

    padding:40px 20px;

}

.offcanvas-logo{
    background-color: #F8FAFC;
    padding: 5px;
    border-radius: 10px;
    width:55px;

}

.offcanvas-body{

    padding:20px;

}

.offcanvas .nav-link{

    padding:14px 0;

    font-size:18px;

    color:#333;

    font-weight:500;

    border-bottom:1px solid #eee;

}

.offcanvas .nav-link:hover{

    color:#1699E8;

    padding-left:10px;

}



/* ====================================
            FOOTER
==================================== */

.footer{

    background:#1f2937;

    color:#fff;

    padding:70px 0 25px;

}

.footer-logo{

    width:90px;

    background:#fff;

    padding:12px;

    border-radius:14px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    margin-bottom:20px;

    transition:.3s;

    /* filter:drop-shadow(0 0 10px rgba(255,255,255,.15)); */
}

.footer-logo:hover{

    transform:scale(1.08);

}

.footer h3{

    font-weight:700;

    margin-bottom:10px;

}

.footer-tagline{

    color:#d1d5db;

    margin-bottom:18px;

}

.footer-services{

    color:#9ca3af;

    line-height:2;

}

.footer-services span{

    margin:0 10px;

    color:#1699E8;

}

.footer hr{

    border-color:rgba(255,255,255,.15);

    margin:35px 0;

}

.footer-icon{

    color:#1699E8;

    font-size:22px;

    margin-bottom:12px;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:35px 0;

}

.footer-social a{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#2c3e50;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    transition:.3s;

}

.footer-social a:hover{

    background:#1699E8;

    transform:translateY(-5px);

}

.copyright{

    color:#9ca3af;

    margin:0;

    font-size:14px;

}

/* ====================================
            IMAGE EFFECTS
==================================== */

img{

    max-width:100%;

    display:block;

}

.project-card img,
#about img{

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

/* ====================================
            CARD EFFECTS
==================================== */

.service-card,
.project-card{

    cursor:pointer;

}

.service-card::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:0;

    height:4px;

    background:var(--accent);

    transition:.4s;

}

.service-card{

    position:relative;

    overflow:hidden;

}

.service-card:hover::after{

    width:100%;

}

/* ====================================
            SECTION SPACING
==================================== */

.container{

    position:relative;

    z-index:2;

}

/* ====================================
            ANIMATIONS
==================================== */

@keyframes heroZoom{

    from{

        transform:scale(1);


    }

    to{

        transform:scale(1.1);

    }

}


@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(60px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;
        transform:translateX(-80px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;
        transform:translateX(80px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;
        transform:scale(.8);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}

.hero-content{

    animation:fadeLeft 1.2s ease;

}

.service-card{

    animation:zoomIn .8s ease;

}

.project-card{

    animation:fadeUp .9s ease;

}

/* ====================================
            BUTTON EFFECTS
==================================== */

.btn{

    transition:.4s;

}

.btn:hover{

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

/* ====================================
            SCROLLBAR
==================================== */

/* ====================================
        Custom Scrollbar (Desktop Only)
==================================== */

@media (min-width: 992px) {

    ::-webkit-scrollbar{

        width:10px;

    }

    ::-webkit-scrollbar-track{

        background:#f1f1f1;

    }

    ::-webkit-scrollbar-thumb{

        background:var(--secondary);

        border-radius:10px;

    }

    ::-webkit-scrollbar-thumb:hover{

        background:var(--accent);

    }

}


/* ====================================
            SELECTION
==================================== */

::selection{

    background:var(--accent);

    color:white;

}

/* ====================================
            RESPONSIVE
==================================== */

@media(max-width:1200px){

.hero h1{

    font-size:60px;

}

}

@media(max-width:992px){

    
.hero{
    min-height:90vh;

    padding:120px 20px 70px;

    background-position:100% center;
}

 .hero::before{

        animation:none;

        background-position:center;

}

/* .hero-content{

        max-width:100%;

}

.hero h1{

    font-size:2rem;

    line-height:1.3;
    margin-bottom:20px;

}

.hero p{

    font-size:1rem;

        line-height:1.8;

        margin-bottom:30px;

}

.hero .btn{

        width:100%;

        max-width:280px;

        margin:8px auto;

        display:block;

    } */

    .hero .btn{

        font-size:18px;

        padding:13px 22px;

        width:240px;

        display:block;

        margin:10px auto;

    }

    .hero .btn-warning{

        margin-bottom:12px;

    }


.service-card{

    margin-bottom:30px;

}

.project-card{

    margin-bottom:30px;

}

#about img{

    margin-bottom:40px;

}

.company-title{
    font-size:20px;
}

.logo{
    width:50px;
    height:50px;
}

.offcanvas{
    
    width:320px !important;

}

.navbar-toggler{
    margin-right:10px;
}

}

@media(max-width:768px){


.hero{

    min-height: 90vh;

    padding: 120px 20px 70px;

    background-position: 70% center;

}




.hero h1{

    font-size:40px;

}

.hero h4{

    font-size:18px;

}

.hero p{

    font-size:18px;

}

section h2{

    font-size:34px;

}

.stats h2{

    font-size:40px;

}

.stats .col-md-3{

    margin-bottom:35px;

}

.btn{

    width:100%;

    margin-bottom:15px;

}

.company-title{
    font-size:22px;  
}

}

@media(max-width:576px){

.hero h1{

    font-size:32px;

}

.hero p{

    font-size:16px;

}

.company-title{
    font-size:20px;  
}

section{

    padding:70px 0;

}

section h2{

    font-size:30px;

}

}

/* ===================================
        Floating WhatsApp
=================================== */

@keyframes whatsappPulse{

    0%{

        transform:scale(1);

        box-shadow:0 0 0 0 rgba(37,211,102,.6);

    }

    70%{

        transform:scale(1.05);

        box-shadow:0 0 0 15px rgba(37,211,102,0);

    }

    100%{

        transform:scale(1);

        box-shadow:0 0 0 0 rgba(37,211,102,0);

    }

}

.whatsapp-float{

    position:fixed;

    right:43px;

    bottom:125px;      /* Above the bottom edge, below the Back-to-Top button */

    width:50px;

    height:50px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:30px;

    box-shadow:0 8px 20px rgba(0,0,0,.50);

    transition:all .3s ease;

    z-index:999;

    animation:whatsappPulse 4s ease-in-out infinite;

}

.whatsapp-float:hover{

    background:#20c35a;

    color:#fff;

    transform:translateY(-5px);

}




/* ====================================
            BACK TO TOP
==================================== */

.back-to-top{

    position:fixed;

    right:45px;

    bottom:65px;

    width:45px;

    height:45px;

    border-radius:50%;

    background:var(--accent);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-size:22px;

    box-shadow:0 10px 20px rgba(0,0,0,.3);

    opacity:0;

    visibility:hidden;

    transform:translateY(2px);

    transition:.4s;

    z-index:999;

}

.back-to-top.active{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:#d88b00;

    color:#fff;

    transform:translateY(-5px);

}

/* ====================================
            NAVBAR ON SCROLL
==================================== */

.navbar.scrolled{

    background:#ffffff;

    box-shadow:0 5px 20px rgba(0,0,0,.12);

    padding:12px 0;

}


/* Reveal Animation */

.hidden{

    opacity:0;

    transform:translateY(50px);

    transition:all .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}


/* Page Fade */

body{

    opacity:0;

    transition:opacity .5s ease;

}

body.loaded{

    opacity:1;

}