/* Ensure proper font-family and font settings */
body {
    font-family: 'Roboto', sans-serif;
}

/* General Body Text and Headers */
h1 {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

p {
    font-family: 'Arial', sans-serif;
}

/* Sticky and Dynamic Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #050D1A; /* Matches Brickx color */
    color: #fff;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.site-header.transparent {
    background-color: #050D1A;
    box-shadow: none;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-header .navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.site-header .navigation a {
    color: #3FE31A;
    text-decoration: none;
}

.site-header .login-button {
    background-color: #3FE31A;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}


/* Hamburger Icon Styling */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 5px;
}

/* Mobile Menu - Show Hamburger Icon */
@media (max-width: 768px) {
    .site-header .navigation ul {
        display: none; /* Hide the menu by default */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #050D1A; /* Matches header */
        padding: 1rem;
        gap: 1.5rem;
        text-align: center;
        z-index: 999;
    }

    .site-header .navigation ul.show {
        display: flex; /* Show the menu when toggled */
    }

    /* Display the Hamburger icon */
    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 15px;
    }

    .site-header .navigation a {
        color: #fff;
    }
}

/* Hover effect on links */
.site-header .navigation a:hover {
    color: #3FE31A;
}

/* Banner Section (White Background, Moves with Page) */
.banner {
    width: 100%;
    height: 60vh; /* Adjust height as needed */
    background-color: #050D1A; /* White background */
    z-index: 0; /* Ensure it stays below the header */
    margin-top: 80px; /* Push the banner below the fixed header */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures proper scaling */
}

/* Scrollbar Style (to match Brickx) */
body::-webkit-scrollbar {
    width: 10px; /* Scrollbar width */
}

body::-webkit-scrollbar-track {
    background: #FFFFFF; /* Light background for the track */
    border-radius: 10px; /* Rounded track */
}

body::-webkit-scrollbar-thumb {
    background: #050D1A; /* Matches Brickx's primary color */
    border-radius: 10px; /* Rounded thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: #050D1A; /* Slightly brighter shade on hover */
}

/* Navigation Link Hover Style */
.site-header .navigation a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    display: inline-block;
}

.site-header .navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* Thickness of the box underline */
    background-color: #3FE31A; /* Matches Brickx hover effect */
    transform: scaleX(0); /* Initially hidden */
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-header .navigation a:hover::after {
    transform: scaleX(1); /* Expands the line */
    transform-origin: left;
}

.site-header .navigation li:nth-child(1) {
    margin-left: 10px; /* Adjust the first link */
}

.site-header .navigation li:nth-child(2) {
    margin-right: 20px; /* Adjust the second link */
}

.site-header .navigation li:nth-child(3) {
    margin-right: 20px; /* Adjust the second link */
}

.site-header .navigation li:nth-child(4) {
    margin-right: 20px; /* Adjust the second link */
}




/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #3FE31A; /* Matches Brickx color */
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #3FE31A;
}

.scroll-to-top.show {
    display: flex;
}

/* Opportunities Section */
.opportunities-section {
    background-color: #050D1A;
    padding: 4rem 2rem; /* Add padding to the sides for spacing */
    text-align: left; /* Ensures all text is aligned to the left by default */
    padding-top: 60px; /* Ensure content starts below the banner */
    margin-bottom: 2rem; /* Optional: ensures spacing at the bottom */
}

.opportunities-section .container {
    max-width: 1200px; /* Control the width of the content */
    margin: 0 auto; /* Center the content */
    padding: 0 1rem; /* Padding for spacing */
}

.opportunities-section h2 {
    color: #FFFFFF;
    font-size: 2rem; /* Adjust font size as needed */
    margin-bottom: 1.5rem; /* Adds space between the title and content */
    font-weight: bold;
    text-align: center; /* Aligns the title text to the center */
}

.opportunities-section p {
    color: #FFFFFF;
    max-width: 800px; /* Ensures text doesn’t stretch too wide */
    margin: 0 auto 1.5rem; /* Centers the paragraph text */
}


/* General styles for the application section */
.application-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    background-color: #f9f9f9; /* Optional: Add a background color */
    gap: 2rem; /* Space between the image and form */
}

.application-section .container {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping on larger screens */
    justify-content: space-between; /* Distribute items */
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    width: 100%; /* Full width */
}

/* Left Side: Image and Description */
.application-section .image-description {
    flex: 1; /* Takes up 50% of the space */
    max-width: 50%;
    padding-right: 1rem;
}

.application-section .image-description img {
    width: 100%; /* Ensure the image scales properly */
    height: auto;
    border-radius: 8px; /* Optional: Rounded corners */
    display: block;
    margin-bottom: 1rem; /* Spacing below the image */
}

/* Right Side: Form Container */
.application-section .form-container {
    flex: 1; /* Takes up 50% of the space */
    max-width: 50%;
    padding-left: 1rem;
}

.application-section .form-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.application-section .form-container p {
    margin-bottom: 1.5rem;
}

/* Form Styles */
.application-section .employment-form .form-group {
    margin-bottom: 1rem;
}

.application-section .employment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.application-section .employment-form input,
.application-section .employment-form select,
.application-section .employment-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.application-section .employment-form button {
    background-color: #007bff; /* Button color */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.application-section .employment-form button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .application-section .container {
        flex-direction: column; /* Stack items vertically */
    }

    .application-section .image-description,
    .application-section .form-container {
        max-width: 100%; /* Full width on small screens */
        padding: 0; /* Remove padding */
    }
}

/* Prevent page from overflowing */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Disable horizontal scrolling */
}

/* Adjust form container for long inputs */
.application-section .form-container input,
.application-section .form-container textarea,
.application-section .form-container select {
    max-width: 100%; /* Prevent inputs from exceeding their container */
    word-wrap: break-word; /* Break long words gracefully */
}

/* Prevent image or form from overflowing */
.application-section .image-description,
.application-section .form-container {
    overflow: hidden; /* Prevent container overflow */
    max-width: 100%; /* Ensure they respect their container's width */
}


/* Form Inputs and Labels */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #050D1A;
    font-weight: bold; /* Adds emphasis to labels */
}

input, select, textarea {
    width: 100%; /* Full width for form fields */
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9; /* Light gray background */
    color: #050D1A;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="file"] {
    background-color: #e1e1e1;
    border: 1px solid #ccc;
    padding: 0.5rem;
    cursor: pointer;
}

textarea {
    min-height: 150px; /* Ensures enough space for textarea */
    resize: vertical; /* Allows resizing vertically */
}

/* Submit Button */
button.submit-button {
    background-color: #3FE31A;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    box-sizing: border-box;
    width: 100%; /* Full width for the button */
}

button.submit-button:hover {
    background-color: #050D1A;
    color: #fff;
}

/* Add focus styles for accessibility */
input:focus, select:focus, textarea:focus {
    border-color: #3FE31A;
    outline: none;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .application-section {
        flex-direction: column; /* Stack image and form on smaller screens */
    }

    .application-section .image-description,
    .application-section .form-container {
        max-width: 100%; /* Full width on small screens */
    }

    .application-section h1 {
        font-size: 1.5rem; /* Smaller heading */
    }

    .application-section p {
        font-size: 0.9rem; /* Smaller text */
    }

    .form-group input, .form-group select, .form-group textarea {
        font-size: 0.9rem; /* Smaller input text */
        padding: 0.6rem;
    }

    button.submit-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}



/* Footer Section */
.site-footer {
    background-color: #050D1A;
    color: #fff;
    padding: 2rem 0;
    text-align: left;
    margin-top: 2rem; /* Ensure space between content and footer */
    position: relative;
}

/* Footer Columns */
.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem; /* Ensure footer content doesn't touch the edges */
}

/* Each Column */
.footer-columns .column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-columns h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Slightly bigger for headings */
}

.footer-columns p, .footer-columns ul {
    margin: 0;
}

.footer-columns ul {
    list-style: none;
    padding: 0;
}

.footer-columns li {
    margin-bottom: 0.5rem;
}

/* Footer Links Styling */
.site-footer a {
    color: #3FE31A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff; /* Hover effect for links */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .footer-columns {
        padding: 0 1rem; /* Reduced padding on smaller screens */
    }

    .footer-columns .column {
        flex: 1 1 100%; /* Make columns stack vertically */
        margin-bottom: 1rem; /* Ensure space between stacked items */
    }

    .site-footer {
        text-align: left; /* Center text for smaller screens */
        padding: 1rem; /* Reduced padding for smaller devices */
    }

    .footer-columns h4 {
        font-size: 1.1rem; /* Adjust heading font size for mobile */
    }
}

/* Ensure the body takes up at least the full height of the viewport */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    margin: 0; /* Ensure no default margin is interfering */
}

/* Main content should expand and push footer down */
.main-content {
    flex-grow: 1; /* This ensures that the content takes up available space */
}

/* Footer should naturally stick to the bottom of the page */
.site-footer {
    background-color: #050D1A;
    color: #fff;
    padding: 2rem 0;
    text-align: left;
    margin-top: 2rem; /* Optional: creates space between content and footer */
    position: relative;
    width: 100%; /* Ensure footer takes up full width */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .footer-columns {
        padding: 0 1rem; /* Adjust padding on smaller screens */
    }

    .footer-columns .column {
        flex: 1 1 100%; /* Make columns stack vertically */
        margin-bottom: 1rem;
    }

    .site-footer {
        text-align: left; /* Center text on smaller screens */
        padding: 1rem;
    }

    .footer-columns h4 {
        font-size: 1.1rem; /* Adjust heading font size for mobile */
    }
}

/* Copyright Text - Centered in Footer */
.footer-copyright {
    text-align: center; /* Center the text */
    padding-top: 1rem; /* Optional: adds spacing above the text */
    font-size: 0.9rem; /* Optional: Adjusts the font size */
}

/* Style for the navigation bar */
.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #050D1A;
    padding: 10px 20px;
    position: relative;
}

/* Style for the Google Translate widget */
#google_translate_element {
    background-color: #050D1A;
    color: #00000;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 4px 6px;
    margin-right: 20px; /* Add space between the widget and the navigation links */
    z-index: 10; /* Ensure it's above other content */
}

/* Style for the navigation menu */
.menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px; /* Space between each navigation item */
}

.menu li {
    display: inline-block;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu li a:hover {
    background-color: #fff;
}

/* Hamburger menu styles */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column; /* Stack the nav items vertically */
        align-items: flex-start;
        padding-top: 20px; /* Add some space from the top */
    }

    #google_translate_element {
        margin-bottom: 10px; /* Add space between the widget and the menu */
    }

    .menu {
        flex-direction: column; /* Stack menu items vertically */
        gap: 10px;
        width: 100%;
    }

    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }
}



