body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-box {
    width: calc(93% - 100px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.toggle-filters-btn { 
    margin-bottom: 10px;
    margin-left: 20px;
    padding: 5px 10px; 
    background-color: #1F4346;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-section {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h3 {
    margin-bottom: 10px;
    color: #1F4346;
}

#skill-filters, #seniority-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#skill-filters label, #seniority-filters label {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #ccc;
}

#skill-filters input[type="checkbox"], #seniority-filters input[type="checkbox"] {
    margin-right: 5px;
}

.profile-box {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    width: 22%;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.315);
    transition: box-shadow 0.3s ease;
}

/* Profile grid container */
.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adds space between boxes */
}

/* Media query for medium screens */
@media screen and (max-width: 1300px) {
    .profile-box {
        width: calc(33% - 20px); /* 50% width with space between boxes */
        margin: 10px 0; /* Adjust the margin to only affect top and bottom */
    }
}

/* Media query for medium screens */
@media screen and (max-width: 1000px) {
    .profile-box {
        width: calc(50% - 20px); /* 50% width with space between boxes */
        margin: 10px 0; /* Adjust the margin to only affect top and bottom */
    }
}

/* Media query for narrow screens */
@media screen and (max-width: 768px) {
    .profile-box {
        width: 100%; /* Full width on smaller screens */
        margin: 10px 0; /* Adjust the margin to only affect top and bottom */
    }
}



.profile-box:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.432);
    z-index: 1000;
}

.card {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    width: calc(65% + 80px);
    max-height: 80%;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.466);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.logo {
    width: 250px;
    height: auto;
    position: absolute;
    top: 40px;
    right: 60px;
    transition: opacity 0.3s ease;
    z-index: 10;
}

h1 {
    font-size: 2.2em;
    color: #1F4346;
    margin-bottom: 8px;
}

h2 {
    font-size: 1.6em;
    color: #3c8dbc;
    margin-bottom: 15px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    background-color: #1F4346;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 3px 4px rgba(0,0,0,0.1);
    font-size: 20px!important;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill {
    background-color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    border: 2px solid #1F4346;
    box-shadow: 0 3px 4px rgba(0,0,0,0.1);
}

.stars {
    color: #f1c40f;
    margin-left: 8px;
}

.info-grid {
    display: flex;
    gap: 12px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.info-grid > div {
    flex: 1;
    box-sizing: border-box;
    line-height: 1.6;
}

.info-label {
    font-weight: bold;
    color: #1F4346;
}

ul {
    list-style-type: none;
    padding: 0;
}

.profile-grid li, .about-section li {
    margin-bottom: 16px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 4px;
    line-height: 1.6;
}

.job-description {
    font-size: 0.9em;
    margin-top: 8px;
    color: #555;
    line-height: 1.6;
}

.about-section {
    margin-top: 15px;
    width: 100%;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    box-sizing: border-box;
    line-height: 1.6;
    font-size: 18px;
}

.active-filters {
    display: inline-block;
    margin-left: 10px;
}

.active-filter {
    display: inline-block;
    background-color: #e0e0e0;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 15px;
    font-size: 0.9em;
}

.remove-filter {
    color: #555;
    margin-left: 5px;
    cursor: pointer;
}

.clear-all-btn {
    background-color: #555;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}