@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700;800&display=swap");

:root {
  --color-primary: #0b3a92;
  --color-secondary: #0cbbbe;
  --color-background: #f2f2f2;
  --transition: all 0.3s ease;
}

* {   
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: prompt, sans-serif;
  font-size: 0.88rem;
  background-color: #f8f8f8;
  overflow-x: hidden;
  user-select: none;
  position: relative;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-black);
  line-height: 1.2;
}

h1 {
  font-size: 3.8rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 0.86rem;
}

p {
  line-height: 1.8;
}

small {
  font-size: 0.75rem;
}

button,
select,
input {
  font-family: prompt, sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
}

/* ----------------- flying Button ----------------- */
.flying-buttons {
  display: none;
}

/* ----------------- Navbar ----------------- */

header {
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: center;
}

nav {
  position: fixed;
  padding: 1.5rem 10%;
  z-index: 1;
}

.show-nav {
  position: fixed;
  padding: 1.5rem 10%;
  z-index: 2;
  width: 100%;
  border-radius: 0;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
  background-color: white;
  transition: var(--transition);
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem; /* 5.5rem */
}

nav ul li > a {
  display: flex;
  color: #1c4c83;
  font-weight: 670;
  font-size: 1.7rem;
  padding: 0.7rem 1rem;
  border-radius: 1.3rem;
  transition: var(--transition);
}

nav ul li > a.active,
nav ul li:first-child > a {
  color: white;
  background-color: #1c4c83;
}

.show-nav ul li:first-child > a {
  color: #1c4c83;
  background-color: white;
}

nav ul li > a:hover {
  color: white;
  background-color: #1c4c83;
}

nav ul div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

nav ul div a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 3rem;
  font-size: 1.3rem;
  background-color: #1c4c83;
  color: white;
  transition: var(--transition);
  gap: 0.5rem;
}

nav ul div a:hover {
  transform: scale(1.1);
}

nav ul li div a img {
  margin: 0;
  padding: 0;
}

nav ul li div a:hover img {
  -webkit-animation: toTopFromBottom 0.3s forwards;
  -moz-animation: toTopFromBottom 0.3s forwards;
  animation: toTopFromBottom 0.3s forwards;
}

nav ul li p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #0b3a92;
}

@-webkit-keyframes toTopFromBottom {
  49% {
    -webkit-transform: translateY(-100%);
  }
  50% {
    opacity: 0;
    -webkit-transform: translateY(100%);
  }
  51% {
    opacity: 1;
  }
}
@-moz-keyframes toTopFromBottom {
  49% {
    -moz-transform: translateY(-100%);
  }
  50% {
    opacity: 0;
    -moz-transform: translateY(100%);
  }
  51% {
    opacity: 1;
  }
}
@keyframes toTopFromBottom {
  49% {
    transform: translateY(-100%);
  }
  50% {
    opacity: 0;
    transform: translateY(100%);
  }
  51% {
    opacity: 1;
  }
}



/* ----------------- Banner ----------------- */

.banner {
  position: relative;
  width: 100%;
  margin-top: calc(1.5rem + 1.7rem + 1.4rem + 1.3rem + 1.4rem);
}

.banner .banner-image {
  width: 100%;
}

.banner .banner-button {
  display: flex;
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-78%);
  z-index: 1;
  gap: 2rem;
}

.banner .banner-button a {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 2rem; /* 2rem */
  font-weight: 500;
  padding: 1rem 3rem;
  border-radius: 2.5rem;
  background-color: #0b3a92;
  color: white;
  transition: var(--transition);
}

.banner .banner-button a:last-child {
  background-color: var(--color-secondary);
}

.banner .banner-button a:last-child:hover {
  background-color: var(--color-secondary);
}

.banner .banner-button a span {
  font-size: 2rem;
  font-weight: 500;
}

.banner .banner-button a:hover {
  transform: scale(1.1);
}



/* ----------------- Section Banner ----------------- */

div#banner .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 6rem 20%;
  row-gap: 2.5rem;
  width: 100%;
}

div#banner .container img {
  width: 35rem;
  justify-self: center;
  align-self: center;
  cursor: pointer;
  transition: var(--transition);
}

div#banner .container img:hover {
  transform: scale(1.1);
}

div#banner .container-youtube {
  margin: 1rem 0;
  padding: 2rem 10%;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  background-color: #b4ccf8;
}

div#banner .container-youtube iframe {
  height: 13vw;
  width: 70vw;
}

/* ----------------- About Us ----------------- */

#aboutus {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

#aboutus {
  padding: 6rem 15%;
}

.container.sec-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.container.sec-about img {
  width: 400px;
  justify-self: center;
}

.content-about {
  align-self: center;
}

.content-about h1 {
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.content-about div {
  width: 100%;
  margin-bottom: 2rem;
  height: fit-content;
}

.content-about div > p {
  /* width: 40rem; */
  font-size: 1.7rem;
  color: #0b3a92;
  text-indent: 2rem;
  text-align: justify;
}



/* ----------------- Product ----------------- */
#product {
  padding: 6rem 0;
}

#product h1 {
  text-align: center;
  color: #0b3a92;
}

.slide-container {
  position: relative;
  padding: 0 15%;
  max-width: 100%;
  margin-top: 3rem;
}

.slide-container .catagory {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.slide-container .catagory input[type="radio"] {
  display: none;
}

.slide-container .catagory label {
  font-size: 1.4rem;
  border-radius: 2.2rem;
  border: 2px solid transparent;
  /* background-color: rgb(233, 233, 233); */
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
  padding: 0.1rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.slide-container .catagory label:hover {
  border: 2px solid #0b3a9296;
}

.slide-container .catagory input[type="radio"]:checked + label {
  background-color: #0b3a92;
  color: white;
}

.slide-container > a {
  position: absolute;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.5);
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 12px;
  transition: var(--transition);
  cursor: pointer;
}

.slide-container .next {
  right: 15%;
}

.slide-container > a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.3);
}

.slide-items, .slide-categories {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  animation: fade 1s;
}

#hair,#clean,#scar {
  justify-content: start;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slide-card {
  width: fit-content;
  height: 33rem;
  transition: var(--transition);
}

#hair .slide-card,#clean .slide-card,#scar .slide-card {
  width: min-content;
}

.slide-card:hover {
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.slide-card a {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-card a img {
  width: 22rem;
}

.slide-card a p {
  overflow-wrap: break-word;
  font-size: 1.3rem;
  color: #0b3a92;
}

.dot-container {
  text-align: center;
}

.dot {
  border-radius: 50%;
  background-color: #bbb;
  height: 15px;
  width: 15px;
  margin: 1.3rem 10px;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover,
.dot.active {
  background-color: #717171;
}

/* ----------------- Pation ----------------- */
#pation {
  padding: 0 15%;
  margin-bottom: 6rem;
}

#pation h1 {
  text-align: center;
  margin-bottom: 4rem;
  color: #0b3a92;
}

#pation .container {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: end;
  row-gap: 1rem;
  justify-items: center;
  gap: 1rem;
}

#pation .container .pation-item {
  width: 100%;
  transition: var(--transition);
  display: inline-block;
}

#pation .container .pation-item:hover {
  transform: scale(1.1);
}

/* ----------------- Reviews ----------------- */
#reviews {
  padding: 0 15%;
  margin-bottom: 6rem;

}

#reviews h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0b3a92;
}

#reviews hr {
  border: 0;
  border-top: 2px solid #0b3a92;
}

#reviews div {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem 0;
}

#reviews img {
  width: 85%;
}


/* ----------------- Footer ----------------- */
footer {
  display: flex;
  justify-content: space-around;
  background-color: var(--color-primary);
  width: 100%;
  padding: 5rem 10%;
}

footer h1 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer p {
  color: white;
  font-size: 1.5rem;
}

footer .info .social {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

footer .info div a {
  transition: var(--transition);
}

footer .info div a:hover {
  transform: scale(1.7);
}

footer .map {
  width: 27%;
}

footer .fb-page {
  margin-bottom: 0.5rem;
}
