/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  font-weight: 400;
  color: white;
  background: black;
  overflow-x: hidden;
}

.fullpage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 0 5%;
  box-sizing: border-box;
}

.content {
  text-align: center;
  z-index: 1;
  width: 100%;
}

.govbar {
  background: #fff;
  border-bottom: 1px solid #cccaca;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  height: 46px;
  overflow: hidden;
  position: relative;
  z-index: 200;
  width: 100%;
  margin: 0 auto;
}

.govbar-logo img {
  border: 0;
  float: left;
  max-height: 40px;
  max-width: 205px;
}

.govbar-links {
  float: right;
  line-height: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.govbar-links li {
  float: left;
  padding-bottom: 0.2rem;
  padding-left: 1.5rem;
  position: relative;
}

.govbar-link {
  float: left;
  font-weight: 700;
  padding: 8px;
  border: 0;
  color: #222 !important;
  text-decoration: none;
}

/* =========================
   SECTION 1 (HERO)
========================= */

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.main-top-text {
  font-size: 1.5rem;
  margin-top: 4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.main-title {
  font-size: 6rem;
  font-weight: 500;
  margin: 0;
}

.main-icon {
  margin-top: 16rem;
}

.main-icon img {
  max-width: 720px;
  height: auto;
}

.animated-icon {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.3) translateY(50px);
  animation: fadeIn 3s ease-out forwards;
}


/* =========================
   SECTION 2 (ENGINES)
========================= */

.section-2-title {
  font-size: 3.25rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  text-align: center;
}

.icons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 1rem;
  max-width: 100%;
  margin: 4rem auto;
  padding: 0 4rem;
}

.icon-item {
  cursor: pointer;
  transition: transform 0.3s;
}

.icon-item:hover {
  transform: scale(1.1);
}

.icon-item img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.subscribe-btn {
  display: inline-block;
  margin-top: 4rem;
  padding: 25px 50px;
  font-size: 24px;
  background: #fff;
  color: black;
  border: none;
  border-radius: 1rem;
  text-decoration: none;
  cursor: pointer;
}


/* =========================
   SECTION 3 (FOOTER)
========================= */
.footer-section {
  min-height: 90vh;
  display: flex;
}

.footer {
  width: 100%;
  height: 100%;
  padding: 2rem 12rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  justify-content: space-between;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 2rem;
  width: 100%;
}

.footer-label {
  font-size: 2rem;
  text-transform: uppercase;
}

.footer .logo {
  max-width: 400px;
}

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

.column {
  flex: 1;
  padding: 0 1rem;
  text-align: left;
}

.column h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #B8B8B8B8;
}

.column p {
  font-size: 1.5rem;
}

.social-icon {
  width: 90px;
  height: 70px;
  filter: brightness(0) invert(1);
}

.social-icons a:hover .social-icon {
  filter: brightness(0) invert(0.3);
}


/* =========================
   POPUPS
========================= */

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.popup-content {
  width: 90%;
  max-width: 500px;
  padding: 2.5rem;

  background: white;
  color: black;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  position: relative;
  animation: popupFadeIn 0.4s ease-out;
}

.popup-content h3 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  text-align: center;
  color: #2c3e50;
}

.popup-content p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  color: #555;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
}

.close-btn:hover {
  color: #333;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.3) translateY(50px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .fullpage {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .main-top-text {
    font-size: 1rem;
  }

  .main-title {
    font-size: 4rem;
  }

  .section-2-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .main-icon img {
    width: 100%;
    max-width: 500px;
  }

  .icons-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .subscribe-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 2rem;
    font-size: 12px;
  }


  .footer-section {
    margin-top: 4rem;
  }

  .footer {
    padding: 2rem;
    gap: 4rem;
  }

  .footer-logo-block {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1rem;
  }

  .footer-label {
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 4rem;
  }

  .footer .logo {
    max-width: 300px;
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .column {
    width: 300px;
    text-align: left;
  }

  .popup-content {
    width: 90%;
    padding: 1rem;
  }
}
