/* --- Variables & Reset --- */
:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: #0F0F11;
    --bg-card-hover: #161618;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-accent: #e0e0e0;

    --primary-color: #00f0ff;
    /* Cyan Neon */
    --primary-glow: rgba(0, 240, 255, 0.4);

    --secondary-color: #7000ff;
    /* Purple Neon */
    --secondary-glow: rgba(112, 0, 255, 0.4);

    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    /* Fonts */
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- Global Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Background Effects --- */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-color);
    animation: pulse 10s infinite alternate;
}

.bg-glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--secondary-color);
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

/* --- Navigation --- */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color) !important;
}

.btn-sm:hover {
    background: var(--primary-color);
    color: #000 !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-accent);
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.headline {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Hero Visual/Animation --- */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.orbit-container {
    width: 100%;
    height: 100%;
    position: relative;
    animation: rotate 60s linear infinite;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(20, 20, 22, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.icon-1 {
    top: 10%;
    right: 20%;
    color: #61DAFB;
    animation: float 6s ease-in-out infinite;
}

.icon-2 {
    bottom: 20%;
    left: 10%;
    color: #FFD43B;
    animation: float 8s ease-in-out infinite 1s;
}

.icon-3 {
    top: 40%;
    right: -5%;
    color: #FF4B4B;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Animations utils */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .section {
        padding: 100px 0;
    }
}

/* --- Sections Global --- */
.section {
    padding: 200px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.bg-dim {
    background: rgba(255, 255, 255, 0.02);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: 0.3s;
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--primary-glow);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: var(--gradient-main);
    filter: blur(40px);
    opacity: 0.4;
    animation: pulse 4s infinite;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-icon {
    margin-top: 20px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
}

/* --- Skills Section --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.skill-category h3 i {
    color: var(--secondary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-accent);
    border: 1px solid transparent;
    transition: 0.3s;
}

.skill-tags span:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--primary-color);
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.project-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-left: 15px;
}

.project-links a:hover {
    color: var(--primary-color);
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.tech-stack span {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
}

/* --- Timeline (Experience) --- */
.timeline {
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -39px;
    top: 5px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-content .date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--font-mono);
    display: block;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* --- Future Section --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.future-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.3s;
}

.future-card:hover {
    border-color: var(--secondary-color);
}

.future-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.future-card h3 {
    margin-bottom: 15px;
}

.future-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-box {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    margin: 30px 0;
    color: var(--text-primary);
}

.email-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Footer --- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-logo .accent {
    color: var(--primary-color);
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-text {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-box {
        padding: 30px;
    }

    .email-link {
        font-size: 1.2rem;
    }
}