/* Estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Encabezado */
header {
    background-color: #200485; /* Color del header */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between; /* Logo a la izquierda, menú a la derecha */
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.menu-items {
    list-style: none;
    display: flex;
    gap: 20px; /* Espaciado entre elementos del menú */
}

.menu-items li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

.menu-items li a:hover {
    background-color: #f99c38;
    border-radius: 4px;
}

/* Banner */
.banner {
    height: 100vh;
    background: url('imagenes/Facturacion.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: flex-start; /* Texto alineado a la izquierda */
    align-items: center;
    color: #fff;
    padding-left: 50px; /* Ajusta este valor según sea necesario para dar espacio al texto */
    padding-top: 99px;
}

.banner-text {
    text-align: left; /* Alinea el texto a la izquierda */
    max-width: 40%;
    margin-bottom: 20px; 
}

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    padding-bottom: 10px; 
}

.banner-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color:#200485;
    padding-bottom: 10px;
}

/* Botones en la parte inferior del banner */
.btn-container {
    position: absolute;
    bottom: 15px;
    display: flex;
    gap: 20px;
}

.btn {
    background-color: #0066cc;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #004b99;
}

.btn-alt {
    background-color: #28a745;
}

.btn-alt:hover {
    background-color: #218838;
}

/* Sección "Sobre Nosotros" */
/* Sección "Sobre Nosotros" */
#nosotros {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Espacio entre las filas */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.about-block {
    background-color: #f0f0f0;
    padding: 15px; /* Reducción de espacio dentro del bloque */
    border-radius: 8px;
    flex: 1;
    text-align: center;
    min-width: 250px; /* Asegura que los bloques no se hagan demasiado pequeños */
}

.about-image {
    flex: 2; /* Imágenes más grandes */
    text-align: center;
}

.about-image img {
    width: 100%; /* Hacer que las imágenes ocupen todo el ancho disponible */
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Alineación de los textos dentro de los bloques */
.about-block h3 {
    font-size: 20px; /* Tamaño de fuente más pequeño */
    color: #333;
}

.about-block p {
    font-size: 16px; /* Tamaño de fuente más pequeño */
    color: #666;
    line-height: 1.5;
}

.about-block .counter {
    font-size: 28px; /* Tamaño de contador reducido */
    font-weight: bold;
    color: #200485;
}

/* Estilos para la pequeña descripción dentro de los bloques */
.about-block .highlighted-text {
    font-size: 0.8rem;
}

.about-block .highlighted-text .small-text {
    font-size: 0.6rem; /* Tamaño más pequeño */
    display: block;
    margin-top: 8px;
}



/* Sección "Servicios" */
.services-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.services-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    justify-content: space-around;
}

.service-item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 30%;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.1rem;
}

/* Sección "Preguntas Frecuentes" */
.faq-section {
    padding: 60px 0;
    background-color: #e6e6e6;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.8rem;
}

.faq-item p {
    font-size: 1.2rem;
}

/* Sección "Contacto" */
.contact-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-section button {
    background-color: #200485;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-section button:hover {
    background-color: #160a61;
}
