
:root {
    --primary-color: #08143c; 
    --secondary-color: #ffcc00; 
    --third-color: #f7f7f7;
--gray-darker:               #444444;
--gray-dark:                 #696969;
--gray:                      #999999;
--gray-light:                #cccccc;
--gray-lighter:              #ececec;
--gray-lightest:             lighten(--gray-lighter,4%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.hero{
    display: flex;
    width: 100%;
    height: 60vh;
    justify-content: flex-start;
    align-items: center;
    background: url("imageapa.jpg") center center/cover no-repeat;
    background-color: rgba(80, 20, 60, 0.7); 
    background-blend-mode: darken;
    text-align: start;
    color: white;
    position: relative;
}
.height-30{
    height: 50vh;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(4,73,129, 0.7); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px 100px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 30px;
    font-weight: bold;
}

.hero h2{
    font-size: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 15px;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .hero {
        justify-content: center; /* Center content */
        text-align: center; /* Align text in center */
        padding: 20px; /* Add some padding */
    }

    .hero::before {
        background-color: rgba(0, 0, 0, 0.1); 
        background-blend-mode: darken;
    }

    .hero-content {
        padding: 20px; /* Reduce padding */
        margin-top: 0; /* Remove extra margin */
    }

    .hero h1 {
        font-size: 24px; /* Reduce heading size */
    }

    .hero p {
        font-size: 14px; /* Reduce paragraph size */
    }
}

@media screen and (max-width: 400px) {
    .hero{
        height: 100%;
    }
}
.search-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 20px 100px;
    justify-content: space-between;
}
.hidden{
    display: none;
}
.search-input{
    border-radius: 100px;
    padding: 15px;
    width: 1000px;
    margin: 50px 0;
    height: 50px;
    font-size: 16px;
    border: 1px solid grey;
}
.dropdown-button{
    border-radius: 100px;
    padding: 15px;
    width: 400px;
    margin: 50px 0;
    height: 50px;
    font-size: 16px;
}
.job-table{
    width: 100%;
    padding: 20px 100px;
    margin-bottom: 100px;
}
.job-table-header{
    text-align: left;
    font-size: 26px;
}

.job-table-header th{
    padding: 20px 0;
    border-bottom: 1px solid #ddd;

}

tbody td{
    padding: 50px 0;
    font-size: 18px;
    border-bottom: 1px solid #ddd; /* Lighter border */
}
.job-link{
    text-decoration: none;
    color:#044981 /* Removes the underline */
}
.job-link::after {
    text-decoration: none; /* Removes the underline */

}
.geninfo{
    padding: 20px 100px;
}





.container {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    background-color: #fff;
}

.left-content {
    padding: 50px;
    width: 70%;
}


.left-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.left-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.qualification-list {
    list-style-type: disc;
    margin-bottom: 40px;
    padding: 0;
}

.qualification-list li {
    margin-bottom: 10px;
}

.right-content {
    padding: 50px;
    padding-right: 30px;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    border-left: 1px solid #ccc;
}

.btn-group{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: flex-end;
}

.right-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
   padding: 8px 20px;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #f3f3f3;
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    height: auto;
}

.cta-button:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);
}
.white-bg{
    background-color: white;
    border: 1px solid black;
    color: black;
}
.white-bg:hover{
    /* background-color: grey;
    color: white; */
}
.blue-bg{
    /* background-color: #0060af;
    border: 1px solid #0060af;
    color: white; */
}
.blue-bg:hover{
    /* background-color: #044981;
    color: white; */
}


.info-right{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 3px solid #0060af;
    width: 100%;
    margin-top: 20px;
    background-color: #ccc;
    color: black;
    padding: 20px 10px;
}

.info-right p{
    overflow-wrap: break-word;
}

.flex-general{
    display: flex;
    justify-content: center;
    padding: 50px;
}

@media screen and (max-width: 768px) {
    .search-container {
        flex-direction: column; /* Stack elements vertically */
        gap: 10px; /* Reduce spacing */
        padding: 10px 20px; /* Adjust padding */
    }

    .search-input, 
    .dropdown-button {
        width: 100%; /* Full width on mobile */
        margin: 5px 0; /* Reduce margin */
    }

    .geninfo {
        padding: 10px 20px; /* Reduce padding */
        text-align: center; /* Center align */
    }

    .job-table {
        padding: 10px 5px; /* Reduce padding */
        font-size: 14px; /* Reduce font size for better readability */
        overflow-x: auto; /* Enable horizontal scrolling for small screens */
        display: block; /* Prevent table from overflowing */
    }

    .job-table-header {
        font-size: 18px; /* Reduce header font size */
    }

    .job-table-header th,
    .job-table tbody td {
        padding: 10px 5px; /* Adjust padding */
        font-size: 14px; /* Smaller font for mobile */
    }

    .job-table-header th:nth-child(4), 
    .job-table tbody td:nth-child(4) {
        text-align: center; /* Center align apply button */
    }

    .cta-button {
        width: 100%; /* Make button full width */
        font-size: 14px; /* Reduce button font size */
    }
    /* Container Layout */
    .container {
        flex-direction: column; /* Stack left and right content */
        padding: 20px; /* Adjust padding */
    }

    /* Left Content: Job Info */
    .left-content {
        width: 100%; /* Full width */
        padding: 10px; /* Reduce padding */
    }

    .qualification-list p {
        font-size: 14px; /* Adjust font size */
    }

    /* Right Content: Apply & Info */
    .right-content {
        width: 100%; /* Full width */
        padding: 5px; /* Reduce padding */
        text-align: center; /* Center align */
    }

    .btn-group {
        display: flex;
        flex-direction: column; /* Stack buttons */
        gap: 10px; /* Add spacing */
    }

    .cta-button {
        width: 100%; /* Full width buttons */
        font-size: 14px; /* Adjust font size */
    }

    .info-right {
        text-align: left; /* Align text */
        font-size: 14px; /* Adjust font size */
    }
}
