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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #09090b;
    color: #fafafa;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===== LIGHT MODE - COMPLETE FIX ===== */
body.light-mode {
    background: #f7f7f8;
    color: #09090b;
}

/* Fix all text colors in light mode */
body.light-mode .gradient-text {
    background: linear-gradient(to right, #09090b, #09090b, #52525b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .section-number {
    color: #a1a1aa;
}

body.light-mode .section-line {
    background: rgba(0, 0, 0, 0.08);
}

body.light-mode .section-name {
    color: #71717a;
}

body.light-mode .hero-badge {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: #71717a;
}

body.light-mode .hero-bio,
body.light-mode .about-text,
body.light-mode .contact-text {
    color: #52525b;
}

body.light-mode .hero-title .gradient-text {
    background: linear-gradient(to right, #09090b, #09090b, #52525b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .stat-value {
    color: #09090b;
}

body.light-mode .stat-label {
    color: #71717a;
}

body.light-mode .exp-tab {
    border-color: rgba(0, 0, 0, 0.06);
    color: #09090b;
}

body.light-mode .exp-tab.active {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .exp-tab-company {
    color: #09090b;
}

body.light-mode .exp-tab-role {
    color: #71717a;
}

body.light-mode .btn-secondary {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .nav-container {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-link {
    color: #71717a;
}

body.light-mode .nav-link:hover {
    color: #09090b;
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .nav-btn {
    color: #71717a;
}

body.light-mode .nav-btn:hover {
    color: #09090b;
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .mobile-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .mobile-link {
    color: #71717a;
}

body.light-mode .mobile-link:hover {
    color: #09090b;
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .hero-social {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .social-link {
    color: #a1a1aa;
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .social-link:hover {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .skill-group-title {
    color: #09090b;
}

body.light-mode .skill-info span:first-child {
    color: #52525b;
}

body.light-mode .skill-info span:last-child {
    color: #a1a1aa;
}

body.light-mode .skill-bar {
    background: rgba(0, 0, 0, 0.06);
}

body.light-mode .skill-fill {
    background: linear-gradient(to right, #52525b, #09090b);
}

body.light-mode .exp-role {
    color: #09090b;
}

body.light-mode .exp-company {
    color: #52525b;
}

body.light-mode .exp-type {
    border-color: rgba(0, 0, 0, 0.06);
    color: #a1a1aa;
}

body.light-mode .exp-responsibilities li {
    color: #52525b;
}

body.light-mode .exp-responsibilities li::before {
    background: rgba(0, 0, 0, 0.2);
}

body.light-mode .filter-btn {
    border-color: rgba(0, 0, 0, 0.06);
    color: #a1a1aa;
}

body.light-mode .filter-btn:hover {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .filter-btn.active {
    background: #09090b;
    color: #fafafa;
    border-color: #09090b;
}

body.light-mode .project-title {
    color: #09090b;
}

body.light-mode .project-desc {
    color: #52525b;
}

body.light-mode .project-tech-tag {
    border-color: rgba(0, 0, 0, 0.04);
    color: #71717a;
}

body.light-mode .project-link {
    border-color: rgba(0, 0, 0, 0.06);
    color: #a1a1aa;
}

body.light-mode .project-link:hover {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .service-title {
    color: #09090b;
}

body.light-mode .service-desc {
    color: #52525b;
}

body.light-mode .service-features li {
    color: #71717a;
}

body.light-mode .service-features li::before {
    background: #d4d4d8;
}

body.light-mode .cert-title {
    color: #09090b;
}

body.light-mode .cert-issuer {
    color: #71717a;
}

body.light-mode .cert-action {
    color: #a1a1aa;
}

body.light-mode .cert-action:hover {
    color: #09090b;
}

body.light-mode .github-stat-value {
    color: #09090b;
}

body.light-mode .github-langs-title {
    color: #09090b;
}

body.light-mode .contact-method {
    border-color: rgba(0, 0, 0, 0.04);
}

body.light-mode .contact-method:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .contact-method-icon {
    border-color: rgba(0, 0, 0, 0.04);
    background: rgba(0, 0, 0, 0.02);
    color: #a1a1aa;
}

body.light-mode .contact-method-value {
    color: #52525b;
}

body.light-mode .contact-method:hover .contact-method-value {
    color: #09090b;
}

body.light-mode .contact-form-title {
    color: #09090b;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: #09090b;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #a1a1aa;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .form-note {
    color: #a1a1aa;
}

body.light-mode .footer {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .footer-name {
    color: #09090b;
}

body.light-mode .footer-title {
    color: #a1a1aa;
}

body.light-mode .footer-social-link {
    border-color: rgba(0, 0, 0, 0.04);
    color: #a1a1aa;
}

body.light-mode .footer-social-link:hover {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .footer-credit {
    color: #a1a1aa;
}

body.light-mode .float-btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
    color: #71717a;
}

body.light-mode .float-btn:hover {
    color: #09090b;
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .float-whatsapp {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

body.light-mode .float-whatsapp:hover {
    background: #047857;
    border-color: #047857;
}

body.light-mode .bg-effects {
    display: none;
}

body.light-mode .projects-search input {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: #09090b;
}

body.light-mode .projects-search input::placeholder {
    color: #a1a1aa;
}

body.light-mode .projects-search input:focus {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .about-contact-item {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    color: #52525b;
}

body.light-mode .about-contact-item svg {
    color: #a1a1aa;
}

body.light-mode .edu-degree {
    color: #09090b;
}

body.light-mode .edu-school {
    color: #71717a;
}

body.light-mode .edu-achievements li {
    color: #52525b;
}

body.light-mode .edu-achievements li::before {
    background: #d4d4d8;
}

body.light-mode .exp-period {
    color: #a1a1aa;
}

body.light-mode .cursor-ring {
    border-color: rgba(0, 0, 0, 0.3);
}

body.light-mode .cursor-dot {
    background: #09090b;
}

body.light-mode .hero-badge-floating {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .tech-item {
    border-color: rgba(0, 0, 0, 0.06);
    color: #71717a;
}

body.light-mode .tech-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
    color: #09090b;
}

body.light-mode .nav-logo-text {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .edu-card,
body.light-mode .skill-group,
body.light-mode .exp-detail,
body.light-mode .project-card,
body.light-mode .service-card,
body.light-mode .cert-card,
body.light-mode .contact-form-wrapper,
body.light-mode .github-langs {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: #2a2a2e;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a3a3e;
}

body.light-mode ::-webkit-scrollbar-track {
    background: #f7f7f8;
}
body.light-mode ::-webkit-scrollbar-thumb {
    background: #d4d4d8;
}
body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 16px;
}

.section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* ===== FIX: Consistent section spacing ===== */
#hero {
    padding-top: 100px;
    padding-bottom: 40px;
}

#about {
    padding-top: 40px;
    padding-bottom: 60px;
}

@media (min-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    #hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    #about {
        padding-top: 60px;
        padding-bottom: 80px;
    }
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3a3a3e;
    letter-spacing: 4px;
}

.section-line {
    height: 1px;
    flex: 0 1 32px;
    background: rgba(255, 255, 255, 0.08);
}

.section-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #52525b;
}

.section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #09090b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
}

.loading-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.loading-logo {
    position: relative;
}

.loading-logo-glow {
    position: absolute;
    inset: -8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(20px);
    transform: scale(1.5);
    z-index: -1;
}

.loading-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #3a3a3e;
    text-align: center;
}

.loading-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.loading-progress {
    width: 192px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.loading-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), #ffffff);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.loading-percent {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #3a3a3e;
}

/* ===== BACKGROUND EFFECTS ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    width: 600px;
    height: 600px;
}

.bg-orb-purple {
    top: -160px;
    left: -160px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}

.bg-orb-blue {
    bottom: -160px;
    right: -160px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 800px;
}

.navbar.scrolled .nav-container {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-logo-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    display: none;
}

@media (min-width: 480px) {
    .nav-logo-text {
        display: inline;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-btn {
    background: none;
    border: none;
    padding: 6px;
    border-radius: 8px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-dropdown {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.2s ease;
}

.mobile-dropdown.hidden {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
}

.mobile-link {
    background: none;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: left;
    font-size: 14px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.mobile-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: #09090b;
}

.btn-primary:hover {
    background: #e4e4e7;
    transform: scale(1.03);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.03);
}

/* ===== HERO ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-glow::after {
    content: '';
    width: 800px;
    height: 800px;
    border-radius: 50%;
    opacity: 0.04;
    background: radial-gradient(circle, #ffffff 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    font-size: 12px;
    color: #a1a1aa;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

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

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.05;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 32px;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: #a1a1aa;
}

@media (min-width: 640px) {
    .typing-text {
        font-size: 20px;
    }
}

.cursor-blink {
    font-size: 16px;
    color: #ffffff;
    animation: blink 1s step-end infinite;
}

@media (min-width: 640px) {
    .cursor-blink {
        font-size: 20px;
    }
}

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

.hero-bio {
    color: #a1a1aa;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
}

@media (min-width: 640px) {
    .hero-bio {
        font-size: 16px;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 11px;
    color: #52525b;
    margin-top: 2px;
}

/* ===== HERO IMAGE ===== */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: spin 20s linear infinite;
}

.hero-image-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-image-glow {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.12;
    background: radial-gradient(circle, #fbbf24, #f59e0b);
}

.hero-image-border {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), 0 0 120px rgba(59, 130, 246, 0.08);
}

@media (min-width: 640px) {
    .hero-image-border {
        width: 280px;
        height: 280px;
    }
}

@media (min-width: 1024px) {
    .hero-image-border {
        width: 320px;
        height: 320px;
    }
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
}

.hero-badge-floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-badge-cumlaude {
    bottom: -16px;
    left: -32px;
    animation: float-y 3s ease-in-out infinite;
}

.hero-badge-cert {
    top: -16px;
    right: -16px;
    animation: float-y 4s ease-in-out infinite 1s;
}

.hero-badge-floating svg {
    flex-shrink: 0;
}

.hero-badge-cumlaude svg {
    color: #fbbf24;
}

.hero-badge-cert svg {
    color: #60a5fa;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== HERO SOCIAL ===== */
.hero-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.hero-social-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #3a3a3e;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #52525b;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.about-text {
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-text:last-of-type {
    margin-bottom: 24px;
}

.about-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    font-size: 12px;
    color: #a1a1aa;
}

.about-contact-item svg {
    color: #52525b;
}

.about-edu-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
}

.edu-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.edu-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.edu-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.edu-degree {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.edu-school {
    font-size: 12px;
    color: #52525b;
    margin-top: 2px;
}

.edu-honors {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 9999px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.edu-period {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #3a3a3e;
    margin-bottom: 12px;
}

.edu-achievements {
    list-style: none;
    padding: 0;
}

.edu-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #a1a1aa;
    padding: 2px 0;
}

.edu-achievements li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3a3a3e;
    margin-top: 6px;
    flex-shrink: 0;
}

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.skill-group {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.2s ease;
}

.skill-group:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-group-title::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #ffffff, #3a3a3e);
}

.skill-item {
    margin-bottom: 12px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.skill-info span:first-child {
    font-size: 12px;
    color: #a1a1aa;
}

.skill-info span:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #3a3a3e;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(to right, #a1a1aa, #ffffff);
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    width: 0%;
}

/* ===== EXPERIENCE - FIXED WITH SMOOTH TRANSITION ===== */
.exp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .exp-grid {
        grid-template-columns: 1fr 2fr;
        gap: 32px;
    }
}

.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', system-ui, sans-serif;
}

.exp-tab:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.015);
}

.exp-tab.active {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.exp-tab-company {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.exp-tab-role {
    font-size: 12px;
    color: #52525b;
    margin-top: 2px;
}

.exp-tab-current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: #34d399;
    font-size: 10px;
    flex-shrink: 0;
}

.exp-tab-current::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse-dot 2s infinite;
}

.exp-detail {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.exp-panel {
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.exp-panel.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: expFadeIn 0.4s ease forwards;
}

@keyframes expFadeIn {
    0% {
        opacity: 0;
        transform: translateX(12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.exp-panel.exit {
    animation: expFadeOut 0.3s ease forwards;
}

@keyframes expFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-12px);
    }
}

.exp-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .exp-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.exp-role {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.exp-company {
    font-size: 14px;
    color: #a1a1aa;
}

.exp-type {
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: #52525b;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

.exp-period {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #3a3a3e;
    margin-bottom: 16px;
}

.exp-responsibilities {
    list-style: none;
    padding: 0;
}

.exp-responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #a1a1aa;
    padding: 4px 0;
    line-height: 1.5;
}

.exp-responsibilities li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    flex-shrink: 0;
}

/* ===== PROJECTS ===== */
.projects-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .projects-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.projects-search {
    position: relative;
    display: flex;
    align-items: center;
}

.projects-search svg {
    position: absolute;
    left: 12px;
    color: #3a3a3e;
}

.projects-search input {
    padding: 8px 12px 8px 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    color: #ffffff;
    font-size: 13px;
    font-family: 'Inter', system-ui, sans-serif;
    width: 100%;
    transition: border-color 0.2s ease;
}

.projects-search input::placeholder {
    color: #3a3a3e;
}

.projects-search input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .projects-search input {
        width: 200px;
    }
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    color: #52525b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.filter-btn.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.project-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.project-screenshot {
    height: 160px;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ===== NEW: Project Image Styles ===== */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}
/* ===== END NEW ===== */

.project-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #2a2a2e;
}

.project-screenshot-placeholder svg {
    opacity: 0.3;
}

.project-screenshot-placeholder span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.project-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.project-status {
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.completed {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.project-status.in-progress {
    background: rgba(96, 165, 250, 0.08);
    border-color: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.project-status.freelance {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.project-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-size: 9px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-body {
    padding: 20px;
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.project-category {
    font-size: 11px;
    color: #52525b;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 12px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.project-tech-tag {
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #52525b;
}

.project-tech-more {
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #2a2a2e;
}

.project-links {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #52525b;
    font-size: 11px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* ===== CERTIFICATES ===== */
.certs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .certs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .certs-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.cert-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.2s ease;
}

.cert-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.cert-icon {
    display: inline-flex;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #52525b;
    margin-bottom: 12px;
}

.cert-year {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #2a2a2e;
    margin-bottom: 4px;
}

.cert-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 2px;
}

.cert-issuer {
    font-size: 12px;
    color: #52525b;
}

.cert-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cert-card:hover .cert-actions {
    opacity: 1;
}

.cert-action {
    background: none;
    border: none;
    color: #52525b;
    font-size: 11px;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.cert-action:hover {
    color: #ffffff;
}

.cert-divider {
    color: #2a2a2e;
}

/* ===== SERVICES ===== */
.services-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .services-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.service-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    display: inline-flex;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    font-size: 20px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #52525b;
    padding: 2px 0;
}

.service-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2a2a2e;
    flex-shrink: 0;
}

/* ===== TECH STACK - AUTO SCROLL TICKER ===== */
.tech-stack-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 12px 0;
}

.tech-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    animation: scrollTech 20s linear infinite;
    width: max-content;
}

/* Pause on hover */
.tech-stack-wrapper:hover .tech-grid {
    animation-play-state: paused;
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    font-weight: 500;
    color: #a1a1aa;
    transition: all 0.3s ease;
    cursor: default;
    flex-shrink: 0;
    white-space: nowrap;
}

.tech-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Color dot */
.tech-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tech-color, #ffffff);
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

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

/* Hover */
.tech-item:hover {
    transform: scale(1.08);
    border-color: var(--tech-color, rgba(255,255,255,0.3));
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Light mode */
body.light-mode .tech-item {
    border-color: rgba(0, 0, 0, 0.06);
    color: #71717a;
    background: rgba(0, 0, 0, 0.02);
}
body.light-mode .tech-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
    color: #09090b;
    background: rgba(0, 0, 0, 0.04);
}
/* ===== GITHUB ===== */
.github-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .github-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.github-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.github-stat {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.github-stat svg {
    color: #52525b;
    margin-bottom: 12px;
}

.github-stat-value {
    display: block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.github-stat-label {
    font-size: 12px;
    color: #52525b;
}

.github-langs {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.github-langs-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.lang-bars {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.lang-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    height: 100%;
    font-size: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    min-width: 20px;
}

.lang-bar .lang-name {
    display: none;
}

.lang-bar .lang-pct {
    font-weight: 600;
}

.lang-bar:first-child .lang-name,
.lang-bar:last-child .lang-name {
    display: inline;
}

@media (min-width: 480px) {
    .lang-bar .lang-name {
        display: inline !important;
    }
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.github-link:hover {
    color: #ffffff;
}

.github-link svg:last-child {
    opacity: 0.5;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.contact-text {
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #52525b;
    flex-shrink: 0;
}

.contact-method:hover .contact-method-icon {
    color: #ffffff;
}

.contact-method-label {
    font-size: 11px;
    color: #3a3a3e;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 2px;
}

.contact-method-value {
    font-size: 14px;
    color: #a1a1aa;
}

.contact-method:hover .contact-method-value {
    color: #ffffff;
}

.contact-form-wrapper {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

@media (min-width: 640px) {
    .contact-form-wrapper {
        padding: 32px;
    }
}

.contact-form-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #3a3a3e;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    display: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
}

.form-status.success {
    display: block;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

.form-note {
    font-size: 11px;
    color: #2a2a2e;
    text-align: center;
    margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 640px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.footer-title {
    font-size: 11px;
    color: #3a3a3e;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #52525b;
    transition: all 0.2s ease;
    text-decoration: none;
}
/* ===== FORM STATUS ===== */
.form-status {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-status.success {
    display: block;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: #34d399;
}
.float-viber {
    background: #665cac;
    border-color: #665cac;
    color: #ffffff;
}

.float-viber:hover {
    background: #564b9c;
    border-color: #564b9c;
    color: #ffffff;
}
.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Light mode */
body.light-mode .form-status.success {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.25);
}

body.light-mode .form-status.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.25);
}

/* Spinner animation */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* ===== SPINNER ANIMATION ===== */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-social-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.footer-credit {
    font-size: 11px;
    color: #2a2a2e;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-credit {
        text-align: right;
    }
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    color: #a1a1aa;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.float-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.float-top {
    transform: rotate(180deg);
}

.float-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: rotate(180deg) scale(0.8);
}

.float-whatsapp {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.float-whatsapp:hover {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
}

.float-email {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== CURSOR (hidden on touch devices) ===== */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translate(-16px, -16px);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.cursor-ring.hover {
    transform: translate(-16px, -16px) scale(1.6);
    opacity: 0.6;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-2px, -2px);
    transition: transform 0.08s ease;
}

@media (max-width: 768px) {
    .cursor-ring,
    .cursor-dot {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-badge-floating {
        display: none;
    }
    
    .projects-filter {
        gap: 4px;
    }
    
    .filter-btn {
        font-size: 10px;
        padding: 4px 8px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image-border {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        gap: 24px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .about-grid {
        gap: 24px;
    }

    .exp-grid {
        gap: 20px;
    }

    .exp-tab {
        padding: 12px;
    }

    .exp-detail {
        padding: 16px;
    }

    .exp-role {
        font-size: 17px;
    }

    .contact-grid {
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 16px;
    }

    .certs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .github-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }

    .github-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}