:root {
    --bg-color: #030712;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-primary: #818cf8;
    /* Indigo transition */
    --accent-secondary: #c084fc;
    /* Purple transition */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1000px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move 20s infinite alternate linear;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #4ade80;
    /* Subtle green */
    top: 50%;
    left: 40%;
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.1);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-color);
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.nav-cv {
    color: var(--accent-secondary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600 !important;
}

.nav-cv:hover {
    color: var(--text-color) !important;
}

.btn-contact {
    padding: 0.6rem 1.2rem;
    background: var(--accent-primary);
    color: white !important;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4);
}

/* Sections */
.section {
    padding: 100px 0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.gradient-text {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.bio {
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Hero Details & Social */
.hero-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gradient-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.3);
}

.gradient-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(129, 140, 248, 0.4);
}

/* Timeline/Experience */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 13px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-header h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.company {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.date {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.card-body p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.card-body ul {
    list-style: none;
}

.card-body li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.card-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

.mini-list {
    list-style: none !important;
}

.mini-list li {
    padding-left: 0 !important;
}

.mini-list li::before {
    display: none;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    padding: 1.5rem;
}

.skill-category h5 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--accent-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tags span {
    background: rgba(129, 140, 248, 0.1);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.tools-showcase {
    margin-top: 4rem;
    text-align: center;
}

.tools-showcase h5 {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tools-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0.7;
}

.tools-cloud span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Education & Other */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.edu-item {
    padding: 1.5rem;
}

.edu-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.lang-list {
    list-style: none;
}

.hobbies-text {
    font-size: 0.95rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-card {
    text-align: center;
    padding: 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card .section-title {
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn i {
    font-size: 1.1rem;
}

.btn.primary {
    background: var(--accent-primary);
    color: white;
}

.btn.secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pet-projects-link {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.pet-projects-link:hover {
    color: var(--accent-primary);
}

.footer-favicon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* Animations Trigger Classes */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
}

.reveal.active,
.slide-up.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

    .nav-links {
        display: none;
    }

    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

    .card-header {
        flex-direction: column;
    }

    .date {
        margin-top: 0.5rem;
    }

    .contact-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 600px) {
    .contact-buttons {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .btn {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

    .btn span {
        display: none !important;
    }

    .btn i {
        font-size: 1.6rem;
        margin: 0;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }
}