/*==========================================
        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;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#050816;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

/*==========================================
        VARIABLES
==========================================*/

:root{

    --primary:#2563eb;
    --secondary:#60a5fa;
    --dark:#050816;
    --card:#0b1120;
    --white:#ffffff;
    --text:#cbd5e1;
    --transition:.35s ease;

}

/*==========================================
        COMMON
==========================================*/

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

section{

    padding:100px 0;

}

.primary-btn{

    display:inline-flex;
    align-items:center;
    gap:10px;

    background:var(--primary);

    color:white;

    padding:15px 32px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.primary-btn:hover{

    transform:translateY(-5px);

    background:#1d4ed8;

}

.secondary-btn{

    display:inline-flex;
    align-items:center;
    gap:10px;

    border:2px solid var(--primary);

    color:white;

    padding:15px 32px;

    border-radius:50px;

    transition:var(--transition);

}

.secondary-btn:hover{

    background:var(--primary);

}

/*==========================================
        HEADER
==========================================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.4s;

}

.header.active{

    background:rgba(5,8,22,.9);

    backdrop-filter:blur(15px);

    box-shadow:0 10px 35px rgba(0,0,0,.3);

}

.navbar{

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:36px;

    font-weight:700;

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    color:var(--text);

    transition:.3s;

    position:relative;

}

.nav-links a:hover{

    color:white;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

.resume-btn{

    background:var(--primary);

    color:white;

    padding:12px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.resume-btn:hover{

    transform:translateY(-4px);

}

.menu-btn{

    display:none;

    font-size:30px;

    cursor:pointer;

}

/*==========================================
        HERO
==========================================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

}

.hero::before{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    border-radius:50%;

    background:radial-gradient(circle,#2563eb,transparent 70%);

    opacity:.08;

    right:-150px;

    top:-200px;

}

.hero-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:30px;

    background:#101d35;

    color:#8ab4ff;

    border:1px solid rgba(255,255,255,.08);

}

.hero-content h1{

    margin:25px 0 15px;

    font-size:68px;

    line-height:1.1;

    font-weight:800;

}

.hero-content h1 span{

    color:var(--primary);

}

.hero-content h2{

    font-size:34px;

    color:#7fb3ff;

    min-height:45px;

    margin-bottom:20px;

}

.hero-content p{

    color:var(--text);

    font-size:18px;

    max-width:600px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:40px;

    flex-wrap:wrap;

}

.hero-social{

    display:flex;

    gap:18px;

}

.hero-social a{

    width:55px;

    height:55px;

    background:#111827;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    transition:.35s;

}

.hero-social a:hover{

    background:var(--primary);

    transform:translateY(-8px);

}

.image-box{

    width:420px;

    height:420px;

    margin:auto;

    border-radius:50%;

    padding:12px;

    background:linear-gradient(135deg,#2563eb,#60a5fa,#2563eb);

    animation:rotateBorder 8s linear infinite;

}

.image-box img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #050816;

}

@keyframes rotateBorder{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:992px){

.hero-container{

grid-template-columns:1fr;

text-align:center;

}

.hero-image{

order:-1;

}

.hero-content p{

margin:auto auto 35px;

}

.hero-buttons{

justify-content:center;

}

.hero-social{

justify-content:center;

}

.image-box{

width:300px;

height:300px;

}

.nav-links{

display:none;

}

.resume-btn{

display:none;

}

.menu-btn{

display:block;

}

}

@media(max-width:600px){

.hero-content h1{

font-size:42px;

}

.hero-content h2{

font-size:24px;

}

.image-box{

width:250px;

height:250px;

}

}
/*==========================================
        SECTION HEADING
==========================================*/

.section-heading{

    text-align:center;
    margin-bottom:70px;

}

.section-heading span{

    display:inline-block;
    color:var(--primary);
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:12px;
    text-transform:uppercase;

}

.section-heading h2{

    font-size:42px;
    font-weight:700;
    margin-bottom:18px;

}

.section-heading p{

    max-width:700px;
    margin:auto;
    color:var(--text);
    font-size:17px;

}

/*==========================================
        ABOUT
==========================================*/

.about{

    background:#08101d;

}

.about-container{

    display:grid;
    grid-template-columns:420px 1fr;
    gap:70px;
    align-items:center;

}

.about-image{

    display:flex;
    justify-content:center;

}

.about-image-box{

    width:360px;
    height:360px;
    padding:12px;
    border-radius:30px;
    background:linear-gradient(135deg,#2563eb,#60a5fa);

}

.about-image-box img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:24px;
    border:6px solid #08101d;

}

.about-content h3{

    font-size:36px;
    margin-bottom:25px;

}

.about-content p{

    color:var(--text);
    margin-bottom:20px;
    line-height:1.9;

}

/*==========================================
        INFO BOXES
==========================================*/

.about-info{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin:40px 0;

}

.info-box{

    display:flex;
    align-items:center;
    gap:18px;

    background:#111827;

    padding:20px;

    border-radius:18px;

    transition:.35s;

}

.info-box:hover{

    transform:translateY(-8px);

    background:#16213a;

}

.info-box i{

    width:55px;
    height:55px;

    border-radius:50%;

    background:var(--primary);

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:24px;

    flex-shrink:0;

}

.info-box h4{

    font-size:17px;
    margin-bottom:4px;

}

.info-box span{

    color:var(--text);
    font-size:15px;

}

.about-buttons{

    display:flex;
    gap:20px;
    flex-wrap:wrap;

}

/*==========================================
        SERVICES
==========================================*/

.services{

    background:#050816;

}

.services-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;

}

.service-card{

    background:#111827;

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.service-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 15px 40px rgba(37,99,235,.25);

}

.service-card i{

    width:80px;
    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:linear-gradient(135deg,#2563eb,#60a5fa);

    font-size:34px;

}

.service-card h3{

    font-size:24px;
    margin-bottom:15px;

}

.service-card p{

    color:var(--text);
    line-height:1.8;

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:992px){

.about-container{

    grid-template-columns:1fr;
    text-align:center;

}

.about-image{

    margin-bottom:20px;

}

.about-content{

    max-width:700px;
    margin:auto;

}

.about-buttons{

    justify-content:center;

}

.about-info{

    grid-template-columns:1fr;

}

}

@media(max-width:600px){

.section-heading h2{

    font-size:32px;

}

.about-image-box{

    width:260px;
    height:260px;

}

.about-content h3{

    font-size:28px;

}

.info-box{

    text-align:left;

}

.service-card{

    padding:30px 20px;

}

}
/*==========================================
              SKILLS
==========================================*/

.skills{
    background:#08101d;
}

.skills-container{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:60px;
    align-items:start;
}

/*==========================================
          PROGRESS BARS
==========================================*/

.skill{
    margin-bottom:30px;
}

.skill-info{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-weight:600;
}

.skill-info span:last-child{
    color:var(--primary);
}

.progress{
    width:100%;
    height:10px;
    background:#1f2937;
    border-radius:50px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    border-radius:50px;
    background:linear-gradient(90deg,#2563eb,#60a5fa);
    animation:growBar 2s ease forwards;
    width:0;
}

@keyframes growBar{

    from{
        width:0;
    }

}

/* Individual Skill Widths */

.progress-bar.html{
    width:95%;
}

.progress-bar.css{
    width:92%;
}

.progress-bar.js{
    width:90%;
}

.progress-bar.react{
    width:85%;
}

.progress-bar.node{
    width:82%;
}

.progress-bar.mongo{
    width:80%;
}

/*==========================================
            TECH GRID
==========================================*/

.skills-right{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.tech-card{

    background:#111827;

    border:1px solid rgba(255,255,255,.05);

    border-radius:20px;

    padding:30px 20px;

    text-align:center;

    transition:.35s;

}

.tech-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.tech-card i{

    width:70px;

    height:70px;

    margin:0 auto 20px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:linear-gradient(135deg,#2563eb,#60a5fa);

    font-size:32px;

    color:#fff;

}

.tech-card h3{

    font-size:20px;

    margin-bottom:12px;

}

.tech-card p{

    color:var(--text);

    font-size:15px;

    line-height:1.7;

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:992px){

.skills-container{

    grid-template-columns:1fr;

}

.skills-right{

    grid-template-columns:repeat(2,1fr);

    margin-top:40px;

}

}

@media(max-width:600px){

.skills-right{

    grid-template-columns:1fr;

}

.skill-info{

    font-size:15px;

}

.tech-card{

    padding:25px 18px;

}

.tech-card h3{

    font-size:18px;

}

.tech-card i{

    width:60px;

    height:60px;

    font-size:28px;

}

}
/*==========================================
              PROJECTS
==========================================*/

.projects{
    background:#050816;
}

.projects-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;

}

.project-card{

    background:#111827;

    border-radius:24px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.06);

    transition:.4s ease;

    display:flex;
    flex-direction:column;

}

.project-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 18px 45px rgba(37,99,235,.25);

}

/*==========================================
          PROJECT IMAGE
==========================================*/

.project-image{

    position:relative;

    overflow:hidden;

    height:230px;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover .project-image img{

    transform:scale(1.08);

}

.project-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(5,8,22,.6),
        transparent
    );

}

/*==========================================
          PROJECT CONTENT
==========================================*/

.project-content{

    padding:28px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.project-content h3{

    font-size:26px;

    margin-bottom:15px;

}

.project-content p{

    color:var(--text);

    line-height:1.8;

    margin-bottom:25px;

}

/*==========================================
          TECH TAGS
==========================================*/

.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:30px;

}

.project-tech span{

    padding:8px 16px;

    background:#1f2937;

    color:#9cc3ff;

    border-radius:50px;

    font-size:14px;

    font-weight:500;

    transition:.3s;

}

.project-tech span:hover{

    background:var(--primary);

    color:#fff;

}

/*==========================================
          BUTTONS
==========================================*/

.project-links{

    margin-top:auto;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.project-links .primary-btn,
.project-links .secondary-btn{

    flex:1;

    justify-content:center;

    padding:14px 18px;

}

/*==========================================
          RESPONSIVE
==========================================*/

@media(max-width:992px){

.projects-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.projects-grid{

    grid-template-columns:1fr;

}

.project-image{

    height:220px;

}

}

@media(max-width:500px){

.project-content{

    padding:22px;

}

.project-content h3{

    font-size:22px;

}

.project-links{

    flex-direction:column;

}

.project-links .primary-btn,
.project-links .secondary-btn{

    width:100%;

}

.project-tech{

    gap:8px;

}

.project-tech span{

    font-size:13px;

    padding:7px 14px;

}

}
/*==========================================
            EXPERIENCE
==========================================*/

.experience{
    background:#08101d;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:0 auto;
    padding-left:40px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:22px;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(#2563eb,#60a5fa);
    border-radius:50px;
}

.timeline-item{
    position:relative;
    display:flex;
    gap:25px;
    margin-bottom:60px;
}

.timeline-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:22px;
    flex-shrink:0;
    z-index:2;
}

.timeline-content{
    flex:1;
    background:#111827;
    border-radius:20px;
    padding:30px;
    border:1px solid rgba(255,255,255,.06);
    transition:.35s;
}

.timeline-content:hover{
    transform:translateY(-8px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(37,99,235,.20);
}

.timeline-date{
    display:inline-block;
    color:#60a5fa;
    font-size:14px;
    margin-bottom:12px;
    font-weight:600;
}

.timeline-content h3{
    font-size:24px;
    margin-bottom:8px;
}

.timeline-content h4{
    color:#94a3b8;
    font-size:17px;
    margin-bottom:15px;
    font-weight:500;
}

.timeline-content p{
    color:var(--text);
    line-height:1.8;
}

/*==========================================
            ACHIEVEMENTS
==========================================*/

.achievements{
    background:#050816;
}

.achievement-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.achievement-card{
    background:#111827;
    border-radius:22px;
    padding:40px 25px;
    text-align:center;
    transition:.35s;
    border:1px solid rgba(255,255,255,.05);
}

.achievement-card:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(37,99,235,.20);
}

.achievement-card i{
    font-size:44px;
    color:#60a5fa;
    margin-bottom:20px;
}

.achievement-card h3{
    font-size:42px;
    margin-bottom:10px;
}

.achievement-card p{
    color:var(--text);
}

/*==========================================
            CERTIFICATES
==========================================*/

.certifications{
    background:#08101d;
}

.certificate-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.certificate-card{
    background:#111827;
    border-radius:22px;
    padding:35px;
    text-align:center;
    transition:.35s;
    border:1px solid rgba(255,255,255,.05);
}

.certificate-card:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
}

.certificate-card i{
    width:80px;
    height:80px;
    margin:0 auto 25px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    font-size:34px;
    color:#fff;
}

.certificate-card h3{
    font-size:24px;
    margin-bottom:15px;
}

.certificate-card p{
    color:var(--text);
    line-height:1.8;
}

/*==========================================
            PROFILES
==========================================*/

.profiles{
    background:#050816;
}

.profiles-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

.profile-card{
    background:#111827;
    border-radius:22px;
    padding:35px;
    text-align:center;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.profile-card:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(37,99,235,.20);
}

.profile-card i{
    font-size:48px;
    color:#60a5fa;
    margin-bottom:20px;
}

.profile-card h3{
    font-size:24px;
    margin-bottom:12px;
}

.profile-card p{
    color:var(--text);
    line-height:1.7;
}

/*==========================================
            RESPONSIVE
==========================================*/

@media(max-width:768px){

.timeline{
    padding-left:20px;
}

.timeline::before{
    left:18px;
}

.timeline-item{
    gap:18px;
}

.timeline-icon{
    width:42px;
    height:42px;
    font-size:18px;
}

.timeline-content{
    padding:22px;
}

.timeline-content h3{
    font-size:20px;
}

.timeline-content h4{
    font-size:15px;
}

.achievement-card h3{
    font-size:34px;
}

.certificate-card,
.profile-card{
    padding:28px;
}

}

@media(max-width:500px){

.timeline{
    padding-left:12px;
}

.timeline::before{
    left:14px;
}

.timeline-item{
    gap:12px;
}

.timeline-icon{
    width:36px;
    height:36px;
    font-size:16px;
}

.timeline-content{
    padding:18px;
}

.achievement-grid,
.certificate-grid,
.profiles-grid{
    grid-template-columns:1fr;
}

}
/*==========================================
            CONTACT
==========================================*/

.contact{
    background:#08101d;
}

.contact-container{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:50px;
    align-items:start;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-card{
    display:flex;
    align-items:center;
    gap:20px;
    background:#111827;
    padding:22px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.06);
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 15px 35px rgba(37,99,235,.18);
}

.contact-card i{
    width:65px;
    height:65px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    color:#fff;
    font-size:28px;
    flex-shrink:0;
}

.contact-card h3{
    margin-bottom:6px;
    font-size:20px;
}

.contact-card p{
    color:var(--text);
}

/*==========================================
            FORM
==========================================*/

.contact-form{
    background:#111827;
    padding:40px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.06);
}

.input-group{
    margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px 20px;

    border:none;

    outline:none;

    border-radius:14px;

    background:#1f2937;

    color:#fff;

    font-size:16px;

    transition:.3s;

}

.contact-form textarea{

    resize:vertical;
    min-height:180px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border:2px solid var(--primary);

}

.contact-form button{

    border:none;
    cursor:pointer;

}

/*==========================================
            FOOTER
==========================================*/

.footer{

    background:#050816;

    padding:70px 0;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.05);

}

.footer-logo{

    font-size:34px;

    font-weight:700;

}

.footer-logo span{

    color:var(--primary);

}

.footer-text{

    margin:20px auto;

    color:var(--text);

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:35px 0;

}

.footer-social a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#111827;

    transition:.35s;

    font-size:22px;

}

.footer-social a:hover{

    background:var(--primary);

    transform:translateY(-8px);

}

.copyright{

    color:#94a3b8;

    font-size:15px;

}

/*==========================================
        SCROLL TO TOP
==========================================*/

.scroll-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:none;

    justify-content:center;

    align-items:center;

    font-size:24px;

    cursor:pointer;

    z-index:999;

    transition:.35s;

}

.scroll-top:hover{

    transform:translateY(-8px);

    background:#1d4ed8;

}

/*==========================================
        SMOOTH FADE ANIMATION
==========================================*/

.fade-up{

    opacity:0;

    transform:translateY(50px);

    transition:all .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:992px){

.contact-container{

    grid-template-columns:1fr;

}

.contact-form{

    margin-top:20px;

}

}

@media(max-width:768px){

.footer{

    padding:60px 20px;

}

.footer-logo{

    font-size:28px;

}

.footer-social{

    flex-wrap:wrap;

}

.contact-form{

    padding:28px;

}

.contact-card{

    padding:18px;

}

.contact-card i{

    width:55px;

    height:55px;

    font-size:22px;

}

}

@media(max-width:500px){

.contact-form{

    padding:20px;

}

.contact-form input,
.contact-form textarea{

    padding:15px;

}

.footer-social a{

    width:48px;

    height:48px;

    font-size:20px;

}

.scroll-top{

    width:48px;

    height:48px;

    right:18px;

    bottom:18px;

}

}