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

@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor {
        width: 20px;
        height: 20px;
        border: 2px solid #10b981;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: none;
        transform: translate(-50%, -50%);
    }

    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background: #10b981;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transition: none;
        transform: translate(-50%, -50%);
    }
}

@media (hover: hover) and (pointer: fine) {
    a:hover,
    .btn:hover {
        cursor: none;
    }
}

:root {
    --primary: #10b981;
    --secondary: #34d399;
    --accent: #6ee7b7;
    --dark: #0a0a0a;
    --light: #1a1a1a;
    --gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #f3f4f6;
    overflow-x: hidden;
    background: #0a0a0a;
    font-size: 22px;
    width: 100%;
    max-width: 100vw;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 0 rgba(16, 185, 129, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9fafb;
    font-family: 'JetBrains Mono', monospace;
}

.logo {
    position: relative;
}

.logo a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s linear infinite;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.logo a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7, #10b981);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo a:hover::before {
    opacity: 1;
}

.logo a:hover {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
}

.logo-bracket {
    color: #10b981;
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #f3f4f6;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.3rem;
}

nav a:hover {
    color: #10b981;
    transform: translateY(-2px);
}

nav a {
    transition: all 0.3s ease;
}

#hero {
    background: #0a0a0a;
    color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

#hero .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    animation: float-particle 20s infinite;
    opacity: 0.6;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

#hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 20s linear infinite;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.hero-text {
    max-width: 900px;
}

.hero-greeting {
    font-size: 2rem;
    font-weight: 500;
    color: #10b981;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    animation: fadeInUp 0.6s ease;
}

.hero-name {
    font-size: 7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s linear infinite;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.5));
}

@keyframes shimmer-text {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.typing-effect {
    display: inline-block;
    border-right: 3px solid #10b981;
    animation: typing 2s steps(16) 1s 1 normal both, blink 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes glow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.3));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 50px rgba(16, 185, 129, 0.5));
    }
}



.hero-title {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
    animation: fadeInUp 1s ease;
    color: #f3f4f6;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 2.2;
    animation: fadeInUp 1.2s ease;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e5e7eb;
}

.subtitle-highlight {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #f9fafb;
}

.subtitle-specialization {
    display: block;
    margin-top: 0.5rem;
}

.subtitle-tech {
    color: #10b981;
    font-weight: 600;
    white-space: nowrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    animation: fadeInUp 1.4s ease;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 25px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(16, 185, 129, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-stats:hover::before {
    opacity: 1;
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 80%;
}

.stat-item:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    line-height: 1;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.5rem;
    font-weight: 500;
    color: #d1d5db;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1.6s ease;
    justify-content: center;
    margin-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.btn-secondary {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

section {
    padding: 6rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    z-index: 0;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

section > * {
    position: relative;
    z-index: 1;
}

section:nth-child(even)::before {
    background: #1a1a1a;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 2px 15px rgba(16, 185, 129, 0.8), 0 0 30px rgba(16, 185, 129, 0.5); }
}

h2 i {
    margin-right: 0.5rem;
    color: #10b981;
}

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

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    height: 450px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.about-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
}

.about-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7, #10b981);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card:hover::before {
    opacity: 1;
}

@keyframes border-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.about-card.active:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: -2rem;
}

.slider-btn {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #10b981;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.dot:hover {
    background: #10b981;
    transform: scale(1.2);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    background: linear-gradient(45deg, #059669, #10b981, #34d399, #059669);
    background-size: 300% 300%;
    animation: gradientRotate 3s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card.active:hover .card-icon::before {
    opacity: 1;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #f9fafb;
}

.about-card p {
    color: #d1d5db;
    line-height: 2;
    font-size: 1.4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: visible;
}

.project-card .glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.project-card:hover .glow-effect {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.project-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.project-card:hover::after {
    width: 500px;
    height: 500px;
}

.project-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
}

.project-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card h3::before {
    content: '🚀';
    background: var(--gradient);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.project-summary {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 2;
    font-size: 1.35rem;
    text-align: left;
}

.project-summary.hide {
    display: none;
}

.project-details {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 2;
    font-size: 1.35rem;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-details.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.tags span {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.tags span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.tags span:hover::before {
    left: 100%;
}

.tags span:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border-color: rgba(16, 185, 129, 0.4);
}

.project-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.skill-category {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.skill-category h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #10b981;
}

.skills-grid {
    display: flex;
    flex-wrap: nowrap;     overflow-x: auto;     scroll-behavior: smooth;     cursor: grab;     scrollbar-width: thin;     scrollbar-color: #10b981 rgba(16, 185, 129, 0.1);     -webkit-overflow-scrolling: touch;
    gap: 2rem;
        padding-bottom: 1rem;
}

.skills-grid::-webkit-scrollbar {
    height: 6px;
}
.skills-grid::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 3px;
}
.skills-grid::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 3px;
}

.skill-item {
        flex: 0 0 140px;
    background: rgba(16, 185, 129, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
    border-color: rgba(16, 185, 129, 0.6);
}

.skill-item i,
.skill-item span {
    position: relative;
    z-index: 1;
}

.skill-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    transition: transform 0.6s ease;
}

.skill-item i {
    font-size: 3rem;
}

.skill-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    transition: all 0.6s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.skill-item:hover .skill-logo {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.6));
}

.skill-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f9fafb;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
}



#resume {
    text-align: center;
}

#resume p {
    font-size: 1.7rem;
    margin-bottom: 3rem;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resume-download {
    margin-top: 3rem;
}

.btn-download {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-download:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
}

#contact {
    text-align: center;
}

#contact p {
    font-size: 1.7rem;
    margin-bottom: 3rem;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.contact-links a {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-size: 1.3rem;
}

.contact-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

footer {
    background: #0a0a0a;
    color: #d1d5db;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    margin-top: 3rem;
}

footer p {
    margin: 0.8rem 0;
    font-size: 1.2rem;
}

.experience-timeline {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.experience-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #059669, #10b981, #34d399);
    transform: scaleY(0);
    transition: transform 0.5s ease;
}

.experience-item:hover::before {
    transform: scaleY(1);
}

.experience-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(26, 26, 26, 0.95);
}

.experience-item h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.experience-item:hover h3 {
    background-position: right center;
    transform: translateX(5px);
}

.experience-item h3::before {
    content: '💼';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.experience-item:hover h3::before {
    transform: scale(1.2) rotate(10deg);
}

.experience-item .company {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.experience-item .company::before {
    content: '🏢';
    font-size: 1rem;
}

.experience-item .duration {
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.experience-item:hover .duration {
    background: rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.experience-item .duration::before {
    content: '📅';
}

.experience-item ul {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
}

.experience-highlights {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
}

.experience-highlights li {
    margin-bottom: 1rem;
    line-height: 2;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.35rem;
}

.experience-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.experience-details {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.experience-details.show {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.experience-details li {
    margin-bottom: 1.5rem;
    line-height: 2;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.35rem;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.expand-btn {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    pointer-events: auto !important;
    z-index: 100;
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.expand-btn:hover::before {
    width: 300px;
    height: 300px;
}

.expand-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.expand-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.experience-item li {
    margin-bottom: 1.5rem;
    line-height: 2;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.35rem;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.experience-highlights li:hover,
.experience-details li:hover {
    transform: translateX(8px);
    color: #f9fafb;
}

.experience-highlights li:hover::before,
.experience-details li:hover::before {
    color: #10b981;
    transform: scale(1.4) translateX(-2px);
    animation: pulse-arrow 0.6s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { transform: scale(1.4) translateX(-2px); }
    50% { transform: scale(1.5) translateX(0); }
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.education-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.education-item h3 {
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.education-item .school {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
}

.education-item .location,
.education-item .duration {
    color: #d1d5db;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.education-item .coursework {
    color: #d1d5db;
    margin-top: 1rem;
    font-size: 1.35rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cert-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.cert-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.cert-item:hover::after {
    width: 300px;
    height: 300px;
}

.cert-item:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.5);
    border-color: rgba(16, 185, 129, 0.6);
    cursor: pointer;
}

.cert-item h3,
.cert-item p,
.cert-icon {
    position: relative;
    z-index: 1;
}

.cert-item:hover .cert-icon {
    transform: rotateY(360deg) scale(1.2);
    transition: transform 0.6s ease;
}

.cert-item h3 {
    font-size: 1.6rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: #d1d5db;
    font-weight: 600;
    font-size: 1.3rem;
}

.cert-icon {
    font-size: 2.5rem;
    color: #FF9900;
    margin-bottom: 0.5rem;
}

.credly-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.credly-badges > div {
    transition: all 0.4s ease;
    filter: drop-shadow(0 8px 25px rgba(16, 185, 129, 0.3));
}

.credly-badges > div:hover {
    transform: translateY(-12px) scale(1.08);
    filter: drop-shadow(0 20px 50px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 60px rgba(16, 185, 129, 0.4));
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.achievement-item.featured {
    grid-column: 1 / -1;
    border-left: 4px solid #FF9900;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.achievement-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
    border-left-width: 6px;
}

.achievement-item h3 {
    font-size: 1.6rem;
    color: #f9fafb;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.achievement-item h3 i {
    color: #FF9900;
    margin-right: 0.5rem;
}

.achievement-item h3::after {
    content: '+';
    color: #10b981;
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.achievement-item.expanded h3::after {
    content: '−';
}

.achievement-item p {
    color: #d1d5db;
    font-size: 1.35rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.achievement-item.expanded p {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.achievement-year {
    font-weight: 600;
    color: #10b981;
    margin-bottom: 0.8rem;
}

.achievement-details {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.achievement-details li {
    padding: 0.5rem 0;
    color: #d1d5db;
    line-height: 1.6;
}

.achievement-details strong {
    color: #f9fafb;
}

.credential-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.achievement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.achievement-link i {
    margin-right: 0.4rem;
}

footer p {
    margin: 0.5rem 0;
}

@media (max-width: 1024px) {
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    body {
        font-size: 14px;
        width: 100vw;
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Compact navigation */
    nav {
        width: 100%;
        overflow-x: hidden;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
    }
    
    nav .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 15px;
        width: 100%;
    }
    
    .logo a {
        font-size: 1.3rem;
        padding: 0.2rem 0.5rem;
    }
    
    nav ul {
        gap: 0.3rem;
        font-size: 0.55rem;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
    
    nav ul li {
        position: relative;
    }
    
    nav ul li:not(:last-child)::after {
        content: '•';
        position: absolute;
        right: -0.3rem;
        color: #10b981;
        font-size: 0.8rem;
    }
    
    nav a {
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    nav a:hover {
        background: rgba(16, 185, 129, 0.1);
        transform: none;
    }
    
    /* Reduce section padding for mobile */
    section {
        padding: 2rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Compact hero section */
    #hero {
        min-height: auto;
        padding: 2rem 0;
        width: 100%;
        overflow-x: hidden;
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1419 100%);
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 1rem;
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    
    .hero-intro {
        width: 100%;
    }
    
    .hero-greeting {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        letter-spacing: 1px;
    }
    
    .hero-name {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
        word-break: break-word;
    }
    
    .hero-divider {
        display: none;
    }
    
    .hero-details {
        width: 100%;
    }
    
    .hero-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    .subtitle-highlight {
        margin-bottom: 0.4rem;
        display: block;
        margin-top: 1.2rem;
    }
    
    .subtitle-tech {
        white-space: normal;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.8rem 0.5rem;
        width: 100%;
        max-width: calc(100vw - 30px);
        margin: 0;
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.05) 100%);
    }
    
    .stat-item {
        padding: 0.4rem 0.1rem;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Compact headings */
    h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
        word-break: break-word;
        position: relative;
    }
    
    h2::before {
        content: '';
        position: absolute;
        top: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #10b981, transparent);
    }
    
    h2 i {
        font-size: 1.2rem;
    }
    
    /* Compact about section */
    .about-content {
        width: 100%;
        max-width: 100%;
    }
    
    .about-header {
        margin-bottom: 1.5rem;
    }
    
    .about-badges {
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .about-slider {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .about-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        text-align: center;
    }
    
    .about-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .about-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-container {
        height: auto;
        min-height: 180px;
    }
    
    .slider-controls {
        margin-top: 0.5rem;
        gap: 1.5rem;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Compact resume section */
    #resume p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .resume-download {
        margin-top: 1rem;
    }
    
    .btn-download {
        width: 100%;
        max-width: calc(100vw - 30px);
        font-size: 0.8rem !important;
        padding: 0.8rem 1rem !important;
    }
    
    /* Compact experience section - show all */
    .experience-timeline {
        width: 100%;
    }
    
    .experience-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border-left: 3px solid #10b981;
    }
    
    .experience-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        word-break: break-word;
    }
    
    .experience-item h3::before {
        display: none;
    }
    
    .experience-item .company {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
        word-break: break-word;
    }
    
    .experience-item .company::before {
        display: none;
    }
    
    .experience-item .duration {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .experience-item .duration::before {
        display: none;
    }
    
    .experience-highlights {
        display: none;
    }
    
    .experience-details {
        display: none;
    }
    
    .expand-btn {
        display: none;
    }
    
    /* Compact projects - show only top 3 */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .project-card:nth-child(n+4) {
        display: none;
    }
    
    .project-card {
        padding: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border-top: 2px solid rgba(16, 185, 129, 0.3);
    }
    
    .project-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }
    
    .project-card h3::before {
        font-size: 0.9rem;
    }
    
    .project-summary {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .project-details {
        display: none !important;
    }
    
    .project-card .expand-btn {
        display: none;
    }
    
    .tags {
        gap: 0.3rem;
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }
    
    .tags span {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Compact skills - show only first 2 categories */
    .skills-categories {
        width: 100%;
    }
    
    .skill-category {
        padding: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
    }
    
    .skill-category:nth-child(n+3) {
        display: none;
    }
    
    .skill-category h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        width: 100%;
    }
    
    .skill-item {
        padding: 0.6rem 0.3rem;
        min-width: 0;
        background: rgba(16, 185, 129, 0.08);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
    }
    
    .skill-item i {
        font-size: 1.3rem;
    }
    
    .skill-logo {
        width: 28px;
        height: 28px;
    }
    
    .skill-item span {
        font-size: 0.65rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Compact education */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .education-item {
        padding: 1rem;
        width: 100%;
    }
    
    .education-item h3 {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .education-item .school {
        font-size: 0.75rem;
        word-break: break-word;
    }
    
    .education-item .location,
    .education-item .duration {
        font-size: 0.7rem;
    }
    
    .education-item .coursework {
        display: none;
    }
    
    /* Compact achievements - show only top 3 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
    }
    
    .achievement-item:nth-child(n+4) {
        display: none;
    }
    
    .achievement-item {
        padding: 0.8rem;
        width: 100%;
    }
    
    .achievement-item h3 {
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .achievement-item p {
        font-size: 0.75rem;
    }
    
    /* Compact certifications - show only top 4 */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        width: 100%;
    }
    
    .cert-item:nth-child(n+5) {
        display: none;
    }
    
    .cert-item {
        padding: 0.8rem;
        width: 100%;
        min-width: 0;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .cert-icon {
        font-size: 1.3rem;
    }
    
    .cert-item h3 {
        font-size: 0.75rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    .cert-item p {
        font-size: 0.7rem;
    }
    
    /* Compact contact */
    #contact p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: calc(100vw - 30px);
        margin: 0 auto;
    }
    
    .contact-links a {
        font-size: 0.75rem;
        padding: 0.7rem 1rem;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    }
    
    .contact-links a:active {
        transform: scale(0.98);
    }
    
    .credly-badges {
        gap: 0.8rem;
    }
    
    footer {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    footer p {
        font-size: 0.7rem;
        margin: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    nav ul {
        gap: 0.4rem;
        font-size: 0.65rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    #hero {
        min-height: 70vh;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-greeting {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about-card,
    .project-card,
    .skill-category,
    .experience-item,
    .education-item,
    .achievement-item,
    .cert-item {
        padding: 1.2rem;
    }
    
    .slider-container {
        min-height: 280px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-links a {
        width: 100%;
        justify-content: center;
    }
}
