* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: black;
  overflow-x: hidden;
}

/* Background image container styling */
.main {
  background-image: url("bg.jpg");
  background-position: center center;
  background-size: max(1200px, 100vw);
  background-repeat: no-repeat;
  height: 644px;
  position: relative;
}

/* Dark overlay on background */
.main .box {
  height: 644px;
  width: 100%;
  opacity: 0.69;
  position: absolute;
  top: 0;
  background-color: black;
}

/* Navigation bar styling */
nav {
  max-width: 60vw;
  justify-content: space-between;
  margin: auto;
  display: flex;
  align-items: center;
  height: 100px;
}

nav img {
  width: 130px;
  position: relative;
  z-index: 10;
}

nav button {
  position: relative;
  z-index: 10;
}

/* Base button */
.btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  margin-left: 10px;
  background-color: transparent;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Sign In button */
.btn-red-sm {
  background-color: #e50914;
  color: white;
}

.btn-red-sm:hover {
  background-color: #f40612;
  transform: scale(1.05);
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 120px;
  border: 1px solid #666;
  z-index: 1;
  top: 38px;
  right: 0;
  border-radius: 4px;
}

.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #333;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.hero {
  font-family: "Martel Sans", sans-serif;
  height: calc(100% - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  position: relative;
  gap: 23px;
  padding: 0 30px;
  text-align: center;
}

.hero span {
  font-size: 2rem;
  margin: 10px 0;
  animation: fadeInUp 1s ease both;
}

.hero span:nth-child(2) { animation-delay: 0.2s; }
.hero span:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > :nth-child(1) {
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
  font-size: 48px;
}

.hero > :nth-child(2) {
  font-weight: 400;
  font-size: 24px;
}

.hero > :nth-child(3) {
  font-weight: 400;
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.main input {
  padding: 16px 120px 16px 20px;
  font-size: 16px;
  border-radius: 6px;
}

/* CTA Button */
.btn-red {
  background-color: red;
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  border-radius: 6px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Divider line */
.separation {
  height: 10px;
  background-color: #333;
  margin-top: 30px;
  border-radius: 5px;
  position: relative;
  z-index: 20;
}

/* Sections */
.first {
  display: flex;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  align-items: center;
}

section.first > div {
  display: flex;
  flex-direction: column;
  padding: 34px 0;
}

section.first > div :nth-child(1) {
  font-size: 48px;
  font-weight: bolder;
}

section.first > div :nth-child(2) {
  font-size: 24px;
}

/* Media section images */
.secImg {
  position: relative;
}

.secImg img {
  width: 555px;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease;
}

.secImg video {
  position: absolute;
  top: 51px;
  right: 0;
  width: 555px;
}

.secImg:hover img {
  transform: scale(1.05);
}





/* FAQ Section */
.faq {
  background: black;
  color: white;
  padding: 34px;
}

.faq h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 30px;
}

/* CLEANED & FIXED FAQ BOXES */
.faq-section {
  background-color: black;
  color: white;
  padding: 50px 20px;
  max-width: 800px;
  margin: auto;
}

.faqbox {
  background-color: #2d2d2d;
  margin-bottom: 12px;
  padding: 24px 20px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.faqbox:hover {
  background-color: #414141;
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateY(-2px);
}

.faqbox.active {
  background-color: #414141;
  border-color: var(--accent);
}

.faqbox span {
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-block;
  padding-right: 30px;
  color: #fff;
}

.faqbox svg {
  position: absolute;
  right: 20px;
  top: 28px;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.faq-content {
  font-size: 1.1rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: #d2d2d2;
  padding: 0 0;
}

.faqbox.active .faq-content {
  padding-top: 20px;
  max-height: 300px;
}

.faqbox.active svg {
  transform: rotate(45deg);
}



/* Enhanced Mobile UX */
@media (max-width: 768px) {
  .hero span {
    font-size: 1.5rem;
  }

  .hero span:nth-child(2) {
    font-size: 1.2rem;
  }

  .hero span:nth-child(3) {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  nav .right ul li a {
    font-size: 0.9rem;
  }

  .faqbox {
    padding: 15px;
  }

  .faqbox span {
    font-size: 1rem;
  }
}

/* Error States */
.error-message {
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid #e50914;
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
  color: #e50914;
  display: none;
}

.error-message.show {
  display: block;
}

/* Success States */
.success-message {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
  color: #00ff00;
  display: none;
}

.success-message.show {
  display: block;
}

/* Footer */
footer {
  color: white;
  max-width: 60vw;
  margin: auto;
  padding: 60px;
}

footer .questions {
  padding: 34px 0;
  font-size: 30px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 25px;
}

.footer a {
  font-size: 14px;
  color: white;
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 23px;
}



/* Error Message Styling */
.error-message {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* Responsive Tweaks */
@media screen and (max-width: 1300px) {
  nav {
    max-width: 90vw;
  }

  .first {
    flex-wrap: wrap;
  }

  .secImg img, .secImg video {
    width: 305px;
  }

  .hero > :nth-child(1) {
    font-size: 32px;
  }

  .hero > :nth-child(2),
  .hero > :nth-child(3) {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .faq h2 {
    font-size: 32px;
  }

  footer {
    max-width: 90vw;
    padding: 75px 0;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-item {
    align-items: center;
  }
}
