:root {
  --bg-color-light: #fffcee;
  --bg-color-dark: #2C2C2C;
  --text-color-light: #ffffff;
  --text-color-dark: #2C2C2C;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "PT Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #2C2C2C;
}

body,
menu,
p,
h1,
h2,
h3,
h4,
ul,
a {
  margin: 0;
  padding: 0;
}

/*--Container--*/

.container {
  margin: 0 auto;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .container {
    max-width: 580px;
    width: 100%;

    padding: 0 24px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .container {
    max-width: 980px;
    width: 100%;

    padding: 0 48px;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
  }
}

/*--Navigation--*/

.nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 24px 0;

  z-index: 100;
}

.nav__name {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;

  gap: 24px;
}

.nav__link {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text-color-dark);
}

.nav__button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #2C2C2C;
  background-color: #fff;
  border: none;
  cursor: pointer;
  text-align: center;

  transition: 0.5s;
}

.nav__button:hover {
  background-color: #1A1A1A;
}

/*--Menu--*/

.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 100vh;
  overflow-y: auto;

  background-color: #2C2C2C;

  transform: translateX(100%);
  transition: transform 0.5s;
}

.menu:target {
  transform: translateX(0);
  z-index: 999;
}

.menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 24px 0;

  margin-bottom: 80px;
}

.nav__link--mobile {
  color: #000;
}

.menu__icon {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 52px;
  height: 52px;

  background-color: #D4A418;
  padding: 4px;
  border-radius: 100px;
}

/*Header*/

.header {
  position: relative;
  background-image: url('./img/header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(
    90deg,
    hsla(73, 60%, 9%, 0.295) 30%,
    hsla(0, 0%, 100%, 0.5) 20%
  );
}

.header__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 32px;
}

.header__title {
  position: relative;
  font-size: 72px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.5;

  z-index: 100;
}

.header__text {
  position: relative;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;

  z-index: 100;
}

.header__button {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background-color: #D4A418;
  border: none;
  cursor: pointer;
  text-align: center;
  z-index: 100;

  transition: 0.5s;
}

.header__button:hover {
  background-color: #ffd000;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .header__content {
    width: 100%;
    padding: 60px;

    align-items: center;
  }

  .header__title {
    font-size: 44px;
    text-align: center;
  }

  .header__text {
    font-size: 20px;
    text-align: center;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .header__content {
    width: 70%;
    padding: 80px 0;
  }
}

@media screen and (min-width: 1200px) {
  .header__content {
    width: 70%;
    padding: 120px 0;
  }
}

/*Impact */

.impacts__wrapper {
  display: flex;
  flex-direction: column;

  gap: 80px;
}

.impacts__content {
  display: flex;
  justify-content: space-between;

  gap: 32px;
}

.impacts__info {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.impacts__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.impacts__title {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.impacts__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.impacts__container {
  display: flex;
  justify-content: space-between;

  gap: 16px;
}

.impact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 32px;

  padding: 32px;
  border-radius: 4px;
  background-color: #fff;
}

.impact__title {
  font-size: 24px;
  font-weight: bold;
  color: #2C2C2C;
  text-align: center;
}

.impact__text {
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  line-height: 1.5;
}

.impact__divider {
  content: "";
  background-color: #1A1A1A;
  color: #1A1A1A;
  width: 50%;
  height: 2px;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .impacts {
    padding: 60px 0;
  }

  .impacts__content {
    flex-direction: column;
    align-items: center;
  }

  .impacts__info {
    width: 100%;
  }

  .impacts__container {
    flex-direction: column;
    align-items: center;
  }

  .impact__text {
    text-align: center;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .impacts {
    padding: 80px 0;
  }

  .impacts__content {
    flex-direction: column;
    align-items: center;
  }

  .impacts__info {
    width: 100%;
  }

  .impacts__container {
    flex-direction: column;
    align-items: center;
  }

  .impact__text {
    text-align: center;
  }

  .impact {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .impacts {
    padding: 120px 0;
  }

  .impacts__info {
    width: 50%;
  }
  
  .impact {
    width: 33%;
  }
}

/*About*/

.about {
  background-color: #D4A418;
}

.about__wrapper {
  display: flex;
  justify-content: space-between;
  
  gap: 32px;
}

.about__content {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.about__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
}

.about__title {
  font-size: 40px;
  font-weight: bold;
  color: #2C2C2C;
}

.about__text {
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  line-height: 1.5;
}

.about__mission {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.about__mission-container {
  display: flex;
  flex-direction: column;
  gap: 16px;

  width: 50%;
}

.about__mission-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color-dark);
}

.about__mission-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color-dark);
  line-height: 1.5;
}

.about__image {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .about {
    padding: 60px 0;
  }
  
  .about__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about__mission {
    flex-direction: column;
  }

  .about__mission-container {
    width: 100%;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .about {
    padding: 80px 0;
  }
  
  .about__wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .about {
    padding: 120px 0;
  }

  .about__content {
    width: 50%;
  }

  .about__image {
    width: 50%;
    height: 50%;
  }
}

/*Benefits*/

.benefits__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  gap: 32px;
}

.benefits__content {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.benefits__image {
  width: 100%;
}

.benefits__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.benefits__title {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.benefits__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.benefits__container {
  display: flex;
  justify-content: space-between;

  gap: 16px;
}

.benefit {
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.benefit__title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.benefit__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .benefits {
    padding: 60px 0;
  }
  
  .benefits__wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .benefits__image {
    width: 100%;
  }

  .benefits__content {
    width: 100%;
  }

  .benefits__container {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .benefits {
    padding: 80px 0;
  }
  
  .benefits__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .benefits__image {
    width: 100%;
  }

  .benefits__content {
    width: 100%;
  }

  .benefit {
    width: 30%;
  }
}

@media screen and (min-width: 1200px) {
  .benefits {
    padding: 120px 0;
  }

  .benefits__content {
    width: 60%;
  }

  .benefits__image {
    width: 40%;
  }

  .benefit {
    width: 30%;
  }
}

/*Divider*/

.divider {
  background-color: #1A1A1A;
  padding: 40px 0;
}

.divider__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.divider__title {
  font-size: 32px;
  font-weight: bold;
  color: white;
}

.divider__button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-color-light);
  background-color: #2C2C2C;
  border: none;
  cursor: pointer;
  text-align: center;

  transition: 0.5s;
}

.divider__button:hover {
  background-color: #D4A418;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .divider__wrapper {
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .divider__wrapper {
    flex-direction: column;
    align-items: flex-start;

    gap: 32px;
  }
}

/*Services*/

.services {
  background-color: #D4A418;
}

.services__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  
  gap: 40px;
}

.services__subtitle {
  font-size: 28px;
  font-weight: bold;
  color: #1A1A1A;
}

.services__title {
  font-size: 40px;
  font-weight: bold;
  color: #2C2C2C;
}

.services__text {
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  line-height: 1.5;
  text-align: center;
}

.services__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  gap: 20px;

  text-decoration: none;

  padding: 32px;
  border-radius: 4px;
  background-color: #2C2C2C;
  transition: 0.5s;
}

.service:hover {
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.service__image {
  width: 80px;
  height: 80px;

  background-color: #fff;
  border-radius: 100px;
  padding: 8px;

  align-self: center;
}

.service__title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.service__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.service__link {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
}



@media screen and (min-width: 320px) and (max-width: 640px) {
  .services {
    padding: 60px 0;
  }

  .service {
    width: 100%;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .services {
    padding: 80px 0;
  }

  .service {
    width: 48%;
  }
}

@media screen and (min-width: 1200px) {
  .services {
    padding: 120px 0;
  }

  .service {
    width: 32%;
  }
}

/*--Feedback--*/

.feedback {
  position: relative;
  background-color: #ffffff;
}

.feedback__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 32px;
}

.feedback__content {
  display: flex;
  flex-direction: column;

  gap: 32px
}

.feedback__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
}

.feedback__title {
  font-size: 40px;
  font-weight: bold;
  color: #2C2C2C;
}

.feedback__description {
  line-height: 24px;
  color: #2C2C2C;
  margin: 0 20px 20px 0;
}

.slide__author {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide__image {
  width: 120px;
  height: 120px;

  border-radius: 50%;
}

.author__name {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.feedback__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  text-align: center;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .feedback {
    padding: 60px 0;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .feedback {
    padding: 80px 0;
  }
}

@media screen and (min-width: 1200px) {
  .feedback {
    padding: 60px 0;
  }
}

/*--Slider--*/

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  gap: 16px;

  flex: 0 0 80%;
  background-size: cover;

  margin: 0 10%;
  padding: 40px;

  background-color: #2C2C2C;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  padding: 10px;
  color: #2C2C2C;
  font-size: 80px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .feedback__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .slider {
    width: 100%;
  }
  
  .prev-btn,
  .next-btn {
    display: none;
  }

  .slider-container {
    width: 100%;
  }

  .slide {
    flex-direction: column;

    flex: 0 0 100%;
    margin: 0;
    padding: 20px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .feedback__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .slider {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .slider {
    align-self: flex-end;
    width: 60%;
  }
}

/*--Contact--*/

.contact {
  background-color: #D4A418;
}

.contact__container {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 40px;
}

.contact__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  gap: 32px;
}

.contact__info {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.contact__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
}

.contact__title {
  font-size: 40px;
  font-weight: bold;
  color: #2C2C2C;
}

.contact__text {
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  line-height: 1.5;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__input {
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  outline: none;
  border: none;
  border-bottom: 1px solid #1A1A1A;
  background-color: transparent;
}

.contact__input::placeholder {
  color: #fff;
}

.contact__textarea {
  font-family: inherit;
}

.contact__button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-color-light);
  background-color: #2C2C2C;
  border: none;
  cursor: pointer;
  text-align: center;

  transition: 0.5s;
}

.contact__button:hover {
  background-color: #1A1A1A;
}

.contact__links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px;

  padding: 40px;
  border-radius: 8px;
  background-color: #2C2C2C;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}

.contact__link:hover {
  color: #1A1A1A;
}

.icon {
  width: 48px;
  height: 48px;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .contact {
    padding: 60px 0;
  }
  
  .contact__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact__info {
    width: 100%;
  }

  .contact__form {
    width: 100%;
  }

  .contact__links {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .contact {
    padding: 80px 0;
  }
  
  .contact__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact__info {
    width: 100%;
  }

  .contact__form {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .contact {
    padding: 120px 0;
  }

  .contact__info {
    width: 50%;
  }

  .contact__form {
    width: 50%;
  }
}

/*Footer*/ 

.footer {
  background-color: #2C2C2C;
  padding: 40px 0;
}

.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__link {
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-color-light);
}

.footer__link:hover {
  color: #1A1A1A;
}

/*Consultation*/

.consultation__wrapper {
  display: flex;
  justify-content: space-between;

  gap: 32px;
}

.consultation__info {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.consultation__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #1A1A1A;
}

.consultation__title {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.consultation__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
  .consultation {
    padding: 60px 0;
  }
  
  .consultation__wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 641px) and (max-width: 1199px) {
  .consultation {
    padding: 80px 0;
  }
  
  .consultation__wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .consultation {
    padding: 120px 0;
  }

  .consultation__info {
    width: 50%;
  }
}


