/* ==========================
   GLOBAL
========================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#0b0b0d;

    color:#f5f5f5;

    line-height:1.7;

    overflow-x:hidden;

}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.container{

    width:min(1150px,90%);
    margin:auto;

}


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

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    backdrop-filter:blur(20px);

    background:rgba(11,11,13,.75);

    border-bottom:1px solid rgba(255,255,255,.06);

}

.nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    font-size:1.5rem;

    font-weight:700;

    letter-spacing:.5px;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    color:#bcbcbc;

    transition:.3s;

    font-weight:500;

}

nav a:hover{

    color:white;

}


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

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.15fr .85fr;

    gap:90px;

    align-items:center;

}

.small-text{

    color:#7aa8ff;

    font-weight:600;

    letter-spacing:2px;

    margin-bottom:20px;

}

.hero h1{

    font-size:4.5rem;

    line-height:1.08;

    font-weight:800;

    margin-bottom:30px;

}

.hero-description{

    max-width:580px;

    color:#b5b5b5;

    font-size:1.1rem;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-bottom:35px;

}

.primary-btn{

    background:white;

    color:#111;

    padding:15px 34px;

    border-radius:100px;

    font-weight:600;

    transition:.3s;

}

.primary-btn:hover{

    transform:translateY(-3px);

}

.secondary-btn{

    border:1px solid #444;

    color:white;

    padding:15px 34px;

    border-radius:100px;

    transition:.3s;

}

.secondary-btn:hover{

    border-color:white;

}

.socials{

    display:flex;

    gap:20px;

}

.socials a{

    font-size:1.3rem;

    color:#999;

    transition:.3s;

}

.socials a:hover{

    color:white;

}

.hero-right{

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:420px;

    aspect-ratio:1;

    object-fit:cover;

    border-radius:28px;

    box-shadow:

    0 20px 60px rgba(0,0,0,.55);

}


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

section{

    padding:120px 0;

}

.section-heading{

    margin-bottom:70px;

}

.section-heading p{

    color:#7aa8ff;

    font-size:.9rem;

    letter-spacing:3px;

    margin-bottom:10px;

}

.section-heading h2{

    font-size:3rem;

}


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

.project{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

    margin-bottom:130px;

}

.project.reverse{

    direction:rtl;

}

.project.reverse *{

    direction:ltr;

}

.project-image{

    overflow:hidden;

    border-radius:24px;

}

.project-image img{

    transition:.6s;

}

.project:hover img{

    transform:scale(1.04);

}

.project-content span{

    color:#7aa8ff;

    font-weight:600;

}

.project-content h3{

    font-size:2.3rem;

    margin:18px 0;

}

.project-content p{

    color:#b5b5b5;

    margin-bottom:25px;

}

.project-content a{

    color:white;

    font-weight:600;

}


/* ==========================
TIMELINE
========================== */

.timeline{

    background:#111215;

}

.timeline-item{

    border-left:2px solid #2f2f2f;

    padding-left:35px;

    margin-bottom:50px;

    position:relative;

}

.timeline-item::before{

    content:"";

    width:16px;

    height:16px;

    border-radius:50%;

    background:#7aa8ff;

    position:absolute;

    left:-9px;

    top:8px;

}

.timeline-item h3{

    margin-bottom:10px;

    font-size:1.5rem;

}

.timeline-item p{

    color:#b5b5b5;

}


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

.about{

    text-align:center;

}

.about-text{

    max-width:850px;

    margin:auto;

    font-size:1.1rem;

    color:#b8b8b8;

}


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

footer{

    padding:110px 0;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

    font-size:3rem;

    margin-bottom:20px;

}

footer p{

    color:#999;

}

footer>a{

    display:inline-block;

    color:white;

    font-size:1.4rem;

    margin:25px 0;

}

.footer-icons{

    display:flex;

    justify-content:center;

    gap:30px;

    margin:30px 0;

}

.footer-icons a{

    color:white;

    font-size:1.4rem;

}

.copyright{

    margin-top:40px;

    color:#666;

}


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

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#444;

    border-radius:20px;

}


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

@media(max-width:1000px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-description{

margin:auto auto 40px;

}

.hero-buttons{

justify-content:center;

}

.socials{

justify-content:center;

}

.hero-right{

margin-top:50px;

}

.project{

grid-template-columns:1fr;

gap:40px;

margin-bottom:90px;

}

.project.reverse{

direction:ltr;

}

nav{

display:none;

}

.hero h1{

font-size:3rem;

}

.section-heading h2{

font-size:2.3rem;

}

footer h2{

font-size:2.2rem;

}

.hero-right img{

width:320px;

}

}
