/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('assets/background.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.header-navbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(244, 244, 244, 0.9);
    border-radius: 10px;
}

.header {
    display: flex;
    align-items: stretch;
    height: 200px; /* Set the header height */
}

.header-logo {
    height: 100%; /* Make the logo fill the parent's height */
    max-height: 200px; /* Prevent it from exceeding the header height */
    object-fit: contain; /* Maintain the aspect ratio of the logo */
    border-radius: 10px; /* Optional: Keep rounded corners */
}
/* Adjust header text size and alignment */
.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the text vertically */
    flex-grow: 1; /* Allow the text to take up remaining space */
    font-size: 2em; /* Set a reasonable base font size */
    line-height: 1.0; /* Adjust line height for better spacing */
    text-align: center; /* Center align the text */
    padding: 0 10px; /* Add some padding to avoid text hitting the edges */
    overflow: hidden; /* Prevent text from overflowing */
}

.header-text h1 {
    margin-bottom: 5px; /* Adjust the spacing as needed */
}

.header-text p {
    margin-top: 40px;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    background-color: rgba(248, 248, 248, 0.9);
    color: var(--navbar-text-color, #000);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
}

.navbar a {
    text-decoration: none;
    color: var(--navbar-text-color, #000);
    margin: 0 10px;
    white-space: nowrap;
    padding: 0px 0px;
    font-weight: bold;
}

.navbar a:hover {
    color: var(--navbar-hover-color, #ff0000);
}

.navbar a span.material-icons {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 20px;
}

.dropdown {
    position: relative;
    padding: 0px 0px; /* Add padding to the dropdown */
}

.dropbtn {
    text-decoration: none;
    color: var(--navbar-text-color, #000);
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    height: 100%; /* Match parent height */
    display: flex;
    align-items: center; /* Center text vertically */
    justify-content: center;
    cursor: pointer;
    font-weight: bold; /* Consistent styling */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 150px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--navbar-text-color, #000);
    padding: 10px 20px; /* Ensure padding matches other navbar items */
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(240, 240, 240, 0.9);
}

/* Submenu Styles */
.submenu {
    position: relative;
}

.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 150px;
    z-index: 1;
}

.submenu:hover .submenu-content {
    display: block;
}

.main-content {
    padding-left: 20px;
    padding-right: 20px;
}

.main-content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(244, 244, 244, 0.9);
    border-radius: 10px;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* .navbar {
        flex-direction: column;
    } */

    .navbar a {
        font-size: 0.6em; /* Make the font smaller on small screens */
    }

    /* Adjust font size for smaller screens */
    .header-text {
        font-size: 1.5em; /* Make the font smaller on small screens */
    }

    .header-text p {
        margin-top: 10px;
    }
}

@media (max-width: 574px) {
    .navbar a {
        font-size: 0.4em;
    }
}

@media (max-width: 480px) {
    /* .navbar {
        flex-direction: column;
    } */

    .navbar a {
        font-size: 0.3em; /* Make the font smaller on small screens */
    }

    /* Adjust font size for smaller screens */
    .header-text {
        font-size: 0.7em; /* Make the font smaller on small screens */
    }

    .header-text p {
        margin-top: 5px;
    }

    .header-logo {
        max-height: 120px; /* Limit the logo height */
        width: auto; /* Maintain aspect ratio */
    }

    .header {
        display: flex;
        align-items: stretch;
        height: 120px; /* Set the header height */
    }
}

/* Recruiting.html */
.collapsible {
    background-color: rgba(248, 248, 248, 0.9);
    color: #000;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.collapsible .material-icons {
    font-size: 20px;
    margin-right: 10px;
    color: #555;
}

.active, .collapsible:hover {
    background-color: rgba(230, 230, 230, 0.9);
}

.content {
    display: none;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
}

.content .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
}

.content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.qr-code-container {
    text-align: center;
    margin-top: 20px;
}

.qr-code-container img {
    width: 175px;
    height: 205px;
}

.contact-info {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}