:root {
    --bg-dark: #050510;
    --primary-blue: #00f0ff;
    --primary-violet: #7000ff;
    --accent-cyan: #e0ffff;
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    
    --glass-bg: rgba(20, 20, 35, 0.4);
    --glass-border: rgba(0, 240, 255, 0.15);
    --glass-blur: blur(12px);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: var(--primary-violet);
    top: -10vh;
    left: -10vw;
}

.orb-2 {
    width: 30vw;
    height: 30vw;
    background: var(--primary-blue);
    bottom: 5vh;
    right: -5vw;
    animation-delay: -5s;
}

#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, 5vh) scale(1.1); }
    100% { transform: translate(-2vw, 8vh) scale(0.9); }
}

/* Typography */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    color: var(--accent-cyan);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glassmorphism Utilities */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 80%; /* Asegura que no ocupe todo el ancho en m�vil */
}

.logo-img {
    height: 80px; /* Tama�o del logo ampliado en el header */
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.mobile-menu-btn {
    display: none;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary-violet), var(--primary-blue));
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.5);
}

.glow-btn {
    position: relative;
    z-index: 1;
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-violet), var(--accent-cyan));
    z-index: -1;
    border-radius: 32px;
    filter: blur(12px);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.glow-btn:hover::before {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    padding-top: 100px;
}

.hero-content {
    text-align: center;
    padding: 5rem 4rem;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,240,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    max-width: 350px; /* Tama�o del logo ampliado en el hero */
    height: auto;
    margin: 0 auto 2.5rem;
    display: block;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.5));
    animation: float-logo 6s ease-in-out infinite;
}

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

.glitch-text {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Services Section */
.services {
    padding: 7rem 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 3rem 2.5rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(112, 0, 255, 0.25);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15) inset, 0 0 15px rgba(0, 240, 255, 0.2);
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Tech Section */
.tech-section {
    padding: 7rem 5%;
}

.tech-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.tech-text p {
    margin-bottom: 1.8rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.tech-text strong {
    color: var(--accent-cyan);
    font-weight: 500;
}

.tech-features {
    list-style: none;
    margin-top: 2.5rem;
}

.tech-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.tech-features i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* 3D Cube Animation */
.tech-visual {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.multiverse-cube {
    width: 180px;
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(112, 0, 255, 0.15);
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3) inset;
    backdrop-filter: blur(5px);
}

.front  { transform: translateZ(90px); }
.back   { transform: rotateY(180deg) translateZ(90px); }
.right  { transform: rotateY(90deg) translateZ(90px); }
.left   { transform: rotateY(-90deg) translateZ(90px); }
.top    { transform: rotateX(90deg) translateZ(90px); }
.bottom { transform: rotateX(-90deg) translateZ(90px); }

@keyframes rotateCube {
    0% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* About Section */
.about {
    padding: 7rem 5%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text {
    padding: 4rem;
}

.about-text h3 {
    margin-bottom: 1.8rem;
    font-size: 1.6rem;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    min-height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.abstract-shape {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-violet));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(112, 0, 255, 0.4);
    position: relative;
    z-index: 1;
}

.about-image::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

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

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Footer */
footer {
    margin-top: 5rem;
    padding: 0 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 4rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-blue);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.5);
    border-color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .glitch-text {
        font-size: 3.5rem;
    }
    
    .tech-grid, .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: block;
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .logo-img {
        height: 60px; /* Tama�o del logo ampliado en m�vil */
    }
    
    .glass-nav {
        padding: 0.8rem 1.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 1; /* Asegura que el bot�n se quede a la derecha en la primera l�nea */
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 1rem;
        gap: 1.5rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        order: 2; /* Los links bajan a la siguiente l�nea */
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .btn-nav {
        display: none;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .glitch-text {
        font-size: 2.4rem;
    }
    
    .tech-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-visual {
        margin-top: 4rem;
        height: 250px;
    }
    
    .about-image {
        order: -1;
        min-height: 350px;
    }
    
    .tech-content, .about-text {
        padding: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .glitch-text {
        font-size: 1.8rem; /* Reducido para que quepa mejor en una l�nea o dos */
    }
    
    .service-card, .tech-content, .about-text, .footer-content {
        padding: 2rem 1.5rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* Contact Section */
.contact-section {
    padding: 7rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-methods {
    margin: 2.5rem 0;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.method-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.method-item h4 {
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-bottom: 0.2rem;
}

.method-item p {
    color: var(--text-muted);
}

/* Enlaces de contacto interactivos */
.method-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.method-link:hover .method-item i {
    background: var(--primary-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: scale(1.05);
}

.method-link:hover .method-item p {
    color: var(--primary-blue);
}

.footer-contact a, .profile-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover, .profile-meta a:hover {
    color: var(--primary-blue);
}

.contact-form-wrapper {
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix mobile menu overlap */
@media (max-width: 768px) {
    .logo {
        gap: 10px;
        max-width: calc(100% - 60px); /* Leave room for the hamburger menu */
    }
    .logo-img {
        height: 45px;
    }
    .logo-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 8px;
    }
    .logo-img {
        height: 38px;
    }
    .logo-text {
        font-size: 0.85rem;
    }
    .glass-nav {
        padding: 0.6rem 1rem;
    }
}

/* CV Section */
.cv-section {
    padding: 7rem 5%;
}

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

.cv-profile {
    padding: 3rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-blue);
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    margin: 0.5rem 0 1rem;
}

.profile-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-meta i {
    color: var(--primary-blue);
}

.profile-content h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.cv-card {
    padding: 2.5rem;
}

.cv-card h3 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.cv-card h3 i {
    color: var(--primary-blue);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 240, 255, 0.2);
}

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

.timeline-item::after {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}

.timeline-item .date {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    display: block;
}

.skill-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* List styles */
.cv-list {
    list-style: none;
}

.cv-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cv-list li i {
    color: var(--primary-blue);
    margin-top: 5px;
}

.cv-list li strong {
    color: var(--accent-cyan);
    margin-right: 5px;
}

/* Responsive CV */
@media (max-width: 992px) {
    .cv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cv-profile, .cv-card {
        padding: 2rem;
    }
}

/* CV Accordion Styles */
.cv-accordion {
    cursor: pointer;
    position: relative;
}

.cv-accordion .acc-icon {
    font-size: 0.7rem;
    margin-left: 8px;
    transition: transform 0.4s ease;
    color: var(--primary-blue);
}

.cv-accordion.open .acc-icon {
    transform: rotate(180deg);
}

.acc-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding: 0;
}

.cv-accordion.open .acc-detail {
    max-height: 300px;
    opacity: 1;
    padding-top: 0.8rem;
}

.acc-detail p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.acc-detail strong {
    color: var(--accent-cyan);
}

.acc-detail ul {
    list-style: none;
    padding: 0.5rem 0 0 0;
    margin: 0;
}

.acc-detail ul li {
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.acc-detail ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* Timeline accordion hover */
.timeline-item.cv-accordion {
    padding: 0.8rem;
    margin-left: -0.8rem;
    border-radius: 12px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.cv-accordion:hover {
    background: rgba(0, 240, 255, 0.04);
}

.timeline-item.cv-accordion.open {
    background: rgba(0, 240, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

/* Skill item accordion */
.skill-item.cv-accordion {
    cursor: pointer;
}

.skill-item.cv-accordion .acc-detail {
    text-align: left;
    margin-top: 0;
}

.skill-item.cv-accordion.open {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

/* CV list accordion */
.cv-list .cv-accordion {
    padding: 0.6rem;
    margin-left: -0.6rem;
    border-radius: 10px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.cv-list .cv-accordion:hover {
    background: rgba(0, 240, 255, 0.04);
}

.cv-list .cv-accordion.open {
    background: rgba(0, 240, 255, 0.06);
}
