* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  
}

html, body {
    height: 100%; /* Asegura que el contenido ocupe toda la altura */
    margin: 0;
}
body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}



.main-container {
    flex: 1; /* Permite que este contenedor ocupe todo el espacio disponible */
    display: flex;
    flex-direction: column;
}

footer {
    background-color: #0056b3;
    color: white;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 calc(25% - 1rem);
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 2px solid #FFA500;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FFA500;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FFA500;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}





/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007BFF;
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
       height: 120px;
}

header h1 {
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 1px;
}


/* --- Menú de Navegación --- */

header .logo img {
    height: auto;
    width: 263px;
    margin-right: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s, transform 0.2s;
}

.nav-list li a:hover {
    color: #FFA500;
    transform: scale(1.1);
}

/* --- Botón del Menú con Animación --- */
.menu-toggle {
    display: block;           /* Asegura que el botón sea visible */
    background: none;         /* Elimina cualquier fondo por defecto */
    border: none;             /* Elimina el borde */
    color: white;             /* Color del icono */
    font-size: 1.8rem;        /* Tamaño estándar del icono */
    cursor: pointer;          /* Cursor tipo puntero */
    width: 40px;              /* Ancho fijo del botón */
    height: 40px;             /* Alto fijo del botón */
    text-align: center;       /* Centra el icono horizontalmente */
    line-height: 40px;        /* Centra el icono verticalmente */
}

.menu-toggle i {
    font-size: 1.8rem;        /* Tamaño estándar del icono */
    line-height: 1;           /* Evita desbordamiento vertical */
}


/* Botón de hamburguesa oculto por defecto */
.menu-toggle {
    display: none;
}

/* --- Menú Desplegable con Nueva Animación --- */
@media (max-width: 768px) {

.menu-toggle {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        background-color: #0056b3;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-20px);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .nav-list.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-list li {
        text-align: center;
        margin: 10px 0;
    }
}

/* --- Botón del Menú con Animación --- */


/* Responsive Design para el Menú */
@media (max-width: 768px) {

    .hero-logo{
    width: 50%;
}
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background-color: #0056b3;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 1000;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        text-align: center;
        margin: 10px 0;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 116vh;
    background: linear-gradient(to right, #007BFF, #00BFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #FFA500;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.hero .cta-button:hover {
    background: #FF8C00;
    transform: translateY(-5px);
}


/* --- Secciones Generales --- */
section {
   
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
    margin: 2rem 0;
    /* border-radius: 10px; */
    /* border-top-left-radius: 10px; */
    /* border-top-right-radius: 10px; */
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    top: -39px;
}

/* --- Rediseño del Formulario --- */
.contact form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 700px;
    margin: 2rem auto;
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact form textarea {
    grid-column: span 2;
    resize: vertical;
    height: 150px;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.contact form button {
    grid-column: span 2;
    padding: 1rem;
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
}

.contact form button:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Responsive Design para el Formulario */
@media (max-width: 600px) {
    .contact form {
        grid-template-columns: 1fr;
    }

    .contact form textarea,
    .contact form button {
        grid-column: span 1;
    }
}

/* --- Footer --- */
footer {
    background: #007BFF;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 1rem;
}

/* --- Sección de Servicios --- */
.service-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.8rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #FFA500;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #FF8C00;
}

.read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #FFA500;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #FF8C00;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more-btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

.more-content {
  display: none;
  margin-top: 15px;
}

.more-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.more-content ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* Mostrar contenido al hacer clic */
.service-card.show .more-content {
  display: block;
}

/* Rotar la flecha cuando se muestra el contenido */
.service-card.show .read-more-btn i {
  transform: rotate(180deg);
}

.more-content ul {
  list-style: none; /* Elimina las viñetas */
  padding-left: 0;  /* Elimina el espacio de padding a la izquierda */
}

.more-content ul li {
  margin-bottom: 10px;
  font-weight: 500;
}


/* Animación del mensaje */
#animation-container {
    position: fixed;
    font-size: 2rem;
    z-index: 1000;
    animation: flyToLogo 1s ease-out forwards;
    pointer-events: none;
}

.hidden {
    display: none;
}

@keyframes flyToLogo {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translate(calc(100vw - 100px), calc(-100vh + 50px));
    }
}


