*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body{
    background: #050816;
    color: white;
    overflow-x: hidden;
}

/* Loader */

#loader{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #050816;
    z-index: 9999;
}

/* Header */

header{
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(5,8,22,0.8);
    backdrop-filter: blur(10px);
}

.logo{
    font-size: 32px;
    font-weight: 700;
}

.logo span{
    color: #c026d3;
}

nav{
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a{
    text-decoration: none;
    color: white;
    font-size: 17px;
    transition: 0.3s;
}

nav a:hover{
    color: #c026d3;
}

.menu-btn{
    display: none;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    background: #9333ea;
    color: white;
    cursor: pointer;
}

.dark-btn{
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(to right,#9333ea,#c026d3);
    color: white;
    cursor: pointer;
}

/* Hero */

.hero{
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 8% 100px;
    position: relative;
}

.left{
    width: 50%;
    z-index: 2;
}

.left h3{
    font-size: 25px;
    color: #cbd5e1;
}

.left h1{
    font-size: 85px;
    margin-top: 10px;
}

.left h2{
    margin-top: 15px;
    color: #c026d3;
    font-size: 40px;
}

.left p{
    margin-top: 25px;
    line-height: 35px;
    color: #cbd5e1;
    width: 90%;
}

.buttons{
    margin-top: 40px;
}

.btn{
    padding: 15px 35px;
    border: none;
    border-radius: 35px;
    background: linear-gradient(to right,#9333ea,#c026d3);
    color: white;
    cursor: pointer;
    margin-right: 15px;
    font-size: 16px;
    transition: 0.4s;
}

.btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 25px #9333ea;
}

.btn2{
    background: transparent;
    border: 1px solid #9333ea;
}

.socials{
    margin-top: 40px;
}

.socials a{
    text-decoration: none;
    color: white;
    margin-right: 20px;
    transition: 0.3s;
}

.socials a:hover{
    color: #c026d3;
}

.right{
    width: 50%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.right img{
    width: 420px;
    border-radius: 35px;
    box-shadow: 0 0 35px #9333ea;
    animation: float 4s ease-in-out infinite;
}

/* Blur */

.blur{
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.blur1{
    width: 300px;
    height: 300px;
    background: #9333ea;
    top: 100px;
    left: -100px;
}

.blur2{
    width: 350px;
    height: 350px;
    background: #c026d3;
    right: -100px;
    bottom: 50px;
}

/* Projects */

.projects{
    padding: 50px 8% 120px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.project-card{
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(10px);
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 30px #9333ea;
}

.project-card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.content{
    padding: 25px;
}

.content p{
    margin-top: 10px;
    color: #cbd5e1;
}

/* Scroll Top */

#topBtn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(to right,#9333ea,#c026d3);
    color: white;
    cursor: pointer;
    display: none;
}
a{
    text-decoration: none;
}

/* Animation */

@keyframes float{

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-20px);
    }

    100%{
        transform: translateY(0);
    }

}

/* Responsive */

@media(max-width:991px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .left{
        width: 100%;
    }

    .left p{
        width: 100%;
    }

    .right{
        width: 100%;
        margin-top: 50px;
    }

    .projects{
        grid-template-columns: repeat(2,1fr);
    }

}

@media(max-width:768px){

    .menu-btn{
        display: block;
    }

    nav{
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #111827;
        flex-direction: column;
        padding: 30px;
        display: none;
    }

    nav.active{
        display: flex;
    }

    .left h1{
        font-size: 55px;
    }

    .left h2{
        font-size: 30px;
    }

    .right img{
        width: 300px;
    }

    .projects{
        grid-template-columns: 1fr;
    }

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body{
    background: #050816;
    color: white;
}

header{
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
}

.logo{
    font-size: 32px;
    font-weight: bold;
}

.logo span{
    color: #c026d3;
}

nav a{
    color: white;
    text-decoration: none;
    margin-left: 25px;
}

nav a:hover{
    color: #c026d3;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

/* HEADER */

header{
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(5,8,22,0.8);
    backdrop-filter:blur(10px);
}

.logo{
    font-size:32px;
    font-weight:700;
}

.logo span{
    color:#c026d3;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    transition:0.3s;
    position:relative;
}

nav a::after{
    content:'';
    position:absolute;
    width:0%;
    height:2px;
    left:0;
    bottom:-5px;
    background:#c026d3;
    transition:0.4s;
}

nav a:hover::after{
    width:100%;
}

nav a:hover{
    color:#c026d3;
}

.menu-btn{
    display:none;
    padding:10px 15px;
    border:none;
    border-radius:10px;
    background:#9333ea;
    color:white;
    cursor:pointer;
}

/* BUTTON */

.btn{
    padding:15px 35px;
    border:none;
    border-radius:35px;
    background:linear-gradient(to right,#9333ea,#c026d3);
    color:white;
    cursor:pointer;
    transition:0.4s;
    margin-top:20px;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px #9333ea;
}

/* TITLE */

.title{
    text-align:center;
    margin-bottom:70px;
}

.title span{
    color:#c026d3;
    letter-spacing:3px;
}

.title h1{
    font-size:70px;
    margin-top:10px;
}

/* ABOUT */

.about{
    min-height:100vh;
    padding:150px 8% 100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-left img{
    width:100%;
    border-radius:35px;
    box-shadow:0 0 35px #9333ea;
}

.about-right span{
    color:#c026d3;
    letter-spacing:3px;
}

.about-right h1{
    font-size:65px;
    margin-top:20px;
}

.about-right p{
    margin-top:25px;
    color:#cbd5e1;
    line-height:35px;
}

.about-boxes{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.box{
    background:rgba(255,255,255,0.05);
    padding:25px;
    border-radius:20px;
    text-align:center;
    transition:0.4s;
}

.box:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #9333ea;
}

.box h2{
    font-size:35px;
    color:#c026d3;
}

.box p{
    margin-top:10px;
}

/* SKILLS */

.skills{
    min-height:100vh;
    padding:150px 8% 100px;
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.skill-card{
    background:rgba(255,255,255,0.05);
    padding:40px;
    border-radius:25px;
    transition:0.4s;
}

.skill-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #9333ea;
}

.skill-card h2{
    font-size:30px;
    color:#c026d3;
}

.skill-card p{
    margin-top:20px;
    line-height:30px;
    color:#cbd5e1;
}

/* PROJECTS */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background: #0f172a;
    color: #fff;
    margin: 0;
    padding-top: 100px;
}

/* HEADER FIX */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #111827;
}

/* PROJECT SECTION */
.projects{
    min-height: 100vh;
    padding: 80px 40px;
}

/* TITLE */
.title{
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* GRID FULL WIDTH + CARD TO */
.project-container{
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 50px;
    width: 100%;
}

/* CARD */
.project-card{
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    min-height: 540px;
    transition: 0.4s;
}

/* IMAGE */
.project-image img{
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* CONTENT */
.project-content{
    padding: 28px;
}

/* BUTTON */
.project-buttons{
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1200px){
    .project-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .project-container{
        grid-template-columns: 1fr;
    }
}

/* CONTACT */

.contact{
    min-height:100vh;
    padding:150px 8% 100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.contact-left span{
    color:#c026d3;
    letter-spacing:3px;
}

.contact-left h1{
    font-size:65px;
    margin-top:20px;
}

.contact-left p{
    margin-top:25px;
    line-height:35px;
    color:#cbd5e1;
}

.contact-info{
    margin-top:40px;
}

.contact-info p{
    margin-top:15px;
}

.contact-right form{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-right input,
.contact-right textarea{
    padding:18px;
    border:none;
    border-radius:15px;
    background:rgba(255,255,255,0.05);
    color:white;
    outline:none;
}

.contact-right textarea{
    resize:none;
    height:180px;
}

/* RESPONSIVE */

@media(max-width:992px){

    .skills-container,
    .project-container{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    nav{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#111827;
        flex-direction:column;
        padding:30px;
    }

    nav.active{
        display:flex;
    }

    .about,
    .contact{
        grid-template-columns:1fr;
    }

    .skills-container,
    .project-container,
    .about-boxes{
        grid-template-columns:1fr;
    }

    .title h1,
    .about-right h1,
    .contact-left h1{
        font-size:45px;
    }

}