/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




:root {
    /* Colors */
    --primary: #00d4ff;
    --primary-light: #33ddff;
    --primary-dark: #00a8cc;


    --secondary: #00ffff;
    --accent: #0099ff;
    --accent-theme: #f59e0b;

    --dark: #000000;
    --dark-light: #0a0a0f;
    --dark-lighter: #141420;


    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --all-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
    --gradient-accent: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    --gradient-cosmic: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #6600ff 100%);


    /* Effects */
    --shadow-primary: 0 10px 40px rgba(0, 212, 255, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 212, 255, 0.6);

    /* Glow Effects */
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
    --bg-img :radial-gradient(at 0% 0%, rgba(0, 212, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 153, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(102, 0, 255, 0.1) 0px, transparent 50%);
    --gradient-text-shadow: 
        0 0 00px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-code: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

:root {
    /* Backgrounds - Absolute Black */
    --dark: #000000;
    --dark-light: #0a0a0f;
    --dark-lighter: #14141f;

    /* Primary - Electric Cyan */
    --primary: #00ffff;
    --primary-light: #33ffff;
    --primary-dark: #00cccc;

    /* Secondary - Neon Purple */
    --secondary: #9933ff;
    --accent: #ff0099;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00ffff 0%, #0099ff 100%);
    --gradient-secondary: linear-gradient(135deg, #9933ff 0%, #ff0099 100%);
    --gradient-accent: linear-gradient(135deg, #ff0099 0%, #cc0066 100%);
    --gradient-interstellar: linear-gradient(135deg, #00ffff 0%, #9933ff 33%, #ff0099 66%, #ff6600 100%);

    /* Effects */
    --shadow-primary: 0 10px 40px rgba(0, 255, 255, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 255, 255, 0.6);

    /* Glow Effects */
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --glow-purple: 0 0 20px rgba(153, 51, 255, 0.5);
    --bg-img:
        radial-gradient(at 0% 0%, rgba(0, 255, 255, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(153, 51, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 153, 0.08) 0px, transparent 50%);

}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--bg-img);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.3);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}


/* ===================================
   SHOOTING STARS ANIMATION
   =================================== */

.shooting-stars-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    animation: shootingStar 3s linear forwards;
    opacity: 0;
}

/* Tail effect */
.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
    transform: translateX(3px) translateY(0.5px);
}

@keyframes shootingStar {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(300px, 300px) rotate(45deg);
        opacity: 0;
    }
}

/* Different speeds for variety */
.shooting-star.fast {
    animation-duration: 1.5s;
}

.shooting-star.medium {
    animation-duration: 2.5s;
}

.shooting-star.slow {
    animation-duration: 4s;
}

/* Different colors for cosmic effect */
.shooting-star.blue {
    background: var(--primary);
    box-shadow: 0 0 10px 2px var(--primary);
}

.shooting-star.blue::before {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0) 0%, rgba(0, 212, 255, 0.8) 100%);
}

.shooting-star.purple {
    background: #b066ff;
    box-shadow: 0 0 10px 2px #b066ff;
}

.shooting-star.purple::before {
    background: linear-gradient(90deg, rgba(176, 102, 255, 0) 0%, rgba(176, 102, 255, 0.8) 100%);
}

.shooting-star.pink {
    background: #ff0080;
    box-shadow: 0 0 10px 2px #ff0080;
}

.shooting-star.pink::before {
    background: linear-gradient(90deg, rgba(255, 0, 128, 0) 0%, rgba(255, 0, 128, 0.8) 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #12da12;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--white);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--gradient-text-shadow);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-description strong {
    color: var(--primary-light);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--all-white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--gray);
}

/* Code Window */
.hero-visual {
    animation: fadeInRight 1s ease-out 0.3s both;
    z-index: 10;
}

.code-window {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.window-content {
    padding: 24px;
    font-family: var(--font-code);
    font-size: 14px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-keyword {
    color: #c678dd;
}

.code-variable {
    color: #e06c75;
}

.code-property {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 14px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--gray);
    border-bottom: 2px solid var(--gray);
    transform: rotate(-45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--dark);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}

.floating-card i {
    font-size: 32px;
    color: var(--primary);
}

.floating-card h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.floating-card p {
    font-size: 14px;
    color: var(--gray);
}

.about-text .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-light);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
}

.highlight-item i {
    color: var(--primary);
    font-size: 18px;
}

.about-languages {
    margin-top: 32px;
}

.about-languages h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-light);
}

/* ===================================
   SKILLS SECTION
   =================================== */
.skills {
    padding: var(--section-padding);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.skill-category {
    background: var(--dark-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 28px;
    color: var(--white);
}

.skill-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-light);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

.skill-tag.expert {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.skill-tag.advanced {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--secondary);
    color: var(--secondary);
}

.skill-tag.intermediate {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* ===================================
   EXPERIENCE TIMELINE
   =================================== */
.experience {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border: 3px solid var(--dark-light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.timeline-content {
    background: var(--dark);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.timeline-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.timeline-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-light);
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
}

.timeline-location {
    font-size: 14px;
    color: var(--gray);
}

.timeline-achievements {
    list-style: none;
    margin-bottom: 24px;
}

.timeline-achievements li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 20px;
    color: var(--gray-light);
    line-height: 1.8;
}

.timeline-achievements i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
    font-size: 18px;
}

.timeline-achievements strong {
    display: inline-block;
    color: var(--all-white);
    font-weight: 800;
    background: var(--gradient-primary);
    padding: 0px 5px;
    border-radius: 6px;
    font-size: 14px;
    margin: 0 4px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

/* Glow effect on hover */
.timeline-achievements li:hover strong {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tech span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    font-size: 13px;
    color: var(--primary-light);
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects {
    padding: var(--section-padding);
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--gray-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--all-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--dark-lighter);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.project-content {
    padding: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tags span {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary-light);
}

.project-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.project-content p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.metric span {
    font-size: 12px;
    color: var(--gray);
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-light);
}

.project-highlights i {
    color: var(--primary);
}


/* ===================================
   PROJECTS SECTION - ENHANCED
   =================================== */

/* Projects Stats */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--dark-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 28px;
    color: var(--all-white);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    font-family: var(--font-code);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* Subsection Title */
.subsection-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-code);
}

.subsection-title i {
    color: var(--primary);
}

/* Featured Projects Section */
.featured-projects-section {
    margin-bottom: 80px;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: var(--dark);
    overflow: hidden;
    transition: var(--transition);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(99, 102, 241, 0.15);
}

.featured-project:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.featured-project.reverse {
    grid-template-columns: 1fr 1fr;
}

.featured-project.reverse .featured-project-image {
    order: 2;
}

.featured-project.reverse .featured-project-content {
    order: 1;
}

.featured-project-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.featured-project:hover .featured-project-image img {
    transform: scale(1.05);
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.featured-project:hover .overlay-content {
    opacity: 1;
}

.overlay-content i {
    font-size: 48px;
    color: var(--white);
}

.featured-project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.label-badge {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    color: var(--gray-light);
    font-weight: 500;
}

.label-badge.professional {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.label-badge.opensource {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}

.featured-project-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    font-family: var(--font-code);
    line-height: 1.3;
}

.featured-project-description {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.project-achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-light);
}

.achievement-item i {
    color: var(--primary);
    font-size: 16px;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* All Projects Section */
.all-projects-section {
    margin-top: 80px;
}

/* Project Card Enhancements */
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.project-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 12px;
    color: var(--gray-light);
}

.badge.professional {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.badge.opensource {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}

.icon-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
    text-decoration: none;
}

.icon-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--all-white);
}

.project-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-code);
}

.project-card-description {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-date {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* View More Container */
.view-more-container {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-project,
    .featured-project.reverse {
        grid-template-columns: 1fr;
    }
    
    .featured-project.reverse .featured-project-image,
    .featured-project.reverse .featured-project-content {
        order: unset;
    }
    
    .featured-project-image {
        min-height: 300px;
    }
    
    .project-achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-project-content {
        padding: 24px;
    }
    
    .featured-project-title {
        font-size: 22px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-links .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .projects-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* ===================================
   PROJECT CARDS - ENHANCED
   =================================== */

.project-card {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
    border-color: var(--primary);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon i {
    font-size: 24px;
    color: var(--primary);
}

.project-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.professional {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.badge.opensource {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}

.badge.government {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    color: #f59e0b;
}

.icon-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
    text-decoration: none;
}

.icon-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--all-white);
    transform: translateY(-2px);
}

.project-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-code);
    line-height: 1.3;
}

.project-card-description {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Project Card Stats */
.project-card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.stat-item-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-light);
}

.stat-item-small i {
    color: var(--primary);
    font-size: 14px;
}

/* Project Card Features */
.project-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-card-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gray-light);
}

.project-card-features i {
    color: var(--primary);
    font-size: 12px;
}

.project-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-date {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-date i {
    color: var(--primary);
}

/* Responsive Design for Cards */
@media (max-width: 768px) {
    .project-card {
        padding: 24px;
    }
    
    .project-card-stats {
        flex-direction: column;
        gap: 8px;
    }
}


/* ===================================
   FEATURED PROJECTS - COMPACT VERSION
   =================================== */

.featured-project.featured-compact {
    grid-template-columns: 400px 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.featured-project.featured-compact.reverse {
    grid-template-columns: 1fr 400px;
}

.featured-project.featured-compact .featured-project-image {
    min-height: 280px;
}

.featured-project.featured-compact .featured-project-content {
    padding: 24px;
}

.featured-project.featured-compact .featured-project-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.featured-project.featured-compact .featured-project-description {
    font-size: 14px;
    margin-bottom: 16px;
}

.featured-project.featured-compact .project-achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.featured-project.featured-compact .achievement-item {
    font-size: 13px;
}

.featured-project.featured-compact .achievement-item i {
    font-size: 14px;
}

.featured-project.featured-compact .project-tags {
    gap: 6px;
    margin-bottom: 16px;
}

.featured-project.featured-compact .project-tags span {
    padding: 4px 10px;
    font-size: 11px;
}

.featured-project.featured-compact .project-links .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Responsive adjustments for compact featured projects */
@media (max-width: 1024px) {
    .featured-project.featured-compact,
    .featured-project.featured-compact.reverse {
        grid-template-columns: 1fr;
    }
    
    .featured-project.featured-compact .featured-project-image {
        min-height: 240px;
    }
    
    .featured-project.featured-compact .project-achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-project.featured-compact .featured-project-content {
        padding: 20px;
    }
    
    .featured-project.featured-compact .featured-project-title {
        font-size: 20px;
    }
}



/* ===================================
   MAIN PROJECT CONTAINER (Questa One VIQ)
   =================================== */

.main-project-container {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(99, 102, 241, 0.15);
    overflow: hidden;
    margin-bottom: 48px;
    transition: var(--transition);
}

.main-project-container:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

/* Main Project Header */
.main-project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    background: var(--dark);
}

.main-project-image {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.main-project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.main-project-container:hover .main-project-image img {
    transform: scale(1.05);
}

.main-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-project-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    font-family: var(--font-code);
    line-height: 1.2;
}

.main-project-description {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.main-project-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.main-project-achievements .achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-light);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.main-project-achievements .achievement-item i {
    color: var(--primary);
    font-size: 16px;
}

/* Sub-tools Container */
.sub-tools-container {
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-tools-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-code);
}

.sub-tools-title i {
    color: var(--primary);
}

.sub-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Sub-tool Cards */
.sub-tool-card {
    background: var(--dark);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    gap: 16px;
}

.sub-tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.sub-tool-card.featured-sub-tool {
    border-color: rgba(99, 102, 241, 0.4);
}

.sub-tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sub-tool-icon i {
    font-size: 24px;
    color: var(--primary);
}

.sub-tool-content {
    flex: 1;
}

.sub-tool-content h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-family: var(--font-code);
}

.sub-tool-content p {
    font-size: 13px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.sub-tool-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.sub-tool-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--gray);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.sub-tool-stats i {
    color: var(--primary);
    font-size: 12px;
}

.sub-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.sub-tool-link:hover {
    gap: 10px;
    color: var(--primary);
}

.sub-tool-link i {
    font-size: 12px;
}

/* Responsive Design for Main Project */
@media (max-width: 1024px) {
    .main-project-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .main-project-image {
        height: 300px;
    }
    
    .main-project-achievements {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sub-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-project-header,
    .sub-tools-container {
        padding: 24px;
    }
    
    .main-project-title {
        font-size: 24px;
    }
    
    .main-project-achievements {
        grid-template-columns: 1fr;
    }
    
    .sub-tool-card {
        flex-direction: column;
    }
}




/* ===================================
   EDUCATION SECTION
   =================================== */
.education {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--dark);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.education-card.featured {
    grid-column: 1 / -1;
    border: none;
}

.education-card.featured .card-content h3,
.education-card.featured .card-content h4,
.education-card.featured .card-meta {
    color: var(--white);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-card.featured .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-icon i {
    font-size: 28px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.card-content h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--gray);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta .platform {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
}

.card-meta .gpa {
    color: var(--accent-theme);
    font-weight: 600;
}








/* ===================================
   CERTIFICATIONS SECTION
   =================================== */

.certifications {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.certification-card {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.certification-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.certification-card.featured {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, var(--dark-light) 100%);
}

.certification-card.featured:hover {
    border-color: var(--primary);
}

/* Certificate Header */
.cert-header {
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cert-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.cert-badge {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-badge i {
    font-size: 24px;
    color: var(--primary);
}

/* Certificate Content */
.cert-content {
    padding: 24px;
    flex-grow: 1;
}

.cert-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-code);
    line-height: 1.3;
}

.cert-issuer,
.cert-platform,
.cert-instructor {
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-issuer i,
.cert-platform i,
.cert-instructor i {
    color: var(--primary);
    font-size: 14px;
}

.cert-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-top: 12px;
    margin-bottom: 16px;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cert-skills span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.cert-skills span i {
    font-size: 12px;
}

/* Certificate Footer */
.cert-footer {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.cert-date i {
    color: var(--primary);
}

.cert-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cert-verify-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateX(4px);
}

.cert-verify-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cert-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cert-logo-container {
        justify-content: center;
    }
    
    .cert-title {
        font-size: 18px;
    }
    
    .cert-footer {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 24px;
    background: var(--dark-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--all-white);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-light);
}

.contact-card p {
    color: var(--white);
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--all-white);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--dark-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}


/* ===================================
   NOTIFICATION STYLES
   =================================== */

.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    max-width: 450px;
    min-width: 300px;
    backdrop-filter: blur(10px);
}

.notification.show {
    right: 20px;
}

.notification.success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-secondary) 100%);
}

.notification.error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, var(--bg-secondary) 100%);
}

.notification.info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, var(--bg-secondary) 100%);
}

.notification i:first-child {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification.success i:first-child {
    color: #10b981;
}

.notification.error i:first-child {
    color: #ef4444;
}

.notification.info i:first-child {
    color: #3b82f6;
}

.notification span {
    flex: 1;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .notification {
        right: -100%;
        left: auto;
        max-width: calc(100% - 40px);
        min-width: auto;
    }
    
    .notification.show {
        right: 20px;
    }
}

/* Hidden honeypot field */
.hidden {
    display: none !important;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-light);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom i {
    color: var(--primary);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {

    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-container {
        padding: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .project-metrics {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   THEME TOGGLE & NAVIGATION ACTIONS
   =================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.sun-icon,
.moon-icon {
    position: absolute;
    font-size: 20px;
    transition: var(--transition);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: var(--primary-light);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: var(--accent-theme);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--all-white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* ===================================
   LIGHT THEME
   =================================== */
[data-theme="light"] {
    --dark: #ffffff;
    --dark-light: #f8fafc;
    --dark-lighter: #e2e8f0;
    --light: #0f172a;
    --white: #0f172a;
    --all-white: #ffffff;
    --gray: #475569;
    --gray-light: #334155;
    --gradient-text-shadow: 0;
    --primary: #0099cc; 
     --primary-light: #0099cc; 
}

[data-theme="light"] body {
    background-color: #ffffff;
    color: #0f172a;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-background .gradient-orb {
    opacity: 0.15;
}

[data-theme="light"] .code-window {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .window-header {
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
}

[data-theme="light"] .skill-category,
[data-theme="light"] .timeline-content,
[data-theme="light"] .project-card,
[data-theme="light"] .education-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .education-card.featured,
[data-theme="light"] .contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .skill-category:hover,
[data-theme="light"] .timeline-content:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .education-card:hover,
[data-theme="light"] .blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* ===================================
   GAMIFY BUTTON (SPLIT COLOR ICON)
   =================================== */
.btn-gamify {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-gamify:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-gamify i {
    position: relative;
    font-size: 20px;
    color: #3b82f6; /* Blue as base */
    transition: var(--transition);
}

.btn-gamify i::before {
    position: relative;
    z-index: 1;
}

.btn-gamify i::after {
    content: '\f11b'; /* Gamepad icon unicode */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #ef4444; /* Red */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); /* Left half only */
    z-index: 2;
}

.btn-gamify:hover i {
    transform: scale(1.1);
}

.btn-gamify:hover i::after {
    color: #ff5555; /* Brighter red on hover */
}

/* Hide on mobile/tablet */
@media (max-width: 1024px) {
    .btn-gamify {
        display: none;
    }
}

/* ===================================
   SKILLS SECTION - ENHANCED (UPDATED)
   =================================== */
.skills {
    padding: var(--section-padding);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.skill-category {
    background: var(--dark-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 28px;
    color: var(--all-white);
}

.category-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.skills-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    min-height: 120px; /* Fixed height for all items */
    justify-content: center; /* Center content vertically */
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.skill-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.skill-icon i {
    font-size: 48px;
}

.skill-icon img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    line-height: 1.2; /* Tighter line height */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    min-height: 34px; /* Reserve space for 2 lines */
}

/* REMOVED: All .skill-level styles */

.skill-legend {
    display: none; /* Hide the legend since we removed progress bars */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-icons {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .skill-item {
        min-height: 110px;
        padding: 12px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-icon i {
        font-size: 40px;
    }
    
    .skill-icon img {
        max-width: 40px;
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .skills-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===================================
   EDUCATION SECTION - ENHANCED
   =================================== */
.education {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--dark);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.education-card.featured {
    grid-column: 1 / -1;
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--white);
}

.education-card.featured .card-content h3,
.education-card.featured .card-content h4,
.education-card.featured .card-meta,
.education-card.featured .card-description {
    color: var(--white) !important;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-card.featured .card-icon {
    background: var(--primary);
    color: var(--all-white) !important;
}

.card-icon i {
    font-size: 28px;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.card-content h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta .platform {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
}

.card-meta .gpa {
    color: var(--accent-theme);
    font-weight: 600;
}

.card-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-light);
}

/* ===================================
   BLOG SECTION
   =================================== */
.blog {
    padding: var(--section-padding);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--all-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-tags span {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary-light);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
    color: var(--primary);
}

.blog-cta {
    text-align: center;
}

/* ===================================
   RESPONSIVE - UPDATED
   =================================== */
@media (max-width: 768px) {
    .nav-actions {
        gap: 8px;
    }

    .btn-download span {
        display: none;
    }

    .btn-download {
        padding: 12px;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .skills-icons {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }

    .skill-legend {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .skills-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   FIX OPACITY ISSUES
   =================================== */

/* Ensure all sections are visible by default */
section {
    opacity: 1 !important;
}

/* Only animate specific elements, not entire sections */
.skill-item,
.timeline-item,
.project-card,
.education-card,
.blog-card {
    opacity: 1;
}

/* Ensure skill levels are visible */
.skill-level {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Make sure content is always visible */
.hero-content,
.about-content,
.contact-content {
    opacity: 1 !important;
}



/* ===================================
   CODING FONT FOR HEADERS
   =================================== */

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-code: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --font-code-alt: 'Fira Code', monospace;
}

/* Apply coding font to main title */
.hero-title {
    font-family: var(--font-code);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: -0.1em;
}

/* Coding font for job titles */
.hero-subtitle {
    font-family: var(--font-code);
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* Section titles with coding font */
.section-title {
    font-family: var(--font-code);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Timeline job titles */
.timeline-header h3 {
    font-family: var(--font-code);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

/* Company names with coding font */
.timeline-header h4 {
    font-family: var(--font-code);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-light);
}

/* Project card titles */
.project-content h3 {
    font-family: var(--font-code);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Blog post titles */
.blog-content h3 {
    font-family: var(--font-code);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Education card titles */
.card-content h3 {
    font-family: var(--font-code);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

/* Skill category headers */
.category-header h3 {
    font-family: var(--font-code);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Logo text */
.logo-text {
    font-family: var(--font-code);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer brand */
.footer-brand h3 {
    font-family: var(--font-code);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
}


/* ===================================
   PARTICLE BURST TRAIL
   =================================== */
/* 
.cursor-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.cursor-trail {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    box-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 15px var(--primary);
}


.cursor-trail.particle-1 {
    animation: particleBurst1 0.8s ease-out forwards;
}

.cursor-trail.particle-2 {
    animation: particleBurst2 0.8s ease-out forwards;
}

.cursor-trail.particle-3 {
    animation: particleBurst3 0.8s ease-out forwards;
}

.cursor-trail.particle-4 {
    animation: particleBurst4 0.8s ease-out forwards;
}

@keyframes particleBurst1 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-30px, -30px) scale(0);
    }
}

@keyframes particleBurst2 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(30px, -30px) scale(0);
    }
}

@keyframes particleBurst3 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-30px, 30px) scale(0);
    }
}

@keyframes particleBurst4 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(30px, 30px) scale(0);
    }
}

/* Rainbow colors */
.cursor-trail.color-red { background: #ef4444; box-shadow: 0 0 5px #ef4444, 0 0 10px #ef4444, 0 0 15px #ef4444; }
.cursor-trail.color-orange { background: #f59e0b; box-shadow: 0 0 5px #f59e0b, 0 0 10px #f59e0b, 0 0 15px #f59e0b; }
.cursor-trail.color-yellow { background: #eab308; box-shadow: 0 0 5px #eab308, 0 0 10px #eab308, 0 0 15px #eab308; }
.cursor-trail.color-green { background: #10b981; box-shadow: 0 0 5px #10b981, 0 0 10px #10b981, 0 0 15px #10b981; }
.cursor-trail.color-blue { background: #3b82f6; box-shadow: 0 0 5px #3b82f6, 0 0 10px #3b82f6, 0 0 15px #3b82f6; }
.cursor-trail.color-purple { background: #8b5cf6; box-shadow: 0 0 5px #8b5cf6, 0 0 10px #8b5cf6, 0 0 15px #8b5cf6; }
.cursor-trail.color-pink { background: #ec4899; box-shadow: 0 0 5px #ec4899, 0 0 10px #ec4899, 0 0 15px #ec4899; }

@media (max-width: 1024px) {
    .cursor-trail-container {
        display: none !important;
    }
} */