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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #121272;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

/* Override para iconos sociales en contacto */
#contacto .social-link svg path {
    fill: white !important;
}

#contacto .social-link {
    color: white !important;
}

#contacto .social-link:visited {
    color: white !important;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 280px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-radius: 15px;
    padding: 1rem 0;
    margin-top: 0;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
    top: calc(100% + 5px);
    left: 0;
}

/* Crear un área invisible para mantener el hover */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 1000;
}

.dropdown-content a {
    color: #111144 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #121272 !important;
    border-left-color: #00e7e7;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
    animation: fadeInDropdown 0.3s ease;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 2px solid #121272;
    color: #121272;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #121272;
    color: white;
}

.lang-btn:hover {
    background: #540ebb;
    border-color: #540ebb;
    color: white;
}

/* Hidden content for translations */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(18, 18, 114, 0.8) 0%, rgba(17, 17, 68, 0.8) 50%, rgba(84, 14, 187, 0.8) 100%),
        url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated tech background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 231, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(84, 14, 187, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 231, 231, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 231, 231, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 231, 231, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

/* Floating particles */
.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00e7e7;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 15s linear infinite;
}

.tech-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.tech-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.tech-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.tech-particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; }
.tech-particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 13s; }
.tech-particle:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 17s; }
.tech-particle:nth-child(7) { left: 90%; animation-delay: 2.5s; animation-duration: 15s; }

/* Circuit lines */
.circuit-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00e7e7, transparent);
    animation: circuitFlow 8s ease-in-out infinite;
    opacity: 0.4;
}

.circuit-line:nth-child(1) {
    top: 20%;
    width: 200px;
    left: 10%;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 40%;
    width: 150px;
    right: 15%;
    animation-delay: 2s;
    animation-direction: reverse;
}

.circuit-line:nth-child(3) {
    top: 60%;
    width: 300px;
    left: 20%;
    animation-delay: 4s;
}

.circuit-line:nth-child(4) {
    top: 80%;
    width: 180px;
    right: 25%;
    animation-delay: 1s;
    animation-direction: reverse;
}

/* Data nodes */
.data-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #00e7e7;
    border-radius: 50%;
    background: rgba(0, 231, 231, 0.1);
    animation: nodePulse 3s ease-in-out infinite;
}

.data-node:nth-child(1) { top: 15%; left: 15%; animation-delay: 0s; }
.data-node:nth-child(2) { top: 25%; right: 20%; animation-delay: 1s; }
.data-node:nth-child(3) { top: 45%; left: 25%; animation-delay: 2s; }
.data-node:nth-child(4) { top: 55%; right: 15%; animation-delay: 0.5s; }
.data-node:nth-child(5) { top: 75%; left: 20%; animation-delay: 1.5s; }
.data-node:nth-child(6) { top: 85%; right: 25%; animation-delay: 2.5s; }

.hero-logo {
    text-align: left;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;

}

.hero-logo img {
    max-height: 80px;
    filter: brightness(0) invert(1);
    
}

.hero-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00e7e7;
    text-shadow: 0 0 20px rgba(0, 231, 231, 0.3);
    letter-spacing: 2px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    z-index: 10;
    position: relative;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.cta-button {
    display: inline-block;
    background: #00e7e7;
    color: #111144;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 231, 231, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 231, 231, 0.4);
    filter: brightness(1.1);
}

/* Tech Animation Keyframes */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes floatParticle {
    0% { 
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { 
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

@keyframes circuitFlow {
    0% { 
        transform: scaleX(0);
        opacity: 0;
    }
    50% { 
        transform: scaleX(1);
        opacity: 0.6;
    }
    100% { 
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes nodePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 231, 231, 0.4);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(0, 231, 231, 0);
    }
}

/* Floating elements */
.floating-element {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    font-size: 2rem;
}

.floating-element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #121272;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #111144;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #121272;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #111144;
    font-size: 1.1rem;
}

.highlight {
    background: linear-gradient(120deg, #00e7e7 0%, #540ebb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.about-image {
    background: rgba(248, 250, 252, 0.95);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    padding: 2rem;
}

.about-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #121272, #00e7e7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #121272;
    margin-bottom: 1rem;
}

.service-card p {
    color: #111144;
}

/* Service Links */
.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #121272;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.service-link:hover {
    color: #00e7e7;
    border-bottom-color: #00e7e7;
    transform: translateX(5px);
}

/* Clickable Service Cards */
.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 114, 0.05), rgba(0, 231, 231, 0.05));
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.clickable-card:hover::after {
    opacity: 1;
}

.clickable-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Case Studies */
.cases {
    background: #f8fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Fallback icons */
.case-image:not(:has(img))::after,
.case-image:has(img[style*="display: none"])::after {
    color: white;
    font-size: 3rem;
    z-index: 2;
}

.case-card:nth-child(1) .case-image:not(:has(img))::after,
.case-card:nth-child(1) .case-image:has(img[style*="display: none"])::after {
    content: '🏢';
}

.case-card:nth-child(2) .case-image:not(:has(img))::after,
.case-card:nth-child(2) .case-image:has(img[style*="display: none"])::after {
    content: '📋';
}

.case-card:nth-child(3) .case-image:not(:has(img))::after,
.case-card:nth-child(3) .case-image:has(img[style*="display: none"])::after {
    content: '💼';
}

.case-card:nth-child(4) .case-image:not(:has(img))::after,
.case-card:nth-child(4) .case-image:has(img[style*="display: none"])::after {
    content: '🌍';
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    color: #121272;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.case-content p {
    color: #111144;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag {
    background: linear-gradient(135deg, #e0f7fa, #f0f9ff);
    color: #006064;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 231, 231, 0.2);
    transition: all 0.3s ease;
}

.case-tag:hover {
    background: #00e7e7;
    color: white;
    transform: translateY(-2px);
}

/* Clients */
.clients {
    padding: 3rem 0;
    overflow: hidden; /* Oculta el scroll horizontal */
}

.clients-carousel-container {
    width: 100%;
    overflow: hidden; /* Contenedor fijo */
    position: relative;
    mask: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    ); /* Efecto fade en los bordes */
}

.clients-carousel {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content; /* Ancho automático basado en contenido */
    animation: scroll-infinite 30s linear infinite;
}

/* Duplicamos el contenido para loop infinito */
.clients-carousel .client-set {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-shrink: 0;
}

.client-logo {
    min-width: 150px;
    width: 150px; /* Ancho fijo */
    height: 80px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #111144;
    transition: all 0.3s ease;
    padding: 1rem;
    flex-shrink: 0; /* Previene que se compriman */
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: #00e7e7;
    color: #121272;
    transform: scale(1.05);
    animation-play-state: paused; /* Pausa la animación en hover */
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Why Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #540ebb, #00e7e7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.why-item h3 {
    color: #121272;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #121272 0%, #540ebb 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #00e7e7;
    color: #111144;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #00d4d4;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #111144;
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00e7e7;
    margin-bottom: 0.5rem;
}

/* Watermark logo */
.section-watermark {
    position: relative;
}

.section-watermark::before {
    content: 'ALTROMONDO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(18, 18, 114, 0.03);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 4px;
}

.section-watermark .container {
    position: relative;
    z-index: 2;
}

/* 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 scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-infinite {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); /* Se mueve exactamente la mitad */
    }
}

/* Pausa la animación cuando se hace hover sobre el contenedor */
.clients-carousel-container:hover .clients-carousel {
    animation-play-state: paused;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Pulse animation for CTA */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 10px 30px rgba(0, 231, 231, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(0, 231, 231, 0.5); }
    100% { box-shadow: 0 10px 30px rgba(0, 231, 231, 0.3); }
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-image {
        height: 180px;
    }
    
    .case-content {
        padding: 1.5rem;
    }
    
    .case-content h3 {
        font-size: 1.2rem;
    }

    .clients-carousel {
        gap: 2rem;
        animation-duration: 20s; /* Más rápido en móvil */
    }
    
    .client-set {
        gap: 2rem;
    }
    
    .client-logo {
        min-width: 120px;
        width: 120px;
        height: 70px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-content {
        position: relative;
        display: none;
        box-shadow: none;
        background: #f8fafc;
        margin: 0.5rem 0;
        border-radius: 10px;
        width: 100%;
        top: auto;
        left: auto;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }

@media (max-width: 480px) {
    .clients-carousel {
        gap: 1.5rem;
        animation-duration: 15s;
    }
    
    .client-set {
        gap: 1.5rem;
    }
    
    .client-logo {
        min-width: 100px;
        width: 100px;
        height: 60px;
        padding: 0.8rem;
    }

}
/* ===================================
   SECCIÓN DE CONTACTO - ORGANIZADA
   =================================== */

/* Container principal de la sección de contacto */
.contact {
    background: linear-gradient(135deg, #121272 0%, #540ebb 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===================================
   INFORMACIÓN DE CONTACTO GENERAL
   =================================== */
.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ===================================
   REDES SOCIALES
   =================================== */
.social-links {
    margin: 2rem 0 3rem 0; /* Espaciado superior e inferior */
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact .social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 30px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    min-width: 150px;
    justify-content: center;
}

/* SVG icons en blanco */
.contact .social-link svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    fill: white !important;
}

/* Efectos hover para redes sociales */
.contact .social-link:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Asegurar que el texto span también sea blanco */
.contact .social-link span {
    color: white !important;
    font-weight: 600;
}

/* ===================================
   CERTIFICACIONES Y MEMBRESÍAS
   =================================== */
.contact .certifications {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.contact .certifications::before {
    content: "Certificaciones y Membresías";
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact .cert-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact .cert-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(15px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Logos de certificaciones */
.contact .cert-logo {
    width: 90px !important;
    height: 35px !important;
    object-fit: contain;
    flex-shrink: 0;
    background: white !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 8px;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
}

.contact .cert-item:hover .cert-logo {
    filter: grayscale(0%) opacity(1) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25) !important;
}

.contact .cert-description {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 500 !important;
}

/* ===================================
   FORMULARIO DE CONTACTO
   =================================== */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #00e7e7;
    color: #111144;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #00d4d4;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-icons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .contact .social-link {
        min-width: auto !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        justify-content: flex-start;
    }
    
    .contact .cert-item {
        padding: 1rem !important;
        gap: 1rem;
    }
    
    .contact .cert-logo {
        width: 70px !important;
        height: 28px !important;
    }
    
    .contact .certifications {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .contact .social-link {
        font-size: 1rem !important;
        padding: 1.2rem 1.5rem !important;
    }
    
    .contact .social-link svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .social-links {
        margin: 1.5rem 0 2rem 0;
        padding: 1.5rem 0;
    }
}