/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    opacity: 1;
    visibility: visible;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #0078d4;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.spinner::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #0078d4 transparent;
}

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

/* Animaciones de Scroll - Optimizadas */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #323130;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e1dfdd;
}

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

.nav-logo i {
    font-size: 24px;
    color: #0078d4;
}

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

.nav-menu a {
    text-decoration: none;
    color: #323130;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #0078d4;
}

.nav-menu a.active {
    color: #0078d4;
    font-weight: 600;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #0078d4;
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 20px;
        opacity: 1;
    }
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #323130;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 120, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 120, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #323130;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0078d4;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: #605e5c;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0078d4;
    color: white;
}

.btn-primary:hover {
    background: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0078d4;
    border: 2px solid #0078d4;
}

.btn-secondary:hover {
    background: #0078d4;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.laptop-mockup {
    width: 400px;
    height: 250px;
    background: linear-gradient(145deg, #323130, #605e5c);
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.laptop-screen {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
}

/* Profile Image Styles */
.profile-image {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 
        0 15px 40px rgba(0, 120, 212, 0.25),
        0 0 0 1px rgba(0, 120, 212, 0.1);
    background: linear-gradient(135deg, #0078d4, #106ebe);
    padding: 3px;
    margin: 0 auto;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    z-index: -1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.profile-image:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 120, 212, 0.35),
        0 0 0 1px rgba(0, 120, 212, 0.2);
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    border-radius: 50%;
}

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

.profile-info .hero-title {
    margin-bottom: 0.8rem;
}

.profile-info .hero-subtitle {
    margin-bottom: 0;
}

/* Experience Section */
.products {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 120, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 120, 212, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0078d4;
    text-align: left;
    margin-bottom: 1.2em;
    margin-top: 0.5em;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,120,212,0.08);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #0078d4 60%, #106ebe 100%);
    border-radius: 3px;
    margin-top: 12px;
    transition: width 0.4s cubic-bezier(.4,1.3,.7,1);
    box-shadow: 0 2px 8px rgba(0,120,212,0.15);
}

.section-title:hover::after {
    width: 90px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1dfdd;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #0078d4;
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-image i {
    font-size: 32px;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #323130;
}

.job-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0078d4;
    margin-bottom: 5px;
}

.job-period {
    font-size: 0.9rem;
    color: #605e5c;
    margin-bottom: 15px;
    font-style: italic;
}

.product-card p {
    color: #605e5c;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 12px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e1dfdd;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #0078d4;
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #323130;
}

.project-tech {
    color: #0078d4;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-content p {
    color: #605e5c;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1dfdd;
}

.project-stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0078d4;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #605e5c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Projects Summary */
.projects-summary {
    margin-top: 80px;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e1dfdd;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.summary-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0078d4;
    margin-bottom: 10px;
}

.summary-stat p {
    color: #605e5c;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content .btn {
    background: white;
    color: #0078d4;
}

.cta-content .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Skills Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 120, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 120, 212, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 40px;
    color: white;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #323130;
}

.feature-item p {
    color: #605e5c;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #323130;
}

.about-text p {
    font-size: 1.1rem;
    color: #605e5c;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Competencies */
.competencies {
    margin: 40px 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1dfdd;
}

.competencies-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competencies-list li {
    position: relative;
    padding: 25px 0 25px 40px;
    color: #605e5c;
    line-height: 1.7;
    border-bottom: 1px solid #e1dfdd;
    margin-bottom: 0;
    font-size: 1.05rem;
    display: block;
    transition: all 0.3s ease;
}

.competencies-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.competencies-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 25px;
    color: #0078d4;
    font-weight: bold;
    font-size: 1.3rem;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.2);
}

.competencies-list li strong {
    color: #0078d4;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.competencies-list li:hover {
    background: white;
    padding-left: 45px;
    border-left: 4px solid #0078d4;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.1);
}

/* Certifications */
.certifications {
    margin-top: 40px;
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #323130;
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cert-item:hover {
    background: white;
    transform: translateY(-3px);
    border-color: #0078d4;
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.15);
}

.cert-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cert-item:hover .cert-icon {
    transform: scale(1.1);
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cert-code {
    font-weight: 700;
    color: #0078d4;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.cert-name {
    font-weight: 500;
    color: #323130;
    font-size: 0.95rem;
    line-height: 1.3;
}

.cert-link {
    color: #0078d4;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    transition: color 0.3s ease;
}

.cert-link:hover {
    color: #106ebe;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(0, 120, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(0, 120, 212, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1dfdd;
}

.contact-item i {
    font-size: 24px;
    color: #0078d4;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #323130;
}

.contact-item p {
    color: #605e5c;
}

.contact-item a {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #106ebe;
}

.email-link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.email-link:hover {
    color: #106ebe;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e1dfdd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
    color: #323130;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0078d4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #323130 0%, #605e5c 50%, #8a8886 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 120, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 120, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-logo i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0078d4;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #c8c6c4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0078d4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #605e5c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0078d4;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #605e5c;
    padding-top: 20px;
    text-align: center;
    color: #c8c6c4;
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(0, 120, 212, 0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 20px;
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 15px 30px;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }
    
    .nav-menu a:hover {
        background: #0078d4;
        color: white;
    }
    
    .nav-menu a.active {
        background: #0078d4;
        color: white;
        font-weight: 600;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px 60px;
        min-height: auto;
    }

    .profile-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .laptop-mockup {
        width: 280px;
        height: 180px;
        margin-top: 30px;
    }
    
    /* Sections */
    .section-title {
        font-size: 2.1rem;
        text-align: left;
        margin-bottom: 1em;
        color: #0078d4;
    }
    .section-title::after {
        width: 40px;
        height: 4px;
        background: linear-gradient(90deg, #0078d4 60%, #106ebe 100%);
        border-radius: 3px;
        margin-top: 12px;
        transition: width 0.4s cubic-bezier(.4,1.3,.7,1);
        box-shadow: 0 2px 8px rgba(0,120,212,0.15);
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Grid Layouts */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .competencies {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .competencies-list li {
        padding: 20px 0 20px 35px;
        font-size: 1rem;
    }

    .competencies-list li::before {
        top: 20px;
        width: 22px;
        height: 22px;
        font-size: 1.1rem;
    }

    .competencies-list li strong {
        font-size: 1rem;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Cards */
    .product-card, .feature-item, .project-card {
        padding: 25px 20px;
    }
    
    .project-details {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Contact */
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item i {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8em;
        text-align: left;
        color: #0078d4;
    }
    .section-title::after {
        width: 28px;
        height: 3px;
        background: linear-gradient(90deg, #0078d4 60%, #106ebe 100%);
        border-radius: 3px;
        margin-top: 10px;
        transition: width 0.4s cubic-bezier(.4,1.3,.7,1);
        box-shadow: 0 2px 8px rgba(0,120,212,0.15);
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-card, .feature-item, .project-card {
        margin: 0 5px;
        padding: 20px 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .competencies {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .competencies-list li {
        padding: 15px 0 15px 30px;
        font-size: 0.95rem;
    }

    .competencies-list li::before {
        top: 15px;
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }

    .competencies-list li strong {
        font-size: 0.95rem;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .cert-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cert-icon {
        width: 50px;
        height: 50px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .laptop-mockup {
        width: 250px;
        height: 160px;
    }
}

/* Construction Page Styles */
.construction-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

.construction-icon i {
    font-size: 48px;
    color: white;
}

.construction-mockup {
    width: 400px;
    height: 250px;
    background: linear-gradient(145deg, #323130, #605e5c);
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.construction-screen {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(0, 120, 212, 0);
    }
}

/* Future Projects Styles */
.future-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.future-project {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.future-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.future-project h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.future-project p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* Enhanced CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.cta-content > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8em;
    }
    .section-title::after {
        width: 28px;
        height: 3px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .product-card, .feature-item, .project-card {
        padding: 15px 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .future-projects {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .future-project {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
} 

/* Restauración de recuadros para estadísticas de competencias */
.about-stats .stat {
    background: white;
    border: 1px solid #e1dfdd;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 35px 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-stats .stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0078d4;
    margin-bottom: 8px;
}

.about-stats .stat p {
    color: #605e5c;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

.about-stats .stat:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #0078d4;
} 