                /* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
}

               /* NAVBAR */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

                 /* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    height: 50px;
    width: 50px;
    margin-right: 10px; 
    object-fit: contain;
    border-radius: 50%;
    border:#1E5EFF solid 0.5px;
}


.logo h2{
    color:#1E5EFF;
    font-size:24px;
}

/* LINKS */
.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-size:15px;
    font-weight:500;
    transition:0.3s;
    position:relative;
}

.nav-links a:hover{
    color:#1E5EFF;
}

/* ACTIVE LINK */
.nav-links a.active{
    color:#1E5EFF;
}

.nav-links a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:3px;
    background:#1E5EFF;
    border-radius:10px;
}

/* MOBILE BUTTON */
.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#1E5EFF;
}

/* RESPONSIVE */
@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        align-items:center;
        gap:25px;
        padding:30px 0;
        display:none;
        box-shadow:0 5px 15px rgba(0,0,0,0.08);
    }

    .nav-links.show{
        display:flex;
    }
}


/* HERO SECTION */

.hero{
    min-height:auto;
    padding:80px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    background:#f7f9ff;
    overflow:hidden;
}

/* LEFT SIDE */

.hero-content{
    flex:1;
    max-width:550px;
}

.hero-badge{
    display:inline-block;
    background:#e9efff;
    color:#1E5EFF;
    padding:10px 20px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:4rem;
    line-height:1.1;
    color:#111;
    margin-bottom:20px;
}

.hero-content h1 span{
    color:#1E5EFF;
}

.hero-content p{
    font-size:1.4rem;
    color:#555;
    line-height:1.7;
    margin-bottom:35px;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    gap:15px;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:15px 28px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:#1E5EFF;
    color:white;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:2px solid #1E5EFF;
    color:#1E5EFF;
}

.btn-secondary:hover{
    background:#1E5EFF;
    color:white;
}

/* RIGHT SIDE */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.image-circle{
    width:420px;
    height:420px;
    border:0.5px solid #1E5EFF;
    border-radius:50%;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(30,94,255,.2);
}

.image-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* SKILLS SECTION */

.skills{
    padding:100px 8%;
    background:#ffffff;
}

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

.section-title span{
    color:#1E5EFF;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
}

.section-title h2{
    font-size:2.4rem;
    color:#111;
    margin:10px 0;
}

.section-title p{
    color:#666;
    max-width:650px;
    margin:auto;
    line-height:1.7;
}

/* GRID */

.skills-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

/* CARD */

.skill-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:30px;
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.skill-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.skill-icon{
    width:55px;
    height:55px;
    background:#1E5EFF;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;
}

.skill-card h3{
    margin:0;
    color:#111;
}

/* TAGS */

.skill-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.skill-tags span{
    padding:10px 15px;
    border:1px solid #dcdcdc;
    border-radius:10px;
    font-size:14px;
    color:#444;
    background:#fafafa;
}


/* =====================
   SERVICES SECTION
===================== */

.services{
    padding:100px 8%;
    background:#f8faff;
}

.services-container{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:25px;
    margin-top:60px;
}

.service-card{
    display:flex;
    align-items:flex-start;
    gap:15px;

    background:white;
    padding:25px;
    border-radius:18px;
    border:1px solid #ececec;
    transition:.3s;
}


.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

 
 .service-icon{
    width:50px;
    height:50px;
    min-width:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#eef3ff;
    color:#1E5EFF;

    font-size:22px;
}



.service-content{
    flex:1;
}

.service-content h3{
    margin-bottom:8px;
    font-size:1.25rem;
    font-weight:600;
}

.service-content p{
    line-height:1.8;
    color:#666;
}

 
 
 /* =====================
   PORTFOLIO SECTION
===================== */

.portfolio{
    padding:100px 8%;
    background:#ffffff;
}

.portfolio-container{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
    margin-top:60px;
}

.project-card{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.project-image{
    height:220px;
    overflow:hidden;
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

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

.project-content{
    padding:20px;
}

.project-content h3{
    margin-bottom:8px;
    color:#111;
    font-size:1.15rem;
}

.project-content p{
    color:#666;
    font-size:.95rem;
}

/* BUTTON */

.portfolio-btn{
    text-align:center;
    margin-top:50px;
}

.view-projects-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:14px 28px;

    text-decoration:none;

    border:2px solid #1E5EFF;
    color:#1E5EFF;

    border-radius:12px;

    font-weight:600;

    transition:.3s;
}

.view-projects-btn:hover{
    background:#1E5EFF;
    color:white;
}


/* =====================
   CONTACT SECTION
===================== */

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

.contact-container{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:50px;
    align-items:start;
}

/* LEFT SIDE */

.contact-info span{
    color:#1E5EFF;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
}

.contact-info h2{
    font-size:2.5rem;
    margin:15px 0;
    color:#111;
}

.contact-info p{
    color:#666;
    line-height:1.8;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top:25px;
}

.contact-item i{
    color:#1E5EFF;
    font-size:20px;
}

/* RIGHT SIDE */

.contact-form{
    background:white;
    padding:30px;
    border-radius:18px;
    border:1px solid #e9e9e9;
}

.input-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:15px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

.contact-form textarea{
    resize:none;
    margin-bottom:20px;
}

.contact-form button{
    width:100%;
    border:none;
    background:#1E5EFF;
    color:white;
    padding:16px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.contact-form button:hover{
    background:#0d47e6;
}

/* =====================
   FOOTER
===================== */

.footer{
    position:relative;
    background:#0f172a;
    color:white;
    padding:70px 8% 30px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    margin-bottom:40px;
}

.footer-logo h2{
    color:#1E5EFF;
    margin-bottom:15px;
}

.footer-logo p{
    max-width:400px;
    line-height:1.8;
    color:#cbd5e1;
}

.footer-socials{
    display:flex;
    gap:15px;
}

.footer-socials a{
    width:45px;
    height:45px;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    border-radius:50%;

    background:#1e293b;
    color:white;

    transition:.3s;
}

.footer-socials a:hover{
    background:#1E5EFF;
    transform:translateY(-3px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:25px;
    text-align:center;
}

.footer-bottom p{
    color:#94a3b8;
}

/* BACK TO TOP */

#backToTop{
    position:fixed;
    right:25px;
    bottom:25px;

    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#1E5EFF;
    color:white;

    cursor:pointer;

    display:none;

    font-size:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

    z-index:999;
}










               /* media */
@media(max-width:992px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        gap:50px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .image-circle{
        width:320px;
        height:320px;
    }
    
    .skills-container{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:2rem;
    }

    .services-container{
        grid-template-columns:repeat(2,1fr);
    }
    
    .portfolio-container{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .services-container{
        grid-template-columns:1fr;
    }
    
    .portfolio-container{
        grid-template-columns:1fr;
    }
    
    .contact-container{
        grid-template-columns:1fr;
    }

    .input-row{
        grid-template-columns:1fr;
    }

    .contact-info h2{
        font-size:2rem;
    }
    
       .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .footer-logo p{
        max-width:100%;
    }

}

@media(max-width:600px){

    .hero{
        padding:60px 6%;
    }

    .hero-content h1{
        font-size:2.4rem;
    }

    .hero-content p{
        font-size:1.1rem;
    }


    .hero-buttons{
        display:flex;
        flex-direction:row;
        justify-content:center;
        gap:10px;
        flex-wrap:wrap;
    }

    .btn-primary,
    .btn-secondary{
        width:auto;
        padding:12px 20px;
    }

    .image-circle{
        width:260px;
        height:260px;
    }
}               