* {
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
}

.main {
    background-image: url("bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
    position: relative;
}

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

nav {
    display: flex;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    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;
    position: relative;
    color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 45px;
    text-align: center;
    padding: 0px 30px;
    gap: 23px;
}

.hero> :first-child {
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-large;
    font-weight: 1000;
}

.hero> :nth-child(2) {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

.hero> :nth-child(3) {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

.separation {
    height: 7px;
    background-color: rgb(45, 43, 43);
}

.btn {
    padding: 3px 8px;
    background-color: rgba(23, 23, 23, 0.5);
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.522);
    border-radius: 4px;
}

.main input {
    padding: 14px;
    width: 100%;
    max-width: 400px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    background: rgba(23, 23, 23, 0.5);
    color: white;
    border: 1px solid gray;
}

.btn-red {
    background-color: red;
    color: white;
    padding: 11px 33px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 400;
}

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

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

.first .first-head {
    color: white;
    font-family: sans-serif;
    margin: 2rem;
    font-weight: 600;
    font-size: xx-larger;
}

.images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px auto;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 23px;
    scroll-behavior: smooth;
    width: 95%;
    max-width: 1200px;
}

.img-elements {
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.images::-webkit-scrollbar {
    display: none;
}

.img-elements:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.faq {
    display: flex;
    flex-direction: column;
    margin: 20px;
    gap: 18px;
}

.Faq {
    color: white;
    font-family: sans-serif;
    text-align: center;
    font-size: xx-large;
    padding: 20px 0;
}

.faq-questions {
    display: flex;
    background-color: rgb(61, 61, 61);
    height: 56px;
    width: 90%;
    max-width: 70vw;
    margin: auto;
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 0px 24px;
    font-family: sans-serif;
    font-size: 17px;
}

.plus {
    font-size: 24px;
}


.faq-questions:hover {
    background-color: #2d2d2d;
    transition: all 0.2s ease-in;
    cursor: pointer;
}

.reasons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
}

.boxes {
    height: 250px;
    flex: 1 1 200px;
    background: linear-gradient(#21223f, #32203b);
    border-radius: 10px;
    margin-bottom: 30px;
}

.scd-head {
    margin: 10px 2rem;
    color: white;
    font-family: sans-serif;
    padding: 10px;
    font-weight: 600;
    font-size: x-larger;
}


.boxes h3 {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 23px;
    font-size: x-large;
    font-weight: 600;
}

.boxes p {
    margin: 23px;
    color: rgb(153, 144, 144);
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: 400;
}

.details p {
    color: white;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    font-family: sans-serif;
    font-size: large;
}

.last-btn {
    display: flex;
}

.details input {
    padding: 14px;
    width: 100%;
    max-width: 400px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    background: rgba(73, 72, 72, 0.5);
    color: white;
    border: 1px solid gray;
    margin: 30px;
}

footer {
    color: white;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    padding: 14px;
}

.footer a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-family: sans-serif;
}

footer .questions {
    font-family: sans-serif;
    padding: 34px 0;
}

.footer {
    .footer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        color: white;
        gap: 2rem;
    }

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

    @media screen and (max-width: 815px) {
        .main {
            background-image: url("bg.jpg");
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 70vh;
            position: relative;
        }

        .hero {
            height: calc(100% - 100px);
            display: flex;
            position: relative;
            color: white;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            line-height: 31px;
            text-align: center;
            padding: 0px 1.5rem;
            gap: 11px;
        }

        .hero> :first-child {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 32px;
            font-weight: 600;
            text-align: center;
        }

        .hero> :nth-child(2) {
            font-family: Arial, Helvetica, sans-serif;
            text-align: center;
            font-size: 20px;
        }

        .hero> :nth-child(3) {
            text-align: center;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 20px;
        }

        .btn-red {
            background-color: red;
            color: white;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 200;
        }

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

        nav {
            width: 90%;
        }

        .img-elements {
            height: 200px;
            width: 120px;
        }

        .boxes {
            min-width: 160px;
        }

        .first-head {
            font-size: 1.8rem;
        }

        .scd-head {
            font-size: 1.5rem;
        }
    }

    @media screen and (max-width:860px) {
    .last-btn {
        flex-direction: column;
    }

    .last-btn input {
        width: 100%;
        max-width: 400px;
    }

    .details input {
        width: 90%;
        max-width: 400px;
    }
}

@media screen and (max-width:690px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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

    .img-elements {
        height: 180px;
        width: 100px;
    }

    .boxes {
        flex: 1 1 150px;
        min-width: 140px;
    }

    .Faq {
        font-size: 24px;
    }

    .faq-questions {
        width: 95%;
        max-width: 100%;
        margin: auto;
        font-size: 16px;
    }

    .details p {
        font-size: 16px;
    }
}

@media screen and (max-width:500px) {
    .footer {
        display: grid;
        grid-template-columns: 1fr;
        color: white;
    }

    .Faq {
        font-size: 20px;
        padding: 15px;
    }

    .img-elements {
        height: 160px;
        width: 90px;
    }

    .boxes {
        flex: 1 1 120px;
        min-width: 120px;
        height: 200px;
    }

    .boxes h3 {
        font-size: 18px;
        margin: 15px;
    }

    .boxes p {
        font-size: 13px;
        margin: 15px;
    }

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

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

    .hero-buttons input,
    .hero-buttons button {
        width: 95%;
        font-size: 14px;
    }

    .btn-red {
        padding: 8px 16px;
        font-size: 13px;
    }

    .details input {
        width: 95%;
        padding: 12px;
        font-size: 14px;
    }

    .faq-questions {
        height: 50px;
        width: 95%;
        padding: 0px 16px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .plus {
        font-size: 20px;
    }

    .reasons {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .first-head,
    .scd-head {
        margin: 10px 1rem;
        font-size: 18px;
    }

    nav {
        height: 80px;
    }

    nav img {
        width: 80px;
    }

    .main {
        height: 60vh;
    }

    .main .box {
        height: 60vh;
    }

    .hero {
        height: calc(60vh - 80px);
        padding: 0px 1rem;
    }
}

@media screen and (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        width: 95%;
        gap: 1rem;
    }

    .hero-buttons input,
    .hero-buttons button {
        width: 95%;
    }

    .main input {
        max-width: 95%;
    }
}

@media screen and (max-width: 380px) {
        .hero> :first-child {
            font-size: 20px;
            line-height: 1.3;
        }

        .hero> :nth-child(2),
        .hero> :nth-child(3) {
            font-size: 14px;
            line-height: 1.3;
        }

        .hero-buttons {
            gap: 0.5rem;
        }

        .btn-red {
            padding: 7px 12px;
            font-size: 12px;
        }

        .main input {
            padding: 10px;
            font-size: 12px;
        }

        nav {
            height: 70px;
        }

        nav img {
            width: 70px;
        }

        .first-head,
        .scd-head {
            font-size: 16px;
        }

        .boxes h3 {
            font-size: 16px;
            margin: 12px;
        }

        .boxes p {
            font-size: 12px;
            margin: 12px;
        }

        .footer a {
            font-size: 12px;
        }
    }
}