/* ========================================
   RESET
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', sans-serif;
    color:#1e1e1e;
    background:#ffffff;
    line-height:1.6;
    overflow-x:hidden;
    padding-top:90px;
}

/* ========================================
   CONTAINER
======================================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ========================================
   HEADER
======================================== */

header{
    height:90px;

    display:flex;
    align-items:center;

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:9999;

    background:rgb(255,255,255);

    border-bottom:1px solid rgba(0,0,0,0.06);

    backdrop-filter:blur(12px);
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.logo span{
    font-weight:300;
}

.logo img{
    height:40px;
    width:auto;
    display:block;
    transition:0.3s;
}

nav{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

nav a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:0.3s;
}

nav a:hover{
    opacity:0.7;
}

/* ========================================
   HERO
======================================== */

.hero{
    width:100%;
    display:flex;
    align-items:center;
    padding-top:72px;

    position:relative;

    background-image: linear-gradient(
            to right,
            rgba(0,0,0,0.60),
            rgba(0,0,0,0.20)
        ),
        url("./assets/hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-text{
    max-width:720px;
    color:#fff;
    margin-bottom:30px;
}


.hero h1{
    font-size:clamp(42px, 6vw, 72px);
    line-height:1.1;
    letter-spacing:-2px;
}

.hero p {
    font-size: clamp(18px, 2vw, 24px);
    padding: 20px;
    max-width: 650px;
    font-weight: 400;
}



/* ========================================
   BUTTONS
======================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 32px;

    background:#111;
    color:#fff;

    text-decoration:none;

    border-radius:8px;

    transition:0.3s;
}

.btn:hover{
    transform:translateY(-2px);
    opacity:0.9;
}

/* ========================================
   SECTIONS
======================================== */

.section{
    padding:120px 0;
}

.gray{
    background:#f7f7f7;
}

.section-title{
    margin-bottom:60px;
}

.section-title h3{
    font-size:clamp(32px, 4vw, 52px);
    line-height:1.1;
}

/* ========================================
   ABOUT
======================================== */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.about-grid p{
    font-size:18px;
    color:#555;
    margin-bottom:24px;
}

.stats{
    display:grid;
    gap:24px;
}

.card{
    background:#f7f7f7;
    padding:36px;
    border-radius:16px;
}

.card h4{
    font-size:42px;
    margin-bottom:10px;
}

/* ========================================
   SERVICES
======================================== */

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.service-card{
    background:#fff;
    padding:36px;
    border-radius:16px;

    transition:0.3s;
}

.service-card:hover{
    transform:translateY(-4px);
}

.service-card h4{
    margin-bottom:16px;
    font-size:24px;
}

/* ========================================
   PROJECTS
======================================== */

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project-card{
    border:1px solid #eaeaea;
    padding:36px;
    border-radius:16px;

    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-card h4{
    margin-bottom:16px;
    font-size:24px;
}

/* ========================================
   CTA
======================================== */

.cta{
    background:#111;
    color:#fff;
    padding:120px 0;
    text-align:center;
}

.cta h3{
    font-size:clamp(36px, 5vw, 64px);
    margin-bottom:24px;
    line-height:1.1;
    letter-spacing:-2px;
}

.cta p{
    max-width:760px;
    margin:auto;
    margin-bottom:40px;

    color:#ccc;

    font-size:clamp(18px, 2vw, 24px);
}

.white{
    background:#fff;
    color:#111;
}

/* ========================================
   FOOTER
======================================== */

footer{
    padding:60px 0;
    border-top:1px solid #eaeaea;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:30px;
}

footer p{
    color:#666;
}

/* ========================================
   LARGE TABLETS
======================================== */

@media(max-width:992px){

    .hero{
        min-height:auto;
        padding:140px 0 100px;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .section{
        padding:100px 0;
    }

}

/* ========================================
   TABLETS
======================================== */

@media(max-width:768px){

    header{
        padding:18px 0;
    }

    .nav{
        flex-direction:column;
        align-items:flex-start;
    }

    nav{
        width:100%;
        justify-content:flex-start;
        gap:16px;
    }

    .hero{
        text-align:left;
        padding:120px 0 80px;
    }

    .hero h2{
        line-height:1.15;
    }

    .hero p{
        line-height:1.7;
    }

    .section{
        padding:80px 0;
    }

    .card,
    .service-card,
    .project-card{
        padding:28px;
    }

    .cta{
        padding:100px 0;
    }

}

/* ========================================
   MOBILE
======================================== */

@media(max-width:576px){

    header{
        height:72px;
        padding:0;
    }

    .container{
        width:94%;
    }

    .nav{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        gap:10px;
    }

    .logo img{
        height:32px;
    }

    nav{
        display:flex;
        flex-wrap:nowrap;
        gap:12px;
        align-items:center;
    }

    nav a{
        font-size:13px;
        white-space:nowrap;
    }

    .hero{
        padding-top:72px;
    }

}

/* ========================================
   SMALL MOBILE
======================================== */

@media(max-width:400px){

    /* =========================
       HEADER
    ========================= */

    header{
        height:64px;
        padding:0;
    }

    .container{
        width:94%;
    }

    .nav{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        gap:8px;
    }

    .logo img{
        height:26px;
    }

    nav{
        display:flex;
        flex-wrap:nowrap;
        gap:10px;
        align-items:center;
    }

    nav a{
        font-size:12px;
        white-space:nowrap;
    }

    /* =========================
       HERO
    ========================= */

    .hero{
        min-height:auto;

        padding:
        110px
        0
        70px;

        background-position:center center;
    }

    .hero-text{
        max-width:100%;
    }

    .hero h2{
        font-size:30px;
        line-height:1.12;

        letter-spacing:-1px;

        margin-bottom:20px;
    }

    .hero p{
        font-size:16px;
        line-height:1.6;

        margin-bottom:28px;
    }

    /* =========================
       BUTTON
    ========================= */

    .btn{
        width:100%;

        padding:15px 18px;

        font-size:14px;

        text-align:center;
    }

    /* =========================
       SECTIONS
    ========================= */

    .section{
        padding:70px 0;
    }

    .section-title{
        margin-bottom:34px;
    }

    .section-title h3{
        font-size:28px;
        line-height:1.15;
    }

    /* =========================
       CARDS
    ========================= */

    .card,
    .service-card,
    .project-card{
        padding:22px;
        border-radius:14px;
    }

    .card h4{
        font-size:28px;
    }

    .service-card h4,
    .project-card h4{
        font-size:20px;
    }

    /* =========================
       CTA
    ========================= */

    .cta{
        padding:80px 0;
    }

    .cta h3{
        font-size:30px;
        line-height:1.1;

        letter-spacing:-1px;
    }

    .cta p{
        font-size:16px;
    }

    /* =========================
       FOOTER
    ========================= */

    .footer-content{
        flex-direction:column;
        gap:20px;
    }

}