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

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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-fadeInUp {
            animation: fadeInUp 1s ease-out forwards;
        }

        .animate-fadeIn {
            animation: fadeIn 1s ease-out forwards;
        }

        .animate-slideInLeft {
            animation: slideInLeft 0.8s ease-out forwards;
        }

        .animate-slideInRight {
            animation: slideInRight 0.8s ease-out forwards;
        }

        .animate-delay-200 {
            animation-delay: 0.2s;
            opacity: 0;
        }

        .animate-delay-400 {
            animation-delay: 0.4s;
            opacity: 0;
        }

        .animate-delay-600 {
            animation-delay: 0.6s;
            opacity: 0;
        }

        .hero-bg {
            background-image: 
                linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('../../images/background-hero.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .nav-link {
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #ef4444;
            transition: width 0.3s ease;
        }

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

        .nav-link:hover {
            color: #ef4444;
        }

        .scroll-indicator {
            animation: bounce 2s infinite;
        }

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

        .service-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover {
            transform: scale(1.05);
        }

        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 2rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover .portfolio-overlay {
            transform: translateY(0);
        }

        .filter-btn {
            transition: all 0.3s ease;
        }

        .filter-btn.active {
            background-color: #ef4444;
            color: white;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -41px;
            top: 0;
            width: 2px;
            height: 100%;
            background: #e5e7eb;
        }

        .mobile-menu {
            transition: max-height 0.3s ease, opacity 0.3s ease;
        }

        .back-to-top {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
        }

        /* About Section Responsive Styles */
        .about-image-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 2rem;
        }

        .about-image-wrapper {
            position: relative;
            display: inline-block;
            max-width: 400px;
            width: 100%;
        }

        .about-image-border {
            position: absolute;
            top: -1rem;
            left: -1rem;
            width: 100%;
            height: 100%;
            border: 4px solid #ef4444;
            border-radius: 0.5rem;
            z-index: 1;
        }

        .about-profile-image {
            position: relative;
            width: 100%;
            height: auto;
            border-radius: 0.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            z-index: 2;
        }

        /* About Stats Improved Responsive Styles */
        .about-stats {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .about-stats .stat-item {
            display: flex;
            align-items: flex-start;
            min-height: 2rem;
            line-height: 1.5;
        }

        .about-stats .stat-bullet {
            width: 0.5rem;
            height: 0.5rem;
            background-color: #ef4444;
            border-radius: 50%;
            margin-right: 0.75rem;
            margin-top: 0.375rem;
            flex-shrink: 0;
        }

        .about-stats .stat-text {
            color: #374151;
            font-size: 0.95rem;
            flex: 1;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .about-stats .stat-label {
            font-weight: 600;
            color: #111827;
        }

        /* Mobile First Approach */
        @media (max-width: 767px) {
            .about-image-container {
                text-align: center;
                margin-bottom: 3rem;
            }
            
            .about-image-wrapper {
                max-width: 300px;
            }
            
            .about-content {
                text-align: center;
            }
            
            .about-stats {
                justify-content: center;
                align-items: center;
                max-width: 100%;
            }

            .about-stats .stat-item {
                justify-content: flex-start;
                text-align: left;
                max-width: 100%;
            }

            .about-stats .stat-text {
                font-size: 0.9rem;
                line-height: 1.4;
            }
        }

        /* Tablet and Desktop */
        @media (min-width: 768px) {
            .about-image-container {
                margin-bottom: 0;
                justify-content: flex-start;
            }
            
            .about-content {
                text-align: left;
            }
            
            .about-stats {
                justify-content: flex-start;
            }

            .about-stats .stat-text {
                font-size: 1rem;
                line-height: 1.5;
            }
        }

        /* Large screens optimization */
        @media (min-width: 1024px) {
            .about-stats .stat-text {
                max-width: 90%;
            }
        }

        /* Work Cards Styles */
        .work-card {
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .work-card:hover {
            border-color: #ef444410;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }

        .work-card img {
            transition: transform 0.3s ease;
        }

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

        /* Work cards responsive layout */
        @media (max-width: 768px) {
            .work-card {
                margin-bottom: 1.5rem;
            }
            
            .work-card h3 {
                font-size: 1.1rem;
            }
            
            .work-card p {
                font-size: 0.875rem;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .work-card {
                max-width: 100%;
            }
        }

        /* Estilos Simples para Modales */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            position: absolute;
            right: 15px;
            top: 15px;
        }

        .close:hover {
            color: #ef4444;
        }

        .modal h3 {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.5rem;
            font-weight: bold;
            margin-top: 0;
        }

        .certificate-container img {
            width: 100%;
            max-width: 600px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 15px;
        }

        .certificate-container p {
            text-align: center;
            color: #666;
            font-size: 0.9rem;
            margin-top: 15px;
        }

        .certificates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .certificate-item {
            text-align: center;
        }

        .certificate-item h4 {
            margin-bottom: 15px;
            color: #333;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .certificate-item img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        /* Responsive para modales */
        @media (max-width: 768px) {
            .modal-content {
                margin: 10% auto;
                padding: 20px;
                width: 95%;
            }
            
            .certificates-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
        }

        /* Skills Section Styles */
        .skill-category {
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .skill-category:nth-child(1) {
            animation-delay: 0.2s;
        }

        .skill-category:nth-child(2) {
            animation-delay: 0.4s;
        }

        .skill-category:nth-child(3) {
            animation-delay: 0.6s;
        }

        .skill-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .skill-item:hover {
            transform: translateY(-5px);
        }

        .skill-item .bg-gray-50:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        /* Skills responsive design */
        @media (max-width: 768px) {
            .skill-category {
                margin-bottom: 3rem;
            }
            
            .skill-category .grid {
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .skill-category .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        @media (min-width: 1025px) {
            .skill-category .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
        }