

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:#e2e8f0;
    line-height:1.6;
}

/* NAVBAR */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    background:#111827;
    box-shadow:0 2px 15px rgba(56,189,248,0.1);
    backdrop-filter:blur(10px);
}

.navbar{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    max-width:1400px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:45px;
    height:45px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #38bdf8;
}

.logo h2{
    color:#38bdf8;
    font-size:24px;
    font-weight:700;
    letter-spacing:-0.5px;
}

.menu-toggle{
    display:none;
    flex-direction:column;
    background:none;
    border:none;
    cursor:pointer;
    gap:5px;
}

.menu-toggle span{
    width:25px;
    height:2.5px;
    background:#38bdf8;
    border-radius:2px;
    transition:all 0.3s ease;
}

.menu-toggle.active span:nth-child(1){
    transform:rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:rotate(-45deg) translate(8px, -8px);
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:all 0.3s ease;
    font-weight:500;
    position:relative;
}

.nav-links a:hover{
    color:#38bdf8;
}

.nav-links a::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:2px;
    background:#38bdf8;
    transition:width 0.3s ease;
}

.nav-links a:hover::after{
    width:100%;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px;
    background:linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    margin-top:70px;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:'';
    position:absolute;
    top:-50%;
    right:-10%;
    width:500px;
    height:500px;
    background:radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
    border-radius:50%;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
}

.hero-content h1{
    font-size:70px;
    font-weight:800;
    margin-bottom:15px;
    letter-spacing:-2px;
    line-height:1.2;
    text-transform:uppercase;
    transition:all 0.3s ease;
}

.hero-content h1:hover{
    text-shadow:0 0 30px rgba(56, 189, 248, 0.5);
}

.hero-content span{
    color:#38bdf8;
    background:linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    display:inline-block;
    transition:all 0.3s ease;
    cursor:pointer;
    position:relative;
}

.hero-content span:hover{
    filter:drop-shadow(0 0 15px rgba(56, 189, 248, 0.8));
    transform:scale(1.05);
}

.hero-content h3{
    margin:20px 0 30px;
    font-size:28px;
    color:#94a3b8;
    font-weight:500;
}

.hero-content p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    color:#cbd5e1;
    font-size:16px;
    line-height:1.8;
}

/* BUTTON */

.btn{
    display:inline-block;
    padding:14px 32px;
    background:#38bdf8;
    color:white;
    border:none;
    border-radius:10px;
    text-decoration:none;
    transition:all 0.3s ease;
    cursor:pointer;
    font-weight:600;
    box-shadow:0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn:hover{
    transform:translateY(-3px);
    background:#0ea5e9;
    box-shadow:0 6px 20px rgba(56, 189, 248, 0.5);
}

.small-btn{
    padding:10px 18px;
}

/* SECTIONS */

section{
    padding:100px 8%;
    max-width:1400px;
    margin:0 auto;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:45px;
    color:#38bdf8;
    font-weight:700;
    position:relative;
    padding-bottom:20px;
}

.section-title h2::after{
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:linear-gradient(90deg, transparent, #38bdf8, transparent);
    border-radius:2px;
}

/* ABOUT */

.about{
    background:#0f172a;
}

.about-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    max-width:500px;
    height:auto;
    object-fit:cover;
    border-radius:20px;
    display:block;
    margin:auto;
    box-shadow:0 10px 40px rgba(56, 189, 248, 0.2);
    transition:transform 0.3s ease;
}

.about-image img:hover{
    transform:scale(1.05);
}

.about-text{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.about-text p{
    margin:0;
    color:#cbd5e1;
    line-height:1.8;
    font-size:16px;
}

.about-text .btn{
    align-self:center;
}

/* SKILLS */

.skills{
    background:#0f172a;
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.skill-card{
    background:#1e293b;
    padding:40px 20px;
    text-align:center;
    border-radius:16px;
    transition:all 0.3s ease;
    border:2px solid transparent;
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-card:hover{
    transform:translateY(-8px);
    background:#334155;
    border-color:#38bdf8;
    box-shadow:0 8px 30px rgba(56, 189, 248, 0.2);
}

.skill-card h3{
    margin-top:15px;
    margin-bottom:10px;
    color:#f1f5f9;
}

.skill-card p{
    color:#cbd5e1;
    font-size:14px;
}

.skill-card i{
    font-size:60px;
    color:#38bdf8;
    margin-bottom:20px;
    transition:transform 0.3s ease;
}

.skill-card:hover i{
    transform:scale(1.15) rotate(10deg);
}

/* =========================
   RESUME SECTION
========================= */

.resume{
    padding:100px 8%;
    background:linear-gradient(135deg, #1e293b 0%, #171f33 100%);
    text-align:center;
}

/* =========================
   HIRE BUTTON
========================= */

.hire-btn{
    display:inline-block;
    padding:12px 30px;
    background:#38bdf8;
    color:white;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border-radius:50px;
    transition:0.3s ease;
    box-shadow:0 0 15px rgba(56,189,248,0.4);
}

/* HOVER EFFECT */

.hire-btn:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
    box-shadow:0 0 25px rgba(56,189,248,0.7);
}

/* ACTIVE CLICK */

.hire-btn:active{
    transform:scale(0.96);
}

/* MOBILE */

@media(max-width:768px){

    .hire-btn{
        padding:10px 24px;
        font-size:15px;
    }

}

/* SECTION TITLE */

.resume .section-title h2{
    font-size:42px;
    color:white;
    margin-bottom:20px;
    position:relative;
}

/* SMALL LINE UNDER TITLE */

.resume .section-title h2::after{
    content:"";
    width:80px;
    height:4px;
    background:#38bdf8;
    position:absolute;
    left:50%;
    bottom:-10px;
    transform:translateX(-50%);
    border-radius:10px;
}

/* RESUME CONTENT */

.resume-content{
    margin-top:50px;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

/* PARAGRAPH */

.resume-content p{
    color:#cbd5e1;
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
    
}

/* DOWNLOAD BUTTON */

.resume-content .btn{
    display:inline-block;
    padding:15px 40px;
    background:#38bdf8;
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-size:18px;
    font-weight:600;
    transition:0.3s ease;
    box-shadow:0 0 15px rgba(56,189,248,0.4);
}

/* HOVER EFFECT */

.resume-content .btn:hover{
    background:#0ea5e9;
    transform:translateY(-5px);
    box-shadow:0 0 25px rgba(56,189,248,0.7);
}

/* image */


/* MOBILE RESPONSIVE */

@media(max-width:768px){

    .resume{
        padding:80px 20px;
    }

    .resume .section-title h2{
        font-size:32px;
    }

    .resume-content p{
        font-size:16px;
    }

    .resume-content .btn{
        padding:13px 30px;
        font-size:16px;
    }

}

/* PROJECTS */

.projects{
    background:#0f172a;
}

.projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:#1e293b;
    border-radius:16px;
    overflow:hidden;
    transition:all 0.3s ease;
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.3);
    border:1px solid #334155;
}

.project-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(56, 189, 248, 0.15);
    border-color:#38bdf8;
}

.project-card img{
    width:100%;
}

.project-info{
    padding:25px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.project-info h3{
    margin-bottom:15px;
    color:#f1f5f9;
    font-size:20px;
}

.project-info p{
    margin-bottom:20px;
    color:#cbd5e1;
    line-height:1.6;
    font-size:15px;
}

.project-info .btn{
    margin-top:10px;
}


/* images */

.project-image{
    width:100%;
    height:280px;
    overflow:hidden;
    border-radius:16px 16px 0 0;
    background:#334155;
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform 0.3s ease;
}

.project-card:hover .project-image img{
    transform:scale(1.05);
}

/* CONTACT */

.contact{
    background:#1e293b;
    padding:100px 8%;
}

.contact-container{
    max-width:700px;
    margin:auto;
}

form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:16px 20px;
    border:2px solid #334155;
    border-radius:12px;
    outline:none;
    background:#0f172a;
    color:white;
    transition:all 0.3s ease;
    font-family:inherit;
    font-size:15px;
}

input:focus,
textarea:focus{
    border-color:#38bdf8;
    background:#162033;
    box-shadow:0 0 20px rgba(56, 189, 248, 0.3);
    transform:translateY(-2px);
}

input::placeholder,
textarea::placeholder{
    color:#64748b;
}

textarea{
    resize:vertical;
    min-height:150px;
}

/* =========================
   SOCIAL SECTION
========================= */

.social-section{
    padding:50px 8%;
    background:#0f172a;
    text-align:center;
}

.social-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

/* ICON LINKS */

.social-container a{
    width:65px;
    height:65px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#1e293b;
    border-radius:50%;
    color:#cbd5e1;
    font-size:28px;
    text-decoration:none;
    transition:all 0.3s ease;
    box-shadow:0 4px 15px rgba(0,0,0,0.4);
    border:2px solid transparent;
}

/* HOVER EFFECT */

.social-container a:hover{
    transform:translateY(-10px) scale(1.15);
    background:#38bdf8;
    color:#111827;
    box-shadow:0 8px 30px rgba(56,189,248,0.5);
    border-color:#0ea5e9;
}

/* MOBILE */

@media(max-width:768px){

    .social-container{
        gap:18px;
    }

    .social-container a{
        width:55px;
        height:55px;
        font-size:22px;
    }

}

/* FOOTER */

footer{
    background:#111827;
    text-align:center;
    padding:30px 20px;
    color:#94a3b8;
    font-size:14px;
    border-top:1px solid #334155;
}

/* RESPONSIVE */

@media(max-width:900px){

    .about-content{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:45px;
    }

}

/* RESPONSIVE */

@media(max-width:1024px){

    section{
        padding:80px 6%;
    }

    .about-content{
        gap:40px;
    }

}

@media(max-width:768px){

    header{
        padding:0;
    }

    .menu-toggle{
        display:flex;
        background:none;
        border:none;
        padding:10px 15px;
        cursor:pointer;
    }

    .navbar{
        flex-wrap:nowrap;
        gap:0;
        width:100%;
        padding:0;
        position:relative;
        justify-content:flex-start;
    }

    .logo{
        gap:8px;
        flex:1;
        padding:12px 15px 12px 0;
    }

    .logo img{
        width:38px;
        height:38px;
    }

    .logo h2{
        font-size:17px;
    }

    .nav-links{
        flex-direction:column;
        justify-content:flex-start;
        gap:0;
        font-size:13px;
        position:fixed;
        top:60px;
        left:0;
        right:0;
        background:#111827;
        border-bottom:2px solid #38bdf8;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.4s ease;
        width:100%;
        box-sizing:border-box;
        z-index:999;
        padding:0;
    }

    .nav-links.active{
        max-height:280px;
    }

    .nav-links li{
        border-bottom:1px solid #334155;
        padding:0;
    }

    .nav-links li:last-child{
        border-bottom:none;
    }

    .nav-links a{
        display:block;
        padding:14px 20px;
    }

    .nav-links a::after{
        display:none;
    }

    .hire-btn{
        display:none;
    }

    .hero{
        margin-top:60px;
        padding:50px 20px 40px;
        min-height:auto;
    }

    .hero::before{
        width:300px;
        height:300px;
        top:-30%;
        right:-5%;
    }

    .hero-content h1{
        font-size:42px;
        letter-spacing:-1px;
        margin-bottom:12px;
    }

    .hero-content h3{
        font-size:18px;
        margin:15px 0 25px;
    }

    .hero-content p{
        font-size:14px;
        max-width:100%;
        margin-bottom:25px;
        line-height:1.6;
    }

    .section-title{
        margin-bottom:40px;
    }

    .section-title h2{
        font-size:32px;
        padding-bottom:15px;
    }

    section{
        padding:70px 5%;
    }

    .about-content{
        grid-template-columns:1fr;
        gap:25px;
    }

    .about-image img{
        max-width:100%;
        border-radius:15px;
    }

    .about-text{
        gap:15px;
    }

    .about-text p{
        font-size:14px;
    }

    .about-text .btn{
        width:fit-content;
        align-self:center;
        padding:12px 28px;
        font-size:14px;
    }

    .skills-container{
        grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
        gap:15px;
    }

    .skill-card{
        padding:25px 12px;
    }

    .skill-card h3{
        font-size:16px;
        margin-top:12px;
    }

    .skill-card p{
        font-size:13px;
        line-height:1.5;
    }

    .skill-card i{
        font-size:50px;
        margin-bottom:15px;
    }

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

    .project-card{
        border-radius:12px;
    }

    .project-image{
        height:200px;
        border-radius:12px 12px 0 0;
    }

    .project-info{
        padding:20px;
    }

    .project-info h3{
        font-size:18px;
        margin-bottom:12px;
    }

    .project-info p{
        font-size:14px;
        margin-bottom:15px;
    }

    .project-tech{
        font-size:12px;
        display:block;
        margin-bottom:12px;
    }

    .contact-container{
        max-width:100%;
    }

    form{
        gap:15px;
    }

    input,
    textarea{
        padding:14px 16px;
        font-size:14px;
        border-radius:10px;
    }

    textarea{
        min-height:120px;
    }

    .social-container{
        gap:15px;
    }

    .social-container a{
        width:50px;
        height:50px;
        font-size:20px;
    }

}

@media(max-width:480px){

    .navbar{
        width:100%;
        padding:0;
        gap:0;
    }

    .menu-toggle{
        display:flex;
        padding:8px 12px;
    }

    .menu-toggle span{
        width:22px;
        height:2px;
    }

    .logo{
        gap:6px;
        padding:10px 0 10px 15px;
    }

    .logo img{
        width:35px;
        height:35px;
    }

    .logo h2{
        font-size:15px;
    }

    .nav-links{
        flex-direction:column;
        justify-content:flex-start;
        gap:0;
        font-size:13px;
        position:fixed;
        top:55px;
        left:0;
        right:0;
        background:#111827;
        border-bottom:2px solid #38bdf8;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.4s ease;
        width:100%;
        box-sizing:border-box;
        z-index:999;
        padding:0;
    }

    .nav-links.active{
        max-height:260px;
    }

    .nav-links li{
        border-bottom:1px solid #334155;
        padding:0;
    }

    .nav-links li:last-child{
        border-bottom:none;
    }

    .nav-links a{
        display:block;
        padding:12px 20px;
    }

    .hire-btn{
        display:none;
    }

    .hero{
        margin-top:55px;
        padding:35px 16px 30px;
        min-height:auto;
    }

    .hero::before{
        width:250px;
        height:250px;
        top:-40%;
        right:-20%;
    }

    .hero-content h1{
        font-size:28px;
        letter-spacing:-0.5px;
        line-height:1.1;
        margin-bottom:10px;
    }

    .hero-content h3{
        font-size:15px;
        margin:12px 0 18px;
    }

    .hero-content p{
        font-size:13px;
        margin-bottom:20px;
        line-height:1.5;
    }

    .btn{
        padding:12px 24px;
        font-size:13px;
        border-radius:8px;
    }

    .section-title{
        margin-bottom:30px;
    }

    .section-title h2{
        font-size:24px;
        padding-bottom:12px;
    }

    .section-title h2::after{
        width:60px;
        height:3px;
    }

    section{
        padding:50px 4%;
    }

    .about-image img{
        max-width:100%;
        border-radius:12px;
    }

    .about-text p{
        font-size:13px;
        line-height:1.5;
    }

    .about-text .btn{
        padding:10px 22px;
        font-size:12px;
    }

    .skills-container{
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
    }

    .skill-card{
        padding:18px 10px;
        border-radius:12px;
    }

    .skill-card h3{
        font-size:14px;
        margin-top:10px;
        margin-bottom:8px;
    }

    .skill-card p{
        font-size:11px;
        line-height:1.4;
    }

    .skill-card i{
        font-size:40px;
        margin-bottom:12px;
    }

    .skill-card:hover i{
        transform:scale(1.1) rotate(8deg);
    }

    .resume{
        padding:50px 4%;
    }

    .resume .section-title h2{
        font-size:24px;
    }

    .resume-content p{
        font-size:13px;
    }

    .resume-content .btn{
        padding:11px 24px;
        font-size:13px;
    }

    .projects-container{
        grid-template-columns:1fr;
        gap:15px;
    }

    .project-card{
        border-radius:10px;
        box-shadow:0 2px 10px rgba(0,0,0,0.2);
    }

    .project-image{
        height:180px;
        border-radius:10px 10px 0 0;
    }

    .project-info{
        padding:16px;
        gap:10px;
    }

    .project-info h3{
        font-size:16px;
        margin-bottom:10px;
    }

    .project-info p{
        font-size:13px;
        margin-bottom:12px;
        line-height:1.4;
    }

    .project-tech{
        font-size:11px;
    }

    .small-btn{
        padding:9px 16px;
        font-size:12px;
    }

    .contact{
        padding:50px 4%;
    }

    form{
        gap:12px;
    }

    input,
    textarea{
        padding:12px 14px;
        font-size:13px;
        border-radius:8px;
    }

    input::placeholder,
    textarea::placeholder{
        font-size:12px;
    }

    textarea{
        min-height:100px;
    }

    form .btn{
        padding:12px 20px;
        font-size:13px;
        width:100%;
    }

    .social-section{
        padding:40px 4%;
    }

    .social-container{
        gap:12px;
        justify-content:center;
    }

    .social-container a{
        width:45px;
        height:45px;
        font-size:18px;
    }

    footer{
        padding:25px 16px;
        font-size:12px;
    }

}