/*=========================================
        GOOGLE FONT
=========================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=========================================
        RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{

    --primary:#2563eb;
    --secondary:#38bdf8;
    --dark:#030712;
    --dark2:#0f172a;
    --card:#111827;
    --white:#ffffff;
    --gray:#94a3b8;
    --border:rgba(255,255,255,.08);

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--dark);
    color:var(--white);
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

section{

    padding:100px 0;

}

/*=========================================
        SCROLLBAR
=========================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#050b18;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:20px;

}

/*=========================================
        PRELOADER
=========================================*/

#preloader{

    position:fixed;
    width:100%;
    height:100vh;
    background:#030712;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;

}

.loader{

    width:70px;
    height:70px;
    border-radius:50%;
    border:6px solid rgba(255,255,255,.1);
    border-top:6px solid var(--primary);
    animation:spin 1s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/*=========================================
            HEADER
=========================================*/

.header{

    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(20px);
    background:rgba(3,7,18,.75);
    border-bottom:1px solid rgba(255,255,255,.05);

}

.navbar{

    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo{

    font-size:30px;
    font-weight:700;
    color:white;

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;
    gap:35px;

}

.nav-links a{

    color:white;
    font-weight:500;
    transition:.3s;
    position:relative;

}

.nav-links a::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;

}

.nav-links a:hover{

    color:var(--secondary);

}

.nav-links a:hover::after{

    width:100%;

}

.nav-buttons{

    display:flex;
    gap:15px;
    align-items:center;

}

#theme-btn,
.menu-btn{

    width:45px;
    height:45px;
    border-radius:50%;
    border:none;
    cursor:pointer;
    background:rgba(255,255,255,.08);
    color:white;
    font-size:20px;
    transition:.3s;

}

#theme-btn:hover,
.menu-btn:hover{

    background:var(--primary);

}

.menu-btn{

    display:none;

}

/*=========================================
        HERO
=========================================*/

.hero{

    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;

}

.hero-bg{

    position:absolute;
    width:100%;
    height:100%;
    background:
    radial-gradient(circle at top right,
    rgba(37,99,235,.25),
    transparent 40%),
    radial-gradient(circle at bottom left,
    rgba(56,189,248,.18),
    transparent 45%);

}

.hero-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    position:relative;
    z-index:5;

}

.badge{

    display:inline-block;
    padding:10px 22px;
    border-radius:30px;
    background:rgba(37,99,235,.15);
    border:1px solid rgba(37,99,235,.35);
    margin-bottom:25px;
    color:var(--secondary);

}

.hero h1{

    font-size:65px;
    margin:20px 0;

}

.hero h2{

    color:var(--secondary);
    font-size:35px;
    min-height:50px;

}

.hero p{

    color:var(--gray);
    margin:25px 0;
    line-height:1.8;

}

.hero-buttons{

    display:flex;
    gap:20px;
    margin-top:35px;

}

.btn{

    background:linear-gradient(135deg,#2563eb,#38bdf8);
    color:white;
    padding:16px 35px;
    border-radius:40px;
    font-weight:600;
    transition:.4s;

}

.btn:hover{

    transform:translateY(-5px);

}

.btn-outline{

    border:2px solid var(--primary);
    color:white;
    padding:16px 35px;
    border-radius:40px;
    transition:.4s;

}

.btn-outline:hover{

    background:var(--primary);

}

.hero-social{

    display:flex;
    gap:18px;
    margin-top:40px;

}

.hero-social a{

    width:50px;
    height:50px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:20px;
    transition:.4s;

}

.hero-social a:hover{

    background:var(--primary);
    transform:translateY(-8px);

}

.hero-stats{

    display:flex;
    gap:25px;
    margin-top:50px;

}

.stat{

    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.05);
    border-radius:15px;
    padding:20px;
    text-align:center;
    min-width:120px;

}

.stat h2{

    color:var(--secondary);

}

/*=========================================
        PROFILE IMAGE
=========================================*/

.profile-wrapper{

    position:relative;
    width:430px;
    height:430px;
    margin:auto;

}

.profile-wrapper img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    border:8px solid rgba(255,255,255,.08);

}

/*=========================================
        FLOATING CIRCLES
=========================================*/

.circle{

    position:absolute;
    border-radius:50%;
    animation:float 5s ease-in-out infinite;

}

.circle1{

    width:90px;
    height:90px;
    background:rgba(37,99,235,.35);
    top:-15px;
    left:-20px;
    filter:blur(2px);

}

.circle2{

    width:70px;
    height:70px;
    background:rgba(56,189,248,.35);
    bottom:20px;
    right:-20px;

}

.circle3{

    width:35px;
    height:35px;
    background:#ffffff;
    opacity:.25;
    top:120px;
    right:-10px;

}

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}

/*=========================================
        SECTION TITLE
=========================================*/

.section-title{

    text-align:center;
    margin-bottom:70px;

}

.section-title span{

    color:var(--secondary);
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:2px;

}

.section-title h2{

    font-size:45px;
    margin:12px 0;

}

.section-title p{

    max-width:700px;
    margin:auto;
    color:var(--gray);
    line-height:1.8;

}

/*=========================================
        ABOUT
=========================================*/

.about{

    background:var(--dark2);

}

.about-container{

    display:grid;
    grid-template-columns:380px 1fr;
    gap:70px;
    align-items:center;

}

.about-image{

    position:relative;

}

.about-image img{

    border-radius:25px;
    border:4px solid rgba(255,255,255,.08);
    box-shadow:0 20px 50px rgba(0,0,0,.45);

}

.about-content h3{

    font-size:34px;
    margin-bottom:20px;

}

.about-content p{

    color:var(--gray);
    line-height:1.9;
    margin-bottom:35px;

}

.about-info{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:40px;

}

.about-info div{

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
    padding:18px;
    transition:.35s;

}

.about-info div:hover{

    transform:translateY(-6px);
    border-color:var(--primary);

}

.about-info strong{

    display:block;
    color:var(--secondary);
    margin-bottom:8px;

}

.about-info span{

    color:#d1d5db;

}

/*=========================================
        WHY HIRE ME
=========================================*/

.why{

    background:#030712;

}

.why-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;

}

.why-card{

    background:rgba(255,255,255,.05);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    transition:.4s;

}

.why-card:hover{

    transform:translateY(-12px);
    border-color:var(--primary);
    box-shadow:0 20px 40px rgba(37,99,235,.25);

}

.why-card i{

    font-size:45px;
    color:var(--secondary);
    margin-bottom:20px;

}

.why-card h3{

    margin-bottom:15px;

}

.why-card p{

    color:var(--gray);
    line-height:1.8;

}

/*=========================================
        TIMELINE
=========================================*/

.timeline{

    position:relative;
    max-width:900px;
    margin:auto;
    padding-left:35px;

}

.timeline::before{

    content:"";
    position:absolute;
    left:12px;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(var(--primary),var(--secondary));

}

.timeline-item{

    position:relative;
    margin-bottom:50px;

}

.timeline-item::before{

    content:"";
    position:absolute;
    left:-30px;
    top:18px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--primary);
    border:4px solid var(--dark);

}

.timeline-content{

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    padding:28px;
    border-radius:18px;
    transition:.35s;

}

.timeline-content:hover{

    transform:translateX(8px);
    border-color:var(--secondary);

}

.timeline-content h3{

    color:var(--secondary);
    margin-bottom:10px;

}

.timeline-content h4{

    margin-bottom:12px;

}

.timeline-content p{

    color:var(--gray);
    line-height:1.8;

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:991px){

.about-container{

    grid-template-columns:1fr;
    text-align:center;

}

.about-image{

    max-width:320px;
    margin:auto;

}

.about-info{

    grid-template-columns:1fr;

}

.hero-container{

    grid-template-columns:1fr;
    text-align:center;

}

.hero-social,
.hero-buttons,
.hero-stats{

    justify-content:center;

}

.profile-wrapper{

    width:320px;
    height:320px;
    margin-top:50px;

}

}

/*=========================================
        SKILLS SECTION
=========================================*/

.skills{
    background:#030712;
}

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

.skill-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border-radius:20px;
    padding:35px 25px;
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.skill-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#2563eb,#38bdf8);
    transition:.5s;
}

.skill-card:hover::before{
    left:0;
}

.skill-card:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
    box-shadow:0 20px 40px rgba(37,99,235,.25);
}

.skill-icon{
    width:70px;
    height:70px;
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    border-radius:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.skill-icon i{
    font-size:32px;
    color:white;
}

.skill-card h3{
    margin-bottom:20px;
    font-size:24px;
}

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

.skill-tags span{
    background:#1e293b;
    color:#fff;
    padding:10px 18px;
    border-radius:30px;
    font-size:14px;
    transition:.3s;
}

.skill-tags span:hover{
    background:#2563eb;
}

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

.services{
    background:#0f172a;
}

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

.service-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(37,99,235,.25);
    border-color:#2563eb;
}

.service-card i{
    font-size:55px;
    color:#38bdf8;
    margin-bottom:25px;
}

.service-card h3{
    margin-bottom:15px;
}

.service-card p{
    color:#94a3b8;
    line-height:1.8;
}

/*=========================================
        ACHIEVEMENT
=========================================*/

.achievement{
    padding:80px 0;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
}

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

.achievement-card{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(20px);
    border-radius:20px;
    text-align:center;
    padding:35px 20px;
    transition:.4s;
}

.achievement-card:hover{
    transform:translateY(-10px);
}

.achievement-card h2{
    font-size:50px;
    margin-bottom:10px;
    color:#fff;
}

.achievement-card p{
    color:#e2e8f0;
}

/*=========================================
        TECH STACK
=========================================*/

.tech-stack{
    background:#030712;
}

.tech-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:25px;
}

.tech-item{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:30px 20px;
    text-align:center;
    transition:.35s;
}

.tech-item:hover{
    transform:translateY(-8px);
    border-color:#2563eb;
    box-shadow:0 15px 30px rgba(37,99,235,.2);
}

.tech-item i{
    font-size:45px;
    color:#38bdf8;
    margin-bottom:15px;
    display:block;
}

.tech-item span{
    font-weight:600;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:768px){

.skills-grid,
.services-grid,
.achievement-grid,
.tech-grid{
    grid-template-columns:1fr;
}

.skill-card,
.service-card,
.achievement-card,
.tech-item{
    text-align:center;
}

}

/*=========================================
            PROJECTS SECTION
=========================================*/

.projects{
    background:#0f172a;
}

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

.project-card{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
    position:relative;
}

.project-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 45px rgba(37,99,235,.25);
    border-color:#2563eb;
}

/*=========================
      PROJECT IMAGE
=========================*/

.project-image{
    position:relative;
    overflow:hidden;
    height:230px;
}

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

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

/*=========================
      OVERLAY
=========================*/

.project-overlay{
    position:absolute;
    inset:0;
    background:rgba(3,7,18,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    opacity:0;
    transition:.4s;
}

.project-card:hover .project-overlay{
    opacity:1;
}

.project-btn{
    width:55px;
    height:55px;
    border-radius:50%;
    background:white;
    color:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    transition:.35s;
}

.project-btn:hover{
    transform:translateY(-6px);
    background:#2563eb;
    color:white;
}

/*=========================
      CONTENT
=========================*/

.project-content{
    padding:28px;
}

.project-content h3{
    font-size:28px;
    margin-bottom:15px;
}

.project-content p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:25px;
}

/*=========================
      TECH TAGS
=========================*/

.project-tech{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:28px;
}

.project-tech span{
    padding:9px 18px;
    background:#1e293b;
    color:white;
    border-radius:30px;
    font-size:14px;
    transition:.3s;
}

.project-tech span:hover{
    background:#2563eb;
}

/*=========================
      BUTTONS
=========================*/

.project-links{
    display:flex;
    gap:15px;
}

.btn-small{
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    color:white;
    padding:12px 22px;
    border-radius:30px;
    font-size:15px;
    font-weight:600;
    transition:.35s;
}

.btn-small:hover{
    transform:translateY(-5px);
}

.btn-small-outline{
    border:2px solid #2563eb;
    color:white;
    padding:12px 22px;
    border-radius:30px;
    font-size:15px;
    font-weight:600;
    transition:.35s;
}

.btn-small-outline:hover{
    background:#2563eb;
}

/*=========================
    RESPONSIVE
=========================*/

@media(max-width:768px){

.projects-grid{
    grid-template-columns:1fr;
}

.project-content{
    padding:22px;
}

.project-links{
    flex-direction:column;
}

.btn-small,
.btn-small-outline{
    text-align:center;
}

}

/*=========================================
        CERTIFICATES
=========================================*/

.certificates{
    background:#030712;
}

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

.certificate-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
}

.certificate-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(37,99,235,.25);
    border-color:#2563eb;
}

.certificate-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.5s;
}

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

.certificate-content{
    padding:22px;
}

.certificate-content h3{
    margin-bottom:15px;
}

.certificate-content a{
    color:#38bdf8;
    font-weight:600;
}

.certificate-content a:hover{
    color:#ffffff;
}

/*=========================================
        CODING PROFILES
=========================================*/

.profiles{
    background:#0f172a;
}

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

.profile-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    transition:.35s;
    color:#fff;
}

.profile-card:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(37,99,235,.25);
}

.profile-card i{
    font-size:55px;
    color:#38bdf8;
    margin-bottom:20px;
}

.profile-card h3{
    margin-bottom:15px;
}

.profile-card p{
    color:#94a3b8;
    line-height:1.7;
}

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

.contact{
    background:#030712;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-info h3{
    font-size:32px;
    margin-bottom:20px;
}

.contact-info p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:35px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
    color:#fff;
}

.contact-item i{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
}

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

.contact-form input,
.contact-form textarea{
    width:100%;
    background:#111827;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:18px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#2563eb;
}

.contact-form textarea{
    resize:none;
}

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

footer{
    background:#020617;
    text-align:center;
    padding:60px 0 30px;
}

.footer-container h2{
    font-size:34px;
    margin-bottom:10px;
}

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

.footer-social{
    display:flex;
    justify-content:center;
    gap:20px;
    margin:30px 0;
}

.footer-social a{
    width:50px;
    height:50px;
    background:#111827;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:20px;
    transition:.35s;
}

.footer-social a:hover{
    background:#2563eb;
    transform:translateY(-5px);
}

.copyright{
    margin-top:25px;
    font-size:14px;
}

/*=========================================
        SCROLL TO TOP
=========================================*/

#scrollTop{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-size:20px;
    cursor:pointer;
    display:none;
    z-index:999;
    transition:.3s;
}

#scrollTop:hover{
    transform:translateY(-5px);
    background:#38bdf8;
}

/*=========================================
        MOBILE
=========================================*/

@media(max-width:991px){

.nav-links{
    position:fixed;
    top:80px;
    left:-100%;
    width:100%;
    background:#0f172a;
    flex-direction:column;
    text-align:center;
    padding:40px 0;
    transition:.4s;
}

.nav-links.active{
    left:0;
}

.menu-btn{
    display:block;
}

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

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

.hero h2{
    font-size:28px;
}

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

}

@media(max-width:576px){

.hero{
    padding-top:100px;
}

.profile-wrapper{
    width:260px;
    height:260px;
}

.hero-buttons{
    flex-direction:column;
}

.hero-stats{
    flex-direction:column;
}

.btn,
.btn-outline{
    width:100%;
    text-align:center;
}

}