@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #0a0a23 45%, #f0f4f8 55%);
}

.header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
    border-bottom: 2px solid #f1be32;
}

.header .logo {
    display: flex;
    align-items: flex-end;
}

.header .logo p {
    color: #fff;
    font-size: 1.8em;
}

.header nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
}

.header nav a:hover {
    color: #f1be32;
}

.header .learn {
    padding: 10px 20px;
    background-color: #0a0a23;
    color: #fff;
    border: 1px solid #f1be32;
    border-radius: 20px;
    cursor: pointer;
}

.header .learn:hover {
    border: 1px solid #fff;
}

.container {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
}

.content {
    max-width: 40%;
    margin: 0 5%;
    text-align: center;
}

.content h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #fff;
}

.content .learn-now {
    padding: 10px 90px;
    background-color: #f1be32;
    color: #0a0a23;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
}

.content .learn-now:hover {
    background-color: #fff;
    color: #0a0a23;
}

.image {
    max-width: 60%;
}

.image img {
    width: 100%;
    max-height: 440px;
    margin-right: 40px;
}

h2 {
    font-size: 2em;
    border-bottom: 3px solid #f1be32;
    margin: 20px;
    color: #fff;
}

i {
    font-size: 38px;
    color: #0a0a23;
}

hr {
    width: 50px;
    border: 2px solid #dfdfe2;
    margin: 4px auto 10px auto;
    border-radius: 20%;
}

.boxes {
    padding: 30px 20px 0 20px;
    margin-bottom: 40px;
    box-sizing: content-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.box {
    color: #333333;
    background-color: #f0f4f8;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #0a0a23;
    width: 125px;
    height: 125px;
    text-align: center;
    box-shadow: 0 8px 16px #333333;
}

.box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #0a0a23;
}

#box1 {
    margin-top: 20px;
}

#about-us {
    color: #0a0a23;
    padding: 40px;
    max-width: 820px;
    margin: 0 auto;
}

#about-us p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

#about-us strong {
    color: #f1be32;
}



footer {
    width: 100%;
    margin-top: 50px;
    background-color: #2a2a40;
    display: flex;
    justify-content: center;
}

footer,
footer a {
    color: #dfdfe2;
}

address {
    text-align: center;
    padding: 4px;
}

#arrowup,
#arrowdown {
    display: none;
}

@media (max-width: 600px) {

    #arrowup,
    #arrowdown {
        color: #f1be32;
        background-color: #0a0a23;
        top: 15px;
        right: 20px;
        font-size: 30px;
        padding: 10px;
        cursor: pointer;
    }

    #arrowdown {
        display: block;
    }

    #arrowup {
        display: none;
    }

    #list {
        position: absolute;
        top: -200px;
        right: 3px;
        padding: 15px 15px;
        margin-top: 6px;
        justify-content: space-evenly;
        background-color: #0a0a23;
        border: 2px solid #f1be32;
        transition: 0.3s;
    }

    .container {
        padding: 30px;
        margin-bottom: 50px;
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }

    .image,
    .content {
        max-width: 70%;
    }

}