@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Poppins:wght@300;400;700&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: 644px;
    position: relative;
}

.main .box {
    height: 644px;
    width: 100%;
    opacity: 0.69;
    position: absolute;
    top: 0;
    background-color: black;
}

nav {
    max-width: 60vw;
    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> :nth-child(1) {
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
    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;
}

.separation {
    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;
    border: 1px solid white;
    cursor: pointer;

}

.btn:hover {
    background-color: white;
    color: black;
}

.btn-red {
    background-color: red;
    color: white;
    padding: 3px 24px;
    font-size: 20px;
    border-radius: 4px;
    font-weight: 400;
}

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

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

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

.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: 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;

}


/* Modified Quiz Section Styling */
.quiz-section {
    padding: 60px 0;
    text-align: center;
    color: white;
}

.quiz-text {
    margin-bottom: 30px;
}

.quiz-section span {
    font-size: 36px;
    font-weight: bold;
}

.quizsecImg {
    position: relative;
    margin: 0px;
}

.quizsecImg img {
    width: 75%;
    max-width: 555px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 25px;
}

.quizsecImg img:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

@media screen and (max-width: 1300px) {

    nav {
        max-width: 90vw;
    }

    .first {
        flex-wrap: wrap;
    }

    .secImg img {
        width: 305px;
    }

    .secImg video {
        width: 305px;
    }

    .hero> :nth-child(1) {
        font-size: 32px;
    }

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

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

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





/* faq section */
.faq h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
}

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

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

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

.faqbox {
    transition: all 0.5s ease-out;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    background-color: #2d2d2d;
    padding: 20px;
    margin: 15px auto;
    width: 80%;
    cursor: pointer;
    border-radius: 8px;
}

.faqbox .answer {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.5s ease-in-out;
}

.faqbox.open .answer {
    max-height: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.faqbox .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faqbox svg {
    filter: invert(1);
    transition: transform 0.3s ease;
}

.faqbox.open svg {
    transform: rotate(45deg);
}

.faqbox .question span {
    font-size: 18px;
}



/* footer section */
footer {
    color: white;
    max-width: 100%;
    background-color: #1a1a1a;
    padding: 60px 20px;
    box-sizing: border-box;
}

footer .questions {
    text-align: center;
    margin-bottom: 30px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align content */

}
.footer-item h3 {
    margin-bottom: 15px; /* Space below headings */
    font-size: 18px;
    font-weight: bold;
}
.footer-item a {
    display: block;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    margin-bottom: 10px;
}

.footer-item a:hover {
    color: rgb(20, 63, 164);
}

@media screen and (max-width: 1300px) {

    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}