/* ----------- Reset ------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color:inherit;
}

img {
  width: 100%;
  height: auto;
}

/*--------- Variables -----------*/
:root {
  --header-height: 6.3rem;

  /* Colors */
  --hue: 138;
  /* HSL color mode */
  --base-color: hsl(var(--hue) 20% 38%);
  --base-color-second: hsl(var(--hue) 65% 88%);
  --base-color-alt: hsl(var(--hue) 57% 53%);
  --title-color: hsl(var(--hue) 41% 10%);
  --text-color: hsl(0 0% 46%);
  --text-color-light: hsl(0 0% 98%);
  --body-color: hsl(0 0% 98%);

  /* FONTS */
  --title-font-size: 1.7rem;
  --subtitle-font-size: 1rem;

  --title-font: "Poppins", sans-serif;
  --body-font: "DM Sans", sans-serif;
}

/* ----------- Base -------------*/
html {
  scroll-behavior: smooth;
}

body {
  font: 400 1rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

.title {
  font: 700 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.button {
  background-color: var(--base-color);
  color: var(--text-color-light);
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.25rem;
  font: 500 1rem var(--body-font);
  transition: 0.3s;
}

.button:hover {
  background: var(--base-color-alt);
}

.divider-1 {
  height: 1px;
  background: linear-gradient(
    270deg,
    hsla(var(--hue), 36%, 57%, 1),
    hsla(var(--hue), 65%, 88%, 0.34)
  );
}

.divider-2 {
  height: 1px;
  background: linear-gradient(
    270deg,
    hsla(var(--hue), 65%, 88%, 0.34),
    hsla(var(--hue), 36%, 57%, 1)
  );
}

/* ---------- Layout ------------*/
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.section {
  padding: calc(0.1rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 1rem;
}

.section header strong {
  color: var(--base-color);
}

#header {
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 2rem;
  display: flex;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
}

#header.scroll {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- Logo ------------*/
.logo {
  font: 700 1.31rem var(--title-font);
  color: var(--title-color);
  display: flex;
  width: 220px;
}

.logo span {
  color: var(--base-color);
}

.logo-alt span {
  color: var(--body-color);
}

/* ---------- Navigation ------------*/
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--base-color);
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--base-color);

  position: absolute;
  left: 0;
  bottom: -0.5rem;

  transition: width 0.2s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

nav .logo_header{
  width: 50%;
  height: 25%;
}

/* Mostrar Menu */
nav.show .menu {
  opacity: 1;
  visibility: visible;

  background: var(--body-color);

  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 1rem;
}

/* ------ Tggle Menu ( liga / desliga ) --------*/

.toggle {
  color: var(--base-color);
  font-size: 2rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

/* ----------- Home -------------*/
#home {
  overflow: hidden;
}

#home .container {
  margin: 0;
}

#home .image {
  position: relative;
}

#home .image::before {
  content: "";
  height: 100%;
  width: 100%;
  background: var(--base-color);
  position: absolute;
  top: -16.8%;
  left: 7.7%;
  z-index: 0;
}

#home .image img {
  position: relative;
  left: 1rem;
}

#home .image img,
#home .image::before {
  border-radius: 0.25rem;
}

#home .text {
  /* margin-left: 1.5rem; */
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

/* ----------- About -------------*/
#about {
  background: white;
}

#about .container {
  margin: 0;
}

#about .image {
  position: relative;
}

#about .image::before {
  content: "";
  height: 100%;
  width: 100%;
  background: var(--base-color);
  position: absolute;
  top: -8.3%;
  left: -9%;
  z-index: 0;
}

#about .image img {
  position: relative;
  width: 50%;
}

#about .image img,
#about .image::before {
  border-radius: 0.25rem;
}

#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/* ----------- HOW -------------*/

#how {
    background: white;
}
.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 0.25rem solid var(--base-color);
  border-radius: 0.25rem 0.25rem 0 0;
  text-align: justify;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  color: var(--base-color);
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ----------- TEAM -------------*/
/* #team {
  background: white;
} */

.cards.grid {
  gap: 1.5rem;
}

.cards-team img{
  width: 40%;
 }

.cards-team .card{
  display: flex;
  flex-direction: column;
  align-items: center;
 }

.card {
  padding: 2.625rem 1rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 0.25rem solid var(--base-color);
  border-radius: 0.25rem 0.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  color: var(--base-color);
}

.card .content {
  max-height: 90px; 
  overflow: hidden;
  transition: max-height 0.3s ease; /* Add smooth transition effect */
}

.show-more {
  cursor: pointer;
  color: #71bca2;
  display: block;
  background-color:linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 100% );
}

.card .title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* ----------- MINDFUNLESS -------------*/
#mindfulness .container {
  margin: 0;
}

#mindfulness .image {
  position: relative;
}

#mindfulness .image::before {
  content: "";
  height: 100%;
  width: 100%;
  background: var(--base-color);
  position: absolute;
  top: -8.3%;
  left: -33%;
  z-index: 0;
}

#mindfulness .image img {
  position: relative;
  width: 50%;
}

#mindfulness .image img,
#mindfulness .image::before {
  border-radius: 0.25rem;
}

#mindfulness .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/* ----------- NEWS -------------*/
#news {
  background-color: white;
}


/* ----------- TRAINING -------------*/
#training {
  background: white;
}

#training .container {
  margin: 0;
}

#training .image {
  position: relative;
}

#training .image::before {
  content: "";
  height: 100%;
  width: 80%;
  background: var(--base-color);
  position: absolute;
  top: -8.3%;
  left: -9%;
  z-index: 0;
}

#training .image img {
  position: relative;
  width: 50%;
}

#training .image img,
#training .image::before {
  border-radius: 0.25rem;
}

#training .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/* ----------- Testemonials -------------*/
#testimonials {
  background: white;
}

#testimonials .container {
  margin-left: 0;
  margin-right: 0;
}

#testimonials header {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

#testimonials blockquote {
  padding: 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.25rem;
}

#testimonials blockquote p {
  position: relative;
  text-indent: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

#testimonials blockquote p span {
  font: 700 2.5rem serif;
  position: absolute;
  top: -0.375rem;
  left: -1.875rem;
  color: var(--base-color);
}

#testimonials cite {
  display: flex;
  align-items: center;
  font-style: normal;
}

#testimonials cite img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  clip-path: circle();
  margin-right: 0.5rem;
}

#testimonials .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/* Swiper */
.swiper-slide {
  height: auto;
  padding: 4rem 1rem;
}

.swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
}

.swiper-pagination-bullet-active {
  background: var(--base-color);
}

/* ----------- Contact -------------*/
/* #contact {
  background: white;
} */

#contact .grid {
  gap: 4rem;
}

#contact .text p {
  font-size: 0.9rem;
}

#contact .list_contact {
  line-height: 22px;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul.grid {
  gap: 2rem;
}

#contact ul li {
  display: flex;
  align-items: center;
}

/* #contact a[href^=tel]{
  color: rgb(54, 54, 54);

} */

#contact ul li i {
  color: var(--base-color);
}

/* ----------- Footer -------------*/
footer {
  background: var(--base-color);
}

footer.section {
  padding: 2rem 0;
}

footer .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer .logo_footer{
  width: 50%;
}

footer .brand p {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

footer .brand a {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

footer i {
  font-size: 1.5rem;
  color: var(--text-color-light);
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
}

footer .social a {
  transition: 0.3s;
  display: inline-block;
}

footer .social a:hover {
  transform: translateY(-8px);
}

/* Back To Top */
.back-to-top {
  background: var(--base-color);
  color: var(--text-color-light);

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: 0.5rem;
  clip-path: circle();

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* ----------- Media Queries -------------*/
/* extra large devices: 1200 > */
@media (min-width: 1200px) {
  /* reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 7rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothinhg: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothinhg: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
    gap: 8rem;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  /* mindfulness */
  #mindfulness .container {
    margin: 0 auto;
    grid-auto-flow: column;
    display: flex;
    justify-content: space-around;
  }

  #mindfulness .image {
    width: 70vh;
  }

  #mindfulness .text {
    width: 60vh;
  }

  /* training */
  #training .container {
    margin: 0 auto;
    grid-auto-flow: column;
    display: flex;
    justify-content: space-around;
  }

  #training .image {
    width: 70vh;
  }

  #training .text {
    width: 80vh;
  }

  /* services */
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cards-team {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 40rem;
  }

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
  }
}
/* large devices: 1023 > */
/* large devices: 992 > */
@media (min-width: 992px) {
  :root {
    --title-font-size: 2.25rem;
    --subtitle-font-size: 1rem;
  }

  #training .image img {
    position: relative;
    width: 100%;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cards-team img{
    width: 40%
  }

  #about .image img {
    width: 100%;
  }

  #mindfulness .image img {
    width: 100%;
  }

  #home {
    padding-top: 8rem;
  }

}
/* medium devices: 767 > */
@media (max-width: 448px) {
  #home {
    padding-top: 12rem;
  }

  #home .container {
    gap: 4rem;
  }

  .card .content.one {
    max-height: 140px;
  }
  .card .content.two {
    max-height: 120px;
  }
  .card .content.three {
    max-height: 120px;
  }
  .card .content.four {
    max-height: 90px;
  }
  .card .content.five {
    max-height: 90px;
  }
  .card .content.seven {
    max-height: 90px;
  }
}