/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
} */

.banner-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1512 / 433;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 116px;
}

.banner-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 1512 / 433;
    object-fit: cover;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 1512 / 433;
    background: #11444A57;
}

.breadcrumb {
    /* position: absolute;
    z-index: 1;
    top: 25px;
    left: 36px;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -1%;
    text-transform: capitalize; */
    position: absolute;
    top: 25px;
    left: 36px;
    z-index: 1;
    font-family: Source Sans Pro;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -1%;
    text-align: center;
    text-transform: capitalize;
    color: #F9F9F9;
}

.breadcrumb a {
    text-decoration: none;
    color: #fff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #fff;
}

.page-title {
    font-family: 'Yeseva One', serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #53E9FB;
    position: relative;
    z-index: 1;
}

/* Section styles */
.section-description {
    max-width: 1364px;
    margin-inline: auto;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: auto;
    text-align: center;
}

.section-description-h2 {
    font-family: Roboto Serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 66px;
    line-height: 109.00000000000001%;
    letter-spacing: 0%;
    text-align: center;
    color: #1C8895;
    margin-block: 0px;
    padding-bottom: 20px;
}

.section-description-p {
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1%;
    text-align: center;
    color: #575757;
    margin-block: 0px;
}

/* Filter section */
.section-filter {
    max-width: 1364px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 22px;
    align-items: start;
    justify-content: start;
    margin-inline: auto;
    padding-bottom: 54px;
    border-bottom: 1px solid #9E9E9E;
}

.filter-btn {
    opacity: 1;
    border-width: 1px;
    border-radius: 60px;
    padding-top: 4px;
    padding-right: 24px;
    padding-bottom: 4px;
    padding-left: 24px;
    border: 1px solid #C4D7D9;
    background: #fff;
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 39px;
    letter-spacing: -1%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
    background-color: #FF7F50;
    color: #fff;
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 39px;
    letter-spacing: -1%;
    text-align: center;

}

/* Table section */
.section-table {
    max-width: 1364px;
    padding-bottom: 131px;
    overflow-x: auto;
    margin-inline: auto;
}

.table-row {
    padding-top: 36px;
    padding-bottom: 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    width: 100%;
    border-bottom: 1px solid #9E9E9E;
    align-items: center;
    transition: transform 0.2s;
}

.table-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* .col-span-2 {
    grid-column: span 2 / span 2;
} */

.col-columns {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 20px;
    max-width: 140px;
}

.title-p {
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1%;
    color: #626262;
    margin-block: 0px;
}

.description-p {
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1%;
    color: #0C0C0C;
    margin-block: 0px;
    min-width: max-content;
}

.col-rows {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.details-btn {
    width: 173px;
    height: 59px;
    opacity: 1;
    border-width: 1px;
    border-radius: 12px;
    gap: 10px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    border: 1px solid #D6D6D6;
    background-color: #fff;
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 38.4px;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
}

.details-btn:hover {
    background: #dde4e6;
}

.apply-btn {
    width: 141px;
    height: 59px;
    opacity: 1;
    border-radius: 12px;
    gap: 10px;
    padding: 10px;
    background: #FF7F50;
    font-family: Roboto;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    line-height: 38.4px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #357abd;
}

.no-jobs {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #7f8c8d;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #333;
    background: #f5f5f5;
}

.form-header {
    margin-bottom: 25px;
    padding: 24px 24px 15px;
    border-bottom: 1px solid #eee;
}

.form-header p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.form-header .role {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.full-width {
    width: 100%;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.phone-input-group {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.phone-input-group:focus-within {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.phone-input-group.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.country-code {
    background: #f8f9fa;
    padding: 12px 16px;
    border-right: 1px solid #e1e5e9;
    color: #666;
    font-weight: 500;
}

.phone-input {
    border: none;
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
}

.phone-input:focus {
    outline: none;
}

.upload-wrapper {
    margin-bottom: 25px;
    padding: 0 24px;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.file-upload-area:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.file-upload-area.dragover {
    border-color: #4a90e2;
    background: #e3f2fd;
}

.file-input {
    display: none;
}

.file-upload-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.file-upload-subtext {
    font-size: 14px;
    color: #666;
}

.selected-file {
    margin-top: 12px;
    padding: 8px 16px;
    background: #e3f2fd;
    border-radius: 6px;
    color: #1976d2;
    font-weight: 500;
    display: none;
}

.selected-file.show {
    display: block;
}

.center {
    justify-content: center;
}

#submit-btn {
    background: #FF7F50;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    margin: 0 24px 24px;
}

#submit-btn:hover:not(:disabled) {
    background: #357abd;
}

#submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.form-field.has-error .error-message {
    display: block;
}

.upload-wrapper.has-error .file-upload-area {
    border-color: #dc3545;
    background: #fff5f5;
}

.upload-wrapper.has-error .error-message {
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 8px;
    margin: 0 24px 20px;
    border: 1px solid #c3e6cb;
}

.error-summary {
    background: #f8d7da;
    color: #721c24;
    padding: 16px;
    border-radius: 8px;
    margin: 0 24px 20px;
}

.has-error .form-input {
    border-color: #dc3545;
}

.noscroll {
    overflow: hidden;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .section-description {
        flex-direction: column;
        padding: 16px;
    }
    
    .section-description-h2 {
        font-size: 32px;
    }
    .section-table{
        overflow-x: auto;
        padding-bottom: 20px;
    }
    .table-row {
        min-width: max-content;
        gap: 15px;
        padding-block: 20px;
        padding-inline: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-filter {
        flex-direction: row;
        align-items: start;
        flex-wrap: wrap;
        padding: 20px;
        gap: 10px;

    }
    
    .filter-btn {
        width: auto;
        padding-inline: 10px;
        position: relative;
        display: flex;
    }
    .filter-btn {
        font-size: 16px;
    }
    .col-rows {
        gap: 10px;
    }
    
    .details-btn, .apply-btn {
        width: 100%;
        font-size: 14px;
        line-height: 20px;
        padding-inline: 4px;
        padding-block: 10px;
        height: 40px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    .title-p{
        font-size: 12px;
        line-height: 14px;
    }
    .description-p{
        font-size: 16px;
        line-height: 18px;
        
    }
    .section-description-p{
        font-size: 14px;
        line-height: 20px;
    }
    .filter-btn:hover, 
    .filter-btn.active {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .banner-section {
        height: 200px;
        aspect-ratio: auto;
    }
    
    .banner-img {
        height: 200px;
        aspect-ratio: auto;
    }
    
    .overlay {
        height: 200px;
        aspect-ratio: auto;
    }
    
    .page-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .breadcrumb {
        font-size: 16px;
        top: 15px;
        left: 20px;
        z-index: 0;
    }
    .form-input {
        width: auto;
    }
}
/* .section-filter,.section-table {
    margin: 20px auto;
} */