body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 600px) {
    body {
      background-color: lightblue;
    }
  }
  /* Estilos para pantallas medianas */
  @media (min-width: 601px) and (max-width: 1024px) {
    body {
      background-color: lightgreen;
    }
  }
  @media (min-width: 1025px) {
    body {
      background-color: rgb(178, 178, 178);
    }
  }
  

  .top-nav {
    background-color: #000000;
    color: #d1d4d9;
    padding: 10px 10px;
    text-align: center;
    font-size: 0.9em;
    position: fixed;
    width: 99%;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.top-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav span {
    margin-right: auto;
}

.social-icons a {
    color: #0dff00;
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #44ff00;
}

.navbar {
    margin-top: 40px; 
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d3d3d3;
    padding: 10px 0px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 20px rgba(11, 39, 68, 0.413);
    transition: background-color 0.3s;
}

.navbar:hover {
    background-color: #f6fbff;
}

.logo img {
    height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.0);
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #000000;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

.menu a:hover {
    color: #ffffff;
    background-color: #000000;
    border-radius: 10px;
    transform: translateY(-3px);
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff6f6;
    margin: 4px 0;
    transition: transform 0.3s;
}

.menu-toggle:hover .bar {
    transform: scaleX(1.2);
}


.about-us {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1800px;
    margin: 0 auto;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-image {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(20, 32, 101, 0.7));
}

.content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    padding: 30px;
    color: white;
    z-index: 2;
}

.title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-card:hover .title {
    transform: translateY(-5px);
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ffffff, #1b396b);
    margin: 15px 0;
    transition: width 0.3s ease;
    text-align: justify;
}

.hero-card:hover .divider {
    width: 80px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    text-align: justify;
}

.hero-card:hover .description {
    transform: translateY(0);
    opacity: 1;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 60px 20px;
    }
    
    .hero-card {
        max-width: 100%;
    }
    
    .content {
        padding: 25px;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 40px 15px;
    }
    
    .title {
        font-size: 1.4rem;
    }
}

.values {
    background: linear-gradient(to bottom, #d2d5da, #e4e8ed);
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 30px auto;
    text-align: center;
    max-width: 1200px;
}

.values h2 {
    font-size: 2.3rem;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.values h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #31689c;
    border-radius: 3px;
}

.solution-grid,
.value-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-bottom: 40px;
}

.solution-item,
.value-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: calc(33% - 25px);
    text-align: center;
    border-top: 3px solid #3c759b;
}

.solution-item:hover, 
.value-item:hover {
    background-color: #1f4e83;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-item h3,
.value-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.solution-item p,
.value-item p {
    color: #000000;
    line-height: 1.6;
    transition: color 0.3s;
    text-align: justify;
}

.solution-item:hover p,
.value-item:hover p,
.solution-item:hover h3,
.value-item:hover h3 {
    color: #ffffff;
}

/*estilos responsivos para apartadas de pantallas digitales para telefonia*/
@media (max-width: 900px) {
    .solution-item,
    .value-item {
        width: calc(50% - 25px);
    }
}

/*responsiva para cualquier dispositivo*/
@media (max-width: 600px) {
    .solution-item,
    .value-item {
        width: 100%;
    }
    
    .values h2 {
        font-size: 2rem;
    }
}

/*seccion para footer fianl y responisvo*/
.about-section {
    background: linear-gradient(145deg, #0e1e2d, #15273d);
    padding: 80px 5%;
    border-radius: 24px;
    margin: 40px auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    width: 89%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

/* rotacion de footer para parte fianl*/
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #28549b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(77, 171, 247, 0.2);
}

.contact-card:hover::after {
    opacity: 1;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, transparent);
}

.contact-header svg {
    color: #2c6ebf;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-header h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-content p {
    color: #e9ecef;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 15px 0;
    letter-spacing: 0.03em;
    position: relative;
    padding-left: 15px;
}

.contact-content p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
}

.contact-content span {
    color: #3487ca;
    font-weight: 600;
    display: inline-block;
    min-width: 70px;
    margin-right: 8px;
}

/*----------------------------------------------------ICONOS-----------------------------------------------------------------------------------*/
.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icon {
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Efecto de brillo sutil */
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
    transition: left 0.7s ease;
}

/* Efecto de pulso sutil */
.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1);
    }
}

/* Colores específicos para cada plataforma en hover */
.social-icon.tiktok:hover {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(255, 0, 128, 0.4));
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 10px 25px -8px rgba(255, 0, 128, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(145deg, 
                rgba(131, 58, 180, 0.4), 
                rgba(253, 29, 29, 0.4), 
                rgba(252, 176, 69, 0.4));
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 10px 25px -8px rgba(225, 48, 108, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-icon.facebook:hover {
    background: linear-gradient(145deg, rgba(24, 119, 242, 0.4), rgba(66, 103, 178, 0.4));
    border-color: rgba(66, 103, 178, 0.5);
    box-shadow: 0 10px 25px -8px rgba(66, 103, 178, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-icon.twitter:hover {
    background: linear-gradient(145deg, rgba(29, 161, 242, 0.4), rgba(0, 0, 0, 0.9));
    border-color: rgba(29, 161, 242, 0.5);
    box-shadow: 0 10px 25px -8px rgba(29, 161, 242, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-icon.linkedin:hover {
    background: linear-gradient(145deg, rgba(10, 102, 194, 0.4), rgba(0, 119, 181, 0.4));
    border-color: rgba(10, 102, 194, 0.5);
    box-shadow: 0 10px 25px -8px rgba(10, 102, 194, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-icon.youtube:hover {
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.4), rgba(205, 32, 31, 0.4));
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 25px -8px rgba(255, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Efecto hover general */
.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover::after {
    animation: none;
    opacity: 0;
}

.social-icon svg {
    width: 26px;
    height: 26px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    z-index: 2;
    position: relative;
}

.social-icon:hover svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Color específico para cada icono en estado normal */
.social-icon.tiktok svg { color: rgba(255, 255, 255, 0.9); }
.social-icon.instagram svg { color: rgba(255, 255, 255, 0.9); }
.social-icon.facebook svg { color: rgba(255, 255, 255, 0.9); }
.social-icon.twitter svg { color: rgba(255, 255, 255, 0.9); }
.social-icon.linkedin svg { color: rgba(255, 255, 255, 0.9); }
.social-icon.youtube svg { color: rgba(255, 255, 255, 0.9); }

/* Efecto de carga inicial */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icon {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Retraso escalonado para cada icono */
.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }
.social-icon:nth-child(5) { animation-delay: 0.5s; }
.social-icon:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 14px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 12px;
    }
    
    .social-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Para modo oscuro/claro automático */
@media (prefers-color-scheme: light) {
    .social-icon {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    
    .social-icon svg {
        color: rgba(0, 0, 0, 0.8);
    }
}
/*-------------------------------------------------------------------------------------------------------------------------------------------*/


/* WhatsApp específico */
.social-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
}

.social-icon.whatsapp-icon:hover {
    background: rgba(37, 211, 102, 0.2);
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}

/*parte responiva para iconos de diferentes estilos*/
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        border-radius: 20px;
        gap: 30px;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 30px;
    }
    
    .contact-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 15px;
        border-radius: 16px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .social-icon {
        width: 46px;
        height: 46px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

.icon {
    width: 32px;
    height: 32px;
    margin: 10px;
    fill: #ffffff;
    cursor: pointer;
  }
  .icon:hover {
    fill: #1e65bd;
  }
  
  
  
  
  
  
  
  
  
  /* Estilos para el menú hamburguesa */
#mobile-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    right: 20px;
    top: 60px;
    z-index: 1000;
}

.menu {
    display: flex;
    transition: all 0.3s ease;
}

/* Estilos para cuando el menú está abierto */
.menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 100px;
    right: 0;
    width: 100%;
    background-color: #d3d3d3;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.menu.active a {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    #mobile-menu {
        display: block;
    }
    
    .menu {
        display: none;
    }
    
    .navbar {
        padding: 10px 20px;
    }
    
    .menu.active {
        display: flex;
    }
}

@media (min-width: 769px) {
    .menu {
        display: flex !important;
    }
}