/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0b0b;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========== PARTICLE CANVAS ========== */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b0b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-screen p {
    color: #00e5ff;
    font-size: 18px;
    font-weight: 600;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 229, 255, 0.2);
    border-top-color: #00e5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00e5ff, #00ff9f);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.logo .dot {
    color: #00e5ff;
    font-size: 36px;
}

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

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #00e5ff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* ========== HERO SECTION ========== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 100px 80px 80px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.greeting {
    color: #00ff9f;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin: 10px 0;
}

.subtitle {
    font-size: 36px;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.bio-text {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, #00e5ff, #00ff9f);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #00e5ff;
    border: 2px solid #00e5ff;
}

.btn-outline:hover {
    background: #00e5ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.stats-container {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #00e5ff;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #00e5ff, #00ff9f);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.img-wrapper img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00e5ff;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

/* ========== NEON TEXT EFFECTS ========== */
.neon-text-cyan {
    color: #fff;
    text-shadow:
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px #00e5ff,
        0 0 82px #00e5ff;
}

.neon-text-green {
    color: #00ff9f;
    text-shadow:
        0 0 7px #00ff9f,
        0 0 10px #00ff9f,
        0 0 21px #00ff9f;
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 18px;
    margin-bottom: 60px;
}

.highlight {
    color: #00e5ff;
}

/* ========== ABOUT SECTION ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    flex: 1;
}

.about-skills {
    flex: 1;
}

.about-skills h3 {
    font-size: 28px;
    color: #00e5ff;
    margin-bottom: 25px;
}

.about-text h3 {
    font-size: 32px;
    color: #00ff9f;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.skill-item span {
    display: block;
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #00ff9f);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    transition: width 1s ease;
}

.fun-facts {
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 229, 255, 0.05);
    border-left: 3px solid #00e5ff;
    border-radius: 8px;
}

.fun-facts h4 {
    color: #00ff9f;
    font-size: 24px;
    margin-bottom: 15px;
}

.fun-facts ul {
    list-style: none;
    padding: 0;
}

.fun-facts li {
    color: #b0b0b0;
    font-size: 16px;
    padding: 8px 0;
    padding-left: 5px;
    line-height: 1.6;
}

.fun-facts li::before {
    content: '▸';
    color: #00e5ff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 8px;
}

/* ========== TECH STACK SECTION ========== */
.tech-section {
    background: rgba(0, 229, 255, 0.02);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #00e5ff;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}

.tech-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
}

.tech-card span {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* ========== PORTFOLIO SECTION ========== */
.availability-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid rgba(0, 255, 159, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    margin: 0 auto 40px;
    justify-content: center;
    width: fit-content;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #00ff9f;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff9f;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.availability-badge span:last-child {
    color: #00ff9f;
    font-weight: 600;
    font-size: 15px;
}

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

.repo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.repo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00e5ff, #00ff9f);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.repo-card:hover::before {
    transform: scaleX(1);
}

.repo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00e5ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.repo-card h3 {
    font-size: 24px;
    color: #00e5ff;
    margin-bottom: 12px;
}

.repo-card p {
    color: #a0a0a0;
    font-size: 15px;
    margin-bottom: 20px;
    min-height: 60px;
}

.repo-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #888;
    font-size: 14px;
}

.repo-meta i {
    color: #00ff9f;
}

.repo-link {
    display: inline-block;
    margin-top: 15px;
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.repo-link:hover {
    color: #00ff9f;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #00ff9f);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #00e5ff;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.contact-card i {
    font-size: 48px;
    color: #00e5ff;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #888;
    font-size: 16px;
}

.contact-card span {
    color: #00ff9f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    word-break: break-word;
    display: inline-block;
}

.contact-card:hover span {
    color: #00e5ff;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(0, 255, 159, 0.05));
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00e5ff, #00ff9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ========== FOOTER ========== */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 80px;
    text-align: center;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
}

footer p {
    color: #888;
    font-size: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 229, 255, 0.2);
        height: calc(100vh - 70px);
        width: 60%;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }

    .hero {
        flex-direction: column-reverse;
        padding: 100px 30px 50px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 28px;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-container {
        justify-content: center;
        flex-wrap: wrap;
    }

    .img-wrapper {
        width: 280px;
        height: 280px;
    }

    .section {
        padding: 60px 30px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .tech-icon {
        width: 50px;
        height: 50px;
    }

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

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

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}