/* Basic reset and font settings */

@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #5c5c5f;
    background-color: #ECF0F3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #edeff1;
    border-radius: 15px;
    box-shadow: 0 10px 30px #c9d0dc;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
}

h1 {
    color: #09497F;
    font-size: 2rem;
    font-family: Arial;
}

h2 {
    color: #09497F;
    margin: 1.5rem 0 1rem 0;
}

p {
    margin-bottom: 1rem;
}

.button {
    background: #e0e0e0;
    border-radius: 12px;
    padding: 10px 20px;
    border: none;
    box-shadow: 5px 5px 10px #b8b8b8,
                -5px -5px 10px #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    box-shadow: inset 5px 5px 10px #b8b8b8,
                inset -5px -5px 10px #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #e0e0e0;
    border-radius: 20px;
    box-shadow: 5px 5px 10px #b8b8b8,
                -5px -5px 10px #ffffff;
}

.navbar a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background 0.3s;
}

.navbar a:hover {
    background: #d0d0d0;
}

.header, .footer {
    background-color: #edeff1;
    text-align: center;
}

.footer {
    background-color: #edeff1;
    text-align: center;
}

.policy-section, .support-section {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    text-align: left;
    margin: 1rem 0;
    padding-left: 10%; /* Double the padding from the horizontal edges */
    padding-right: 10%; /* Double the padding from the horizontal edges */
}

.policy-section h2, .support-section h2 {
    margin-bottom: 0.25rem;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.contact-form {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.form-group {
    margin-bottom: 1rem;
    z-index: 2;
}

.form-group + .form-group {
    margin-top: 4px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #09497F;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    font: inherit;
    color: inherit;
}

.contact-form button {
    background-color: #65B5C4;
    color: #fff;
    opacity: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    z-index: 2;
}

.contact-form button:hover {
    background-color: #09497F;
}

.show-error {
    border: 2px solid red !important;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 2rem;
    padding: 1rem;
    z-index: 2;
}

.image-container .main-image {
    width: 25%;
    margin: 0 1rem;
    z-index: 2;
}

.image-container .side-image {
    width: 20%;
    margin: 0 1rem;
    z-index: 2;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.description {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.divider {
    height: 3px;
    width: 60%;
    margin: 2rem auto;
    background: linear-gradient(to right, rgba(101, 181, 196, 0), #65B5C4, rgba(101, 181, 196, 0));
    z-index: 2;
}

.text-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    z-index: 3;
}

.text-box {
    width: 20%;
    margin: 0 1rem;
    text-align: left;
    z-index: 2;
}

.text-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    z-index: 2;
}

.last-updated {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    z-index: 2;
}

.new-header {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.new-header h1 {
    margin-bottom: 0.25rem;
}

.new-header .subtitle {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.new-header .divider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.new-header .divider {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, rgba(101, 181, 196, 0), #65B5C4, rgba(101, 181, 196, 0));
}

.new-header .app-icon {
    max-height: 45px;
    width: auto;
    margin: 0 1rem;
    vertical-align: middle;
}

.separator .divider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.separator .divider {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, rgba(101, 181, 196, 0), #65B5C4, rgba(101, 181, 196, 0));
}

.separator .app-icon {
    max-height: 45px;
    width: auto;
    margin: 0 1rem;
    vertical-align: middle;
}

.watermark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.watermark {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.language-switcher button {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 1.5rem;
    z-index: 3;
}

.language-switcher button:hover {
    background: #d0d0d0;
    z-index: 3;
}

.top-left-buttons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.top-left-buttons button {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 1.5rem;
    z-index: 3;
}

.top-left-buttons button:hover {
    background: #d0d0d0;
    z-index: 3;
}

.top-left-buttons button i {
    color: #333; /* Match the h1 color */
}

.app-store-badge {
    text-align: center;
    margin-top: 1rem;
}

.app-store-badge img {
    width: 150px; /* Adjust the size as needed */
}

.button-icon {
    width: 30px;
    height: 30px;
}

/* Add responsive rules for small screens */
@media screen and (max-width: 768px) {
    .top-left-buttons {
        flex-direction: column;
        top: 10px;
        left: 10px;
        gap: 5px;
    }

    .language-switcher {
        flex-direction: column;
        top: 10px;
        right: 10px;
        gap: 5px;
    }

    .top-left-buttons button,
    .language-switcher button {
        width: 40px;
        height: 40px;
        padding: 5px;
    }

    /* Adjust container padding to accommodate vertical buttons */
    .container {
        padding-top: 4rem;
    }

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

    .text-box {
        width: 80%;
        margin: 1rem 0;
    }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 480px) {
    .top-left-buttons {
        top: 5px;
        left: 5px;
    }

    .language-switcher {
        top: 5px;
        right: 10px;
    }

    .top-left-buttons button,
    .language-switcher button {
        width: 35px;
        height: 35px;
    }
}