body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}

@media (max-width: 600px) {
    body {
      background-color: lightblue;
    }
  }
  @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);
}

main {
    padding-top: 48px;
    text-align: center;
    background-color: #ffffff;
}


/* Estilos base */
.hero-section {
    position: relative;
    color: #ffffff;
    padding: 0 20px;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
    transform: translateY(-50px);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-title span {
    color: #215c94;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3471a3, transparent);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


.climate-control {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.buttons-container {
    display: flex;
    position: relative;
    z-index: 1;
}

.mode-btn {
    margin: 0;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Efecto de fondo animado */
.mode-btn::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: 0.5s;
    z-index: -1;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mode-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mode-btn:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mode-btn:hover .btn-icon {
    transform: rotate(15deg) scale(1.15);
}

/* Efecto de foco para accesibilidad */
.mode-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* Versión alternativa para modo oscuro */
.dark .mode-btn {
    color: #f0f0f0;
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark .mode-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Efecto de congelación */
.freeze-effect {
    position: relative;
    animation: coldFilter 1s forwards;
}

@keyframes coldFilter {
    0% { filter: brightness(1) blur(0); }
    100% { filter: brightness(0.8) blur(1px); }
}

/* Contenedor de nieve */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    transition: opacity 1s ease;
}

/* Copos de nieve */
.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    animation: snowfall linear infinite;
    top: -10px;
}

.snowflake-angular {
    border-radius: 30%;
    transform: rotate(45deg);
}

.snowflake-crystal {
    clip-path: polygon(50% 0%, 70% 30%, 100% 50%, 70% 70%, 50% 100%, 30% 70%, 0% 50%, 30% 30%);
}

@keyframes snowfall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

/* Contenedor principal (ajustado para perspectiva cenital) */
.heat-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.heat-effect {
    position: relative;
    animation: heatFilter 1s forwards;
}

@keyframes heatFilter {
    0% { filter: brightness(1) blur(0); }
    100% { filter: brightness(1.1) blur(1px); }
}

/* Contenedor de calor */
.heat-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    transition: opacity 1s ease;
}

.heat-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.61) 0%, rgba(255, 51, 0, 0.11) 70%);
    animation: heatWave 3s ease-out infinite;
    opacity: 0;
}

@keyframes heatWave {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Brillo de calor */
.heat-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(235, 118, 8, 0.692) 0%, rgba(255,100,0,0) 60%);
    animation: heatGlow 2s alternate infinite;
}

@keyframes heatGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mode-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        backdrop-filter: none;
    }
    
    .climate-indicator {
        display: none;
    }
    
    .mode-btn {
        background: rgba(255, 255, 255, 0.1);
    }
}

.mision-vision {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    padding: 50px 50px;
    gap: 40px; 
    background-color: #305d86;
    flex-wrap: wrap; 
}

.mision-vision .item {
    flex: 1;
    min-width: 300px; 
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mision-vision svg {
    width: 100px; 
    height: 100px;
    margin-bottom: 25px;
    stroke-width: 1.5; 
}

.mision-vision .vision svg {
    stroke-width: 2; 
    transform: scale(1.05); 
}

.mision-vision h3 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.mision-vision h4 {
    font-size: 1.3em; 
    color: #ffffff;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .mision-vision {
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
    }
    
    .mision-vision .item {
        width: 100%;
        padding: 25px;
    }
    
    .mision-vision svg {
        width: 80px;
        height: 80px;
    }
}

.services-section {
    background-color: #c6c7c8;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    font-size: larger;
    color: #000000; 
    padding: 20px;
    border-radius: 10px; 
    width: 99%;
}

.services-section {
    background-color: #f8f9fa;
    padding: 20px 10px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}


.service-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-text {
    color: #000000;
    line-height: 1.6;
}

.service-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    color: #000000;
    padding-top: 20px;
    border-radius: 22px;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 66, 104, 0.9) 0%, rgba(37, 83, 136, 0.9) 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #275d8a, #316392);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(201, 201, 201, 0.95) 0%, rgba(187, 187, 187, 0.95) 100%);
}



.service-card h3 {
    font-size: 2.2rem;
    color: #162f65;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2a507a, #ffffff);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.service-card:hover h3::after {
    width: 120px;
    background: linear-gradient(90deg, #2a507a, #ffffff);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-card img {
    width: 45%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.service-card:hover img {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Estilo de tarjeta con efectos (como el primer ejemplo) */
.service-card {
    background: linear-gradient(135deg, rgba(33, 86, 134, 0.9) 0%, rgba(231, 231, 231, 0.9) 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #275d8a, #316392);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(201, 201, 201, 0.95) 0%, rgba(187, 187, 187, 0.95) 100%);
}

.service-card h3 {
    font-size: 2.2rem;
    color: #162f65;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2a507a, #ffffff);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.service-card:hover h3::after {
    width: 120px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.service-img {
    width: 45%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.service-card:hover img {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.service-text {
    flex: 1;
}

.justificado {
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.9;
    text-align: justify;
}

/* Lista de equipos CON PUNTOS AZULES (estilo solicitado) */
.equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 20px;
}

.equipment-list li {
    position: relative;
    padding-left: 28px;
    color: #000000;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.equipment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #000000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.equipment-list li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.equipment-list li:hover::before {
    background-color: #2a507a;
    transform: translateY(-50%) scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .service-img {
        width: 100%;
        max-width: none;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
    }
    
    .service-img {
        height: 180px;
    }
    
    .equipment-list {
        grid-template-columns: 1fr;
    }
    
    .service-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .service-text {
        padding: 15px;
    }
}

/* Versión responsive */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .service-card img {
        width: 100%;
        max-width: 100%;
    }
    
    .service-card p {
        padding: 15px 0;
    }
    
    .service-card p::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 25px;
        margin: 20px 0;
    }
    
    .service-card h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

.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;
}

@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);
}

@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;
    }
}

.mode-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1em;
    color: #ffffff;
    background-color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.mode-btn:hover {
    background-color: #000000;
    transform: scale(1.1);
}

.snowflake {
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    background: rgb(255, 255, 255);
    opacity: 0.8;
    border-radius: 50%;
    pointer-events: none;
    animation: fall linear infinite;
    z-index: 2;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}


.heat-effect {
    background-color: #f6b69b;
    animation: heat 1s forwards;
}

@keyframes heat {
    from {
        filter: blur(0px);
    }
    to {
        filter: blur(5px) brightness(1.5);
    }
}
.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;
    }
}
