/* ===========================
   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;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#050816;

    color:#ffffff;

    overflow-x:hidden;

    line-height:1.7;

}

/* ===========================
   BACKGROUND
=========================== */

#particles{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:
    radial-gradient(circle at top left,#6d28d9 0%,transparent 35%),
    radial-gradient(circle at bottom right,#2563eb 0%,transparent 35%),
    #050816;

    z-index:-1;

}

/* ===========================
   NAVBAR
=========================== */

nav{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 10%;

    position:fixed;

    top:0;

    left:0;

    backdrop-filter:blur(18px);

    background:rgba(255,255,255,.05);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.logo{

    font-size:30px;

    font-weight:700;

}

.logo span{

    color:#4f8cff;

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

nav ul li a:hover{

    color:#4f8cff;

}

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

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:120px 10%;

    gap:60px;

}

.hero-left{

    flex:1;

}

.hero-left h3{

    color:#4f8cff;

    font-size:22px;

}

.hero-left h1{

    font-size:60px;

    margin:10px 0;

}

.hero-left h1 span{

    color:#4f8cff;

}

.hero-left h2{

    font-size:34px;

    margin-bottom:20px;

    color:#c7d2fe;

}

.hero-left p{

    max-width:650px;

    color:#d1d5db;

    margin-bottom:35px;

}

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

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.btn,
.btn2,
.btn3{

    padding:14px 28px;

    border-radius:12px;

    text-decoration:none;

    color:white;

    font-weight:600;

    transition:.35s;

}

.btn{

    background:#2563eb;

}

.btn:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}

.btn2{

    background:#7c3aed;

}

.btn2:hover{

    background:#6d28d9;

    transform:translateY(-4px);

}

.btn3{

    border:2px solid #4f8cff;

}

.btn3:hover{

    background:#4f8cff;

    transform:translateY(-4px);

}

/* ===========================
   SOCIAL ICONS
=========================== */

.social-icons{

    margin-top:40px;

    display:flex;

    gap:18px;

}

.social-icons a{

    width:52px;

    height:52px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    color:white;

    font-size:22px;

    background:rgba(255,255,255,.08);

    transition:.35s;

}

.social-icons a:hover{

    background:#2563eb;

    transform:translateY(-6px);

}

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

.hero-right{

    flex:1;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:30px;

}

.profile-card{

    width:320px;

    height:320px;

    border-radius:30px;

    overflow:hidden;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.1);

    box-shadow:0 0 40px rgba(79,140,255,.25);

}

.profile-card img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.floating-card{

    width:320px;

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(15px);

    padding:25px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

}

.floating-card h3{

    margin-bottom:12px;

    color:#4f8cff;

}

.floating-card p{

    margin:8px 0;

    color:#d1d5db;

}

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

.section-title{

    text-align:center;

    font-size:42px;

    margin-bottom:60px;

    color:white;

}

/* ===========================
   GLASS CARD
=========================== */

.glass{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:40px;

    transition:.4s;

}

.glass:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 50px rgba(37,99,235,.18);

}

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

#about{

    padding:110px 10%;

}

.about-container{

    max-width:1100px;

    margin:auto;

}

.about-text{

    text-align:center;

}

.about-text h3{

    font-size:34px;

    color:#4f8cff;

    margin-bottom:25px;

}

.about-text p{

    color:#d1d5db;

    font-size:18px;

    margin-bottom:18px;

    line-height:1.9;

}

.about-text strong{

    color:#ffffff;

}

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

#skills{

    padding:110px 10%;

}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.skill-card{

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border-radius:20px;

    padding:28px;

    text-align:center;

    font-size:18px;

    font-weight:600;

    transition:.35s;

    cursor:pointer;

}

.skill-card i{

    display:block;

    font-size:34px;

    margin-bottom:15px;

    color:#4f8cff;

}

.skill-card:hover{

    transform:translateY(-10px);

    background:#2563eb;

    color:#fff;

    box-shadow:0 15px 35px rgba(37,99,235,.35);

}

.skill-card:hover i{

    color:#fff;

}

/* ===========================
   EXPERIENCE
=========================== */

#experience{

    padding:110px 10%;

}

.experience-card{

    max-width:950px;

    margin:auto;

}

.experience-card h3{

    font-size:32px;

    color:#4f8cff;

    margin-bottom:10px;

}

.experience-card span{

    display:block;

    color:#94a3b8;

    margin-bottom:25px;

}

.experience-card p{

    color:#d1d5db;

    margin-bottom:14px;

    font-size:17px;

    padding-left:12px;

    border-left:3px solid #4f8cff;

}

/* ===========================
   EDUCATION
=========================== */

#education{

    padding:110px 10%;

}

.education-card{

    max-width:850px;

    margin:auto;

    text-align:center;

}

.education-card h3{

    font-size:30px;

    color:#4f8cff;

    margin-bottom:20px;

}

.education-card p{

    color:#d1d5db;

    margin-bottom:16px;

    font-size:17px;

}

/* ===========================
   COMMON SECTION SPACING
=========================== */

section{

    position:relative;

}

section::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:120px;

    height:2px;

    background:linear-gradient(90deg,#2563eb,#7c3aed);

    opacity:.35;

}

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

#projects{

    padding:110px 10%;

}

.project-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.project-card{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:35px;

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.project-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#2563eb,#7c3aed);

    transition:.5s;

}

.project-card:hover::before{

    left:0;

}

.project-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(37,99,235,.30);

}

.project-icon{

    width:75px;

    height:75px;

    border-radius:18px;

    background:rgba(37,99,235,.18);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    margin-bottom:25px;

}

.project-card h3{

    font-size:28px;

    margin-bottom:18px;

    color:#ffffff;

}

.project-card p{

    color:#d1d5db;

    margin-bottom:28px;

    line-height:1.8;

}

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

.tech-stack{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:30px;

}

.tech-stack span{

    background:rgba(37,99,235,.18);

    color:#4f8cff;

    padding:8px 16px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.tech-stack span:hover{

    background:#2563eb;

    color:#fff;

}

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

.project-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.project-btn{

    text-decoration:none;

    padding:12px 24px;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.project-btn:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}

/* ===========================
   STATS
=========================== */

#stats{

    padding:100px 10%;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.stat{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:40px;

    text-align:center;

    transition:.35s;

}

.stat:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(37,99,235,.25);

}

.stat h2{

    font-size:46px;

    color:#4f8cff;

    margin-bottom:12px;

}

.stat p{

    color:#d1d5db;

    font-size:18px;

}

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

#contact{

    padding:110px 10%;

}

.contact-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-bottom:50px;

}

.contact-card{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:35px;

    text-align:center;

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(37,99,235,.25);

}

.contact-card i{

    font-size:42px;

    color:#4f8cff;

    margin-bottom:18px;

}

.contact-card h3{

    margin-bottom:15px;

}

.contact-card a{

    color:#d1d5db;

    text-decoration:none;

    word-break:break-word;

    transition:.3s;

}

.contact-card a:hover{

    color:#4f8cff;

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}


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

footer{

    padding:60px 10%;

    background:rgba(255,255,255,.04);

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}

.footer-content h2{

    font-size:34px;

    margin-bottom:10px;

}

.footer-content p{

    color:#d1d5db;

    margin:10px 0;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:30px 0;

}

.footer-social a{

    width:50px;

    height:50px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.08);

    color:white;

    text-decoration:none;

    font-size:22px;

    transition:.35s;

}

.footer-social a:hover{

    background:#2563eb;

    transform:translateY(-6px);

}

footer hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.08);

    margin:25px auto;

    width:80%;

}

.copyright{

    color:#9ca3af;

}


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

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#050816;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#4f8cff;

}


/* ===========================
   SELECTION
=========================== */

::selection{

    background:#2563eb;

    color:white;

}


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

@media(max-width:992px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-left h1{

    font-size:48px;

}

.hero-left h2{

    font-size:28px;

}

.hero-buttons{

    justify-content:center;

}

.social-icons{

    justify-content:center;

}

.profile-card{

    width:280px;

    height:280px;

}

.floating-card{

    width:100%;

}

nav{

    padding:18px 6%;

}

nav ul{

    gap:20px;

}

}


@media(max-width:768px){

nav{

    flex-direction:column;

    gap:15px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

.hero{

    padding:140px 7% 80px;

}

.hero-left h1{

    font-size:40px;

}

.hero-left h2{

    font-size:24px;

}

.section-title{

    font-size:34px;

}

.project-container{

    grid-template-columns:1fr;

}

.skills-grid{

    grid-template-columns:repeat(2,1fr);

}

.contact-container{

    grid-template-columns:1fr;

}

#stats{

    grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:500px){

.hero-left h1{

    font-size:34px;

}

.hero-left h2{

    font-size:20px;

}

.hero-buttons{

    flex-direction:column;

}

.btn,
.btn2,
.btn3{

    width:100%;

    text-align:center;

}

.skills-grid{

    grid-template-columns:1fr;

}

#stats{

    grid-template-columns:1fr;

}

.profile-card{

    width:230px;

    height:230px;

}

}


/* ===========================
   ANIMATIONS
=========================== */

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

.profile-card{

animation:float 5s ease-in-out infinite;

}

.floating-card{

animation:float 6s ease-in-out infinite;

}

.project-card{

transition:.4s ease;

}

.skill-card{

transition:.35s ease;

}

.stat{

transition:.35s ease;

}

.contact-card{

transition:.35s ease;

}

nav ul li a.active{

    color:#4f8cff;

    font-weight:700;

}

#typing-text{

    min-height:45px;

}

