/* Import Futura PT and actay fonts */
@import url('https://fonts.cdnfonts.com/css/futura-pt');

@font-face {
  font-family: 'Actay';
  src: url('./actay/Actay-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  line-height: 1;
  text-decoration: none;
  font-family: 'Futura PT', sans-serif;
  font-weight: 400;
}

html,
body,
.app {
  scroll-behavior: smooth;
  min-height: 100vh;
  background-color: #212121;
}

.logo-preloader {
  width: 130px;
  height: 130px;
  mask: url('./pre.svg') no-repeat center / contain;
  -webkit-mask: url('./pre.svg') no-repeat center / contain;
  background: linear-gradient(
    90deg,
    rgba(238, 211, 128, 1) 0%,
    rgba(238, 223, 158, 1) 25%,
    rgba(255, 251, 233, 1) 50%,
    rgba(238, 223, 158, 1) 75%,
    rgba(238, 211, 128, 1) 100%
  ); /* Gold and yellow gradient */
  background-size: 200% 200%;
  animation: shine 2s infinite linear;
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

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

.hidden {
  opacity: 0;
}

.appear {
  opacity: 1;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transform: translateY(0);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  background: #212121;
  align-items: center;
}

body,
#app {
  display: flex;
  height: 100vh;
  flex-direction: column;
}

button {
  cursor: pointer;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 99;
  padding: 0 20px;
}

.nav {
  padding: 18px 0;
  max-width: 1290px;
  width: 100%;
  border-bottom: 1px solid #3c3c3c;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
  justify-content: space-between;
}

.title-icon {
  display: flex;
  gap: 23px;
  align-items: center;
}

.title-icon svg {
  width: 58px;
  height: 58px;
}

.title {
  font-size: 25px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ebda8e 0%, #cfae5b 100%);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.phone-number {
  color: #bcbcbc;
  font-size: 30px;
  font-family: 'Actay';
  display: flex;
  align-items: center;
  line-height: 37px;
  padding-top: 8px;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
}

.content {
  background-image: url('n-icon-hero.svg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain; /* Adjust size as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  max-width: 1290px;
  width: 100%;
  padding-bottom: 170px;
  padding-top: 220px;
}

.content-container {
  width: 100%;
  transform: translateY(20px);
  opacity: 0;
}

.content-title-desc {
  display: grid;
  grid-template-columns: 673px 1fr;
  margin-bottom: 96px;
}

.content-title-desc h2 {
  max-width: 673px;
  color: #a6a6a6;
  font-size: 70px;
  line-height: 63px;
}

.content-title-desc p {
  color: #909090;
  font-size: 15px;
  line-height: 21px;
  max-width: 427px;
  justify-self: center;
  margin-top: auto;
  font-family: 'Actay';
}

.list {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 96px;
}

.list-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address {
  max-width: 370px;
  color: #bcbcbc !important;
}

.email,
.phone {
  font-family: 'Actay';
  color: #bcbcbc;
  font-size: 24px;
  line-height: 35px;
  margin-top: 8px;
}

.list-item-phone {
  justify-self: flex-end;
}

.list-item div {
  color: #909090;
  font-family: 'Actay';
  font-size: 15px;
  line-height: 21px;
}

.form-container {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  opacity: 0;
  transform: translateY(20px);
}

.form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.form button {
  width: 100%;
  margin-top: auto;
}

.form div {
  display: flex;
  flex-direction: column;
}

.form-title {
  color: #909090;
  font-size: 32px;
  max-width: 442px;
  line-height: 32px;
}

button {
  cursor: pointer;
}

.button-gold {
  font-size: 11px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 300px;
  height: 48px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #766e4c;
  background: linear-gradient(
    90deg,
    #d2b45c 0%,
    #e4cc80 25%,
    #f9edba 50%,
    #e4cc80 75%,
    #d2b45c 100%
  );
  border: 1px solid #cdad5a;
  transition: background-position 0.5s ease, transform 0.3s ease;
  background-size: 200% 100%;
  background-position: 0 0;
  border-radius: 300px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  animation: pulse-gradient 3s infinite linear;
  background-position: 100% 0;
}

.button-gold:hover {
  transform: scale(1.05); /* Slight scale-up effect */
  box-shadow: 0 4px 19px rgba(214, 187, 104, 0.5); /* Add glow effect */
}

/* Define the pulsating gradient animation */
@keyframes pulse-gradient {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.footer-bottom {
  height: 50px;
  width: 100%;
  margin-top: auto;
  background: #333333;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.footer-bottom-container {
  max-width: 1290px;
  width: 100%;
  color: #626262;
  display: flex;
  font-size: 15px;
  font-family: 'Actay';
  justify-content: space-between;
  align-items: center;
}

.label {
  font-size: 16px;
  color: #929292;
  margin-bottom: 16px;
  font-family: 'Actay';
  margin-left: 8px;
}

.input {
  background: #575757;
  border: none;
  padding: 16px 18px;
  font-size: 16px;
  color: #ababab;
  border-radius: 8px;
  font-family: 'Actay';
}

.input::placeholder {
  color: #ababab;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  color: #666666;
  font-size: 24px;
}

.close:hover {
  color: #bcbcbc;
}

.modal {
  display: flex;
  position: fixed;
  overflow: hidden;
  top: 0;
  width: 0;
  height: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 20px;
  transition: opacity 0.5s ease;
}

.modal.show {
  opacity: 1;
}

.success {
  position: relative;
  display: flex;
  background: #212121;
  margin: 0 auto;
  padding: 24px;
  max-width: 672px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #bebebe;
  gap: 30px;
  text-align: center;
  max-width: 442px;
}

.success div {
  line-height: 44px;
  font-size: 44px;
}

@media all and (max-width: 1024px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }

  .list {
    gap: 20px;
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .title {
    display: none;
  }

  .content {
    padding-left: 20px;
    padding-right: 20px;
    background-size: 424px 280px;
    background-position: -123px 124px;
    padding-bottom: 60px;
  }

  .main {
    padding-left: 0;
    padding-right: 0;
  }
}

.mobile-form {
  display: none;
}

.input-container {
  width: 100%;
  position: relative;
}

.input-container input {
  width: 100%;
  padding-left: 38px;
}

.placeholder {
  color: #ababab;
  font-size: 16px;
  position: absolute;
  font-family: 'Actay';
  user-select: none;
  left: 16px;
  top: 18px;
}

@media all and (max-width: 900px) {
  .main {
    padding: 0;
  }

  .title-icon svg {
    width: 40px;
    height: 40px;
  }

  .content {
    padding-left: 20px;
    padding-right: 20px;
    background-size: 424px ;

    padding-bottom: 0;
    padding-top: 124px;
  }

  .nav {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .phone-number {
    font-size: 20px;
  }

  .content-title-desc h2 {
    font-size: 40px;
    line-height: 36px;
  }

  .list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }

  .form-container {
    display: none;
  }

  .mobile-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    background: #1d1d1d;
    border-radius: 16px;
    padding: 24px 20px 40px;
  }

  .mobile-form .input {
    margin-bottom: 24px;
  }

  .mobile-form .button-gold {
    width: 100%;
  }

  .mobile-form-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #bbbbbb;
  }

  .content-title-desc {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 60px;
  }

  .content-title-desc p {
    min-width: 290px;
    font-size: 15px;
    line-height: 18px;
  }

  .list-item-phone {
    justify-self: flex-start;
  }

  .footer-logo {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    justify-content: center;
  }

  .footer-logo svg {
    width: 48px;
    height: 48px;
  }

  .footer-title {
    font-size: 16px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ebda8e 0%, #cfae5b 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}

.content-title-desc br {
  display: none;
}

@media all and (max-width: 600px) {
  .content-title-desc h2 {
   
  }

  .success > div {
    font-size: 28px;
    line-height: 28px;
    max-width: 240px;
  }

  .content-title-desc br {
    display: inline;
  }

  .mobile-form-title {
    max-width: 262px;
  }
}

.hidden {
  opacity: 0;
}

.appear {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
