 :root {
            --bg-primary: #0f1115;
            --bg-secondary: #161920;
            --text-primary: #e6e9ef;
            --text-secondary: #a3acbd;
            --accent: #6366f1;
            --accent-dark: #4f46e5;
            --success: #10b981;
            --terminal-bg: rgba(15, 17, 21, 0.98);
            --glow: rgba(99, 102, 241, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }

        #intro-terminal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--terminal-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            backdrop-filter: blur(10px);
            transition: opacity 0.5s ease-out;
        }

        .terminal {
            background: var(--bg-secondary);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 100%;
            max-width: 600px;
            opacity: 0;
            transform: translateY(20px);
            animation: terminalAppear 0.5s ease-out forwards;
        }

        @keyframes terminalAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .terminal-header {
            background: rgba(0, 0, 0, 0.2);
            padding: 0.75rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .terminal-button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ff5f57;
            position: relative;
        }

        .terminal-button:nth-child(2) {
            background: #febc2e;
        }

        .terminal-button:nth-child(3) {
            background: #28c840;
        }

        .terminal-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50%;
            box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
        }

        .terminal-content {
            padding: 1.5rem;
            font-family: 'Fira Code', monospace;
        }

        .command-line {
            display: flex;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .command-line.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .prompt {
            color: var(--success);
            margin-right: 0.75rem;
        }

        .command {
            color: var(--text-primary);
        }

        .container {
            opacity: 0;
            transition: opacity 1s ease-out;
            max-width: 100%;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            padding: 4rem 2rem;
            background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, var(--glow) 0%, transparent 70%);
            opacity: 0.5;
        }

        .name {
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .title {
            color: var(--text-secondary);
            font-family: 'Fira Code', monospace;
            font-size: 1.2rem;
            position: relative;
        }

        .grid {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .profile-section {
            position: sticky;
            top: 2rem;
            height: fit-content;
        }

        .profile-image {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
            filter: grayscale(0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .profile-image:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px var(--glow);
            filter: grayscale(0);
        }

        .mini-terminal {
            background: var(--bg-secondary);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .mini-terminal-header {
            background: rgba(0, 0, 0, 0.2);
            padding: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .mini-terminal-content {
            padding: 1rem;
            font-family: 'Fira Code', monospace;
        }

        .contact-icons {
            display: flex;
            justify-content: space-around;
            margin-top: 0.5rem;
        }

        .contact-icon {
            color: var(--text-secondary);
            font-size: 1.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            position: relative;
        }

        .contact-icon:hover {
            color: var(--accent);
            background: rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }

        .contact-icon::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .contact-icon:hover::after {
            width: 80%;
        }

        .experience-item {
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: var(--bg-secondary);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .experience-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--accent);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .experience-item:hover {
            transform: translateY(-3px);
            border-color: var(--accent);
            box-shadow: 0 5px 15px var(--glow);
        }

        .experience-item:hover::before {
            opacity: 1;
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.5rem;
        }

        .experience-title {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 1.1rem;
        }

        .experience-date {
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-family: 'Fira Code', monospace;
            padding: 0.25rem 0.75rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
        }

        .experience-company {
            color: var(--accent);
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .experience-company i {
            font-size: 1.1rem;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.75rem;
        }

        .tag {
            background: rgba(99, 102, 241, 0.1);
            color: var(--accent);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-family: 'Fira Code', monospace;
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-2px);
        }

        .projects-container {
            position: relative;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            width: 100%;
            transition: all 0.5s ease;
        }

        .show-more-btn {
            display: block;
            width: 100%;
            padding: 1rem;
            margin-top: 1.5rem;
            background: var(--bg-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Fira Code', monospace;
            position: relative;
            overflow: hidden;
        }

        .show-more-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--accent);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
            z-index: 0;
        }

        .show-more-btn:hover::before {
            width: 300%;
            height: 300%;
        }

        .show-more-btn span {
            position: relative;
            z-index: 1;
        }

        .show-more-btn:hover {
            color: white;
            border-color: var(--accent);
            transform: translateY(-2px);
        }

        .certificate-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .certificate-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .certificate-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .certificate-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 20px var(--glow);
        }

        .certificate-card:hover::before {
            opacity: 1;
        }

        .certificate-preview {
            width: 100%;
            height: 180px;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .certificate-card:hover .certificate-preview {
            transform: scale(1.05);
        }

        .certificate-info {
            padding: 1.25rem;
            position: relative;
            z-index: 2;
        }

        .certificate-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-size: 1.1rem;
        }

        .certificate-issuer {
            color: var(--text-secondary);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .certificate-issuer i {
            color: var(--accent);
        }

        .matrix-text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            position: relative;
        }

        .section {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top right, var(--glow) 0%, transparent 70%);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .section:hover {
            transform: translateY(-5px);
        }

        .section:hover::before {
            opacity: 0.5;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.25rem;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-family: 'Fira Code', monospace;
            position: relative;
        }

        .section-title i {
            color: var(--accent);
            font-size: 1.5rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--accent);
            transition: all 0.3s ease;
        }

        .section:hover .section-title::after {
            width: 100px;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
        }

        .skill-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1.25rem;
            background: var(--bg-primary);
            border-radius: 12px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .skill-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            transform: translateY(-3px) scale(1.05);
            border-color: var(--accent);
            box-shadow: 0 5px 15px var(--glow);
        }

        .skill-item:hover::before {
            opacity: 0.1;
        }

        .skill-item i {
            font-size: 2rem;
            margin-bottom: 0.75rem;
            color: var(--accent);
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .skill-item:hover i {
            transform: scale(1.2);
        }

        .skill-item span {
            font-size: 0.9rem;
            color: var(--text-secondary);
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .skill-item:hover span {
            color: var(--text-primary);
        }

        .contact-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .contact-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }

        .contact-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--accent);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
            z-index: 0;
        }

        .contact-btn:hover::before {
            width: 300%;
            height: 300%;
        }

        .contact-btn i,
        .contact-btn span {
            position: relative;
            z-index: 1;
        }

        .contact-btn:hover {
            color: white;
            border-color: var(--accent);
            transform: translateY(-2px);
        }

        .project-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .project-card:hover {
            transform: translateY(-5px) scale(1.02);
            border-color: var(--accent);
            box-shadow: 0 10px 20px var(--glow);
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.05);
        }

        .project-info {
            padding: 1.5rem;
            position: relative;
            z-index: 2;
        }

        .project-info h3 {
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .project-info h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--accent);
            transition: all 0.3s ease;
        }

        .project-card:hover .project-info h3::after {
            width: 50px;
        }

        .project-info p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 17, 21, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            opacity: 1;
        }

        .modal-content {
            background: var(--bg-secondary);
            padding: 2rem;
            border-radius: 12px;
            max-width: 800px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            margin: 2rem auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: scale(0.95);
            transition: all 0.3s ease;
        }

        .modal.active .modal-content {
            opacity: 1;
            transform: scale(1);
        }

        .close-modal {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0.5rem;
            z-index: 2;
        }

        .close-modal:hover {
            color: var(--accent);
            transform: rotate(90deg);
        }

        @media (max-width: 1200px) {
            .grid {
                grid-template-columns: 300px 1fr;
                padding: 1.5rem;
            }

            .name {
                font-size: 3rem;
            }
        }

        @media (max-width: 992px) {
            .grid {
                grid-template-columns: 1fr;
            }

            .profile-section {
                position: relative;
                top: 0;
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 1.5rem;
                align-items: start;
            }

            .profile-image {
                width: 200px;
                margin: 0;
            }

            .mini-terminal {
                margin: 0;
            }
        }

        @media (max-width: 768px) {
            .profile-section {
                grid-template-columns: 1fr;
            }

            .profile-image {
                width: 150px;
                margin: 0 auto;
            }

            .contact-buttons {
                justify-content: center;
            }

            .header {
                padding: 3rem 1rem;
            }

            .name {
                font-size: 2.5rem;
            }

            .title {
                font-size: 1rem;
            }

            .section {
                padding: 1.5rem;
            }

            .projects-grid,
            .certificate-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .grid {
                padding: 1rem;
            }

            .experience-header {
                flex-direction: column;
                gap: 0.5rem;
            }

            .experience-date {
                align-self: flex-start;
            }

            .contact-buttons {
                flex-direction: column;
            }

            .contact-btn {
                width: 100%;
                justify-content: center;
            }
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .gallery-item {
            position: relative;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .gallery-item.vertical {
            aspect-ratio: 9/16;
            grid-column: span 1;
        }

        .gallery-item.horizontal {
            aspect-ratio: 16/9;
            grid-column: span 2;
        }

        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-image.vertical {
            max-height: 500px;
            /* Ajusta según tus necesidades */
            object-fit: contain;
        }

        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }

        .folders-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            width: 100%;
        }

        /* Project folder styles */
        .project-folder {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .project-folder:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 20px var(--glow);
        }

        .folder-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .folder-icon {
            font-size: 2rem;
            color: var(--accent);
        }

        .folder-title {
            font-size: 1.2rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .folder-count {
            margin-left: auto;
            background: rgba(99, 102, 241, 0.1);
            color: var(--accent);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-family: 'Fira Code', monospace;
        }

        /* Dominican flag styles */
        .flag-container {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 100;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--bg-secondary);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .flag-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px var(--glow);
        }

        .dominican-flag {
            width: 24px;
            height: 16px;

            position: relative;
            border-radius: 2px;
            overflow: hidden;
        }

        .dominicanflag {
            width: 100%;
        }

        .flag-text {
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-family: 'Fira Code', monospace;
        }

        /* Modal improvements */
        .modal {
            overflow: hidden;
        }

        .modal-content {
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) var(--bg-primary);
        }

        .modal-content::-webkit-scrollbar {
            width: 8px;
        }

        .modal-content::-webkit-scrollbar-track {
            background: var(--bg-primary);
            border-radius: 4px;
        }

        .modal-content::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 4px;
        }

        /* Image gallery navigation */
        .gallery-nav {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--text-secondary);
            opacity: 0.5;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-dot.active {
            opacity: 1;
            background: var(--accent);
            transform: scale(1.2);
        }

        .gallery-arrows {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 1rem;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .gallery-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            pointer-events: auto;
            transition: all 0.3s ease;
        }

        .gallery-arrow:hover {
            background: var(--accent);
            transform: scale(1.1);
        }

        .pagination-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .pagination-controls button {
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 0.5rem;
        }

        .pagination-controls button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .sobre-mi.collapsed {
            max-height: 300px;
            /* Limita la altura (ajusta según necesites) */
            overflow: hidden;
            position: relative;
        }

        /* Degradado para indicar que hay más contenido */
        .sobre-mi.collapsed::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50px;
            /* Altura del degradado */
            background: linear-gradient(transparent, var(--bg-secondary));
        }

        /* Estilos para el botón "Leer más" */
        .read-more-btn {
            position: relative;
            z-index: 10;
            background: var(--bg-secondary);
            border: none;
            color: var(--accent);
            cursor: pointer;
            padding: 0.75rem 1.25rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            margin-top: 1rem;
            font-family: 'Fira Code', monospace;
        }


        .read-more-btn:hover {
            background: var(--accent);
            color: white;
        }

        /* Contenedor colapsado para "Sobre Mi" y "Experiencia & Educación" */
        .sobre-mi.collapsed,
        .exp-edu.collapsed {
            max-height: 300px;
            /* Ajusta según necesites */
            overflow: hidden;
            position: relative;
        }

        /* Pseudo-elemento para indicar más contenido */
        .sobre-mi.collapsed::after,
        .exp-edu.collapsed::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50px;
            background: linear-gradient(transparent, var(--bg-secondary));
            pointer-events: none;
            /* Esto permite que los clics pasen a través */
        }


        /* Estilos para el botón "Leer más" */


        .read-more-btn:hover {
            background: var(--accent);
            color: white;
        }