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

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* BASE*/
html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', sans-serif;
}

.container {
  max-width: 1120px;
  margin-inline: auto;
}

h1, h2 {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  line-height: 46px;
  font-weight: bold;
  color: #141414;
}

h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
  color: #141414;
}

p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #666666;
}

.whatsapp-button {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 235px;
  height: 40px;
  color: #FFFFFF;
  background-color: #B185FC;
  border-radius: 4px;
  text-align: center;
  line-height: 40px;
}

.whatsapp-button:hover {
  opacity: .8;
}

.whatsapp-button img {
  max-width: 24px;
}


/* LAYOUT */
header {
  border-bottom: 1px solid #E4E4E4;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #F9F9F9;
  width: 100%;
}

header section {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header section img {
  max-width: 160px;
  height: 42px;
}

header nav ul {
  gap: 10px;
  display: flex;
  justify-content: center;
}

header nav ul li a {
  color: #141414;
  display: flex;
  height: 70px;
  align-items: center;
  padding-inline: 10px;
  transition: ease all 0.5s;
  position: relative;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #B185FC;
}

header nav ul li a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #B185FC;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

header nav ul li a.active::after,
header nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}


main {
  padding-top: 70px;
}

 .section-1 {
  background-color: #F9F9F9;
  padding-block: 80px;
}

 .section-1 .container {
  display: flex;
}

 .section-1 .container div {
  width: 50%;
}

 .section-1 .container .content .logo {
  max-width: 168px;
}

 .section-1 .container .content h1 {
  max-width: 450px;
  margin-top: 30px;
}

 .section-1 .container .content p {
  max-width: 360px;
  margin-block: 12px 24px;
}

 .section-1 .container .image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

 .section-1 .container .image::before {
  content: '';
  height: 100%;
  width: 100%;
  background: #D9CDF4;
  position: absolute;
  top: 0;
  left: -4%;
  z-index: 0;
  border-radius: 0.25rem;
  max-height: 367px;
}

 .section-1 .container .image img {
  position: relative;
  right: 2.93rem;
  border-radius: 0.25rem;
  max-width: 550px;
}

 .section-2 {
  padding-block: 160px;
  background-color: #F9F9F9;
}

 .section-2 .container {
  display: flex;
}

 .section-2 .container div {
  width: 55%;
}

 .section-2 .container h2 {
  margin-bottom: 12px;
}

 .section-2 .container p + p {
  margin-top: 20px;
}

 .section-2 .container b {
  color: #B185FC;
}

 .section-2 .container a {
  color: #B185FC;
  text-decoration: underline;
  font-weight: bold;
}

 .section-2 .container a:hover {
  opacity: 0.8;
}

 .section-2 .container .image {
  width: 45%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 30px;
}

 .section-2 .container .image::before {
  content: '';
  height: 336px;
  width: 100%;
  background: #D9CDF4;
  position: absolute;
  top: -3%;
  left: -30%;
  z-index: 0;
  border-radius: 0.25rem;
}

 .section-2 .container .image img {
  position: relative;
  right: 6rem;
  border-radius: 0.25rem;
  max-width: 615px;
}

 .section-3 {
  background-color: #FFFFFF;
  padding-block: 128px;
}

.section-3 .services{
  order: 2;
}

 .section-3 .container {
  display: flex;
}

 .section-3 .container .image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

 .section-3 .container .image::before {
  content: '';
  height: 374px;
  width: 100%;
  background: #D9CDF4;
  position: absolute;
  top: 5%;
  right: 25%;
  z-index: 0;
  border-radius: 0.25rem;
}

 .section-3 .container .image img {
  position: relative;
  right: 5rem;
  border-radius: 0.25rem;
  max-width: 615px;
}

 .section-3 .container div {
  width: 50%;
}

 .section-3 .container h3 {
  margin-block: 18px 5px;
}

 .section-4 {
  padding-block: 160px;
  background-color: #F9F9F9;
}

 .section-4 h2,
 .section-4 h3,
 .section-4 p {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

 .section-4 h2 {
  margin-bottom: 12px;
}

 .section-4 b {
  color: #B185FC;
}

 .section-4 .content {
  margin-top: 40px;
  display: flex;
  gap: 32px;
}

 .section-4 .content div {
  padding-block: 58px;
  background-color: #FFFFFF;
  border-bottom: 4px solid #B185FC;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

 .section-4 .content div h3 {
  margin-block: 24px 18px;
}

 .section-4 .content div p {
  font-size: 16px;
  max-width: 255px;
}

 .section-4 .content div img {
  width: 80px;
  margin-inline: auto;
}

 .section-5 {
  padding-block: 160px;
  background-color: #FFFFFF;
}

 .section-5 h2 {
  text-align: center;
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 40px;
}

 .section-6 {
  padding-block: 160px;
}

 .section-6 .container h2 {
  margin-bottom: 30px;
}

 .section-6 .tab-content {
  padding-block: 16px;
  border-top: 1px solid #D9D9D9;
}

 .section-6 .tab-content p {
  margin-top: 16px;
  padding-right: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

 .section-6 .tab-content p.open {
  max-height: 1000px;
  padding: 16px 30px;
}

 .section-6 .tab-content div {
  display: flex;
  justify-content: space-between;
}

 .section-6 .tab-content div img {
  max-width: 20px;
  transform: rotate(45deg);
  cursor: pointer;
}

 .section-7 {
  background-color: #F9F9F9;
  padding-block: 160px;
}

 .section-7 .container {
  display: flex;
}

 .section-7 .container > div {
  width: 50%;
}

 .section-7 .container .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

 .section-7 .container .content h2 {
  max-width: 400px;
}

 .section-7 .container .content p {
  max-width: 360px;
  margin-block: 12px 24px;
}

 .section-7 .container .contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

 .section-7 .container .contacts div {
  display: flex;
  gap: 12px;
  width: 300px;
}

 .section-7 .container .contacts div img {
  max-width: 24px;
}

 .section-7 .container .contacts div:nth-child(3),
 .section-7 .container .contacts div:nth-child(4) {
  align-items: flex-start;
}

 .section-7 .container .contacts div:nth-child(3) img,
 .section-7 .container .contacts div:nth-child(4) img {
  margin-top: 5px;
}


footer {
  background-color: #B185FC;
  height: 45px;
}

footer div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
}

footer p,
footer a {
  color: #FFFFFF;
  transition: ease all 5s;
  position: relative;
}

footer a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

footer a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}



.icons {
  text-align: left;
}

.icons ul li {
  display: inline-block;
  margin-right: 24px;
}

.icons ul li a {
  display: block;
  background: #B185FC;
  height: 38px;
  width: 38px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons ul li a:hover {
  opacity: 0.8;
  transition: 0.3s ease-in;
  -webkit-transition: 0.3s ease-in; 
  -moz-transition: 0.3s ease-in; 
  -o-transition: 0.3s ease-in; 
}

.icons ul li a img {
  width: 20px;
}

@media (max-width: 1240px) {
  .container {
    max-width: 940px;
  }

  h1, h2 {
    font-size: 31px;
    line-height: 40px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 1240px) and (min-width: 1011px) {
   .section-1 .container .image::before {
    max-height: 314px;
    left: 7%;
  }

   .section-2 .container .image::before { 
    max-height: 282px;
    top: 8%;
  }

   .section-3 .container .image::before {
    max-height: 314px;
    top: 10%;
  }

}

@media (max-width: 1010px) {
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .body-lock {
    overflow: hidden;
  }

  h1, h2 {
    font-size: 27px;
    line-height: 35px;
  }

  .container {
    max-width: 600px;
    padding-inline: 24px;
  }

  .desktop,
  .icon-close {
    display: none;
  }

  .mobile {
    display: block;
  }

  .icon-menu,
  .icon-close {
    width: 24px;
    cursor: pointer;
  }

  header section img {
    max-width: 110px;
    height: 28.8px;
  }

  header section nav ul li a {
    padding-inline: 30px;
    justify-content: right;
    height: 60px;
  }

  header section nav ul li a::after {
    width: 60%;
    left: initial;
    right: 24px;
  }

   .section-1 {
    padding-block: 0;
  }

   .section-1 .container {
    flex-direction: column;
    overflow: hidden;
    padding-block: 80px;
  }

   .section-1 .container .logo {
    display: none;
  }

   .section-1 .container div {
    width: 100%;
  }

   .section-1 .container .content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

   .section-1 .container .image {
    order: -1;
    margin: 0;
  }

   .section-1 .container .image::before {
    top: -12%;

  }

   .section-1 .container .image img {
    right: 0;
  }

   .section-1 .container .content p,
   .section-1 .container .content h1 {
    text-align: center;
  }

   .section-2 {
    padding-block: 80px;
  }

   .section-2 .container {
    flex-direction: column;
  }

   .section-2 .container div {
    width: 100%;
  }

   .section-2 .container .image {
    width: 100%;
    margin-bottom: 30px;
  }

   .section-2 .container .image::before {
    height: 100%;
    top: -11%;
  }

   .section-2 .container .image img {
    right: 0;
  }

   .section-3 {
    padding-block: 80px;
  }

   .section-3 .container {
    flex-direction: column;
    overflow: hidden;
  }

   .section-3 .container div {
    width: 100%;
  }

   .section-3 .container .image {
    order: -1;
    margin-block: 30px;
  }

   .section-3 .container .image img {
    left: 0;
  }

   .section-3 .container .image::before {
    height: 100%;
    top: -12%;
  }

   .section-4 {
    padding-block: 80px;
  }

   .section-4 .content {
    flex-direction: column;
  }

   .section-4 .content div {
    padding-block: 45px;
  }

   .section-5 {
    padding-block: 80px;
  }

   .section-6 {
    padding-block: 80px;
  }

   .section-7 {
    padding-block: 80px;
  }

   .section-7 .container {
    flex-direction: column;
  }

   .section-7 .container div {
    width: 100%;
  }

   .section-7 .container .content {
    margin-bottom: 40px;
  }

   .section-7 .container .contacts {
    align-items: start;
  }

  footer {
    height: 120px;
  }

  footer div {
    justify-content: space-evenly;
    height: 120px;
    flex-direction: column;
    text-align: left;
  }

  footer p {
    width: 100%;
    text-align: left;
  }
}



/* Menu Mobile */

nav.show ul.desktop {
  display: block;
  background: #FFF;
  position: absolute;
  right: 0;
  top: 71px;
  height: calc(100vh - 71px);
  width: 50%;
  text-align: right;
}

nav.show ul.desktop {
  display: block;
}

.icon-close {
  display: none;
}

@media (min-width: 1011px) {
  .mobile {
    display: none;
  }
}
