/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'lato-bold';
  src: url('../fonts/Lato/Lato-Black.ttf');
}

@font-face {
  font-family: 'lato-black';
  src: url('../fonts/Lato/Lato-Black.ttf');
}

@font-face {
  font-family: 'lato-light';
  src: url('../fonts/Lato/Lato-Light.ttf');
}

@font-face {
  font-family: 'thin';
  src: url('../fonts/Lato/Lato-Thin.ttf');
}

@font-face {
  font-family: 'bold-italic';
  src: url('../fonts/Lato/Lato-BoldItalic.ttf');
}

:root {
  --primary-color: #00204C;
  --secondary-color: #E1A122;
  --accent-color: #f00;
  --background-color: #f9f9f9;
  --text-color: #333;
  --font-size: 16px;
  --font-size-text: 1.2rem;
  --font-family-titulo: 'lato-bold';
  --font-family-regular: 'lato-light';
  --font-family-black: 'lato-black';
  --font-family-thin: 'thin';
  --font-family-boldItalic: 'bold-italic'
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: var(--font-family-regular);
}

/*
 * Remove text-shadow in selection highlight:
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Estilos principales */
html,
body {
  font-family: var(--font-family-regular);
  line-height: 1.7em;
}

/* Utilidades */
.container {
  margin: auto;
  max-width: 1100px;
  overflow: auto;
  /* padding: 0 20px; */
}

.clr {
  clear: both;
}

.btn-primary {
  display: inline-block;
  font-size: 18px;
  font-family: var(--font-family-black);
  color: #fff;
  background-color: var(--primary-color);
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary {
  display: inline-block;
  font-size: 18px;
  font-family: var(--font-family-black);
  color: var(--primary-color);
  background-color: var(--secondary-color);
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);

}

.lead {
  font-size: 20px;
}

a {
  color: #333;
  text-decoration: none;
  font-size: 20px;
  font-family: var(--font-family-regular);
}

a:hover {
  color: #0E255E;
}

h1,
h2,
h3 {
  padding: 0.8rem 2rem;
  color: var(--secondary-color);
  font-family: var(--font-family-titulo);
}

p {
  margin: 10px 0;
}

.text-secondary {
  color: var(--secondary-color);
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
  text-align: center;
}

.container-header {
  display: flex;
  align-items: flex-start;
  padding: 0 50px;
  margin: 0;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: var(--font-family-titulo);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  flex-direction: row;
  justify-content: flex-end;

}

.container-header a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-family-thin);
  font-size: 15px;
}


#navbar {
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: space-between;
  height: auto;
  align-items: center;
  padding: 10px 20px;
}

#navbar a {
  color: white;
  font-family: var(--font-family-thin);
  font-weight: bold;
}

#navbar h1 {
  float: left;
  padding-top: 30px;
}

/* #navbar ul {
  list-style: none;
  padding: 20px;
  text-align: center;
  float: right;
  display: flex;
} */
#navbar ul li {
  /* float: left; */
  display: inline-block;
  margin: 0 20px;
}

#navbar ul li a {
  display: block;
  padding: 20px 20px 5px 10px;
  text-align: center;
}

#navbar ul li a:hover,
#navbar ul li a.current {
  border-bottom: 3px solid var(--secondary-color);
}

.nav-toggle .bar {
  background-color: #000;
  height: 4px;
  width: 36px;
  margin: 3px;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.select-container {
  position: relative;
  display: inline-block;
}

.select-container img {
  width: 30px;
  height: 20px;
}

/*styles contact-whatsapp*/
#contact-whatsapp {
  position: relative;
  margin: 1rem;
}

#contact-whatsapp i {
  color: #25D366;
}

.select-container select {
  width: 150px;
  padding: 5px;
  font-size: 16px;
  cursor: pointer;
  background-color: transparent;
  color: var(--secondary-color);
  border-style: none;
  outline: none;
  margin: 20px 0px;
}

.select-container select .option1 {
  background-color: transparent;
}

.select-container select .option1::marker {
  background-color: transparent;
}

.select-container .selected-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* estilos show case */
#showcase {
  position: relative;
  width: 100%;
  background: url('../img/notaria1.jpg') no-repeat center center/cover;
  height: 750px;
  animation-name: fondo;
  animation-duration: 8s;
  animation-iteration-count: 5s;
  animation-direction: alternate;
  transition: transform .2s;
}

@keyframes fondo {
  0% {
    background: url('../img/template4.jpg') no-repeat center center/cover;
  }

  /* 10% {  background: url('../img/template4.jpg') no-repeat center center/cover;} */
  /* 20% {  background: url('../img/template7.png') no-repeat center center/cover;}
  30% {  background: url('../img/template4.jpg') no-repeat center center/cover;}
  40% {  background: url('../img/template4.jpg') no-repeat center center/cover;}
  50% {  background: url('../img/template4.jpg') no-repeat center center/cover;} */

}

#showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.247);
}

#showcase .container-showcase {
  margin: 0 0;
  padding: 0 0;
  height: 100%;
  width: 100%;

}

#showcase .showcase-content {
  position: relative;
  z-index: 1;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  background: rgba(255, 255, 255, 0.075);
  justify-content: center;
  align-items: center;
  margin: 0rem;
  width: 100%;
  height: 100%;
}

/* estilos grid-container */
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  gap: 5px;
  padding: 10px;
}

.info-content {
  display: none;
}

.grid-container>div {
  text-align: center;
  padding: 20px;
  width: auto;
  height: 10rem;
  animation: fadeInt 2s ease-in-out;
  animation-fill-mode: forwards;
  color: var(--primary-color);
  font-family: var(--font-family-boldItalic);
  font-size: 1.2rem;
  text-align: center;
}

@keyframes fadeInt {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    /* background-color: rgba(252, 182, 77, 0.548);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
    color: #01001f;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  }
}

.item8d {
  grid-area: 1 / 2 / 5 / 6 !important;
  background-color: rgba(3, 3, 39, 0.63) !important;
  color: white !important;
  font-weight: bold !important;
  margin: 1em !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 10%;
}

.item8d span {
  font-size: 3rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  text-shadow: 0.3rem 0.3rem 0.6rem rgba(0, 0, 0, 0.7);
  position: absolute !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  transform: translateZ(2rem) !important;
  opacity: 0;
  letter-spacing: 2rem;
}

/*animacion para cada uno delos textos*/
.heading1 {
  animation: animarEncabezado 12s 3s infinite;
}

.heading2 {
  animation: animarEncabezado 12s 6s infinite;
}

.heading3 {
  animation: animarEncabezado 12s 9s infinite;
}

.heading4 {
  animation: animarEncabezado 12s 12s infinite;
}

/*animacion span headers*/
@keyframes animarEncabezado {
  0% {
    transform: translatez(6rem);
    opacity: 0;
    letter-spacing: 2rem;
  }

  3% {
    transform: translatez(6rem);
    opacity: 1;
    letter-spacing: 1rem;
  }

  25% {
    transform: translatez(6rem);
    opacity: 0;
    letter-spacing: 1.5rem;
  }

  35% {
    transform: translatez(6rem);
    opacity: 0;
    letter-spacing: 2rem;
  }

  100% {
    transform: translatez(6rem);
    opacity: 0;
    letter-spacing: 2rem;
  }
}

.item1,
.item2,
.item10,
.item15 {
  background-color: transparent !important;
  overflow: hidden;
}

.item1,
.item2 {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

#showcase .showcase-content h1 {
  font-size: 60px;
  line-height: 1.4em;
  text-shadow: 5px 2px var(--primary-color);
}

#showcase .showcase-content p {
  padding: 30px;
  line-height: 1.7em;
}

/* estilos carrusel */
.carrusel {
  position: relative;
  width: auto;
  margin: 8rem 0 0 0;
  padding: 0;
  /* border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
  background: none;
  overflow: hidden;

}

.carrusel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
}

.carrusel h2 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-color);
  z-index: 1;
}

.carrusel .slider {
  display: flex;
  flex-direction: column;
  z-index: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto;
  padding: 20px 0;
  border-radius: 10px;
}

.slider ul {
  display: flex;
  padding: 0;
  margin: 0;
  width: 100%;
  /* animation: cambio 20s infinite alternate linear; */
  /* transition: transform 0.60s ease; */
  list-style: none;
}

.slider li {
  position: relative;
  width: calc(95% /2);
  flex: 0 0 calc(95% /2);
  list-style: none;
  transition: opacity 0.60s ease, transform 0.60s ease;
  margin-bottom: 10px;
  /* opacity: 0.4; */
  margin: 0 1em;
  border-radius: 10px;
}

.slider li:active {
  transform: scale(1.1);
  z-index: 1;
}

.slider li img {
  width: auto;
  height: 400px;
  border-radius: 10px;
  display: block;
  align-items: center;
  justify-content: center;
}

/* #img-carrusel .text-img-carrusel {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 35%;
  transform: translateX(-30%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
} */

#img-carrusel .text-img-carrusel {
  display: inline-block;
  position: absolute;
  bottom: 40px;
  left: 28%;
  transform: translateX(-50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
  margin: 0 5em;
  width: auto;

}

#img-carrusel .text-img-carrusel p {
  color: white;
  margin: 0;
  font-size: 1.2em;
  font-family: var(--font-family-thin);
  font-weight: bold;
}

.carrusel .puntos {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: .5em 0 0;
  padding: .5em;
}

.carrusel .punto {
  width: 1em;
  height: 1em;
  margin: 1em 1em 0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.puntos li {
  list-style: none;
}

.carrusel .punto.active {
  background-color: var(--secondary-color);
}

/* stilos Home */
#home-info {
  height: 600px;
  margin-top: 4rem;
  margin-left: 2rem;
}

#home-info .info-img {
  float: left;
  width: 45%;
  height: 100%;
  position: relative;
  background: url('../img/img3.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100%;
  border-radius: 0px 30px 0px 30px;
  padding: 20px 20px;
  margin: 30px 0px 5px 30px;
}

#home-info .info-img p {
  font-family: var(--font-family-titulo);
  padding: 20px 20px;
  font-size: 2rem;
  margin: 1rem;
  padding-top: 15rem;
  color: var(--primary-color);
  /* text-shadow: -0.1rem -0.4rem 0.1rem rgb(62, 62, 66); */
  transition: all 2s ease-out;
}

#home-info .info-img p:hover {
  transform: scale(1.1);
  color: var(--primary-color);
  text-shadow: -0.1rem -0.4rem 0.1rem rgb(62, 62, 66);
}

#home-info .info-content {
  float: right;
  width: 50%;
  height: 100%;
  text-align: left;
  padding: 30px 30px;
  overflow: hidden;
  text-align: justify;
}

.info-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  font-family: var(--font-family-parrafo);
}

#home-info .vl {
  border-left: 6px solid #9b6611;
  height: 350px;
}

/* features */
#features {
  padding: 100px 0;
}

.line-yellow {
  border: 0;
  height: 5px;
  background: var(--secondary-color);
  margin-bottom: 20px;
}

#features h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5em;
  margin-bottom: 50px;
}

.box-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.box {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Colores de fondo */
.bg-white {
  background-color: #fff;
}

.bg-yellow {
  background-color: var(--secondary-color);
}

/* Estilo para los iconos */
.box i {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Título de las características */
.box h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Descripción de las características */
.box p {
  color: var(--primary-color);
  font-size: 1em;
  line-height: 1.5;
}


/* Section services */
#services {
  width: 100%;
  align-items: center;
  padding-top: 50px;
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--font-family-titulo);
  color: var(--primary-color);
  text-align: center;
}

#services h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  padding: 5rem 2rem;
  font-family: var(--font-family-titulo);
  color: var(--secondary-color);
}

#services p {
  font-size: 1.5rem;
  margin: 20px 10px;
  padding: 0 10rem;
  font-family: var(--font-family-boldItalic);
  color: var(--secondary-color);
  align-items: center;
}

#services ul li {
  list-style: none;
  font-size: 1.0rem;
  font-family: var(--font-family-regular);
  align-items: center;
}

#services .box-services {
  float: left;
  display: flex;
  width: 35%;
  padding: 0px;
  margin: 3rem 7rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

#services .img-services {
  display: inline-block;
  width: 100%;
  position: relative;
}

.image {
  width: 100%;
  height: 450px;
}

#services .text-services {
  padding: 20px;
  text-align: justify;
  font-size: 1rem;
  font-family: var(--font-family-texto);
  color: #333;
  text-align: justify;
}

#services .text-services h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: var(--font-family-boldItalic);
  color: var(--secondary-color);
  margin-left: 2rem;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
  opacity: 0.8;
}

.overlay button {
  display: block;
  float: left;
  margin: 2px 2rem;
  width: 10rem;
  height: 2px;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: #fff;
  cursor: pointer;
}

.box-services .btn-primary {
  float: left;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 0 auto;
  width: 30%;
  height: 3.5rem;
}

.btn-primary:hover i {
  color: #fff;
}


#services .img-services:hover .overlay {
  width: 100%;
}

/* Footer */
#main-footer {
  text-align: center;
  background: var(--primary-color);
  color: #E1A122;
  padding: 10px;
}

#main-footer a {
  color: #fff;
}

#main-footer a:hover {
  color: #E1A122;
}

#main-footer hr {
  border: 2px solid var(--secondary-color);
  width: 15em;
  margin: 20px auto;
}

.col-1 {
  float: left;
  width: 33.3%;
  padding: 20px;
}

#main-footer ul li {
  list-style: none;
  padding: 5px;
}

.row3-icon {
  font-size: 24px;
  width: 20em;
  height: auto;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  margin: auto;
}

i {
  color: var(--secondary-color);
  margin: 10px 10px;
}

/* contact */
#showcase-contact {
  position: relative;
  width: 100%;
  background: url('../img/slider3.jpg') no-repeat center center/cover;
  height: 200px;
}

#showcase-contact h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}

#showcase-contact::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#showcase-contact .showcase-content-contact {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 3.1em 3em;
  margin: 0;
  background: rgba(0, 0, 0, 0.7);
}

#container-contact {
  margin: 5rem 10rem;
  font-family: var(--font-family-regular);
}

#container-contact .container-row {
  position: relative;
  float: right;
  width: 50%;
  margin: 2rem 2rem;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.container-row h1 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding: .5em;
}

form {
  max-width: 95%;
  padding: 50px;
  border-radius: 10px;
  font-size: 18px;
  opacity: 0.8;
}

.container-row input::after {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.container-row label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.container-row input,
textarea {
  width: 100%;
  height: 45px;
  padding: 10px;
  outline: none;
  border: 1px solid var(--secondary-color);
  transition: border-color 0.3s ease;
}

.container-row input:focus,
textarea:focus {
  box-shadow: 0 0 8px var(--secondary-color);
}

.container-row textarea {
  height: 200px;
}

button {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: rgb(62, 47, 3);
}

.campo-required::after {
  content: "*";
  color: red;
  padding: 5px;

}

/* estilos maps*/
#container-contact .ubicacion {
  float: left;
  width: 40%;
  height: 100%;
  padding-top: 20rem;
}

.ubicacion h1 {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 40px;
}

.ubicacion h3 {
  padding-top: 20px;
  color: var(--primary-color);
}

.ubicacion ul li {
  list-style: none;
  padding-left: 15px;
}

/* estyles Listas UIF */
.container-uif {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  margin: 40px;

}

.container-uif-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 30px;
  margin: 40px;
}

/* estyles ayuda en linea */
.container-ayuda {
  height: 600px;
  margin-top: 4rem;
  margin-left: 2rem;
}

#showcase-contact .showcase-content-ayuda {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 2.3em 3em;
  margin: 0;
  background: rgba(0, 0, 0, 0.7);
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: -1px;
}

#main .row-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 5rem 5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0 0 20% 20%;
  font-size: 1.2rem;
  font-family: var(--font-family-regular);
  text-align: center;
}

#main .row-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-family-boldItalic);
}

#main .container-ayuda-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 3rem 5rem;
  margin-top: -5rem;
  background-color: white;
  border-radius: 15% 15% 0 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#main .container-ayuda-row form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.container-ayuda-row input::after {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.container-ayuda-row label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.container-ayuda-row input,
textarea {
  width: 100%;
  height: 45px;
  padding: 10px;
  outline: none;
  border: 1px solid var(--secondary-color);
  transition: border-color 0.3s ease;
}

.container-ayuda-row input:focus,
textarea:focus {
  box-shadow: 0 0 8px var(--secondary-color);
}

.container-ayuda-row button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px 0;
}

.container-ayuda-row button:hover {
  background-color: var(--primary-color);
  color: white;
}

/********************Estilos about**************************/
#about-info {
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#about-info .info-img {
  height: 400px;
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: url('../img/template1.jpg') no-repeat;
  background-size: cover;
  border-radius: 50%;
  margin: 20px;
}

#about-info .info-content {
  height: 400px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px 30px;
  overflow: hidden;
}

#about-info .info-content p {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 600;
  margin: 20px 0;
}

#history {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: cover;
}

#history .container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#history .section-title {
  background-color: var(--primary-color);
  width: 100%;
  text-align: center;
  padding: 2em;
  font-size: 2.5rem;
  font-family: var(--font-family-boldItalic);
  color: var(--secondary-color);
  margin-bottom: -1rem;
}

#history .container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

#history .container .box {
  width: 50%;
}


/*navlist*/
#navbar .logo a {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

#nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-list li {
  margin: 0 10px;
}

#nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle .bar {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

#nav-list {
  display: flex;
}

@media(min-width: 769px) and (max-width: 1200px) {

  /*Navbar*/
  /*contacto*/
  #container-contact {
    font-family: var(--font-family-regular);
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    margin: 4rem 8rem;
  }

  #container-contact .ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: 100%;
    height: 100%;
    padding-top: 3rem;
  }

  #container-contact .container-row {
    display: flex;
    flex-direction: column;
    float: none;
    width: 100%;
    margin: 2px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    padding-top: 30px;
  }

  #nav-list {
    display: none;

    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: var(--primary-color);
  }

  #nav-list.active {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* show case */
  #showcase {
    height: 100%;
  }

  .grid-container,
  .showcase-content {
    display: none;
  }

  #showcase .showcase-content-1 {
    position: relative;
    z-index: 1;
    padding: 25px 18px;
    background: #fff;
    border-radius: 18px;
    margin: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 4px solid var(--secondary-color);
  }

  .info-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .info-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    align-items: center;
  }

  .info-content .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .info-content .info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }

  .info-content .info-item i {
  background: var(--secondary-color); 
  color: #fff;                        
  font-size: 1rem;
  padding: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

  .info-content p {
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    background: linear-gradient(90deg, #f97316, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
.rotating-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  position: relative;
  height: 2.5rem; 
  overflow: hidden;
  color: var(--primary-color);
}

.rotating-title span {
  all: unset; 
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  opacity: 0;
  animation: fadeSlide 6s infinite;
}

.rotating-title span:nth-child(1) {
  animation-delay: 0s;
}
.rotating-title span:nth-child(2) {
  animation-delay: 3s;
}

@keyframes fadeSlide {
  0%, 100% { opacity: 0; transform: translateY(20px); }
  10%, 40% { opacity: 1; transform: translateY(0); }
  50%, 90% { opacity: 0; transform: translateY(-20px); }
}


  /*slider*/
  .slider li {
    width: 100%;
    flex: 0 0 100%;
    list-style: none;
    transition: opacity 0.60s ease, transform 0.60s ease;
    margin-bottom: 10px;
    /* opacity: 0.4; */
    margin: 0;
    list-style: none;
    border-radius: 10px;
  }

  .slider li img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    display: block;
    align-items: center;
    justify-content: center;
  }

  /*carrusel*/
  #img-carrusel .text-img-carrusel {
    display: inline-block;
    position: absolute;
    bottom: 40px;
    left: 30%;
    transform: translateX(-40%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    /* margin: 0 5em; */
    width: 400px;
  }

  /*Features*/
  #features .box-settings {
    display: grid;
    justify-items: end;
    margin: 0px 2px;
  }

  .box {
    float: none;
    width: 100%;
  }

  #features .box-settings {
    display: flex;
    flex-direction: column;
    justify-items: end;
    margin: 0px 2px;
  }

  /*Services*/
  #services .img-services {
    float: none;
    width: 100%;
  }

  #services .info-content {
    float: none;
    width: 100%;
  }

  #services {
    display: flex;
    flex-direction: column;
    padding: 1rem .5rem;
  }

  .col-1 {
    float: none;
    width: 100%;
  }

  .row3-icon {
    width: auto;
    padding: auto;
  }

  #services p {
    font-size: 1.2rem;
    margin: 5px 5px;
    padding: 0 .2rem;
  }

  #services .box-services {
    float: none;
    display: flex;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    justify-content: flex-end;
    margin: 10px 0px;
  }

  #services .img-services {
    display: flex;
    width: 100%;
    position: relative;

  }

  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
    opacity: 0.8;
  }

  #services h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    padding: 3rem 1rem;
    font-family: var(--font-family-titulo);
    color: var(--secondary-color);
  }

  .overlay button {
    display: block;
    float: left;
    margin: 3rem 0 0 1rem;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
    animation-name: buttonBlue;
    animation-duration: .5s;
  }

  /*estilos formulario*/
  /* contact */
  /* #showcase-contact {
  position: relative;
  width: 100%;
  background: url('../img/slider3.jpg') no-repeat center center/cover;
  height: 200px;
}
#showcase-contact h1{
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}
#showcase-contact::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#showcase-contact .showcase-content-contact {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 3.1em 3em;
  margin: 0;
  background: rgba(0, 0, 0, 0.7);
} */

  #container-contact {
    margin: 1rem;
    font-family: var(--font-family-regular);
    display: flex;
    flex-direction: column-reverse;
  }

  #container-contact .container-row {
    display: flex;
    flex-direction: column;
    float: none;
    width: 100%;
    margin: 2px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }

  /* estilos maps*/
  #container-contact .ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: 100%;
    height: 100%;
    padding-top: 3rem;

  }

  .ubicacion h1 {
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 40px;
  }

  .ubicacion h3 {
    padding-top: 20px;
    color: var(--primary-color);
  }

  .ubicacion ul li {
    list-style: none;
    padding-left: 15px;
  }

  /*adicionales*/
  .container-header {

    justify-content: space-between;
  }
.info-content.showcase-content-1 {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.info-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.info-content span {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #222;
}

.info-content span i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content p {
  margin-top: 1.5rem;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  color: var(--secondary-color);
}
#about-info {
    height: auto;
    flex-direction: column;  
    align-items: center;
    padding: 20px 10px;
  }

  #about-info .info-img {
    width: 200px;             
    height: 200px;
    margin: 10px 0 20px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
  }

  #about-info .info-content {
    width: 100%;             
    height: auto;
    padding: 10px 15px;
    text-align: center;    
    
  }

  #about-info .info-content p {
    font-size: 1rem;          
    margin: 10px 0;
    line-height: 1.5;
  }

  /* History */
  #history .section-title {
    font-size: 1.5rem;      
    padding: 1rem;
  }

  #history .container {
    flex-direction: column;  
  }

  #history .container .box {
    width: 100%;            
    margin-bottom: 1rem;
  }
}