*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0a0a0f;
    color:white;
}

/* NAVBAR */
header{
    position:fixed;
    width:100%;
    top:0;
    padding:20px 10%;
    display:flex;
    justify-content:space-between;
    background:rgba(17, 24, 39, 0.7);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(168,85,247,0.2);
   box-shadow: 0 5px 20px rgba(168,85,247,0.25);
    z-index:100;
}

nav a{
    margin-left:30px;
    text-decoration:none;
    color:white;
     font-weight:600; 
}

nav a:hover{
    color:#a855f7;
}
nav a.active{
    color:#a855f7;
    border-bottom:2px solid #a855f7;
}

/* SECTIONS */

section{
   padding:100px 10% 60px;
}

/* HOME */
.home{
    
    position:relative;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    overflow:hidden;
 
  
}


.home-content,
.home-img{
    position:relative;
    z-index:1;
}
.home h1{
    font-size:64px;
    font-weight:700;
    background: linear-gradient(90deg, #ffffff, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.home-content p{
    max-width:600px;
    line-height:1.8;
    font-size:16px;
    color:#cfcfcf;
    margin:20px 0 30px;
}
.home span{
    color:#a855f7;
}
.profile-card{
    width:450px;
    height:350px;
    border-radius:25px;
    overflow:hidden;
    transform:rotate(3deg);
    transition:0.4s ease;
    box-shadow:
        0 0 60px rgba(168,85,247,0.4),
        0 0 120px rgba(168,85,247,0.2);
}

.profile-card:hover{
    transform:rotate(0deg) scale(1.05);
    box-shadow:
        0 0 80px rgba(168,85,247,0.6),
        0 0 140px rgba(168,85,247,0.3);
}

.profile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
  
}


.hero-buttons{
    margin-top:20px;
    display:flex;
    gap:15px;
}

.btn.outline{
    background:transparent;
    border:2px solid #a855f7;
}
.btn{
    display:inline-block;
    padding:12px 30px;
    background:linear-gradient(90deg,#a855f7,#9333ea);
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:0.3s ease;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(168,85,247,0.5);
}


/* ABOUT SECTION */

.about-card{
    width:450px;
    height:350px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 0 40px rgba(168,85,247,0.4);
    transition:0.4s ease;
}

.about-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:20px;
}

.about-card:hover{
    transform:scale(1.05);
    box-shadow:0 0 60px rgba(168,85,247,0.7);
}
.about-img{
    position:relative;
}

.about-img::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    background:radial-gradient(circle,#a855f7 0%,transparent 70%);
    filter:blur(90px);
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:-1;
}
/* ABOUT TITLE BIG */
.about-title{
    font-size:55px;
    font-weight:700;
    margin-bottom:10px;
}

/* SUBTITLE SMALLER */
.about-subtitle{
    font-size:22px;
    font-weight:800;
    color:#aaa;
    margin-bottom:20px;
}
.about-title span{
    color:#a855f7;
}

.about-subtitle{
    letter-spacing:1px;
}
.about-content span{
    color:#a855f7;
}

.about-content h3{
    margin:15px 0;
    font-size:22px;
}

.about-content p{
    color:#ccc;
    line-height:1.6;
    margin-bottom:20px;
}


/* ===== ABOUT SECTION LAYOUT FIX ===== */

.about{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

/* Left side image */
.about-img{
    flex:1;
    display:flex;
    justify-content:center;
}

/* Right side text */
.about-content{
    flex:1;
}


/* SERVICES */
.services h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.services h2 span{
    color:#a855f7;
}

.service-container{
    display:flex;
    gap:40px;
    justify-content:center;
    flex-wrap:wrap;
}

.service-box{
    flex:1 1 300px;
    padding:40px;
    background:#111;
    border-radius:20px;
    transition:0.4s ease;
    text-align:left;
    border:1px solid rgba(168,85,247,0.2);
    box-shadow:0 0 20px rgba(168,85,247,0.15);
}

.service-box i{
    font-size:35px;
    color:#a855f7;
    margin-bottom:20px;
}

.service-box h3{
    font-size:22px;
    margin-bottom:15px;
}

.service-box p{
    color:#ccc;
    line-height:1.6;
}

/* Purple Glow Hover */
.service-box:hover{
    transform:translateY(-12px);
    box-shadow:0 0 35px rgba(168,85,247,0.6);
    border:1px solid #a855f7;
}


/* SKILLS */

.skills h2{
    text-align:center;
    font-size:40px;
    margin-bottom:60px;
}
.technical-skills h3{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:5px;
    border-bottom:2px solid #a855f7;
    width:fit-content;
    margin-left:auto;
    margin-right:auto;
}
.skills h2 span{
    color:#a855f7;
}

.skills-container{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:100px;
}

/* Left Side */
.technical-skills{
    width:45%;
}

/* Right Side */
.professional-skills{
    width:45%;
}

/* Technical Skills */
.skill-bar{
    margin-bottom:30px;
}

.skill-bar .info{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:6px;
    font-size:15px;
}

.skill-bar .info i{
    margin-right:8px;
    font-size:16px;
}

/* Keep original icon colors */
.fa-html5{ color:#e34c26; }
.fa-css3-alt{ color:#264de4; }
.fa-js{ color:#f0db4f; }
.fa-php{ color:#8993be; }
.fa-database{ color:#4db33d; }

.bar{
    width:100%;
    height:6px;
    background:#2a2a2a;
    border-radius:6px;
    overflow:hidden;
}

.bar span{
    display:block;
    height:100%;
    background:#a855f7;
    border-radius:6px;
}



/* Professional Skills */

.professional-skills{
    flex:1;
}

.professional-skills h3{
    margin-bottom:30px;
    padding-bottom:5px;
    border-bottom:2px solid #a855f7;
    width:fit-content;
    margin-left:auto;
    margin-right:auto;
}

.circle-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}
.skill-circle{
    width:140px;
    height:140px;
    position:relative;
    margin:auto;
    text-align:center;
}

.skill-circle svg{
    width:140px;
    height:140px;
    transform:rotate(-90deg);
}

.skill-circle circle{
    fill:none;
    stroke-width:10;
    stroke-linecap:round;
}

.skill-circle .bg{
    stroke:#222;
}

.skill-circle .progress{
    stroke:#a855f7;
    stroke-dasharray:440;
    stroke-dashoffset:calc(440 - (440 * var(--percent)) / 100);
    transition:1s ease;
}

.skill-circle .number{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-weight:bold;
}

@media(max-width:768px){
    .skills-container{
        flex-direction:column;
        gap:50px;
    }
}

/* PROJECTS */

/* ===== PROJECT SECTION ===== */

.projects h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.projects h2 span{
    color:#a855f7;
}

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
}

.project-card{
    background:#111;
    border-radius:15px;
    overflow:hidden;
    transition:0.4s ease;
    border:1px solid rgba(168,85,247,0.2);
}

.project-card img{
     width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    transition:0.4s ease;
}

.project-content{
    padding:20px;
}

.project-content h3{
    margin-bottom:10px;
    font-size:20px;
}

.project-content p{
    font-size:14px;
    color:#ccc;
    margin-bottom:10px;
    line-height:1.5;
}

.tech{
    display:block;
    font-size:12px;
    color:#a855f7;
    margin-bottom:15px;
}

.project-links a{
    display:inline-block;
    padding:6px 14px;
    margin-right:10px;
    background:#a855f7;
    color:white;
    text-decoration:none;
    border-radius:20px;
    font-size:12px;
    transition:0.3s ease;
}

.project-links a:hover{
    box-shadow:0 0 15px #a855f7;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(168,85,247,0.6);
}

.project-card:hover img{
    transform:scale(1.1);
}


/* CONTACT */

/* ===== CONTACT PREMIUM DESIGN ===== */

.contact h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.contact h2 span{
    color:#a855f7;
}

.contact-wrapper{
    display:flex;
    gap:50px;
    align-items:stretch;
    justify-content:center;
    flex-wrap:wrap;
}

/* Left Info Card */
.contact-info-card{
    flex:1;
    min-width:280px;
    padding:40px;
    background:rgba(255,255,255,0.05);
    border-radius:20px;
    backdrop-filter:blur(15px);
    border:1px solid rgba(168,85,247,0.2);
    box-shadow:0 0 30px rgba(168,85,247,0.2);
}

.contact-info-card h3{
    margin-bottom:15px;
}

.contact-info-card p{
    color:#ccc;
    margin-bottom:25px;
}

.info-item{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.info-item i{
    color:#a855f7;
    font-size:18px;
}

/* Right Form Card */
.contact-form-card{
    flex:1;
    min-width:280px;
    padding:40px;
    background:#111;
    border-radius:20px;
    border:1px solid rgba(168,85,247,0.2);
    box-shadow:0 0 30px rgba(168,85,247,0.2);
}

/* Floating Input */
.input-group{
    position:relative;
    margin-bottom:25px;
}

.input-group input,
.input-group textarea{
    width:100%;
    padding:12px;
    background:transparent;
    border:none;
    border-bottom:2px solid #444;
    color:white;
    outline:none;
    font-size:14px;
}

.input-group label{
    position:absolute;
    left:0;
    top:12px;
    color:#888;
    transition:0.3s;
    pointer-events:none;
}

.input-group input:focus,
.input-group textarea:focus{
    border-bottom:2px solid #a855f7;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label{
    top:-10px;
    font-size:12px;
    color:#a855f7;
}

/* Button */
.send-btn{
    width:100%;
    padding:12px;
    background:#a855f7;
    border:none;
    border-radius:30px;
    color:white;
    cursor:pointer;
    font-size:14px;
    transition:0.3s;
}

.send-btn:hover{
    box-shadow:0 0 20px #a855f7;
}

/* Responsive */
@media(max-width:768px){
    .contact-wrapper{
        flex-direction:column;
    }
}

@media(max-width:768px){

    .home{
        flex-direction:column;
        text-align:center;
    }

    .about{
        flex-direction:column;
        text-align:center;
    }

    .service-container{
        flex-direction:column;
    }

    .project-container{
        flex-direction:column;
    }

    .contact-wrapper{
        flex-direction:column;
    }
}