/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #0a0a0a;
    position: relative;
}

/* Section Transition Animation - Like Portfolio Tabs */
section {
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

section.section-transitioning {
    animation: sectionFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        filter: blur(5px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.99);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Animate children elements within transitioning section */
section.section-transitioning .work-item,
section.section-transitioning .skill-item,
section.section-transitioning .project-card,
section.section-transitioning .award-card,
section.section-transitioning .training-card,
section.section-transitioning .video-card,
section.section-transitioning .contact-item,
section.section-transitioning .about-intro,
section.section-transitioning .education-card {
    animation: cardPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--card-index, 0) * 0.08s);
    opacity: 0;
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Add staggered animation indices */
section.section-transitioning .work-item:nth-child(1),
section.section-transitioning .skill-item:nth-child(1),
section.section-transitioning .project-card:nth-child(1),
section.section-transitioning .award-card:nth-child(1),
section.section-transitioning .training-card:nth-child(1),
section.section-transitioning .video-card:nth-child(1) {
    --card-index: 0;
}

section.section-transitioning .work-item:nth-child(2),
section.section-transitioning .skill-item:nth-child(2),
section.section-transitioning .project-card:nth-child(2),
section.section-transitioning .award-card:nth-child(2),
section.section-transitioning .training-card:nth-child(2),
section.section-transitioning .video-card:nth-child(2) {
    --card-index: 1;
}

section.section-transitioning .work-item:nth-child(3),
section.section-transitioning .skill-item:nth-child(3),
section.section-transitioning .project-card:nth-child(3),
section.section-transitioning .award-card:nth-child(3),
section.section-transitioning .training-card:nth-child(3),
section.section-transitioning .video-card:nth-child(3) {
    --card-index: 2;
}

section.section-transitioning .work-item:nth-child(4),
section.section-transitioning .skill-item:nth-child(4),
section.section-transitioning .project-card:nth-child(4),
section.section-transitioning .award-card:nth-child(4),
section.section-transitioning .training-card:nth-child(4),
section.section-transitioning .video-card:nth-child(4) {
    --card-index: 3;
}

section.section-transitioning .work-item:nth-child(5),
section.section-transitioning .skill-item:nth-child(5),
section.section-transitioning .award-card:nth-child(5) {
    --card-index: 4;
}

section.section-transitioning .work-item:nth-child(6),
section.section-transitioning .skill-item:nth-child(6) {
    --card-index: 5;
}

section.section-transitioning .skill-item:nth-child(n+7) {
    --card-index: calc((var(--n) - 7) + 6);
}

/* Section title animation during transition */
section.section-transitioning .section-title {
    animation: titleSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Subtitle animation */
section.section-transitioning .portfolio-subtitle,
section.section-transitioning .selengkapnya-subtitle {
    animation: subtitleFadeIn 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Space Background for All Sections (except landing page) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #0a0f1e 0%, #020305 100%);
    z-index: -2;
}

/* Animated Stars Background - Global */
.space-stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.stars-layer1,
.stars-layer2,
.stars-layer3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent;
}

/* Individual Stars */
.stars-layer1 {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 50px 50px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #eee, transparent);
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: starsMove 120s linear infinite;
    opacity: 0.5;
}

.stars-layer2 {
    background-image:
        radial-gradient(1px 1px at 40px 60px, #fff, transparent),
        radial-gradient(1px 1px at 110px 90px, #ddd, transparent),
        radial-gradient(1px 1px at 170px 30px, #fff, transparent),
        radial-gradient(2px 2px at 70px 110px, #eee, transparent);
    background-size: 220px 220px;
    background-repeat: repeat;
    animation: starsMove 180s linear infinite;
    opacity: 0.4;
}

.stars-layer3 {
    background-image:
        radial-gradient(1px 1px at 80px 10px, #fff, transparent),
        radial-gradient(1px 1px at 160px 120px, #ddd, transparent),
        radial-gradient(1px 1px at 30px 80px, #eee, transparent);
    background-size: 250px 250px;
    background-repeat: repeat;
    animation: starsMove 240s linear infinite;
    opacity: 0.3;
}

/* Shooting Stars / Comets - More visible and frequent */
.shooting-star {
    position: fixed;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    animation: shooting 3s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
}

.shooting-star:nth-child(4) {
    top: 10vh;
    left: -10%;
    width: 150px;
    animation-delay: 0s;
    animation-duration: 2.5s;
}

.shooting-star:nth-child(5) {
    top: 30vh;
    left: -10%;
    width: 120px;
    animation-delay: 2s;
    animation-duration: 2.2s;
}

.shooting-star:nth-child(6) {
    top: 50vh;
    left: -10%;
    width: 180px;
    animation-delay: 4s;
    animation-duration: 3s;
}

.shooting-star:nth-child(7) {
    top: 70vh;
    left: -10%;
    width: 130px;
    animation-delay: 1s;
    animation-duration: 2.6s;
}

.shooting-star:nth-child(8) {
    top: 85vh;
    left: -10%;
    width: 160px;
    animation-delay: 5s;
    animation-duration: 2.8s;
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(1200px) translateY(600px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2000px);
    }
}

/* Space Intro Screen */
.space-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s ease;
    overflow: hidden;
}

.space-intro.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Lightning Effects */
.space-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        transparent 100%);
    animation: lightning 4s infinite;
    pointer-events: none;
}

.space-intro::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 60%);
    animation: lightning2 6s infinite 2s;
    pointer-events: none;
}

@keyframes lightning {
    0%, 100% {
        opacity: 0;
    }
    10% {
        opacity: 0;
    }
    11% {
        opacity: 1;
    }
    12% {
        opacity: 0;
    }
    13% {
        opacity: 1;
    }
    14% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    16% {
        opacity: 0;
    }
}

@keyframes lightning2 {
    0%, 100% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    21% {
        opacity: 1;
    }
    22% {
        opacity: 0;
    }
    23% {
        opacity: 1;
    }
    24% {
        opacity: 0;
    }
}

/* Animated Stars */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stars {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQYV2P8////fwYGBgZGBgYAHBYDA2cXKFwAAAAASUVORK5CYII=') repeat;
    animation: starsMove 100s linear infinite;
    opacity: 0.3;
}

.stars2 {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQYV2P8////fwYGBgZGBgYAHBYDA2cXKFwAAAAASUVORK5CYII=') repeat;
    animation: starsMove 150s linear infinite;
    opacity: 0.2;
}

.stars3 {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQYV2P8////fwYGBgZGBgYAHBYDA2cXKFwAAAAASUVORK5CYII=') repeat;
    animation: starsMove 200s linear infinite;
    opacity: 0.15;
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2000px);
    }
}

/* Planet - Black and White */
.planet {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #999999 40%, #333333 70%, #000000 100%);
    box-shadow: 
        inset -50px -50px 100px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(255, 255, 255, 0.2),
        0 0 150px rgba(255, 255, 255, 0.1);
    animation: planetRotate 20s linear infinite, planetFloat 6s ease-in-out infinite, planetGlow 3s ease-in-out infinite;
    top: 10%;
    right: 10%;
    opacity: 0.7;
}

.planet::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    top: 50%;
    left: -10%;
    transform: translateY(-50%) rotate(-15deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes planetRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes planetFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes planetGlow {
    0%, 100% {
        box-shadow: 
            inset -50px -50px 100px rgba(0, 0, 0, 0.8),
            0 0 80px rgba(255, 255, 255, 0.2),
            0 0 150px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            inset -50px -50px 100px rgba(0, 0, 0, 0.8),
            0 0 120px rgba(255, 255, 255, 0.4),
            0 0 200px rgba(255, 255, 255, 0.2);
    }
}

/* Intro Content */
.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.intro-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: electricText 0.5s ease-out forwards, textFlicker 3s infinite 1s;
}

.intro-name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: electricText 0.5s ease-out 0.5s forwards, textFlicker 3s infinite 2s;
}

@keyframes electricText {
    0% {
        opacity: 0;
        transform: scale(0.8);
        text-shadow: 
            0 0 50px rgba(255, 255, 255, 1),
            0 0 100px rgba(255, 255, 255, 0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.8),
            0 0 90px rgba(255, 255, 255, 0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.4);
    }
}

@keyframes textFlicker {
    0%, 100% {
        opacity: 1;
    }
    41% {
        opacity: 1;
    }
    42% {
        opacity: 0.8;
    }
    43% {
        opacity: 1;
    }
    45% {
        opacity: 0.9;
    }
    46% {
        opacity: 1;
    }
}

/* Loading Bar */
.loading-bar {
    width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.loading-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        #ffffff 0%, 
        #cccccc 25%,
        #ffffff 50%,
        #cccccc 75%,
        #ffffff 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadingAnimation 3s ease-in-out forwards, shimmer 1.5s linear infinite;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4);
}

@keyframes loadingAnimation {
    to {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Fade In Animation */
.fade-in {
    animation: fadeInAnimation 1s ease-out forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Up Animation */
.slide-up {
    animation: slideUpAnimation 1s ease-out 0.5s forwards;
}

@keyframes slideUpAnimation {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Intro */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .intro-name {
        font-size: 1.3rem;
        letter-spacing: 0.15em;
    }
    
    .loading-bar {
        width: 300px;
    }
    
    .planet {
        width: 200px;
        height: 200px;
        top: 5%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }
    
    .intro-name {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .planet {
        width: 150px;
        height: 150px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Floating Navigation - Horizontal Top with Background - Always Visible */
.floating-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 1;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Light mode floating nav */
.landing-page.light-mode ~ .floating-nav {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.floating-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 1);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.nav-item:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.active {
    color: #ffffff;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.nav-item.active::after {
    width: 100%;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

/* Portfolio Dropdown (REMOVED) */
.nav-item-portfolio {
    position: relative;
    display: inline-block;
}

/* Landing Page / Hero Section - Half Screen */
.landing-page {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    background: #0a0a0a;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease, color 0.5s ease;
}

/* Light Mode */
.landing-page.light-mode {
    background: #f5f5f5;
    color: #1a1a1a;
}

.landing-page.light-mode .landing-greeting {
    color: rgba(0, 0, 0, 0.6);
}

.landing-page.light-mode .landing-name {
    color: #1a1a1a;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.landing-page.light-mode .landing-tagline {
    color: rgba(0, 0, 0, 0.7);
}

.landing-page.light-mode .landing-role {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page.light-mode .social-icon {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.7);
}

.landing-page.light-mode .social-icon:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.landing-page.light-mode .btn-primary {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
}

.landing-page.light-mode .btn-primary:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.landing-page.light-mode .btn-secondary {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
}

.landing-page.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.landing-page.light-mode .landing-description {
    color: rgba(0, 0, 0, 0.6);
}

.landing-page.light-mode .scroll-indicator span,
.landing-page.light-mode .scroll-arrow {
    color: rgba(0, 0, 0, 0.7);
}

.landing-page.light-mode .profile-image {
    background: none;
    box-shadow: none;
}

.landing-page.light-mode .profile-image::before {
    display: none;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.theme-switch-checkbox {
    display: none;
}

.theme-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 70px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    position: relative;
    transition: background 0.3s;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-switch-label:hover {
    background: rgba(255, 255, 255, 0.15);
}

.theme-switch-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
}

.theme-switch-inner::before {
    content: '🌙';
    font-size: 16px;
    position: absolute;
    left: 8px;
}

.theme-switch-inner::after {
    content: '☀️';
    font-size: 16px;
    position: absolute;
    right: 8px;
}

.theme-switch-switch {
    position: absolute;
    left: 4px;
    width: 27px;
    height: 27px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-switch-checkbox:checked + .theme-switch-label {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.theme-switch-checkbox:checked + .theme-switch-label .theme-switch-switch {
    transform: translateX(35px);
    background: #1a1a1a;
}

/* Adjust section background colors for better vertical nav visibility */
#work, #what-i-do, #about, #awards, #training {
    position: relative;
}

.landing-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    gap: 100px;
}

/* Left Side - Text Content */
.landing-text-side {
    flex: 1;
    max-width: 600px;
    z-index: 4;
}

.landing-greeting {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.landing-name {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.landing-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.landing-role {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Links */
.landing-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Action Buttons */
.landing-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.btn-primary {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.landing-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

/* Right Side - Image Container */
.landing-image-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Profile Image Container - Lanyard Style (ID Card) - Elastic/Spring Effect */
.profile-container {
    position: relative;
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
    user-select: none;
    opacity: 0;
    visibility: hidden;
}

/* Initial animation - Drop from top with SMOOTH multiple bounces */
.profile-container.drop-in {
    opacity: 1;
    visibility: visible;
    animation: dropFromTopSide 3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes dropFromTopSide {
    0% {
        transform: translateY(-400px);
    }
    35% {
        transform: translateY(15px);
    }
    50% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(6px);
    }
    68% {
        transform: translateY(-10px);
    }
    75% {
        transform: translateY(3px);
    }
    81% {
        transform: translateY(-5px);
    }
    86% {
        transform: translateY(1px);
    }
    91% {
        transform: translateY(-2px);
    }
    95% {
        transform: translateY(0.5px);
    }
    98% {
        transform: translateY(-0.5px);
    }
    100% {
        transform: translateY(0);
    }
}

.profile-container.dragging {
    cursor: grabbing;
}

.profile-container:active {
    cursor: grabbing;
}

/* Swing animation when idle - more noticeable */
@keyframes swing {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    15% {
        transform: translateY(0) rotate(3deg);
    }
    35% {
        transform: translateY(0) rotate(-2deg);
    }
    55% {
        transform: translateY(0) rotate(2deg);
    }
    75% {
        transform: translateY(0) rotate(-1deg);
    }
}

.profile-container.swinging {
    animation: swing 4s ease-in-out infinite;
}

/* Lanyard Neck Loop - Top part that goes around neck */
.lanyard-neck-loop {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 150px;
    border: 10px solid #1a1a1a;
    border-bottom: none;
    border-radius: 180px 180px 0 0;
    box-shadow: 
        inset -3px -3px 6px rgba(0, 0, 0, 0.7),
        inset 3px -3px 6px rgba(0, 0, 0, 0.7),
        2px 0 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(
        180deg,
        #1a1a1a 0%,
        #252525 50%,
        #1a1a1a 100%
    );
}

/* White center stripe on neck loop */
.lanyard-neck-loop::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.6) 100%
    );
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Lanyard String/Rope - Realistic Strap Style with White Center Line */
.lanyard-string {
    width: 12px;
    height: 150px;
    background: linear-gradient(
        90deg,
        #0f0f0f 0%,
        #1a1a1a 20%,
        #252525 50%,
        #1a1a1a 80%,
        #0f0f0f 100%
    );
    margin-bottom: 0;
    position: relative;
    box-shadow: 
        inset -3px 0 5px rgba(0, 0, 0, 0.8),
        inset 3px 0 5px rgba(0, 0, 0, 0.8),
        3px 0 8px rgba(0, 0, 0, 0.6),
        -1px 0 3px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    transform-origin: top center;
    transition: height 0.05s ease-out;
}

/* White center line (vertical stripe) - more prominent */
.lanyard-string::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.95) 30%,
        rgba(255, 255, 255, 0.95) 70%,
        rgba(255, 255, 255, 0.7) 100%
    );
    box-shadow: 
        0 0 3px rgba(255, 255, 255, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    top: 0;
}

/* Side highlights for depth and fabric texture */
.lanyard-string::after {
    content: '';
    position: absolute;
    left: 2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    border-radius: 1px;
    top: 0;
}

/* Elastic stretch effect */
.profile-container.stretching .lanyard-string {
    transition: height 0.05s ease-out;
}

/* Lanyard Clip/Hook - Metal Style */
.lanyard-clip {
    width: 35px;
    height: 18px;
    background: linear-gradient(135deg, #555555 0%, #888888 40%, #aaaaaa 50%, #888888 60%, #555555 100%);
    border-radius: 6px 6px 0 0;
    position: relative;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lanyard-clip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 10px;
    background: linear-gradient(135deg, #666666 0%, #999999 50%, #666666 100%);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.lanyard-clip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #333333;
    border-radius: 50%;
}

/* ID Card Container */
.profile-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 3px #ffffff,
        0 0 0 4px #e0e0e0;
}

/* Photo Area inside ID Card - Larger */
.id-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.id-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Badge - Below Photo */
.contact-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-username {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-button {
    padding: 6px 15px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge-button:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Placeholder jika belum ada foto */
.id-photo:not(:has(img))::after {
    content: 'YOUR PHOTO HERE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.landing-page.light-mode .id-photo:not(:has(img))::after {
    color: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 0, 0, 0.3);
}

/* Landing Info - Positioned at Bottom */
.landing-info {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
}

.landing-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.landing-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-landing {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-landing:hover {
    background: white;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
}

.scroll-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 90px;
    }
}

/* Button untuk section lain */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    background: #1d4ed8;
}

/* Work Section */
.work {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.work-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.work-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.work-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.work-period {
    color: #cccccc;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.work-item p:last-child {
    color: #e0e0e0;
    line-height: 1.6;
    font-weight: 500;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* About Me Section (New) */
.about-me {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.about-content-new {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-intro h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* CV Download Button */
.cv-download-section {
    margin-top: 2.5rem;
    text-align: center;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-download-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-download-cv:hover::before {
    left: 100%;
}

.btn-download-cv:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-download-cv:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-download-cv svg {
    transition: transform 0.3s ease;
}

.btn-download-cv:hover svg {
    transform: translateY(3px);
    animation: bounce-download 0.6s ease infinite;
}

@keyframes bounce-download {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.skills-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.skill-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none; /* Keep original logo colors */
    transition: all 0.3s ease;
}

.skill-item:hover .skill-logo img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.4));
}

.skill-name {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

/* Education Section */
.education-section {
    margin-top: 4rem;
}

.education-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.education-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.education-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.education-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
}

.education-info {
    flex: 1;
}

.education-info h4 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.education-major {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-year {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 500;
}

/* Selengkapnya Section with Video */
.selengkapnya {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.selengkapnya-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 3rem;
    margin-top: -1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.selengkapnya .section-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid rgba(255, 255, 255, 0.5);
}

.video-description h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.video-description p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.video-highlights {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-highlights h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.video-highlights ul {
    list-style: none;
    padding: 0;
}

.video-highlights li {
    padding: 0.8rem 0;
    color: #e0e0e0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.video-highlights li:last-child {
    border-bottom: none;
}

.additional-videos {
    margin-top: 2.5rem;
}

.additional-videos h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.video-card:hover .video-thumbnail iframe {
    pointer-events: auto;
}

.video-card-title {
    padding: 1rem;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* About Section - REMOVED, replaced by About Me */

/* What I Do Section - REMOVED, replaced by About Me */


.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Awards Section with Certificate Images */
.awards {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.award-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.award-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.award-card:hover .award-image img {
    transform: scale(1.1);
}

/* Placeholder untuk foto certificate */
.award-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.award-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.award-info {
    padding: 1.5rem;
}

.award-year {
    color: #667eea;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.award-info h3 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.award-issuer {
    color: #667eea;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-style: italic;
    font-weight: 600;
}

.award-info p {
    color: #000000;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Training Section */
.training {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.training-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.training-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.training-card h3 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.training-provider {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.training-year {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.training-badge {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.project-image {
    height: 200px;
    background: #e5e7eb;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 600;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.project-info p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.project-link:hover {
    color: #cccccc;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .floating-nav {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .sliding-text {
        font-size: 5rem;
    }
    
    .landing-content {
        flex-direction: column;
        padding: 0 30px;
        gap: 50px;
        justify-content: center;
    }
    
    .landing-text-side {
        max-width: 100%;
        text-align: center;
    }
    
    .landing-name {
        font-size: 2.5rem;
    }
    
    .landing-role {
        font-size: 1.5rem;
    }
    
    .landing-socials {
        justify-content: center;
    }
    
    .landing-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .profile-container {
        width: 280px;
    }

    .profile-image {
        height: auto;
    }

    .id-photo {
        height: 350px;
    }

    .lanyard-string {
        height: 120px;
    }

    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .landing-info {
        bottom: 120px;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
    }

    .theme-switch-label {
        width: 60px;
        height: 30px;
    }

    .theme-switch-switch {
        width: 24px;
        height: 24px;
    }

    .theme-switch-checkbox:checked + .theme-switch-label .theme-switch-switch {
        transform: translateX(30px);
    }

    /* Floating nav untuk mobile */
    .floating-nav {
        top: 20px;
        padding: 12px 25px;
    }

    .floating-menu {
        gap: 20px;
    }

    .nav-item {
        font-size: 0.75rem;
    }

    .portfolio-dropdown {
        min-width: 150px;
    }

    .portfolio-dropdown a {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .skill-logo {
        width: 60px;
        height: 60px;
    }

    .skill-name {
        font-size: 0.85rem;
    }

    .about-intro h3 {
        font-size: 1.5rem;
    }

    .about-intro p {
        font-size: 1rem;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .education-logo {
        width: 120px;
        height: 120px;
    }
    
    .education-info h4 {
        font-size: 1.5rem;
    }
    
    .education-major {
        font-size: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-description {
        padding: 1.5rem;
    }

    .video-description h3 {
        font-size: 1.5rem;
    }

    .video-highlights {
        padding: 1.5rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .sliding-text {
        font-size: 3rem;
    }
    
    .landing-content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .landing-greeting {
        font-size: 0.85rem;
    }
    
    .landing-name {
        font-size: 2rem;
    }
    
    .landing-tagline {
        font-size: 1rem;
    }
    
    .landing-role {
        font-size: 1.3rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .landing-description {
        font-size: 0.9rem;
    }

    .profile-container {
        width: 260px;
    }

    .profile-image {
        height: auto;
    }

    .id-photo {
        height: 320px;
    }

    .lanyard-string {
        height: 100px;
    }

    .landing-title {
        font-size: 1.5rem;
    }

    .landing-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .landing-info {
        bottom: 100px;
    }

    .btn-landing {
        padding: 12px 30px;
        font-size: 0.8rem;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
    }

    .theme-switch-label {
        width: 55px;
        height: 28px;
    }

    .theme-switch-switch {
        width: 22px;
        height: 22px;
    }

    .theme-switch-checkbox:checked + .theme-switch-label .theme-switch-switch {
        transform: translateX(27px);
    }

    .theme-switch-inner::before {
        font-size: 14px;
        left: 6px;
    }

    .theme-switch-inner::after {
        font-size: 14px;
        right: 6px;
    }

    .floating-nav {
        top: 15px;
        padding: 10px 20px;
        width: calc(100% - 30px);
        max-width: 400px;
    }

    .floating-menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 0.65rem;
        padding: 3px 0;
    }

    .portfolio-dropdown {
        min-width: 120px;
        left: 0;
        transform: none;
    }

    .portfolio-dropdown a {
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    .award-image {
        height: 200px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem;
    }

    .skill-logo {
        width: 50px;
        height: 50px;
    }

    .skill-name {
        font-size: 0.75rem;
    }

    .about-intro h3 {
        font-size: 1.3rem;
    }

    .about-intro p {
        font-size: 0.95rem;
    }
    
    .education-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .education-logo {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .education-info h4 {
        font-size: 1.3rem;
    }
    
    .education-major {
        font-size: 0.95rem;
    }
    
    .education-year {
        font-size: 0.9rem;
    }

    .video-description {
        padding: 1.2rem;
    }

    .video-description h3 {
        font-size: 1.3rem;
    }

    .video-description p {
        font-size: 0.95rem;
    }

    .video-highlights {
        padding: 1.2rem;
    }

    .video-highlights h4,
    .additional-videos h4 {
        font-size: 1.1rem;
    }

    .video-highlights li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .selengkapnya-subtitle {
        font-size: 1rem;
    }
}


/* CV Download Section */
.cv-download-section {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download-cv,
.btn-view-cv {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-download-cv {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-download-cv:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-download-cv:active {
    transform: translateY(-1px);
}

.btn-view-cv {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-view-cv:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CV Button Icons Animation */
.btn-download-cv svg,
.btn-view-cv svg {
    transition: transform 0.3s ease;
}

.btn-download-cv:hover svg {
    animation: downloadBounce 0.6s ease infinite;
}

.btn-view-cv:hover svg {
    transform: scale(1.1);
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* Responsive CV Buttons */
@media (max-width: 768px) {
    .cv-download-section {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download-cv,
    .btn-view-cv {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
