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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f5f7fa;
    color:#333;
}

/* HERO */

.hero{
    min-height:100vh;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px;

    background:linear-gradient(
        135deg,
        #215B63,
        #2F8891
    );

    color:white;
}

.profile-pic{

    width:220px;
    height:220px;

    border-radius:50%;

    object-fit:cover;

    object-position:center 30%;

    border:6px solid white;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

    margin-bottom:25px;
}

.hero h1{
    font-size:70px;
    margin-bottom:10px;
}

.hero h2{
    font-weight:300;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    font-size:18px;
    line-height:1.8;
}

.hero-buttons{
    margin-top:35px;
}

.btn-primary,
.btn-secondary{

    display:inline-block;

    padding:15px 30px;

    margin:10px;

    border-radius:50px;

    text-decoration:none;

    transition:.3s;
}

.btn-primary{
    background:white;
    color:#215B63;
    font-weight:600;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.btn-primary:hover,
.btn-secondary:hover{
    transform:translateY(-4px);
}

/* SECTION */

.section{
    padding:80px 10%;
    text-align:center;
}

.section h2{
    font-size:42px;
    color:#215B63;
    margin-bottom:30px;
}

.about-text{
    max-width:900px;
    margin:auto;
    line-height:1.8;
    font-size:18px;
}

/* SKILLS */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.card{

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    font-weight:600;
}

/* PROJECTS */

.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.project-card{

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.project-card:hover{
    transform:translateY(-8px);
}

.project-card h3{
    margin-bottom:15px;
    color:#215B63;
}

/* CONTACT */

.contact{
    background:#215B63;
    color:white;
}

.contact h2{
    color:white;
}

.socials{
    margin-top:20px;
}

.socials a{

    color:white;

    font-size:30px;

    margin:0 15px;

    text-decoration:none;
}

/* MOBILE */

@media(max-width:768px){

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

    .hero h2{
        font-size:20px;
    }

    .profile-pic{
        width:170px;
        height:170px;
    }

}