/* Home page styles (moved from the original index.html) */
body{
    margin:0;
    padding:0;
    background:#f4f7fb;
    font-family:Arial, Helvetica, sans-serif;
    color:#102b55;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* HEADER */

.site-header{
    width:100%;
    background:#ffffff;
    border-bottom:1px solid #dfe5ee;
    position:sticky;
    top:0;
    z-index:999;
}

.nav-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
}

.brand img{
    height:48px;
    width:48px;
    border-radius:12px;
    object-fit:cover;
}

.brand-copy{
    display:flex;
    flex-direction:column;
}

.brand-copy strong{
    color:#102b55;
    font-size:30px;
}

.brand-copy small{
    color:#667799;
    font-size:14px;
}

.site-nav{
    display:flex;
    gap:32px;
}

.site-nav a{
    text-decoration:none;
    color:#102b55;
    font-weight:600;
    transition:0.3s;
}

.site-nav a:hover{
    color:#c89b3c;
}

/* HERO */

.hero{
    background:
    linear-gradient(rgba(0,0,0,0.62),rgba(0,0,0,0.62)),
    var(--hero-image);
    background-size:cover;
    background-position:center;
    padding:150px 0;
    color:white;
}

.hero h1{
    font-size:72px;
    margin-bottom:24px;
    line-height:1.08;
    max-width:900px;
}

.hero p{
    font-size:20px;
    max-width:900px;
    line-height:1.8;
    color:#e6edf8;
}

/* SECTION */

.section{
    padding:90px 0;
}

.projects-header{
    margin-bottom:36px;
}

.projects-header h2{
    font-size:clamp(2.8rem,5vw,4rem);
    color:#102b55;
    font-weight:900;
    margin:0;
    letter-spacing:-2px;
}

.projects-header h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    margin-top:16px;
    border-radius:30px;
    background:linear-gradient(90deg,#c89b3c,#f3d17a);
}

/* GRID */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:34px;
}

.project-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    transition:0.4s ease;
    border:1px solid #e5ebf2;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,0.14);
}

.project-image-wrap{
    width:100%;
    height:270px;
    overflow:hidden;
    display:block;
    background:#e9eef5;
}

.project-image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.5s;
}

.project-card:hover img{
    transform:scale(1.07);
}

.project-content{
    padding:28px;
}

.project-category{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#c89b3c;
    font-weight:700;
    margin-bottom:12px;
}

.project-title{
    font-size:28px;
    line-height:1.3;
    margin-bottom:14px;
    font-weight:700;
}

.project-title a{
    text-decoration:none;
    color:#102b55;
}

.project-title a:hover{
    color:#c89b3c;
}

.project-desc{
    font-size:15px;
    line-height:1.8;
    color:#5f6f8b;
}

/* FOOTER */

.site-footer{
    background:#08172f;
    color:white;
    padding:70px 0;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.site-footer h3,
.site-footer h4{
    margin-bottom:18px;
}

.site-footer p{
    color:#cfd7e4;
    line-height:1.8;
}

/* MOBILE */

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .site-nav{
        display:none;
    }

    .site-nav.open{
        display:flex;
        flex-direction:column;
        position:absolute;
        top:72px;
        right:12px;
        background:#fff;
        padding:18px;
        border-radius:22px;
        box-shadow:0 15px 40px rgba(0,0,0,.15);
        gap:18px;
        z-index:9999;
    }

    .hero{
        padding:100px 0;
    }

    .hero h1{
        font-size:44px;
    }

    .project-image-wrap{
        height:220px;
    }

}
