@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    background:#ffffff;
}

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

nav{
    transition:all .3s ease;
}

nav a{
    transition:.3s ease;
}

nav ul li a{
    position:relative;
}

nav ul li a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0%;
    height:2px;
    background:#D4A017;
    transition:.3s ease;
}

nav ul li a:hover::after{
    width:100%;
}

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

#home h1{
    letter-spacing:-2px;
}

#home img{
    transition:all .5s ease;
}

#home img:hover{
    transform:scale(1.02);
}

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

a{
    transition:all .3s ease;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary:hover{
    transform:translateY(-3px);
}

/* =====================================
   SERVICE CARDS
===================================== */

.service-card{
    background:#ffffff;
    padding:30px;
    border-radius:24px;
    transition:all .35s ease;
    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.05);
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:
    0 20px 50px rgba(0,0,0,.12);
}

.service-card h3{
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:12px;
    color:#081428;
}

.service-card p{
    color:#64748b;
    line-height:1.8;
}

/* gold line */

.service-card::before{
    content:'';
    display:block;
    width:50px;
    height:4px;
    background:#D4A017;
    margin-bottom:20px;
    border-radius:50px;
}

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

#projects img{
    transition:.4s ease;
}

#projects .overflow-hidden:hover img{
    transform:scale(1.08);
}

#projects .overflow-hidden{
    transition:.35s ease;
}

#projects .overflow-hidden:hover{
    transform:translateY(-8px);
}

/* =====================================
   PARTNER CARD
===================================== */

.bg-white.shadow-xl{
    transition:.4s ease;
}

.bg-white.shadow-xl:hover{
    transform:translateY(-8px);
}

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

footer img{
    transition:.4s ease;
}

footer img:hover{
    transform:scale(1.05);
}

/* =====================================
   WHATSAPP
===================================== */

.fixed.bottom-6.right-6{
    animation:floatButton 3s ease infinite;
}

@keyframes floatButton{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* =====================================
   FADE IN ANIMATION
===================================== */

.fade-up{
    opacity:0;
    transform:translateY(20px);

    transition:
    opacity .35s ease,
    transform .35s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

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

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#081428;
}

::-webkit-scrollbar-thumb{
    background:#D4A017;
    border-radius:50px;
}

/* =====================================
   MOBILE
===================================== */

@media(max-width:992px){

    #home{

        text-align:center;
    }

    #home h1{
        font-size:3.5rem !important;
    }

}

@media(max-width:768px){

    #home h1{
        font-size:2.8rem !important;
        line-height:1.1;
    }

    #home p{
        font-size:1rem;
    }

    h2{
        font-size:2.3rem !important;
    }

    .service-card{
        padding:22px;
    }

}

@media(max-width:480px){

    #home h1{
        font-size:2.3rem !important;
    }

    .fixed.bottom-6.right-6{
        width:60px;
        height:60px;
    }

}

/* =====================================
   SERVICES IMAGE CARDS
===================================== */

.service-image-card{
    position:relative;
    height:320px;
    border-radius:24px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    cursor:pointer;
    transition:.4s ease;
}

.service-image-card:hover{
    transform:translateY(-8px);
}

.service-overlay{
    position:absolute;
    inset:0;
    background:rgba(8,20,40,.35);
    transition:.3s ease;
}

.service-image-card:hover .service-overlay{
    background:rgba(8,20,40,.6);
}

.service-content{
    position:absolute;
    bottom:30px;
    left:25px;
    right:25px;
    z-index:2;
    color:white;
}

.service-content h3{
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:10px;
}

.service-content p{
    line-height:1.7;
    opacity:.95;
}

/* =====================================
   WHY CHOOSE US
===================================== */

.why-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:28px;

    display:flex;
    align-items:center;
    gap:18px;

    transition:.35s ease;
}

.why-card:hover{
    transform:translateY(-6px);

    border-color:#D4A017;

    background:rgba(212,160,23,.08);

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

.why-card img{
    width:48px;
    height:48px;
    object-fit:contain;
    flex-shrink:0;
}

.why-card span{
    font-size:1.05rem;
    font-weight:600;
    line-height:1.5;
}

/* =====================================
   MOBILE IMPROVEMENTS
===================================== */

@media(max-width:768px){

    .service-image-card{
        height:280px;
    }

    .service-content{
        left:20px;
        right:20px;
        bottom:20px;
    }

    .service-content h3{
        font-size:1.2rem;
    }

    .why-card{
        padding:22px;
    }

    .why-card img{
        width:42px;
        height:42px;
    }

}

@media(max-width:480px){

    .service-image-card{
        height:240px;
    }

    .why-card{
        gap:14px;
        padding:18px;
    }

    .why-card span{
        font-size:.95rem;
    }

}

.fixed.bottom-6.right-6 img{
    transition:.3s ease;
}

.fixed.bottom-6.right-6:hover img{
    transform:scale(1.1);
}

html{
    scroll-behavior:smooth;
}

section[id]{
    scroll-margin-top:96px;
}

/* CONSULTATION MODAL */

#consultationModal{

    overflow:hidden;

}

#consultationModal{
    backdrop-filter:blur(6px);
}

#consultationModal input,
#consultationModal textarea{

    width:100%;
    border:1px solid #e2e8f0;

    transition:.3s ease;
}

#consultationModal input:focus,
#consultationModal textarea:focus{

    outline:none;

    border-color:#D4A017;

    box-shadow:0 0 0 4px rgba(212,160,23,.15);

}

.modal-content{

    max-height:90vh;

    overflow-y:auto;

}

@media(max-width:768px){

    #consultationForm{

        gap:12px;
    }

    #consultationForm button,
    #consultationForm a{

        padding:14px;

        font-size:1rem;
    }

}

#mobileMenuBtn{
    display:none;
}

@media(max-width:1024px){
    #mobileMenuBtn{
        display:flex;
    }
}

#mobileMenuBtn{

    display:none;

    width:42px;
    height:42px;

    align-items:center;
    justify-content:center;

    font-size:1.5rem;

    color:#081428;

    transition:.3s ease;
}

@media(max-width:1024px){

    #mobileMenuBtn{

        display:flex;

    }

}

@media(max-width:768px){

    .top-contact-bar{
        display:none;
    }

}

html,
body {
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

body {
    padding-top: 96px;
}