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

a {
  transition: all 0.3s ease;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Header styles */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 80px;
  background-color: #fff;
}

.logo {
  color: #42bfc3;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: unset;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    url("./img/hero-bg.png") lightgray 50% / cover no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 900px;
}

.hero-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

.hero-description {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.cta-button {
  padding: 18px 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  background-color: #42bfc3;
  border: none;
  text-decoration: unset;
}

/* About section */
.about-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #fff;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 47px;
}

.about-image {
  width: 466px;
  border-radius: 20px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 527px;
}

.section-title {
  color: #000;
  font-size: 34px;
  font-weight: 700;
}

.section-title.light {
  color: #fff;
  text-align: center;
}

.section-text {
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

/* Why section */
.why-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #42bfc3;
}

.features-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  border-radius: 20px;
  width: 333px;
  background-color: #fff;
}

.feature-title {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-text {
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

/* Team section */
.team-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #fff;
}

.team-container {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(235, 250, 255, 1);
  border-radius: 20px;
  padding: 40px 20px;
}

.team-description {
  flex: 1;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.team-image {
  max-width: 446px;
  border-radius: 20px;
  align-self: stretch;
  overflow: hidden;
}

.team-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Services section */
.services-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #fff;
}



.section-title {
  text-align: center;
}

.services-intro {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 30px;
}

.services-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 20px 19px;
  border-radius: 20px;
  width: 333px;
  background-color: #ebfaff;
}

.service-title {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.service-text {
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

/* Reviews section */
.reviews-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #fff;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  padding: 16px 19px;
  border-radius: 20px;
  background-color: #42bfc3;
}

.testimonial-text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}

.testimonial-author {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
}

/* Contact section */
.contact-section {
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  background-color: #fff;
}

.contact-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 520px;
}

.form-input {
  padding: 16px 32px;
  border: 1px solid #42bfc3;
  border-radius: 10px;
  color: #000;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.submit-button {
  padding: 18px 40px;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  background-color: #42bfc3;
  border: none;
  margin-top: 10px;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.contact-image {
  width: 446px;
  border-radius: 20px;
}

/* Footer styles */
.main-footer {
  display: flex;
  flex-direction: column;
  padding: 30px 80px;
  background-color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  color: #42bfc3;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-link {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #000;
  padding-top: 18px;
}

.copyright {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 21px;
  background-color: #42bfc3;
}

/* Responsive styles */
@media (max-width: 991px) {
  .container {
    max-width: 991px;
  }

  .hero-content {
    width: 100%;
  }

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

  .about-image {
    width: 100%;
  }

  .about-content {
    width: 100%;
  }

  .team-container {
    flex-direction: column-reverse;
  }

  .team-image {
    width: 100%;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-image {
    width: 100%;
  }
}

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

  .main-header {
    padding: 16px 20px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 40px;
  }

  .about-section,
  .why-section,
  .team-section,
  .services-section,
  .reviews-section,
  .contact-section {
    padding: 40px 20px;
  }

  .features-container,
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .feature-card,
  .service-card {
    width: 100%;
  }

  .main-footer {
    padding: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-form {
    width: 100%;
  }
}

.nav-link:hover,
.footer-link:hover {
  color: #42bfc3;
}

.about-content .section-title {
  text-align: left;
}

.services-section .section-title {
  text-align: left;
  margin-bottom: 10px;
}

@media (max-width:768px){
  .main-header {
    justify-content: center;
  }
}

.success-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.success-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.success-container .submit-button {
  align-self: center;
  text-decoration: unset;
}

.success-section {
  flex: 1 1 auto;
}

.submit-button:hover {
  box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.3);
}

.privacy-section {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 80px;
  padding-right: 80px;
}

.privacy-section .section-title {
  text-align: left;
  text-transform: capitalize;
}

.privacy-content h2,
.privacy-content p,
.privacy-content li,
.privacy-content a {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
}

.privacy-content a {
  color: inherit;
}

.privacy-content li {
  list-style-position: inside;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 640px) {

  .privacy-section {
    padding: 60px 20px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 20;
  background-color: rgba(66, 191, 195, 1);
  display: flex;
  padding: 40px 80px;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  font-family:
    "Open Sans",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  justify-content: start;
}

.cookie-heading {
  font-size: 34px;
  margin: 0;
}

.cookie-description {
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  align-self: stretch;
  margin-top: 20px;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 30px;
  color: rgba(0, 0, 0, 1);
  text-align: center;
  justify-content: start;
}

.accept-button {
  align-self: stretch;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 1);
  margin-top: auto;
  margin-bottom: auto;
  min-height: 54px;
  padding: 15px 60px;
  gap: 10px;
  border: none;
  font-family:
    "Open Sans",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.reject-button {
  align-self: stretch;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 1);
  margin-top: auto;
  margin-bottom: auto;
  min-height: 54px;
  padding: 15px 60px;
  gap: 10px;
  white-space: nowrap;
  border: none;
  font-family:
    "Open Sans",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 991px) {
  .cookie-banner {
    padding: 40px 20px;
  }

  .cookie-description {
    max-width: 100%;
  }

  .accept-button {
    padding: 15px 20px;
  }

  .reject-button {
    padding: 15px 20px;
    white-space: initial;
  }
}