* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #D9D9D9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: #575858;
    padding: 1rem 0;
    color: #FFFFFF;
    position: relative;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    height: 50px;
    width: auto;
}

.navbar__menu .menu {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.menu__item .menu__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-family: georgia;
}

.menu__link:hover {
    color: #C9BF55;
}
/* Popover Styles */
.popover {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0; 
    transform: translateY(5px); 
    background-color: #FEFEFD;
    border-radius: 5px;
    z-index: 10;
    width: 150px;
    padding: 10px 0; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popover-item {
    display: flex;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.popover-item:hover {
    background-color: #f0f0f0;
}

.popover-item img {
    width: 20px;
    height: auto;
    margin-right: 8px;
}
.popover--visible {
    display: block;
}
.language {
    color: #575858;
}
.languagebutton {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: transparent;
    font-size: medium;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    font-family: georgia;
}

.languagebutton:hover {
    color: #C9BF55;
}

.languageicon {
    width: 30px;
    height: auto;
    margin-left: 8px;
    margin-right: 8px;
}
.language-link {
    display: flex;
    align-items: center;
    text-decoration: none; 
    color: inherit; 
}

.language-link:hover {
    background-color: #f0f0f0; 
}
/* Submenu Styling */
.submenu {
    list-style: none;
    padding: 10px;
    margin: 0;
    background-color: #575858;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    height: 0; 
    overflow: hidden; 
    opacity: 0;
    visibility: hidden;
    transition: height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 32px;
    z-index: 10;
}

.menu__hassubmenu {
    position: relative;
}

.submenu--visible {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.submenu__item a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-family: georgia;
}

.submenu__item a:hover {
    color: #C9BF55;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 65vh; 
    background-color: #f5f5f5; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.banner__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(87, 88, 88, 0) 0%, rgba(87, 88, 88, 0.5) 100%); /* Gradient from transparent to #575858 */
    z-index: 1; 
}
/* Main section */
.section__main {
    background-color: #575858;
    color: #FEFEFD;
    text-align: center;
    font-family: Georgia;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: auto;
}
.main__title {
    font-weight: bold;
    font-size: 1.7rem;
    color: #98935C;
    text-align: center;
    font-family: georgia;
    margin-left: 2rem;
    margin-right: 2rem;
}
.main__text {
    font-weight: normal;
    line-height: 1.7;
    margin-left: 200px;
    margin-right: 200px;
}
/* request box */

.request-box {
    background: #575858;
    padding: 2rem;
    border-radius: 32px;
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
}
.request-box > .rectangle-header__container {
    display: flex; 
    align-items: center; 
    margin-bottom: 2rem; 
}
.rectangle__header-icon{
    width: auto;
    height: 50px;
}
.request-box h1:first-of-type {
    margin-left: 1rem; /* Adds space between the logo and the header */
    margin-bottom: 0;  /* Remove any bottom margin if needed */
    display: inline-block; /* Makes the header and logo appear next to each other */
    vertical-align: middle; /* Vertically align the header with the logo */
}
.request-box > h1:last-of-type {
    margin-bottom: 2rem;
    margin-left: 0;
}
.rectangle__list {
    list-style-type: none;
    margin: 0;
    color: white;
    font-family: georgia;
    font-size: large;
}
.rectangle__icon-address {
    width: auto;
    height: 35px; 
    margin-right: 20px; 
}
.rectangle__icon-mail{
    width: auto;
    height: 25px; 
    margin-right: 10px;
}
.rectangle__icon-call{
    width: auto;
    height: 30px; 
    margin-right: 15px;
}
.rectangle__list li {
    margin-bottom: 2rem;
}
.rectangle__list li:first-child {
    margin-bottom: 0.5rem; 
    margin-left: 50px;
}
.rectangle__list li:nth-child(2) { 
    margin-left: 50px;
}
.rectangle__list li:nth-child(5) { 
    margin-bottom: 0.5rem;
}
.rectangle__list li:nth-child(6) { 
    margin-left: 90px;
}

.request-box h1 {
    text-align: left;
    font-size: 24px;
    margin-bottom: 2rem;
    color: #98935C;
    font-family: georgia;
}

.request-box label {
    font-size: 1rem;
    color: white;
    display: block;
    font-family: georgia;
}

.request-box input:not([type="checkbox"]),
.request-box textarea {
    width: 50%;
    padding: 10px;
    margin-bottom: 2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: georgia;
    background-color: #D9D9D9;
}

.request-box textarea {
    resize: none;
    height: 200px;
    line-height: 1.7;
}

.privacy-policy {
    display: flex; /* Use flex to align the checkbox and text */
    font-size: 12px;
    color: white;
    font-family: georgia;
    text-align: left; /* Align text to the left */
}

.request-box input[type="checkbox"] {
    width: 30px;
    margin-right: 1rem;
    cursor: pointer;
}
.request-box label[for="privacy-policy"] {
    display: inline; /* Ensure it stays inline with the checkbox */
    line-height: 2; /* Improve label alignment with the checkbox */
}
.request-button__conatiner {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; 
}

.request__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #C9BF55;
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-family: georgia;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.request__button:hover {
    background-color: #98935C;
}
.request-box {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.request-box.visible {
  opacity: 1;
}
/* Footer */
.footer {
    background-color: #575858;
    padding: 4rem 0;
    color: #fff;
    text-align: left;
    font-family: georgia;
    list-style: none;
    margin-top: 4rem;
}
.footer__container {
    display: flex;
    align-items: center; 
    gap: 2rem; 
}
.footer__grid {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.footer__icon {
    height: 40px;
    width: auto;
}
.footer__logo {
    height: 80px;
    width: auto;
    margin-right: auto; 
}
.footer__info {
    color: #fff;
    text-decoration: none;
    list-style: none;
}
.footer__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    list-style: none;
}
.footer__info p, 
.footer__info li { 
    margin-bottom: 9px; 
}
@media screen and (max-width: 550px) {
    .mobile-menu{
        width: 40% !important;
    }
}
@media screen and (max-width: 420px) {
    .mobile-menu{
        width: 50% !important;
    }
}
@media screen and (max-width: 330px) {
    .mobile-menu{
        width: 60% !important;
    }
}
@media screen and (max-width: 800px) {
    .navbar__menu,
    .navbar__item {
        display: none;
    }
    .navbar {
        padding: 0.5rem 0;
    }
    .navbar__logo {
        height: 40px;
        width: auto;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
    }

    .burger-menu div {
        background-color: #fff;
        height: 3px;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .burger-menu.open div:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .burger-menu.open div:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 0;
        background-color: #4A4A4A;
        width: 30%;
        padding: 1rem;
        z-index: 999;
        border-bottom-left-radius: 25px;
    }

    .mobile-menu.open {
        display: flex;
        align-items: flex-end;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 10px 0;
        font-family: Georgia, serif;
        transition: color 0.3s;
        text-align: right;
    }

    .mobile-menu a:hover {
        color: #C9BF55;
    }
    .banner {
        height: 30vh !important;
    }
    .main__title{
        margin-bottom: 0;
        margin-top: 0;
        font-size: 1rem;
    }
    .request-box{
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    .rectangle__header-icon{
        height: 30px;
    }
    .rectangle__header{
        font-size: 1rem !important;
    }
    .rectangle__list li{
        margin-bottom: 1rem;
        font-size: small;
    }
    .rectangle__icon-address{
        height: 27px;
    }
    .rectangle__icon-call{
        height: 25px;
    }
    .rectangle__icon-mail{
        height: 20px;
    }
    .contact-header{
        font-size: 1rem !important;
    }
    .request-box input:not([type="checkbox"]),
    .request-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
    }
    .request-box label[for="privacy-policy"]{
        line-height: 1.2!important;
    }
    .footer {
        margin-top: 2rem !important; 
        text-align: center; 
        padding: 2rem 0 !important; 
    }
    .footer__container {
        flex-direction: column; 
        gap: 1.5rem; 
        align-items: center; 
    }
    .footer__grid {
        flex-direction: column; 
        align-items: center; 
    }
    .footer__logo {
        height: 60px !important; 
        margin-right: 0 !important;
    }
    .footer__info {
        text-align: center; 
        line-height: 1.2;
        font-size: small;
    }
    .footer__link {
        text-align: center; 
    }
}

@media screen and (min-width: 801px) {
    .burger-menu {
        display: none;
    }
    .mobile-menu {
        display: none;
    }
}