:root {
    /* Colors */
    --clr-bg: #0a0a0a;
    --clr-bg-alt: #121212;
    --clr-bg-card: #1a1a1a;
    --clr-text: #e0e0e0;
    --clr-text-muted: #9e9e9e;
    
    /* Re-introducing Vibrant Accents */
    --clr-primary: #3b82f6; /* Bright Blue */
    --clr-primary-glow: rgba(59, 130, 246, 0.4);
    --clr-secondary: #8b5cf6; /* Vibrant Purple */
    --clr-accent: #0ea5e9; /* Sky Blue */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 6rem 0;
    --container-width: 1100px;
    --border-radius: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--clr-bg-alt);
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--clr-primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--clr-text);
    border-color: var(--clr-primary);
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.logo-img {
    height: 6rem;
    width: auto;
    object-fit: contain;
    image-rendering: optimizeQuality;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px var(--clr-primary-glow));
}

.logo span {
    color: var(--clr-accent);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.btn-primary {
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s ease-in-out infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--clr-primary);
    top: -10%;
    right: -5%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--clr-secondary);
    bottom: 10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

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

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

.image-wrapper {
    position: relative;
    width: 350px;
    height: 450px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    transition: var(--transition-slow);
    animation: float 6s ease-in-out infinite;
}

.image-wrapper img:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 20px 35px var(--clr-primary-glow));
}

.image-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    z-index: 0;
    opacity: 0.25;
    filter: blur(50px);
    transition: var(--transition-slow);
    animation: pulse 4s infinite alternate;
}

.image-wrapper:hover .image-backdrop {
    opacity: 0.6;
    filter: blur(60px);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse {
    0% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating Tech Icons */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--clr-bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transition: var(--transition-normal);
}

.floating-icon:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.1);
}

.icon-python {
    top: 10%;
    left: -10%;
    color: #3776ab;
    animation: floatOrbit 6s ease-in-out infinite alternate;
}

.icon-react {
    top: 20%;
    right: -15%;
    color: #61dafb;
    animation: floatOrbit 7s ease-in-out infinite alternate-reverse;
}

.icon-docker {
    bottom: 25%;
    left: -5%;
    color: #2496ed;
    animation: floatOrbit 5s ease-in-out infinite alternate;
}

.icon-js {
    bottom: 15%;
    right: -10%;
    color: #f7df1e;
    animation: floatOrbit 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrbit {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(10deg); }
}

.greeting {
    font-size: 1.2rem;
    color: var(--clr-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--clr-text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.highlight {
    color: transparent;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--clr-text-muted);
}

.about-text strong {
    color: #fff;
    font-weight: 600;
}

.about-bullets {
    margin-top: 1.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-bullets li {
    font-size: 1rem;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-bullets li strong {
    color: var(--clr-text);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--clr-bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* =========================================
   EXPERIENCE SETCION
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: rgba(255,255,255,0.1);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--clr-primary);
    border: 3px solid var(--clr-bg-alt);
    box-shadow: 0 0 10px var(--clr-primary-glow);
}

.timeline-content {
    background-color: var(--clr-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--clr-secondary);
}

.timeline-date {
    font-size: 0.85rem;
    background-color: rgba(255,255,255,0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: var(--clr-text-muted);
}

.timeline-company {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
}

.timeline-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   SKILLS SECTION
   ========================================= */
.skills-intro {
    text-align: center;
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--clr-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.skill-category-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.skill-category-title i {
    color: var(--clr-primary);
}

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

.tag {
    background-color: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.tag:hover {
    background-color: rgba(59, 130, 246, 0.2);
    color: #fff;
}

/* =========================================
   PROJECTS SECTION
   ========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--clr-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(139, 92, 246, 0.3);
}

.project-icon {
    font-size: 2rem;
    color: var(--clr-secondary);
}

.project-card h3 {
    font-size: 1.3rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link {
    color: var(--clr-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.project-link:hover {
    text-decoration: underline;
}

.project-card p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-text-muted);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-card {
    background-color: var(--clr-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.article-title:hover {
    color: var(--clr-primary);
}

.article-desc {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

/* =========================================
   CALL TO ACTION
   ========================================= */
.cta {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(10,10,10,0) 70%);
    z-index: -1;
}

.cta-container {
    text-align: center;
    max-width: 700px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--clr-bg-alt);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p {
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--clr-text);
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & REVEAL EFFECTS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media screen and (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin-top: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .image-wrapper {
        width: 250px;
        height: 320px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-list {
        display: none; /* simple mobile menu for now */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
}
