:root {
  --bg-main: #1A1A3F;
  --button:  #FFD700;
}

* {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
body {
  background-color: var(--bg-main);
}
body, button {
    font-family: Arial, Helvetica, sans-serif;
}
html {
  scroll-behavior: smooth;
}
.terms-wrap {
  background: var(--bg-main);
}
.terms-content {
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  max-width: 80%;
  margin: auto;
  padding-top: 80px;
}
.terms-text {
  color: #A6B4C8;
  font-size: 12px;
  line-height: 2;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #23224C;
  padding: 10px 50px;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  top: 0;
}
button {
  cursor: pointer;
}
.first {
  margin-top: 64px;
}
.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-weight: 400;
}
.header-link {
  font-size: 14px;
  font-weight: 700;
  color:#FFF;     
}
.header-link:hover {
  color:  #F82D6C;
}
.logo {
    max-height: 40px;
}
.button-join {
  background: var(--button);
  font-size: 14px;
  font-weight: 700;
  color:  #000;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
}
.join {
  background: var(--button);
  font-size: 14px;
  font-weight: 700;
  color:  #000;
  padding: 11px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
}
.join:hover {
  background: #FFE763;
}

.button-join:hover {
  background: #FFE763;
}
.button-big {
  font-size: 18px;
  padding: 16px 40px;
  transition: transform 0.6s ease-in-out;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.button-block > .button-join {
  font-size: 16px;
  padding: 13px 28px;
}

.firstscreen {
  background: url('img/bg-desk.jpg') no-repeat top right;
  background-size: cover;
  margin-top: 60px;
}
.firstscreen-text {
  margin: 20px 0 44px;
}
.content-block {
  padding: 125px 10% 120px;
  max-width: 650px;
}
.title {
  color: #FFF;
  font-size: 36px;
  font-weight: 700;
  line-height: 130%;
}
.text {
  color: #FFF;
  font-size: 22px;
  font-weight: 400;
  line-height: 130%;
}
.cards-block {
  background: var(--bg-main);
  padding-top: 5%;
  padding-bottom: 5%;
}
.card-title {
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  padding-bottom: 20px;
}
.card-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: #E7E7E7;
  text-align: center;
}
.cards {
  display: flex;
  justify-content: space-between;
  max-width: 80%;
  margin: auto;
  gap: 24px;
}
.card {
  border-radius: 16px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.05));
  background: var(--Extra, linear-gradient(180deg, #42427E 0%, #2F2F62 100%));
  padding: 30px 24px 24px 24px;
  color: #FFF;
  flex: 1;
  position: relative;
}
.card-icon {
  position: absolute;
  top: -60px;
  left: 35%;
}
.advantage {
  background: url('img/Advantages-bg.jpg') no-repeat center top;
  background-size: cover;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 600px;
}
.ad-block {
  display: flex;
  justify-content: center;
  gap: 3%;
  padding-top: 45px;
  font-size: 16px;
  font-weight: 400;
  color: #A6B4C8;
}
.ad-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFF;
}
.percent-block {
  color:  #A6B4C8;
  min-width: fit-content;
}
.percent-img {
  width: auto;
  height: 130px;
}
.locations {
  background: var(--bg-main);
}
.run-string {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: linear-gradient(90deg, #5858BA 0%, #35359B 100%);
  color: #FFF;
  padding: 20px 0;
  font-size: 22px;
  font-weight: 500;
  }
  
.run-string-text {
  display: flex;
  animation: marquee 30s linear infinite;
  min-width: 200%; 
}
  
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.phone {
  max-height: 720px;
  animation: swing 2s infinite ease-in-out alternate;
}

@keyframes swing {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.loc-content {
  display: flex;
  justify-content: center;
  padding-top: 20px
}
.loc-text {
  padding-top: 90px;
  line-height: 20px;
}
.locations {
  color: #A6B4C8;
}
.pay-text {
  margin-bottom: 10px;
}
.countries {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 20px 0;
  gap: 20px;
}
.countries-title {
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
}
.country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
}
.flex-block {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  gap: 22px;
  margin-bottom: 20px;
}
.button-block {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.green-text {
  color: #009C6A;
  font-size: 16px;
  font-weight: 500;
}
.bold {
  font-weight: 700;
  color: #FFF;
}
.button-dark {
  padding: 11px 28px;
  border-radius: 10px;
  border: 1px solid #FFD700;
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  background: #1A1A3F;
}
.button-dark:hover {
  border-radius: 10px;
    border: 1px solid #FFD700;
    background: rgba(255, 215, 0, 0.20);
    color: #FFF;
}
.faq {
  background: var(--bg-main);
  text-align: center;
  padding-top: 155px;
}
.faq-wrapper {
  max-height: 470px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-title {
  margin-bottom: 30px;
}
.faq-content {
  max-width: 80%;
  margin: auto;
}
.faq-card {
  border-radius: 14px;
  background: var(--Primary, #161636);
  color: #A9A9A9;
  padding: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 80%;
  margin: auto;
  text-align: left;
  margin-bottom: 12px;
}

.faq-card-title {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #FFF;
  align-items: center;
}
.faq-card-title h4 {
  font-size: 16px;
}
.faq-button {
  margin: 20px 0 0;
}
.open {
  border-radius: 14px;
  background: var(--Extra, linear-gradient(180deg, #42427E 0%, #2F2F62 100%));
  box-shadow: 0 1px 0 0 #FFD700 inset;
}
.arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
}
.faq-card.open .faq-card-content {
  max-height: 200px; 
  padding-top: 25px;
  line-height: 24px;
  font-size: 15px;
}

.faq-card.open .arrow {
  transform: rotate(180deg); 
}

.testimonials {
  background: var(--bg-main);
  text-align: center;
  padding-top: 80px;
}
.testim-content {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding: 32px 0 32px;

}
.testim-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #05221E;
  border-radius: 16px;
  color:  rgba(255, 255, 255, 0.65);
  padding: 24px;
  flex: 1;
  text-align: left;
  max-width: 362px;
}

.title-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.test-link {
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  text-decoration: underline;
}
.expanded {
  max-height: none; 
}
.test-text {
  margin-top: 15px;
  line-height: 24px;
}
.contact {
  background: url('img/contact-us.jpg') no-repeat top center;
  text-align: center;
  color: #FFF;
  padding: 140px 0 80px;
}
.contact-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin: 10px auto 30px;
  max-width: 500px;
}
.contact-link {
  font-size: 14px;
  color: #FFF;
  text-decoration: underline;
}
.contact-block {
  border-radius: 8px;
  background: var(--Secondary, #262655);
  backdrop-filter: blur(4px);
  padding: 12px 18px;
  display: flex;
  align-items: center; 
  gap: 8px;
}
.contact-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.mobile-menu {
  display: none;
}
.hidden {
  display: none;
}
.card {
  max-width: 400px;
}

@media screen and (min-width: 1440px) {
  .firstscreen {
    min-height: 660px;
  }
}

@media screen and (min-width: 1800px) {
  .testim-card {
    min-width: 300px;
  }
}

@media screen and (max-width: 1280px) {

  .ad-block {
    flex-wrap: wrap;
    max-width: 80%;
    margin: auto;
    margin-top: 30px;
    padding-top: 0;
    gap: 20%;
    row-gap: 50px;
  }
  .cards {
    max-width: 90%;
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  .phone {
    max-height: 555px;
  }
  .firstscreen {
    background: url(img/bg-desk.jpg) no-repeat top right;
    background-size: 1380px;
  }
  .content-block {
    padding: 60px 30px 60px;
    max-width: 430px;
  }
  .title {
    font-size: 32px;
  }
  .text {
    font-size: 16px;
  }
  .card-title {
    font-size: 20px;
  }
  .card-text {
    font-size: 16px;
  }
  .card {
    max-width: 340px;
    padding: 50px 24px 24px 24px;
    margin-bottom: 55px;
    flex: 1;
  }
  .card-icon {
    width: 100px;
    height: auto;
  }
  .advantage {
    padding: 0 0 120px;
    min-height: auto;
  }
  .loc-text {
    max-width: 345px;
    padding-top: 0;
  }
  .logo-big {
    width: 160px;
  }
  .faq {
    padding-top: 80px;
  }
  .faq-card {
    width: 90%;
  }
  .testimonials {
    padding-top: 80px;
  }
  .contact {
    padding: 80px 0 60px;
  }
}
@media screen and (max-width: 769px) {
  .firstscreen {
    background: url(img/bg-desk.jpg) no-repeat top right;
    background-size: 1300px auto;
  }
  .content-block {
    max-width: 400px;
  }
  
  .mobile-menu {
    display: block;
  }
}

@media screen and (max-width: 900px) {
  .mobile-menu {
    display: block;
    z-index: 200;
  }
  .header-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 60px;
    left: 0;
    background: #161636;
    width: 100%;
    text-align: center;
    padding: 30px 0;
  }
  .button-join {
    margin-left: auto;
  }
  .logo {
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .content-block>.title {
    font-size: 26px;
  }
  .loc-content {
    flex-direction: column;
  }
  .loc-text {
    margin: auto;
  }
  .phone {
    width: max-content;
    margin: auto;
  }
}
@media screen and (max-width: 620px) {

  header {
    padding: 8px 14px;
  }
  .content-block>.title {
    max-width: 80%;
    margin: auto;
  }

  .contact-content {
    flex-direction: column;
  }
  .firstscreen {
    margin-top: 40px;
    background: url(img/bg-mob.jpg) no-repeat center center;
  }
  .button-join {
    font-size: 14px;
    padding: 11px 18px;
  }
  
  .header-menu {
    top: 72px;
  }
  .content-block {
    margin: auto;
    padding: 42px 0 0 0;
    text-align: center;
  }
  .firstscreen {
    height: 650px;
  }
  .firstscreen-text {
    margin: 20px 14px 33px;
  }
  .button-big {
    font-size: 18px;
    padding: 15px 40px;
  }

  .cards {
    gap: 20px;
    flex-direction: column;
  }
  .card {
    margin-bottom: 0;
  }
  .advantage {
    padding: 50px 0 45px;
  }
  .terms-content {
    max-width: 100%;
    padding: 80px 14px 0;
  }
  .ad-block {
    max-width: 93%;
  }
  .percent-img {
    height: 130px;
  }
  .ad-title {
    padding-top: 7px;
  }
  .ad-text {
    max-width: 120px;
    padding: 8px 0 20px;
  }
  .loc-text {
    padding-top: 20px;
    text-align: center;
    max-width: 94%;
  }
  .flex-block {
    flex-direction: column;
  }
  .countries {
    justify-content: center;
  }
  .button-block {
    justify-content: center;
  }
 
  .button-block > .button-dark {
    padding: 13px 40px;
  }
  .faq {
    padding: 80px 14px 0 14px;
  }
  .testim-content {
    width: 90%;
  }
  .contact-block {
    text-align: center;
    width: fit-content;
  }
  .contact-content {
    align-items: center;
  }
  .logo {
    margin: 8px 0 8px 20px;
  }
  .first {
  margin-top: 75px;
  }
  .ad-block {
    gap: 5%;
  }
}

@media screen and (max-width: 425px) {
  .firstscreen {
    background-size: 800px;
  }
  .contact-text {
      padding: 0 40px;
      font-size: 15px;
  }
}