/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: rgb(78 116 223 / 50%); 
    color: #fff;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #28a745; /* Verde */
}

main {
    padding-top: 4rem;
    padding: 2rem;
}

footer {
    background-color: #004080; /* Azul oscuro */
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}



/* Estilos para el slider */
/* Estilos para el slider */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    padding: 18px;
    margin-bottom: 2rem;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}
.slide h2{
    color: #f0f2f5;
}

.slider-nav {
    position: absolute;
    bottom: 1rem;
    width: 95%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-nav button:hover {
    background-color: #28a745; /* Verde */
}

.slider-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dots button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    padding: 0.5rem;
    margin: 0 0.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dots button.active {
    background-color: #28a745; /* Verde */
}

/* Estilos para las secciones */
section {
    margin-bottom: 4rem;
}

section h2 {
    color: #004080; /* Azul oscuro */
    border-bottom: 2px solid #28a745; /* Verde */
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Estilos para la sección de servicios */
#services-list {
    display: flex;
    flex-wrap: wrap;
}

.service {
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 1rem;
    padding: 1rem;
    width: calc(33.333% - 2rem);
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    color: #004080; /* Azul oscuro */
}

/* Estilos para el formulario de contacto */
#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form label {
    margin-top: 1rem;
    color: #004080; /* Azul oscuro */
    font-weight: bold;
}

#contact-form input, #contact-form textarea {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: #28a745; /* Verde */
    outline: none;
}

#contact-form button {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #004080; /* Azul oscuro */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #28a745; /* Verde */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .service {
        width: 100%;
    }
}

.servicios-table {
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.servicios-table h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.servicios-table table {
    width: 100%;
    border-collapse: collapse;
}

.servicios-table th, .servicios-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.servicios-table th {
    background-color: #007BFF;
    color: white;
}

.servicios-table tr:hover {
    background-color: #f1f1f1;
}


/* servicios */
.servicios-modulo {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.servicios-modulo h2 {
    font-size: 2em;
    color: #5b07f7;
    margin-bottom: 30px;
}

.servicios-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.servicio {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.servicio img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.servicio h3 {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 10px;
}

.servicio p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design menu*/
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #004080;
        width: 100%;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 0;
        padding: 1rem;
        border-bottom: 1px solid #fff;
    }

    .menu li a {
        color: #fff;
    }

    .service {
        width: 100%;
    }
}

/* logo*/
.logo {
    max-width: 150px;
    margin-right: 20px;
    float: left;
}
.description {
    flex: 1;
}

.servicios-contables {
  font-family: Arial, sans-serif;
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tabla-planes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.tabla-planes th, .tabla-planes td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.tabla-planes th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.tabla-planes tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tabla-planes tr:hover {
  background-color: #f1f1f1;
}

.destacado td {
  background-color: #e9ecef;
  font-weight: bold;
  text-align: left;
}

.tabla-planes td:first-child {
  text-align: left;
  font-weight: 500;
}

.presentacion-empresa {
  font-family: 'Arial', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: #333;
  line-height: 1.6;
}

.mision-principal {
  background-color: #f8f9fa;
  border-left: 4px solid #2c3e50;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.servicios-destacados {
  list-style-type: none;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.servicios-destacados li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.icono {
  color: #2c3e50;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.compromiso {
  font-style: italic;
  color: #2c3e50;
  font-weight: 500;
}

.valores-corporativos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.titulo-seccion {
  color: #2c3e50;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 0.5rem;
  margin-top: 0;
  font-size: 1.3rem;
}

.texto-valor {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .valores-corporativos {
    grid-template-columns: 1fr;
  }
}

.presentacion-empresa {
  font-family: 'Segoe UI', Roboto, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  color: #333;
  line-height: 1.6;
}

.encabezado-destacado {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icono-empresa {
  font-size: 2.5rem;
}

h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin: 0;
}

.destacado {
  color: #e74c3c;
  font-weight: bold;
}

.texto-intro {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #34495e;
}

.servicios-destacados {
  list-style-type: none;
  padding-left: 0;
  margin: 2rem 0;
}

.servicios-destacados li {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background-color: #f8f9fa;
  border-left: 4px solid #3498db;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.servicios-destacados li:hover {
  background-color: #e8f4fc;
  transform: translateX(5px);
}

.icono {
  color: #3498db;
  font-weight: bold;
}

.valores-corporativos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.tarjeta {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta-encabezado {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icono-tarjeta {
  font-size: 1.5rem;
}

.titulo-seccion {
  color: #2c3e50;
  margin: 0;
  font-size: 1.3rem;
}

.texto-valor {
  color: #34495e;
  line-height: 1.5;
}

.compromiso-destacado {
  background-color: #2c3e50;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.icono-compromiso {
  font-size: 2rem;
}

.compromiso {
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .valores-corporativos {
    grid-template-columns: 1fr;
  }
  
  .encabezado-destacado {
    flex-direction: column;
    text-align: center;
  }
}
</style>