/* ===================================
   RESET
=================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:#EAF5FF;

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

    color:#35506A;

}

/* ===================================
   NAVIGATION
=================================== */

nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:75px;

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    box-shadow:0 4px 15px rgba(0,0,0,.05);

    z-index:1000;

}

.logo{

    font-family:'Space Grotesk',sans-serif;

    font-size:28px;

    font-weight:700;

    color:#1E4E8C;

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    text-decoration:none;

    color:#5A718A;

    font-size:16px;

    font-weight:500;

    position:relative;

    transition:0.3s;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#2F6FED;

    transition:0.3s;

}

nav ul li a:hover::after{

    width:100%;

}

nav ul li a.active{

    color:#1E4E8C;

    font-weight:700;

}

nav ul li a.active::after{

    width:100%;

}

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

.about{

    width:70%;

    max-width:850px;

    margin:130px auto 80px;

}

.about h1{

    font-family:'Space Grotesk',sans-serif;

    font-size:38px;

    color:#1E4E8C;

    margin-bottom:35px;

}

.about p{

    font-size:17px;

    line-height:1.9;

    margin-bottom:28px;

    color:#4F6780;

    text-align:justify;

}

/* Highlight */

.highlight{

    color:#000000;

    font-weight:600;

}

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

@media(max-width:900px){

.about{

    width:90%;

}

.about h1{

    font-size:32px;

}

.about p{

    font-size:16px;

}

nav{

    padding:0 25px;

}

nav ul{

    gap:18px;

}

}

@media(max-width:650px){

nav{

    flex-direction:column;

    height:auto;

    padding:18px;

}

nav ul{

    margin-top:15px;

    flex-wrap:wrap;

    justify-content:center;

}

.about{

    margin-top:160px;

}

.about h1{

    font-size:28px;

}

.about p{

    font-size:15px;

}

}
/* ===================================
   SELECTED PROJECTS & WORKS
=================================== */

.works{

    width:75%;

    max-width:1000px;

    margin:20px auto 100px;

}

.works h2{

    font-family:'Space Grotesk',sans-serif;

    font-size:30px;

    color:#1E4E8C;

    margin-bottom:10px;

}

.works-intro{

    color:#617D99;

    font-size:16px;

    line-height:1.7;

    margin-bottom:30px;

}


/* ===================================
   WORK GRID
=================================== */

.works-grid{

    display:grid;

    grid-template-columns:repeat(2, 1fr);

    gap:20px;

}


/* ===================================
   WORK CARD
=================================== */

.work-card{

    display:block;

    text-decoration:none;

    background:white;

    border-radius:14px;

    padding:25px;

    border:1px solid #DCEEFF;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    transition:.35s;

}

.work-card:hover{

    transform:translateY(-6px);

    border-color:#2F6FED;

    box-shadow:0 15px 30px rgba(47,111,237,.13);

}


/* ===================================
   CATEGORY
=================================== */

.work-category{

    display:inline-block;

    background:#EAF5FF;

    color:#2F6FED;

    font-size:12px;

    font-weight:600;

    padding:6px 12px;

    border-radius:20px;

    margin-bottom:14px;

}


/* ===================================
   TITLE
=================================== */

.work-card h3{

    font-family:'Space Grotesk',sans-serif;

    font-size:20px;

    color:#1E4E8C;

    margin-bottom:12px;

}


/* ===================================
   DESCRIPTION
=================================== */

.work-card p{

    font-size:14px;

    line-height:1.7;

    color:#617D99;

    margin-bottom:20px;

}


/* ===================================
   VIEW PROJECT
=================================== */

.view-project{

    font-size:14px;

    font-weight:600;

    color:#2F6FED;

    transition:.3s;

}

.work-card:hover .view-project{

    letter-spacing:.3px;

}


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

.all-projects{

    text-align:center;

    margin-top:35px;

}

.all-projects a{

    display:inline-block;

    text-decoration:none;

    background:#1E4E8C;

    color:white;

    padding:12px 24px;

    border-radius:25px;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.all-projects a:hover{

    background:#2F6FED;

    transform:translateY(-2px);

}


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

@media(max-width:800px){

    .works{

        width:88%;

    }

    .works-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:600px){

    .works h2{

        font-size:26px;

    }

}
