@import url("https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: black;
}

.main {
    background-image: url("assets/images/bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(1000px, 100vw);
    height: 69vh;
    position: relative;
}

.main .box {
    height: 69vh;
    width: 100%;
    opacity: 0.4;
    background-color: black;
    position: absolute;
    top: 0;
}

nav {
    display: flex;
    align-items: center;
    max-width: 60vw;
    margin: auto;
    justify-content: space-between;
    height: 62px;
    padding: 10px 0;
}

nav img {
    height: 114px;
    position: relative;
    z-index: 10;
}

nav button {
    position: relative;
    z-index: 10;
}

.hero {
    font-family: "Martel Sans", sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    gap: 23px;
    padding: 0 30px;
    text-align: center;
    height: calc(69vh - 62px);
}

.hero> :first-child {
    font-weight: 900;
    font-size: 38px;
}

.hero> :nth-child(2),
.hero> :nth-child(3) {
    font-size: 24px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.main input {
    padding: 7px 101px 8px 14px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid rgba(246, 238, 238, 0.5);
    background-color: rgba(23, 23, 23, 0.7);
    color: white;
    font-weight: 900;
}

.btn {
    padding: 3px 8px;
    font-weight: 400;
    color: white;
    background-color: rgba(248, 243, 243, 0.013);
    border: 1px solid white;
    border-radius: 4px;
    cursor: pointer;
}

.btn-red {
    background-color: red;
    color: white;
    padding: 8px 22px;
    font-size: 20px;
    border-radius: 7px;
    font-weight: 400;
}

.btn-red-sm {
    background-color: red;
    color: white;
}

.separation {
    margin-top: 1px;
    height: 8px;
    background-color: rgb(121, 121, 121);
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70vw;
    margin: auto;
    color: white;
    gap: 20px;
    flex-wrap: wrap;
}

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;
}

.secImg {
    position: relative;
}

.secImg img {
    width: 555px;
    position: relative;
    z-index: 10;
}

.secImg video,
.video2 {
    position: absolute;
    top: 72px;
    right: 0;
    width: 489px;
    z-index: 5;
}

.video2 {
    width: 300px;
}

.faq {
    background-color: black;
    color: white;
    padding: 34px;
}

.faq h2 {
    text-align: center;
    font-size: 48px;
}

.faqbox {
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2d2d2d;
    padding: 20px;
    max-width: 60vw;
    margin: 20px auto;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faqbox:hover {
    background-color: #414141;
}

.faqbox svg {
    filter: invert(1);
}

/* Footer Section */
footer {
    background-color: black;
    max-width: 60vw;
    margin: auto;
    padding: 60px 0;
}

footer .questions {
    padding: 34px 0;
}

footer .questions p {
    color: white;
}

.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    color: white;
}

.footer-item {
    display: flex;
    flex-direction: column;
}

footer a {
    text-decoration: none;
    color: #ffffff;
    margin: 8px 0;
    font-size: 14px;
}

/* Responsive Media Queries */
@media screen and (max-width: 1300px) {
    nav {
        max-width: 90vw;
    }

    .first {
        flex-wrap: wrap;
    }

    .secImg img,
    .secImg video,
    .video2 {
        width: 100%;
    }

    .hero> :first-child {
        font-size: 32px;
    }

    .hero> :nth-child(2),
    .hero> :nth-child(3) {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .faq h2 {
        font-size: 32px;
    }

    footer {
        max-width: 90vw;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}