/* ==================================================
   GOOGLE FONT
================================================== */

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

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

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

html{
    overflow-x:hidden;
}

body{
    font-family:'Inter',sans-serif;
    background:#050816;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.7;
}

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

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#050816;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        #00d9ff,
        #7b61ff
    );
    border-radius:20px;
}

/* ==================================================
   GLOBAL
================================================== */

.section{
    padding:120px 8%;
}

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

.section-title span{
    display:inline-block;
    padding:8px 18px;
    border:1px solid rgba(255,255,255,0.1);
    border-radius:30px;
    color:#00d9ff;
    font-size:0.85rem;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:20px;
}

.section-title h2{
    font-size:3rem;
    font-weight:800;
    color:#fff;
}

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

body::before{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:#00d9ff20;
    border-radius:50%;
    filter:blur(180px);
    top:-100px;
    left:-150px;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:#7b61ff20;
    border-radius:50%;
    filter:blur(180px);
    bottom:-100px;
    right:-150px;
    z-index:-1;
}

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

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    backdrop-filter:blur(20px);
    background:rgba(5,8,22,0.75);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.navbar{
    width:90%;
    margin:auto;
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:1.5rem;
    font-weight:800;

    background:linear-gradient(
        90deg,
        #00d9ff,
        #7b61ff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

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

.nav-links a{
    text-decoration:none;
    color:#d1d5db;
    font-weight:500;
    transition:.3s ease;
}

.nav-links a:hover{
    color:#00d9ff;
}

.hamburger{
    display:none;
    cursor:pointer;
    font-size:1.6rem;
}

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

.hero{
    min-height:100vh;

    display:flex;
    align-items:center;

    padding:120px 8% 50px;
}

.hero-container{
    width:100%;

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

.hero-badge{
    display:inline-block;

    padding:10px 18px;

    border:1px solid rgba(0,217,255,0.25);

    background:rgba(0,217,255,0.08);

    border-radius:30px;

    color:#00d9ff;

    font-size:0.9rem;
    font-weight:600;

    margin-bottom:25px;
}

.hero-left h1{
    font-size:5rem;
    line-height:1.1;
    margin-bottom:15px;
    font-weight:900;
}

.hero-left h2{

    font-size:2rem;

    background:linear-gradient(
        90deg,
        #00d9ff,
        #7b61ff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    margin-bottom:25px;
}

.hero-left p{
    color:#9ca3af;
    font-size:1.1rem;
    max-width:650px;
    margin-bottom:35px;
}

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

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

.primary-btn{
    padding:14px 30px;

    background:linear-gradient(
        135deg,
        #00d9ff,
        #7b61ff
    );

    color:#fff;
    text-decoration:none;
    border-radius:14px;
    font-weight:600;

    transition:.4s;
}

.primary-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 10px 30px rgba(0,217,255,0.3);
}

.secondary-btn{

    padding:14px 30px;

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

    color:#fff;

    text-decoration:none;

    border-radius:14px;

    transition:.4s;
}

.secondary-btn:hover{
    border-color:#00d9ff;
    transform:translateY(-4px);
}

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

.social-icons{

    display:flex;
    gap:20px;

    margin-top:35px;
}

.social-icons a{

    width:52px;
    height:52px;

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

    border-radius:14px;

    background:rgba(255,255,255,0.05);

    color:#fff;

    font-size:1.2rem;

    transition:.4s;
}

.social-icons a:hover{

    transform:translateY(-5px);

    background:linear-gradient(
        135deg,
        #00d9ff,
        #7b61ff
    );
}

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

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

.profile-card{

    position:relative;

    width:380px;
    height:380px;

    border-radius:40px;

    overflow:hidden;

    background:rgba(255,255,255,0.05);

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

    backdrop-filter:blur(20px);

    box-shadow:
    0 0 40px rgba(0,217,255,0.15);
}

.profile-card img{

    width:100%;
    height:100%;

    object-fit:cover;
}

.status-dot{

    position:absolute;

    width:18px;
    height:18px;

    border-radius:50%;

    background:#00ff6a;

    top:25px;
    right:25px;

    box-shadow:
    0 0 20px #00ff6a;
}

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

.about-container{

    display:grid;

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

    gap:60px;

    align-items:center;
}

.about-content p{

    color:#9ca3af;

    font-size:1.05rem;

    margin-bottom:25px;
}

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

.stats-grid{

    display:grid;

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

    gap:20px;
}

.stat-card{

    background:
    rgba(255,255,255,0.05);

    backdrop-filter:
    blur(15px);

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

    border-radius:24px;

    padding:35px;

    transition:.4s;
}

.stat-card:hover{

    transform:
    translateY(-8px);

    border-color:
    rgba(0,217,255,0.4);

    box-shadow:
    0 10px 40px rgba(0,217,255,0.12);
}

.stat-card h3{

    font-size:2rem;

    margin-bottom:10px;

    background:
    linear-gradient(
    90deg,
    #00d9ff,
    #7b61ff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.stat-card p{
    color:#cbd5e1;
}
/* ==================================================
   EXPERIENCE SECTION
================================================== */

.experience-card{

    max-width:1000px;
    margin:auto;

    background:rgba(255,255,255,0.05);

    backdrop-filter:blur(20px);

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

    border-radius:30px;

    padding:40px;

    transition:.4s ease;
}

.experience-card:hover{

    transform:translateY(-8px);

    border-color:rgba(0,217,255,0.3);

    box-shadow:
    0 20px 60px rgba(0,217,255,0.12);
}

.experience-header{

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

    margin-bottom:30px;

    flex-wrap:wrap;
    gap:15px;
}

.experience-header h3{

    font-size:1.7rem;
    margin-bottom:5px;
}

.experience-header h4{

    color:#00d9ff;
    font-weight:500;
}

.experience-header span{

    padding:10px 18px;

    border-radius:30px;

    background:rgba(123,97,255,0.15);

    color:#7b61ff;

    font-weight:600;
}

.experience-card ul{

    padding-left:20px;
}

.experience-card li{

    margin-bottom:15px;

    color:#cbd5e1;
}
.experience-card:not(:last-child){
    margin-bottom:40px;
}

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

#projects{
    padding-top:120px;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    align-items:stretch;
}

.project-card{
    display:flex;
    flex-direction:column;
    height:100%;
}


/* Center the 4th project on second row */

.project-card{
    position:relative;

    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,0.08);
    border-radius:28px;

    padding:35px;
    overflow:hidden;

    transition:.4s ease;

    display:flex;
    flex-direction:column;
    min-height:750px; /* keeps all cards same height */
}

.project-card::before{

    content:"";

    position:absolute;

    width:250px;
    height:250px;

    background:
    radial-gradient(
    circle,
    rgba(0,217,255,.12),
    transparent
    );

    top:-100px;
    right:-100px;
}

.project-card:hover{

    transform:
    translateY(-10px);

    border-color:
    rgba(0,217,255,0.35);

    box-shadow:
    0 20px 60px rgba(0,217,255,0.12);
}

.project-card h3{

    font-size:1.6rem;

    margin-bottom:15px;
}

.project-card p{

    color:#9ca3af;

    margin-bottom:20px;
}

.project-card ul{
    padding-left:18px;
    margin-bottom:25px;
    flex-grow:1;
}
.project-card li{

    color:#cbd5e1;

    margin-bottom:12px;
}

/* ==================================================
   PROJECT TAGS
================================================== */

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    min-height:140px;
    align-content:flex-start;
}

.tags span{

    padding:8px 14px;

    border-radius:30px;

    background:
    rgba(255,255,255,0.05);

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

    font-size:.85rem;

    color:#dbeafe;
}

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

.education-grid{

    display:grid;

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

    gap:30px;
}

.education-card{

    background:
    rgba(255,255,255,0.05);

    backdrop-filter:
    blur(20px);

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

    border-radius:28px;

    padding:35px;

    transition:.4s;
}

.education-card:hover{

    transform:
    translateY(-10px);

    border-color:
    rgba(123,97,255,0.4);

    box-shadow:
    0 15px 50px rgba(123,97,255,0.15);
}

.edu-year{

    display:inline-block;

    margin-bottom:20px;

    padding:8px 16px;

    border-radius:30px;

    background:
    rgba(0,217,255,0.12);

    color:#00d9ff;

    font-size:.9rem;

    font-weight:600;
}

.education-card h3{

    font-size:1.4rem;

    margin-bottom:12px;
}

.education-card h4{

    color:#00d9ff;

    margin-bottom:8px;
}

.education-card p{

    color:#94a3b8;

    margin-bottom:20px;
}

.cgpa{

    display:inline-block;

    padding:10px 18px;

    border-radius:12px;

    background:
    linear-gradient(
    135deg,
    rgba(0,217,255,.15),
    rgba(123,97,255,.15)
    );

    color:#fff;

    font-weight:700;
}

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

.skills-container{

    display:grid;

    gap:30px;
}

.skill-category{

    background:
    rgba(255,255,255,0.05);

    backdrop-filter:
    blur(20px);

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

    border-radius:25px;

    padding:35px;

    transition:.4s;
}

.skill-category:hover{

    transform:
    translateY(-6px);

    border-color:
    rgba(0,217,255,0.3);

    box-shadow:
    0 10px 40px rgba(0,217,255,0.08);
}

.skill-category h3{

    margin-bottom:25px;

    font-size:1.4rem;
}

.skill-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;
}

.skill-tags span{

    padding:10px 18px;

    border-radius:30px;

    background:
    rgba(255,255,255,0.05);

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

    color:#dbeafe;

    transition:.3s;
}

.skill-tags span:hover{

    background:
    linear-gradient(
    135deg,
    #00d9ff,
    #7b61ff
    );

    border-color:transparent;

    transform:
    translateY(-3px);
}

/* ==================================================
   SECTION REVEAL ANIMATION
================================================== */

.project-card,
.education-card,
.skill-category,
.experience-card{

    animation:
    fadeUp .8s ease forwards;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

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

.project-links{

    margin-top:25px;

    display:flex;
    gap:12px;

    flex-wrap:wrap;
}

.project-links a{

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    font-size:.9rem;

    font-weight:600;

    color:#fff;

    transition:.3s;
}

.project-links a:first-child{

    background:
    linear-gradient(
    135deg,
    #00d9ff,
    #7b61ff
    );
}

.project-links a:last-child{

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

    background:
    rgba(255,255,255,0.05);
}

.project-links a:hover{

    transform:
    translateY(-3px);
}
/* ==================================================
   CERTIFICATIONS
================================================== */

.cert-grid{

    display:grid;

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

    gap:25px;
}

.cert-card{

    background:
    rgba(255,255,255,0.05);

    backdrop-filter:blur(20px);

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

    border-radius:25px;

    padding:30px;

    text-align:center;

    transition:.4s ease;
}

.cert-card:hover{

    transform:translateY(-8px);

    border-color:rgba(0,217,255,0.35);

    box-shadow:0 15px 50px rgba(0,217,255,0.12);
}

.cert-icon{

    font-size:2rem;

    margin-bottom:15px;

    color:#00d9ff;
}

.cert-card h3{

    font-size:1.2rem;

    margin-bottom:10px;
}

.cert-card p{
    color:#94a3b8;
}

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

.contact-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:start;
}

.contact-info{

    display:grid;

    gap:20px;
}

.contact-card{

    background:
    rgba(255,255,255,0.05);

    backdrop-filter:blur(20px);

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

    border-radius:25px;

    padding:25px;

    text-align:center;

    transition:.4s ease;
}

.contact-card:hover{

    transform:translateY(-6px);

    border-color:rgba(123,97,255,0.4);

    box-shadow:0 15px 50px rgba(123,97,255,0.15);
}

.contact-card i{

    font-size:1.5rem;

    color:#00d9ff;

    margin-bottom:10px;
}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:15px;
}

.contact-form input,
.contact-form textarea{

    padding:15px 18px;

    border-radius:14px;

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

    background:rgba(255,255,255,0.05);

    color:#fff;

    outline:none;

    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#00d9ff;

    box-shadow:0 0 20px rgba(0,217,255,0.15);
}

.contact-form button{

    padding:14px;

    border:none;

    border-radius:14px;

    background:linear-gradient(135deg,#00d9ff,#7b61ff);

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.contact-form button:hover{

    transform:translateY(-3px);
}

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

.footer{

    margin-top:100px;

    padding:60px 8%;

    text-align:center;

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

    background:rgba(5,8,22,0.7);
}

.footer h2{

    font-size:2rem;

    margin-bottom:10px;
}

.footer p{

    color:#94a3b8;

    margin-bottom:20px;
}

.footer-socials{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-bottom:20px;
}

.footer-socials a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:12px;

    background:rgba(255,255,255,0.05);

    color:#fff;

    transition:.3s;
}

.footer-socials a:hover{

    background:linear-gradient(135deg,#00d9ff,#7b61ff);

    transform:translateY(-4px);
}

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

@media (max-width: 1024px){

    .hero-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-right{
        margin-top:50px;
    }

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

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

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

@media (max-width: 768px){

    .nav-links{
        display:none;
    }

    .hamburger{
        display:block;
    }

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

    .hero-left h2{
        font-size:1.5rem;
    }

    .profile-card{
        width:300px;
        height:300px;
    }

    .section{
        padding:80px 5%;
    }

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

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

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

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

@keyframes float {

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }
}

.profile-card{
    animation:float 6s ease-in-out infinite;
}

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

.project-links a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #333;
    color: #fff;
    transition: 0.3s;
}

.project-links a:hover {
    background: #00adb5;
    border-color: #00adb5;
    color: #000;
}

@media screen and (max-width: 1200px){
    .projects-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px){
    .projects-grid{
        grid-template-columns:1fr;
    }
}
