* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "Google Sans", sans-serif;
}

/*header*/
header {
  color: #03312e;
  background-image: url(../images/home/home4.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

/*navbar*/

.navbar-custom {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #03312e;
  z-index: 1000;
}

.navbar-brand img {
  margin-top: 10px;
}

.navbar-brand {
  font-size: 28px;
  color: #ffffff;
}

.navbar-brand:hover {
  color: #5a9b71;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-size: 18px;
  margin-left: 15px;
  margin-right: 15px;
}

.navbar-nav .nav-link:hover {
  color: #5a9b71;
}

.dropdown-item:hover {
  color: #5a9b71;
}

.dropdown-item:active {
  color: #ffffff;
  background-color: #03312e;
}

.navbar-toggler {
  background-color: #f4f4f4;
}

.navbar-toggler-icon {
  background-color: #ffffff;
}

/*home*/
.home-content {
  max-width: 500px;
  color: #002b24;
}

.home-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.home-content p {
  font-size: 1.5rem;
  line-height: 1.5;
}

/*Seccion Nosotros*/

.nosotros-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.container-1 {
  max-width: 1100px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* --- Seccion Nosotros - columna derecha ---*/
.perfil-col {
  flex: 1;
  text-align: center;
  max-width: 350px;
}

.foto-container img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.separador-corto {
  width: 250px;
  height: 1px;
  background-color: #5a9b71;
  margin: 10px auto;
}

.cargo-etiqueta {
  color: #5a9b71;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
  font-weight: 400;
}

.nombre {
  color: #03312e;
  font-size: 1.8rem;
  margin: 5px 0;
  font-weight: 700;
}

.profesion {
  color: #5a9b71;
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 0;
}

/* --- Seccion nosotros - Columna Derecha ---*/
.info-col {
  flex: 2;
}

.titulo-wrapper {
  margin-bottom: 30px;
}

.titulo-seccion {
  color: #03312e;
  font-size: 2.2rem;
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.linea-verde {
  width: 100px;
  height: 4px;
  background-color: #5a9b71;
}

.descripcion {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #03312e;
}

/*Seccion Servicios*/

.grid-main-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 40vh);
  width: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
  background-color: #03312e;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.s1 {
  background-image: url(../images/servicios/impuestos.jpg);
}
.s2 {
  background-image: url(../images/servicios/contabilidad.jpg);
}
.s3 {
  background-image: url(../images/servicios/gestiones.jpg);
}
.s4 {
  background-image: url(../images/servicios/auditoria.jpg);
}
.s5 {
  background-image: url(../images/servicios/finanzas.jpg);
}
.s6 {
  background-image: url(../images/servicios/crisis.jpg);
}
.s7 {
  background-image: url(../images/servicios/humanos.jpg);
}
.s8 {
  background-image: url(../images/servicios/precio.jpg);
}
.s9 {
  background-image: url(../images/servicios/eeuu.jpg);
}
.s10 {
  background-image: url(../images/servicios/uruguay.jpg);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  transition: background-color 0.3s ease;
}

.service-card:hover .overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.overlay h2 {
  font-size: 2.2rem;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.line {
  width: 100px;
  height: 4px;
  background-color: #5a9b71;
  margin: 15px 0;
}

.btn-ver {
  border: 1px solid #ffffff;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-ver:hover {
  background-color: #5a9b71;
  color: #03312e;
}

/*Seccion Clientes*/
.clientes-section {
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.titulo-contenedor {
  margin-bottom: 50px;
}

.titulo-contenedor h2 {
  color: #03312e;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.linea-verde-1 {
  width: 100px;
  height: 4px;
  background-color: #5a9b71;
  margin: 0 auto;
}

/*Seccion clientes - Carrusel*/

.slider {
  width: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 40s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;
}

.slide {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.slide img {
  max-width: 100%;
  height: auto;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.slide img:hover {
  filter: grayscale(0%);
}

/*Seccion clientes - Animacion*/

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6));
  }
}

/*Seccion oportunidad laboral*/

.oportunidades-section {
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
}

.container-2 {
  max-width: 900px;
  margin: 0 auto;
}

.titulo {
  color: #03312e;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
}

.linea-verde-2 {
  width: 100px;
  height: 4px;
  background-color: #5a9b71;
  margin: 0 auto 35px auto;
}

.texto-informativo {
  color: #03312e;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.email-link {
  color: #5a9b71;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #03312e;
  text-decoration: underline;
}

/*Seccion Contacto*/

.contacto-section {
  background-color: #5a9b71;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.container-3 {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: 80px;
}

/*Seccion contacto - formulario*/
.col-form {
  flex: 1.2;
}

.titulo-1 {
  font-size: 2.2rem;
  color: #03312e;
  margin: 0 0 5px 0;
  font-weight: 700;
  letter-spacing: 1;
}

.linea-blanca {
  width: 100px;
  height: 4px;
  background-color: #eeeeee;
  margin-bottom: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: none;
  background-color: #eeeeee;
  font-size: 1rem;
  color: #888;
  box-sizing: border-box;
  font-family: inherit;
}

.row-inputs {
  display: flex;
  gap: 15px;
}

.row-inputs input {
  flex: 1;
}

textarea {
  resize: none;
}

.btn-container {
  display: flex;
  justify-content: flex-end;
}

.btn-enviar {
  background-color: #03312e;
  color: #eeeeee;
  border: none;
  padding: 12px 35px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-enviar:hover {
  background-color: #eeeeee;
  color: #03312e;
}

/*Seccion contacto - Info*/
.col-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 50px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #eeeeee;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.icon-circle i {
  color: #03312e;
  font-size: 1.2rem;
}

.info-text {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

.info-text.bold {
  font-weight: bold;
}

.info-text.light-green {
  font-weight: bold;
}

.addresses p {
  margin: 5px 0;
  font-weight: bold;
}

/*Page servicios*/

/*Header - Servicios*/
.header-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #03312e;
  background-image: url(../images/home/home3.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
}

.header-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home-content-2 {
  position: relative;
  z-index: 2;
  text-align: center;
}

.home-content-2 h2 {
  color: #03312e;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/*Main - Servicios*/
/* Altura uniforme para todos los bloques */
.service-image,
.service-text {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloques con Imagen */
.service-image {
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay h2 {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.line {
  width: 100px;
  height: 2px;
  background-color: #5a9b71;
  margin-top: 10px;
}

/* Bloques de Texto */
.service-text {
  background-color: #eeeeee;
  padding: 40px;
}

.list-plus {
  list-style: none;
  padding: 0;
}

.list-plus li {
  padding-left: 25px;
  margin-bottom: 12px;
  position: relative;
  font-size: 1.05rem;
  color: #03312e;
}

.list-plus li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #5a9b71;
}

/*Footer*/
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: #ffffff;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 250px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-text h3 {
  font-size: 1.1rem;
  color: #03312e;
  margin: 0;
  font-weight: 500;
}

.footer-section h4 {
  margin-bottom: 10px;
  color: #5a9b71;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #03312e;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

.social-icons a:hover {
  color: #5a9b71;
}

small {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  color: #03312e;
}

small i {
  color: #5a9b71;
}

/*media queries*/

/*home*/

@media (max-width: 768px) {
  .header {
    background-position: 70% center;
    padding-left: 5%;
  }
  .home-content h1 {
    font-size: 2.5rem;
  }
}

/*navbar*/
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 22px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/*Seccion Nosotros*/
@media (max-width: 768px) {
  .container-1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-col {
    text-align: left;
  }

  .titulo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*Seccion Servicios*/

@media (max-width: 768px) {
  .grid-main-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 30vh); /* 10 filas en vertical */
  }

  .overlay h2 {
    font-size: 1.5rem;
  }
}

/*Seccion Clientes*/
@media (max-width: 768px) {
  .slide {
    width: 150px;
  }
  .slide-track {
    width: calc(150px * 12);
  }
  @keyframes scroll {
    100% {
      transform: translateX(calc(-150px * 6));
    }
  }
}

/*Seccion Opotunidad laboral*/
@media (max-width: 768px) {
  .texto-informativo {
    font-size: 1rem;
  }

  br {
    display: none;
  }
}

/*Seccion contacto*/
@media (max-width: 768px) {
  .container-3 {
    flex-direction: column;
  }

  .col-info {
    padding-top: 0;
  }
}

/*Pages servicios*/
@media (max-width: 990px) {
  .home-content-2 h2 {
    font-size: 2rem;
    letter-spacing: 1px;
    white-space: normal;
  }
}

@media (max-width: 990px) {
  .service-image,
  .service-text {
    min-height: 300px;
  }

  .order-md-1 {
    order: 2 !important;
  }
  .order-md-2 {
    order: 1 !important;
  }
}
