body {
    background: #f9f9f9;
    color: #444;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
    line-height: 20px;
}

h1, h2, h3 {
    font-weight: 700;
}

.nav-container, .container, footer {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    
}

.nav-container {
    background: #c8040c;
    width: 100%;
}

.container {
    padding: 4rem 1.5rem 0;
    width: 100%;
}

header {
    left: 0;
    /* position: fixed; */
    top: 0;
    width: 100%;
    z-index: 99999;
}

.container-row {
    margin-left: -15px;
    margin-right: -15px;
    display:flex;
}

.nav-bar {
    width: 100%; 
    text-align: right;
}

nav {
    margin-top: 5px;
    position: relative;
}

.nav-bar > .main-menu {
    position: relative;
    width: auto;
    z-index: 9;
    display: inline-block;
}

.nav-bar > .main-menu ul li {
    display: inline-block;
}

.mobile-div {
    display: none !important;
}

@media only screen and (min-width: 992px) {
    .nav-bar > .main-menu {
        width: auto;
    }
}

@media only screen and (max-width: 992px) {
    .nav-bar > .main-menu.main-menu-nav {
        position: fixed;
        top: 0;
        left: -40%;
        bottom: 0;
        width: 40%;
        background: #fff;
        overflow: auto;
    }

    .nav-bar > .main-menu.main-menu-nav {
        transition: transform 1s;
    }
    
    .nav-bar > .main-menu.main-menu-nav.open {
        transform: translateX(100%);
    }

    .nav-bar > .main-menu.main-menu-nav>ul>li {
        display: block;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-bar > .main-menu.main-menu-nav>ul {
        margin: 6.5rem 0.5rem 1.5rem;
    }

    .nav-bar > .main-menu.main-menu-nav>ul>li>a {
        color: #000;
    }

    .mobile-div {
        display: inline-block !important;
    }
}

.nav-bar > .main-menu ul, .nav-bar > .main-menu ul li {
    margin: 0;
    padding: 0;
    position: relative;
    list-style-type: none;
    text-align: left;
}

.nav-bar>.main-menu>ul>li>a {
    color: #fff;
    font-size: 13px;
    display: block;
    line-height: 20px;
    padding: 10px;
}

.submenu>.show-submenu {
    color:#FFFFFF; 
    font-weight: bold;
}

.page-header {
    margin: 1.5rem 20px 1rem;
    padding: 0;
}

.x_panel {
    border-radius: 0;
}

#login_content {
    scroll-margin-top: 8rem; 
}

.login-content {
    display: flex;
}

.bf_login_announcement {
    width: 60%;
    padding: 2rem 2rem 5rem;
    background-color: #e04f67;
}

.bf_login_content {
    width: 40%;
    padding: 2rem;
    background-color: #E9E9E9;
}

@media only screen and (max-width: 992px) {
    .login-content {
        display: block;
    }

    .bf_login_announcement {
        width: 100%;
    }

    .bf_login_content {
        width: 100%;
    }
    
}

.special-font-h3 {
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 32px;
    line-height: 34px;
    text-transform: uppercase;
    font-weight: bold;
}

.announcement_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, transform 0.4s ease;
    transform: translateY(-20px);
    font-size: 16px;;
}

.announcement_content.open {
    max-height: 1000px;
    transform: translateY(0);
}

.adventure-container {
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 20px;
  }
  
  .adventure-title {
    font-size: 24px;
    margin: 10px 0;
  }
  
  .adventure-subtitle {
    margin: 5px 0;
  }
  
  .adventure-highlight {
    font-size: 24px;
    color: red;
    margin: 5px 0;
  }
  
  .adventure-description {
    font-size: 14px;
    margin: 10px 0;
  }
  
  .image-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center; /* Centers the images */
    margin-top: 20px;
    overflow: hidden; /* Hides the overflowing part of the images */
    max-width: 100%;
    margin: auto;
    position: relative;
  }
  
  .responsive-image {
    flex-shrink: 0; /* Prevents images from shrinking */
    width: 16%;
    height: auto;
    max-height: 300px;
    margin: 0 5px;
    border-radius: 4px;
  }
  
  @media (max-width: 768px) {
    .responsive-image {
      width: 100%; /* Full width for images on medium and smaller screens */
      max-height: auto; /* Maintain aspect ratio */
      margin: 10px 0; /* Space between images */
    }
  
    .image-container {
      display: block; /* Ensures images stack vertically */
      overflow: hidden; /* Ensures content stays within bounds */
      max-width: 100%;
      margin: auto;
    }
  }
  
  @media (max-width: 480px) {
    .responsive-image {
      width: 100%; /* Ensures images take up available width */
      max-height: auto; /* No height restriction for small screens */
      margin: 10px 0; /* Adds vertical spacing between images */
    }
  }
  
.announcement_content a, .bf_login_announcement {
    color: white;
}

.btn-submit-primary, .btn-submit-primary:focus {
    transition: all 0.5s;
    border: none;
    font-weight: bold;
    background-color: #d9534f;
    color: white;
    padding: 10px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-submit-primary:hover, .btn-submit-primary:focus{
    background-color: #40340d;
  }
  .btn-submit-primary[disabled], .btn-submit-primary[disabled]:hover, .btn-submit-primary[disabled]:focus{
    background-color: #ad0000;
  }

  .btn-blue, .btn-blue:focus {
    transition: all 0.5s;
    border: none;
    font-weight: bold;
    background-color: #289cfc;
    color: black;
    padding: 10px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-blue:hover, .btn-blue:focus{
    background-color: #40340d;
  }
  .btn-blue[disabled], .btn-blue[disabled]:hover, .btn-blue[disabled]:focus{
    background-color: #ad0000;
  }

.popup_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.popup_image {
    width: auto;
    height: 250px;
    margin-bottom: 10px;
}

.popup_message {
    font-size: 16px;
    margin-bottom: 20px;
}

#close_popup_button {
    margin-top: 10px;
}

.apply_now_button {
    display: inline-block;
    text-align: center;
}