@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--primary-text);
}

:root {
  --primary: #bb9734;
  --secoundary: #e4c5d9;
  --primary-text: #42330a;
  --red-bg: #fff2f2;
  --bg: #fbfbfb;
  --sub-text: #888ea0;
  --border: 1px solid #e6e7ef;
  --gradient: linear-gradient(90deg, #bb9734, #e67ec1);
}

[class*="grid"] {
  display: grid;
}

.align-center {
  align-items: center;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  -webkit-text-size-adjust: 100%;
}

i svg {
  width: unset;
  height: 1.8rem;
  fill: white;
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
  font-weight: 400;
}

p {
  color: var(--sub-text);
  line-height: 27px;
}

h1,
h2,
h3 {
  text-transform: capitalize;
}

img,
video {
  max-width: 100%;
}

.container {
  max-width: 1240px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

.container-max {
  max-width: 1540px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

button,
.btn {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 1rem;
  background: var(--primary);
  color: white;
  text-transform: capitalize;
  line-height: 1;
  transition: 0.3s;
  border: 1px solid var(--primary);
  font-weight: 500;
}

button:hover {
  background: var(--primary);
  border-color: transparent;
}

button.empty {
  background: #ffffff09;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff25;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

section {
  padding: 8rem 0;
}

/* header section */
header {
  height: 8rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  background: transparent;
}

header.sticky {
  background: white;
  transition: 0.3s;
  border: unset;
  box-shadow: #959da533 0px 8px 24px;
}

.logo img {
  height: 6rem;
}

header .container {
  height: 100%;
  max-width: 100%;
  padding: 0 5rem;
}

header .links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

header .links a {
  transition: 0.3s;
}

header .links a:hover {
  color: var(--primary);
}

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

header .cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.menu {
  font-size: 3rem;
  display: none;
}

/* footer */
footer {
  padding: 5rem 0;
  padding-bottom: 0;
  background: var(--bg);
  margin-top: 13rem;
}

footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}

.link,
.contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.link h2,
.contact h2 {
  font-size: 2rem;
}

.link a,
.contact a {
  font-weight: 500;
}

footer p {
  font-size: 1.5rem;
}

footer p {
  margin: 2rem 0;
}

footer .social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social i {
  font-size: 2.5rem;
  width: 5rem;
  aspect-ratio: 1/1;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.copy {
  padding: 2rem;
  text-align: center;
  margin-top: 5rem;
  font-size: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.046);
}

section a,
footer a {
  width: fit-content !important;
}

footer .logo img {
  height: 6rem;
}

main {
  position: relative;
  width: calc(100% - 10rem);
  margin: auto;
  overflow: hidden;
  height: 70rem;
  margin-top: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .video-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: -1;
  background: url("https://github.com/mehidi47/kfarfan/blob/main/images/1.png?raw=true");
  background-size: cover;
  background-repeat: no-repeat;
}

main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #02111ae3, #02111a35);
  z-index: 1;
}

main .container {
  position: relative;
  z-index: 2;
}

main .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 60rem;
}

main .content h1 {
  color: white;
  font-size: 5rem;
  font-weight: 600;
}

.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

main .content p {
  color: #ffffff9c;
  line-height: 1.5;
  font-weight: 300;
}

main .btn {
  background: white;
  color: var(--primary-text);
  border-color: white;
}

/* shape-overlay */
.shape-overlay {
  width: 5rem;
  aspect-ratio: 1/1;
  background: white;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.shape-overlay::before {
  content: "";
  width: 5rem;
  aspect-ratio: 1/1;
  background: white;
  position: absolute;
  top: 0;
  right: 5rem;
}

.shape-overlay::after {
  content: "";
  width: 5rem;
  aspect-ratio: 1/1;
  background: white;
  position: absolute;
  top: 5rem;
  right: 0;
}

.shape-overlay.left {
  right: unset;
  left: 0;
}

.shape-overlay.left::before {
  right: unset;
  left: 5rem;
}

.shape-overlay.left::after {
  right: unset;
  left: 0;
}

.title {
  margin-bottom: 5rem;
}

.title.type-1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
}

.title.type-1 h2 {
  font-size: 5rem;
}

.title.type-1 div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card .body h3 {
  font-size: 2rem;
  font-weight: 600;
}

.title h2 {
  font-size: 5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

.frame2 {
  width: 100%;
  position: relative;
}

.frame2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.frame2::before {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: -5rem;
  width: 80%;
  aspect-ratio: 1/1;
  background: var(--primary);
  z-index: -1;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.list p {
  color: var(--primary-text);
  font-size: 1.8rem;
  font-weight: 500;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.list p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}

.list i {
  width: 3rem;
  aspect-ratio: 1/1;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.title p {
  font-size: 2rem;
  line-height: 1.6;
}

.right .list {
  margin-bottom: 5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cards .card {
  padding: 5rem;
  height: 100%;
  border: var(--border);
}

.cards .card .body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title.type-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.cards.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cards.grid-4 .card {
  padding: 3rem;
}

.cta-social {
  position: relative;
  width: calc(100% - 4rem);
  max-width: 1200px;
  margin: auto;
  background: var(--secoundary);
  padding: 5rem;
  top: -18rem;
  margin-bottom: -13rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.cta-social :is(h2, a) {
  color: var(--primary-text);
}

.cta-social h2 {
  font-size: 5rem;
  font-weight: 500;
}

.cta-social a {
  display: inline-block;
  width: fit-content;
}

.cta-social button {
  margin-top: 5rem;
}

.cta-social .social {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.tag {
  padding: 0.5rem 2rem;
  border: var(--border);
  border-radius: 50rem;
  position: relative;
}

.tag {
  padding: 0.5rem 2rem;
  border: var(--border);
  border-radius: 50rem;
  position: relative;
}

.tag::before {
  position: absolute;
  content: "";
  width: 7rem;
  height: 1px;
  background: linear-gradient(-90deg, #0000002e, #00000000);
  left: -8rem;
  top: 50%;
  transform: translateY(-50%);
}

.tag::after {
  position: absolute;
  content: "";
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, #0000002e, #00000000);
  right: -8rem;
  top: 50%;
  transform: translateY(-50%);
}

.tag p {
  font-size: 1.6rem;
}

.slider .frame3 {
  width: 30rem;
  overflow: hidden;
  height: 45rem;
}

.slider .frame3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sound-play {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 5rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff12;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff31;
  z-index: 99;
  cursor: pointer;
}

.sound-play i {
  font-size: 3rem;
  color: white;
}

@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 40%;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 62%;
  }

  header {
    box-shadow: #959da533 0px 8px 24px;
  }

  /* nav bar */
  header .container {
    padding: 0 1.5rem;
  }

  .toogle-menu {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    justify-content: space-around;
    gap: 0.8rem;
    width: 3rem;
    height: 2.5rem;
    cursor: pointer;
    margin-left: auto;
  }

  .toogle-menu>span {
    width: 100%;
    height: 2px;
    border-radius: 1rem;
    background: var(--primary-text);
  }

  .toogle-menu>span:first-child {
    width: 50%;
    margin-left: auto;
  }

  .toogle-menu>span:last-child {
    width: 80%;
    margin-left: auto;
  }

  header.active .toogle-menu span:first-child,
  header.active .toogle-menu span:last-child {
    width: 100%;
  }

  .toogle-menu span:first-child,
  .toogle-menu span:last-child {
    transition: 0.3s;
  }

  header {
    background: white;
  }

  header .links {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: calc(100vh - 8rem);
    position: fixed;
    top: 8rem;
    background: var(--bg);
    backdrop-filter: blur(15px);
    width: 100%;
    padding: 5rem 0;
    left: 0px;
    transition: 0.5s;
    transform: translateX(100%);
  }

  header.active .links {
    transform: translateX(0%) !important;
  }

  header .links a {
    color: var(--primary-text);
  }

  /* footer */
  footer .container {
    grid-template-columns: 1fr;
  }

  main {
    width: calc(100% - 4rem);
    text-align: center;
    height: 100%;
    padding: 8rem 0;
    margin-top: 10rem;
    position: relative;
  }

  .buttons {
    display: grid;
    width: 100%;
    gap: 1.5rem;
  }

  .buttons :is(a, button) {
    width: 100%;
  }

  [class*="grid"],
  .title.type-1,
  .cards {
    grid-template-columns: 1fr !important;
  }

  .cta-social {
    flex-direction: column;
  }

  main .content h1 {
    font-size: 4rem;
  }

  main .content p {
    font-size: 1.6rem;
  }

  .title.type-1 {
    gap: 1.5rem;
  }

  .title.type-1 h2 {
    font-size: 4rem;
  }

  .title p {
    font-size: 1.6rem;
  }

  .cards .card {
    padding: 3rem;
  }

  .title h2 {
    font-size: 4rem;
  }

  .grid-2 {
    gap: 10rem;
  }

  .cta-social {
    padding: 5rem 3rem;
    text-align: center;
  }

  .cta-social h2 {
    font-size: 3rem;
  }

  .cta-social button {
    margin-top: 3rem;
  }

  .cta-social .social {
    margin-top: 5rem;
    justify-content: space-between;
  }

  .slider .feedback {
    width: 30rem;
    padding: 2rem;
  }

  main .btn {
    margin: auto;
  }

  .sound-play {
    width: 4rem;
    right: 1rem;
    bottom: 1rem;
  }

  .sound-play i {
    font-size: 2.5rem;
  }

  h2 br {
    display: none;
  }
}