@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}
body{
    background:linear-gradient(135deg,#6a1c53,#84217a);
    color:#fff;
    transition:0.4s;
}
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#ffffff;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
    z-index:1000;
}
.logo h2{
    color:#7c3aed;
}
nav ul{
    display:flex;
    list-style:none;
}
nav ul li{
    margin-left:25px;
}
nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}
nav ul li a:hover,
nav ul li a.active{
    color:#7c3aed;
}
#themeBtn{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#7c3aed;
    color:white;
    cursor:pointer;
    font-size:18px;
    transition: all 0.3 ease;
}
.home{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 8%;
    background:#ffffff;
}
.home-text{
    max-width:550px;
}
.home-text h3{
    font-size:24px;
    color:#7c3aed;
}
.home-text h1{
    font-size:55px;
    margin:15px 0;
}
.home-text p{
    line-height:1.8;
    margin-bottom:30px;
}
.home-image img{
    width:380px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(124,58,237,.25);
}
.btn{
    display:inline-block;
    background:#7c3aed;
    color:white;
    padding:12px 28px;
    border-radius:10px;
    text-decoration:none;
    transition:.3s;
}
.btn:hover{
    background:#6d28d9;
}
section{
    padding:90px 8%;
    background:#ffffff;
    color:#333;
}
.about{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    background:#ffffff;
}
.about-image img{
    width:330px;
    border-radius:20px;
}
.about-text{
    flex:1;
}
.about-text h2{
    color:#7c3aed;
    margin-bottom:20px;
}
.about-text p{
    line-height:1.8;
    margin-bottom:15px;
}
.info{
    display:flex;
    gap:20px;
    margin-top:20px;
    flex-wrap:wrap;
}
.info-card{
    background:#ffffff;
    color:#333;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    flex:1;
    min-width:150px;
    text-align:center;
}
.skills{
    background:#ffffff;
}
.skills-text{
    text-align:center;
    margin-bottom:40px;
}
.skills-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}
.skill-card{
    width:250px;
    background:#ffffff;
    color:#333;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}
.skill-card:hover{
    transform:translateY(-8px);
}
.skill-card img{
    width:70px;
    margin-bottom:15px;
}
.journey{
    background:#ffffff;
}
.journey-text{
    text-align:center;
    margin-bottom:40px;
}
.journey-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}
.journey-card{
    width:300px;
    background:#ffffff;
    color:#333;
    padding:25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}
.journey-card:hover{
    transform:translateY(-8px);
}
.gallery{
    background:#ffffff;
}
.gallery-text{
    text-align:center;
    margin-bottom:40px;
}
.gallery-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}
.gallery-card{
    background:#ffffff;
    padding:10px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}
.gallery-card img,
.gallery-card video{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:10px;
}
.contact{
    background:#ffffff;
}
.contact-container{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}
.contact-info,
.contact-form{
    flex:1;
    min-width:300px;
}
.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:10px;
}
.contact-form button{
    border:none;
    cursor:pointer;
}
footer{
    background:#7c3aed;
    color:white;
    text-align:center;
    padding:30px;
}
.social-links a{
    color:white;
    text-decoration:none;
    margin:0 10px;
}
.social-links a:hover{
    text-decoration:underline;
}
body.dark{
    background:#16131f;
    color:white;
}
body.dark header,
body.dark section,
body.dark .home,
body.dark .about,
body.dark .skills,
body.dark .journey,
body.dark .gallery,
body.dark .contact{
    background:#16131f;
    color:white;
}
body.dark nav ul li a{
    color:white;
}
body.dark .info-card,
body.dark .skill-card,
body.dark .journey-card,
body.dark .gallery-card,
body.dark .contact-form input,
body.dark .contact-form textarea{
    background:#24203a;
    color:white;
    border:1px solid #444;
}
body.dark footer{
    background:#0f0c17;
}
@media (max-width:768px){

    header{
        flex-direction:column;
        padding:15px;
    }
    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        margin-top:15px;
    }
    .home,
    .about{
        flex-direction:column;
        text-align:center;
    }
    .home-image img,
    .about-image img{
        width:260px;
    }
    .info{
        flex-direction:column;
    }
    .home-text h1{
        font-size:40px;
    }
    section{
        padding:70px 20px;
    }
}