:root {
    --bg-color: #020617;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-secondary: #2dd4bf;
    --card-bg: rgba(15, 23, 42, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(2, 6, 23, 0.8);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100%;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Plus Grid Background */
.plus-grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background-image: 
        radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.07) 1px, transparent 0);
    background-size: 40px 40px;
}

.plus-grid-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Mouse Glow Effect */
.mouse-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

@media (max-width: 1024px) {
    .mouse-glow, .plus-grid-background::before { display: none; }
}

/* Typography & Gradients */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-primary);
    background: linear-gradient(135deg, #38bdf8, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent-primary);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.btn-lang {
    background: rgba(255, 255, 255, 0.05); color: var(--text-primary);
    border: 1px solid var(--border-color); padding: 0.3rem 0.7rem;
    border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 0.8rem;
}

.social-top { display: flex; gap: 1rem; }
.social-top a { color: var(--text-secondary); transition: 0.3s; }
.social-top a:hover { color: var(--text-primary); transform: translateY(-2px); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid #020617;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Tech Icon Colors */
.icon-java { color: #f89820 !important; }
.icon-spring { color: #6db33f !important; }
.icon-dotnet { color: #512bd4 !important; }
.icon-csharp { color: #239120 !important; }
.icon-react { color: #61dafb !important; }
.icon-vue { color: #4fc08d !important; }
.icon-flutter { color: #02569b !important; }
.icon-typescript { color: #3178c6 !important; }
.icon-mysql { color: #4479a1 !important; }
.icon-postgres { color: #336791 !important; }
.icon-docker { color: #2496ed !important; }

.tech-badge i {
    font-size: 1.1rem;
    /* Default color removed to allow specific classes */
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.1);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    padding: 10rem 2rem 6rem;
    min-height: 90vh;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Section Global Styles */
section {
    padding: var(--section-spacing, 12rem) 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.section-header {
    margin: 4rem 0;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    white-space: nowrap;
    line-height: 1;
}

.section-header .line {
    height: 1px;
    background: var(--border-color);
    flex-grow: 1;
}

/* Glass Cards & Bento */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    transition: 0.4s;
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.tech-header h3 {
    margin: 0;
    line-height: 1;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

#modal-desc {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    white-space: pre-line;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tags span i {
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.project-card:hover .tags span {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-card:hover .tags span {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-primary);
}

.tags span i {
    font-size: 0.85rem;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--accent-primary);
    color: white;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-sm.outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
    filter: brightness(1.1);
}

.project-card h3 {
    transition: color 0.3s;
}

.project-card:hover h3 {
    color: var(--accent-primary);
}

/* Timeline */
.timeline-container { 
    display: flex; 
    flex-direction: column; 
    gap: 3rem; 
    position: relative; 
    padding-left: 1rem;
}

.timeline-block { 
    display: flex; 
    gap: 2.5rem; 
    position: relative;
}

.timeline-marker {
    width: 2px; 
    background: var(--border-color); 
    position: relative; 
    margin-left: 10px;
    flex-shrink: 0;
}

.timeline-marker::after {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%);
    width: 16px; 
    height: 16px; 
    background: var(--accent-primary);
    border: 4px solid var(--bg-color); 
    border-radius: 50%; 
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.timeline-content { 
    flex: 1; 
    padding: 2.5rem !important; 
}

.timeline-content p {
    line-height: 1.7;
    opacity: 0.85;
    white-space: pre-line;
}

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

.company-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.25rem;
    font-weight: 800;
}

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

.period { 
    color: var(--accent-secondary); 
    font-weight: 700; 
    font-size: 0.9rem; 
    background: rgba(45, 212, 191, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.role {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: block;
    opacity: 0.8;
}

.exp-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tech-tag i {
    font-size: 1rem;
    color: var(--accent-primary);
}

.link-icon {
    width: 14px;
    height: 14px;
    margin-left: 0.4rem;
    vertical-align: middle;
    opacity: 0.5;
    transition: 0.3s;
}

.company-link:hover .link-icon {
    opacity: 1;
    color: var(--accent-primary);
}

/* About & Extra Info */
.about-grid {
    margin-top: 2rem;
}

.extra-info { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
}

.info-card { 
    padding: 2.25rem !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    height: 100%;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    /* background: rgba(59, 130, 246, 0.1); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cert-item img {
    width: 45px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 4rem !important;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-side h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
}

.contact-info-side p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.method-icon {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.method-text {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.method-value {
    color: var(--text-primary);
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    transition: 0.3s;
}

.social-card .yt-icon {
    color: #FF0000 !important;
}

.social-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.social-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Brand Colors on Hover */
.social-card.linkedin:hover { border-color: #0077B5; }
.social-card.linkedin:hover i { color: #0077B5; }
.social-card.linkedin:hover span { color: #0077B5; }

.social-card.github:hover { border-color: #f0f6fc; }
.social-card.github:hover i { color: #f0f6fc; }
.social-card.github:hover span { color: #f0f6fc; }

.social-card.facebook:hover { border-color: #1877F2; }
.social-card.facebook:hover i { color: #1877F2; }
.social-card.facebook:hover span { color: #1877F2; }

.social-card.youtube:hover { border-color: #FF0000; }
.social-card.youtube:hover .yt-svg { color: #FF0000; }
.social-card.youtube:hover span { color: #FF0000; }

.yt-svg {
    color: var(--text-secondary);
    transition: 0.3s;
}

@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem !important;
    }
}

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

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 4rem 2rem; text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin-top: 2rem; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: 10% auto;
    width: 90%; max-width: 650px;
    padding: 3rem !important;
    position: relative;
    animation: modalScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 2rem; color: #06b6d4;
    cursor: pointer; transition: 0.3s;
}
.close-modal:hover { color: var(--text-primary); }

.modal-detail-text {
    margin: 1.5rem 0 2.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem; line-height: 1.8;
}

/* Certificate Grid */
.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: 0.3s;
    padding: 0.5rem;
    border-radius: 12px;
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.cert-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.cert-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Lightbox Enhancements */
.lightbox .modal-content {
    max-width: 800px;
    padding: 1rem !important;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-visual { perspective: 1000px; display: flex; justify-content: center; }
.code-window {
    transform: rotateY(-15deg) rotateX(5deg);
    width: 100%; max-width: 500px; overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float 6s ease-in-out infinite;
}
.hero-visual:hover .code-window {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}
.window-header { 
    background: rgba(255, 255, 255, 0.05); 
    padding: 0.75rem 1rem; 
    display: flex; 
    gap: 0.5rem; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
pre { padding: 1.5rem; font-size: 0.9rem; color: #abb2bf; }
.keyword { color: #c678dd; } .title { color: #61afef; } .string { color: #98c379; } .this { color: #e06c75; }

.hero-section {
    padding-top: 8rem;
    /* padding-bottom: 10rem; */
    border-top: none;
}

.btn-primary, .btn-outline, .btn-sm, .project-detail-btn {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem;
}

.no-underline {
    text-decoration: none !important;
    border-bottom: none !important;
}

.tech-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.1rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    white-space: nowrap;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.1);
}

.tech-badge i {
    display: flex;
    align-items: center;
    line-height: 0;
    font-size: 1.2rem;
}

/* Projects Section Spacing */
.projects-section {
    margin-top: 4rem;
}

/* Mobile Nav */
.btn-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 1024px) {
    :root { --section-spacing: 5rem; }
    .container { padding: 0 2rem; }
    
    /* Navigation */
    .btn-mobile { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: 0; width: 280px; height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(100%);
        visibility: hidden;
    }
    .nav-links.active { transform: translateX(0); visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,0.9); }
    .hide-mobile { display: none; }
    
    /* Hero */
    .hero-section { 
        display: flex;
        flex-direction: column; 
        text-align: center; 
        gap: 3rem; 
        padding-top: 7rem;
        padding-bottom: 4rem;
        min-height: auto;
    }
    .hero-content { 
        max-width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    .hero-content p { 
        max-width: 100%; 
        margin-inline: auto; 
        font-size: 1.1rem;
    }
    .hero-btns { justify-content: center; width: 100%; flex-wrap: wrap; gap: 1rem; }
    .code-window { width: 100%; max-width: 100%; transform: none !important; margin-top: 2rem; }
    .hero-visual { width: 100%; overflow: hidden; }
    .hero-visual:hover .code-window { transform: scale(1.02) !important; }

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

    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    
    .contact-card { grid-template-columns: 1fr; padding: 2.5rem !important; gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --section-spacing: 4rem; }
    .container { padding: 0 1.5rem; }
    .section-header { flex-direction: column; text-align: center; gap: 1rem; margin: 3rem 0; }
    .section-header h2 { font-size: 2rem; white-space: normal; }
    .section-header .line { width: 80px; height: 2px; flex-grow: 0; margin: 0 auto; }

    .extra-info { grid-template-columns: 1fr; gap: 1.5rem; }
    .bento-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .timeline-container { padding-left: 0rem; gap: 2rem; }
    .timeline-block { gap: 1.0rem; }
    .timeline-marker { margin-left: 5px; }
    .timeline-marker::after { width: 12px; height: 12px; }
    .timeline-content { padding: 1.25rem !important; width: 100%; min-width: 0; }
    
    .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .social-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .contact-info-side h3 { font-size: 1.75rem; text-align: center; }
    .contact-info-side p { text-align: center; margin-bottom: 2rem; font-size: 1rem; }
    .contact-methods { align-items: stretch; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }

    .info-card { text-align: left; }
    .info-card-header { justify-content: left; }
    .info-card p { text-align: left; display: inline; width: 100%;}
    pre { font-size: 0.7rem; }
    .contact-card { display: block;}
    .method-value { font-size: 0.8rem;}
    .contact-method { margin-bottom: 1rem;}
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-section h1 { font-size: 2.25rem; line-height: 1.2; margin-top: 2rem;}
    .hero-content p { font-size: 1rem; }
    .hero-btns { flex-direction: column; gap: 1rem; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    
    .tech-tags { gap: 0.75rem; }
    .tech-badge { white-space: normal; height: auto; padding: 0.75rem; font-size: 0.85rem; }
    
    .social-card { padding: 1.25rem; }
    
    .time-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .company-link { font-size: 1.1rem; }
    .period { font-size: 0.8rem; }
    
    .modal-content { padding: 1.5rem !important; width: 92%; margin: 15% auto; }
    
    .section-header h2 { font-size: 1.75rem; }
    pre { text-align: left; }
    .footer { padding: 2rem 1rem; }

}
