@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Poppins:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
}

.main {
    background-image: url(images/bg.jpeg);
    height: 70vh;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(1200px, 100vw);
}

.main .box {
    height: 70vh;
    width: 100%;
    opacity: 0.75;
    background-color: black;
    position: absolute;
    top: 0;
}

nav {
    max-width: 60vw;

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    height: 100px;
}

nav img {
    color: red;
    width: 130px;
    position: relative;
    z-index: 10;
}

nav button {
    position: relative;
    z-index: 10;
}

.hero {
    height: calc(100% - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    font-family: 'Martel Sans', sans-serif;
    gap: 23px;
    padding: 0 30px;
}

.hero> :nth-child(1) {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 48px;
    text-align: center;
}

.hero> :nth-child(2) {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}

.hero> :nth-child(3) {
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

.separation {
    height: 7px;
    background-color: rgb(46, 44, 44);
    position: relative;
    z-index: 20px;
}

.btn {
    padding: 8px 15px;
    font-weight: 400;
    background-color: transparent;
    color: white;
    border: solid 1px rgb(127, 127, 127);
    border-radius: 4px;
    cursor: pointer;
}

.btn-red {
    background-color: red;
    color: white;
    padding: 8px 30px;
    font-size: 20px;
    border-radius: 4px;
    font-weight: 550;
    border: none;
}

.btn-red-sm {
    background-color: red;
    color: white;
    border: none;
    font-weight: 550;
    
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.main input {
    padding: 10px 101px 10px 14px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    background-color: rgba(23, 23, 23, 0.7);
    border: solid 1px rgba(246, 238, 238, 0.5);
    color: white;
}

.first {
    display: flex;
    justify-content: center;
    max-width: 80vw;
    margin: auto;
    color: white;
    justify-content: center;
    align-items: center;
}

.secimg {
    position: relative;
}

.secimg img {
    width: 555px;
    position: relative;
    z-index: 10;
}

.secimg video {
    position: absolute;
    top: 51px;
    right: 0;
    width: 555px;
}

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;
}

.faq h2{
    text-align: center;
    font-size: 48px;
}

.faq{
    background-color: black;
    color: white;
    padding: 34px;
    font-size: 24px;
}

.faqbox:hover{
    background-color: rgb(87, 87, 87);
    color: white;
}

.faqbox svg{
    filter: invert(1);
}

.faqbox {
    transition: all 0.2s ease-out;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    background-color: #3c3c3c;
    padding: 24px;
    max-width: 60vw;
    margin: 12px auto;
    cursor: pointer;
    color: white;
}

footer {
    color: white;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 34px 0 60px;
    background-color: black;
}

.questions {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-bottom: 24px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 80vw;
    margin: 0 auto;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-item a {
    font-size: 14px;
    color: white;
    text-decoration: underline;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        max-width: 90vw;
        height: 80px;
    }

    nav img {
        width: 100px;
    }

    .hero {
        height: calc(100% - 80px);
        padding: 0 20px;
        gap: 20px;
    }

    .hero > :nth-child(1) {
        font-size: 36px;
    }

    .hero > :nth-child(2) {
        font-size: 18px;
    }

    .hero > :nth-child(3) {
        font-size: 16px;
    }

    .btn-red {
        font-size: 16px;
        padding: 6px 20px;
    }

    .main input {
        padding: 8px 80px 8px 12px;
        font-size: 14px;
    }

    .first {
        max-width: 90vw;
        flex-direction: column;
        text-align: center;
    }

    .secimg img,
    .secimg video {
        width: 100%;
        max-width: 400px;
    }

    section.first > div {
        padding: 20px 0;
    }

    section.first > div :nth-child(1) {
        font-size: 32px;
    }

    section.first > div :nth-child(2) {
        font-size: 20px;
    }

    .faq {
        padding: 20px;
    }

    .faq h2 {
        font-size: 32px;
    }

    .faqbox {
        max-width: 90vw;
        font-size: 20px;
        padding: 20px;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 90vw;
    }

    .questions {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    nav {
        max-width: 95vw;
        height: 70px;
    }

    nav img {
        width: 80px;
    }

    .hero {
        height: calc(100% - 70px);
        padding: 0 15px;
        gap: 15px;
    }

    .hero > :nth-child(1) {
        font-size: 28px;
    }

    .hero > :nth-child(2) {
        font-size: 16px;
    }

    .hero > :nth-child(3) {
        font-size: 14px;
    }

    .btn-red {
        font-size: 14px;
        padding: 5px 15px;
    }

    .main input {
        padding: 6px 60px 6px 10px;
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .first {
        max-width: 95vw;
    }

    .secimg img,
    .secimg video {
        max-width: 300px;
    }

    section.first > div :nth-child(1) {
        font-size: 24px;
    }

    section.first > div :nth-child(2) {
        font-size: 18px;
    }

    .faq h2 {
        font-size: 24px;
    }

    .faqbox {
        max-width: 95vw;
        font-size: 18px;
        padding: 16px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .questions {
        font-size: 14px;
    }
}
