html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

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

section {
  scroll-margin-top: 100px;
}

header {
  height: 8vh;
  padding: 0 15rem;
  background-color: #4b29a1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 9999;
}

header img {
  width: 150px;
  height: 60%;
  cursor: pointer;
}

header ul {
  display: flex;
  gap: 0 4em;
  list-style: none;
}

header a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  position: relative;
  transition: all 0.3s ease;
}

header a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background-color: #419fd0;
  transition: width 0.3s ease;
}

header a:hover::after {
  width: 90%;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #2b8bc0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.2s ease;
  color: #fff;
}

.side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 2.5em;
  font-weight: 500;
}

.side-menu img {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 35px;
  width: 35px;
}

#about {
  background-color: #fff;
  height: 120vh;
  color: #4b29a1;
}

.aboutDetails {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40%;
  padding: 0 15rem;
}

.aboutDetails img {
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(75, 41, 161, 0.4);
}

.details h1 {
  font-size: 3.3em;
  margin-bottom: 0.3em;
  font-weight: 700;
  align-self: flex-start;
  justify-self: flex-start;
}

.aboutText {
  font-size: 1.6em;
  width: 70%;
  margin-bottom: 1em;
  /* font-weight: 500; */
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details button {
  background-color: #419fd0;
  border-radius: 8px;
  color: #fff;
  border-style: none;
  width: 12rem;
  padding: 0.7em 1em;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btnSubline {
  font-size: 1em;
  font-weight: 500;
  margin-top: 0.5em;
}

.details button:hover {
  background-color: #2b8bc0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whyPeerply {
  background-color: #4b29a1;
  color: #fff;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 15rem;
  --p: 80px;
  clip-path: polygon(0 0, 100% var(--p), 100% 100%, 0 calc(100% - var(--p)));
}

.whyPeerply h1 {
  font-size: 2.7em;
  margin-bottom: 1.2em;
  font-weight: 600;
}

.whyItems {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.whyItem h3 {
  font-size: 1.6em;
  width: 310px;
  margin-bottom: 0.4em;
  font-weight: 500;
}

.whyItem {
  display: flex;
  gap: 0 1em;
}

.whyItem img {
  width: 50px;
  height: 50px;
}

.whyItem p {
  font-size: 1.2em;
  width: 350px;
}

#features {
  padding: 6em 15rem;
  color: #4b29a1;
}

#features h1 {
  font-size: 2.5em;
  margin-bottom: 1.2em;
  font-weight: 600;
}

#features h3 {
  margin-bottom: 0.3em;
}

#problemsWeSolve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5em;
  padding-bottom: 5em;
  gap: 0 6em;
}

.feature-grid {
  display: flex;
  gap: 0 3em;
}

.feature-card h3 {
  font-size: 1.6em;
}

.feature-card p {
  font-size: 1.4em;
}

#howItWorks {
  background-color: #4b29a1;
  color: #fff;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 15rem;
  --p: 50px;
  clip-path: polygon(0 var(--p), 100% 0, 100% calc(100% - var(--p)), 0 100%);
}

#howItWorks h1 {
  font-size: 2.7em;
  margin-bottom: 1.2em;
  font-weight: 600;
}

.howItWorksItem {
  display: flex;
  gap: 0 1em;
  flex: 1;
}

.howItWorksItem p {
  font-size: 1.2em;
  width: 90%;
}

.howItWorksItem img {
  width: 60px;
  height: 60px;
}

.howItWorksItem h3 {
  font-size: 1.6em;
  margin-bottom: 0.4em;
  font-weight: 500;
}

.howItWorksItems {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 3em;
}

.whyItems {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.whyItem h3 {
  font-size: 1.6em;
  width: 310px;
  margin-bottom: 0.4em;
  font-weight: 500;
}

.whyItem {
  display: flex;
  gap: 0 1em;
}

.whyItem img {
  width: 50px;
  height: 50px;
}

.whyItem p {
  font-size: 1.2em;
  width: 350px;
}

#problemsWeSolve div {
  width: 40%;
}

#problemsWeSolve h1 {
  font-size: 2.3em;
  color: #4b29a1;
  margin: 0.8em 0;
}

#problemsWeSolve img {
  width: 400px;
  height: auto;
  object-fit: contain;
  display: block;
}

#whyUs {
  --p: 100px;
  clip-path: polygon(0 0, 100% var(--p), 100% 100%, 0 calc(100% - var(--p)));
  padding-top: 200px 15rem;
  height: 1100px;
  background-color: #4b29a1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6em 0;
}

.whyUs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 3em;
  padding: 0 15rem;
}

#whyUs h1 {
  width: 75%;
  color: #fff;
  font-size: 2.3em;
}

.contactUs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4b29a1;
  margin-top: 80px;
  font-family: "Inter", sans-serif;
}

.contactUs h1 {
  font-size: 2.6em;
  margin-bottom: 40px;
  color: #4b29a1;
}

.contactUs form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.5em 0;
}

.names {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0 1em;
}

.emailCompany {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0 1em;
}

.contactUs input,
.contactUs textarea {
  border: 2px solid #419fd0;
  border-radius: 15px;
  background-color: #fdfdff;
  padding: 15px 20px;
  font-size: 1.1em;
  color: #2e2e2e;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(75, 41, 161, 0.1);
  font-family: "Inter", sans-serif;
}

.contactUs input {
  width: 48%;
}

.contactUs input:focus,
.contactUs textarea:focus {
  background-color: #ffffff;
  border: 2px solid #419fd0;
  box-shadow: 0 0 0 4px rgba(65, 159, 208, 0.15);
  outline: none;
}

.contactUs input::placeholder,
.contactUs textarea::placeholder {
  color: #888;
  opacity: 0.8;
}

.contactUs textarea {
  height: 130px;
  resize: vertical;
  width: 100%;
}

.contactUs button {
  background-color: #4b29a1;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.3em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  width: 10em;
  align-self: center;
}

.contactUs button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contactUs #responseMessage {
  color: #4b29a1;
  margin-top: 1em;
  text-align: center;
  font-size: 1.3em;
}

footer {
  margin-top: 8em;
  background-color: #4b29a1;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1.5em 0;
  padding: 2em 15rem;
}

.divider {
  width: 70%;
  height: 1px;
  background-color: #2b8bc0;
}

.contacts {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.policies a {
  position: relative;
}

.policies a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background-color: #419fd0;
  transition: width 0.3s ease;
}

.policies a:hover::after {
  width: 90%;
}

header a:hover::after {
}

.socials {
  display: flex;
  align-items: center;
  gap: 0 3em;
}

.phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 0.3em;
}

.policies a {
  text-decoration: none;
  color: #fff;
}

.policies {
  display: flex;
  gap: 0 3em;
}

.linkedin {
  display: flex;
  align-items: center;
  gap: 0 0.5em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.cookieBanner {
  position: sticky;
  z-index: 9999;
  background-color: #4b29a1;
  height: 80px;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 150px;
  gap: 0 15px;
  color: #fff;
}

.cookieBanner button {
  height: 40px;
  background-color: #2b8bc0;
  padding: 10px;
  border-radius: 8px;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.mainPolicy {
  padding: 2em 15rem;
  display: flex;
  flex-direction: column;
  gap: 2em 0;
}

.mainPolicy h3 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.policyStep1 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep2 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep2 ul {
  padding-left: 2em;
}

.firstList {
  margin-bottom: 1em;
}

.policyStep2 h6 {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 0.3em;
}

.policyStep3 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep3 p {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

.policyStep3 ul {
  padding-left: 2em;
}

.policyStep4 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep5 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep6 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyStep7 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
.policyStep8 h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.policyFooter {
  margin-top: 2em;
}

.rightsReserved {
  text-decoration: none;
  color: #fff;
}

.contactUs img {
  width: 45%;
  height: auto;
  border-radius: 15px;
}

.contactUs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 15em;
}

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

@media (min-width: 1400px) and (max-width: 1600px) {
  header {
    padding: 0 10rem;
  }
  .aboutDetails {
    padding: 0 10rem;
  }
  .aboutDetails h1 {
    font-size: 3em;
    width: 600px;
  }

  .aboutText {
    font-size: 1.4em;
    width: 80%;
  }

  .btnSubline {
    font-size: 0.5em;
  }

  .whyPeerply {
    padding: 0 10rem;
  }

  .whyPeerply h1 {
    font-size: 2.1em;
  }

  .whyItem h3 {
    font-size: 1.5em;
    width: 280px;
  }

  .whyItem p {
    font-size: 1.2em;
    width: 320px;
  }

  #features {
    padding: 5em 10rem;
  }

  #howItWorks {
    padding: 0 10rem;
  }

  .whyUs-item {
    padding: 0 10rem;
  }

  #contactUs {
    padding: 0 10em;
  }

  .contactUs img {
    width: 40%;
  }

  .cookieBanner {
    position: sticky;
    z-index: 9999;
    background-color: #2f4858;
    height: 120px;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    justify-content: center;
    gap: 10px 15px;
    font-size: 15px;
    color: #fff;
  }

  footer {
    padding: 2em 10em;
  }
}

@media (min-width: 900px) and (max-width: 1400px) {
  header {
    font-size: 0.8em;
    padding: 0 7rem;
  }

  header img {
    width: 150px;
    height: 50%;
  }

  .aboutDetails {
    padding: 0 7rem;
  }

  .aboutDetails h1 {
    font-size: 2.6em;
  }

  .aboutText {
    font-size: 1.2em;
    width: 80%;
  }

  .whyPeerply {
    padding: 0 7rem;
  }

  .whyPeerply h1 {
    font-size: 1.9em;
  }

  .whyItem h3 {
    font-size: 1.3em;
    width: 230px;
  }

  .whyItem p {
    font-size: 1.1em;
    width: 250px;
  }

  .whyItems {
    gap: 0 1em;
  }

  .whyUs-item {
    padding: 0 7rem;
  }

  #features {
    padding: 3em 7rem;
  }

  #howItWorks {
    padding: 0 7rem;
  }

  #whyUs {
    height: 1100px;
  }

  #whyUs h1 {
    font-size: 2em;
  }

  #problemsWeSolve h1 {
    font-size: 2em;
  }

  #contactUs {
    padding: 0 7em;
  }

  .bookForm {
    width: 50%;
  }

  .contactUs img {
    width: 40%;
    height: 300px;
  }

  form {
    width: 100%;
  }

  .cookieBanner {
    position: sticky;
    z-index: 9999;
    background-color: #2f4858;
    height: 120px;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    justify-content: center;
    gap: 10px 15px;
    font-size: 15px;
    color: #fff;
  }

  footer {
    padding: 2em 7em;
  }

  .contacts {
    justify-content: center;
    gap: 0 15em;
  }

  .socials {
    flex-direction: column;
    gap: 2em 0;
  }

  .policies {
    flex-direction: column;
    gap: 2em 0;
  }
}

@media (min-width: 900px) and (max-width: 1150px) {
  header img {
    width: 130px;
  }

  .aboutDetails h1 {
    font-size: 2.4em;
  }

  .aboutText {
    font-size: 1.2em;
    width: 80%;
  }

  .whyItem h3 {
    font-size: 1.3em;
    width: 180px;
  }

  .whyItem p {
    font-size: 1.1em;
    width: 180px;
  }

  .feature-grid {
    flex-direction: column;
    gap: 2em 0;
  }

  .whyPeerply h1 {
    font-size: 1.8em;
    margin-bottom: 1.2em;
  }

  #whyUs h1 {
    font-size: 2em;
  }

  .cookieBanner {
    position: sticky;
    z-index: 9999;
    background-color: #2f4858;
    height: 120px;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    justify-content: center;
    gap: 10px 15px;
    font-size: 15px;
    color: #fff;
  }

  footer {
    padding: 2em 7em;
  }

  .contacts {
    justify-content: center;
    gap: 0 15em;
  }

  .socials {
    flex-direction: column;
    gap: 2em 0;
  }

  .policies {
    flex-direction: column;
    gap: 2em 0;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  header {
    font-size: 0.8em;
    padding: 0 2em;
  }

  header ul {
    display: none;
  }

  .menu {
    width: 45px;
    height: 45px;
  }

  #about {
    height: 200vh;
  }

  header img {
    width: 150px;
    height: 50%;
  }

  .aboutDetails {
    height: 35%;
    padding: 0 2em;
  }

  .aboutDetails img {
    width: 300px;
    height: 330px;
  }

  .aboutDetails h1 {
    font-size: 2.5em;
    width: 280px;
  }

  .aboutText {
    font-size: 1.1em;
    width: 80%;
  }

  .whyPeerply {
    height: 65%;
    padding: 1em 2em;
  }

  .whyPeerply h1 {
    font-size: 1.9em;
    text-align: center;
    margin-bottom: 1.2em;
  }

  .whyItem h3 {
    font-size: 1.3em;
    width: 180px;
  }

  .whyItem p {
    font-size: 1.1em;
    width: 180px;
  }

  .whyItems {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2em;
  }

  #features {
    padding: 0 2rem;
  }

  #howItWorks {
    padding: 0 2rem;
  }

  .feature-grid {
    flex-direction: column;
    gap: 2em 0;
  }

  #problemsWeSolve {
    flex-direction: column;
  }

  #problemsWeSolve img {
    margin-bottom: 2em;
  }

  #problemsWeSolve div {
    width: 90%;
  }

  #problemsWeSolve h1 {
    font-size: 1.8em;
    width: 100%;
    text-align: center;
  }

  #whyUs {
    flex-direction: column;
    height: 1500px;
    gap: 3em 0;
  }

  #whyUs h1 {
    width: 100%;
    text-align: center;
    font-size: 2em;
  }

  .whyUs-item {
    flex-direction: column;
    gap: 2em 0;
    margin: 2em 0;
    padding: 0 2em;
  }

  .whyUs-item img {
    order: 2;
    height: 200px;
    width: 200px;
  }

  #contactUs {
    padding: 0 2em;
  }

  .bookForm {
    margin: 0 auto;
  }

  .contactUs img {
    display: none;
  }

  .cookieBanner {
    position: sticky;
    z-index: 9999;
    background-color: #2f4858;
    height: 120px;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    justify-content: center;
    gap: 10px 15px;
    font-size: 15px;
    color: #fff;
  }

  footer {
    padding: 2em 2em;
  }

  .contacts {
    justify-content: center;
    gap: 0 5em;
  }

  .socials {
    flex-direction: column;
    gap: 2em 0;
  }

  .policies {
    flex-direction: column;
    gap: 2em 0;
  }

  .mainPolicy {
    padding: 2em 4em;
  }
}

@media (max-width: 600px) {
  header ul {
    display: none;
  }

  header {
    font-size: 0.8em;
    padding: 0 1em;
  }

  header ul {
    display: none;
  }

  .menu {
    width: 40px;
    height: 40px;
  }

  #about {
    height: 260vh;
  }

  header img {
    width: 120px;
    height: 50%;
  }

  .details {
    align-items: center;
  }

  .btnSubline {
    margin-bottom: 2em;
    text-align: center;
  }

  .aboutDetails {
    height: 45%;
    padding: 0 1em;
    flex-direction: column;
    justify-content: unset;
  }

  .aboutDetails img {
    width: 300px;
    height: 330px;
  }

  .aboutDetails h1 {
    font-size: 3em;
    width: 100%;
    margin-top: 1.5em;
    text-align: center;
    margin-bottom: 1em;
  }

  .aboutText {
    font-size: 1.5em;
    width: 100%;
    text-align: center;
  }

  .whyPeerply {
    height: 55%;
    padding: 1em;
  }

  .whyPeerply h1 {
    font-size: 2.1em;
    text-align: center;
    margin-bottom: 1.2em;
  }

  .whyItem {
    gap: 0 0.3em;
  }

  .whyItem h3 {
    font-size: 1.5em;
    width: 90%;
    text-align: center;
  }

  .whyItem p {
    font-size: 1.3em;
    width: 90%;
    text-align: center;
  }

  .whyItems {
    gap: 3em 0;
    flex-direction: column;
    align-items: center;
  }

  #features {
    padding: 5em 1rem;
  }

  #features h1 {
    width: 100%;
    text-align: center;
  }
  #features h3 {
    width: 100%;
    text-align: center;
  }
  #features p {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
  }

  .feature-grid {
    flex-direction: column;
  }

  #howItWorks {
    padding: 0 2rem;
    height: 1100px;
  }

  .howItWorksItems {
    flex-direction: column;
    gap: 3em 0;
  }

  #howItWorks h3 {
    text-align: center;
  }

  #howItWorks p {
    text-align: center;
    width: 100%;
  }

  #problemsWeSolve {
    flex-direction: column;
  }

  #problemsWeSolve img {
    margin-bottom: 2em;
    width: 70%;
    height: 450px;
  }

  #problemsWeSolve div {
    width: 90%;
  }

  #problemsWeSolve h1 {
    font-size: 1.8em;
    width: 100%;
    text-align: center;
  }

  #whyUs {
    flex-direction: column;
    gap: 1em 0;
    height: 2100px;
    gap: 4em 0;
  }

  .whyUs-item {
    flex-direction: column;
    gap: 2em 0;
    margin: 2em 0;
    padding: 0 2em;
  }

  .whyUs-item img {
    order: 2;
    height: 200px;
    width: 200px;
  }

  #whyUs h1 {
    width: 90%;
    text-align: center;
    font-size: 2em;
  }

  .names {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5em 0;
  }

  .emailCompany {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5em 0;
  }

  .names input {
    width: 100%;
  }

  .emailCompany input {
    width: 100%;
  }

  .contactUs {
    flex-direction: column;
    padding: 0 1em;
  }

  .contactUs img {
    display: none;
  }

  .cookieBanner {
    position: sticky;
    z-index: 9999;
    background-color: #2f4858;
    height: 120px;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    justify-content: center;
    gap: 10px 15px;
    font-size: 15px;
    color: #fff;
  }

  footer {
    padding: 2em 1em;
  }

  .contacts {
    justify-content: center;
    gap: 3em 0;
    flex-direction: column;
  }

  .socials {
    flex-direction: column;
    gap: 1em 0;
  }

  .policies {
    flex-direction: column;
    gap: 1em 0;
  }

  .mainPolicy {
    padding: 2em 1em;
  }
}

@media (max-width: 400px) {
  #problemsWeSolve img {
    margin-bottom: 2em;
    width: 90%;
    height: 430px;
  }
}

@media (min-width: 900px) {
  .menu {
    display: none;
  }
}
