* {
    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);
    }
}

/* 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 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: 15px;
    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;
}

/* Footer */
.footer {
    background-color: #575858;
    padding: 4rem 0;
    color: #fff;
    text-align: left;
    font-family: georgia;
    list-style: none;
    margin-top: 22rem;
}
.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; 
}
nav .drop-down li {
    border-bottom: 5px solid #2c3e50;
  }
  
  nav .drop-down li a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px; /* Larger touch target area */
  }
  
  nav .drop-down li:first-child a:after {
    content: "\25BC";
    float: right;
    margin-left: -30px; /* Excessive -margin to bring link text back to center */
    margin-right: 5px;
  }
@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: #575858;
        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;
    }
    nav .drop-down li {
        border-bottom: 5px solid #2c3e50;
      }
      
      nav .drop-down li a {
        display: block;
        color: #ecf0f1;
        text-decoration: none;
        padding: 10px; /* Larger touch target area */
      }
      
      nav .drop-down li:first-child a:after {
        content: "\25BC";
        float: right;
        margin-left: -30px; /* Excessive -margin to bring link text back to center */
        margin-right: 5px;
      }
    .mobile-menu a:hover {
        color: #C9BF55;
    }
    .request-box{
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    .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;
    }
}