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

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

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background: #050816;

    color: #f8fafc;

    line-height: 1.6;

    overflow-x: hidden;

}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: #38bdf8;
    color: #020617;
}



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

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 18px 0;

    transition: .3s;

}

.navbar.scrolled {

    background: rgba(5, 8, 22, .85);

    backdrop-filter: blur(18px);

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

}

.nav-container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    font-size: 1.4rem;

    font-weight: 800;

}

.logo span {
    color: #38bdf8;
}

.nav-container nav {

    display: flex;

    gap: 30px;

}

.nav-container nav a {

    font-size: .9rem;

    color: #94a3b8;

    transition: .3s;

}

.nav-container nav a:hover {

    color: #38bdf8;

}

.menu-toggle {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 1.4rem;

}



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

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 30%,
            rgba(14,165,233,.12),
            transparent 35%
        ),

        #050816;

}

#particles {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

}

.hero-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 850px;

}

.availability {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    border: 1px solid rgba(56,189,248,.25);

    border-radius: 50px;

    background: rgba(56,189,248,.06);

    color: #94a3b8;

    font-size: .8rem;

    margin-bottom: 25px;

}

.status-dot {

    width: 8px;

    height: 8px;

    background: #22c55e;

    border-radius: 50%;

    box-shadow: 0 0 12px #22c55e;

}

.hero-intro {

    color: #38bdf8;

    font-size: 1.1rem;

    margin-bottom: 5px;

}

.hero h1 {

    font-size: clamp(3rem, 8vw, 6rem);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -4px;

}

.hero h1 span {

    color: #38bdf8;

}

.hero h2 {

    margin-top: 20px;

    font-size: clamp(1.5rem, 3vw, 2.3rem);

    color: #cbd5e1;

    min-height: 55px;

}

#typing-text {

    color: #38bdf8;

}

.hero-description {

    max-width: 650px;

    margin: 20px auto;

    color: #94a3b8;

    font-size: 1.05rem;

}

.hero-buttons {

    margin-top: 30px;

}

.primary-btn,
.secondary-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 10px;

    margin: 5px;

    font-size: .9rem;

    transition: .3s;

}

.primary-btn {

    background: #38bdf8;

    color: #020617;

    font-weight: 700;

}

.primary-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(56,189,248,.25);

}

.secondary-btn {

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

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

}

.secondary-btn:hover {

    border-color: #38bdf8;

    transform: translateY(-3px);

}

.social-links {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 25px;

}

.social-links a {

    color: #64748b;

    font-size: 1.3rem;

    transition: .3s;

}

.social-links a:hover {

    color: #38bdf8;

    transform: translateY(-3px);

}

.scroll-indicator {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    color: #64748b;

    font-size: .7rem;

    display: flex;

    flex-direction: column;

    gap: 5px;

    align-items: center;

}

.scroll-indicator i {

    animation: bounce 1.5s infinite;

}

@keyframes bounce {

    50% {
        transform: translateY(5px);
    }

}



/* =====================================================
   SECTIONS
===================================================== */

.section {

    padding: 110px 0;

}

.section-dark {

    background: #080c1c;

}

.section-container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}

.section-heading {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;

}

.section-heading span {

    color: #38bdf8;

    font-family: monospace;

    font-size: .9rem;

}

.section-heading h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    letter-spacing: -1px;

}

.section-description {

    color: #94a3b8;

    max-width: 650px;

    margin-bottom: 40px;

}



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

.about-grid {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 60px;

    align-items: center;

}

.about-text p {

    color: #94a3b8;

    margin-bottom: 20px;

}

.about-text .large-text {

    font-size: 1.3rem;

    color: #cbd5e1;

}

.about-text strong {

    color: white;

}

.about-stats {

    display: flex;

    gap: 40px;

    margin-top: 35px;

}

.about-stats div {

    display: flex;

    flex-direction: column;

}

.about-stats strong {

    font-size: 1.8rem;

    color: #38bdf8;

}

.about-stats span {

    color: #64748b;

    font-size: .8rem;

}

.about-card {

    background: #020617;

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

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(0,0,0,.3);

}

.terminal-top {

    padding: 12px;

    display: flex;

    gap: 7px;

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

}

.terminal-top span {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #475569;

}

.terminal-content {

    padding: 30px;

    font-family: monospace;

    font-size: .85rem;

}

.terminal-green {

    color: #22c55e;

}

.terminal-output {

    color: #38bdf8;

    margin-bottom: 20px;

}



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

.skills-grid {

    display: grid;

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

    gap: 20px;

}

.skill-card {

    padding: 25px;

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

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

    border-radius: 15px;

    transition: .3s;

}

.skill-card:hover {

    border-color: rgba(56,189,248,.4);

    transform: translateY(-5px);

}

.skill-icon {

    font-size: 1.5rem;

    color: #38bdf8;

    margin-bottom: 15px;

}

.skill-card h3 {

    margin-bottom: 5px;

}

.skill-card p {

    color: #64748b;

    font-size: .8rem;

}

.tech-list {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;

}

.tech-list span {

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

    padding: 7px 12px;

    border-radius: 6px;

    color: #94a3b8;

    font-size: .75rem;

}



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

.projects-grid {

    display: grid;

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

    gap: 25px;

}

.project-card {

    background: #080c1c;

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

    border-radius: 18px;

    overflow: hidden;

    transition: .4s;

}

.project-card:hover {

    transform: translateY(-8px);

    border-color: rgba(56,189,248,.35);

    box-shadow:
        0 25px 60px rgba(0,0,0,.3);

}

.project-image {

    height: 240px;

    overflow: hidden;

    position: relative;

    background: #020617;

}

.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}

.project-card:hover .project-image img {

    transform: scale(1.05);

}

.project-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(2,6,23,.7);

    opacity: 0;

    transition: .3s;

}

.project-card:hover .project-overlay {

    opacity: 1;

}

.project-overlay a {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #38bdf8;

    color: #020617;

}

.project-content {

    padding: 25px;

}

.project-number {

    color: #38bdf8;

    font-family: monospace;

    font-size: .75rem;

    margin-bottom: 8px;

}

.project-content h3 {

    font-size: 1.2rem;

    margin-bottom: 12px;

}

.project-content p {

    color: #64748b;

    font-size: .85rem;

    margin-bottom: 20px;

}

.project-metrics {

    display: flex;

    gap: 25px;

    margin-bottom: 20px;

}

.project-metrics div {

    display: flex;

    flex-direction: column;

}

.project-metrics strong {

    color: #e2e8f0;

}

.project-metrics span {

    color: #64748b;

    font-size: .65rem;

}

.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;

}

.project-tags span {

    padding: 5px 9px;

    border-radius: 5px;

    background: rgba(56,189,248,.07);

    color: #7dd3fc;

    font-size: .65rem;

}

.project-links {

    display: flex;

    gap: 20px;

}

.project-links a {

    color: #cbd5e1;

    font-size: .8rem;

}

.project-links a:hover {

    color: #38bdf8;

}



/* =====================================================
   GITHUB
===================================================== */

.github-grid {

    display: grid;

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

    gap: 20px;

}

.github-card {

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

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

    border-radius: 15px;

    padding: 20px;

    overflow: hidden;

}

.github-card img {

    width: 100%;

}

.github-profile-button {

    margin-top: 30px;

}



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

.profiles-grid {

    display: grid;

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

    gap: 15px;

}

.profile-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background: #080c1c;

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

    border-radius: 12px;

    transition: .3s;

}

.profile-card:hover {

    border-color: rgba(56,189,248,.35);

    transform: translateY(-4px);

}

.profile-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

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

    font-size: 1.2rem;

}

.profile-card h3 {

    font-size: .9rem;

}

.profile-card p {

    color: #64748b;

    font-size: .7rem;

}

.profile-arrow {

    margin-left: auto;

    color: #475569;

    font-size: .7rem;

}



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

.contact-section {

    padding: 150px 20px;

    text-align: center;

    background:

        radial-gradient(
            circle at center,
            rgba(14,165,233,.12),
            transparent 40%
        ),

        #050816;

}

.contact-content {

    max-width: 750px;

    margin: auto;

}

.contact-label {

    color: #38bdf8;

    font-size: .75rem;

    letter-spacing: 3px;

}

.contact-content h2 {

    font-size: clamp(2.5rem, 6vw, 4.5rem);

    line-height: 1.1;

    margin: 20px 0;

}

.contact-content h2 span {

    color: #38bdf8;

}

.contact-content p {

    color: #64748b;

    margin-bottom: 30px;

}

.email-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    border: 1px solid rgba(56,189,248,.3);

    padding: 14px 22px;

    border-radius: 10px;

    color: #7dd3fc;

    transition: .3s;

}

.email-button:hover {

    background: rgba(56,189,248,.08);

}

.contact-socials {

    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 20px;

}

.contact-socials a {

    font-size: 1.3rem;

    color: #64748b;

}

.contact-socials a:hover {

    color: #38bdf8;

}



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

footer {

    padding: 30px;

    text-align: center;

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

    color: #475569;

    font-size: .7rem;

}

footer p:first-child {

    margin-bottom: 5px;

}



/* =====================================================
   ANIMATED GLOWS
===================================================== */

.hero-glow {

    position: absolute;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .08;

    pointer-events: none;

}

.glow-one {

    background: #38bdf8;

    left: -200px;

    top: 20%;

}

.glow-two {

    background: #8b5cf6;

    right: -200px;

    bottom: 10%;

}



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

@media(max-width:900px) {

    .about-grid {

        grid-template-columns: 1fr;

    }

    .skills-grid {

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

    }

    .profiles-grid {

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

    }

}

@media(max-width:700px) {

    .nav-container nav {

        position: absolute;

        top: 70px;

        left: 5%;

        width: 90%;

        padding: 20px;

        display: none;

        flex-direction: column;

        background: rgba(5,8,22,.95);

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

        border-radius: 12px;

    }

    .nav-container nav.active {

        display: flex;

    }

    .menu-toggle {

        display: block;

    }

    .projects-grid {

        grid-template-columns: 1fr;

    }

    .github-grid {

        grid-template-columns: 1fr;

    }

    .profiles-grid {

        grid-template-columns: 1fr;

    }

    .skills-grid {

        grid-template-columns: 1fr;

    }

    .about-stats {

        gap: 20px;

        flex-wrap: wrap;

    }

    .hero h1 {

        letter-spacing: -2px;

    }

}

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}

.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}
/* ==========================
   INSIGHTS
========================== */

.insight-grid{

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

}

.insight-card{

    background:#080c1c;
    border:1px solid rgba(255,255,255,.08);
    padding:30px;
    text-align:center;
    border-radius:15px;

}

.insight-card h3{

    color:#38bdf8;
    font-size:2rem;
    margin-bottom:10px;

}

.insight-card p{

    color:#94a3b8;

}

.repo-showcase{

    margin-top:30px;

}

.repo-showcase h3{

    margin-bottom:20px;

}

.repo-list{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.repo-list a{

    padding:15px;
    border-radius:10px;
    background:#050816;
    border:1px solid rgba(255,255,255,.08);

}

/* ==========================
   LEETCODE
========================== */

.leetcode-card{

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;

    background:#080c1c;
    border:1px solid rgba(255,255,255,.08);

    padding:40px;
    border-radius:20px;

}

.leetcode-stats{

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

}

.leetcode-stats div{

    display:flex;
    flex-direction:column;

}

.leetcode-stats strong{

    color:#38bdf8;
    font-size:1.8rem;

}

.leetcode-stats span{

    color:#94a3b8;

}

.progress-bar{

    width:100%;
    height:12px;
    background:#111827;
    border-radius:30px;
    overflow:hidden;
    margin:20px 0;

}

.progress-fill{

    width:20%;
    height:100%;
    background:#38bdf8;

}

/* ==========================
   BUILDING
========================== */

.building-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;

}

.building-card{

    padding:25px;
    border-radius:15px;

    background:#080c1c;

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

}

.building-card h3{

    margin-bottom:10px;
    color:#38bdf8;

}

.building-card p{

    color:#94a3b8;

}

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

@media(max-width:768px){

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

    .leetcode-card{
        grid-template-columns:1fr;
    }

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

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

.stack-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

}

.stack-card {

    background: #080c1c;
    border: 1px solid rgba(255,255,255,.08);

    border-radius: 15px;

    padding: 25px;

    transition: .3s;

}

.stack-card:hover {

    transform: translateY(-5px);

    border-color: rgba(56,189,248,.4);

}

.stack-card h3 {

    color: #38bdf8;
    margin-bottom: 15px;

}

.stack-tags {

    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.stack-tags span {

    padding: 8px 12px;

    border-radius: 8px;

    background: rgba(56,189,248,.08);

    color: #7dd3fc;

    font-size: .8rem;

}

/* Mobile */

@media(max-width:768px){

    .stack-grid{

        grid-template-columns:1fr;

    }

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

.stack-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;

}

.stack-card {

    background: #080c1c;

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

    border-radius: 18px;

    padding: 25px;

    transition: all .3s ease;

}

.stack-card:hover {

    transform: translateY(-8px);

    border-color: rgba(56,189,248,.4);

    box-shadow:
        0 10px 30px rgba(56,189,248,.15);

}

.stack-header {

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

    margin-bottom: 20px;

}

.stack-icon {

    font-size: 2.2rem;

    transition: .3s;

}

.stack-card:hover .stack-icon {

    transform: scale(1.15);

}

.stack-header h3 {

    font-size: 1.1rem;

    font-weight: 600;

}

.stack-tags {

    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.stack-tags span {

    background: rgba(56,189,248,.08);

    color: #7dd3fc;

    padding: 8px 14px;

    border-radius: 10px;

    font-size: .85rem;

    border: 1px solid rgba(56,189,248,.15);

    transition: .3s;

}

.stack-tags span:hover {

    background: rgba(56,189,248,.15);

    transform: translateY(-2px);

}

@media(max-width: 992px){

    .stack-grid{

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

    }

}

@media(max-width: 768px){

    .stack-grid{

        grid-template-columns: 1fr;

    }

}
.cert-grid{

    display:grid;
    grid-template-columns:1fr;
    gap:20px;

}

.cert-card{

    background:#080c1c;

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

    border-radius:15px;

    padding:25px;

}

.cert-card h3{

    color:#38bdf8;
    margin-bottom:10px;

}

.cert-card p{

    color:#94a3b8;

}
.project-card video {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}