/* Font Face Declarations */
@font-face {
    font-family: 'TacticRoundExtraExtendedUltra';
    src: url('assets/fonts/TacticRoundExtraExtendedUltra.woff2') format('woff2'),
         url('assets/fonts/TacticRoundExtraExtendedUltra.woff') format('woff'),
         url('assets/fonts/TacticRoundExtraExtendedUltra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SkapaBold';
    src: url('assets/fonts/SkapaBold.woff2') format('woff2'),
         url('assets/fonts/SkapaBold.woff') format('woff'),
         url('assets/fonts/SkapaBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AsketLight';
    src: url('assets/fonts/AsketLight.woff2') format('woff2'),
         url('assets/fonts/AsketLight.woff') format('woff'),
         url('assets/fonts/AsketLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* Scroll Container */
.scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Page Sections */
.page-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
}

/* Left Section */
.left-section {
    padding: 60px 80px;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 60px;
    left: 80px;
    right: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    gap: 40px;
}

/* Logo in Navigation */
.navigation .logo {
    margin: 0;
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

/* Content */
.content {
    flex: 1;
    margin-top: 100px;
}

.name {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    color: #ffffff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-link i.fa-linkedin {
    color: #0077b5;
}

.social-link i.fa-github {
    color: #ffffff;
}

.social-link i.fa-envelope {
    color: #ea4335;
}

/* Right Section */
.right-section {
    position: relative;
    background-color: #000000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

/* Resume Button in Navigation */
.navigation .resume-button {
    position: static;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navigation .resume-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.navigation .resume-button i {
    font-size: 12px;
}

/* Profile Image */
.profile-image-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    padding-left: 0;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    object-position: left center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    position: relative;
    display: block;
}

.profile-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.20) 5%, transparent 20%),
                linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 8%, transparent 30%),
                linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 8%, transparent 15%);
    z-index: 2;
    pointer-events: none;
}

.profile-image:hover {
    filter: grayscale(0%);
}

/* About Me Section - Code Editor Style */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.code-editor {
    width: 100%;
    max-width: 900px;
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    display: flex;
    flex-direction: column;
}

.editor-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.editor-header {
    background-color: #252526;
    border-bottom: 1px solid #3e3e42;
    padding: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.code-editor.animate .editor-header {
    opacity: 1;
    transform: translateY(0);
}

.editor-tabs {
    display: flex;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #2d2d30;
    border-right: 1px solid #3e3e42;
    color: #cccccc;
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease-out 0.3s;
}

.code-editor.animate .tab {
    opacity: 1;
}

.tab.active {
    background-color: #1e1e1e;
    color: #ffffff;
}

.tab-icon {
    font-size: 11px;
    font-weight: 600;
    color: #4ec9b0;
}

.tab-title {
    font-size: 13px;
}

.tab-close {
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
    margin-left: 8px;
}

.tab-close:hover {
    opacity: 1;
}

.editor-content {
    display: flex;
    background-color: #1e1e1e;
    min-height: 400px;
}

.line-numbers {
    background-color: #252526;
    color: #858585;
    padding: 16px 8px 16px 16px;
    text-align: right;
    font-size: 14px;
    line-height: 28px;
    user-select: none;
    border-right: 1px solid #3e3e42;
    min-width: 50px;
    display: flex;
    flex-direction: column;
}

.line-numbers span {
    display: block;
    height: 28px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.code-editor.animate .line-numbers span:nth-child(1) { transition-delay: 0.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(2) { transition-delay: 1.0s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(3) { transition-delay: 1.2s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(4) { transition-delay: 1.4s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(5) { transition-delay: 1.6s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(6) { transition-delay: 1.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(7) { transition-delay: 2.0s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(8) { transition-delay: 2.2s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(9) { transition-delay: 2.4s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(10) { transition-delay: 2.6s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(11) { transition-delay: 2.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .line-numbers span:nth-child(12) { transition-delay: 3.0s; opacity: 1; transform: translateX(0); }

.code-lines {
    flex: 1;
    padding: 16px 16px 16px 12px;
    font-size: 14px;
    line-height: 28px;
    color: #d4d4d4;
}

.code-line {
    height: 28px;
    white-space: nowrap;
    line-height: 28px;
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
    direction: ltr;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.code-editor.animate .code-line:nth-child(1) { transition-delay: 0.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(2) { transition-delay: 1.0s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(3) { transition-delay: 1.2s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(4) { transition-delay: 1.4s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(5) { transition-delay: 1.6s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(6) { transition-delay: 1.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(7) { transition-delay: 2.0s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(8) { transition-delay: 2.2s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(9) { transition-delay: 2.4s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(10) { transition-delay: 2.6s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(11) { transition-delay: 2.8s; opacity: 1; transform: translateX(0); }
.code-editor.animate .code-line:nth-child(12) { transition-delay: 3.0s; opacity: 1; transform: translateX(0); }

/* Syntax Highlighting */
.keyword {
    color: #569cd6;
}

.variable {
    color: #9cdcfe;
}

.string {
    color: #ce9178;
}

.comment {
    color: #6a9955;
}

.function {
    color: #4ec9b0;
}

.number {
    color: #b5cea8;
}

/* Section Container (for Projects and Skills) */
.section-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 100px 80px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

#Projects .section-container {
    padding-top: 70px;
    padding-bottom: 15px;
    padding-left: 50px;
    padding-right: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0px;
}

.section-content {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #ffffff;
}

/* Education and Certificates Section */
.education-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.education-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    will-change: transform, opacity;
}

.education-container.animate .education-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-container.animate .education-item:nth-child(1) { transition-delay: 0.1s; }
.education-container.animate .education-item:nth-child(2) { transition-delay: 0.2s; }
.education-container.animate .education-item:nth-child(3) { transition-delay: 0.3s; }
.education-container.animate .education-item:nth-child(4) { transition-delay: 0.4s; }
.education-container.animate .education-item:nth-child(5) { transition-delay: 0.5s; }

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.education-container.animate .education-item:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.education-item:hover .education-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.education-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    font-size: 28px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.education-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.education-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.education-platform {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-separator {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.education-instructor {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

/* Skills Section */
#skills .section-container {
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

#skills .section-title {
    margin-bottom: 60px;
}

.skills-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.skills-line {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.skill-tag {
    padding: 18px 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.skills-line-left .skill-tag {
    transform: translate3d(-100px, 0, 0);
}

.skills-line-right .skill-tag {
    transform: translate3d(100px, 0, 0);
}

.skills-container.animate .skill-tag {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.skills-container.animate .skills-line-left .skill-tag:nth-child(1) { transition-delay: 0.1s; }
.skills-container.animate .skills-line-left .skill-tag:nth-child(2) { transition-delay: 0.2s; }
.skills-container.animate .skills-line-left .skill-tag:nth-child(3) { transition-delay: 0.3s; }
.skills-container.animate .skills-line-left .skill-tag:nth-child(4) { transition-delay: 0.4s; }
.skills-container.animate .skills-line-left .skill-tag:nth-child(5) { transition-delay: 0.5s; }

.skills-container.animate .skills-line-right .skill-tag:nth-child(1) { transition-delay: 0.1s; }
.skills-container.animate .skills-line-right .skill-tag:nth-child(2) { transition-delay: 0.2s; }
.skills-container.animate .skills-line-right .skill-tag:nth-child(3) { transition-delay: 0.3s; }
.skills-container.animate .skills-line-right .skill-tag:nth-child(4) { transition-delay: 0.4s; }
.skills-container.animate .skills-line-right .skill-tag:nth-child(5) { transition-delay: 0.5s; }

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 0;
    align-items: start;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    will-change: transform, opacity;
}

.projects-grid.animate .project-card {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.projects-grid.animate .project-card:nth-child(1) { transition-delay: 0.05s; }
.projects-grid.animate .project-card:nth-child(2) { transition-delay: 0.1s; }
.projects-grid.animate .project-card:nth-child(3) { transition-delay: 0.15s; }
.projects-grid.animate .project-card:nth-child(4) { transition-delay: 0.2s; }
.projects-grid.animate .project-card:nth-child(5) { transition-delay: 0.25s; }
.projects-grid.animate .project-card:nth-child(6) { transition-delay: 0.3s; }
.projects-grid.animate .project-card:nth-child(7) { transition-delay: 0.35s; }
.projects-grid.animate .project-card:nth-child(8) { transition-delay: 0.4s; }
.projects-grid.animate .project-card:nth-child(9) { transition-delay: 0.45s; }
.projects-grid.animate .project-card:nth-child(10) { transition-delay: 0.5s; }

.project-card:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.project-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
}

/* Responsive Design - About Me Section */
@media (max-width: 1024px) {
    .about-container {
        padding: 130px 40px 40px;
    }
    
    .section-container {
        padding: 90px 40px 40px;
    }
    
    .code-editor {
        max-width: 100%;
    }
    
    .code-lines,
    .line-numbers {
        font-size: 13px;
        line-height: 26px;
    }
    
    .line-numbers span,
    .code-line {
        height: 26px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project-title-overlay {
        font-size: 18px;
        padding: 15px;
    }
    
    .education-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .education-item {
        padding: 28px;
    }
    
    .education-title {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 100px 20px 20px;
    }
    
    .section-container {
        padding: 80px 20px 20px;
    }
    
    .code-lines,
    .line-numbers {
        font-size: 12px;
        line-height: 24px;
        padding: 12px;
    }
    
    .line-numbers {
        min-width: 40px;
        padding: 12px 6px;
    }
    
    .line-numbers span,
    .code-line {
        height: 24px;
    }
    
    .tab {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .section-content {
        font-size: 16px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-title-overlay {
        font-size: 16px;
        padding: 12px;
    }
    
    #Projects {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        scroll-snap-stop: normal;
    }
    
    #Projects .section-container {
        min-height: 100vh;
        padding-bottom: 40px;
    }
    
    #education {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        scroll-snap-stop: normal;
    }
    
    #education .section-container {
        min-height: 100vh;
        padding-bottom: 40px;
    }
    
    .skills-container {
        margin-top: 30px;
        gap: 12px;
    }
    
    .skills-line {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        overflow: hidden;
    }
    
    .skill-tag {
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 20px;
        flex-shrink: 1;
        min-width: fit-content;
    }
    
    #skills .section-title {
        margin-bottom: 40px;
    }
    
    .education-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .education-item {
        padding: 28px;
    }
    
    .education-title {
        font-size: 19px;
    }
    
    .education-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 100px 15px 15px;
    }
    
    .section-container {
        padding: 70px 15px 15px;
    }
    
    .code-lines,
    .line-numbers {
        font-size: 11px;
        line-height: 22px;
        padding: 10px;
    }
    
    .line-numbers {
        min-width: 35px;
        padding: 10px 4px;
    }
    
    .line-numbers span,
    .code-line {
        height: 22px;
    }
    
    .tab {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .tab-icon {
        font-size: 10px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .section-content {
        font-size: 14px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-title-overlay {
        font-size: 14px;
        padding: 10px;
    }
    
    #Projects {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        scroll-snap-stop: normal;
    }
    
    #Projects .section-container {
        min-height: 100vh;
        padding-bottom: 30px;
    }
    
    #education {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        scroll-snap-stop: normal;
    }
    
    #education .section-container {
        min-height: 100vh;
        padding-bottom: 30px;
    }
    
    .education-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-item {
        padding: 24px;
        gap: 16px;
    }
    
    .education-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .education-title {
        font-size: 18px;
    }
    
    .education-platform,
    .education-instructor {
        font-size: 13px;
    }
    
    .skills-container {
        margin-top: 25px;
        gap: 10px;
    }
    
    .skills-line {
        gap: 5px;
        flex-wrap: nowrap;
        justify-content: center;
        overflow: hidden;
    }
    
    .skill-tag {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 18px;
        flex-shrink: 1;
        min-width: fit-content;
    }
    
    #skills .section-title {
        margin-bottom: 30px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navigation {
        top: 40px;
        left: 40px;
        right: 40px;
        gap: 25px;
    }

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

    .left-section {
        padding: 40px;
        padding-top: 130px;
    }

    .right-section {
        min-height: 60vh;
    }
    
    .profile-image {
        height: 60vh;
    }
    
    .profile-image-container::after {
        height: 60vh;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .navigation .resume-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .name {
        font-size: 42px;
        letter-spacing: 1.5px;
    }

    .title {
        font-size: 18px;
    }
    
    .content {
        margin-top: 0;
    }
}

@media (min-width: 1025px) {
    .right-section {
        min-height: 100vh;
    }
    
    .profile-image {
        height: 85vh;
    }
    
    .profile-image-container::after {
        height: 85vh;
    }
}

@media (max-width: 768px) {
    .navigation {
        top: 20px;
        left: 20px;
        right: 20px;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .left-section {
        padding: 20px;
        padding-top: 100px;
    }

    .logo-image {
        height: 32px;
    }
    
    .navigation .logo {
        flex-shrink: 0;
    }

    .name {
        font-size: 36px;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }

    .title {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .description {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .nav-links {
        flex: 1;
        justify-content: center;
        gap: 15px;
    }
    
    .navigation .resume-button {
        flex-shrink: 0;
        padding: 12px 16px;
        font-size: 11px;
        white-space: nowrap;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .content {
        margin-top: 0;
    }
    
    .right-section {
        min-height: 60vh;
    }
    
    .profile-image-container {
        height: 60vh;
        align-items: stretch;
    }
    
    .profile-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: left center;
    }
    
    .profile-image-container::after {
        height: 60vh;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.1) 10%, transparent 15%),
                    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.1) 10%, transparent 15%);
    }
    
    .social-links {
        margin-top: 30px;
        gap: 15px;
    }
    
    .social-link {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .navigation {
        top: 15px;
        left: 15px;
        right: 15px;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .nav-links {
        flex: 1;
        justify-content: center;
        gap: 10px;
    }
    
    .navigation .logo {
        flex-shrink: 0;
    }
    
    .navigation .logo-image {
        height: 28px;
    }
    
    .navigation .resume-button {
        flex-shrink: 0;
        padding: 10px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
        white-space: nowrap;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link {
        font-size: 11px;
        padding: 10px 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .left-section {
        padding: 15px;
        padding-top: 100px;
    }

    .name {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .title {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .description {
        font-size: 13px;
        margin-bottom: 30px;
        line-height: 1.7;
    }
    
    .content {
        margin-top: 0;
    }
    
    .right-section {
        min-height: 50vh;
    }
    
    .profile-image-container {
        height: 50vh;
        align-items: stretch;
    }
    
    .profile-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: left center;
    }
    
    .profile-image-container::after {
        height: 50vh;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.1) 10%, transparent 15%),
                    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.3) 6%, rgba(0, 0, 0, 0.1) 10%, transparent 15%);
    }
    
    .social-links {
        margin-top: 25px;
        gap: 12px;
    }
    
    .social-link {
        font-size: 18px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typeIn {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}

@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation Animation */
.navigation {
    animation: fadeIn 0.8s ease-out;
}

.navigation .logo {
    animation: slideInLeft 0.8s ease-out;
}

.nav-links {
    animation: fadeIn 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

.navigation .resume-button {
    animation: slideInRight 0.8s ease-out;
}

/* Content Animations */
.name {
    animation: fadeInUp 0.8s ease-out 0.3s;
    animation-fill-mode: both;
}

.title {
    animation: fadeInUp 0.8s ease-out 0.5s;
    animation-fill-mode: both;
}

.description {
    animation: fadeInUp 0.8s ease-out 0.7s;
    animation-fill-mode: both;
}

.social-links {
    animation: fadeInUp 0.8s ease-out 0.9s;
    animation-fill-mode: both;
}

/* Image Animation */
.profile-image {
    animation: slideInRight 1s ease-out 0.4s;
    animation-fill-mode: both;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
