/* css reset */
*,
::after,
::before,
::backdrop,
::file-selector-button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0 solid;
}

html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #d6e6e8;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-size: 26px;
    color: #333;
    line-height: 1.6;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}


header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    align-items: center;
}

header img {
    height: 5em;
    width: auto;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    gap: 4rem;
    align-items: center;
    font-weight: 600;
}

header .btn {
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #ce8246;
    color: white;
    font-weight: 700;
    border-radius: 10rem;
    transition: background-color 0.3s ease;
    /* line-height: 1.4; */
}

#hero {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#hero .hero-image {
    position: relative;
}

.hero-content {
    position: absolute;
    right: 1.5em;
    bottom: -9.45em;
    color: #fff;
    width: 440px;
    height: 400px;
    font-size: 1.25rem;
    padding: 10px 40px;
    text-align: left;

    background-image: url(assets/svg/tooltip.svg);
    background-repeat: no-repeat;
}

.hero-nav {
    display: flex;
    gap: 6rem;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.hero-nav p {
    font-weight: 800;
    color: #ce8246;
    margin-left: 5rem;
    font-size: 1.4em;
}

.social-icons {
    display: flex;
    gap: 6rem;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons img {
    height: 2em;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
}

.section-title {
    width: 100%;
    display: flex;
    text-align: left;
    margin: 20px 0;

}

.section-title img {
    height: 2em;
    margin-right: 1rem;
}

.services-items {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.item {
    position: relative;
}

.item .item-overlay {
    position: absolute;
    top: 0;
    right: -10px;
    width: 4em;
    height: 3em;
    padding: 2px 30px;
    font-weight: 700;
    color: #fff;
    background-image: url(assets/svg/cross.svg);
    background-repeat: no-repeat;
}

.item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.crew-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-weight: 700;
    color: #ce8246;
    transition: opacity 0.3s ease;
}

.crew-link:hover {
    opacity: 0.8;
}

.crew-link img {
    height: 1.5em;
}

.crew-link img:first-child {
    transform: scaleX(-1);
}

#policy .images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    position: relative;
    width: 100%;
}

#policy .images img {
    height: 440px;
    width: auto;
    border-radius: 70px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#policy .images img:nth-child(2) {
    position: absolute;
    transform: translateX(28%);
    height: 600px;
    box-shadow: none;
    z-index: 3;
}

#policy .images img:last-child {
    z-index: 1;
}

#contact {
    background-color: #ce8246;
    border-radius: 60px;
    color: #fff;
    padding: 1em 3em;
}

#contact .section-title {
    padding: 0;
    margin: 0;
    justify-content: center;
    font-weight: 800;
}

#contact .section-content {
    display: flex;
    justify-content: space-between;
}

#contact .section-content a {
    display: inline-block;
    padding: .5rem;
    background-color: #ce8246;
    color: white;
    font-weight: 700;
    border-radius: 10rem;
    transition: background-color 0.3s ease;
}

#contact img {
    height: 1em;
    transform: scaleX(-1);
}

#contact .section-content a:hover {
    background-color: #b56f35;
}

.flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 2em;
}

.section {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    gap: 1em;
    font-size: 1rem;
    align-items: center;
}

.contact-item .icon {
    height: 4.4em;
    width: 4.4em;
    border-radius: 100%;
    border: 2px solid #fff;
    align-items: center;
    display: flex;
    justify-content: center;
}

.contact-item .info {
    display: flex;
    flex-direction: column;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    border: 2px solid #fff;
    padding: 1em;
    border-radius: 2em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid #fff;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    color: #333;
    font-weight: 500;
}

*::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    padding: 12px 24px;
    /* color: white; */
    width: 100%;
    background-color: #fff;
    font-weight: 700;
    border-radius: 10rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.contact-form .btn:hover {
    background-color: #f5f5f5;
}

.contact-form label {
    font-weight: 600;
    font-size: .8em;
    margin-bottom: -0.3rem;
}

footer {
    font-size: 1rem;
    text-align: center;
    padding: 2em 0;
}
footer a {
    font-size: .8rem;
}

@media (max-width: 768px) {
    body {
        contain: layout none;
    }
    #contact .section-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form {
        max-width: 100%;
    }

    #contact {
        padding: 2em 1rem;
    }

    #contact .contact-info {
        margin: 1em auto 0 auto;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        gap: 2rem;
    }

    .services-items {
        flex-direction: column;
    }

    .hero-content {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        width: 95%;
        height: 250px;
        margin-top: -2rem;
        background-size: cover;
        padding: 1.5rem;
    }

    .login {
        display: none;
    }

    .hero-nav p {
        margin: 0;
        font-size: 1.2em;
    }
    .hero-nav {
        gap: 1em;
    }

    .social-icons {
        gap: 1rem;
    }
    .social-icons a {
        width: 2rem;
    }

    #policy {
        width: 100%;
        padding: 0;
    }
    #policy .images {
        height: 300px;
        width: 100%;
        contain: layout;
    }
    
    #policy .images img {
        overscroll-behavior: contain;
        height: 260px;
        border-radius: 40px;
    }

    #policy .images img:first-child {
        transform: translateX(-30%);
    }

    #policy .images img:nth-child(2) {
        left: 50%;
        transform: translateX(-50%);
        height: 340px;
    }
}