:root {
  --color1: #ee2a3bff;
  --color2: #285dabff;
  --color3: #3697c3;
  --color4: #327ec7;
  --color5: #00dbe1;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Golos-reg", Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: "Golos-reg";
  src:
    url("fonts/golos-text_regular.woff2") format("woff2"),
    url("fonts/golos-text_regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos-bold";
  src:
    url("fonts/golos-text_bold.woff2") format("woff2"),
    url("fonts/golos-text_bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
nav {
  position: fixed;

  top: 0;
  width: 100%;
  background-color: #ffffff;
  height: 100px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.156);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.menu {
  display: flex;

  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: var(--color2);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}
.logo img {
  height: 60px;
}
ul {
  list-style: none;
  display: flex;

  gap: 60px;
}
li {
  font-family: "Golos-reg", Arial, sans-serif;
  font-size: 18px;
}
#rec3 {
  font-size: 18px;
  border: none;
  cursor: pointer;
  color: var(--color2);
  background-color: #ffffff;
  padding: 0;
}
.nav-wrap a {
  text-decoration: none;
  color: var(--color2);
}
header {
  /* height: 100vh; */
  background: url("images/hero.jpg") no-repeat center center/cover;

  position: relative;
  z-index: 0;
  font-family: "Golos-reg", Arial, sans-serif;
}
header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: -1;
  background: rgb(255, 255, 255);

  clip-path: polygon(0 0, 100% 100%, 0 100%, 0 0);
}
.header-wrap {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.484);
  z-index: -1;
}
header h1 {

  color: #ffffff;
  font-size: 72px;
  text-align: center;
  padding: 60px 60px 30px 60px;
  margin-bottom: 10px;
}
header .hor {
  width: 130px;
  border-bottom: 2px solid rgb(252, 252, 252);
  margin-bottom: 40px;
}
header p {
  width: 80%;
  margin: 0 auto;
  color: #ffffff;
  font-size: 28px;
  text-align: center;
}
.header-grp-btn {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 40px;
  padding: 40px;
}
.header-grp-btn a {
  text-decoration: none;
  color: white;
  padding: 24px 32px;
  border: none;
  background-color: var(--color1);
  width: 270px;
  text-align: center;
  font-size: 18px;
}
.header-grp-btn button {
  text-decoration: none;
  color: white;
  padding: 24px 32px;
  border: none;
  background-color: var(--color2);
  width: 270px;
  text-align: center;
  font-size: 18px;
}
main button {
  text-decoration: none;
  color: white;
  padding: 24px 32px;
  border: none;
  background-color: var(--color1);
  width: 270px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
}
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#about {
  scroll-margin-top: 70px;
}
.about {
  width: 100%;
  padding: 10% 50px;
  color: black;
  padding: 50px;
  font-size: 20px;
  position: relative;
  text-indent: 10px;
}
.about h3 {
  text-align: center;
}
.about::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: -1;
  background: var(--color3);

  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}
.about-wrap {
  width: 80%;

  margin: 0 auto;
}
.syn {
  width: 100%;
  text-align: center;
  background-color: var(--color3);
  margin: 0 auto;
  padding: 30px;
  font-size: 24px;
}
.features {
  width: 100%;
  background-color: var(--color3);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px;
  position: relative;
  z-index: 0;
}
.features::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: -1;
  background: #ffffff;

  clip-path: polygon(0 0, 100% 100%, 0 100%, 0 0);
}
.features-wrap {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-around;
}
.card {
  text-align: center;
  background-color: #ffffff;

  padding: 30px;
  /* border: 1px solid black; */
  min-width: 200px;
  max-width: 500px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.1);
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.316);
}
.quote {
  margin-top: 50px;
  margin-bottom: 50px;
  width: 60%;
  padding: 30px;
  border-left: 3px solid var(--color3);
  font-style: italic;
  font-weight: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.footer-wrap {
  padding: 30px;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.madeby {
  align-self: flex-end;
}
.madeby a {
  font-size: 12px;
  text-decoration: none;
  padding: 15px 30px;

  color: rgba(0, 0, 0, 0.599);
}
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  top: 0;
  background-color: #184065dd;
  z-index: 12;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.form {
  display: flex;

  padding: 50px;
  width: 60%;
  /* height: 60px; */
  background-color: #ffffff;
  border-radius: 15px;
}
.clinic {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  gap: 30px;
}
.clinic a {
  /* margin-left: auto; */
  padding: 30px 50px;
  background-color: var(--color2);
  cursor: pointer;
  text-decoration: none;
  color: black;
  border-radius: 15px;
}
.lightbox button {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  border-radius: 999px;
  width: 58px;
  height: 58px;
  font-size: 28px;
  line-height: 1;
  top: 30px;
  right: 30px;
  font-size: 34px;
}
.lightbox.open {
  display: flex;
}

@media (max-width: 600px) {
  .clinic img {
    width: 200px;
  }
  .form {
    width: 90%;
    padding: 30px;
  }
  .quote {
    font-size: 25px;
    padding: 15px;
  }
  header h1 {
    font-size: 45px;
  }
  .menu-toggle {
    display: block;
    position: relative;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100vh;
    margin: 0;
    padding: 90px 40px 40px;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.156);
  }

  .menu.menu-open {
    right: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(40, 38, 38, 0.31);
  }

  /* burger to X */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  header p {
    font-size: 22px;
  }
  .about {
    padding: 20px;
  }
  .about p {
    font-size: 18px;
  }
  .about-wrap {
    width: 95%;

    margin: 0 auto;
  }
}
