


:root {
    
    --color-primary: #FF6B35;
    --color-primary-light: #FF8C5A;
    --color-primary-dark: #E85A2A;
    --color-primary-glow: rgba(255, 107, 53, 0.5);
    
    
    --color-secondary: #FFA500;
    --color-accent: #00D9FF;
    --color-accent-glow: rgba(0, 217, 255, 0.5);
    
    
    --color-bg-primary: #0A0A0F;
    --color-bg-secondary: #121218;
    --color-bg-tertiary: #1A1A24;
    --color-bg-card: #1E1E2E;
    --color-bg-elevated: #252535;
    
    
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B4B4C8;
    --color-text-tertiary: #8585A3;
    --color-text-muted: #6B6B85;
    
    
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
    --gradient-text: linear-gradient(135deg, #FF6B35, #FFA500, #FFD700);
    --gradient-bg: linear-gradient(180deg, #0A0A0F 0%, #121218 50%, #0A0A0F 100%);
    
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    --shadow-accent: 0 0 40px var(--color-accent-glow);
    
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    
    
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}


.hero-section,
.about-section,
.showcase-section,
.contact-section,
footer,
.navbar {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}


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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}


::selection {
    background: var(--color-primary-glow);
    color: var(--color-text-primary);
}



.hero-section,
.about-section,
.bento-card,
.project-card-modern,
.certificate-card,
.timeline-item-modern,
section {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}


.project-card-modern,
.certificate-card,
.stat-card,
.timeline-card {
    will-change: transform;
}


.project-card-modern:not(:hover),
.certificate-card:not(:hover) {
    will-change: auto;
}


.bento-card,
.project-card-modern,
.certificate-card {
    contain: layout paint;
}


@media (prefers-reduced-motion: no-preference) {
    * {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    z-index: 9999;
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 20px var(--color-primary-glow),
                0 0 40px var(--color-primary-glow);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}


.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
    background: linear-gradient(135deg, var(--color-accent), #00BFFF);
    box-shadow: 0 0 30px var(--color-accent-glow),
                0 0 50px var(--color-accent-glow),
                0 0 70px rgba(0, 217, 255, 0.3);
}

.cursor-outline.cursor-hover {
    width: 70px;
    height: 70px;
    border-color: var(--color-accent);
    opacity: 1;
    border-width: 3px;
}


@keyframes cursor-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

.cursor-outline {
    animation: cursor-pulse 2s ease-in-out infinite;
}


.cursor-particle {
    pointer-events: none;
    position: fixed;
    z-index: 9998;
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

.cursor-particle svg {
    display: block;
}


@keyframes particle-fade {
    0% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}


@keyframes star-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(0);
    }
}

@media (max-width: 768px), (hover: none) {
    .cursor-dot,
    .cursor-outline,
    .cursor-particle {
        display: none !important;
    }
}



.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: var(--z-fixed);
    transition: width 0.1s ease-out;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    background: transparent;
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.logo-bracket {
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.nav-logo a:hover .logo-bracket {
    color: var(--color-accent);
}

.logo-name {
    margin: 0 0.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-primary);
}

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

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

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

.nav-theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.nav-theme-toggle:hover {
    background: var(--color-primary);
    color: var(--color-bg-primary);
    transform: rotate(180deg);
}


#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}


.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    will-change: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    backdrop-filter: var(--glass-blur);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #5FD068;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
    overflow: hidden;
}

.hero-greeting {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    animation: slideUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    animation-delay: 0.1s;
}

.word {
    display: inline-block;
    animation: slideUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 550px;
}

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

.hero-stats-modern {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.stat-modern {
    text-align: left;
}

.stat-modern .stat-number {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-modern .stat-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta-modern {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}


.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: -1;
    transition: all var(--transition-normal);
}

.btn-modern:hover::before {
    transform: scale(1.05);
}

.btn-primary {
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--color-primary-glow);
}

.btn-outline {
    color: var(--color-text-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
}

.btn-outline::before {
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
}

.btn-outline:hover::before {
    transform: scaleX(1);
}

.btn-icon {
    transition: transform var(--transition-normal);
}

.btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-link-modern {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
    text-decoration: none;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.social-link-modern:hover {
    background: var(--color-primary);
    color: var(--color-text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}


.hero-visual {
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    white-space: nowrap;
}

.floating-card i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
}

.card-1 {
    top: 5%;
    right: -5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-image-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.image-glow {
    position: absolute;
    inset: -40px;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.5;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.image-border {
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--color-bg-primary);
    z-index: 1;
}

.scroll-indicator-modern {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

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


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

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

.section-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

.title-word {
    display: inline-block;
    margin-right: 1rem;
}


section {
    padding: 6rem 0;
    position: relative;
    scroll-margin-top: 80px;
    will-change: auto;
}

section:not(.hero-section) {
    margin-top: 0;
}


@media (max-width: 1024px) {
    .hero-section {
        padding: 4.5rem 1.5rem 3rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 700px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 4.5vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .hero-stats-modern {
        gap: 1.5rem;
        justify-content: flex-start;
    }
    
    .stat-modern .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 0.65rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(18, 18, 24, 0.98);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 4rem 1.25rem 2.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats-modern {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-modern .stat-number {
        font-size: 1.35rem;
    }
    
    .stat-modern .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-cta-modern {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .hero-social {
        gap: 0.75rem;
    }
    
    .social-link-modern {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-image-container {
        width: 240px;
        height: 240px;
    }
    
    .scroll-indicator-modern {
        bottom: 1.5rem;
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {
    .hero-section {
        padding: 3.5rem 1rem 2rem;
    }
    
    .hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .hero-stats-modern {
        gap: 1rem;
    }
    
    .stat-modern .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-modern .stat-label {
        font-size: 0.65rem;
    }
    
    .btn-modern {
        padding: 0.65rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .social-link-modern {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .hero-image-container {
        width: 200px;
        height: 200px;
    }
}



.about-section {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 6rem;
    scroll-margin-top: 80px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

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

.bento-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    overflow: hidden;
    transition: all var(--transition-normal);
    will-change: transform;
    transform: translateZ(0);
    opacity: 1 !important;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.bento-card:hover::before {
    opacity: 0.05;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 107, 53, 0.3);
}

.card-bg-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.bento-card:hover .card-bg-effect {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-large {
    grid-column: span 7;
}

.card-profile {
    grid-column: span 5;
}

.card-medium {
    grid-column: span 5;
}

.card-wide {
    grid-column: span 8;
}

.card-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.card-square {
    grid-column: span 4;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

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


.education-item,
.focus-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.education-item:last-child,
.focus-item:last-child {
    border-bottom: none;
}

.education-item h4,
.focus-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.education-item p,
.focus-info p {
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
}

.date {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-family: var(--font-mono);
}

.focus-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.focus-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0;
    border-bottom: none;
}

.focus-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.achievements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
}

.achievements-list i {
    color: var(--color-primary);
    font-size: 1.125rem;
}


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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.stat-item .stat-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-item .stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1;
}

.stat-item .stat-info p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin: 0.25rem 0 0 0;
}

.pulse-icon {
    animation: pulse 2s ease-in-out infinite;
}

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


.world-map-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.world-map-card .card-content {
    padding: 2rem;
    padding-bottom: 0;
}




.card-icon-large {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px var(--color-primary-glow));
}


.card-story .story-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.highlight-badge i {
    font-size: 1rem;
}


.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.education-timeline .education-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.education-timeline .education-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.edu-year {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-primary);
    flex-shrink: 0;
    line-height: 1;
}

.edu-content {
    flex-grow: 1;
}

.edu-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.edu-content p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0.5rem;
}

.edu-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.edu-status.completed {
    background: rgba(95, 208, 104, 0.2);
    color: #5FD068;
    border: 1px solid rgba(95, 208, 104, 0.3);
}

.edu-status.upcoming {
    background: rgba(255, 107, 53, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.education-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius-md);
}

.education-note i {
    color: var(--color-accent);
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.education-note p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}


.card-subtitle {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.focus-items-modern {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.focus-item-modern {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.focus-icon-wrapper {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.focus-item-modern .focus-info {
    flex-grow: 1;
}

.focus-item-modern h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.focus-item-modern p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0.75rem;
}

.focus-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: var(--progress, 0%);
    transition: width 1s ease-out;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}


.current-focus-integrated {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.focus-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.focus-title i {
    color: var(--color-accent);
}

.focus-subtitle {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.focus-items-inline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.focus-item-inline {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
    transition: all 0.3s ease;
}

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

.focus-item-inline i {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.focus-item-inline span {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.focus-item-inline strong {
    color: var(--color-text-primary);
}




.card-profile-enhanced {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(0, 217, 255, 0.08) 100%);
    gap: 1.5rem;
}


.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.profile-image-border {
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: profileRotate 4s linear infinite;
}

@keyframes profileRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-image-about {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-bg-card);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
    transition: transform var(--transition-normal);
    z-index: 1;
}

.card-profile-enhanced:hover .profile-image-about {
    transform: scale(1.08);
}

.profile-status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #22D863, #10C54A);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 2;
    white-space: nowrap;
}

.profile-status-badge i {
    font-size: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.profile-header-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.profile-tagline {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.profile-tagline i {
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
}

.profile-location i {
    color: var(--color-primary);
    font-size: 0.75rem;
}


.profile-education {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.profile-section-title i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.profile-section-title h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.profile-edu-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-edu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.profile-edu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.profile-edu-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(4px);
}

.profile-edu-item:hover::before {
    opacity: 1;
}

.profile-edu-item.current {
    border-color: rgba(16, 185, 129, 0.5);
}

.profile-edu-item.next {
    border-color: rgba(255, 107, 53, 0.3);
}

.profile-edu-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.profile-edu-details h5 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.3rem 0;
}

.profile-edu-school {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
}

.profile-edu-year {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
}

.profile-edu-year i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

.profile-edu-status {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.profile-edu-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #22c55e;
}

.profile-edu-status.upcoming {
    background: rgba(255, 107, 53, 0.15);
    color: var(--color-primary);
}


.profile-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.quick-stat:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.quick-stat i {
    font-size: 1.3rem;
    color: var(--color-primary);
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    text-align: center;
    line-height: 1.2;
}


.profile-current-focus {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.focus-subtitle-profile {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.focus-items-profile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.focus-item-profile {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.focus-item-profile:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.focus-item-profile i {
    font-size: 1rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.focus-item-profile span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.focus-item-profile strong {
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.1rem;
}




.project-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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


.project-image-container .project-icon-modern {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 2rem;
}



.project-video-container {
    margin-bottom: 2rem;
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-tertiary);
    box-shadow: var(--shadow-lg);
}

.project-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: 0.75rem;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    font-style: italic;
}



.project-global-reach {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reach-title {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reach-title i {
    color: var(--color-primary);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.project-global-reach {
    width: 100%;
    max-width: 100%;
}

.project-global-reach .world-map-container {
    position: relative;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.world-map-image {
    width: 100%;
    height: auto;
    display: block;
}


.map-pulse-dot {
    position: absolute;
    width: clamp(8px, 1vw, 12px);
    height: clamp(8px, 1vw, 12px);
    background: var(--color-primary);
    border-radius: 50%;
    animation: mapPulse 3s ease-in-out infinite;
    z-index: 5;
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
}

@keyframes mapPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 clamp(8px, 1vw, 10px) rgba(255, 107, 53, 0);
    }
}


.map-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.6;
}

.map-caption i {
    color: var(--color-primary);
    font-size: 1.1em;
}

.map-caption strong {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}



.loading-certificates {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.loading-certificates i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-right: 0.75rem;
}

.no-certificates-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.message-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.no-certificates-message h3 {
    font-size: 1.75rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.no-certificates-message p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.no-certificates-message code {
    background: rgba(255, 107, 53, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    font-family: var(--font-mono);
}

.supported-formats {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    line-height: 1.8;
}

.certificate-overlay .overlay-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
}

.world-map-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
    filter: grayscale(0.3) contrast(1.1);
    transition: all var(--transition-normal);
}

.bento-card:hover .world-map-image {
    filter: grayscale(0) contrast(1.2);
    transform: scale(1.05);
}

.map-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(to top, var(--color-bg-card), transparent);
}

.map-stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.map-stat-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}


.impact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.impact-circle {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.circle-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transform-origin: center;
    transform: rotate(-90deg);
    animation: circle-anim 2s ease-out forwards;
}

@keyframes circle-anim {
    to {
        stroke-dashoffset: calc(502 - (502 * var(--progress)) / 100);
    }
}

.circle-number {
    font-size: 2rem;
    font-weight: 700;
    fill: var(--color-primary);
    font-family: var(--font-primary);
}

.circle-label {
    font-size: 0.75rem;
    fill: var(--color-text-tertiary);
    text-transform: uppercase;
}


.projects-section {
    background: var(--color-bg-primary);
    overflow-x: hidden !important;
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    overflow: hidden !important;
}


.project-featured {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 4rem;
    overflow: hidden !important;
}


.project-featured,
.project-featured *,
.project-featured-content,
.project-featured-content *,
.project-featured-right,
.project-featured-right * {
    -ms-overflow-style: none !important;  
    scrollbar-width: none !important;  
    overflow-x: hidden !important;
}

.project-featured::-webkit-scrollbar,
.project-featured *::-webkit-scrollbar,
.project-featured-content::-webkit-scrollbar,
.project-featured-content *::-webkit-scrollbar,
.project-featured-right::-webkit-scrollbar,
.project-featured-right *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.project-featured-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.project-featured-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.project-featured-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-featured-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-highlights {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
}

.project-highlights i {
    color: var(--color-primary);
    font-size: 1rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
}

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


.project-stats-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.5);
}

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

.stat-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}



.project-featured-modern {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(30, 30, 46, 0.95) 0%, 
        rgba(18, 18, 24, 0.98) 100%);
    border: 2px solid rgba(255, 107, 53, 0.15);
    border-radius: 32px;
    padding: 3rem;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.project-featured-modern:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 
        0 25px 70px rgba(255, 107, 53, 0.15),
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.featured-glow-effect {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at 30% 40%, 
        rgba(255, 107, 53, 0.15) 0%, 
        transparent 60%);
    filter: blur(60px);
    opacity: 0.8;
    pointer-events: none;
}

.featured-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}


.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.15), 
        rgba(255, 165, 0, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.featured-badge i {
    font-size: 1.1rem;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(10deg); }
}

.rank-badge {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}


.featured-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}


.featured-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.featured-logo-hero {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        rgba(255, 107, 53, 0.08) 0%, 
        rgba(18, 18, 24, 0.5) 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
}

.logo-hero-wrapper {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.project-featured-modern:hover .logo-hero-wrapper {
    transform: scale(1.05);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 
        0 20px 50px rgba(255, 107, 53, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.logo-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(255, 107, 53, 0.3));
}

.logo-hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.logo-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.logo-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 8s ease-in-out infinite;
}

.logo-particles span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.logo-particles span:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.logo-particles span:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 2s; }
.logo-particles span:nth-child(4) { top: 60%; right: 10%; animation-delay: 3s; }
.logo-particles span:nth-child(5) { bottom: 20%; right: 25%; animation-delay: 4s; }
.logo-particles span:nth-child(6) { top: 40%; left: 15%; animation-delay: 5s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 0.9; }
}


.featured-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-title-hero {
    position: relative;
    margin: 0;
    padding-bottom: 1rem;
}

.title-gradient {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.featured-tagline {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-style: italic;
}

.featured-description-modern {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.featured-description-modern strong {
    color: var(--color-primary);
    font-weight: 600;
}


.featured-highlights-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
}

.highlight-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.15), 
        rgba(255, 165, 0, 0.1));
    border-radius: 12px;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.highlight-text {
    display: inline;
    color: var(--color-primary);
    font-weight: 600;
}

.highlight-text strong {
    color: var(--color-text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.highlight-text span {
    color: var(--color-text-tertiary);
    font-size: 0.85rem;
}


.featured-tech-section {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.tech-section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-tertiary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.tech-badge-featured {
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge-featured:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
}


.featured-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-primary-featured {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.btn-secondary-featured {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 107, 53, 0.3);
    color: var(--color-primary);
}

.btn-secondary-featured:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
}

.btn-icon-left {
    font-size: 1.1rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.featured-btn:hover .btn-shine {
    left: 150%;
}


.featured-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-icon svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.social-link-icon:hover {
    background: var(--gradient-primary);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.social-link-icon:hover svg {
    color: white;
    transform: scale(1.1);
}


.featured-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.featured-video-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.featured-video-modern:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.video-container-modern {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--color-bg-tertiary);
}

.video-iframe-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.video-badge i {
    color: var(--color-primary);
}


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

.stat-card-featured {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card-featured:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-3px);
}

.stat-highlight-featured {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 165, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-icon-featured {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 10px;
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stat-content-featured {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number-featured {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label-featured {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.featured-global-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.global-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.global-header i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.global-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.global-map-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

.map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pulse-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary-glow);
    animation: pulseMap 2s ease-in-out infinite;
}

.pulse-dot:nth-child(2) {
    animation-delay: 0.7s;
}

.pulse-dot:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes pulseMap {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.global-stat {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.global-stat strong {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
}


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



.project-card-modern {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(30, 30, 46, 0.9) 0%, 
        rgba(18, 18, 24, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


.project-card-glow {
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, 
        var(--color-primary), 
        var(--color-accent), 
        var(--color-secondary));
    border-radius: 28px;
    opacity: 0;
    filter: blur(25px);
    z-index: -1;
    transition: opacity 0.6s ease;
}

.project-card-modern:hover .project-card-glow {
    opacity: 0.4;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.5; }
}


.project-card-border-animation {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.6) 50%, 
        transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.project-card-modern:hover .project-card-border-animation {
    opacity: 0.7;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.project-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 
        0 15px 45px rgba(255, 107, 53, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.project-logo-display {
    position: relative;
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        rgba(255, 107, 53, 0.08) 0%, 
        rgba(18, 18, 24, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.logo-background-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.logo-background-pattern.pattern-game {
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 217, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 20px 20px;
}

.logo-wrapper {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern:hover .logo-wrapper {
    transform: scale(1.05);
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 
        0 12px 35px rgba(255, 107, 53, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.project-logo-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.project-card-modern:hover .project-logo-modern {
    filter: drop-shadow(0 8px 20px rgba(255, 107, 53, 0.5));
}

.logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-glow-effect {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    filter: blur(35px);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.logo-glow-effect.glow-accent {
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
}

.project-card-modern:hover .logo-glow-effect {
    opacity: 0.8;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 0.9; }
}



.project-badge-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem 0;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-badge i {
    color: var(--color-primary);
}

.badge-webapp {
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.1);
}

.badge-gamejam {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.1);
}

.badge-gamejam i {
    color: var(--color-accent);
}

.project-year-badge {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
    font-weight: 500;
}


.award-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 8px 0 0 8px;
    box-shadow: 
        0 4px 12px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    z-index: 10;
    animation: ribbonShine 3s ease-in-out infinite;
}

.award-ribbon::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 38px 10px;
    border-color: transparent transparent #CC8400 transparent;
}

@keyframes ribbonShine {
    0%, 100% { box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
}



.project-content-modern {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.project-title-modern {
    position: relative;
    margin: 0;
    padding-bottom: 0.75rem;
}

.title-text {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: all 0.3s ease;
}

.project-card-modern:hover .title-text {
    letter-spacing: 0.5px;
}

.title-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern:hover .title-decoration {
    width: 100%;
}

.project-description-modern {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}



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

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.project-card-modern:hover .feature-tag {
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.35);
}



.project-tech-modern {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.tech-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-tertiary);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.tech-stack-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card-modern:hover .tech-item {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.4);
}



.project-stats-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
}

.stat-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.stat-modern i {
    color: var(--color-primary);
    font-size: 1rem;
}

.stat-modern.stat-highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}



.project-cta-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-top: auto;
}

.project-cta-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-cta-modern:hover .cta-arrow {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.3);
}

.cta-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-tertiary);
    cursor: not-allowed;
    box-shadow: none;
}

.cta-disabled:hover {
    transform: none;
    box-shadow: none;
}

.cta-disabled .cta-arrow {
    background: rgba(255, 255, 255, 0.08);
}

.cta-disabled:hover .cta-arrow {
    transform: none;
}


.project-social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-small svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.social-link-small:hover {
    background: var(--gradient-primary);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
}

.social-link-small:hover svg {
    color: white;
    transform: scale(1.05);
}



.project-card-studyhub:hover .project-card-glow {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.4), 
        rgba(255, 165, 0, 0.3));
}

.project-card-playscape:hover .project-card-glow {
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.4), 
        rgba(138, 43, 226, 0.3));
}

.project-card-playscape:hover {
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 
        0 15px 45px rgba(0, 217, 255, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.4);
}


.project-card-playscape .logo-wrapper {
    width: 180px;
    height: 180px;
    padding: 2rem;
}

.project-card-playscape .project-logo-modern {
    transform: scale(1.3);
}


.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.project-category,
.project-year {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
}

.project-card-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.project-card-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-card-tech span {
    padding: 0.375rem 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
}

.project-card-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card-stats div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.project-card-stats i {
    color: var(--color-primary);
}

.project-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.project-card-link:hover {
    gap: 1rem;
}

.project-card-link i {
    transition: transform var(--transition-fast);
}

.project-card-link:hover i {
    transform: translateX(4px);
}

.project-card-award {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}



.project-card-upcoming {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    background: linear-gradient(145deg, 
        rgba(30, 30, 46, 0.4) 0%, 
        rgba(18, 18, 24, 0.6) 100%);
    border: 2px dashed rgba(255, 107, 53, 0.3);
    position: relative;
}

.glow-upcoming {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.3), 
        rgba(0, 217, 255, 0.3));
    animation: glowPulseUpcoming 3s ease-in-out infinite;
}

@keyframes glowPulseUpcoming {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.upcoming-content-modern {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.upcoming-logo-display {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.upcoming-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
}

.upcoming-icon-wrapper i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}


.icon-orbit {
    position: absolute;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    animation: orbitRotate 15s linear infinite;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    border-style: dashed;
}

.orbit-2 {
    width: 170px;
    height: 170px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    animation-duration: 25s;
    border-color: rgba(0, 217, 255, 0.2);
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.upcoming-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

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

.upcoming-tech-preview {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-preview-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
}

.tech-preview-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.tech-preview-item span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.upcoming-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% { 
        opacity: 0.6;
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}


.project-card-content-center {
    text-align: center;
}

.upcoming-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.upcoming-tech {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}


.skills-section {
    background: var(--color-bg-secondary);
}

.skills-container-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}


.skills-grid-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card-project {
    background: var(--color-bg-card);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card-project::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.skill-card-project:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.skill-card-project:hover::before {
    opacity: 0.05;
}

.skill-learning {
    border-color: rgba(255, 193, 7, 0.3);
}

.skill-learning:hover {
    border-color: rgba(255, 193, 7, 0.6);
}

.tech-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    gap: 0.5rem;
}

.tech-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.skill-card-project:hover .tech-svg {
    transform: scale(1.1);
}

.tech-info {
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.project-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.count-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.count-label {
    font-size: 1rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.learning-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}


.achievements-section {
    background: var(--color-bg-primary);
    overflow-x: hidden;
}

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

.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.timeline-item-modern {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.timeline-item-modern:nth-child(even) .timeline-content-modern {
    grid-column: 1;
    grid-row: 1;
}

.timeline-item-modern:nth-child(odd) .timeline-content-modern {
    grid-column: 3;
    grid-row: 1;
}

.timeline-dot-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
    z-index: 2;
    position: relative;
    grid-column: 2;
    grid-row: 1;
}

.timeline-dot-modern::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.timeline-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.timeline-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-xl);
}

.timeline-item-modern:nth-child(even) .timeline-card:hover {
    transform: translateX(-10px);
}

.card-glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.timeline-card:hover .card-glow-effect {
    opacity: 1;
}

.timeline-icon-large {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.timeline-card h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.timeline-org {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.timeline-tags span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.timeline-tags i {
    color: var(--color-primary);
}


.impact-statement-modern {
    margin-top: 6rem;
    text-align: center;
}

.impact-statement-modern h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.impact-card-modern {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.impact-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-xl);
}

.impact-icon-modern {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.impact-card-modern h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.impact-card-modern p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}


.contact-section {
    background: var(--color-bg-secondary);
}

.contact-container-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-subheading {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.contact-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.contact-method:hover::before {
    transform: scaleY(1);
}

.contact-method:hover {
    transform: translateX(8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-info {
    flex-grow: 1;
}

.method-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.method-info p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.method-arrow {
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.contact-method:hover .method-arrow {
    transform: translateX(4px);
}


.contact-cta-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 3rem;
    overflow: hidden;
    position: sticky;
    top: 6rem;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    filter: blur(100px);
    opacity: 0.2;
    transform: translate(-50%, -50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.cta-content h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-large {
    width: 100%;
    justify-content: center;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links-modern a {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-links-modern a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px);
}


.footer-modern {
    background: var(--color-bg-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.back-to-top-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.back-to-top-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}


[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
}


@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .card-large,
    .card-wide {
        grid-column: span 6;
    }
    
    .card-profile,
    .card-profile-enhanced,
    .card-medium,
    .card-tall,
    .card-square {
        grid-column: span 6;
    }
    
    
    .profile-header {
        gap: 1.25rem;
    }
    
    .profile-image-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .profile-quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .project-featured-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-track::before {
        left: 30px;
    }
    
    .timeline-item-modern {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
    
    .timeline-content-modern {
        grid-column: 2 !important;
    }
    
    .timeline-item-modern:nth-child(even) .timeline-content-modern {
        grid-column: 2 !important;
        grid-row: 1;
    }
}


@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .card-large,
    .card-profile,
    .card-profile-enhanced,
    .card-medium,
    .card-wide,
    .card-tall,
    .card-square {
        grid-column: span 1;
    }
    
    
    .card-profile-enhanced {
        padding: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .profile-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .profile-status-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .profile-name {
        font-size: 1.3rem;
    }
    
    .profile-tagline {
        font-size: 0.9rem;
        justify-content: center;
        gap: 0.6rem;
    }
    
    .profile-edu-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .profile-edu-details h5 {
        font-size: 0.95rem;
    }
    
    .profile-edu-school {
        font-size: 0.8rem;
    }
    
    .profile-quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .quick-stat {
        flex-direction: column;
        justify-content: center;
        padding: 0.75rem 0.5rem;
    }
    
    .stat-content {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .focus-item-profile {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .focus-item-profile i {
        font-size: 0.95rem;
    }
    
    .focus-item-profile span {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .skills-nav {
        flex-direction: column;
    }
    
    .skill-nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .skills-grid-hexagon {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid-projects {
        grid-template-columns: 1fr;
    }
    
    .focus-items-inline {
        gap: 0.75rem;
    }
    
    .project-featured {
        padding: 2rem;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .footer-content-modern {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}


@media print {
    .navbar,
    .scroll-progress-bar,
    .cursor-dot,
    .cursor-outline,
    #webgl-canvas,
    .back-to-top-modern {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}


.world-map-container {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.world-map-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    filter: grayscale(30%) brightness(0.8);
    transition: all var(--transition-normal);
}

.bento-card:hover .world-map-image {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.country-count {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.count-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.count-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.map-caption {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    margin-top: 1rem;
}


.certificates-section {
    background: var(--color-bg-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.certificates-note {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certificates-note i {
    color: var(--color-primary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.certificate-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: zoom-in;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 107, 53, 0.3);
}

.certificate-image-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    padding: 0.5rem;
}

.certificate-card:hover .certificate-img {
    transform: scale(1.05);
}

.certificate-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.certificate-overlay i {
    font-size: 3rem;
    color: var(--color-primary);
    filter: drop-shadow(0 0 20px var(--color-primary-glow));
    animation: zoom-pulse 1.5s ease-in-out infinite;
}

@keyframes zoom-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}


.certificate-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.certificate-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 600px;
    max-height: 450px;
    width: 60vw;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4),
                0 0 100px rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--color-primary);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10003;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.8),
                0 0 50px rgba(255, 107, 53, 0.6);
}

.lightbox-close:hover {
    background: var(--color-accent);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.8),
                0 0 60px rgba(0, 217, 255, 0.6);
}


.certificate-info {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-top: 2px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.certificate-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.certificate-card:hover .certificate-info::before {
    opacity: 1;
}

.certificate-info h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

.certificate-card:hover .certificate-info h4 {
    transform: translateX(8px);
}

.certificate-info p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.certificate-info p::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-primary-glow);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 2;
}

.lightbox-nav:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


section {
    position: relative;
    z-index: 1;
}


* {
    will-change: auto;
}

.bento-card,
.project-card,
.certificate-card {
    will-change: transform;
}


img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}


section {
    scroll-margin-top: 80px;
}


#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    max-width: 100%;
    overflow: hidden;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}


.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hero-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
}


.world-map-image {
    max-width: 100%;
    height: auto;
    width: 100%;
}


.floating-card {
    pointer-events: none;
}


.navbar {
    z-index: 1000;
}

.nav-menu.active {
    z-index: 999;
}


* {
    scroll-behavior: smooth;
}


.hero-section,
.about-section,
.projects-section,
.skills-section,
.achievements-section,
.certificates-section,
.contact-section {
    overflow-x: hidden;
}


.bento-grid {
    overflow: visible;
}


.projects-showcase {
    overflow: visible;
}



.cursor-dot,
.cursor-outline,
.bento-card,
.project-card-modern,
.certificate-card,
.timeline-card,
.floating-card {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


@media (max-width: 768px) {
    .certificates-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .world-map-container {
        padding: 1rem 0;
    }
    
    .country-count {
        padding: 1rem 1.5rem;
    }
    
    .count-number {
        font-size: 2rem;
    }
    
    
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    
    [data-tilt] {
        transform: none !important;
    }
}


.certificate-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.certificate-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.8),
                0 0 50px rgba(255, 107, 53, 0.6);
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--color-accent);
}


.showcase-section {
    padding: 6rem 0;
    position: relative;
}

.showcase-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.showcase-tab {
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
}

.showcase-tab .tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.showcase-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.showcase-tab:hover .tab-icon {
    background: var(--gradient-primary);
    color: white;
}

.showcase-tab.active {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.showcase-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.showcase-content {
    margin-top: 3rem;
    position: relative;
    min-height: 600px;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

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

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


@media (max-width: 768px) {
    .showcase-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .showcase-tab {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }
}




html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}


@media (max-width: 768px) {
    
    body {
        font-size: 16px; 
    }
    
    
    section {
        padding: 3rem 0;
    }
    
    .container-fluid {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title-modern {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    
    .hero-section {
        min-height: auto;
        height: auto;
        padding: 5rem 1rem 3rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats-modern {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-cta-modern {
        width: 100%;
    }
    
    .btn-modern {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    
    .nav-menu {
        z-index: 9999;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    
    .bento-grid {
        gap: 1.25rem;
    }
    
    .bento-card {
        padding: 1.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    
    .card-icon-large {
        font-size: 2.5rem;
    }
    
    .story-highlights {
        flex-direction: column;
    }
    
    .highlight-badge {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .education-timeline .education-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .edu-year {
        font-size: 1.25rem;
    }
    
    .focus-items-modern {
        gap: 1.5rem;
    }
    
    .focus-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    
    .project-image-container {
        height: 180px;
    }
    
    
    .video-wrapper {
        padding-bottom: 75%; 
    }
    
    
    .map-caption {
        font-size: 0.875rem;
        margin-top: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .map-pulse-dot {
        width: 8px;
        height: 8px;
    }
    
    .world-map-container {
        margin-top: 0.75rem;
    }
    
    
    .project-featured {
        padding: 1.75rem;
    }
    
    .project-featured-title {
        font-size: 2rem;
    }
    
    .project-featured-description {
        font-size: 0.95rem;
    }
    
    .project-stats-visual {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    
    .project-featured-modern {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .featured-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .rank-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .featured-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-logo-hero {
        height: 220px;
    }
    
    .logo-hero-wrapper {
        width: 150px;
        height: 150px;
        padding: 1.5rem;
    }
    
    .logo-particles span {
        width: 6px;
        height: 6px;
    }
    
    .title-gradient {
        font-size: 2.25rem;
    }
    
    .featured-tagline {
        font-size: 1rem;
    }
    
    .featured-description-modern {
        font-size: 0.95rem;
    }
    
    .highlight-item {
        padding: 0.85rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .highlight-text strong {
        font-size: 0.9rem;
    }
    
    .highlight-text span {
        font-size: 0.8rem;
    }
    
    .featured-tech-section {
        padding: 1rem;
    }
    
    .tech-badge-featured {
        font-size: 0.75rem;
        padding: 0.45rem 0.85rem;
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .featured-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
    
    .featured-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card-featured {
        padding: 1.25rem 1rem;
    }
    
    .stat-icon-featured {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .stat-number-featured {
        font-size: 1.5rem;
    }
    
    .stat-label-featured {
        font-size: 0.75rem;
    }
    
    .featured-global-section {
        padding: 1.25rem;
    }
    
    .global-header {
        font-size: 1rem;
    }
    
    .pulse-dot {
        width: 8px;
        height: 8px;
    }
    
    .global-stat {
        font-size: 0.9rem;
    }
    
    .global-stat strong {
        font-size: 1.15rem;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card-modern {
        border-radius: 20px;
    }
    
    .project-logo-display {
        height: 200px;
    }
    
    .logo-wrapper {
        width: 110px;
        height: 110px;
        padding: 1rem;
    }
    
    .project-badge-container {
        padding: 1rem 1.25rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .project-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-year-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }
    
    .award-ribbon {
        top: 15px;
        right: -5px;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    
    .award-ribbon::after {
        border-width: 0 0 34px 8px;
    }
    
    .project-content-modern {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .project-title-modern .title-text {
        font-size: 1.5rem;
    }
    
    .project-description-modern {
        font-size: 0.9rem;
    }
    
    .project-features-tags {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }
    
    .project-tech-modern {
        padding: 0.85rem;
    }
    
    .tech-item {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
    
    .project-stats-modern {
        padding: 0.85rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .stat-modern {
        font-size: 0.8rem;
    }
    
    .project-cta-modern {
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cta-arrow {
        width: 28px;
        height: 28px;
    }
    
    
    .project-card-upcoming {
        min-height: 400px;
    }
    
    .upcoming-logo-display {
        margin-bottom: 1.5rem;
    }
    
    .upcoming-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .upcoming-icon-wrapper i {
        font-size: 3rem;
    }
    
    .orbit-1 {
        width: 120px;
        height: 120px;
    }
    
    .orbit-2 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-3 {
        width: 180px;
        height: 180px;
    }
    
    .upcoming-title {
        font-size: 1.5rem;
    }
    
    .upcoming-description {
        font-size: 0.9rem;
    }
    
    .upcoming-tech-preview {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .tech-preview-item {
        flex-direction: row;
        justify-content: center;
        padding: 0.65rem;
    }
    
    .tech-preview-item i {
        font-size: 1.25rem;
    }
    
    .tech-preview-item span {
        font-size: 0.75rem;
    }
    
    
    .project-card-modern:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .project-card-border-animation {
        display: none;
    }
    
    .logo-glow-effect {
        display: none;
    }
    
    
    .skills-grid-hexagon {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-hexagon {
        width: 100%;
        max-width: 300px;
        height: 220px;
        margin: 0 auto;
    }
    
    
    .timeline-item-modern {
        grid-template-columns: 50px 1fr;
        gap: 1.25rem;
    }
    
    .timeline-dot-modern {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-card {
        padding: 1.75rem;
    }
    
    .timeline-card h3 {
        font-size: 1.35rem;
    }
    
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .certificate-card {
        aspect-ratio: 16 / 10;
    }
    
    
    .contact-container-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-heading {
        font-size: 1.85rem;
    }
    
    .contact-subheading {
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 1.25rem;
    }
    
    .contact-cta-card {
        position: relative;
        top: auto;
    }
    
    
    .footer-content-modern {
        text-align: center;
    }
    
    .footer-right-modern {
        width: 100%;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 480px) {
    
    .container-fluid {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-title-modern {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
    
    .hero-section {
        padding: 4rem 0.75rem 2.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-stats-modern {
        gap: 1rem;
    }
    
    .stat-modern .stat-number {
        font-size: 1.5rem;
    }
    
    .btn-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .bento-card {
        padding: 1.5rem;
    }
    
    .project-featured {
        padding: 1.5rem;
    }
    
    .project-featured-title {
        font-size: 1.65rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .method-arrow {
        display: none;
    }
}


@media (max-width: 896px) and (max-height: 414px) {
    .hero-section {
        min-height: auto;
        height: auto;
        padding: 3rem 1rem 2rem;
    }
    
    .hero-image-container {
        width: 180px;
        height: 180px;
    }
    
    section {
        padding: 2.5rem 0;
    }
}


@media (max-width: 480px) {
    .map-caption {
        font-size: 0.8rem;
    }
    
    .map-pulse-dot {
        width: 6px;
        height: 6px;
    }
    
    .reach-title {
        font-size: 1.1rem;
    }
    
    .project-global-reach {
        margin-top: 1rem;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        gap: 2.5rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .card-large {
        grid-column: span 4;
    }
    
    .card-medium,
    .card-square {
        grid-column: span 2;
    }
    
    .projects-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 1024px) and (max-width: 1280px) {
    .container-fluid {
        max-width: 1200px;
    }
    
    .hero-grid {
        gap: 2.5rem;
    }
}


.btn-modern,
.nav-link,
.showcase-tab,
.skill-nav-btn,
button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


@supports (-webkit-touch-callout: none) {
    body {
        
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-section,
    section {
        min-height: -webkit-fill-available;
    }
}


@media screen and (max-width: 768px) {
    select,
    textarea,
    input[type="text"],
    input[type="email"] {
        font-size: 16px; 
    }
    
    
    .certificate-lightbox {
        padding: 5rem 1rem 1rem 1rem;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .certificate-info h4 {
        font-size: 1rem;
    }
    
    .certificate-info p {
        font-size: 0.8125rem;
    }
}


@media print {
    .navbar,
    .scroll-progress-bar,
    .cursor-dot,
    .cursor-outline,
    #webgl-canvas,
    .back-to-top-modern,
    .lightbox,
    .floating-card {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}


@media (hover: none) and (pointer: coarse) {
    
    .bento-card:hover,
    .project-card-modern:hover,
    .certificate-card:hover,
    .timeline-card:hover {
        transform: none;
    }
    
    
    button,
    a,
    .btn-modern {
        min-height: 44px;
        min-width: 44px;
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-image,
    .floating-card,
    .scroll-line {
        animation: none !important;
    }
}


@media (prefers-contrast: high) {
    :root {
        --color-bg-primary: #000000;
        --color-text-primary: #FFFFFF;
        --color-primary: #FFB84D;
    }
}


@media (prefers-color-scheme: dark) {
    
    :root {
        --color-bg-primary: #0A0A0F;
        --color-bg-secondary: #121218;
    }
}

