/* =========================================================
   ROOT
========================================================= */

:root{

    --orange:#E97E2E;
    --blue:#239CD3;
    --green:#60B044;

    --dark:#141414;
    --dark2:#1d1d1d;

    --white:#ffffff;
    --light:#F5F7FA;
    --text:#222222;
    --muted:#666666;

}


/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:var(--text);
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}


/* =========================================================
   NAVBAR
========================================================= */

header{
    position:sticky;
    top:0;
    z-index:9999;
    background:rgba(20,20,20,.97);
    backdrop-filter:blur(10px);
    box-shadow:0 5px 25px rgba(0,0,0,.2);
}

nav{
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 6%;
}

.logo img{
    height:75px;
    width:auto;
}

nav ul{
    display:flex;
    list-style:none;
    gap:32px;
    align-items:center;
}

nav ul li a{
    text-decoration:none;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

nav ul li a:hover{
    color:var(--orange);
}


/* =========================================================
   HERO
========================================================= */

.hero{

    min-height:88vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:80px 20px;

    color:white;

    background:

    linear-gradient(
        rgba(20,20,20,.78),
        rgba(20,20,20,.78)
    ),

    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1800")
    center/cover fixed;

}

.hero-content{
    max-width:1000px;
}

.hero-badge{

    display:inline-block;

    padding:9px 20px;

    border:1px solid rgba(255,255,255,.3);

    border-radius:30px;

    font-size:14px;

    letter-spacing:2px;

    margin-bottom:25px;

    background:rgba(255,255,255,.08);

}

.hero h1{

    font-size:clamp(45px,7vw,75px);

    line-height:1.05;

    margin-bottom:25px;

}

.hero h1 span{
    color:var(--orange);
}

.hero p{

    max-width:850px;

    margin:auto;

    color:#ddd;

    font-size:20px;

    line-height:1.8;

}

.buttons{

    margin-top:40px;

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:15px 30px;

    border-radius:7px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.btn1{

    background:var(--orange);

    color:#fff;

}

.btn1:hover{

    background:var(--green);

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

.btn2{

    background:transparent;

    border:2px solid #fff;

    color:#fff;

}

.btn2:hover{

    background:#fff;

    color:var(--dark);

    transform:translateY(-5px);

}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

section{
    padding:100px 7%;
}

.section-container{
    max-width:1400px;
    margin:auto;
}

.section-label{

    text-align:center;

    color:var(--blue);

    font-size:14px;

    font-weight:bold;

    letter-spacing:3px;

    margin-bottom:12px;

}

.title{

    text-align:center;

    font-size:clamp(32px,5vw,48px);

    margin-bottom:20px;

    color:var(--orange);

}

.section-intro{

    max-width:850px;

    margin:0 auto 60px;

    text-align:center;

    color:var(--muted);

    font-size:18px;

    line-height:1.8;

}


/* =========================================================
   PORTFOLIO STATS
========================================================= */

.stats{

    background:var(--dark);

    color:#fff;

}

.stats-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.stat{

    text-align:center;

    padding:30px 20px;

    border-right:1px solid #333;

}

.stat:last-child{
    border-right:none;
}

.stat h2{

    font-size:48px;

    margin-bottom:8px;

}

.stat:nth-child(1) h2{
    color:var(--orange);
}

.stat:nth-child(2) h2{
    color:var(--blue);
}

.stat:nth-child(3) h2{
    color:var(--green);
}

.stat:nth-child(4) h2{
    color:var(--orange);
}

.stat p{
    color:#bbb;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section{
    background:#f7f9fb;
}

.project{

    max-width:1250px;

    margin:0 auto 100px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.project:last-child{
    margin-bottom:0;
}


/* Alternate layout */

.project.reverse .project-image{
    order:2;
}

.project.reverse .project-content{
    order:1;
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-image{

    position:relative;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 25px 55px rgba(0,0,0,.16);

}

.project-image img{

    width:100%;

    height:430px;

    object-fit:cover;

    transition:.6s;

}

.project:hover .project-image img{

    transform:scale(1.06);

}

.project-number{

    position:absolute;

    top:20px;

    left:20px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--orange);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    font-weight:bold;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-category{

    color:var(--blue);

    font-size:14px;

    font-weight:bold;

    letter-spacing:2px;

    margin-bottom:12px;

    text-transform:uppercase;

}

.project-content h2{

    font-size:40px;

    margin-bottom:18px;

    color:var(--dark);

}

.project-content h2 span{
    color:var(--orange);
}

.project-content p{

    color:#666;

    font-size:17px;

    line-height:1.85;

    margin-bottom:20px;

}


/* =========================================================
   TAGS
========================================================= */

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:25px 0;

}

.tag{

    padding:9px 16px;

    border-radius:30px;

    color:#fff;

    font-size:13px;

    font-weight:bold;

}

.tag-orange{
    background:var(--orange);
}

.tag-blue{
    background:var(--blue);
}

.tag-green{
    background:var(--green);
}

.tag-dark{
    background:var(--dark);
}


/* =========================================================
   PROJECT BUTTONS
========================================================= */

.project-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:25px;

}

.project-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:13px 22px;

    border-radius:7px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.project-btn-primary{

    background:var(--orange);

    color:#fff;

}

.project-btn-primary:hover{

    background:var(--green);

    transform:translateY(-3px);

}

.project-btn-outline{

    border:2px solid var(--blue);

    color:var(--blue);

    background:#fff;

}

.project-btn-outline:hover{

    background:var(--blue);

    color:#fff;

    transform:translateY(-3px);

}


/* =========================================================
   PROJECT DIVIDER
========================================================= */

.project-divider{

    width:100%;

    max-width:1250px;

    height:1px;

    background:#ddd;

    margin:0 auto 100px;

}


/* =========================================================
   WHAT WE BUILD
========================================================= */

.services-section{
    background:#fff;
}

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    max-width:1200px;

    margin:auto;

}

.service-card{

    padding:35px 28px;

    border-radius:15px;

    background:#fff;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    border-top:5px solid var(--blue);

    transition:.3s;

}

.service-card:hover{

    transform:translateY(-8px);

    border-top-color:var(--orange);

}

.service-card i{

    font-size:38px;

    color:var(--orange);

    margin-bottom:20px;

}

.service-card h3{

    margin-bottom:12px;

    font-size:22px;

}

.service-card p{

    color:#666;

    line-height:1.7;

}


/* =========================================================
   TECHNOLOGIES
========================================================= */

.tech-section{
    background:#f7f9fb;
}

.tech-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    max-width:1100px;

    margin:auto;

}

.tech{

    background:#fff;

    padding:30px 20px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

}

.tech:hover{

    transform:translateY(-6px);

}

.tech i{

    font-size:42px;

    color:var(--blue);

    margin-bottom:15px;

}

.tech h3{
    font-size:18px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section{

    background:var(--dark);

    color:white;

}

.why-section .title{
    color:#fff;
}

.why-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.why-card{

    padding:30px 25px;

    background:#202020;

    border-radius:12px;

    text-align:center;

    border-bottom:4px solid var(--blue);

    transition:.3s;

}

.why-card:hover{

    transform:translateY(-8px);

    border-bottom-color:var(--orange);

}

.why-card i{

    font-size:40px;

    color:var(--orange);

    margin-bottom:20px;

}

.why-card h3{

    margin-bottom:12px;

}

.why-card p{

    color:#bbb;

    line-height:1.7;

}


/* =========================================================
   FOUNDER
========================================================= */

.founder{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:70px;

    align-items:center;

    max-width:1100px;

    margin:auto;

}

.founder-image img{

    width:100%;

    height:500px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

}

.founder-content h2{

    font-size:40px;

    color:var(--orange);

    margin-bottom:10px;

}

.founder-content h4{

    color:var(--blue);

    margin-bottom:25px;

}

.founder-content p{

    color:#666;

    line-height:1.9;

    font-size:17px;

    margin-bottom:18px;

}


/* =========================================================
   CTA
========================================================= */

.cta{

    background:

    linear-gradient(
        rgba(20,20,20,.94),
        rgba(20,20,20,.94)
    ),

    url("https://images.unsplash.com/photo-1552664730-d307ca884978?w=1800")
    center/cover;

    color:white;

    text-align:center;

}

.cta h2{

    font-size:clamp(32px,5vw,50px);

    color:var(--orange);

    margin-bottom:20px;

}

.cta p{

    max-width:850px;

    margin:auto;

    color:#ccc;

    font-size:19px;

    line-height:1.8;

}


/* =========================================================
   FOOTER
========================================================= */

footer{

    background:#000;

    color:#fff;

    padding:65px 7% 30px;

}

.footer-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-logo{

    height:85px;

}

footer h2{

    color:var(--orange);

    margin:15px 0;

}

footer h3{

    color:var(--blue);

    margin-bottom:20px;

}

footer p{

    color:#aaa;

    line-height:1.8;

}

.footer-links{

    list-style:none;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#bbb;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--orange);

}

.footer-projects a{

    display:block;

    color:#bbb;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;

}

.footer-projects a:hover{

    color:var(--green);

}

.footer-bottom{

    max-width:1300px;

    margin:45px auto 0;

    padding-top:25px;

    border-top:1px solid #333;

    text-align:center;

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:1000px){

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stat:nth-child(2){
        border-right:none;
    }

    .project{
        grid-template-columns:1fr;
        gap:35px;
    }

    .project.reverse .project-image{
        order:1;
    }

    .project.reverse .project-content{
        order:2;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .tech-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .founder{
        grid-template-columns:1fr;
        max-width:700px;
    }

    .founder-image img{
        height:450px;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}


@media(max-width:700px){

    nav{
        flex-direction:column;
        gap:12px;
    }

    nav ul{
        gap:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .logo img{
        height:65px;
    }

    section{
        padding:70px 5%;
    }

    .hero{
        min-height:80vh;
        background-attachment:scroll;
    }

    .hero p{
        font-size:17px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .stat{
        border-right:none;
        border-bottom:1px solid #333;
    }

    .stat:last-child{
        border-bottom:none;
    }

    .project{
        margin-bottom:65px;
    }

    .project-image img{
        height:300px;
    }

    .project-content h2{
        font-size:31px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .tech-grid{
        grid-template-columns:1fr 1fr;
    }

    .why-grid{
        grid-template-columns:1fr;
    }

    .founder-content h2{
        font-size:32px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        text-align:center;
    }

}
