/* General Styles */
body {
    margin: 10px;
    font-family: 'Roboto', sans-serif;
    min-width: 380px;
}

/* Header and Navigation Menu */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 40px;
}


h2.title {
    font-size: large;
    font-weight: bold;
    padding-bottom: 10px;
    text-align: center;
    text-decoration: underline gray;
}

.content {
    padding-top: 10px;
    position: relative;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: top;
}

/* CTA Buttons */
.cta-buttons {
    margin-top: 30px;
    display: flex;
    text-align: center;
    justify-content: space-between;
    width: 100%;
}

.cta-buttons a {
    display: inline-block;
    padding: 15px 30px;
    font-size: medium;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    width: 300px;
    color: #fff;
}

.cta-buttons button {
    display: inline-block;
    padding: 15px 30px;
    font-size: medium;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    width: 300px;
    color: #fff;
}

.description-container a {
    display: inline-block;
    padding: 5px 10px;
    font-size: small;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    width: 120px;
    color: #fff;
}

.btn-primary {
    background-color: #007bff;
}

.btn-secondary {
    background-color: #007bff;
}

.btn-primary:hover, .btn-secondary:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    display: none;
    animation: slideIn 0.5s ease-out;
    z-index: 20;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}


.titled {
}

.logo {
    height: 28px; /* Make the logo take the full height of the navbar */
    width: auto; /* Maintain the aspect ratio */
}

/* Example CSS to style the popup form */
.popup-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.form-control {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.submit-button:hover {
    background-color: #0056b3;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.bottom-bar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: top;
    background-color: lightskyblue;
}

.contacts {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 100vh;
}


.contact-methods {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    background-color: lightskyblue;
    padding: 4px 4px 4px;
    width: 100%
}

.contact-address {
    align-items: center;
    text-align: center;
    border-top: 1px solid lightblue;
    width: 100%;
}

.contact-address a {
    color: #ffffff;
    text-decoration: none;
}

.contact-address a:hover {
    text-decoration: underline;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.nav-logo-container {
    flex-grow: 0; /* Ensures the logo stays aligned to the left */
}

.nav-lng-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-lng-select {
    padding: 5px;
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    appearance: none;
}

.nav-lng-select:focus {
    outline: none;
    border-color: #007BFF;
}

.nav-lng-btn {
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.nav-lng-container {
    padding-left: 10px;
}

.nav-lng-container:hover {
    cursor: pointer;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*    height: 50px; */
    background-color: #005b9f;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%
}

.nav-link {
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 5px 10px;
    color: white;
}

.nav-link:hover {
    /*    color: #ffffff; */
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-link-active {
    text-decoration: underline !important;
}


.nav-menu {
    display: flex;
    justify-content: space-around; /* Evenly distribute the menu items */
    flex-grow: 1; /* Make sure the menu takes up remaining space */
}

/* Media query for smaller screens */

@media (max-width: 500px) {
    body {
        min-width: 100% !important;
    }

    .nav-logo-container {
        display: none;
    }

    .nav {
        height: 50px;
    }

    .content {
        font-size: 14px;
    }

    .nav-link {
        font-size: 16px;
    }

    .benefits {
        font-size: 14px;
    }

    .contact-item-text {
        display: none;
    }

    .cta-buttons a, .cta-buttons button {
        width: 160px;
        font-size: 14px;
        margin: 5px;
        border-radius: 5px;
        height: 50px;
        vertical-align: middle;
    }

    .cta-buttons a {
        padding: 10px;
    }

    .cta-buttons button {
        padding: 5px 10px;
    }

    section {
        padding: 10px !important;
    }

    .benefits {
        padding: 10px !important;
    }

    .home-section {
        min-height: calc(100vh - 100px) !important;
    }

    .contact-address {
        font-size: x-small;
    }
}

@media (min-width: 769px) {
    .nav {
        font-size: 18px;
        height: 50px;
    }

    .content {
        font-size: 18px;
    }

    .nav-link {
        font-size: 18px;
        color: white;
    }

    body {
        max-width: 800px;
    }
}
