@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: black;
}

.main {
  background-image: url("assets/images/bg.jpg");
  background-position: center center;
  background-size: max(1200px, 100vw);
  background-repeat: no-repeat;
  height: 70vh;
  position: relative;
}

.main .box {
  height: 70vh;
  width: 100%;
  opacity: 0.69;
  background-color: black;
  position: absolute;
  top: 0;
}

nav {
  max-width: 80vw;
  justify-content: space-between;
  margin: auto;
  display: flex;
  align-items: center;
  height: 100px;
}

nav img {
  color: red;
  width: 130px;
  position: relative;
  z-index: 10;
}

nav button {
  position: relative;
  z-index: 10;
}

.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;

}

.hero> :first-child {
  font-weight: 900;
  font-size: 48px;
  text-align: center;
}

.hero> :nth-child(2) {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
}

.hero> :nth-child(3) {
  font-weight: 400;
  font-size: 20px;
  text-align: center;
}

.seperation {
  height: 7px;
  background-color: rgb(46, 44, 44);
  position: relative;
  z-index: 20;
}

.btn {
  padding: 3px 8px;
  font-weight: 400;
  color: white;
  background-color: rgba(248, 243, 243, 0.021);
  border-radius: 4px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

.btn-red {
  background-color: red;
  padding: 3px 24px;
  font-size: 20px;
  border-radius: 7px;
  color: white;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.main input {
  padding: 6px 100px 8px 25px;
  color: white;
  /* font-weight: 900; */
  font-size: 12px;
  border-radius: 7px;
  background-color: rgba(23, 23, 23, 0.7);
  border: 1px solid rgba(209, 202, 202, 0.544);
  font-family: "Poppins", sans-serif;
}

.btn-red-sm {
  background-color: red;
  color: white;
}

.first {
  display: flex;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  justify-content: center;
  align-items: center;
}

.secimg {
  position: relative;

}

.secimg img {
  width: 30vw;
  position: relative;
  z-index: 10;

}

.secimg video {
  position: absolute;
  width: 22vw;
  top: 63px;
  right: 57px;
}

.first>div {
  display: flex;
  flex-direction: column;

}

.first>div :first-child {
  font-size: 48px;
  font-weight: 900;
}

.first>div :nth-child(2) {
  font-size: 24px;
  width: 400;
}

.first-sceond {
  display: flex;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

.secimg-apple {
  width: 30vw;
  position: relative;


}

.secimg-apple img {
  position: relative;
  z-index: 10;
}

.secimg-apple video {
  position: absolute;
  width: 18vw;
  top: 35px;
  right: 83px;

}

.first-sceond>div {
  display: flex;
  flex-direction: column;

}

.first-sceond>div :first-child {
  font-size: 48px;
  font-weight: 900;
}

.first-sceond>div :nth-child(2) {
  font-size: 24px;
  width: 400;
}

.first-third {
  display: flex;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  justify-content: center;
  align-items: center;

}

.secimg-kids {
  width: 40vw;
  position: relative;


}

.secimg-kids img {
  position: relative;
  height: 30vw;
}

.first-third>div {
  display: flex;
  flex-direction: column;

}

.first-third>div :first-child {
  font-size: 48px;
  font-weight: 900;
}

.first-third>div :nth-child(2) {
  font-size: 24px;
  width: 400;
}


.first-fourth {
  display: flex;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;

}

.secimg-fourth {
  width: 40vw;
  position: relative;


}

.secimg-fourth img {
  position: relative;
  height: 30vw;
}

.first-fourth>div {
  display: flex;
  flex-direction: column;

}

.first-fourth>div :first-child {
  font-size: 48px;
  font-weight: 900;
}

.first-fourth>div :nth-child(2) {
  font-size: 24px;
  width: 400;
}

.faq-box {
  display: flex;
  background-color: gray;
  padding: 34px;
}

.faq h2 {
  text-align: center;
  font-size: 48px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;

}

.faq {
  background-color: black;
  color: white;
}

.faq :hover {
  background-color: #414141;

}

.faq-box svg {
  filter: invert(1);
}

.faq-box {
  transition: all 1s ease-out;
  display: flex;
  background-color: #2d2d2d;
  padding: 24px;
  max-width: 40vw;
  margin: 30px auto;
  justify-content: space-between;
  cursor: pointer;
}

footer {
  margin: auto;
  max-width: 60vw;
  color: white;
  padding: 14px;
}

footer .qu {
  padding: 34px 0;
}

.footer a {
  font-size: 14px;
  color: white;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  color: white;
}

.footer-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    nav {
        max-width: 90vw;
        padding: 20px;
    }
    .hero :first-child { font-size: 36px; }
    .hero :nth-child(2), .hero :nth-child(3) { font-size: 18px; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .main input { width: 80%; padding: 10px; }
    .first, .first-sceond, .first-third, .first-fourth {
        flex-direction: column; text-align: center; max-width: 90vw; gap: 20px;
    }
    .first div, .first-sceond div, .first-third div, .first-fourth div {
        align-items: center;
    }
    .secimg img, .secimg-apple img, .secimg-kids img, .secimg-fourth img {
        width: 80vw; height: auto;
    }
    footer { max-width: 90vw; }
    .footer { grid-template-columns: 1fr 1fr; gap: 30px; }
    .faq h2 { font-size: 36px; }
    .faq-box { max-width: 80vw; font-size: 16px; }
}

/* Mobile Devices */
@media (max-width: 768px) {
    nav {
        flex-direction: column; align-items: center; gap: 15px;
        height: auto; max-width: 95vw;
    }
    nav img { width: 100px; }
    .hero { padding: 20px; gap: 18px; }
    .hero :first-child { font-size: 28px; }
    .hero :nth-child(2), .hero :nth-child(3) { font-size: 16px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .main input { width: 90%; padding: 12px; }
    .btn-red { padding: 10px 20px; font-size: 18px; }
    .first, .first-sceond, .first-third, .first-fourth {
        flex-direction: column; max-width: 90vw; text-align: center;
    }
    .secimg, .secimg-apple, .secimg-kids, .secimg-fourth {
        width: 100%; display: flex; flex-direction: column; align-items: center;
    }
    .secimg img, .secimg-apple img, .secimg-kids img, .secimg-fourth img {
        width: 90vw; height: auto;
    }
    /* Video alignment for mobile */
    .secimg, .secimg-apple { position: relative; overflow: hidden; }
    .secimg video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 73vw; object-fit: cover; }
    .secimg-apple video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 63vw; object-fit: cover; }
    .faq h2 { font-size: 28px; }
    .faq-box { max-width: 90vw; padding: 20px; }
    .footer { grid-template-columns: 1fr; text-align: center; gap: 15px; }
    .footer-items { gap: 10px; }
    footer .qu { text-align: center; }
}

/* Small Phones */
@media (max-width: 480px) {
    nav img { width: 80px; }
    .hero :first-child { font-size: 22px; }
    .hero :nth-child(2), .hero :nth-child(3) { font-size: 14px; }
    .btn-red { font-size: 16px; padding: 8px 16px; }
    .main input { width: 100%; padding: 10px; }
    .secimg video { width: 75vw; top: 48%; }
    .secimg-apple video { width: 67vw; top: 49%; }
    .faq h2 { font-size: 24px; }
}

/* Additional pixel-perfect tweaks as needed for devices */
