* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

html, body {
  overflow-x: hidden;
}

.spinner-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #262626;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s;
  z-index: 300;
}

.display .spinner-container {
  opacity: 0;
  visibility: hidden;
}

.circles {
  width: 8rem;
  height: 8rem;
  position: relative;
  opacity: 0;
  visibility: hidden;
  animation: displayCircles 4s;
}

@keyframes displayCircles {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  25% {
    opacity: 1;
    visibility: visible;
  }
  90% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.circles div {
  animation: circles 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 4rem 4rem;
}

.circles div::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background-color: #c29525;
  margin: -0.4rem 0 0 -0.4rem;
}

.circles div:nth-child(1) {
  animation-delay: -0.036s;
}

.circles div:nth-child(1)::after {
  top: 6.3rem;
  left: 6.3rem;
}

.circles div:nth-child(2) {
  animation-delay: -0.072s;
}

.circles div:nth-child(2)::after {
  top: 6.8rem;
  left: 5.6rem;
}

.circles div:nth-child(3) {
  animation-delay: -0.108s;
}

.circles div:nth-child(3)::after {
  top: 7.1rem;
  left: 4.8rem;
}

.circles div:nth-child(4) {
  animation-delay: -0.144s;
}

.circles div:nth-child(4)::after {
  top: 7.2rem;
  left: 4rem;
}

.circles div:nth-child(5) {
  animation-delay: -0.18s;
}

.circles div:nth-child(5)::after {
  top: 7.1rem;
  left: 3.2rem;
}

.circles div:nth-child(6) {
  animation-delay: -0.216s;
}

.circles div:nth-child(6)::after {
  top: 6.8rem;
  left: 2.4rem;
}

.circles div:nth-child(7) {
  animation-delay: -0.252s;
}

.circles div:nth-child(7)::after {
  top: 6.3rem;
  left: 1.7rem;
}

.circles div:nth-child(8) {
  animation-delay: -0.288s;
}

.circles div:nth-child(8)::after {
  top: 5.6rem;
  left: 1.2rem;
}

@keyframes circles {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.container {
  display: none;
}

.display .container {
  display: block;
}

.first-menu {
  width: 4rem;
  height: 3rem;
  position: fixed;
  top: 5rem;
  right: 5rem;
  z-index: 250;
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: right 0.9s;
}

.change .first-menu {
  right: 33rem;
}

.line {
  width: 100%;
  height: 0.2rem;
  background-color: #fff;
  box-shadow: 0 0.1rem 0.2rem rgba(98, 72, 72, 0.2);
}

.change .line {
  background-color:  rgba(37, 32, 32, 0.8);
}

.change .line-1 {
  transform: rotate(45deg) translate(0.3rem, 0.8rem);
}

.change .line-2 {
  opacity: 0;
  visibility: hidden;
}

.change .line-3 {
  transform: rotate(-45deg) translate(0.3rem, -0.8rem);
}

.first-menu span {
  background-color: oklch(78.049% 0.07282 208.254);
  font-family: "Josefin+Slab", serif;
  position: absolute;
  height: 4rem;
  left: 6.4rem;
  width: 10rem;
  display: flex;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.change .first-menu:hover span {
  opacity: 1;
  visibility: visible;
}

.first-menu span::before {
  content: "";
  position: absolute;
  border-left: 1.2rem solid transparent;
  border-right: 1.2rem solid  #dbbd72;
  border-bottom: 1.2rem solid transparent;
  border-top: 1.2rem solid transparent;
  top: 50%;
  left: -2rem;
  transform: translateY(-50%);
}

.header {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  perspective: 100rem;
}

.img-wrapper {
  background-color: rgba(91, 62, 62, 0.8);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  animation: scale 21s;
}

@keyframes scale {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.banner {
  position: absolute;
  top: 40%;
  left: 9%;
}

.banner h1 {
  font-family: "Muli", serif;
  font-size: 8.3rem;
  font-weight: 270;
  color: #fff;
  width: 250%;
  line-height: 8.3rem;
  letter-spacing: 0.1rem;
  text-shadow: 0 0.3rem 0.5rem rgba(90, 67, 67, 0.4);
  opacity: 0;
  animation: moveBanner 1s 0.6s forwards;
}

.banner p {
  font-family: "Baloo Da 2", serif;
  font-size: 3.5rem;
  color: #fff;
  width: 80%;
  letter-spacing: 0.1rem;
  margin-bottom: 5rem;
  text-shadow: 0 0.3rem 0.5rem rgba(30, 13, 13, 0.4);
  opacity: 0;
  animation: moveBanner 1s 0.8s forwards;
}

.banner button {
  background-color: #2ecec8;
  width: 30rem;
  height: 8rem;
  border-radius: 12px;
  border: none;
  font-family: "Muli", serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0.2rem 0.4rem rgba(145, 93, 93, 0.2);
  box-shadow: 0 0.3rem 0.5rem rgba(67, 54, 54, 0.4);
  cursor: pointer;
  opacity: 0;
  animation: moveBanner 1s 1.1s forwards;
}

@keyframes moveBanner {
  0% {
    transform: translateY(40rem) rotateY(-20deg);
  }
  100% {
    transform: translateY(0) rotateY(0);
    opacity: 1;
  }
}

.sidebar {
  width: 42rem;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -42rem;
  background-color: #fff;
  transition: right 0.6s;
  z-index: 200;
}

.change .sidebar {
  right: 0;
}

.menu {
  top: 40%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -40%);
}

.menu-item {
  text-align: center;
}

.menu-link {
  font-family: "Baloo Da 2", serif;
  font-size: 4rem;
  color:  #221e1e;
  position: relative;
}

.menu-link::before {
  content: attr(data-content);
  position: absolute;
  top: 0;
  left: 0;
  color: #796d55;
  width: 0;
  white-space: nowrap;
  transition: width 0.4s ease-in-out;
  overflow: hidden;
}

.menu-link:hover::before {
  width: 100%;
}

.social-media {
  bottom: 4.5rem;
  width: 100%;
  position: absolute;
  justify-content: center;
  display: flex;
}

.social-media i {
  background-color: #895c5c;
  color: #fff;
  height: 5rem;
  width: 5rem;
  font-size: 2.5rem;
  margin: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: background-color 0.4s;
}

.social-media i:hover {
  background-color: #ccaf66;
}

.we-are {
  background-color: #f5f5f5;
  width: 100%;
  padding-bottom: 15rem;
}

.section-header {
  flex-direction: column;
  align-items: center;
  display: flex;
  padding: 7rem 0 14rem 0;
}

.section-heading {
  font-family: "Muli", serif;
  font-size: 7rem;
  font-weight: 300;
  color: #4b4b4b;
  margin-bottom: 6rem;
}

.underline {
  width: 10rem;
  height: 0.5rem;
  background-color: oklch(78.049% 0.07282 208.254);
}

.about-us {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(6, 6rem);
  grid-row-gap: 6rem;
}

.abt-us {
  width: 100%;
  margin-bottom: 2rem;
}

.abt-us:nth-child(1) {
  grid-column: 3 / 6;
  grid-row: 1 / 3;
}

.abt-us:nth-child(2) {
  grid-column: 3 / 6;
  grid-row: 3 / 5;
}

.abt-us:nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 5 / -1;
}

.abt-us:nth-child(4) {
  grid-column: 12 / 16;
  grid-row: 1 / 3;
}

.abt-us:nth-child(5) {
  grid-column: 12 / 15;
  grid-row: 3 / 5;
}

.abt-us:nth-child(6) {
  grid-column: 11 / 14;
  grid-row: 5 / -1;
}

.abt-us-header {
  align-items: center;
  display: flex;
  margin-bottom: 1rem;
}

.abt-us-header i {
  font-size: 5rem;
  color: #5c5252;
  margin-right: 3rem;
}

.abt-us-header h3 {
  font-family: "Baloo Da 2", serif;
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.abt-us-text {
  font-family: "Josefin Slab", serif;
  font-size: 1.9rem;
  font-weight: 700;
  text-align: justify;
}

.we-are-img-wrapper {
  grid-column: 7 / 11;
  grid-row: 2 / 6;
  width: 100%;
}

.we-are-img-wrapper img {
  width: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Cards  */

.best-one {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5rem 20rem 5rem;
}

.cards-wrapper {
  width: 100%;
  margin-top: 10rem;
  justify-content: space-evenly;
  display: flex;
}

.card {
  width: 35rem;
  height: 45rem;
  border-radius: 0.5rem;
  position: relative;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
  background-color: #262626;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  object-fit: cover;
  border-radius: 0.8rem;
  transition: opacity 0.3s;
}

.card:hover .card-img-wrapper img {
  opacity: 0.6;
}

.card-info {
  padding: 2rem;
  position: absolute;
  bottom: 0;
  text-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.card:hover .card-info {
  bottom: 2rem;
  visibility: visible;
  opacity: 1;
}

.card-info h2 {
  font-family: "Baloo Da 2", serif;
  line-height: 3rem;
  font-weight: 300;
  font-size: 3rem;
  color: #eee;
}

.card-info p {
  font-family: "Baloo da 2", serif;
  font-size: 1.9rem;
  line-height: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  width: 90%;
  margin-bottom: 2rem;
}

.card-info button {
  background-color: #5accbe;
  width: 10rem;
  height: 3rem;
  border: none;
  font-family: "Baloo Da 2", serif;
  font-size: 1.6rem;
  line-height: 1rem;
  color: #361010;
  border-radius: 0.3rem;
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.4);
}

/* Contact - Section  */

.contact {
  background: linear-gradient(120deg, #775a5a, #5b6c5a, #565576);
  background-size: 300% 300%;
  animation: gradientAnimation 12s ease infinite;
  display: flex;
  justify-content: center;
  height: 120vh;
  width: 100%;
  align-items: center;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.contact-wrapper {
  height: 70rem;
  width: 70%;
  display: flex;
  box-shadow: 0 3rem 7rem rgba(21, 19, 19, 0.5);
}

.contact-left {
  width: 40%;
  background: linear-gradient(rgba(105, 56, 56, 0.6), rgba(22, 22, 22, 0.9)),
    url(images/p-1.avif) center no-repeat;
  background-size: cover;
}

.contact-right {
  background-color: #eee;
  width: 60%;
  padding: 5rem 10rem 10rem 10rem;
}

.contact-heading {
  font-family: "Josefin+Slab", serif;
  color: #151414;
  font-size: 7rem;
  font-weight: 300;
  margin-bottom: 8rem;
  text-align: center;
}

.contact-right form {
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
}

.input-group {
  position: relative;
}

.field {
  width: 45rem;
  font-family: "Muli", serif;
  background-color: transparent;
  border: none;
  border-bottom: 0.2rem dashed #636363;
  margin: 3rem 0;
  padding: 1rem 1rem 1rem 0;
  font-size: 2rem;
  color: #544f4f;
}

.input-group input {
  height: 4rem;
}

.input-group textarea {
  max-height: 8rem;
  max-width: 50rem;
}

.field:focus {
  border-bottom-style: solid;
}

.input-group label {
  font-family: "Baloo Da 2", serif;
  position: absolute;
  left: 0;
  font-size: 1.8rem;
  color: #4b4b4b;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s;
}

.input-label {
  bottom: 3rem;
}

.query {
  bottom: 6rem;
}

.field:focus ~ label {
  transform: translateY(-3rem);
  font-size: 1.2rem;
}

.submit-btn {
  background-color: oklch(78.9% 0.154 211.53);
  font-family: "Muli", serif;
  width: 36rem;
  height: 5rem;
  color: #fff;
  border: none;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  cursor: pointer;
  text-shadow: 0 0.3rem 0.3rem rgba(119, 106, 106, 0.5);
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.3);
}

.footer {
  background-color: #393b3f;
  height: 15rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content {
  width: 60%;
  justify-content: space-between;
  display: flex;
}

.copyright {
  font-family: "Baloo Da 2", serif;
  font-size: 2rem;
  color: #8f8c8c;
}

.social-list a {
  margin: 0 2.4rem;
}

.social-list i {
  font-size: 3rem;
  color: #a7a7a7;
}


@media (max-width: 1500px) {
  .we-are-img-wrapper {
    grid-row: 2 / -1;
  }

  .card {
    width: 34rem;
  }

  .contact-wrapper {
    width: 80%;
    height: 85rem;
  }

  .input-group {
    font-weight: 600;
    font-size: 80px;
  }

  .footer-content {
    width: 70%;
  }
}

@media (max-width: 1400px) {
  .banner h1 {
    font-size: 6rem;
    font-weight: 500;
    line-height: 10rem;
  }

  .banner p {
    font-size: 4rem;
  }

  .banner button {
    width: 20rem;
    height: 5rem;
    font-size: 1.6rem;
  }

  .menu-link {
    font-size: 4.5rem;
  }

  .abt-us:nth-child(1) {
    grid-column: 2 / 7;
  }

  .abt-us:nth-child(2) {
    grid-column: 2 / 6;
  }

  .abt-us:nth-child(3) {
    grid-column: 3 / 7;
  }

  .abt-us:nth-child(4) {
    grid-column: 12 / 16;
  }

  .abt-us:nth-child(5) {
    grid-column: 12 / 16;
  }

  .abt-us:nth-child(6) {
    grid-column: 11 / 15;
  }
}

@media (max-width: 1300px) {

  .banner button {
    font-size: 18px;
  }

  .abt-us-text {
    font-size: 22px;
  }
  .best-one {
    padding-bottom: 5rem;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
  }

  .card {
    margin-bottom: 8rem;
  }

  .contact-wrapper {
    width: 90%;
    height: 55rem;
  }

  .contact-heading {
    margin-bottom: 2rem;
  }

  .field {
    margin: 2rem 0;
  }
}

@media (max-width: 1000px) {
  .banner h1 {
    font-size: 5rem;
    line-height: 6rem;
  }

  .banner p {
    font-size: 2.5rem;
  }

  .banner button {
    width: 18rem;
    height: 4rem;
    font-size: 1.5rem;
  }

  .menu-link {
    font-size: 35px;
  }

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

  .abt-us {
    width: 40rem;
    margin-bottom: 6rem;
  }

  .we-are-img-wrapper {
    width: 40rem;
  }

  .we-are-img-wrapper img {
    width: 100%;
  }

  .contact-wrapper {
    width: 70rem;
  }

  .contact-left {
    width: 0;
  }

  .contact-right {
    width: 100%;
  }

  .input-group textarea {
    max-width: 55rem;
  }

  .field {
    width: 55rem;
  }


  .submit-btn {
    width: 55rem;
    margin-top: 90px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50%;
  }

  .copyright {
    order: 1;
    margin-top: 3rem;
  }
}

@media (max-width: 700px) {
  .banner h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .banner p {
    font-size: 2rem;
  }

  .menu-link {
    font-size: 30px;
  }

  .sidebar {
  width: 38rem;
  height: 100vh;
  }
  
  .section-heading {
    font-size: 50px;
    font-weight: 400;
  }

  
  .field {
    width: 35rem;
  }

  .contact-heading {
    font-size: 55px;
  }

  .input-group textarea {
    max-width: 35rem;
  }

  .submit-btn {
    width: 35rem;
  }

  .copyright {
    font-size: 17px;
  }
}

@media (max-width: 500px) {

  html {
    font-size: 45%;
  }

  .sidebar {
    width: 50%;
    right: -50%;
  }

  .change .first-menu {
    right: 38rem;
  }

  .abt-us {
    width: 50rem;
  }

  .footer {
    height: 16rem;
  }
}
