* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: #242424;
    font-weight: 700;
}

.close-policy {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
    background: red;
    color: white;
    width: 20px;
    height: 20px;
    text-align: center;
    float: right;
    margin-right: 30px;
    margin-top: 20px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 0;

    & h5 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        width: 500px;
        text-align: center;
    }
}

form {
    text-align: center;
}

.form-btn {
    background-color: #5c6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    &:hover {
        background-color: #444444;
    }
}

#form-policy {
    background: #0000009c;
    display:none;
    height: 100dvh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100dvw;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 600px;

    & input[type="text"], & input[type="tel"], & input[type="email"], & textarea {
        padding: 15px;
        font-size: 16px;
        border: 1px solid #c6c7c7;
        width: 100%;
    }
}

header {
    height: 106px;
    display: flex;
    justify-content: center;

    & img {
        width: 280px;
    }
}

input::placeholder, textarea::placeholder {
    color: #868686;
    font-weight: 700;
}


main {
    background-color: #e9ecf1;
    color: #242424;
    min-height: 695px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#main-content {
    text-align: center;
    width: 880px;
    font-size: 25px;
    font-weight: 800;
}

.policy-content {
    background: white;
    padding: 40px;
    margin: 50px auto;
    width: 60%;
    height: 90%;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    & h2 {
        color: #45aaab;
        font-size: 40px;
    }

    & hr {
        border: 0;
        height: 5px;
        background: #45aaab;
        margin: 20px 0;
    }

    & strong {
        margin-top: 40px;
    }
    & p {
        margin: 20px 0;
        line-height: 1.6;
    }

    & ul {
        margin: 20px 0 20px 40px;
        list-style-type: disc;
    }
}

.policy-title {
    font-size: 30px;
    font-weight: 800;
    margin-top: 40px;
}
.policy-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
}

#secondary-content {
    text-align: center;
    width: 800px;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}



@media screen and (max-width: 900px) {
    #main-content {
        width: 90%;
        font-size: 20px;
    }

    #secondary-content {
        width: 90%;
        font-size: 18px;
    }
}

@media screen and (max-width: 650px) {
    .form-row {
        flex-direction: column;
        width: 90%;

        & input[type="text"], & input[type="tel"], & input[type="email"], & textarea {
            width: 100%;
        }
    }

    #contact-form h5 {
        width: 90%;
        font-size: 18px;
    }

    .policy-content {
        width: 90%;
        padding: 20px;
    }

    .policy-content h2 {
        font-size: 28px;
    }

    .policy-title {
        font-size: 24px;
    }

    .policy-subtitle {
        font-size: 20px;
    }
}

@media screen and (max-width: 450px) {
    #main-content {
        font-size: 15px;
    }

    #secondary-content {
        font-size: 12px;
    }

    main {
        min-height: 400px;
    }

    form {
        width: 90%;
    }

    .form-row {
        width: 100%;
    }
}