/* =====================================================
   CSS ORGANIZATION TABLE OF CONTENTS
   =====================================================
   0. ACCESSIBILITY & SEO STYLES
   1. RESET & BASE STYLES
   2. LAYOUT & GRID SYSTEM
   3. COMPONENT STYLES
      - Bento Items (Base)
      - Landing Tile
      - Projects Tile
      - Work Experience Tile
      - Education Tile
      - Bio Tile
      - Skills Tile
   4. CONTACT BUTTON
   5. EXPANDED SECTION STYLES
      - Landing Expanded
      - Projects Expanded
      - Work Experience Expanded
      - Education Expanded
      - Bio Expanded
      - Skills Expanded
   6. FOCUS SYSTEM (Expand/Shrink)
   7. NAVIGATION & INTERACTION
   8. RESPONSIVE DESIGN
   9. ANIMATIONS & KEYFRAMES
   ===================================================== */

/* =====================================================
   0. ACCESSIBILITY & SEO STYLES
   ===================================================== */

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1f6feb;
    color: white;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* AI Content Summary - Hidden from users but visible to search engines */
#ai-content-summary {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    /* Keep content accessible to search engines but hidden from users */
}

/* AI-specific content visibility */
@media screen and (max-width: 0px) {
    /* This will never match, ensuring content stays hidden from visual users */
    #ai-content-summary {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Ensure AI content doesn't interfere with layout */
#ai-content-summary h1,
#ai-content-summary h2,
#ai-content-summary h3,
#ai-content-summary p,
#ai-content-summary ul,
#ai-content-summary li,
#ai-content-summary div {
    position: absolute;
    left: -10000px;
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}

/* =====================================================
   1. RESET & BASE STYLES
   ===================================================== */

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


body {
    background-color: #0d1117;
    font-family: 'Inter', sans-serif;
    padding: 5px;
    height: calc(100vh - 20px);
    margin: 0;
    overflow: hidden;
}

/* Reset main element margins and padding */
main {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

/* Enhanced responsive body */
@media (max-width: 768px) {
    body {
        padding: 5px;
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }
}

/* =====================================================
   2. LAYOUT & GRID SYSTEM
   ===================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 0.3fr;
    grid-template-rows: 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr;
    grid-template-areas:
        "landing landing landing projects projects skills"
        "landing landing landing projects projects skills"
        "landing landing landing projects projects skills"
        "education education work-exp work-exp work-exp skills"
        "education education work-exp work-exp work-exp skills"
        "bio bio bio bio bio skills";
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    height: calc(100% - 10px);
    box-sizing: border-box;
}

/* =====================================================
   3. COMPONENT STYLES - BENTO ITEMS (BASE)
   ===================================================== */

.bento-item {
    background-color: #21262d;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bento-item:hover {
    transform: translateY(5px) rotate(1deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #1f6feb;
    background-color: #262c36;
}

/* Grid area assignments */
#landing-tile { grid-area: landing; }
#projects-tile { grid-area: projects; }
#work-experience-tile { grid-area: work-exp; }
#education-tile { grid-area: education; }
#bio-tile { grid-area: bio; }
#skills-tile { grid-area: skills; }

/* =====================================================
   3A. LANDING TILE STYLES
   ===================================================== */

#landing-tile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 20px;
}

#landing-tile:hover {
    border-color: #238636;
    transform: translateY(5px) rotate(1deg);
}

#landing-tile:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(35, 134, 54, 0.3);
}

#landing-tile:hover h1 {
    color: #238636;
    text-shadow: 0 2px 8px rgba(35, 134, 54, 0.3);
}

/* Landing tile specific styling */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
}

#landing-tile img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-left: 20px;
    margin-bottom: 15px;
    object-fit: cover;
    background-color: #ddd;
    transition: all 0.3s ease;
}

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

#landing-tile h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 1px;
    margin-bottom: 10px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #238636;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    line-height: 1.1;
    transition: all 0.3s ease;
}

#landing-tile .greeting {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #f0f6fc;
    font-weight: 500;
}

#landing-tile .intro {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #c9d1d9;
    line-height: 1.5;
    max-width: 100%;
}

#landing-tile a {
    text-decoration: none;
    display: block;
    width: fit-content;
}

#landing-tile button {
    background-color: #238636;
    color: white;
    border: none;
    padding: 10px 25px;
    margin-left: 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 200px;
    max-width: 200px;
}

#landing-tile button:hover {
    background-color: #2ea043;
}

.arrow-down {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8b949e;
}

/* =====================================================
   3B. PROJECTS TILE STYLES
   ===================================================== */

#projects-tile {
    position: relative;
    grid-area: projects;
}

#projects-tile h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #1f6feb;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

#projects-tile:hover {
    border-color: #1f6feb;
    transform: translateY(-5px) rotate(1.5deg);
}

#projects-tile:hover .project-image {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#projects-tile:hover .project-image img {
    transform: scale(1.05);
}

#projects-tile:hover h2 {
    color: #1f6feb;
    text-shadow: 0 2px 8px rgba(31, 111, 235, 0.3);
}

#projects-tile .project-image {
    width: 100%;
    height: 160px;
    background-color: #30363d;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#projects-tile .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(72, 79, 88, 0.2) 50%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

#projects-tile h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #f0f6fc;
}

#projects-tile .description {
    font-size: 0.85rem;
    color: #c9d1d9;
    line-height: 1.3;
}

.arrow-down-projects {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8b949e;
}

/* =====================================================
   3C. WORK EXPERIENCE TILE STYLES
   ===================================================== */

#work-experience-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#work-experience-tile:hover {
    border-color: #1f6feb;
    transform: translateY(-5px) rotate(-1deg);
}

#work-experience-tile:hover h2 {
    color: #1f6feb;
    text-shadow: 0 2px 8px rgba(31, 111, 235, 0.3);
}

#work-experience-tile:hover .company-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#work-experience-tile h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #1f6feb;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

#work-experience-tile h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #f0f6fc;
}

#work-experience-tile .company {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #c9d1d9;
}

#work-experience-tile .dates {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #8b949e;
}

.company-logo {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 125px;
    height: 75px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.company-logo img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

#work-experience-tile .description {
    font-size: 0.95rem;
    color: #c9d1d9;
    line-height: 1.4;
    margin-bottom: 40px;
}

.arrow-top-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8b949e;
}

/* =====================================================
   3D. EDUCATION TILE STYLES
   ===================================================== */

#education-tile {
    position: relative;
}

#education-tile:hover {
    border-color: #1f6feb;
    transform: translateY(-5px) rotate(1.2deg);
}

#education-tile:hover h2 {
    color: #1f6feb;
    text-shadow: 0 2px 8px rgba(31, 111, 235, 0.3);
}

#education-tile h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #1f6feb;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

#education-tile h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0f6fc;
    line-height: 1.2;
}

#education-tile .college-info {
    font-size: 1rem;
    color: #c9d1d9;
    line-height: 1.4;
}

.arrow-up {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8b949e;
}

/* Education Section Modern Timeline Enhancements */
.education-expanded .modern-timeline-container {
    background: linear-gradient(135deg, 
        rgba(15, 20, 25, 0.03) 0%, 
        rgba(22, 27, 34, 0.02) 50%, 
        rgba(15, 20, 25, 0.03) 100%);
    border: 1px solid rgba(64, 64, 64, 0.08);
}

.education-header-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.education-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1f6feb 0%, #58a6ff 100%);
    border-radius: 16px;
    color: white;
    font-size: 24px;
    box-shadow: 
        0 8px 24px rgba(31, 111, 235, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-card:hover .education-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 32px rgba(31, 111, 235, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.education-details {
    flex: 1;
    min-width: 0;
}

.degree-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.degree-specialization {
    font-size: 1rem;
    color: #58a6ff;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.institution-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.institution-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #c9d1d9;
}

.institution-info i {
    width: 16px;
    color: #8b949e;
    font-size: 14px;
}

.institution-name {
    font-weight: 600;
    color: #f0f6fc !important;
}

.performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, 
        rgba(35, 134, 54, 0.2) 0%, 
        rgba(35, 134, 54, 0.1) 100%);
    border: 1px solid rgba(35, 134, 54, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    margin-top: 8px;
}

.badge-label {
    font-size: 0.85rem;
    color: #8b949e;
    font-weight: 500;
}

.badge-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #56d364;
}

/* Responsive adjustments for education timeline */
@media (max-width: 768px) {
    .education-header-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .education-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        align-self: center;
    }
    
    .institution-info {
        gap: 8px;
    }
    
    .degree-title {
        font-size: 1.3rem;
    }
}

/* Education Timeline - Minimal & Clean Horizontal Design */
.education-timeline-horizontal {
    position: relative;
    padding: 50px 0;
    margin: 30px 0;
}

.timeline-line-horizontal {
    position: absolute;
    top: 75px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(108, 99, 255, 0.3) 15%, 
        rgba(108, 99, 255, 0.6) 50%, 
        rgba(108, 99, 255, 0.3) 85%, 
        transparent 100%);
    z-index: 1;
}

.education-items-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 40px;
    padding: 0 20px;
}

.education-item-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    min-height: 400px;
    justify-content: flex-start;
}

.education-item-horizontal:nth-child(1) { animation-delay: 0.1s; }
.education-item-horizontal:nth-child(2) { animation-delay: 0.2s; }
.education-item-horizontal:nth-child(3) { animation-delay: 0.3s; }

.timeline-dot-horizontal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(22, 27, 34, 0.8);
    border: 3px solid #6c63ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c63ff;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    z-index: 3;
    position: relative;
    backdrop-filter: blur(10px);
}

.timeline-dot-horizontal:hover {
    transform: scale(1.1);
    border-color: #5a52d5;
    background: #6c63ff;
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.current-dot {
    border-color: #4caf50;
    color: #4caf50;
    background: rgba(22, 27, 34, 0.8);
}

.current-dot:hover {
    background: #4caf50;
    color: white;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
}

.timeline-year-horizontal {
    font-size: 0.9rem;
    font-weight: 600;
    color: #58a6ff;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(88, 166, 255, 0.15);
    border-radius: 12px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.current-year {
    color: #56d364;
    background: rgba(86, 211, 100, 0.15);
    border-color: rgba(86, 211, 100, 0.3);
}

.education-card-horizontal {
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.95) 0%, 
        rgba(30, 36, 44, 0.9) 100%);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 260px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(88, 166, 255, 0.1);
}

.education-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(88, 166, 255, 0.3);
    border-color: rgba(88, 166, 255, 0.4);
}

.current-card:hover {
    border-color: rgba(86, 211, 100, 0.4);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(86, 211, 100, 0.3);
}

.education-card-horizontal h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f6fc;
    line-height: 1.3;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.education-stream {
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: #58a6ff;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
}

.education-details-horizontal {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
}

.education-details-horizontal p {
    margin: 0;
    font-size: 0.8rem;
    color: #8b949e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.education-details-horizontal i {
    color: #58a6ff;
    font-size: 0.75rem;
    width: 12px;
    flex-shrink: 0;
}

.education-score {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, 
        rgba(86, 211, 100, 0.2) 0%, 
        rgba(86, 211, 100, 0.1) 100%);
    color: #56d364;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(86, 211, 100, 0.3);
    margin-top: auto;
    align-self: center;
}

.current-score {
    background: linear-gradient(135deg, 
        rgba(88, 166, 255, 0.2) 0%, 
        rgba(88, 166, 255, 0.1) 100%);
    color: #58a6ff;
    border-color: rgba(88, 166, 255, 0.3);
}

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

/* Responsive Design for Minimal Timeline */
@media (max-width: 1024px) {
    .education-items-horizontal {
        gap: 25px;
        padding: 0 15px;
    }
    
    .education-card-horizontal {
        max-width: 220px;
        padding: 20px 16px;
    }
    
    .timeline-line-horizontal {
        left: 60px;
        right: 60px;
    }
}

@media (max-width: 768px) {
    .education-timeline-horizontal {
        padding: 30px 0;
    }
    
    .timeline-line-horizontal {
        display: none;
    }
    
    .education-items-horizontal {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        padding: 0;
    }
    
    .education-item-horizontal {
        max-width: 100%;
        width: 100%;
    }
    
    .education-card-horizontal {
        max-width: 320px;
        width: 100%;
    }
    
    .timeline-dot-horizontal {
        margin-bottom: 12px;
    }
    
    .timeline-year-horizontal {
        margin-bottom: 16px;
    }
}

/* =====================================================
   3E. BIO TILE STYLES
   ===================================================== */

#bio-tile {
    position: relative;
}

#bio-tile:hover {
    border-color: #1f6feb;
    transform: translateY(-5px) rotate(-0.8deg);
}

#bio-tile:hover h2 {
    color: #1f6feb;
    text-shadow: 0 2px 8px rgba(31, 111, 235, 0.3);
}

#bio-tile h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #1f6feb;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

#bio-tile .bio-text {
    font-size: 0.9rem;
    color: #c9d1d9;
    line-height: 1.5;
}

.arrow-up-2 {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8b949e;
}

.arrow-left {
    position: absolute;
    bottom: 20px;
    right: 50px;
    font-size: 1.5rem;
    color: #8b949e;
}

/* =====================================================
   3F. SKILLS TILE STYLES
   ===================================================== */

#skills-tile {
    grid-area: skills;
    justify-content: flex-start;
    position: relative;
}

#skills-tile:hover {
    border-color: #1f6feb;
    transform: translateY(-5px) rotate(2deg);
}

#skills-tile:hover h2 {
    color: #1f6feb;
    text-shadow: 0 2px 8px rgba(31, 111, 235, 0.3);
}

#skills-tile:hover .skill-logo {
    transform: scale(1.1) rotate(5deg);
}

#skills-tile h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f0f6fc;
    text-decoration: underline;
    text-decoration-color: #1f6feb;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.skills-logos {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: space-evenly;
}

.skill-logo {
    width: 60px;
    height: 60px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Specific technology colors */
.skill-logo.javascript {
    background-color: #f7df1e;
    color: #323330;
}

.skill-logo.html5 {
    background-color: #e34f26;
    color: white;
}

.skill-logo.css3 {
    background-color: #1572b6;
    color: white;
}

.skill-logo.react {
    background-color: #61dafb;
    color: #20232a;
}

.skill-logo.git {
    background-color: #f05032;
    color: white;
}

.skill-logo.figma {
    background-color: #f24e1e;
    color: white;
}

/* =====================================================
   4. CONTACT BUTTON STYLES
   ===================================================== */

.contact-button {
    position: fixed;
    top: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 80px;
    height: 80px;
    z-index: 1000;
}

.contact-button a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.contact-circle {
    width: 100%;
    height: 100%;
    background-color: #d32f2f;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.contact-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Social media specific colors */
.contact-circle.linkedin {
    background-color: #0077b5;
}

.contact-circle.linkedin:hover {
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.contact-circle.github {
    background-color: #333;
}

.contact-circle.github:hover {
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.4);
}

.contact-circle.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-circle.instagram:hover {
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.contact-circle.x-twitter {
    background-color: #000000;
    border: 2px solid #ffffff;
}

.contact-circle.x-twitter:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background-color: #1a1a1a;
}

.x-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    font-family: serif;
}

/* =====================================================
   8. RESPONSIVE DESIGN
   ===================================================== */

/* Enhanced Responsive design */
/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr 0.5fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "landing landing skills"
            "projects projects skills"
            "work-exp work-exp skills"
            "education bio skills";
        gap: 12px;
        max-width: 900px;
        height: auto;
        min-height: calc(100vh - 40px);
    }
    
    .bento-item {
        padding: 18px;
        border-radius: 18px;
    }
    
    #landing-tile {
        gap: 18px;
    }
    
    #landing-tile h1 {
        font-size: 2.2rem;
    }
    
    .bento-item.expanded {
        right: 80px;
    }
    
    .bento-item.shrunk {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "landing"
            "projects"
            "work-exp"
            "education"
            "bio"
            "skills";
        height: auto;
        gap: 8px;
        padding: 0 5px;
        max-width: 100%;
    }

    .bento-item {
        padding: 20px;
        border-radius: 16px;
        min-height: 120px;
    }

    .bento-item:hover {
        transform: translateY(2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    #landing-tile {
        gap: 15px;
        flex-direction: column;
        text-align: center;
        min-height: 200px;
    }

    #landing-tile h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    #landing-tile .profile-section {
        order: 1;
    }

    #landing-tile .content-section {
        order: 2;
    }

    #landing-tile .profile-section img {
        width: 80px;
        height: 80px;
    }

    #landing-tile button {
        width: 160px;
        margin: 10px auto 0;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .contact-button {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Focus System - Expand/Shrink Functionality */
.bento-item.expanded {
    position: fixed !important;
    top: 10px;
    left: 10px;
    right: 125px;
    bottom: 10px;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    z-index: 10;
    grid-area: unset;
    box-shadow: 0 25px 50px rgba(31, 111, 235, 0.3);
    border-color: #1f6feb;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #262c36;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-behavior: smooth;
}

/* Custom scrollbar for expanded sections */
.bento-item.expanded::-webkit-scrollbar {
    width: 4px;
}

.bento-item.expanded::-webkit-scrollbar-track {
    background: transparent;
    margin: 15px 0;
}

.bento-item.expanded::-webkit-scrollbar-thumb {
    background: rgba(31, 111, 235, 0.2);
    border-radius: 2px;
    border: none;
    transition: background 0.2s ease;
}

.bento-item.expanded::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 111, 235, 0.4);
}

/* Global scrollbar styling for the entire page */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 148, 158, 0.15);
    border-radius: 2px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 148, 158, 0.3);
}

/* Mobile expand behavior - full screen */
@media (max-width: 768px) {
    .bento-item.expanded {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth touch scrolling on iOS */
    }
    
    /* Hide thumbnails on mobile - show close button instead */
    .bento-item.shrunk {
        display: none !important;
    }
    
    /* Add close button for mobile */
    .bento-item.expanded::before {
        content: "✕";
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        border: 1px solid #30363d;
    }
}

.bento-item.expanded:hover {
    transform: none !important;
}

.bento-item.shrunk {
    position: fixed !important;
    width: 80px !important;
    height: 80px !important;
    z-index: 5;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* Position shrunk items dynamically via JavaScript */
.bento-item.shrunk {
    right: 10px;
}

.bento-item.shrunk:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: #1f6feb;
}

/* Thumbnail Labels */
.bento-item.shrunk::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 6px 4px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    opacity: 0;
    transform: translateY(10px);
    display: block !important;
}

.bento-item.shrunk:hover::after {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(31, 111, 235, 0.95));
}



/* Hide ALL content in shrunk state - show only thumbnail view */
.bento-item.shrunk * {
    display: none !important;
}

/* Create thumbnail content with icon and minimal styling */
.bento-item.shrunk::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.8rem;
    color: #1f6feb;
    display: block !important;
    z-index: 5;
    text-align: center;
    transition: all 0.3s ease;
}

/* Section-specific icons */
.bento-item.shrunk[data-label="About"]::before {
    content: "\f007"; /* fa-user */
}

.bento-item.shrunk[data-label="Projects"]::before {
    content: "\f0e8"; /* fa-sitemap */
}

.bento-item.shrunk[data-label="Experience"]::before {
    content: "\f0b1"; /* fa-briefcase */
}

.bento-item.shrunk[data-label="Education"]::before {
    content: "\f19d"; /* fa-graduation-cap */
}

.bento-item.shrunk[data-label="Bio"]::before {
    content: "\f15c"; /* fa-file-text */
}

.bento-item.shrunk[data-label="Skills"]::before {
    content: "\f085"; /* fa-cogs */
}

.bento-item.shrunk:hover::before {
    transform: translate(-50%, -50%) scale(1.1);
    color: #58a6ff;
}

/* Show expanded content only when item is expanded */
.expanded-content {
    display: none;
    border-top: 1px solid #30363d;
    padding: 20px;
    min-height: 100%;
    box-sizing: border-box;
}

.bento-item.expanded .expanded-content {
    display: block;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Hide original content when expanded - show only expanded content */
.bento-item.expanded .profile-section,
.bento-item.expanded .content-section,
.bento-item.expanded > header,
.bento-item.expanded > h2,
.bento-item.expanded > h3,
.bento-item.expanded > .description,
.bento-item.expanded .project-image,
.bento-item.expanded .company-logo,
.bento-item.expanded .company,
.bento-item.expanded .dates,
.bento-item.expanded .college-info,
.bento-item.expanded .bio-text,
.bento-item.expanded .skills-logos,
.bento-item.expanded .arrow-down,
.bento-item.expanded .arrow-down-projects,
.bento-item.expanded .arrow-top-right,
.bento-item.expanded .arrow-up,
.bento-item.expanded .arrow-up-2,
.bento-item.expanded .arrow-left {
    display: none !important;
}

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

/* Expanded content styling */
.project-details, .experience-details, .education-details, .bio-details, .skills-details {
    margin-top: 15px;
}

.project-details h4, .experience-details h4, .education-details h4, .bio-details h4, .skills-details h4 {
    color: #1f6feb;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.project-details ul, .experience-details ul, .education-details ul, .skills-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.project-details li, .experience-details li, .education-details li, .skills-details li {
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
    color: #c9d1d9;
}

.project-details li:before, .experience-details li:before, .education-details li:before, .skills-details li:before {
    content: "▸";
    color: #1f6feb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.bio-details p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #c9d1d9;
}

/* Modern Bio Expanded Section */
.bio-expanded {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    min-height: 100%;
}

.bio-header {
    text-align: center;
    margin-bottom: 30px;
}

.bio-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.bio-subtitle {
    font-size: 1.2rem;
    color: #8b949e;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

.bio-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    flex: 1;
}

.bio-card {
    background: rgba(33, 38, 45, 0.6);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #404040;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    bottom: 25px;
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #1f6feb, #388bfd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bio-card:hover {
    background: rgba(33, 38, 45, 0.8);
    border-color: #1f6feb;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 111, 235, 0.15);
}

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

.bio-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.bio-card-icon {
    font-size: 2.2rem;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.bio-card:hover .bio-card-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.bio-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

.bio-card p {
    font-size: 1rem;
    color: #c9d1d9;
    line-height: 1.7;
    margin: 0;
    opacity: 0.95;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.interest-tag {
    background: rgba(31, 111, 235, 0.1);
    color: #58a6ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(31, 111, 235, 0.2);
    transition: all 0.3s ease;
}

.interest-tag:hover {
    background: rgba(31, 111, 235, 0.2);
    border-color: #1f6feb;
    transform: translateY(-2px);
}

/* Modern Work Experience Expanded Section */
.experience-expanded {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    min-height: 100%;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.95));
    position: relative;
}

.experience-expanded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(31, 111, 235, 0.03), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(35, 134, 54, 0.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.experience-header {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.experience-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #f0f6fc;
    margin: 0 0 16px 0;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #f0f6fc, #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.experience-subtitle {
    font-size: 1.3rem;
    color: #8b949e;
    margin: 0;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.experience-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.experience-card {
    background: rgba(33, 38, 45, 0.7);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(64, 64, 64, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 
                0 2px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: slideInUp 0.6s ease-out both;
}

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1f6feb, #388bfd, #58a6ff);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.02), rgba(56, 139, 253, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.experience-card:hover {
    background: rgba(33, 38, 45, 0.9);
    border-color: rgba(31, 111, 235, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(31, 111, 235, 0.15), 
                0 8px 32px rgba(0, 0, 0, 0.3);
}

.experience-card:hover::before,
.experience-card:hover::after {
    opacity: 1;
}

.experience-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.experience-card-icon {
    font-size: 2.8rem;
    filter: grayscale(0.3) brightness(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.experience-card:hover .experience-card-icon {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0) brightness(1.2);
}

.experience-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

/* Modern Timeline Styles - Enhanced */
.modern-timeline-container {
    position: relative;
    max-width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(15, 20, 25, 0.05) 0%, 
        rgba(22, 27, 34, 0.02) 50%, 
        rgba(15, 20, 25, 0.05) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(64, 64, 64, 0.1);
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #1f6feb 20%, 
        #58a6ff 50%, 
        #238636 80%, 
        transparent 100%);
    border-radius: 2px;
}

.timeline-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f0f6fc 0%, #58a6ff 50%, #c9d1d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 20px 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(88, 166, 255, 0.3);
}

.timeline-subtitle {
    font-size: 1.1rem;
    color: #8b949e;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-content {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    padding: 60px 0;
    position: relative;
    min-height: 300px;
}

.timeline-left {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
    min-width: 220px;
    z-index: 40;
    align-self: flex-start;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.95) 0%, 
        rgba(30, 36, 44, 0.9) 100%);
    border: 3px solid rgba(88, 166, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(88, 166, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-marker::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(88, 166, 255, 0.4) 0%, 
        rgba(35, 134, 54, 0.4) 50%, 
        rgba(247, 150, 16, 0.4) 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 100%);
    border: 2px solid rgba(22, 27, 34, 0.9);
    position: relative;
    transition: all 0.4s ease;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #79c0ff 0%, #58a6ff 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item:hover .timeline-marker::before {
    opacity: 1;
}

.timeline-item:hover .timeline-dot::before {
    opacity: 1;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: rgba(88, 166, 255, 0.6);
}

.timeline-year {
    font-size: 3rem;
    font-weight: 800;
    color: #8b949e;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.timeline-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 40px;
    min-width: 0;
}

.timeline-card {
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.95) 0%, 
        rgba(30, 36, 44, 0.9) 100%);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(88, 166, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(88, 166, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(35, 134, 54, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.timeline-card::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 40px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-right-color: rgba(22, 27, 34, 0.95);
    filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.3));
}

.timeline-card:hover {
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 1) 0%, 
        rgba(30, 36, 44, 0.95) 100%);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(88, 166, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(88, 166, 255, 0.2);
}

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

.timeline-card:hover .timeline-company {
    color: #79c0ff;
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
}

.timeline-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.timeline-company {
    font-size: 1.2rem;
    color: #58a6ff;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.timeline-location,
.timeline-duration {
    font-size: 0.95rem;
    color: #8b949e;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 12px 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-badge.current {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.15), rgba(31, 111, 235, 0.25));
    color: #58a6ff;
    border: 1px solid rgba(31, 111, 235, 0.4);
}

.timeline-badge.ongoing {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.15), rgba(35, 134, 54, 0.25));
    color: #56d364;
    border: 1px solid rgba(35, 134, 54, 0.4);
}

.timeline-badge.completed {
    background: linear-gradient(135deg, rgba(247, 150, 16, 0.15), rgba(247, 150, 16, 0.25));
    color: #f79610;
    border: 1px solid rgba(247, 150, 16, 0.4);
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #c9d1d9;
}

.timeline-line {
    position: absolute;
    left: 129px;
    top: 100px;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(88, 166, 255, 0.2) 5%, 
        rgba(88, 166, 255, 0.3) 25%,
        rgba(35, 134, 54, 0.3) 75%,
        rgba(247, 150, 16, 0.2) 95%,
        transparent 100%);
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.2);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, 
        #58a6ff 0%, 
        #79c0ff 25%,
        #238636 50%,
        #56d364 75%,
        #f79610 100%);
    border-radius: 2px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 12px rgba(88, 166, 255, 0.4),
        0 0 24px rgba(88, 166, 255, 0.2);
}

/* Timeline Animation States - Enhanced */
.timeline-visible .timeline-card {
    animation: slideInUpEnhanced 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.timeline-visible .timeline-card:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-visible .timeline-card:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-visible .timeline-card:nth-child(3) {
    animation-delay: 0.5s;
}

.timeline-visible .timeline-marker {
    animation: markerPulse 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes slideInUpEnhanced {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes markerPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes timelineGlow {
    0%, 100% {
        box-shadow: 
            0 0 8px rgba(88, 166, 255, 0.2),
            0 0 16px rgba(88, 166, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 12px rgba(88, 166, 255, 0.4),
            0 0 24px rgba(88, 166, 255, 0.2),
            0 0 32px rgba(88, 166, 255, 0.1);
    }
}

.timeline-progress {
    animation: timelineGlow 3s ease-in-out infinite;
}

/* Card Expansion States */
.timeline-card.expanded {
    transform: scale(1.05) translateY(-12px);
    z-index: 20 !important;
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(88, 166, 255, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(88, 166, 255, 0.3);
}

.timeline-card.expanded::before {
    opacity: 1;
}

.timeline-card.expanded .timeline-description {
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
}

/* Enhanced Badge Styles */
.timeline-badge {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.timeline-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.timeline-badge:hover::before {
    left: 100%;
}

/* Responsive Timeline */
@media (max-width: 1024px) {
    .timeline-item {
        gap: 40px;
        padding: 40px 0;
    }
    
    .timeline-left {
        max-width: 180px;
        min-width: 180px;
    }
    
    .timeline-right {
        padding-left: 20px;
    }
    
    .timeline-line {
        left: 109px;
    }
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 30px 0;
    }
    
    .timeline-left {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        max-width: 100%;
        min-width: auto;
    }
    
    .timeline-year {
        font-size: 1.8rem;
    }
    
    .timeline-right {
        padding-left: 0;
        width: 100%;
    }
    
    .timeline-card::after {
        display: none;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-title {
        font-size: 2rem;
    }
    
    .modern-timeline-container {
        padding: 40px 15px;
    }
}

/* Projects & Technologies Styles */
.projects-tech-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 8px;
}

.project-highlight {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8), rgba(33, 38, 45, 0.6));
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(64, 64, 64, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #238636, #56d364);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-highlight:hover {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.9), rgba(33, 38, 45, 0.8));
    border-color: rgba(35, 134, 54, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(35, 134, 54, 0.15);
}

.project-highlight:hover::before {
    opacity: 1;
}

.project-highlight h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f0f6fc;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.project-company {
    font-size: 0.9rem;
    color: #8b949e;
    margin: 0 0 16px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-company::before {
    content: '🏢';
    font-size: 0.8rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.15), rgba(35, 134, 54, 0.25));
    color: #56d364;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(35, 134, 54, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 211, 100, 0.2), transparent);
    transition: left 0.5s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.25), rgba(35, 134, 54, 0.35));
    transform: translateY(-2px) scale(1.05);
    border-color: #238636;
    box-shadow: 0 4px 12px rgba(35, 134, 54, 0.3);
}

.tech-tag:hover::before {
    left: 100%;
}

@keyframes pulse-green {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(35, 134, 54, 0.6), 
                    0 0 40px rgba(35, 134, 54, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(35, 134, 54, 0.8), 
                    0 0 60px rgba(35, 134, 54, 0.4);
    }
}

@keyframes pulse-blue {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(31, 111, 235, 0.6), 
                    0 0 40px rgba(31, 111, 235, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(31, 111, 235, 0.8), 
                    0 0 60px rgba(31, 111, 235, 0.4);
    }
}

@keyframes timelineGlow {
    0% { 
        box-shadow: 0 0 8px rgba(31, 111, 235, 0.3);
    }
    100% { 
        box-shadow: 0 0 20px rgba(31, 111, 235, 0.5), 
                    0 0 30px rgba(31, 111, 235, 0.3);
    }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Mobile Responsiveness for Work Experience */
@media (max-width: 768px) {
    .experience-expanded {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .experience-title {
        font-size: 2.5rem;
    }
    
    .experience-subtitle {
        font-size: 1.1rem;
    }
    
    .experience-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stat-item h4 {
        font-size: 1.8rem;
    }
    
    .stat-item span {
        font-size: 0.85rem;
    }
    
    .experience-timeline {
        gap: 16px;
    }
    
    .timeline-item {
        padding: 16px;
        border-radius: 12px;
    }
    
    .timeline-item h4 {
        font-size: 1.1rem;
    }
    
    .timeline-item .company {
        font-size: 0.9rem;
    }
    
    .timeline-item .dates {
        font-size: 0.8rem;
    }
    
    .experience-card {
        padding: 24px;
    }
    
    .work-timeline-container {
        gap: 20px;
    }
}

/* Modern Projects Expanded Section - Multi-Project Layout */
.projects-expanded {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    min-height: 100%;
}

.projects-header {
    text-align: center;
    margin-bottom: 8px;
}

.projects-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.projects-subtitle {
    font-size: 1.2rem;
    color: #8b949e;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.project-card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.85));
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.project-image-container.career-placeholder {
    background: linear-gradient(135deg, rgba(137, 87, 229, 0.2), rgba(137, 87, 229, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(137, 87, 229, 0.5);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(165, 165, 245, 0.8);
    text-align: center;
}

.placeholder-content i {
    font-size: 2.5rem;
    color: rgba(137, 87, 229, 0.7);
}

.placeholder-content span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a5a5f5;
}

.placeholder-content small {
    font-size: 0.9rem;
    color: rgba(165, 165, 245, 0.6);
    font-style: italic;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
    background: #f0f0f0;
}

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

.project-links-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.project-image-container:hover .project-links-overlay {
    opacity: 1;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid;
    backdrop-filter: blur(8px);
    transform: translateY(10px);
}

.project-image-container:hover .project-link {
    transform: translateY(0);
}

.project-link.live-link {
    background: rgba(35, 134, 54, 0.2);
    border-color: #56d364;
    color: #56d364;
}

.project-link.live-link:hover {
    background: rgba(35, 134, 54, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(35, 134, 54, 0.3);
}

.project-link.github-link {
    background: rgba(139, 148, 158, 0.2);
    border-color: #8b949e;
    color: #8b949e;
}

.project-link.github-link:hover {
    background: rgba(139, 148, 158, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 148, 158, 0.3);
}

.project-link i {
    font-size: 1rem;
}

.project-card-header,
.project-description,
.project-features,
.project-tech-stack {
    padding: 0 28px;
}

.project-card-header {
    padding-top: 24px;
    padding-bottom: 0;
}

.project-description {
    padding-top: 16px;
    padding-bottom: 0;
}

.project-features {
    padding-top: 20px;
    padding-bottom: 0;
}

.project-tech-stack {
    padding-top: 20px;
    padding-bottom: 28px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
    transition: all 0.3s ease;
}

.project-card.vanaraksha-theme::before {
    background: linear-gradient(90deg, #238636, #56d364, #2ea043);
}

.project-card.career-theme::before {
    background: linear-gradient(90deg, #1f6feb, #58a6ff, #388bfd);
}

.project-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(13, 17, 23, 1), rgba(22, 27, 34, 0.95));
}

.project-card.vanaraksha-theme:hover {
    border-color: rgba(35, 134, 54, 0.4);
    box-shadow: 0 20px 40px rgba(35, 134, 54, 0.15);
}

.project-card.career-theme:hover {
    border-color: rgba(31, 111, 235, 0.4);
    box-shadow: 0 20px 40px rgba(31, 111, 235, 0.15);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.project-title-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-name {
    font-size: 2rem;
    font-weight: 800;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

.project-card.vanaraksha-theme .project-name {
    background: linear-gradient(135deg, #56d364, #238636);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card.career-theme .project-name {
    background: linear-gradient(135deg, #58a6ff, #1f6feb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-timeline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #8b949e;
    font-weight: 600;
}

.project-card.vanaraksha-theme .project-timeline i {
    color: #238636;
}

.project-card.career-theme .project-timeline i {
    color: #1f6feb;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.project-badge.environmental {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.15), rgba(35, 134, 54, 0.25));
    color: #56d364;
    border-color: rgba(35, 134, 54, 0.4);
}

.project-badge.blockchain {
    background: linear-gradient(135deg, rgba(238, 130, 54, 0.15), rgba(238, 130, 54, 0.25));
    color: #ee8236;
    border-color: rgba(238, 130, 54, 0.4);
}

.project-badge.ai-powered {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.15), rgba(31, 111, 235, 0.25));
    color: #58a6ff;
    border-color: rgba(31, 111, 235, 0.4);
}

.project-badge.career {
    background: linear-gradient(135deg, rgba(137, 87, 229, 0.15), rgba(137, 87, 229, 0.25));
    color: #a5a5f5;
    border-color: rgba(137, 87, 229, 0.4);
}

.project-badge:hover {
    transform: translateY(-1px) scale(1.05);
}

.project-description {
    flex-grow: 1;
}

.project-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c9d1d9;
    margin: 0;
    font-weight: 500;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(30, 36, 44, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

.project-card.vanaraksha-theme .feature-item::before {
    background: linear-gradient(90deg, transparent, rgba(35, 134, 54, 0.1), transparent);
}

.project-card.career-theme .feature-item::before {
    background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.1), transparent);
}

.feature-item:hover {
    background: rgba(30, 36, 44, 0.8);
    transform: translateX(4px);
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.project-card.vanaraksha-theme .feature-item i {
    color: #56d364;
}

.project-card.career-theme .feature-item i {
    color: #58a6ff;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item span {
    font-size: 0.9rem;
    color: #e6edf3;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-item:hover span {
    color: #ffffff;
}

.project-tech-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(48, 54, 61, 0.4);
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-category h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #8b949e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: default;
}

.project-card.vanaraksha-theme .tech-tag {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.15), rgba(35, 134, 54, 0.25));
    color: #56d364;
    border-color: rgba(35, 134, 54, 0.3);
}

.project-card.career-theme .tech-tag {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.15), rgba(31, 111, 235, 0.25));
    color: #58a6ff;
    border-color: rgba(31, 111, 235, 0.3);
}

.tech-tag:hover {
    transform: translateY(-1px);
}

.project-card.vanaraksha-theme .tech-tag:hover {
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.25), rgba(35, 134, 54, 0.35));
    border-color: #238636;
}

.project-card.career-theme .tech-tag:hover {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.25), rgba(31, 111, 235, 0.35));
    border-color: #1f6feb;
}

/* Responsive adjustments for projects section */
@media (max-width: 768px) {
    .projects-expanded {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .projects-title {
        font-size: 2.5rem;
    }
    
    .projects-subtitle {
        font-size: 1.1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-card {
        border-radius: 16px;
        padding: 24px;
        gap: 20px;
    }
    
    .project-image-container {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    /* Make project links more touch-friendly on mobile */
    .project-link {
        padding: 14px 20px;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
    
    .project-link i {
        font-size: 1.1rem;
    }
    
    /* Auto-show project links on mobile for better UX */
    .project-links-overlay {
        opacity: 0.9;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    }
    
    .project-links-overlay:hover {
        opacity: 1;
    }
    
    .project-card-header,
    .project-description,
    .project-features,
    .project-tech-stack {
        padding: 0 20px;
    }
    
    .project-name {
        font-size: 1.3rem;
    }
    
    .project-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
    
    .project-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .project-name {
        font-size: 1.8rem;
    }
    
    .project-badges {
        gap: 6px;
    }
    
    .project-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .project-features {
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px 14px;
    }
    
    .project-tech-stack {
        gap: 12px;
    }
    
    .tech-tags {
        gap: 6px;
    }
    
    .tech-tag {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

/* Modern Skills Expanded Section */
.skills-expanded {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    min-height: 100%;
}

.skills-header {
    text-align: center;
    margin-bottom: 8px;
}

.skills-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.skills-subtitle {
    font-size: 1.2rem;
    color: #8b949e;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.skills-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.skills-category-card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.85));
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.skills-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f79610, #ff8c42);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skills-category-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(13, 17, 23, 1), rgba(22, 27, 34, 0.95));
    border-color: rgba(247, 150, 16, 0.4);
    box-shadow: 0 20px 40px rgba(247, 150, 16, 0.15);
}

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

.skills-category-card:nth-child(2)::before {
    background: linear-gradient(90deg, #1f6feb, #58a6ff);
}

.skills-category-card:nth-child(3)::before {
    background: linear-gradient(90deg, #238636, #56d364);
}

.skills-category-card:nth-child(4)::before {
    background: linear-gradient(90deg, #8957e5, #a5a5f5);
}

.skills-category-card:nth-child(5)::before {
    background: linear-gradient(90deg, #da3633, #ff6b6b);
}

.skills-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}

.skills-category-icon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.skills-category-card:hover .skills-category-icon {
    transform: scale(1.1);
}

.skills-category-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(30, 36, 44, 0.7);
    border: 1px solid rgba(48, 54, 61, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 150, 16, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-item:hover {
    background: rgba(30, 36, 44, 0.9);
    border-color: rgba(247, 150, 16, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(247, 150, 16, 0.2);
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item i {
    font-size: 1.3rem;
    color: #58a6ff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.skill-item:hover i {
    color: #f79610;
    transform: scale(1.1);
}

.skill-item span {
    font-size: 0.95rem;
    color: #e6edf3;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.skill-item:hover span {
    color: #ffffff;
}

/* Specific styling for different skill categories */
.skills-category-card:nth-child(2) .skill-item:hover {
    border-color: rgba(31, 111, 235, 0.4);
    box-shadow: 0 12px 24px rgba(31, 111, 235, 0.2);
}

.skills-category-card:nth-child(2) .skill-item:hover i {
    color: #1f6feb;
}

.skills-category-card:nth-child(3) .skill-item:hover {
    border-color: rgba(35, 134, 54, 0.4);
    box-shadow: 0 12px 24px rgba(35, 134, 54, 0.2);
}

.skills-category-card:nth-child(3) .skill-item:hover i {
    color: #238636;
}

.skills-category-card:nth-child(4) .skill-item:hover {
    border-color: rgba(137, 87, 229, 0.4);
    box-shadow: 0 12px 24px rgba(137, 87, 229, 0.2);
}

.skills-category-card:nth-child(4) .skill-item:hover i {
    color: #8957e5;
}

.skills-category-card:nth-child(5) .skill-item:hover {
    border-color: rgba(218, 54, 51, 0.4);
    box-shadow: 0 12px 24px rgba(218, 54, 51, 0.2);
}

.skills-category-card:nth-child(5) .skill-item:hover i {
    color: #da3633;
}

/* Responsive adjustments for skills section */
@media (max-width: 768px) {
    .skills-expanded {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .skills-title {
        font-size: 2.5rem;
    }
    
    .skills-subtitle {
        font-size: 1.1rem;
    }
    
    .skills-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-category-card {
        padding: 24px;
    }
    
    .skills-category-header {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .skills-category-icon {
        font-size: 1.6rem;
    }
    
    .skills-category-header h3 {
        font-size: 1.2rem;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .skill-item {
        padding: 14px;
    }
    
    .skill-item i {
        font-size: 1.2rem;
    }
    
    .skill-item span {
        font-size: 0.9rem;
    }
}

/* Modern Education Expanded Section */
.education-expanded {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    min-height: 100%;
}

.education-header {
    text-align: center;
    margin-bottom: 8px;
}

.education-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.education-subtitle {
    font-size: 1.2rem;
    color: #8b949e;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

.education-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 24px;
    flex: 1;
    height: 100%;
}

.education-card {
    background: rgba(33, 38, 45, 0.6);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #404040;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Specific positioning for each card */
.education-card:nth-child(1) {
    /* Academic Timeline - Top Left */
    grid-column: 1;
    grid-row: 1;
}

.education-card:nth-child(2) {
    /* Core Subjects & Skills - Top Right */
    grid-column: 2;
    grid-row: 1;
}

.education-card:nth-child(3) {
    /* Academic Performance - Bottom Full Width */
    grid-column: 1 / -1;
    grid-row: 2;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #1f6feb, #388bfd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover {
    background: rgba(33, 38, 45, 0.8);
    border-color: #1f6feb;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 111, 235, 0.15);
}

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

.education-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.education-card-icon {
    font-size: 2.2rem;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.education-card:hover .education-card-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.education-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Academic Background Card Styles */
.degree-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.specialization {
    font-size: 1.1rem;
    color: #58a6ff;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.institution-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.institution {
    font-size: 1rem;
    color: #c9d1d9;
    font-weight: 600;
    margin: 0;
}

.location {
    font-size: 0.95rem;
    color: #8b949e;
    margin: 0;
}

.duration {
    font-size: 0.9rem;
    color: #1f6feb;
    font-weight: 600;
    margin: 0;
    padding: 4px 12px;
    background: rgba(31, 111, 235, 0.1);
    border-radius: 12px;
    width: fit-content;
    border: 1px solid rgba(31, 111, 235, 0.2);
}

/* Core Subjects Card Styles */
.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.subject-tag {
    background: rgba(35, 134, 54, 0.1);
    color: #56d364;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(35, 134, 54, 0.2);
    transition: all 0.3s ease;
}

.subject-tag:hover {
    background: rgba(35, 134, 54, 0.2);
    border-color: #238636;
    transform: translateY(-2px);
}

/* Projects & Achievements Card Styles */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-item {
    padding: 16px 0;
    border-bottom: 1px solid #30363d;
}

.achievement-item:last-child {
    border-bottom: none;
}

.achievement-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.achievement-item p {
    font-size: 0.95rem;
    color: #c9d1d9;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Academic Timeline Styles */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, #1f6feb, #238636, #f79610);
    border-radius: 1px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.timeline-item.current .timeline-marker {
    background: #1f6feb;
    box-shadow: 0 0 12px rgba(31, 111, 235, 0.4);
    animation: pulse-blue 2s infinite;
}

.timeline-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #404040;
    border: 3px solid #262c36;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content {
    flex: 1;
    padding-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.degree-specialization {
    font-size: 1rem;
    color: #58a6ff;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.institution-name {
    font-size: 1rem;
    color: #c9d1d9;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.location-text {
    font-size: 0.9rem;
    color: #8b949e;
    margin: 0 0 8px 0;
}

.duration-text {
    font-size: 0.9rem;
    color: #7d8590;
    margin: 0 0 12px 0;
    font-style: italic;
}

.gpa-badge, .percentage-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid;
}

.gpa-badge {
    background: rgba(31, 111, 235, 0.1);
    color: #58a6ff;
    border-color: rgba(31, 111, 235, 0.2);
}

.percentage-badge {
    background: rgba(35, 134, 54, 0.1);
    color: #56d364;
    border-color: rgba(35, 134, 54, 0.2);
}

/* Academic Performance Styles */
.performance-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.performance-item {
    background: rgba(31, 111, 235, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(31, 111, 235, 0.1);
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.performance-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0;
}

.performance-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #58a6ff;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(31, 111, 235, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1f6feb, #388bfd);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.performance-note {
    font-size: 0.9rem;
    color: #8b949e;
    margin: 0;
    font-style: italic;
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-item {
    background: rgba(33, 38, 45, 0.4);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #404040;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(33, 38, 45, 0.6);
    border-color: #1f6feb;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    color: #f0f6fc;
    font-weight: 600;
}

@keyframes pulse-blue {
    0%, 100% { 
        box-shadow: 0 0 12px rgba(31, 111, 235, 0.4);
    }
    50% { 
        box-shadow: 0 0 20px rgba(31, 111, 235, 0.6);
    }
}

/* Professional Landing Section Styles */
.landing-expanded {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 32px;
    min-height: 100%;
}

/* Left Column Styles */
.left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 32px 24px;
    background: rgba(33, 38, 45, 0.6);
    border-radius: 20px;
    border: 1px solid #404040;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.left-column .profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}

.left-column .profile-image-container img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #404040;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: block;
    margin-right: 20px;
}

.left-column .profile-image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.left-column .profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.left-column .cv-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #238636, #1f7a2e);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #238636;
    width: 100%;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(35, 134, 54, 0.2);
    margin-left: 30px;
}

.left-column .cv-download-btn:hover {
    background: linear-gradient(135deg, #1f7a2e, #1a6b28);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(35, 134, 54, 0.3);
}

.left-column .cv-download-btn i {
    font-size: 0.9rem;
}

/* Right Column Styles */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    max-height: 100vh;
}

.right-column .title-section {
    padding-bottom: 8px;
}

.right-column .title-section .profile-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #f0f6fc !important;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    
}

.right-column .title-section .role-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e6edf3;
    margin: 0 0 20px 0;
    max-width: 85%;
    font-weight: 400;
    opacity: 0.95;
}

/* Enhanced Expertise Section */
.expertise-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.expertise-section .section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    position: relative;
}

.expertise-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1f6feb, #388bfd);
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    flex: 1;
}

/* Profile Header Section */
.profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #30363d;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image-container img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #21262d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.name-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1f6feb, #1158c7);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    align-self: flex-start;
    border: 1px solid #1f6feb;
}

.cv-download-btn:hover {
    background: linear-gradient(135deg, #1158c7, #0d419d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

.cv-download-btn i {
    font-size: 0.8rem;
}

/* About Section */
.about-section {
    background: rgba(33, 38, 45, 0.3);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #30363d;
    flex-shrink: 0;
}

.role-description {
    color: #c9d1d9;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Expertise Section */
.expertise-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    flex: 1;
}

.expertise-card {
    background: rgba(33, 38, 45, 0.6);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #404040;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.4s; }

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #1f6feb, #388bfd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover {
    background: rgba(33, 38, 45, 0.8);
    border-color: #1f6feb;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 111, 235, 0.15);
}

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

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.expertise-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    letter-spacing: -0.02em;
}

.expertise-card p {
    font-size: 0.95rem;
    color: #c9d1d9;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Status Footer */
.status-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(35, 134, 54, 0.08);
    border: 1px solid rgba(35, 134, 54, 0.2);
    border-radius: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    
}

.status-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 134, 54, 0.4), transparent);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #238636;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(35, 134, 54, 0.4);
}

.availability-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #238636;
    letter-spacing: -0.01em;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #7d8590;
}

.location-info i {
    color: #58a6ff;
    font-size: 0.85rem;
}

.availability-text {
    color: #f0f6fc;
    font-weight: 500;
    font-size: 1rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e;
    font-size: 0.9rem;
}

.location-info i {
    font-size: 0.8rem;
    color: #58a6ff;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(35, 134, 54, 0.4);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
        box-shadow: 0 0 12px rgba(35, 134, 54, 0.6);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .landing-expanded {
        padding: 24px;
        gap: 32px;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .profile-image-container {
        align-self: center;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cv-download-btn {
        align-self: center;
    }
}

/* Responsive adjustments for landing */
@media (max-width: 768px) {
    .landing-expanded {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }
    
    .left-column {
        order: 1;
        padding: 16px;
    }
    
    .right-column {
        order: 2;
        overflow-y: visible;
    }
    
    .left-column .profile-image-container img {
        width: 120px;
        height: 120px;
    }
    
    .left-column .profile-name {
        font-size: 1.6rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Responsive adjustments for education */
@media (max-width: 768px) {
    .education-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }
    
    .education-card:nth-child(1),
    .education-card:nth-child(2),
    .education-card:nth-child(3) {
        grid-column: 1;
    }
    
    .education-card:nth-child(1) {
        grid-row: 1;
    }
    
    .education-card:nth-child(2) {
        grid-row: 2;
    }
    
    .education-card:nth-child(3) {
        grid-row: 3;
    }
    
    .education-card {
        padding: 20px;
    }
    
    .timeline-container::before {
        left: 6px;
    }
    
    .timeline-marker {
        width: 14px;
        height: 14px;
    }
}

/* Responsive adjustments for work experience */
@media (max-width: 768px) {
    .experience-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }
    
    .experience-card:nth-child(1),
    .experience-card:nth-child(2),
    .experience-card:nth-child(3) {
        grid-column: 1;
    }
    
    .experience-card:nth-child(1) {
        grid-row: 1;
    }
    
    .experience-card:nth-child(2) {
        grid-row: 2;
    }
    
    .experience-card:nth-child(3) {
        grid-row: 3;
    }
    
    .experience-card {
        padding: 20px;
    }
    
    .work-timeline-container::before {
        left: 6px;
    }
    
    .work-timeline-marker {
        width: 14px;
        height: 14px;
    }
    
    .competency-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Contact button stays constant */
.contact-button {
    z-index: 25;
}

/* Navigation Hint Styles */
.navigation-hint {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(33, 38, 45, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 20px 24px;
    z-index: 1000;
    animation: hintFadeIn 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navigation-hint.fade-out {
    animation: hintFadeOut 0.3s ease-in forwards;
}

.hint-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e6edf3;
    font-size: 16px;
    font-weight: 500;
}

.hint-content i {
    color: #238636;
    font-size: 20px;
    animation: pointPulse 2s infinite;
}

.hint-close {
    background: none;
    border: none;
    color: #7d8590;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.hint-close:hover {
    color: #e6edf3;
    background-color: rgba(125, 133, 144, 0.1);
}

/* Back Button Styles */
.back-button {
    position: fixed;
    right: 20px;
    background: linear-gradient(135deg, #238636, #2ea043);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(35, 134, 54, 0.3);
    transform: translateX(200px);
    opacity: 0;
    pointer-events: none;
}

.back-button.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.back-button.hidden {
    transform: translateX(200px);
    opacity: 0;
    pointer-events: none;
}

.back-button:hover {
    background: linear-gradient(135deg, #2ea043, #238636);
    transform: translateX(-4px);
    box-shadow: 0 6px 16px rgba(35, 134, 54, 0.4);
}

.back-button.visible:hover {
    transform: translateX(-4px);
}

.back-button:active {
    transform: translateX(0);
}

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

/* Animations */
@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes hintFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes pointPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
    .navigation-hint {
        padding: 16px 20px;
        margin: 0 20px;
        max-width: calc(100vw - 40px);
    }
    
    .hint-content {
        font-size: 14px;
        gap: 10px;
    }
    
    .back-button {
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .back-button span {
        display: none;
    }
    
    .back-button {
        width: 44px;
        height: 44px;
        justify-content: center;
        padding: 0;
    }
    
    .back-button:hover {
        transform: translateX(-2px);
    }
}

/* =====================================================
   END OF ORGANIZED CSS FILE
   ===================================================== */
