/* ===== CSS Variables ===== */
:root {
    --primary-color: #0066ff;
    --secondary-color: #00d4ff;
    --accent-color: #ff00ff;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0a0e27 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
    letter-spacing: -0.02em;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 14, 39, 0.98);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-secondary);
}

.logo-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.3) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
                      radial-gradient(circle at 40% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    letter-spacing: -0.03em;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.name {
    display: block;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    height: 40px;
}

.typewriter {
    border-right: 3px solid var(--secondary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--secondary-color); }
    51%, 100% { border-color: transparent; }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.image-bg-gradient {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 20px;
    z-index: 1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
}

.about-content {
    display: grid;
    gap: 50px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 30px;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.skill-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Experience Section ===== */
.timeline {
    position: relative;
    padding: 20px 0;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 25px 30px;
    border-radius: 20px;
    width: 45%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.company-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.via-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 15px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.via-company:before {
    content: 'Contracted through';
    position: absolute;
    top: -18px;
    left: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.via-company:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(0, 102, 255, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    border-color: var(--secondary-color);
}

.via-company .company-type {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

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

.tech-tags span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-family: var(--font-secondary);
    font-weight: 500;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* ===== Achievements Section ===== */
.achievements {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.achievement-card {
    padding: 30px;
    text-align: center;
}

.achievement-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    font-family: var(--font-secondary);
}

.achievement-card p {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Publications Section ===== */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.publication-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.08);
}

.publication-type {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.publication-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
    line-height: 1.4;
}

.publication-venue {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.publication-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.publication-link:hover {
    color: var(--primary-color);
}

/* ===== Personal Section ===== */
.personal {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
}

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

.hobby-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hobby-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-secondary);
}

.hobby-card ul {
    list-style: none;
    text-align: left;
}

.hobby-card li {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.hobby-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--gradient-dark);
    text-align: center;
}

.contact-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-secondary);
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }

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

    .timeline-item {
        justify-content: flex-start !important;
        text-align: left !important;
        margin-left: 40px;
    }

    .timeline-content {
        width: calc(100% - 40px);
    }

    .timeline-date {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 2rem;
    }
}

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

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

    .stat-number {
        font-size: 1.5rem;
    }

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

    .skills-grid,
    .achievements-grid,
    .publications-grid,
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal and Carousel Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: slideIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    touch-action: pan-y;
}

.carousel-slides {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    scroll-behavior: smooth;
    position: relative;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, rgba(0,0,0,0) 70%);
}

.carousel-slide img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    z-index: 100;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
}

.carousel-nav:hover {
    background-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

.carousel-caption {
    text-align: center;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Achievement Gallery Buttons */
.achievement-gallery-btn,
.piano-performances-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.1));
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    padding: 10px 20px;
    margin: 8px 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    width: calc(100% - 10px);
}

.achievement-gallery-btn:before,
.piano-performances-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.5s;
}

.achievement-gallery-btn:hover,
.piano-performances-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    color: #00ffff;
    border-color: #00ffff;
}

.achievement-gallery-btn:hover:before,
.piano-performances-btn:hover:before {
    left: 100%;
}

.achievement-gallery-btn i,
.piano-performances-btn i {
    font-size: 1.1rem;
}

/* Platform Value Modal */
.platform-value-modal {
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 24px;
    max-width: 900px;
    width: 95vw;
    max-height: 90vh;
    margin: auto;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.platform-value-header {
    text-align: center;
    padding: 50px 40px 30px 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.platform-value-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.platform-value-total {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 25%, #00ffff 50%, #0066ff 75%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.platform-value-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.platform-value-breakdown {
    padding: 20px 40px 40px 40px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.platform-value-breakdown::-webkit-scrollbar {
    width: 6px;
}

.platform-value-breakdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.platform-value-breakdown::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.platform-value-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 25px;
    border-radius: 0;
    border: none;
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.platform-value-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), #00ffff);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-value-item:hover::before {
    transform: scaleY(1);
}

.platform-value-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.15);
}

.platform-value-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.platform-value-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.platform-value-company {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.platform-value-amount {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.platform-value-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    font-size: 1rem;
    font-weight: 300;
}

/* Platform Value Modal Responsive */
@media (max-width: 768px) {
    .platform-value-modal {
        width: 95vw;
        max-height: 85vh;
        border-radius: 20px;
    }
    
    .platform-value-header {
        padding: 30px 25px 20px 25px;
    }
    
    .platform-value-total {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    .platform-value-subtitle {
        font-size: 1.1rem;
    }
    
    .platform-value-breakdown {
        padding: 15px 25px 30px 25px;
        max-height: 55vh;
    }
    
    .platform-value-item {
        padding: 20px;
    }
    
    .platform-value-company {
        font-size: 1.2rem;
    }
    
    .platform-value-amount {
        font-size: 1.8rem;
    }
    
    .platform-value-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Video Modal */
.video-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal-content iframe {
    width: 100%;
    max-width: 900px;
    height: 506px;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
}

.video-modal-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Piano Modal - Enhanced Design */
.piano-modal-content {
    max-width: 900px;
    max-height: 85vh;
    padding: 0;
    background: #0a0a14;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 212, 255, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.piano-modal-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.piano-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.piano-modal-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.piano-modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.piano-performances-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px;
    background: #0a0a14;
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 200px);
}

.piano-performance-item {
    background: linear-gradient(135deg, #141420 0%, #1a1a2e 100%);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.piano-performance-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), #00ffff);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.piano-performance-item:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #252538 100%);
    transform: translateX(8px);
}

.piano-performance-item:hover::before {
    transform: scaleY(1);
}

.piano-performance-info h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.piano-performance-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.4;
}

.piano-performance-btn {
    background: linear-gradient(135deg, var(--secondary-color), #0099ff);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.piano-performance-btn:hover {
    background: linear-gradient(135deg, #00ffff, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

/* Enhanced Job Description Details */
.experience-details {
    margin-top: 25px;
    padding: 0;
    background: linear-gradient(135deg, #0f0f1e 0%, #141428 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: none;
    animation: slideDownFade 0.4s ease-out;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.experience-details.expanded {
    display: block;
}

.experience-details::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #00ffff, var(--secondary-color));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

.experience-details-content {
    padding: 30px;
}

.experience-details h5 {
    color: #00ffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-details h5::before {
    content: '✨';
    font-size: 1.3rem;
}

.experience-details ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 15px;
}

.experience-details li {
    position: relative;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    border-left: 2px solid transparent;
    transition: all 0.3s;
}

.experience-details li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.experience-details li:before {
    content: "▸";
    position: absolute;
    left: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

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

/* Make achievement cards clickable */
.achievement-card.clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.achievement-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}
/* Professional Photo Stack */
.professional-photo-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.photo-stack-container {
    position: relative;
    width: 100%;
    height: 550px;
    perspective: 1200px;
}

.photo-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px) rotateY(-20deg) scale(0.9);
}

.photo-card.active {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
    z-index: 3;
}

.photo-card.photo-card-2 {
    transform: translateX(20px) translateY(15px) rotateY(-10deg) scale(0.95);
    opacity: 0.7;
    z-index: 2;
}

.photo-card.photo-card-3 {
    transform: translateX(40px) translateY(30px) rotateY(-20deg) scale(0.9);
    opacity: 0.5;
    z-index: 1;
}

.photo-card:hover {
    transform: translateY(-10px) rotateY(0) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.5);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 35, 49, 0.95), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.photo-card:hover .photo-overlay,
.photo-card.active .photo-overlay {
    transform: translateY(0);
}

.photo-label {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.photo-label::before {
    content: '✨';
    font-size: 1.2rem;
}

.photo-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.photo-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-indicator.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #00d4ff, #0066ff);
}

.photo-indicator:hover {
    background: rgba(0, 212, 255, 0.6);
    transform: scale(1.2);
}

/* Photo Stack Mobile Responsive */
@media (max-width: 768px) {
    .photo-stack-container {
        height: 400px;
    }
    
    .photo-card.photo-card-2 {
        transform: translateX(10px) translateY(10px) rotateY(-5deg) scale(0.95);
    }
    
    .photo-card.photo-card-3 {
        transform: translateX(20px) translateY(20px) rotateY(-10deg) scale(0.9);
    }
}

/* Carousel Responsive Improvements */
@media (max-width: 1200px) {
    .carousel-container {
        max-width: 95%;
    }
    
    .carousel-slide img {
        max-width: 85%;
        max-height: 65vh;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-height: 300px;
    }
    
    .carousel-slide img {
        max-width: 95%;
        max-height: 60vh;
        box-shadow: 0 5px 20px rgba(0, 212, 255, 0.15);
    }
    
    .carousel-nav {
        padding: 15px 10px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        padding: 15px 0;
        gap: 8px;
    }
    
    .carousel-caption {
        font-size: 1rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        min-height: 250px;
        background: radial-gradient(circle, rgba(0,212,255,0.03) 0%, rgba(0,0,0,0) 60%);
    }
    
    .carousel-slide img {
        max-width: 98%;
        max-height: 50vh;
        border-radius: 8px;
    }
    
    .carousel-nav {
        padding: 12px 8px;
        font-size: 18px;
        border-radius: 6px;
    }
    
    .carousel-indicators {
        padding: 12px 0;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .carousel-slide {
        min-height: 200px;
    }
    
    .carousel-slide img {
        max-height: 45vh;
    }
}
