@import url(../css/fonts.css);

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-primary: rgba(247, 146, 30, 1);
  --color-accent: rgba(0, 43, 85, 1);
  --color-bg: rgba(255, 255, 255, 1);
  --color-bg-secondary: rgba(240, 237, 235, 1);
  --color-text: rgba(87, 87, 86, 1);

  /* Typography */
  --font-base: "Lato", sans-serif;
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-base: 1;

  /* Borders & Radius */
  --border-radius: 8px;
  --border-color: #dddddd;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img,
.clickable {
  cursor: pointer;
}

.container {
  max-width: 1460px;
  padding: 0 20px;
  margin: 0 auto;
}

.link {
  color: var(--color-primary);
}

.link:hover {
  text-decoration: underline;
}

.section {
  padding: 70px 0px;
}

.section-bg-secondary {
  background-color: var(--color-bg-secondary);
}

.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-title {
  color: var(--color-accent);
  font-size: 33px;
  font-weight: 900;
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-accent);
  text-align: center;
}

.cards-container {
  display: flex;
  gap: 20px;
}

.card {
  flex: 1;
  background-color: rgba(255, 255, 255, 1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-title {
  color: var(--color-accent);
  font-size: 22px;
  font-weight: 900;
  line-height: 31px;
}

.card-text {
  line-height: 26px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--color-primary);
}

.cta-btn:hover {
  opacity: 0.8;
}

main {
  flex: 1;
}

/* Header */
.header {
  padding: 20px 0;
}

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

.logo-icon {
  max-height: 39px;
}

.logo-icon:hover {
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-accent);
}

.nav-link:hover {
  text-decoration: underline;
}

.search-link {
  display: flex;
  align-items: center;
}

.search-icon {
  width: 28px;
  height: 28px;
}

/* Hero */
.hero-section {
  background-image: url(../images/1.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  padding: 127px 0px;
}

.hero-overlay {
  background-color: rgba(34, 34, 34, 0.5);
  border-radius: 5px;
  padding: 50px 50px 40px 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  backdrop-filter: blur(10px);
}

.hero-left {
  flex: 1 1 55%;
  max-width: 770px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
}

.hero-description {
  font-size: 14px;
}

.hero-video-wrapper {
  border-radius: 5px;
  overflow: hidden;
}

#form {
  scroll-margin-top: 100px;
}

.hero-form-wrapper {
  flex: 1 1 35%;
  max-width: 500px;
  margin-top: 20px;
}

.lander-form-wrapper {
  background-color: rgba(240, 237, 235, 1);
}

.lander-form-header {
  background: transparent !important;
  color: var(--color-accent) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  padding: 40px 30px !important;
}

.lander-form-field .lander-submit {
  width: 100% !important;
  background: var(--color-primary) !important;
}

.lander-form-field input {
  border: 1px solid var(--color-accent) !important;
  border-radius: 5px !important;
}

.lander-form-field input::placeholder {
  color: rgba(0, 0, 0, 0.25) !important;
}

.iti__country-list {
  color: var(--color-accent) !important;
}

.hero-banner {
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 15px 0px;
  font-size: 18px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Steps */
.steps-indicators {
  width: 100%;
  display: flex;
  gap: 20px;
}

.step-indicator {
  flex: 1;
  font-size: 22px;
  font-weight: 900;
  color: rgba(87, 87, 86, 0.3);
  position: relative;
  padding-top: 10px;
  border-top: 1px solid rgba(87, 87, 86, 0.3);
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background-color: rgba(87, 87, 86, 0.3);
}

.step-indicator.active {
  color: var(--color-accent);
}

.step-indicator.active::before {
  background-color: var(--color-accent);
}

/* Investment calculator */

.calculator-section .slider-container {
  position: relative;
  width: 100%;
  max-width: 1220px;
  padding: 0px 20px;
}

.calculator-header .section-subtitle {
  font-size: 33px;
}

.calculator-section .profit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.calculator-section .profit-value {
  font-size: 33px;
  font-weight: 600;
  color: var(--color-accent);
}

.calculator-section .irs--round .irs-grid-pol,
.calculator-section .irs--round .irs-line {
  background-color: var(--color-primary);
}

/* Earn */
.earn-container {
  display: flex;
  gap: 50px;
}

.earn-content {
  flex: 1 1 55%;
  max-width: 770px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.earn-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.earn-step-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.earn-step-text {
  line-height: 25px;
}

.earn-arrow {
  display: block;
  height: 44px;
}

.earn-image-wrapper {
  flex: 1;
}

.earn-image {
  height: 100%;
  object-fit: cover;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 120px;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-number {
  font-size: 128px;
  font-weight: 900;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  width: 100%;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.why-icon {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.review-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.review-card:hover {
  opacity: 0.8;
}

.review-content {
  z-index: 1;
  color: rgba(255, 255, 255, 1);
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-name {
  font-size: 22px;
  font-weight: 900;
}

.review-stars img {
  max-height: 24px;
}

.review-text {
  font-style: italic;
  font-weight: 700;
  line-height: 23px;
}

/* FAQ */
.faq-list {
  width: 100%;
}

.faq-item {
  border-top: 1px solid rgba(87, 87, 86, 1);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(87, 87, 86, 1);
}

.faq-question {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 16px;
  height: 16px;
  background-image: url(../images/svg/arrow-down.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  font-style: italic;
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-top: 10px;
  padding-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--color-accent);
  color: #fff;
  padding: 50px 0 30px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.footer-logo {
  max-height: 39px;
}

.footer-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.6;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 1);
}

.footer-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1024px) {
  .hero-section {
    padding: 40px 0px 40px 0px;
  }

  .earn-image-wrapper {
    min-width: 464px;
  }

  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0px 10px;
  }

  .section-title {
    font-size: 24px;
  }

  .logo-icon,
  .footer-logo {
    max-height: 25px;
  }

  .main-nav {
    display: none;
  }

  .hero-section {
    padding: 0;
  }

  .hero-overlay {
    flex-direction: column;
    padding: 50px 10px 40px 10px;
    gap: 20px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-banner {
    font-size: 14px;
  }

  .cards-container {
    flex-direction: column;
  }

  .steps-indicators {
    display: none;
  }

  .calculator-content {
    gap: 20px;
  }

  .earn-container {
    flex-direction: column;
  }

  .earn-image-wrapper {
    min-width: auto;
  }

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

  .benefit-number {
    font-size: 64px;
  }

  .why-icon {
    width: 125px;
    height: 125px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-text {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-left,
  .footer-right {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
  }
}
