/* Dark Theme Styling */
/* Global Dark Mode */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #FAFAFA;
    padding-top: 70px;
    position: relative;
    background-color: #f4f4f9;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/be_bg.png') no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px);
    z-index: -1;
}

nav {
    background-color: rgba(18, 23, 28, 0.9);
    color: #FAFAFA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

.logo .blue { color: #0077C0; }
.logo .white { color: white; }

.nav-links {
    list-style: none;
    display: flex;
    align-items: right;
    gap: 10px;
    margin: 0;
    padding: 0;
    padding-right: 60px;
}

.nav-links a {
    color: #FAFAFA;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    padding: 10px;
}

.nav-links .login {
    background-color: #0077C0;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.nav-links .login:hover { background-color: #FAFAFA; }
.nav-links li a:hover { color: #448fbe; }

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #1D242B;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    list-style: none;
    padding: 10px;
    z-index: 10;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { padding: 10px; }

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-weight: lighter;
    font-size: 14px;
}

.dropdown-menu a:hover { color: #0077C0; }
.submenu { position: relative; }

.sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #1D242B;
    padding: 10px;
    border-radius: 5px;
    list-style: none;
}

.submenu:hover .sub-dropdown { display: block; }

.dropdown-menu img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.dropdown-menu a:hover { color: #0077C0; }

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        padding: 15px;
    }
    .nav-links { flex-wrap: wrap; }
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn img {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 23, 28, 0.95);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    }
    .nav-links li { padding: 10px 0; }
    .menu-btn {
        display: block;
        margin-right: 50px;
    }
    .nav-links.show { display: flex; }
}

.section {
    padding: 20px;
    text-align: center;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20%;
    gap: 80px;
}

.hero-text {
    font-size: 42px;
    font-weight: bold;
    max-width: 500px;
    font-style: italic;
    line-height: 1.6;
}

.hero-text .blue { color: #0077C0; }

.promo-card {
    background-color: #29313A;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    max-width: 320px;
}

.promo-card h2 {
    font-size: 36px;
    color: #C7EEFF;
    margin-bottom: 15px;
}

.promo-card p {
    font-size: 18px;
    margin-bottom: 30px;
}

.promo-card .btn {
    background-color: #0077C0;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 5px;
}

.promo-card .btn:hover { background-color: #005f9e; }

.features {
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 20px;
    text-align: center;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
}

.feature img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #0077C0;
    padding: 5px;
    background-color: #FAFAFA;
}

.feature p {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #FAFAFA;
    text-shadow: 0px 6px 12px #29313A;
}

.faq-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    text-align: center;
    padding: 10px;
    background-color: #0077C0;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, outline 0.3s ease;
    z-index: 1000;
}

.faq-button:hover,
.faq-button:focus {
    transform: scale(1.1);
    background-color: #005f9e;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.faq-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #0077C0;
}

.faq-content button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #0077C0;
}

.faq-button img {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
}

.faq-button p {
    font-size: 10px;
    font-weight: bold;
    margin: 0;
}

.faq-popup {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    background: #29313A;
    border: 2px solid #0077C0;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    z-index: 999;
    color: #FAFAFA;
}

.faq-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0077C0;
}

.faq-content ul {
    list-style: none;
    padding: 0;
}

.faq-content li {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.faq-content li strong {
    color: #0077C0;
    display: block;
    margin-bottom: 5px;
}

.faq-content button {
    width: 100%;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #0077C0;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.faq-content button:hover {
    background-color: #005f9e;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-text { font-size: 32px; }
    .promo-card { max-width: 280px; }
    .features {
        flex-wrap: wrap;
        gap: 30px;
    }
    .feature { max-width: 100px; }
    .feature img {
        width: 70px;
        height: 70px;
    }
    .feature p { font-size: 16px; }
    .faq-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 8px;
    }
    .faq-popup {
        width: 90%;
        bottom: 80px;
        right: 5%;
        padding: 15px;
        font-size: 14px;
    }
    .faq-content h3 { font-size: 16px; }
    .faq-content ul li { font-size: 13px; }
    .faq-content button {
        padding: 10px;
        font-size: 14px;
    }
}

.about-section {
    margin-top: 20px;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    flex-wrap: wrap;
}

.about-logo {
    width: 250px;
    height: auto;
    margin-right: 25px;
    flex-shrink: 0;
}

.about-text {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 0px 6px 12px #29313A;
}

.learn-more {
    display: inline-block;
    color: #fafafa;
    text-decoration: underline;
    font-weight: bold;
    text-shadow: none;
}

.learn-more:hover { color: #005f9e; }

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-logo {
        margin: 0 auto 20px;
        width: 200px;
    }
    .about-text {
        font-size: 18px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .about-section { padding: 30px; }
    .about-logo { width: 180px; }
    .about-text {
        font-size: 16px;
        line-height: 1.5;
    }
}

.why-choose {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.why-card {
    background-color: #29313A;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.why-card p {
    font-size: 18px;
    line-height: 2;
}

.apply-btn {
    background-color: #0077C0;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.apply-btn:hover { background-color: #005f9e; }

form {
    background-color: #29313A;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    margin: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

input, textarea {
    width: 90%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #FAFAFA;
    border-radius: 5px;
    background-color: #FAFAFA;
    color: #1D242B;
}

button {
    background-color: #0077C0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover { background-color: #005f9e; }


/* General styling for the form */
.inquiry-form {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#inquiryForm {
    background: rgba(29, 36, 43, 0.9); /* Semi-transparent background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    margin-bottom: 25px;
    width: 100%;
    max-width: 350px; /* Ensures responsiveness */
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.step.active .step-number {
    background-color: #007bff;
}

.step-title {
    font-size: 12px;
    color: #333;
}

/* Hide all steps by default */
.step-content {
    display: none;
}

/* Show only the active step */
.step-content.active {
    display: block;
}


/* Ensure the form-grid uses flexbox properly */
.form-grid {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Arrange items in a single column */
    gap: 15px; /* Add spacing between fields */
}

/* Make all fields take equal space */
.form-grid > div {
    flex: 1; /* Ensures all fields take equal space */
}

label {
    font-weight: lighter;
    margin-bottom: 4px;
    display: block; /* Ensure labels are above inputs */
    text-align: left; /* Align labels to the left */
    color: #fff; /* Label color */     
    font-size: 14px; /* Label font size */
}

form .text {
    font-size: 14px;
    color: #fff;
    font-weight: lighter;
}

.warning {
    font-size: 0.9em;
    color: red;
    margin-top: 5px;
    display: none; /* Initially hidden */
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

textarea {
    resize: none;
    height: 80px;
}

.btn {
    grid-column: span 2;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
}

.btn:hover {
    background-color: #0056b3;
}

/* Ensure consistent styling for input fields */
#barangay {
    width: 100%; /* Full width */
    padding: 10px; /* Add padding for better usability */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 4px; /* Rounded corners */
    font-size: 14px; /* Font size */
    box-sizing: border-box; /* Include padding and border in width */
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-grid input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* General form styling */
form {
    margin-top: 20px;
}

h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

/* Form grid layout */
.form-grid {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Arrange items in a single column */
    gap: 15px; /* Add spacing between fields */
}

/* Input and select styling */
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Button styling */
button.btn {
    background-color: #1775F1;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

button.btn:hover {
    background-color: #0C5FCD;
}

/* Hidden content */
.hidden {
    display: none;
}

/* Active step content */
.step-content.active {
    display: block;
}

/* Success message styling */
#successMessage {
    text-align: center;
    margin-top: 20px;
    color: #4CAF50;
}

/* Form grid layout for single-column design */
.form-grid {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Arrange items in a single column */
    gap: 15px; /* Add spacing between fields */
}

/* Input, select, and textarea styling */
input, select, textarea {
    width: 100%; /* Full width */
    padding: 10px; /* Add padding for better usability */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 4px; /* Rounded corners */
    font-size: 14px; /* Font size */
    box-sizing: border-box; /* Include padding and border in width */
}

/* Label styling */
label {
    font-weight: lighter;
    margin-bottom: 4px;
    display: block; /* Ensure labels are above inputs */
    text-align: left; /* Align labels to the left */
    font-size: 14px; /* Label font size */
}

/* Button styling */
button.btn {
    background-color: #1775F1;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

button.btn:hover {
    background-color: #0C5FCD;
}

/* Success message styling */
#successMessage {
    text-align: center;
    margin-top: 20px;
    color: #4CAF50;
}

/* General form styling */
.inquiry-form {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Form grid layout using flexbox */
.form-grid {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow wrapping for responsive design */
    gap: 20px; /* Add spacing between fields */
    justify-content: space-between; /* Distribute fields evenly */
    max-width: 1200px; /* Set a wider maximum width */
    margin: 0 auto; /* Center the grid horizontally */
}

/* Individual field container */
.form-grid > div {
    flex: 1 1 100%; /* Default to full width */
    min-width: 300px; /* Ensure fields don't shrink too much */
}

/* Input, select, and textarea styling */
input, select, textarea {
    width: 100%; /* Full width */
    padding: 10px; /* Add padding for better usability */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 4px; /* Rounded corners */
    font-size: 14px; /* Font size */
    margin-bottom: 15px; /* Add spacing between fields */
    box-sizing: border-box; /* Include padding and border in width */
}

textarea {
    resize: none;
    height: 80px;
}

/* Label styling */
label {
    font-weight: lighter;
    margin-bottom: 4px;
    display: block; /* Ensure labels are above inputs */
    text-align: left; /* Align labels to the left */
    font-size: 14px; /* Label font size */
}

/* Button styling */
button.btn {
    background-color: #1775F1;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

button.btn:hover {
    background-color: #0C5FCD;
}

/* Success message styling */
#successMessage {
    text-align: center;
    margin-top: 20px;
    color: #4CAF50;
}

/* Steps indicator styling */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.step.active .step-number {
    background-color: #007bff;
}

.step-title {
    font-size: 12px;
    color: #333;
}


/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    color: #C7EEFF;
}

.checkbox-group a {
    color: #0077C0;
    text-decoration: none;
    font-weight: bold;
}

.checkbox-group a:hover {
    color: #FAFAFA;
}

/* Style for inline checkboxes */
.radio-inline {
    display: flex;
    gap: 15px; /* Space between radioes */
    align-items: center;
}

.radio-inline label {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between radio and label text */
}

.change-pass-box {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 350px;
    margin: 60px auto;
}
.change-pass-box h2 {
    margin-bottom: 1.5rem;
}
.change-pass-box input {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.change-pass-box button {
    width: 100%;
    padding: 0.7rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
}
.change-pass-box .error {
    color: #c00;
    margin-bottom: 1rem;
}
.change-pass-box .success {
    color: #090;
    margin-bottom: 1rem;
}




footer {
    text-align: center;
    padding: 10px;
    background-color: #FAFAFA;
    color: #1D242B;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(29, 36, 43, 0.85);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    color: #1D242B;
    margin: 10% auto;
    padding: 20px 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content .form-actions {
    text-align: right;
    margin-top: 20px;
}

.modal-content .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.modal-content .close:hover {
    color: #000;
}



.btn-primary, .btn-success, .btn-secondary {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary {
    background-color: #0077C0;
    color: #fff;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-primary:hover {
    background-color: #005f9e;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-secondary:hover {
    background-color: #545b62;
}


/* Employment Type Details */

.employment-type-details {
    margin-top: 15px;
}

.employment-type-details label {
    display: block;
    margin-bottom: 5px;
}

.employment-type-details input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}