@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Thin.ttf);
  font-weight: 100;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-ExtraLight.ttf);
  font-weight: 200;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Light.ttf);
  font-weight: 300;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Medium.ttf);
  font-weight: 500;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-SemiBold.ttf);
  font-weight: 600;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-ExtraBold.ttf);
  font-weight: 800;
}
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Black.ttf);
  font-weight: 900;
}

::-moz-selection {
  /* Code for Firefox */
  color: #ffffff;
  background: #304c91;
}

::selection {
  color: #ffffff;
  background: #304c91;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: "Montserrat";
  overflow: hidden;
}

header {
  position: fixed;
  background-color: #ffffff;
  height: 100px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #304c91;
  font-family: "Montserrat";
  font-weight: 700;
  z-index: 999999;
}

header img {
  max-width: 20%;
  cursor: pointer;
  margin-left: 40px;
}

.bold {
  font-weight: 700;
}

.nav-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
}

.nav-items a {
  margin-right: 20px;
  padding: 5px;
  cursor: pointer;
}

.nav-items a:hover {
  color: #20315d;
}

.item {
  display: inline-block;
  position: relative;
}

.item::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, #304c91, #304c91);
  transition: transform 0.25s ease-out;
}

.item:hover::after {
  transform: scaleX(1);
}

.item::after {
  transform-origin: bottom right;
}

.item:hover::after {
  transform-origin: bottom left;
}

#header-contact-button {
  background-color: #304c91;
  background-size: 0% 100%;
  color: #ffffff;
  border-radius: 10px;
  line-height: 10%;
  font-weight: 800;
  padding: 20px;
  transition: all 0.5s;
  transition: background-color 0.5s;
}

#header-contact-button:hover {
  background-color: #20315d;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.7) 100%
  );
  background-repeat: no-repeat;
  background-size: 200% 100%;
  transition: background-size 1s, background-color 1s;
}

.hero {
  height: 80vh;
  width: 100%;
  background-image: url(../images/hero.webp);
  background-position-y: 50%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gradient {
  position: absolute;
  height: 80vh;
  width: 100%;
  background: -o-linear-gradient(#304c919d, #20315dce);
  background: -webkit-linear-gradient(#304c919d, #20315dce);
  background: -moz-linear-gradient(#304c919d, #20315dce);
  background: linear-gradient(#304c919d, #20315dce);
}

.hero-text {
  display: inline-block;
  margin-top: 5%;
  color: #ffffff;
  font-family: "Montserrat";
  font-weight: 700;
  text-align: center;
  font-size: 4rem;
  width: 100%;
  z-index: 9999;
}

.hero-subtitle {
  display: inline-block;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 2.5%;
  width: 40%;
}

.hero-button {
  background-color: #ffffff;
  color: #304c91;
  font-size: 2rem;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 20%;
}

.hero-button:hover {
  background-color: #304c91;
  color: #ffffff;
}

.hero-button-subtitle {
  display: inline-block;
  font-weight: 400;
  font-size: 1rem;
  width: 100%;
}

.hero-button-subtitle a {
  width: 100%;
}

.second-section {
  height: 55vh;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #304c91;
  padding: 10%;
}

.second-section-left {
  font-size: 3.5rem;
  font-weight: 800;
}

.second-section-right {
  font-size: 1.8rem;
  font-weight: 500;
  max-width: 40%;
  text-align: center;
}

.third-section {
  height: 50vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.third-section-box {
  background: #20315d;
  width: 80%;
  height: 90%;
  border-radius: 50px;
  display: inline-block;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 80px;
}

.third-section-box-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.third-section-box-content {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 1.25rem;
}

.third-section-box-content div {
  max-width: 40%;
}

.third-section-box-content-title {
  font-size: 1.7rem;
}

.fourth-section {
  height: 80vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #20315d;
}

.fourth-section-box {
  width: 50%;
}

.fourth-container {
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fourth-container-content a {
  max-width: 50%;
}

.fourth-container-title {
  font-size: 3rem;
}

.fourth-container-title2 {
  font-size: 2.25rem;
}

.fourth-container-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
}

.fourth-container-text {
  font-size: 1.5rem;
  font-weight: 400;
}

.fourth-container-button-box {
  padding: 50px;
}

.fourth-container-button {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 20px;
  background-color: #20315d;
  background-size: 0% 100%;
  color: #ffffff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
  transition: background-color 0.5s;
}

.fourth-container-button:hover {
  background-color: #304c91;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.7) 100%
  );
  background-repeat: no-repeat;
  background-size: 200% 100%;
  transition: background-size 1s, background-color 1s;
}

.fifth-gradient {
  position: absolute;
  height: 80vh;
  width: 100%;
  background: -o-linear-gradient(#304c919d, #20315d);
  background: -webkit-linear-gradient(#304c919d, #20315d);
  background: -moz-linear-gradient(#304c919d, #20315d);
  background: linear-gradient(#304c919d, #20315d);
  z-index: 3;
}

.fifth-container {
  height: 80vh;
  width: 100%;
  background-image: url(../images/foto5.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 25%;
  z-index: 5;
}

.fifth-container-title {
  width: 100%;
  height: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  font-weight: 800;
  color: #ffffff;
}

.fifth-container-title a {
  padding: 50px;
  font-size: 3rem;
  border-radius: 30px;
  margin-top: 5%;
  z-index: 999;
}

.fifth-container-boxes {
  display: grid;
  height: 100%;
  padding: 50px;
  color: #ffffff;
}

.fifth-container-rows {
  display: flex;
  justify-content: space-evenly;
}

.fifth-container-rows div {
  padding: 50px;
  max-width: 50%;
  z-index: 999;
}

.fifth-container-boxes-title {
  font-size: 2rem;
  font-weight: 700;
}

.fifth-container-boxes-content {
  font-size: 1.25rem;
}

.sixth-container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sixth-container-content {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  justify-content: center;
  text-align: center;
  color: #20315d;
}

.sixth-container-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 5%;
}

.sixth-container-content-title {
  font-size: 2rem;
  font-weight: 700;
}

.sixth-container-content-text {
  font-size: 1.5rem;
}

.sixth-container-box {
  padding: 10px;
}

footer {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background-color: #20315d;
  color: #ffffff;
}

footer div {
  max-width: 30%;
}

footer div img {
  max-width: 90%;
}

footer a {
  text-decoration: none;
  color: #ffffff;
}

.footer-first {
  text-align: right;
  font-size: 0.8rem;
  max-width: 30%;
}

.footer-second {
  line-height: 2rem;
}

.footer-third {
  line-height: 2rem;
  margin-bottom: 60px;
}

.title {
  font-weight: 700;
  font-size: 2rem;
}

.hamburger {
  display: none;
}

.nosotros-hero {
  height: 50vh;
  width: 100%;
  background-image: url(../images/hero.webp);
  background-position-y: 30%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aboutus-hero {
  height: 50vh;
  width: 100%;
  background-image: url(../images/hero-nosotros.webp);
  background-position-y: 50%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-logo-image {
  max-width: 30%;
}

.lesionesleves-hero {
  height: 50vh;
  width: 100%;
  background-image: url(../images/hero-lesionesleves.jpg);
  background-position-y: 50%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.informese-hero {
  height: 50vh;
  width: 100%;
  background-image: url(../images/hero-informese.jpg);
  background-position-y: 50%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accidentesdetransito-hero {
  height: 50vh;
  width: 100%;
  background-image: url(../images/accidentesdetransito.webp);
  background-position-y: 50%;
  background-size: cover;
  background-repeat: space;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-hero-gradient {
  position: absolute;
  height: 50vh;
  width: 100%;
  background: -o-linear-gradient(#304c9100, #20315d);
  background: -webkit-linear-gradient(#304c9100, #20315d);
  background: -moz-linear-gradient(#304c9100, #20315d);
  background: linear-gradient(#304c9100, #20315d);
}

.nosotros-hero-text {
  display: inline-block;
  margin-top: 5%;
  color: #ffffff;
  font-family: "Montserrat";
  font-weight: 700;
  text-align: center;
  font-size: 4rem;
  width: 100%;
  z-index: 9999;
}

.informese-content2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 50px;
  text-align: center;
  font-size: 1.5rem;
  color: #304c91;
}

.informese-content3 {
  max-width: 70%;
}

.informese-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 50px;
  text-align: center;
  font-size: 1.5rem;
  color: #304c91;
}

.informese {
  display: grid;
  text-align: center;
  line-height: 2.5rem;
}

.informese-title {
  font-weight: 700;
}

.copyright {
  position: absolute;
  text-align: center;
  bottom: auto;
  margin-bottom: 20%;
  color: #fff;
  padding: 0;
}

.hero-button-subtitle1 {
  font-size: 1.5rem;
}

.hero-button-subtitle2 {
  font-size: 2rem;
  font-weight: 600;
}

#menu-phone {
  z-index: 99999999;
  min-width: 100%;
  min-height: 100%;
  position: fixed;
  top: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
  text-align: center;
  padding-top: 20px;
  transition: all 0.3s ease-in-out;
  color: #fff;
  font-weight: 700;

  &.overlay {
    visibility: visible;
    opacity: 1;
    padding-top: 100px;
    background-color: #304c91f3;
  }

  a {
    color: #fff;
    display: block;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-decoration: none;
  }
}
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  place-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.modal-content button {
  margin-top: 20px;
  background: #304c91;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-button-subtitle {
    width: 20%;
  }
  .hero-text {
    margin-top: 20%;
  }
  .copyright {
    position: unset;
  }
  .fifth-container {
    height: 160vh;
  }
  .fifth-gradient {
    height: 160vh;
  }
  .hero-button-subtitle1 {
    font-size: 1rem;
  }
  .item:hover::after {
    transform: scaleX(0);
  }

  .hero-button-subtitle2 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  #header-contact-button {
    background-color: unset;
  }
  .informese-content {
    padding: 0px;
    padding-top: 40px;
  }
  .informese {
    font-size: 1rem;
    line-height: 1rem;
  }
  header {
    height: 80px;
    width: 100%;
    padding: 20px;
  }
  .hero {
    height: 90vh;
    background-image: url(../images/hero-mobile.webp);
  }
  .hero-gradient {
    height: 90vh;
  }
  header img {
    max-width: 40%;
    margin-left: unset;
  }
  .nav-items {
    display: none;
  }
  .hamburger {
    display: unset;
    font-size: 1.5rem;
  }
  .hero-text {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    width: 70%;
    margin-bottom: 10%;
  }
  .hero-button {
    font-size: 1.5rem;
  }
  .hero-button-subtitle {
    width: 50%;
    margin-top: 5%;
  }
  .second-section-left {
    font-size: 1.5rem;
  }
  .second-section-right {
    font-size: 1rem;
  }
  .third-section {
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .third-section-box {
    border-radius: 25px;
    padding: 30px;
    width: 90%;
  }

  .third-section-box-title {
    font-size: 2rem;
  }

  .third-section-box-content {
    width: 100%;
    display: inline-block;
    font-size: 1rem;
  }

  .third-section-box-content div {
    max-width: 100%;
    margin-bottom: 25px;
  }

  .third-section-box-content-title {
    font-size: 1.7rem;
  }
  .fourth-section {
    height: 100vh;
  }
  .fourth-section-box {
    width: 80%;
  }
  .fourth-container-content a {
    max-width: 50%;
  }
  .fourth-container-title {
    font-size: 2rem;
  }
  .fourth-container-title2 {
    font-size: 1.75rem;
  }
  .fourth-container-subtitle {
    font-size: 1.5rem;
  }
  .fourth-container-text {
    font-size: 1rem;
  }
  .fourth-container-button-box {
    padding: 40px;
  }
  .fourth-container-button {
    font-size: 1rem;
    padding: 20px;
  }
  .fifth-container {
    margin-top: -15%;
    height: 150vh;
    background-image: url(../images/fifth-mobile.webp);
  }
  .fifth-gradient {
    height: 150vh;
  }
  .fifth-container-title {
    width: 80%;
    height: 5%;
    margin-bottom: 5%;
  }

  .fifth-container-title a {
    padding: 25px;
    font-size: 1.5rem;
    border-radius: 15px;
    margin-top: 75%;
  }

  .fifth-container-boxes {
    display: grid;
    grid-template-rows: 12.5% 40% 35% 12.5%;
    height: 100%;
    padding: 0px;
    color: #ffffff;
  }

  .fifth-container-rows {
    display: flex;
    justify-content: space-evenly;
  }

  .fifth-container-rows div {
    padding: 10px;
    max-width: 45%;
  }

  .fifth-container-boxes-title {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .fifth-container-boxes-content {
    font-size: 0.75rem;
    line-height: 0.5rem;
  }

  .sixth-container {
    height: 130vh;
  }
  .sixth-container-content {
    grid-template-columns: 25% 70% 25%;
  }

  .sixth-container-title {
    font-size: 1.5rem;
  }

  .sixth-container-content-title {
    font-size: 1.25rem;
  }
  .sixth-container-content-text {
    font-size: 1rem;
  }
  footer {
    height: 75vh;
    display: inline-block;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    background-color: #20315d;
    color: #ffffff;
  }

  footer div {
    max-width: 100%;
    padding: 20px;
  }

  footer div img {
    max-width: 50%;
  }

  .footer-first {
    margin-top: 5%;
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    font-size: 0.75rem;
  }

  .footer-second {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  .footer-third {
    text-align: center;
    font-size: 0.75rem;
    margin-bottom: 0px;
    line-height: 1.25rem;
  }
  .title {
    font-size: 1.25rem;
  }
  .nosotros-logo-image {
    max-width: 80%;
    margin-top: 50px;
  }
}

@media (max-width: 390px) {
  .fifth-container-boxes-content {
    font-size: 0.65rem;
  }
}

@media (max-width: 1700px) {
  .third-section {
    height: auto;
  }
  .nav-items {
    width: 150%;
  }
}

@media (max-width: 1600px) {
  .fifth-container {
    height: 150vh;
  }
  .fifth-gradient {
    height: 150vh;
  }
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #757575;
  z-index: 99999;
}

.my-float {
  margin-top: 16px;
}

.preguntas-frecuentes-content {
  margin-bottom: 5%;
  color: #304c91;
}

.faq-header {
  font-size: 42px;
  border-bottom: 1px dotted #ccc;
  padding: 24px;
  margin-top: 100px;
}

.faq-content {
  margin: 0 auto;
}

.faq-question {
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
}

.panel-title {
  font-size: 24px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 10px 10px 0 48px;
  display: block;
  cursor: pointer;
}

.panel-content {
  font-size: 20px;
  padding: 0px 14px;
  margin: 0 40px;
  height: 0;
  overflow: hidden;
  z-index: -1;
  position: relative;
  opacity: 0;
  -webkit-transition: 0.4s ease;
  -moz-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}

.panel:checked ~ .panel-content {
  height: auto;
  opacity: 1;
  padding: 14px;
}

.plus {
  position: absolute;
  margin-left: 20px;
  margin-top: 4px;
  z-index: 5;
  font-size: 42px;
  line-height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
}

.panel:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}
