/*     Reset     */
/*          HERO                 */
.hero {
  position: relative;
  padding: 40px 24px 197px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero p {
  font-size: 22px;
  line-height: 38px;
  opacity: 0.8;
  margin-bottom: 60px;
}

.hero span {
  color: #f67e7e;
}

.hero .pattern-left {
  display: none;
}

.hero .pattern-bottom {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 768px;
}

/*                   FEATURES               */
.features {
  position: relative;
  padding: 64px 24px;
  background: #012f34;
}

.features-text {
  display: flex;
  justify-content: space-between;
}

.features hr {
  width: 50px;
  height: 5px;
  background: #f67e7e;
  border: none;
}

.features h2 {
  margin: 30px 0;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  max-width: 300px;
}

.features .pattern-right {
  position: absolute;
  right: -60px;
  top: 0;
  width: 250px;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.feature img {
  max-width: 100%;
  height: auto;
}

.feature h3 {
  font-size: 21px;
  margin: 0;
  color: #f67e7e;
}

.feature p {
  font-size: 16px;
  line-height: 25px;
  opacity: 0.8;
}

/*                   TESTIMONIALS                  */
.testimonials {
  position: relative;
  padding: 150px 0;
  text-align: center;
}

.testimonials .pattern-top {
  position: absolute;
  top: 0;
  left: 0px;
  width: 250px;
  z-index: 0;
}

.testimonials .pattern-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
  z-index: 0;
}

.testimonial img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid white;
}

.testimonials h2 {
  font-size: 57px;
  line-height: 60px;
  margin: 120px 0px 60px 0px;
}

.testimonials h2 span {
  font-weight: 700;
  color: #79c8c7;
}

.testimonials__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.testimonial p {
  font-size: 20px;
  line-height: 35px;
  color: white;
  font-weight: 700;
}

.testimonial h4 {
  color: #79c8c7;
  font-size: 25px;
}

.testimonial span {
  font-size: 18px;
  font-style: italic;
}

.testimonial:last-child {
  margin-bottom: 30px;
}

.testimonial img.quote {
  width: 100px;
  height: 100px;
  border: none;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin-bottom: -50px;
}

/*       ABOUT-HERO                 */
.about-hero {
  position: relative;
  padding: 80px 18px;
  overflow: hidden;
  color: white;
}

.about-hero__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-right: 40px;
  z-index: 1;
}

.about-hero .title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.about-hero p {
  font-size: 20px;
  line-height: 30px;
  opacity: 0.8;
  margin-top: 20px;
}

.about-hero .pattern {
  position: absolute;
  right: -100px;
  bottom: 0;
  width: 200px;
  z-index: 0;
}

.line {
  width: 50px;
  height: 4px;
  background: #f67e7e;
  margin-right: auto;
  margin-left: 0px;
}

/*                    DIRECTORS               */
.directors {
  position: relative;
  padding: 120px 0;
  background: #133b40;
}

.directors .pattern-top {
  position: absolute;
  left: -100px;
  top: 0;
  width: 200px;
  z-index: 0;
}

.directors h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 32px;
}

.directors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  padding-top: 30px;
  padding-bottom: 80px;
}

.director-card {
  background: #1e2a2b;
  padding: 40px;
  text-align: center;
  position: relative;
}

.card-front img {
  width: 96px;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 20px;
}

.card-front h3 {
  color: #79c8c7;
}

.card-back {
  display: none;
}

.card-btn {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: none;
  background: #f67e7e;
  position: absolute;
  bottom: -23px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.card-btn img {
  width: 24px;
  height: 24px;
}

.director-card.active .card-front {
  display: none;
}

.director-card.active .card-back {
  display: block;
}

.director-card.active .card-btn {
  background: #397780;
  transform: translateX(-50%) rotate(45deg);
}

.directors .pattern-bottom {
  position: absolute;
  right: -80px;
  bottom: 0;
  width: 200px;
  z-index: 0;
}

.card-back .socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

/*                 CLIENTS                      */
.clients {
  position: relative;
  background: #0b2a2e;
  padding: 100px 0;
  text-align: center;
}

.clients h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-top: 100px;
}

.clients__logos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 50px;
}

.clients__logos img {
  width: 150px;
}

.clients__logos img:last-child {
  max-height: 45px;
}

.clients .pattern {
  position: absolute;
  left: 0px;
  top: 0;
  width: 200px;
  z-index: 0;
}

/*                     CONTACT PAGE                      */
.contact {
  padding: 100px 40px;
  position: relative;
}

.contact .pattern-left {
  position: absolute;
  left: -100px;
  top: 0;
  width: 200px;
  z-index: 0;
}

.contact__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.contact-info h1 {
  font-size: 45px;
  text-align: center;
}

.contact-info h2 {
  text-align: center;
  font-size: 30px;
  color: #f67e7e;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.info-item p {
  font-size: 20px;
}

input::-moz-placeholder {
  color: #789a9e;
}

input::placeholder {
  color: #789a9e;
}

textarea::-moz-placeholder {
  color: #789a9e;
}

textarea::placeholder {
  color: #789a9e;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  padding: 25px 0;
  color: #fff;
  outline: none;
}

.form-group .error {
  position: absolute;
  bottom: 4px;
  left: 0;
  font-size: 12px;
  color: #f67e7e;
}

.form-group.error input,
.form-group.error textarea {
  border-bottom: 1px solid #f67e7e;
}

.contact .btn {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 20px;
  margin-bottom: 100px;
}

.contact .pattern-right {
  position: absolute;
  right: -100px;
  bottom: 0;
  width: 200px;
  z-index: 0;
}

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

body {
  font-family: "Livvic", sans-serif;
  background: #014e56;
  color: white;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: white;
}

/*          HAMBURGER          */
.hamburger {
  position: relative;
  z-index: 101;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.nav {
  display: none;
  gap: 30px;
  position: absolute;
  top: 80px;
  right: 30px;
  background: #012f34;
  padding: 20px;
  border-radius: 10px;
  z-index: 100;
}

.nav.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/*        CONTAINER            */
.container {
  width: 90%;
  max-width: 1110px;
  margin: 0 auto;
}

/*          HEADER               */
.header {
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.btn {
  padding: 10px 40px;
  border: 2px solid white;
  border-radius: 25px;
  display: inline-block;
}

.btn:hover {
  background: white;
  color: #002529;
}

/*             CTA                    */
.cta {
  position: relative;
  background: #f67e7e;
  padding: 70px 0;
  text-align: center;
}

.cta__wrapper {
  text-align: center;
}

.cta h2 {
  color: #012f34;
  font-size: 50px;
  font-weight: 700;
  line-height: 55px;
  margin-bottom: 30px;
  margin-left: 70px;
}

.cta .btn {
  color: #002529;
  border-color: #002529;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  margin-left: 70px;
}

.cta .pattern {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
  z-index: 0;
}

/*                     FOOTER                 */
.footer {
  background: #002529;
  padding: 60px 0;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.footer__left {
  text-align: center;
  margin-bottom: 24px;
}

.footer__left img {
  display: inline-block;
}

.footer__links {
  display: flex;
  margin-top: 25px;
  justify-content: center;
  gap: 70px;
}

.icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

a,
textarea,
input {
  outline: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #00ff99;
  outline-offset: 2px;
}

input:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button.btn:hover {
  background-color: #6bc62a;
  transform: translateY(-1px);
}

/*                  TABLET                     */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .features__list {
    flex-direction: row;
  }
  .testimonials__list {
    flex-direction: row;
  }
  .directors__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact__wrapper {
    flex-direction: row;
    gap: 80px;
  }
  .contact-info {
    flex: 1;
  }
  .contact-form {
    flex: 1;
  }
  .contact-info h1,
  .contact-info h2 {
    text-align: start;
  }
  .clients__logos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  .clients__logos img {
    width: 120px;
  }
  .hamburger {
    display: none;
  }
  .nav {
    display: flex;
    align-items: center;
    position: static;
    flex-direction: row;
    gap: 40px;
    background: none;
    padding: 0;
    margin-left: 40px;
    flex: 1;
  }
  .nav .btn {
    margin-left: auto;
  }
  .footer__wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
  }
  .footer__left {
    margin-bottom: 0;
  }
  .footer__links {
    justify-content: center;
    margin-top: 0;
  }
  .footer .icons {
    justify-content: flex-end;
    margin-bottom: 50px;
  }
  .about-hero__wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 200px;
    width: 100%;
  }
  .about-hero__wrapper .title {
    flex: 1;
    text-align: left;
  }
  .about-hero__wrapper .right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
  }
  .right-side p {
    font-size: 22px;
    line-height: 40px;
  }
  .about-hero__wrapper .pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
  .clients {
    padding: 30px 0 120px 0;
  }
  .clients h2 {
    font-size: 52px;
  }
  .hero .pattern-left {
    display: block;
    position: absolute;
    left: -100px;
  }
  .hero__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
  }
  .hero .pattern-bottom {
    width: 400px;
    transform: translateX(-20%);
    left: 65%;
    z-index: 0;
  }
  .hero__content h1 {
    flex: 1 1 50%;
    margin: 0;
    font-size: 100px;
    line-height: 100px;
  }
  .hero__content .hero-right {
    flex: 1 1 50%;
    margin: 0;
  }
  .hero-right .hero-line {
    background-color: #0b3b40;
    margin-bottom: 50px;
    width: 50px;
    height: 4px;
    border: none;
  }
  .cta {
    position: relative;
    padding: 60px 20px;
  }
  .cta__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
  }
  .cta h2 br {
    display: none;
  }
}
/*              DESKTOP                   */
@media (min-width: 1100px) {
  .hero {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 80px;
  }
  .directors__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact__wrapper {
    flex-direction: row;
    gap: 80px;
  }
  .clients__logos {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .clients__logos img {
    max-width: 150px;
    width: auto;
  }
}