/* CSS Custom Properties for Dark Mode */
:root {
    /* Light mode colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    
    /* Expanded Color Palette */
    --accent-primary: #2563eb;
    --accent-primary-rgb: 37, 99, 235;
    --accent-secondary: #1d4ed8;
    --accent-teal: #059669;
    --accent-teal-light: #10b981;
    --accent-purple: #7c3aed;
    --accent-purple-light: #8b5cf6;
    --accent-amber: #d97706;
    --accent-amber-light: #f59e0b;
    --accent-rose: #e11d48;
    --accent-rose-light: #f43f5e;
    --accent-emerald: #047857;
    --accent-emerald-light: #059669;
    
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
}

/* Dark mode colors - both automatic and manual */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0e27;
        --bg-secondary: #1a1f3a;
        --bg-tertiary: #2a2f4a;
        --text-primary: #e2e8f0;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --border-color: rgba(255, 255, 255, 0.1);
        --card-bg: #1a1f3a;
        --nav-bg: rgba(10, 14, 39, 0.95);
        
        /* Expanded Dark Mode Color Palette */
        --accent-primary: #60a5fa;
        --accent-primary-rgb: 96, 165, 250;
        --accent-secondary: #3b82f6;
        --accent-teal: #14b8a6;
        --accent-teal-light: #2dd4bf;
        --accent-purple: #8b5cf6;
        --accent-purple-light: #a78bfa;
        --accent-amber: #fbbf24;
        --accent-amber-light: #fcd34d;
        --accent-rose: #fb7185;
        --accent-rose-light: #fda4af;
        --accent-emerald: #10b981;
        --accent-emerald-light: #34d399;
        
        --shadow-light: rgba(0, 0, 0, 0.4);
        --shadow-medium: rgba(0, 0, 0, 0.5);
        --shadow-heavy: rgba(0, 0, 0, 0.6);
    }
}

/* Manual dark mode class for testing */
.dark-theme {
    --bg-primary: #0a0e27 !important;
    --bg-secondary: #1a1f3a !important;
    --bg-tertiary: #2a2f4a !important;
    --text-primary: #e2e8f0 !important;
    --text-secondary: #cbd5e1 !important;
    --text-muted: #94a3b8 !important;
    --border-color: rgba(255, 255, 255, 0.1) !important;
    --card-bg: #1a1f3a !important;
    --nav-bg: rgba(10, 14, 39, 0.95) !important;
    
    /* Expanded Manual Dark Mode Color Palette */
    --accent-primary: #60a5fa !important;
    --accent-primary-rgb: 96, 165, 250 !important;
    --accent-secondary: #3b82f6 !important;
    --accent-teal: #14b8a6 !important;
    --accent-teal-light: #2dd4bf !important;
    --accent-purple: #8b5cf6 !important;
    --accent-purple-light: #a78bfa !important;
    --accent-amber: #fbbf24 !important;
    --accent-amber-light: #fcd34d !important;
    --accent-rose: #fb7185 !important;
    --accent-rose-light: #fda4af !important;
    --accent-emerald: #10b981 !important;
    --accent-emerald-light: #34d399 !important;
    
    --shadow-light: rgba(0, 0, 0, 0.4) !important;
    --shadow-medium: rgba(0, 0, 0, 0.5) !important;
    --shadow-heavy: rgba(0, 0, 0, 0.6) !important;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
}

main {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    height: 80px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 20px;
}

.nav-container .social-links {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    z-index: 1001;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active .nav-arrow {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Social Links in Navigation */

.nav-container .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 1002;
    pointer-events: auto; /* Ensure links are clickable */
}

.nav-container .social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 90px 0 10px;
    background: linear-gradient(
        135deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 100%
    );
    transition: background-color 0.3s ease;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 2000px;
    margin-top: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    overflow: visible;
}

.highlight {
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.hero-subtitle-highlighted {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.page-header-actions .btn {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.page-header-actions .btn:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: white;
    transform: translateY(-2px);
}


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

.hero-image .profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 24px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid var(--accent-primary);
}

.hero-image .profile-photo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 0.8rem 3rem;
}

.hero-highlights li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-align: left;
}

.hero-highlights li i {
    position: absolute;
    left: 0;
    top: 0.6rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Individual icon colors - Balanced vibrant */
.hero-highlights li .fa-laptop-code {
    color: #0066cc; /* Clean blue for development */
}

.hero-highlights li .fa-database {
    color: #ff7043; /* Warm orange for database */
}

.hero-highlights li .fa-users {
    color: #4caf50; /* Fresh green for teamwork/scrum */
}

.hero-highlights li .fa-gamepad {
    color: #9c27b0; /* Vibrant purple for gaming */
}

.hero-highlights li .fa-graduation-cap {
    color: #3f51b5; /* Professional indigo for education */
}

.hero-highlights li .fa-medal {
    color: #ff9800; /* Gold orange for sports/achievements */
}

.hero-highlights li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 4rem;
}

.image-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* Quick Navigation Section */
.quick-nav {
    padding: 30px 0 30px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.quick-nav-card {
    background: var(--card-bg);
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
    border-color: var(--accent-primary);
}

.quick-nav-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Individual navigation card colors */
.quick-nav-card:nth-child(1) .quick-nav-icon {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.quick-nav-card:nth-child(2) .quick-nav-icon {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
}

.quick-nav-card:nth-child(3) .quick-nav-icon {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
}

.quick-nav-card:nth-child(4) .quick-nav-icon {
    background: linear-gradient(135deg, #ca8a04, #eab308);
}

.quick-nav-card:hover .quick-nav-icon {
    transform: scale(1.05);
}

.quick-nav-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.quick-nav-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

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


/* Page Header */
.page-header {
    padding: 100px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    transition: background 0.3s ease;
}


.page-header h1 {
    font-size: 2.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-header-content {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}

.page-header-actions {
    flex: 0 0 auto;
}

.page-header-text {
    flex: 0 0 auto;
    text-align: center;
}


@media (max-width: 768px) {
    .page-header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .page-header-actions {
        flex: none;
        order: 2;
    }
    
    .page-header-text {
        order: 1;
    }
    
    .page-header-actions:first-child {
        order: 3;
    }
}

/* View Toggle Styles */
.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 46px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.toggle-btn i {
    font-size: 0.9rem;
}

/* View Content Styles */
.view-content {
    animation: fadeIn 0.4s ease-in-out;
}

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

@media (max-width: 768px) {
    .view-toggle {
        order: 0;
        margin-bottom: 1rem;
    }
    
    .toggle-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-image .profile-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image .profile-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Fallback styling for when image is loading or missing */
.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    padding: 45px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.skills .container {
    max-width: 1400px;
}

.skills h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(360px, 1fr));
    gap: 5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

/* 1x4 grid layout for technology categories with skill level sub-grouping */

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.skill-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.skill-category:hover::before {
    opacity: 1;
}

/* Unified category styling */
.skill-category {
    border-left-color: var(--accent-primary);
}

.skill-category::before {
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.skill-category h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h4::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--accent-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.skill-tag {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
    position: relative;
}

.skill-tag:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
}

.skill-tag.expert {
    background: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
    font-weight: 600;
}

.skill-tag.expert:hover {
    background: var(--accent-secondary);
    color: white;
    transform: translateY(-1px);
}

.skill-tag.proficient {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
    font-weight: 500;
}

.skill-tag.proficient:hover {
    background: #059669;
    color: white;
    transform: translateY(-1px);
}

.skill-tag.intermediate {
    background: #f59e0b;
    color: white;
    border: 1px solid #f59e0b;
    font-weight: 500;
}

.skill-tag.intermediate:hover {
    background: #d97706;
    color: white;
    transform: translateY(-1px);
}

.skill-tag.beginner {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-weight: 400;
}

.skill-tag small {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 0.25rem;
}

.expertise-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Skill level grouping */
.skill-level-group {
    margin-bottom: 1rem;
}

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

.skill-level-header {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expert-header {
    color: var(--accent-primary);
}

.proficient-header {
    color: #10b981;
}

.intermediate-header {
    color: #f59e0b;
}

/* Resume Summary Section */
.resume-summary {
    background: var(--bg-secondary);
}

.resume-summary h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

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

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Education Section Styles */
.education-section {
    margin: 3rem 0;
}

.education-section h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.education-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 3rem;
    color: var(--text-primary);
    box-shadow: 0 8px 25px var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-heavy);
}

.education-logo {
    flex-shrink: 0;
}

.university-logo {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.education-content {
    flex: 1;
}

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

.education-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.education-period {
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.education-institution {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--accent-primary);
}

/* Role progression styling */
.role-progression {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

/* Experience achievements styling */
.experience-achievements ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.experience-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.experience-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.experience-achievements li strong {
    color: var(--text-primary);
}

/* Responsive design for education card */
@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .education-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .education-highlights {
        justify-content: center;
    }
    
    .university-logo {
        width: 60px;
        height: 60px;
    }
}

.resume-highlights {
    margin: 3rem 0;
}

.resume-highlights h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.resume-highlights p {
    background: var(--card-bg);
    border: 2px solid var(--accent-primary);
    border-left: 5px solid var(--accent-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow-medium);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.15rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.resume-highlights p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.resume-highlights p:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--shadow-heavy);
}

.resume-highlights p strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.resume-highlights h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.resume-highlights h4 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.core-competencies ul {
    list-style: none;
    padding: 0;
}

.core-competencies li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.core-competencies li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Experience Section */
.experience {
    padding: 2rem 0;
}

.experience h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 180px;
    text-align: center;
    font-weight: 600;
    color: var(--accent-primary);
    align-self: flex-start;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-light);
    margin: 0 0.5rem;
    position: relative;
    transition: background-color 0.3s ease;
    max-width: none;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hobbies Page Styles */
.hobbies-content {
    padding: 60px 0;
}

.hobby-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.hobby-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.3rem;
}

.hobby-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.hobby-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 2rem;
    transition: background-color 0.3s ease;
}



.inline-music-tags,
.inline-gaming-tags,
.inline-sports-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.inline-music-tags .music-tag {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.inline-music-tags .music-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    scale: 1.05;
}

.inline-music-tags .music-tag:hover::before {
    left: 100%;
}

/* Gaming tags - Purple gradient */
.inline-gaming-tags .gaming-tag {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.inline-gaming-tags .gaming-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    scale: 1.05;
}

.inline-gaming-tags .gaming-tag:hover::before {
    left: 100%;
}

/* Sports tags - Purple gradient */
.inline-sports-tags .sports-tag {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.inline-sports-tags .sports-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    scale: 1.05;
}

.inline-sports-tags .sports-tag:hover::before {
    left: 100%;
}




/* Accordion Styles for Hobbies */
.hobbies-accordion {
    padding: 60px 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.accordion-header {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-bottom: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.accordion-header:hover {
    background: var(--bg-secondary);
}

.accordion-header.active {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.accordion-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
}

.hobby-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    flex-wrap: wrap;
}

.accordion-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    padding-right: 3rem; /* Account for absolutely positioned arrow */
}

.accordion-title .hobby-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.accordion-title h3 {
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.accordion-title .hobby-preview {
    width: 100%;
    margin-top: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.9;
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.accordion-title .hobby-preview p {
    margin: 0;
    font-size: 0.95rem;
}

/* Hide preview when accordion is active */
.accordion-header.active .hobby-preview {
    display: none;
}

.accordion-title .inline-gaming-tags,
.accordion-title .inline-sports-tags,
.accordion-title .inline-music-tags {
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.accordion-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 10;
}

.accordion-header.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
}

.accordion-content.active {
    max-height: 4000px;
    padding: 0 2rem 2rem 2rem;
}

.accordion-content .hobby-card {
    background: transparent;
    border: none;
    padding: 1.5rem 0 0 0;
    box-shadow: none;
    margin: 0;
}

.accordion-content .hobby-card:hover {
    transform: none;
    box-shadow: none;
}

/* Animation for accordion opening */
@keyframes accordionExpand {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content.active .hobby-card {
    animation: accordionExpand 0.3s ease forwards;
}

/* Responsive accordion adjustments */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.5rem;
    }
    
    .accordion-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .hobby-title-section {
        width: 100%;
    }
    
    .accordion-title h3 {
        font-size: 1.2rem;
    }
    
    .accordion-title .inline-gaming-tags,
    .accordion-title .inline-sports-tags,
    .accordion-title .inline-music-tags {
        width: 100%;
        justify-content: flex-start;
    }
    
    .accordion-title .hobby-preview {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .accordion-content.active {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .accordion-arrow {
        top: 1rem;
        right: 1.5rem;
    }
}

/* Projects Page Styles */
.projects-content {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3rem 10rem;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    font-size: 2rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(48, 75, 150, 0.767);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-info {
    padding: 1.2rem;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-primary);
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}


/* Back to Top Section */
.back-to-top-section {
    background: var(--bg-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    text-align: center;
}

.back-to-top-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.back-to-top-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.back-to-top-btn i {
    font-size: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-logo {
        position: static;
    }
    
    .nav-container .social-links {
        position: static;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container .social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        order: 10; /* Place at bottom of mobile menu */
    }

    .hero {
        padding: 90px 20px 40px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-image .profile-photo {
        width: 220px;
        height: 220px;
    }

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

    .hero-highlights {
        max-width: 100%;
        text-align: left;
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-highlights li {
        font-size: 1rem;
        padding: 0.4rem 0 0.4rem 2.2rem;
    }

    .hero-highlights li i {
        font-size: 1rem;
        top: 0.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        margin-left: 40px;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-date {
        text-align: left;
        margin-bottom: 1rem;
    }

    .timeline-content {
        margin: 0;
    }

    .back-to-top-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }


    .page-header h1 {
        font-size: 2.5rem;
    }

    .quick-nav {
        padding: 15px 0 35px;
    }

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

    .quick-nav-card {
        padding: 1.75rem 1.25rem;
    }

    .quick-nav-icon {
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }

    .quick-nav-card h3 {
        font-size: 1.15rem;
    }

    .quick-nav-card p {
        font-size: 0.85rem;
    }
}

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

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

    .hero-subtitle-highlighted {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
    }

    .quick-nav {
        padding: 15px 0 30px;
    }

    .quick-nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-nav-card {
        padding: 1.5rem 1rem;
    }

    .quick-nav-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .quick-nav-card h3 {
        font-size: 1.1rem;
    }

    .quick-nav-card p {
        font-size: 0.85rem;
    }
}

/* Dropdown Navigation Styles */
.nav-item {
    position: relative;
    display: inline-block;
}

.nav-menu .nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    margin-left: 5px;
    display: inline-block;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
    transform: translateX(5px);
}

.dropdown-link:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-link:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Mobile Navigation Updates for Dropdown */
@media (max-width: 768px) {
    .nav-item {
        display: block;
        width: 100%;
    }
    
    .nav-link {
        justify-content: space-between;
        width: 100%;
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        margin-top: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item:hover .dropdown-menu,
    .nav-item.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-link {
        padding: 10px 20px;
        margin-left: 20px;
        border-left: 2px solid var(--border-color);
    }
    
    .dropdown-link:hover {
        transform: none;
        margin-left: 25px;
    }
    
    .nav-menu.active .nav-item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active .nav-item:last-child {
        border-bottom: none;
    }
}

/* Gaming Links Styling */
.gaming-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.gaming-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gaming-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.gaming-link i {
    font-size: 1rem;
    color: #ffd700;
}

.gaming-link:hover i {
    color: var(--bg-primary);
}

/* Hobby Media Styles */
.hobby-images {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hobby-image {
    height: 300px;
    width: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.hobby-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.media-caption {
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px var(--shadow-light);
}

/* Media Toggle Styles */
.media-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.media-toggle-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.media-toggle-btn .fa-images {
    color: #8b5cf6;
}

.media-toggle-btn:hover .fa-images {
    color: var(--bg-primary);
}

.media-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

/* Video Section Styles */
.hobby-videos {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.video-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.video-toggle-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.video-toggle-btn .fa-play {
    color: #10b981;
}

.video-toggle-btn:hover .fa-play {
    color: var(--bg-primary);
}

.toggle-arrow {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.video-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

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

.hobby-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px var(--shadow-light);
}

/* Video Actions and View More Button */
.video-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.view-more-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-more-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.view-more-btn .fa-plus {
    color: var(--accent-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.view-more-btn:hover .fa-plus {
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.view-more-btn .video-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
}

.view-more-btn:hover .video-count {
    color: var(--bg-primary);
}

/* Hide videos initially and add smooth transitions */
.hidden-video {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Responsive adjustments for media */
@media (max-width: 768px) {
    .hobby-images {
        flex-direction: column;
        align-items: center;
    }
    
    .hobby-image {
        width: 100%;
        max-width: 250px;
    }
    
    .media-toggle-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-toggle-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .view-more-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .video-actions {
        margin-top: 1rem;
    }
}
