
:root {
    --bg-dark: #08090f;
    --bg-dark-alt: #0d0f1a;
    --card-bg: rgba(20, 24, 45, 0.45);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-glow: rgba(0, 242, 254, 0.05);
    
    --primary: #00f2fe;     
    --secondary: #4facfe;   
    --accent: #b026ff;      
    
    --text-primary: #f1f3f9;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --nav-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 172, 254, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

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

.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08), 0 0 0 1px rgba(0, 242, 254, 0.1) inset;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header .subtitle {
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-header .title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--secondary) 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 1000;
    background: rgba(8, 9, 15, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(8, 9, 15, 0.9);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo a span {
    color: var(--primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    padding-bottom: 5rem;
    position: relative;
}

.hero-container {
    max-width: 1100px;
    width: 100%;
    padding: 2rem;
    z-index: 5;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.hero-left .hero-tag {
    margin-bottom: 0;
}

.hero-left .hero-title {
    font-size: 3.8rem;
    margin-bottom: 0;
}

.hero-left .hero-subtitle {
    margin-bottom: 0;
}

.hero-left .hero-description {
    margin: 0;
    text-align: left;
    max-width: 100%;
}

.hero-left .hero-actions {
    justify-content: flex-start;
    margin-top: 0;
}

.hero-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-contact-row span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-contact-row i {
    color: var(--primary);
    font-size: 0.85rem;
}

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

.hero-photo-container {
    width: 300px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 242, 254, 0.07);
    transition: var(--transition-smooth);
}

.hero-photo-container:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 242, 254, 0.12);
    transform: translateY(-6px);
}

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

.hero-stats {
    margin-top: 3rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #8ba3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0;
    white-space: nowrap;
}

.hero-subtitle span {
    color: var(--primary);
    font-weight: 600;
}

.hero-role {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
}

.hero-role .typing-text {
    border-right: 2px solid var(--primary);
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.scroll-down:hover {
    color: var(--primary);
}

.scroll-down p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-down:hover .mouse {
    border-color: var(--primary);
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

.scroll-down:hover .wheel {
    background-color: var(--primary);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    aspect-ratio: 2 / 3;
    width: 240px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.about-image-container:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.08);
    transform: translateY(-5px);
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-image-container:hover img {
    transform: scale(1.04);
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 3.5rem auto 0;
}

.summary-paragraph {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.summary-paragraph strong {
    color: var(--text-primary);
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    transition: var(--transition-smooth);
}

.contact-info-item:hover {
    border-color: rgba(0, 242, 254, 0.15);
    transform: translateY(-2px);
    background: rgba(0, 242, 254, 0.01);
}

.info-icon {
    font-size: 1.3rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 50%;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

a.info-value:hover {
    color: var(--primary);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-detail {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.2);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.15);
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.timeline-item:nth-child(even):hover .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 25px rgba(176, 38, 255, 0.6);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.2rem;
    border-radius: 16px;
    width: 90%;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    margin-right: 30px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 30px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 22px;
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--card-border);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-border) transparent transparent;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

.timeline-item:nth-child(even):hover .timeline-content {
    border-color: rgba(176, 38, 255, 0.2);
    box-shadow: 0 15px 35px rgba(176, 38, 255, 0.05);
}

.timeline-date {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-date {
    color: var(--accent);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.timeline-details {
    list-style-type: none;
}

.timeline-details li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
}

.timeline-details li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

.timeline-item:nth-child(even) .timeline-details li::before {
    color: var(--accent);
}

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

.skill-category-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.skill-category-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.category-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.skill-tag-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tag-badge:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(0, 242, 254, 0.04);
    transform: translateY(-2px);
}

.py-color { color: #3776ab; }
.java-color { color: #f89820; }
.react-color { color: #61dafb; }
.node-color { color: #339933; }

.languages-section {
    background: rgba(20, 24, 45, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.languages-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.languages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.lang-card {
    display: flex;
    flex-direction: column;
}

.lang-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.lang-level {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.lang-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.lang-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.fill-100 { width: 100%; }

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.06);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark-alt);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 9, 15, 0) 40%, rgba(8, 9, 15, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-image-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.project-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon {
    transform: scale(1.15) rotate(5deg);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.project-card:nth-child(odd) .project-tag {
    color: var(--secondary);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 5px;
}

.project-card.hidden {
    display: none !important;
}

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

.certificate-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.certificate-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

.cert-icon {
    font-size: 2rem;
    color: #4caf50;
    flex-shrink: 0;
}

.cert-icon.status-pursuing {
    color: var(--secondary);
}

.cert-body {
    display: flex;
    flex-direction: column;
}

.cert-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.cert-status-badge {
    align-self: flex-start;
    background: rgba(79, 172, 254, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(79, 172, 254, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.certificate-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.cert-issuer {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.certificate-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.contact-intro h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.08);
}

.contact-card-icon {
    font-size: 1.8rem;
    color: var(--primary);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-card-value {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    word-break: break-all;
}

a.contact-card-value:hover {
    color: var(--primary);
}

.hidden {
    display: none !important;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark-alt);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0 2rem;
    }
    
    .hero-left .hero-title {
        font-size: 3.5rem;
    }

    .hero-split {
        grid-template-columns: 1fr 280px;
        gap: 2.5rem;
    }

    .hero-photo-container {
        width: 260px;
        height: 330px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .timeline-track {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
        margin-bottom: 3rem;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 55px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
    
    .timeline-content::before {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--card-border) transparent transparent;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        order: -1;
    }

    .hero-photo-container {
        width: 200px;
        height: 260px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-left .hero-description,
    .hero-left .hero-title,
    .hero-left .hero-subtitle {
        text-align: center;
    }

    .hero-left .hero-subtitle {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .hero-role {
        font-size: 1.2rem;
    }

    .hero-contact-row {
        justify-content: center;
    }

    .hero-left .hero-actions {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(8, 9, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-left .hero-title {
        font-size: 2.4rem;
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .about-intro-grid, .about-details-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-container {
        max-width: 240px;
        margin: 0 auto;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .languages-section {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 5rem 0;
    }
    
    .hero-left .hero-title {
        font-size: 1.8rem;
        white-space: nowrap;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}