/* ===================================
   --- Job Hero Section ---
   =================================== */
.job-hero-section {
    background-color: #f8fbff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e8f0f8" fill-opacity="0.3"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zm0 30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H0v4h-4v2h4v4h2v-4h4v-2H6zm30 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H0v4h-4v2h4v4h2v-4h4v-2H6zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z"/%3E%3C/g%3E%3C/g%3E%3Csvg%3E');
    background-repeat: repeat;
}

.job-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.job-hero-content {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.job-hero-subtitle {
    font-size: 16px;
    color: #03a9f4;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.job-hero-title {
    font-size: 60px;
    font-weight: 800;
    color: #202c45;
    line-height: 1.1;
    margin-bottom: 20px;
}

.job-hero-description {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.job-search-bar {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 10px 10px 10px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
}

.job-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 5px 0;
    color: #333;
}

.job-search-input::placeholder {
    color: #999;
}

.job-search-button {
    background-color: #f4d003;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.job-search-button:hover {
    background-color: #028ac7;
    transform: scale(1.08);
}

.job-hero-featured-by {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.job-hero-featured-by span {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    white-space: nowrap;
}

.job-hero-featured-by .featured-logo {
    height: 25px;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.job-hero-featured-by .featured-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.job-hero-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 50px;
    min-height: 500px;
}

.job-hero-person {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.job-hero-man-img {
    width: 20cm;
    height: auto;
    margin-right: 40%;
    display: block;
    object-fit: contain;
}

.job-hero-blob-bg {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 500px;
    background-color: #e3f2fd;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    top: 50%;
    left: 50%;
    opacity: 0.7;
    animation: blobMorphRotate 40s linear infinite;
}

.job-hero-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #202c45;
    white-space: nowrap;
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.job-hero-card .card-icon {
    background-color: #e0f2f7;
    color: #f4c403;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.card-daily-updates {
    top: 15%;
    left: 10%;
    transform: rotate(-5deg);
    animation-delay: 0s;
    animation-duration: 4.5s;
}

.card-candidates {
    bottom: 10%;
    right: 5%;
    transform: rotate(8deg);
    text-align: center;
    animation-delay: 0.5s;
    animation-duration: 4s;
}
.card-candidates .card-text {
    line-height: 1.3;
}

.job-hero-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 4;
    animation-play-state: paused;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes blobMorphRotate {
    0% {
        transform: translate(-50%, -50%) rotate(45deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        transform: translate(-50%, -50%) rotate(225deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        transform: translate(-50%, -50%) rotate(405deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@media (max-width: 992px) {
    .job-hero-container {
        flex-direction: column;
        text-align: center;
    }
    .job-hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    .job-search-bar, .job-hero-featured-by {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .job-hero-title { font-size: 48px; }
    .card-daily-updates { top: 5%; left: 0%; }
    .card-candidates { bottom: 5%; right: 0%; }
}

@media (max-width: 576px) {
    .job-hero-title { font-size: 38px; }
    .job-hero-description { font-size: 16px; }
}
/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .row {
    margin-bottom: 15px;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #030f27;
}

.service .service-img {
    position: relative;
    overflow: hidden;
    height: 180px; 
}

.service .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, .85);
    transition: .5s;
    opacity: 0;
    visibility: hidden;
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
}

.service .service-text {
    display: flex;
    align-items: center;
    min-height: 50px;
    background: #030f27;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.service .service-text h3 {
    margin: 0;
    padding: 8px 15px 8px 25px;
    width: calc(100% - 60px);
    font-size: 17px; 
    font-weight: 600;
    color: #fdbe33;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
}

.service-toggle-radio {
    display: none;
}

.interactive-service .service-text {
    cursor: pointer;
}

.service-click-indicator {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #030f27;
    background: #fdbe33;
    border-radius: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

#service-cat-1:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-1"],
#service-cat-2:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-2"],
#service-cat-3:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-3"],
#service-cat-4:checked ~ .row .service-item .service-text[for="service-cat-4"],
#service-cat-5:checked ~ .row .service-item .service-text[for="service-cat-5"],
#service-cat-6:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-6"],
#service-cat-7:checked ~ .row + .service-details-container + .row + .service-details-container + .row .service-item .service-text[for="service-cat-7"],
#service-cat-8:checked ~ .row + .service-details-container + .row + .service-details-container + .row .service-item .service-text[for="service-cat-8"],
#service-cat-9:checked ~ .row .service-item .service-text[for="service-cat-9"],
#service-cat-10:checked ~ .row .service-item .service-text[for="service-cat-10"] {
    background-color: #0a2963;
}

#service-cat-1:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-1"] .service-click-indicator,
#service-cat-2:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-2"] .service-click-indicator,
#service-cat-3:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-3"] .service-click-indicator,
#service-cat-4:checked ~ .row .service-item .service-text[for="service-cat-4"] .service-click-indicator,
#service-cat-5:checked ~ .row .service-item .service-text[for="service-cat-5"] .service-click-indicator,
#service-cat-6:checked ~ .row + .service-details-container + .row .service-item .service-text[for="service-cat-6"] .service-click-indicator,
#service-cat-7:checked ~ .row + .service-details-container + .row + .service-details-container + .row .service-item .service-text[for="service-cat-7"] .service-click-indicator,
#service-cat-8:checked ~ .row + .service-details-container + .row + .service-details-container + .row .service-item .service-text[for="service-cat-8"] .service-click-indicator,
#service-cat-9:checked ~ .row .service-item .service-text[for="service-cat-9"] .service-click-indicator,
#service-cat-10:checked ~ .row .service-item .service-text[for="service-cat-10"] .service-click-indicator {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-header {
    padding: 120px 0;
    background: linear-gradient(rgba(3, 15, 39, 0.7), rgba(3, 15, 39, 0.7)), url('../Assets/Our services.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2,
.page-header a {
    color: #ffffff;
}

.page-header h2::after {
    background: #fdbe33;
}

.page-header a::after {
    color: #fdbe33;
}

.page-header a:hover {
    color: #fdbe33;
}

.trust-section {
    padding: 60px 0;
    background: #f3f6ff;
}

.trust-section .section-header p {
    color: #fdbe33;
}

.trust-section .section-header h2 {
    font-size: 35px;
}

.trust-section .section-header {
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    border-bottom: 3px solid #fdbe33;
}

.stat-card h2 {
    font-size: 50px;
    font-weight: 700;
    color: #030f27;
}

.stat-card p {
    font-size: 18px;
    color: #666666;
    font-weight: 500;
    margin: 0;
}

.trust-section .btn {
    background: #fdbe33;
    color: #030f27;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
}
.trust-section .btn:hover {
    background: #030f27;
    color: #fdbe33;
    border-color: #fdbe33;
}

/*********************************/
/***** Service Details Section *****/
/*********************************/
.service-details-container {
    position: relative;
    padding-top: 30px;
    margin-bottom: 45px;
}

.service-details {
    display: none;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: max-height 0.7s ease-out, opacity 0.5s ease-in, transform 0.5s ease-out;
}

/* --- UPDATED SERVICE DETAILS VISIBILITY LOGIC --- */

/* Services in the first row (IDs: 4, 5, 10, 9) */
#service-cat-4:checked ~ .row + .service-details-container #details-cat-4,
#service-cat-5:checked ~ .row + .service-details-container #details-cat-5,
#service-cat-10:checked ~ .row + .service-details-container #details-cat-10,
#service-cat-9:checked ~ .row + .service-details-container #details-cat-9,

/* Services in the second row (IDs: 3, 2, 1, 6) */
#service-cat-3:checked ~ .row + .service-details-container + .row + .service-details-container #details-cat-3,
#service-cat-2:checked ~ .row + .service-details-container + .row + .service-details-container #details-cat-2,
#service-cat-1:checked ~ .row + .service-details-container + .row + .service-details-container #details-cat-1,
#service-cat-6:checked ~ .row + .service-details-container + .row + .service-details-container #details-cat-6,

/* Services in the third row (IDs: 7, 8) */
#service-cat-7:checked  ~ .row + .service-details-container + .row + .service-details-container + .row + .service-details-container #details-cat-7,
#service-cat-8:checked ~ .row + .service-details-container + .row + .service-details-container + .row + .service-details-container #details-cat-8 {
    display: flex;
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
    transform: translateY(0);
}


.detail-box {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 5px solid #fdbe33;
    border-radius: 8px;
    padding: 25px;
    flex-basis: 30%;
    flex-grow: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.detail-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.detail-box h4 {
    font-size: 18px;
    color: #030f27;
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.register-prompt {
    font-style: italic;
    color: #555;
    font-size: 14px;
    margin-top: auto;
    margin-bottom: 20px !important;
}

.detail-btn {
    background-color: #030f27;
    color: #fdbe33;
    border: 2px solid #030f27;
    font-weight: 600;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
    transition: background-color 0.3s, color 0.3s;
}

.detail-btn:hover {
    background-color: #fdbe33;
    color: #030f27;
    border-color: #fdbe33;
}

@media (max-width: 992px) {
    .detail-box {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) {
    .detail-box {
        flex-basis: 100%;
    }
}