*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins";
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

body {
    background: white;
}

header{
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
    height: 65px;
}

.logo{
    transition: 0.3s ease-in-out;
}
.logo:hover{
   transform: scale(1.1); 
}

header img {
    width: 4rem;
    padding-top: 5px;
}

.nav-links{
    display: flex;
    gap: 2rem;
}

li a{
    position: relative;
    color: white;
    font-weight: 300;
}
li a::before{
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, #ff0f7b, #f89b29);
}
li a:hover::before{
    width: 100%
}

.visit-btn{
    padding: 0.7rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 400;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: all 0.3s ease-in-out;
    /* background: linear-gradient(to right, #ff0f7b, #f89b29); */

    background-image: linear-gradient(to right, #ff0f7b, #f89b29 33.333%, #f89b29 66.666%, #ff0f7b);
    background-size: 300% 100%;
    background-position: top left;

}
.visit-btn:hover{
    /* background: linear-gradient(to right,#f89b29, #ff0f7b);
    transform: scale(1.03); */
    background-position: top left 100%;
    transform: scale(1.04);
}

#menu-icon{
    font-size: 2rem;
    display: none;
}

section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .home-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}
.home img{
    width: 30vw;
    border-radius: 10%;
    border: 1.5px solid rgba(0, 0, 0, 0.8);
}

.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.info-box h3{
    font-size: 1.8rem;
    font-weight: 500;
}
.info-box h1{
    font-size: 4rem;
    font-weight: 500;
    line-height: 65px;
}
.info-box span{
    background: linear-gradient(to right, #ff0f7b, #f89b29);
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.btn-group{
    display: flex;
    gap: 1rem;
}
.btn{
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: 400;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
    color: black;
}
.btn:hover{
    background-color: black;
    color: white;
}

.btn .fa-solid {
    font-size: 15px;
}

.social-btn {
    font-size: 2rem;
    cursor: pointer;
    /* background: linear-gradient(to right, black, black 33.333%, #ff0f7b 66.666%, #f89b29);
    background-clip: text;
    background-size: 300% 100%;
    background-position: top-left;
    color: transparent;
     */
    color: black;
    transition: all 0.2s ease-in-out;
    margin: 0 8px;
}

.social-btn:hover {
    /* background-position: top left 100%; */
    color: #fb7142;
}

.socials i {
    font-size: 2rem;
}

.section-title{
    text-align: center;
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 3rem;
}

.about-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}
.about img{
    width: 24vw;
    border-radius: 3rem;
}
.grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}
.grid-card{
    border: 2px solid black;
    border-radius: 3rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    transition: 0.2s ease-in-out;
}
.grid-card:hover{
    transform: scale(1.0);
    background-color: black;
    color: white;
}
.grid-card i{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    margin-bottom: 10px;
}

.subheading{
    font-size: 1.5rem;
    font-weight: 400;
    background: linear-gradient(to right, #ff0f7b, #f89b29);
    background-clip: text;
    color: transparent;
}

.grid-card h3 {
    font-weight: 500;
    font-size: 1.3rem;
}
.grid-card li{
    list-style-type: disc;
}

.education li{
    list-style-type: none;
    margin-bottom: 10px;
}

.education .ed-list {
    font-weight: 500;
}

::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background-color: rgb(219, 219, 219);
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #ff0f7b, #f89b29);
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem;
}
.project-card{
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 1.5rem;
    border: 2px solid black;
    border-radius: 3rem;
    transition: 0.3s ease-in-out;
}
.project-card:hover{
    background-color: black;
    color: white;
    transform: translate(-10px)scale(1.02);
}
.project-card img{
    width: 20vw;
    border-radius: 1rem;
}
.project-card:hover .btn{
    border: 2px solid white;
    color: white;
}
.project-card:hover .btn:hover{
    border: 2px solid white;
    background-color: white;
    color: black;
}
.project-card h3{
    font-size: 2rem;
    font-weight: 500;
}


/* CONTACT SECTION */

.contact-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    grid-gap: 35px;
}

.contact-link {
    font-size: 1.2rem;
    font-weight: 400;
    gap: 5px;
    color: black;
    position: relative;
}

.contact-link::before{
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 27px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, #ff0f7b, #f89b29);
}
.contact-link:hover::before{
    width: 100%
}

.contact-button button {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.7rem 1.5rem;
    border-radius: 3rem;
    border: none;
    color: white;
    transition: all 0.3s ease-in-out;
    background-image: linear-gradient(to right, #ff0f7b, #f89b29 33.333%, #f89b29 66.666%, #ff0f7b);
    background-size: 300% 100%;
    background-position: top left;
}

.contact-button button:hover {
    background-position: top left 100%;
    transform: scale(1.04);
}

/* END */
footer{
    bottom: 0;
    left: 0;
    height: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}
footer ul li a{
    color: black;
    font-weight: 400;
}
.copyright{
    font-size: 300;
    margin-top: 2rem;
}


@media(max-width:1280px){
    header{
        gap: 2rem;
    }
    .home .home-container{
        gap: 3rem;
    }
    .about-info{
        flex-direction: column;
    }
    .info-box i{
        font-size: 2.5rem;
    }
    .socials i {
        font-size: 2rem;
    }
}

@media(max-width:768px){
    header .visit-btn{
        display: none;
    }

    header #menu-icon{
        display: block;
        cursor: pointer;
    }

    .nav-links{
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%);
        margin-top: 0.5rem;
        width: 95vw;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        color: white;
        background-color: rgba(0, 0, 0, 0.95);
        border-radius: 3rem;
        display: none;
    }
    .nav-links li{
        margin: 2.8rem 0;
        cursor: pointer;
    }
    .nav-links.active{
        display:block;
    }
    header {
        display: flex;
        justify-content: space-between;
        width: 95vw;
        height: 55px;
    }
    .home-container{
        flex-direction: column;
    }
    .grid{
        grid-template-columns: repeat(1,1fr);
    }
    .about-info img{
        width: 70vw;
    }
}

@media(max-width:600px){

    .home-container img{
        width: 50vw;
    }
    footer ul{
        gap: 2rem;
    }

    section{
        padding: 4rem 10%;
    }

    .info-box h3{
        font-size: 1.4rem;
    }
    .info-box h1{
        font-size: 3.4rem;
    }
    .info-box span{
        font-size: 1.5rem;
    }

    .btn {
        font-size: 0.8rem;
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .grid-card h3, .project-card h3, .subheading {
        font-size: 1.1rem;
    }

    .grid-card li, .project-card p {
        font-size: 0.9rem;
    }

    .project-card img {
        width: 40vw;
    }

    .contact-button button, .contact-container a , .social-btn{
        font-size: 1rem;
    }

    footer {
        font-size: 0.8rem;
        margin-top: -200px;
    }
}