
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h3{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;    
}


a{
    text-decoration: none;
    color: #1f2937;
}

img{
    object-fit: cover;
}


.btn{
    border: 1px solid transparent;
    background: #1f2937;
    color: #faf9f9;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.5s ease;
    letter-spacing: 1px;
}

.btn:hover{
    color: black;
    background: white;
    border: 1px solid orangered;
}

.btn--secondary{
    color: #ffff;
    background: orangered;
}


.hero__socials a:hover{
    border-color: orangered;
    background: orangered;
    color: white;

}

.hero__socials a:hover img {
    filter: invert(100);
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
}

.navbar__logo{
    height: 70px;
    border-radius: 50%;
    color: #fff
}


nav .checkbox{
    display: none;
}

nav input{
    display: none;
}

nav .checkbox i{
    font-size: 2rem;

}

.ri-external-link-line:hover{
    color: orangered;

}

.navbar__menu{
    display: flex;
    gap: 1rem;
transition: left 0.3s;
}
.navbar__link{
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    /*transition: all 0.5s ease;*/
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    text-decoration: none;
    color: #ffff;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

    
}

.navbar__link:hover{
    border-top-color: orangered;
    border-bottom-color: orangered;
}

.navbar__actions{
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid transparent;
    color: #fff;
    padding: 5px;
}


.navbar__location h5{
    font-weight: 500;
    color: orangered;
    font-size: 12px;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.navbar__location p{
    font-size: 11px;
    font-weight: 600;
}

.hero{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 60px;
    gap: 60px;
    height: calc(100vh - 75px);
    background-color:  rgba(241, 241, 241);
}
.hero__intro{
    padding-right: 100;
}

.subtitle{
    letter-spacing: 2px;
    color: #6b7280;
    font-weight: 600;
}

.hero__intro h3{
    font-weight: 100;
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 10px;
    color: #1f2937;
}

.hero__intro p{
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 20px;
}
h1{
    margin-bottom: 1px;
    font-size:50px ;
    color: #1f2937;
    font-weight: 100;
    line-height: 60px;
    font-size: 60px;
}

.title span{
    font-weight: 600;
    color: orangered;
}

.hero__content,
.hero__intro{
    width: 50%;
    margin-left: 30px;
}

.hero__image{
    width: 400px;
    height: 400px;
    border-radius: 200px;
    position: relative;
}


.hero__actions,
.skills__actions{
    display: flex;
    gap: 10px;
}

.hero__actions .btn,
.skills__actions .btn{
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 500;
}

.hero__socials{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: 30px;
    top: 40%;
}

.hero__socials a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid orangered;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.hero__socials a img{
    height: 20px;
    width: auto;
}

hr{
    border: dotted #1f2937 6px;
    border-bottom: none;
    width: 4%;
    margin: 5px auto;
}

.skills{
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #F1F0E9;
}

.skills__desc,
.skills__stats,
.skills__techstack{
    width: 50%;
}
.skills__techstack{
    display: inline-block;
}

.skills__techstack p{
    margin-bottom: 40;
    font-weight: 14px;
    color: #7a7a7a;
    font-size: 14px;
}

.skills__actions{
    margin-top: 20px;
}

.skills__techstack h3{
    font-size: 40px;
    margin-bottom: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;   
}

.skills__desc{
    padding-right: 80px;
}

.skills__desc h3{
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;   
}

.skills__desc p{
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}


.skills__stats{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    
}

.skill__info{
    background: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.skill__info h5{
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill__info p{
    width: 50%;
    text-align: center;
    font-size: 14px;
    color: #7a7a7a;
    font-weight: 500;
}

.showcase{
    padding: 80px 60px 100px;
    background: #F1F0E9;
}

.showcase__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    font-family: lora, sans-serif
}

.showcase__header h3{
    font-size: 28px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;   
}

.showcase_categories .category{
    margin-bottom: 100px;
}

.category__header{
    display: flex;
    align-items: center;
}

.category__title,
.category__desc{
    width: 50%;
    display: flex;
    align-items: center;
}

.category__title{
    gap: 12px;
}

.category__title h4{
    font-size: 22px;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.category__title i{
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category__desc{
    gap: 40px;
    justify-content: space-between;
}

.category__desc p{
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.category__desc a{
    font-size: 22px;
}

.category__projects{
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.project-card{
    position: relative;
    width: 25%;
    height: 420px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card__image{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-position: top center;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
    object-fit: cover;
}

.project-card__info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.project-card__info h5{
    font-size: 17px;
    font-weight: 500;
}

.project-card__info p{
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.project-card__desc{
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 30px;
}

.project-card .btn{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px 20px;
    border-radius: 16px 0 10px 0;
    border: none;
    color: #fff;
    background: orangered;
}

.project-card .btn:hover{
    background: black;
}

.career{
    padding: 60px 60px 80px;
    display: flex;
    gap: 100px;
}

.career__jobs,
.career__certificates{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career h3{
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;   
}

.job,
.certificate{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.job i,
.certificate div i{
    font-size: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate{
    justify-content: space-between;
}

.certificate > div{
    display: flex;
    align-items: center;
    gap: 20px;
}

.job__info h5,
.certificate__info h5{
    font-size: 15px;
    font-weight: 500;
}

.job__info h5 span,
.certificate__info h5 span{
    font-weight: 600;
}

.job__info p,
.certificate__info p{
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.certificate a i{
    font-size: 24px;
}

.contact{
    text-align: center;
    padding: 60px;
    background-color: rgba(0, 0, 0, 0.8);
}

.contact h5{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #fff;
}

.contact .btn{
    padding: 6px 20px;
    color: #fff;
    background: orangered;
    margin-bottom: 14px;
    margin-left: 10px;
}

.contact .btn:hover{
    background-color: #1f2937;
}

.contact p{
    color: #f7f8fa;
    font-size: 14px;
    font-weight: 500;
}

.contact p span{
    color: #f3f5f8;
    font-weight: 600;
    font-size: 13px;
}

.footer{
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__brand{
    display: flex;
    align-items: flex-end;
    align-items: center;
    gap: 30px;
}

.footer__logo {
    height: 80px;
}

.footer__brand p{
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.icon__img{
    height: 50px;
    margin: 0 auto;
}

.skills__icons{
    height: 50px;
    justify-self: center;
    align-self: center;
    
}

.skills__pictures{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    width: 50%;
}

.skills__pictures img{
    filter: grayscale(100%);
}

section > div {
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 10px 0;
}

section > div.show {
    opacity: 1;
    transform: translateY(0);
}



/* Responsive */
/* Mobile Responsive CSS */
@media only screen and (max-width: 767px) {
    /* Navigation Bar */
    .navbar {
        padding: 15px 20px;
        position: relative;
    }

    .navbar__logo {
        height: 50px;
    }

    nav .checkbox {
        display: block;
        cursor: pointer;
        color: #fff;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .navbar__menu {
        position: fixed;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        left: -100%;
        top: 75px;
        padding: 20px 0;
        text-align: center;
        z-index: 100;
    }

    #check:checked ~ .navbar__menu {
        left: 0;
    }

    .navbar__link {
        display: block;
        margin: 10px 0;
        padding: 10px 0;
    }

    .navbar__actions {
        display: none;
    }

    /* Hero Section */
    .hero {
        flex-direction: column-reverse;
        padding: 40px 20px;
        text-align: center;
        height: auto;
        gap: 30px;
    }

    .hero__content,
    .hero__intro {
        width: 100%;
        margin-left: 0;
    }

    .hero__image {
        width: 250px;
        height: 250px;
    }

    h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .hero__intro h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero__socials {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }

    /* Skills Section */
    .skills {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .skills__desc,
    .skills__stats,
    .skills__techstack,
    .skills__pictures {
        width: 100%;
        padding-right: 0;
    }

    .skills__stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .skills__pictures {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .skill__info p {
        width: 100%;
    }

    /* Showcase Section */
    .showcase {
        padding: 40px 20px;
    }

    .category__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category__title,
    .category__desc {
        width: 100%;
        margin-bottom: 15px;
    }

    .category__projects {
        flex-direction: column;
    }

    .project-card {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    .project-card__desc {
        margin-bottom: 50px;
    }

    /* Career Section */
    .career {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .career__jobs,
    .career__certificates {
        width: 100%;
    }

    .certificate > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate a {
        margin-top: 10px;
    }

    /* Contact & Footer */
    .contact {
        padding: 40px 20px;
    }

    .contact h5 {
        font-size: 32px !important;
    }

    .contact .btn {
        margin: 10px 5px;
        display: inline-block;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer__brand {
        flex-direction: column;
        gap: 10px;
    }
}