@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;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: black;
}
.main{
    background-image: url('assets/images/bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(1200px, 100vw);
    height: 70vh;   
    position: relative;
}

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

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

nav img{
    color: red;
    width: 130px;
    position: relative;
    z-index: 10;
}

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

.hero{
    height: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    font-family: 'Martel Sans', sans-serif;
    padding: 0 30px;
    gap: 23px;
    max-width: 100%;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from{ 
            opacity: 0; 
            transform: translateY(20px); 
        }
    to{
        opacity: 1;
        transform: translateY(0);
      }
}

.hero-title {
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
}

.hero-desc {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}

.email{
    text-align: center;
}

.hero .email input{
    font-size: larger;
    background-color: rgb(59, 58, 58);
    margin-bottom: 1vw;
}


.separation{
    height: 7px;
    margin: 1vw;
    background-color: rgb(52, 51, 51);
    position: relative;
    z-index: 20;
}

.btn{
    padding: 3px 8px;
    font-weight: 400;
    background-color:  rgb(23,23,23,0.7);
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    cursor:pointer;
}

.red-btn{
    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;
}

.red-btn:hover, .btn:hover {
    transform: scale(1.05);
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(255,0,0,0.4);
}


.main input{
    padding: 10px;
    font-size: 12px;
    width: 100%;
    color: white;
    border-radius: 4px;
    background-color: rgb(23,23,23,0.7);
    border: 1px solid rgb(23,23,23,0.5);
}

.first{
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: auto;
    color: white;
    align-items: center;
    max-width: 100%;
}

.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{
    background-color: black;
    color: white;
    padding: 34px;
}
.faq h2{
    text-align: center;
    font-size: 32px;
}
.faqbox{
    display: flex;
    background-color: rgb(42, 41, 41);
    font-size: 24px;
    padding: 24px;
    max-width: 100%;
    margin: 34px auto;
    justify-content: space-between;
    flex-direction: column;
    cursor: pointer;
    transition: all 1s ease-in-out;
}

.faqbox:hover{
    background-color: rgb(81, 80, 80);
    color: white;
}

.icon i {
    display: inline-block; 
    transition: transform 0.3s ease;
}

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

.faqbox .answer{
    display: none;
}

footer{
    color: white;
    max-width: 90vw;
    margin: auto;
    padding: 75px 0;
}

.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    color: white;
    max-width: 60vw;
    margin: auto;
}

footer .questions{
    padding: 34px 0;
}
.footer-item{
    display: flex;
    flex-direction:column;
    gap: 23px;
}

.footer a{
    font-size: 14px;
    color: white;
}

.footer a:hover {
    text-decoration: underline;
    color: #ccc;
}


/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        height: auto;
    }

    nav img {
        width: 100px;
        margin-bottom: 10px;
    }

    .main {
        background-size: cover;
        height: auto;
        padding-bottom: 40px;
    }

    .main .box {
        height: 100%;
    }

    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .main input {
        padding: 10px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .first {
        flex-direction: column;
        text-align: center;
    }

    .secimg img,
    .secimg video {
        width: 100%;
    }

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

    .faqbox {
        font-size: 18px;
        padding: 16px;
        max-width: 90vw;
    }
}
