@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  font-size: 10px;
  overflow-x: hidden !important;
}

:root {
  /* Colors */
  --White: #fff;
  --DarkWhiteBcg: #fafafa;
  --main: #26224b;

  --secondary: #4939e0;

  --textColor: #4c4486;
  --textLightColor: #9e9d9d;

  /* Colors Hover */
  --mainHover: #38317d;
  
  --secondaryHover: #4939e0;

  --textColorHover: #26224b;

  /* Box shadow style */
  --shadow: rgba(0, 0, 0, 0.062) 0px 3px 5px;

  /* Box shadow hovers */
  --shadowHover: rgba(143, 143, 143, 0.212) 0px 5px 15px;


}

/* SECTION TITLE */

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 10rem auto 5rem auto;
  position: relative;
  width: max-content;
}

.section-title-main {
  background: var(--secondary);
  color: var(--White);
  padding: 0.4rem;

  display: inline;
}

.section-title-sub {
  color: var(--textColor);
}

.section-title-main::after {
  content: '';
  height: 1rem;
  width: 2rem;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--secondary);
}

@keyframes squareShadow {
  from {
    box-shadow: var(--shadowAnimationStart);
  }

  to {
    box-shadow: var(--shadowAnimationEnd);
  }
}

/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  background: var(--White);
  z-index: 100;
  transition: all 0.4s ease-in-out;
}

header.active {
  box-shadow: var(--shadow);
}

.menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  font-size: 1.8rem;
  color: var(--White);
  font-weight: bold;
  height: 100vh;
  width: 100vw;
  background: var(--main);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
}

.menu.active {
  transform: translateX(0);
}

.burger {
  height: 3.4rem;
  width: 3.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: transparent;
  border: none;
  align-items: flex-end;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.burger.active {
  z-index: 10;
}

.burger.active > span {
  background: white;
}

.burger span {
  width: 100%;
  height: 0.3rem;
  border-radius: 0.5rem;
  background: var(--main);
  transition: all 0.3s ease-in-out;
}

.burger span:nth-child(2) {
  width: 80%;
}

.burger span:nth-child(3) {
  width: 60%;
}

.burger.active > span:nth-child(1) {
  transform: rotate(-45deg) translateY(1rem) translateX(-0.1rem);
  width: 80%;
}

.burger.active > span:nth-child(2) {
  transform: rotate(45deg) translateY(-0.7rem) translateX(0.2rem);
}

.burger.active > span:nth-child(3) {
  transform: translateX(100vw);
}

.menu-link {
  position: relative;
  cursor: pointer;
}

/* DESKTOP MENU */

@media only screen and (min-width: 1000px) {
  .burger {
    display: none;
  }
  .menu {
    position: unset;
    background: inherit;
    color: var(--textColor);
    list-style: none;
    flex-direction: row;
    height: inherit;
    width: max-content;
    gap: 5rem;
    font-size: 1.2rem;
    font-weight: normal;
    align-items: center;
    transform: translateX(0);
  }

  .menu-link::after {
    content: '';
    width: 0%;
    height: 0.2rem;
    background: var(--main);
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    border-radius: 2rem;
    transition: all 0.3s ease-in-out;
  }

  .menu-link:hover::after {
    width: 100%;
  }

  .menu-link:last-child {
    background: var(--main);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    color: var(--White);
  }

  .menu-link:last-child::after {
    display: none;
  }
}

/* C2A SECTION */

.home {
  margin-top: 4rem;
}

.home-image {
  width: 75%;
  margin: 0 auto;
  display: block;
}

.home-content {
  font-size: 2.3rem;
  text-align: center;
  color: var(--textColor);
}

.home-content span {
  font-size: 1.8rem;
  display: block;
}

.home-icons {
  background: var(--main);
  width: max-content;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 1rem;
}

.scroll-down-button {
  width: 1.5rem;
  height: 5rem;
  margin: 2rem auto;
  display: block;
  border-radius: 1rem;
  border: 0.2rem solid #7d62f2;
  background: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.scroll-down-circle {
  height: 1rem;
  width: 1rem;
  background: var(--main);
  border-radius: 50%;
  animation: circleJump 1s infinite alternate-reverse;
}

@keyframes circleJump {
  from {
    transform: translateY(0%);
  }

  to {
    transform: translateY(-100%);
  }
}

@media only screen and (min-width: 1000px) {
  .home-image {
    width: 50%;
  }

  .scroll-down-button {
    display: none;
  }
}

@media only screen and (min-width: 1200px) {
  .home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 8rem auto;
  }

  .home-image {
    order: 2;
  }
}

@media only screen and (min-width: 1400px) {
  .home-content h1 {
    font-size: 3.5rem;
  }

  .home-content span {
    font-size: 2.2rem;
  }

  .home-image {
    width: 55%;
    padding: 2rem;
  }

  .home-content h1 {
    width: max-content;
  }
}

@media only screen and (min-width: 1650px) {
  .home-image {
    width: 45%;
  }

  .home {
    margin: 4rem auto;
  }

  .home-content {
    padding-left: 3rem;
  }

  .home-content h1 {
    font-size: 3.9rem;
  }

  .home-content span {
    font-size: 2.5rem;
  }
}

/*  services  */

.services-content {
  display: grid;
  margin: 3rem 0rem 4rem 0;
  align-items: center;
}

.service-content-card {
  margin: 5rem auto;
  width: 85%;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.service-content-card img {
  width: 70%;
  display: block;
  margin: 0 auto;
}

.service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0.5rem;
}

.service-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--textColor);
  padding-right: 3rem;
  border-bottom: 2px solid var(--textColor);
}

.service-link img {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0.3rem;
}

.service-description {
  font-size: 1.2rem;
  padding: 0.4rem;
  text-align: justify;
  color: var(--textLightColor);
}

.clients-title {
  padding: 0.4rem;
  border-bottom: 2px solid var(--textColor);
  width: max-content;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--textColor);
  padding-right: 5rem;
}

.clients-icons {
  display: flex;
}

.clients-icons img {
  height: 2.2rem;
  width: 2.2rem;
  margin: 0.8rem;
}

.clients-offer
{
  padding-top: 0.4rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: semi-bold;
  color: var(--textColor);
}

@media only screen and (min-width: 1000px) {
  .services-content {
    grid-template-columns: 1fr 1fr;
  }

  .service-name {
    font-size: 1.4rem;
  }
  .clients-title {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1400px) {
  .services {
    width: 90%;
    margin: 0 auto;
  }
  .service-content-card {
    width: 75%;
  }
}

/* ABOUT */

.about-description {
  font-size: 1.2rem;
  padding: 1.3rem;
  line-height: 1.6rem;
  color: var(--textColor);
  text-align: justify;
}

.about-description-center {
  font-size: 1.5rem;
  padding: 1.3rem;
  line-height: 2.1rem;
  color: var(--textColor);
  text-align: center;
}


.about .section-title {
  margin: 2rem auto;
}

.about-quote {
  display: block;
  font-size: 0.8rem;
  color: var(--textLightColor);
  margin-top: 0.5rem;
}

.about img {
  width: 85%;
  display: block;
  margin: 2rem auto;
}

@media only screen and (min-width: 780px) {
  .about {
    width: 90%;
    margin: 2rem auto;
  }

  .about-description {
    padding: 1.7rem;
  }

  .about img {
    width: 80%;
  }
}

@media only screen and (min-width: 1000px) {
  .about img {
    width: 70%;
  }
}

@media only screen and (min-width: 1150px) {
  .about-description {
    font-size: 1.3rem;
  }
}

@media only screen and (min-width: 1350px) {
  .about-content {
    display: flex;
  }

  .about img {
    width: 50%;
  }

  .about-description {
    padding: 0.2rem;
    margin-top: 4rem;
  }
}

@media only screen and (min-width: 1150px) {
  .about {
    width: 80%;
  }
  .about-description {
    margin-top: 6rem;
  }
}

@media only screen and (min-width: 1800px) {
  .about {
    width: 70%;
  }
}

/* clients */

.clients-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.clients-item {
  padding: 2rem;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  transition: all 0.3s ease-in-out;
}

.clients-item:hover {
  box-shadow: var(--shadowHover);
}

.clients-item img {
  width: 6rem;
  height: 6rem;
}

.clients-item-title {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--textLightColor);
}

.clients-container .section-title {
  margin: 5rem auto 2rem auto;
}

@media only screen and (min-width: 1500px) {
  .clients-item {
    margin: 2rem;
  }
}

/* CONTACT */

.contact img {
  display: none;
}

.contact-form {
  margin: 3rem auto;
  width: 80%;
}

.contact-form-field {
  margin: 1rem;
}

.contact-form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--textColor);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-size: 1rem;
  padding: 0.5rem 0.2rem;
  border-radius: 0.7rem;
  border: 1px solid var(--textLightColor);
}

.contact-form-btn {
  background: var(--main);
  border: none;
  color: var(--White);
  width: 50%;
  font-size: 1rem;
  display: block;
  margin: 0 auto;
  padding: 0.5rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.contact-form-btn:hover {
  background: var(--mainHover);
}

@media only screen and (min-width: 900px) {
  .contact-form {
    width: 65%;
  }
}

@media only screen and (min-width: 1100px) {
  .contact img {
    display: block;
    width: 45%;
  }
  .contact {
    display: flex;
  }
  .contact-form {
    padding: 2rem;
  }
}

@media only screen and (min-width: 1500px) {
  .contact {
    width: 80%;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1800px) {
  .contact {
    width: 65%;
    margin: 0 auto;
  }
}

/*  FOOTER  */

footer {
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  background: var(--main);
  color: var(--White);
}

@media only screen and (min-width: 1500px) {
  footer {
    font-size: 1.1rem;
  }
}