a {
    text-decoration: none;
    color: inherit;
  }
/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

#loader p {
    color: #e63946;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 2.5rem;
    color: #e63946;
    font-weight: 700;
}
.logo h1 .naranja{
color: #f39213;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}


   
.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.1rem; 
    font-weight: 700; 
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: rgb(249, 248, 255); 
    text-shadow:
        0px 1px 1px rgba(0, 40, 80, 0.7),  
        0px 2px 3px rgba(0, 40, 80, 0.5),  
        0 0 12px rgba(0, 123, 255, 0.35),   
        0 0 22px rgba(255, 165, 0, 0.25),  
        0 0 32px rgba(230, 57, 70, 0.2);   
    letter-spacing: 1.2px; 
    text-transform: uppercase;
}




.btn-primary {
    background-color: #e63946;
    color: rgb(241, 240, 238);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #c1121f;
}

/* Sección de Expertos */
.expertos {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.expertos .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.expertos-info {
    flex: 1;
}

.expertos-img {
    flex: 1;
}

.expertos-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expertos h2 {
    color: #e63946;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.expertos p {
    margin-bottom: 1rem;
}

.expertos ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.expertos i{
  color: #f39213;
}

/* Sección de Servicios */
.servicios {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.servicios h2 {
    text-align: center;
    color: #e63946;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    position: relative;
}

.servicios h2 .highlight {
    color: #f39213;
}

.servicios h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f39213;
    margin: 10px auto 0;
    border-radius: 2px;
}

.servicios-description {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #555;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.servicio-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    background-color: #ffe4f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.servicio-icon i {
    font-size: 2.5rem;
    color: #f39213;
}

.servicio-card h3 {
    padding: 0;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.3rem;
}

.servicio-card p {
    padding: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #555;
}

.servicios-btn {
    text-align: center;
    margin-top: 3rem;
}

.btn-services {
    background-color: #f39213;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-services:hover {
    background-color: #e63946;
}

/* Galería */
.galeria {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.galeria h2 {
    text-align: center;
    color: #e63946;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    position: relative;
}

.galeria h2 .highlight {
    color: #f39213;
}

.galeria h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f39213;
    margin: 10px auto 30px;
    border-radius: 2px;
}

.galeria-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #555;
    font-weight: 600;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 15px;
    margin-bottom: 2rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.galeria-item-large {
    grid-column: span 1;
    grid-row: span 2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-btn {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: #f39213;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.btn-secondary:hover {
    background-color: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 105, 180, 0.4);
}

/* Sección de Contacto */
.contacto {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contacto h2 {
    text-align: center;
    color: #e63946;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contacto p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contacto-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: #e63946;
    font-size: 1.2rem;
}

.contacto h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Testimonios */
.testimonios {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonio {
    min-width: 300px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.testimonio-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonio-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonio-autor {
    font-weight: 600;
}

.testimonio-text {
    font-style: italic;
}

/* Footer */
footer {
    background-color: #003366; /* Dark Blue */
    color: white;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info i {
    margin-right: 10px;
    color: #007BFF; /* Blue */
}

.footer-map {
    grid-column: span 3;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 1rem;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-copyright {
    grid-column: span 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #e63946;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 5vh;
    right: 2vw;
    z-index: 1000;
    animation: float 2s infinite ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3vh); /*  */
  }
  100% {
    transform: translateY(0);
  }
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 2rem;
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: white;
        height: calc(100vh - 70px);
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 15px;
    }

    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: #ffecf1;
        color: #e63946;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px;
        transition: all 0.3s ease;
    }
    
    /* Burger animation when menu is active */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: #e63946;
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: #e63946;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .expertos .container {
        flex-direction: column;
    }

    .expertos-info {
        order: 2;
    }

    .expertos-img {
        order: 1;
    }

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .galeria-item-large {
        grid-column: span 2;
    }

    footer .container {
        grid-template-columns: 1fr;
    }
    
    .footer-map,
    .footer-copyright {
        grid-column: 1;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-item-large {
        grid-column: 1;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}