@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: rgba(241, 248, 255, 255);
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #a8a8a8;
}

::-webkit-scrollbar-thumb:hover {
  background: #9a9a9a;
}

:root {
  --bg-color: #e2e2e2;
  --primary: #1c1c1c;
  --secondary: #e24806;
  --tertiary: #f4f4f4;
  --fourth: #a7a7a7;
  --linear-background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.54)
  );
  --linear-background-destination: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.8)
  );
}

/*------------------------HEADER----------------------------*/
header {
  font-family: "Poppins", sans-serif;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  padding: 0 50px;
  transition: 0.6s;
}

header .logo img {
  width: 80px;
  height: 70px;
}

header .navigation {
  position: relative;
  line-height: 75px;
}

header .navigation .menu {
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
  user-select: none;
}

.menu-item > a {
  font-family: "Poppins", sans-serif;
  color: #000;
  font-size: 1.05em;
  font-weight: 400;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
}

.menu-item > a:hover {
  color: #469dff;
  transition: 0.2s;
}

.menu-item .sub-menu {
  position: absolute;
  background: #fff;
  top: 74px;
  line-height: 40px;
  list-style: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  pointer-events: none;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.1 s;
  transition-property: transform, opacity;
}

.menu-item:hover .sub-menu {
  pointer-events: all;
  transform: translateY(0);
  opacity: 1;
}

.menu-item .sub-menu .sub-item {
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item a {
  color: #000;
  font-size: 1.05em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item:hover {
  background: #469dff;
}

.menu-item .sub-menu .sub-item:last-child:hover {
  border-radius: 0 0 8px 8px;
}

/*Boton green*/
.menu-item > .green:hover {
  color: #36cf61;
  transition: 0.2s;
}

.menu-item .sub-menu .sub-item1 {
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item1 a {
  color: #000;
  font-size: 1.05em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item1:hover {
  background: #36cf61;
}

.menu-item .sub-menu .sub-item1:last-child:hover {
  border-radius: 0 0 8px 8px;
}

/*--------*/

.menu-btn {
  display: none;
}

.main-section {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-color);
  overflow-x: hidden;
}

.bg_image_section {
  width: 100%;
  height: 40vh;
  background:
    var(--linear-background),
    url("./hea.webp") no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero_section {
  width: 100%;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 2rem;
  flex-direction: column;
}

.text_section {
  font-size: 4.5rem;
  font-weight: bold;
  color: var(--tertiary);
  line-height: 7rem;
  margin-bottom: 1rem;
}

.btn_group {
  display: flex;
  align-items: center;
  column-gap: 1.7rem;
}

/* Segunda parte */
.about_section {
  position: relative;
  width: 100%;
  height: auto;
  padding: 100px 100px;
  display: flex;
  align-items: center;
}

.image_section {
  width: 54%;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
  border-radius: 1.6rem;
}

.about_img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
}

.content_section {
  position: absolute;
  width: 46%;
  height: auto;
  border-radius: 1.6rem;
  right: 100px;
  background: rgba(241, 248, 255, 255);
  display: flex;
  align-items: flex-start;
  justify-content: start;
  flex-direction: column;
  row-gap: 1.1rem;
  padding: 30px 80px 30px 140px;
  box-shadow: 5px 5px 10px rgba(68, 37, 5, 0.12);
  border: 1px solid rgb(255, 255, 255);
}

.about_title {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--primary);
  margin-top: 2rem;
}

.about_desc {
  font-size: 1.1rem;
  line-height: 1.5rem;
  margin-bottom: 1.3rem;
}

/* Segunda seccion */
.conteiner {
  text-align: center;
  margin-bottom: 100px;
}

.our-services {
  font-family: "Poppins", sans-serif;
  padding: 1.7rem 7%;
}
.our-services h1 {
  color: black;
  font-size: 40px;
  text-align: center;
  padding: 0.8rem 0;
}
.our-services h1 span {
  transition: 0.3s;
}

.our-services h1 span:hover {
  letter-spacing: 4px;
  transition: 0.3s;
}

.main-title {
  margin: 20px 0 50px 0;
}

.img-box img {
  display: block;
  width: 100%;
  height: 25rem;
  object-fit: cover;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  grid-gap: 5rem;
  text-align: center;
  width: 80%;
  margin: auto;
}

.card {
  display: block;
  overflow: hidden;
  border-radius: 0.6rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}

.card-content {
  position: absolute;
  background-color: rgba(0 0 0/50%);
  bottom: 0;
  color: #fff;
  width: 100%;
  height: 23%;
  padding: 2.2rem 0;
  overflow: hidden;
  transition: 0.7s;
}

.card-content h1 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
}

.card-content p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  padding: 1rem;
}

.card:hover .card-content {
  height: 60%;
}

.card:hover .card-content {
  transition: height 0.7s;
}

/*---------------Banner---------------*/
.banner {
  margin-top: 50px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)),
    url(../../img/banner.webp) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 3rem 2rem;
  text-align: center;
}

.conten span {
  font-size: 2rem;
  color: blue;
}

.conten h3 {
  font-size: 3.5rem;
  color: #29ceb0;
  margin-top: 1rem;
  transition: 0.4s;
}

.conten h3:hover {
  cursor: default;
  letter-spacing: 4px;
  transition: 0.3s;
}

.conten p {
  max-width: 60rem;
  margin: 1.2rem auto;
  font-size: 1.2rem;
  color: #fff;
  line-height: 2;
}

.conten a {
  font-size: 1rem;
  padding: 7px 22px;
  color: #000;
  text-decoration: none;
  background: #3eccb2;
  border-radius: 15px;
  border: 2px solid #fff;
  transition: 0.3s;
}

.conten a:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #000;
  transition: 0.3s;
}

/*------------------------------FOOTER-------------------------------*/
footer {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 60px;
  background: #fff;
}

.footer {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}

.footer-widget a img {
  width: 110px;
  height: 100px;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.wrapper .footer-widget {
  width: calc(20% - 30px);
  margin: 0 15px 50px;
  padding: 0 12px;
}

.wrapper .footer-widget:nth-child(1) {
  width: calc(40% - 50px);
  margin-right: 15px;
}

.wrapper .footer-widget .logo {
  margin-bottom: 0;
  vertical-align: middle;
}

.wrapper .footer-widget p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 24px;
}

.wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.wrapper .footer-widget .socials li {
  list-style: none;
}

.wrapper .footer-widget .socials li a {
  color: #000;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}

.wrapper .footer-widget h6 {
  color: #585978;
  margin: 10px 0 35px;
  font-size: 20px;
  font-weight: 600;
}

.wrapper .footer-widget .links li {
  list-style: none;
}

.wrapper .footer-widget .links li a {
  color: #585978;
  font-size: 16px;
  text-decoration: none;
  line-height: 32px;
  transition: all 0.3s ease-out;
}

.wrapper .footer-widget .links li a:hover {
  color: #037ef3;
}

.copyright-wrapper {
  padding: 20px 0;
  border-top: 1px solid rgba(88, 89, 120, 0.4);
}

.copyright-wrapper p {
  color: rgba(88, 89, 120, 0.4);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.copyright-wrapper p a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.copyright-wrapper p a:hover {
  color: #037ef3;
}

@media (max-width: 992px) {
  .footer {
    max-width: 960px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .footer {
    max-width: 720px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 50px;
  }
}

@media (max-width: 1024px) and (min-width: 975px) {
  .image_section {
    width: 56%;
  }
  .content_section {
    width: 53%;
    padding: 30px 30px 30px 50px;
  }
  .about_title {
    font-size: 1.7rem;
  }
  .category_box {
    width: 357px;
  }
  .destination_box {
    width: 359px;
  }
  .blog_box {
    width: 358px;
  }
  .map_section {
    width: 56%;
  }
  .form_section {
    width: 53%;
    padding: 30px 30px 30px 50px;
  }
  .card:hover .card-content {
    height: 60%;
    transition: height 0.7s;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    margin: 0 auto;
  }
  .card:last-child {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (max-width: 975px) and (min-width: 768px) {
  header .navigation .menu {
    font-size: 0.9em;
    position: fixed;
    display: block;
    background: #fff;
    min-width: 350px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-item .sub-menu .sub-item {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item a:hover {
    color: #4080ef;
    transition: 0.3s;
  }

  /*Green*/
  .menu-item .sub-menu .sub-item1 {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item1:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item1 a:hover {
    color: #36cf61;
    transition: 0.3s;
  }
  /*--------*/

  .close-btn {
    position: absolute;
    background: url(../../close.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 25px;
    background-position: center;
    top: 0;
    left: 0;
    margin: 25px;
    cursor: pointer;
  }

  .menu-btn {
    background: url(../../menu.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    display: block;
  }

  header {
    padding: 15px 20px;
  }

  .text_section {
    font-size: 4rem;
    line-height: 5.5rem;
  }
  .image_section {
    width: 70%;
  }
  .about_img {
    height: 60vh;
  }
  .content_section {
    width: 60%;
    padding: 30px 30px 30px 50px;
  }
  .about_title {
    font-size: 1.4rem;
  }
  .about_desc {
    font-size: 0.89rem;
    line-height: 1.1rem;
    margin-bottom: 1rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    margin: 0 auto;
  }
  .card:last-child {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  header .navigation .menu {
    font-size: 0.9em;
    position: fixed;
    display: block;
    background: #fff;
    min-width: 350px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-item .sub-menu .sub-item {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item a:hover {
    color: #4080ef;
    transition: 0.3s;
  }

  /*Green*/
  .menu-item .sub-menu .sub-item1 {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item1:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item1 a:hover {
    color: #36cf61;
    transition: 0.3s;
  }
  /*--------*/

  .close-btn {
    position: absolute;
    background: url(../../close.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 25px;
    background-position: center;
    top: 0;
    left: 0;
    margin: 25px;
    cursor: pointer;
  }

  .menu-btn {
    background: url(../../menu.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    display: block;
  }

  header {
    padding: 15px 20px;
  }

  .text_section {
    font-size: 3rem;
    line-height: 4.5rem;
  }
  .about_section {
    padding: 100px 30px;
  }
  .image_section {
    width: 70%;
  }
  .content_section {
    width: 80%;
    padding: 30px 30px 30px 50px;
    right: 30px;
  }
  .about_desc {
    font-size: 0.89rem;
    line-height: 1.1rem;
    margin-bottom: 1rem;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 320px) {
  .text_section {
    font-size: 2.8rem;
  }
}

/*--------------------WhastApp-------------------*/
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
}

.whatsapp-logo img {
  width: 80px;
  height: auto;
  cursor: pointer;
}

.tooltip {
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 90px;
  right: 0;
  transform: translateY(20px);
  opacity: 0;
  transition:
    opacity 0.5s ease-in-out,
    transform 0.5s ease-in-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-container:hover .whatsapp-logo:hover + .tooltip {
  display: block;
  animation: fadeUp 0.5s ease-in-out forwards;
}
