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

html,
body {
  background-color: #fffffc;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
section {
}
#home,
#getPaid,
#metalSection,
#howWorks,
#aboutUs,
#contactUs {
  scroll-margin-top: 100px;
}
.primaryBtn {
  padding: 15px 13px;
  border-radius: 25px;
  border: none;
  background-color: #780000;
  color: #fffffc;
  cursor: pointer;
  font-size: 16px;
}
.secondaryBtn {
  padding: 15px 13px;
  border-radius: 25px;
  border: 1px solid #780000;
  background-color: #fffffc;
  color: #780000;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

/* ------------------------ */

/* Header */
header {
  width: 100%;
  position: fixed;
  z-index: 1;
  color: #fffffc;
}

/* ---- NAVIGATION ------- */
nav {
  display: flex;
  justify-content: space-between;
  height: 6rem;
  transition: all 400ms ease-in-out;
}
.nav-child {
  display: flex;
  align-items: center;
}

.nav-child a,
.nav-child p {
  font-size: 18px;
  font-weight: bold;
  margin: 1rem;
  text-decoration: none;
  color: white;
}

.nav-child a:hover {
  color: #f77f00;
}
.nav-child img {
  width: 100%;
  max-width: 120px;
}
.nav-child i {
  font-size: 2rem;
  margin: 1rem;
}
.shrink-nav {
  background-color: #fffffc;
  height: auto;
  box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.75);
}
.shrink-nav p,
.shrink-nav a,
.shrink-nav i {
  color: #003049;
}

/* Overlay Nav */
#overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  z-index: 2;
}
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.overlay-content a {
  color: white;
  text-decoration: none;
  font-size: 42px;
  transition: 0.3s;
  padding: 8px;
  display: block;
  transition: all 200ms ease-in-out;
}
.overlay-content a:hover,
.overlay-content a:focus {
  color: #f77f00;
  transform: scale(1.06);
  transition: all 200ms ease-in-out;
}
.icon-container {
  text-align: right;
}
.fa-times {
  font-size: 3rem;
  color: #fffffc;
  padding: 1rem;
}
#openNavButton {
  display: none;
}
i:hover {
  cursor: pointer;
}
a:hover {
  cursor: pointer;
  transform: scale(1.06);
  transition: all 200ms ease-in-out;
}
.fade-in {
  animation: fadeIn 200ms ease-in-out;
}
.fade-out {
  animation: fadeOut 200ms ease-in-out forwards;
}
.fa-times:hover {
  animation: rotate 200ms ease-in-out;
  color: #f77f00;
}
.fa-bars:hover {
  transform: scale(1.1);
  transition: all 200ms ease-in-out;
  color: #f77f00;
}
@keyframes fadeIn {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 100%;
  }
  100% {
    opacity: 0%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}
/* --------------Overlay end--------- */

/* ------------- HERO ------------- */
.hero-container {
  position: relative;
  color: white;
}
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1722695510527-cc033e43be1b?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  display: block;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px;
}
h1 {
  font-size: 66px;
  margin: 0;
}
.hero-text p {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 12px;
  color: #fffffc;
}
/* ----------- END HERO SECTION ----------- */

/* Get Paid Section Nr.2 */
.getPaid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #003049;
  padding: 80px 20px 120px 20px;
  padding-bottom: 120px;
}

.getPaid h2 {
  font-size: 50.52px;
  color: #fffffc;
  margin-top: 100px;
}

.getPaid p {
  font-size: 21.33px;
  color: #fffffc;
  text-align: center;
}

.paid-title p {
  opacity: 0.7;
  margin-top: 11px;
  line-height: 1.6;
}

/* TEXT + IMAGE ROW */
.paid-content {
  margin-top: 109px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  width: 100%;
}

/* TEXT */
.paid-content p {
  font-size: 28.43px;
  color: #fffffc;
  text-align: justify;
  max-width: 520px;
  width: 100%;
}

/* IMAGE */
.worker-img {
  width: 100%; /* responsive */
  max-width: 400px; /* optional */
  height: auto;
}

/* HIGHLIGHT */
.highlight {
  background-color: #f77f00;
  padding: 4px 12px;
  border-radius: 8px;
  color: #fffffc;
}

/* =========================
   WHY US SECTION
========================= */

.choose-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -100px;
}

.choose-title {
  text-align: center;
  margin-bottom: 60px;
}

.why-card {
  max-width: 765px;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0073af 0%, #003049 100%);
  color: #fffffc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: -20px;
  box-shadow: 0 -60px 80px rgba(19, 172, 255, 0.4);
}

/* ITEMS */
.why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-item h3 {
  font-size: 21.33px;
  color: #fffffc;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 16px;
  color: #fffffc;
  opacity: 0.85;
}
/* ---------END-------*/

/* ------------ Metal Accepted Section ------------------- */
.metal-accepted {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
}
.metal-title {
  color: #003049;
  font-size: 50.52px;
  margin-top: 100px;
}
.metal-subtitle {
  color: #003049;
  opacity: 0.8;
  text-align: center;
  margin: 14px 0px;
  line-height: 1.6;
  font-size: 21.33px;
}
.button-call {
  margin: 37px 0px;
}

.metal-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 89px;
  padding: 120px 0px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  height: 250px;
  background-color: #fffffc;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
}
.card:hover {
  transform: scale(1.05);
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-content h3 {
  font-size: 24px;
  color: #003049;
}
.card img {
  width: 64px;
  margin: 59px 98px 32px 98px;
}

/* ---------- END ------*/

.how-works {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 200px;
  background-color: #003049;
  padding: 150px 0px;
}
.how-title {
  color: #fffffc;
  font-size: 50.52px;
}

.steps-section {
  display: flex;
  flex-direction: column;
  gap: 190px;
  margin: 0 auto;
  padding: 60px 20px;
}
#step-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

#step-2 {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

#step-3 {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.1);
}
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #fffffc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
}
.step-desc {
  color: #fffffc;
  font-size: 21.33px;
}
.step-title {
  font-size: 28.43px;
  margin: 0;
  color: #fffffc;
}

/* ----------- About us --------*/
.about-us {
  display: flex;
  margin: 150px 60px;
}
.about-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 40px;
}
.about-title {
  margin-right: 80px;
  font-size: 50.52px;
  color: #003049;
}
.description-1 {
  line-height: 1.6;
  font-size: 24px;
  color: #003049;
}

/* ---- CONTACT US ---------- */
.contact-us {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 200px;
}
.contact-title {
  color: #003049;
}
.contact-title h2 {
  font-size: 50.52px;
}
.contact-title p {
  line-height: 1.6;
  font-size: 21.33px;
}
.grid-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 88px;
}
.details-card {
  margin: 10px;
}
.details-card h3 {
  color: #003049;
  font-size: 24px;
}
.details-content p {
  font-size: 20px;
  color: #003049;
  opacity: 0.9;
}
iframe {
  width: 500px;
  height: 500px;
  max-height: 518px;
  max-width: 518px;
}

/* --------- FAQ ------- */
.faq-section {
  max-width: 1200px;
  margin: 170px auto;
  padding: 48px 20px;
  font-family: sans-serif;
}

.faq-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.faq-title {
  font-size: 50.52px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #003049;
}

.faq-intro {
  font-size: 16px;
  color: #555;
}

/* Right side */
.faq-right {
  flex: 2; /* take more space */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual FAQ item */
.faq-item {
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}

/* Question button */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: #003049;
  text-align: left;
}

.faq-question:focus {
  outline: none;
}

/* Answer hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 16px;
  color: #555;
  padding-top: 0;
}

/* Icon */
.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

/* Show answer when active */
.faq-item.active .faq-answer {
  display: block;
  max-height: 500px; /* large enough to fit content */
  padding-top: 8px;
}

/* ----------- FOOTER -------- */
.footer {
  background-color: #003049;
  color: #fff;
  padding: 40px 20px;
  font-family: sans-serif;
  margin-top: 200px;
}

/* Container layout */
.footer-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left side */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-partner-img {
  height: 80px;
  width: auto;
}

/* Right side blocks */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-heading {
  font-weight: 600;
  margin: 0 0 8px 0;
}

.footer-details {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #999;
}

.footer-social-img {
  height: 32px;
  width: auto;
}
/* Left side */
.faq-left {
  flex: 1; /* grow as needed */
}

.footer-left {
  flex: 1;
}

.footer-right {
  flex: 2;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}
/* Bottom copyright */
.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  user-select: none;
}

@media (max-width: 900px) {
  #openNavButton {
    display: block;
  }
  .nav-child a {
    display: none;
  }
  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  /* PAID SECTION */
  .paid-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .getPaid h2 {
    font-size: 37.98px;
  }
  .paid-title p {
    font-size: 16px;
  }
  .paid-content p {
    font-size: 20px;
    max-width: 100%;
    text-align: center;
  }
  .worker-img img {
    margin: 0 auto;
    max-width: 400px;
  }

  /* WHY US */
  .why-card {
    grid-template-columns: 1fr;
  }
  .choose-us {
    margin-top: 0px;
  }

  /* METAL CARDS */
  .metal-card {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 0;
  }
  .metal-accepted {
    padding: 100px;
  }

  .steps-section {
    grid-template-columns: 1fr;
    row-gap: 60px;
  }

  #step-1,
  #step-2,
  #step-3 {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }

  /* ABOUT */
  .about-us {
    flex-direction: column;
    margin: 80px 20px;
  }

  /* CONTACT */
  .grid-contact {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-container {
    flex-direction: column;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 500px) {
  h1,
  h2 {
    text-align: center;
  }
  .hero-text h1 {
    font-size: 50px;
  }

  /* TITLES */
  .paid-title h2,
  .metal-title,
  .how-title,
  .contact-title h2,
  .faq-title,
  .about-title {
    font-size: 37.98px;
  }
  .about-title {
    margin-right: 0px;
  }
  .metal-title {
    margin-top: 0px;
  }

  /* TEXT */
  .paid-title p,
  .metal-subtitle,
  .step-desc,
  .description-1,
  .contact-title p {
    font-size: 16px;
  }

  /* METAL CARDS */
  .metal-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* WORKER IMAGE */
  .worker-img img {
    max-width: 300px;
    margin: 0 auto;
  }

  /* BUTTON SPACING */
  .hero-buttons {
    align-items: center;
  }

  .steps-section {
    grid-template-columns: 1fr;
    row-gap: 60px;
  }

  #step-1,
  #step-2,
  #step-3 {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }

  /* FOOTER */
  .footer-right {
    flex-direction: column;
    gap: 24px;
  }
  iframe {
    width: 100%;
    height: calc(var(--spacing) * 80);
  }
}

/* ------ MOVING GRADIENT BACKGROUND ----
.how-works {
  background: linear-gradient(-98deg, #003049, #0073af, #f77f00);
  background-size: 400% 400%;
  height: 100vw;
  animation: animate 10s ease infinite;
}

@keyframes animate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
  */
