﻿.clearfix::after {
    display: none !important;
}

.Intro-container p a {
    color: #f7c20a;
}

/* =========================================================
           FORCE RESET
        ========================================================= */

.related-jobs-section *,
.related-jobs-section *::before,
.related-jobs-section *::after {
    box-sizing: border-box;
}

/* =========================================================
           SECTION
        ========================================================= */

.related-jobs-section {
    /*padding: 70px 0;*/
    background: #fff;
    clear: both;
}

    .related-jobs-section .container {
        max-width: 1280px;
    }

/* =========================================================
           HEADER
        ========================================================= */

.related-jobs-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-jobs-title {
    font-size: 54px;
    font-weight: 700;
    color: #f7c20a;
    margin-bottom: 20px;
    line-height: 1.2;
}

    .related-jobs-title span {
        color: #f7c20a;
    }

.related-jobs-text {
    /*max-width: 850px;
                    margin: 0 auto;*/
    font-size: 20px;
    line-height: 1.8;
    color: #5f5f5f;
    font-weight: bold;
}

/* =========================================================
           GRID
        ========================================================= */

.related-jobs-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* =========================================================
           CARD
        ========================================================= */

.related-job-item {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex !important;
    flex-direction: column !important;
    min-height: 360px;
    transition: all 0.3s ease;
}

    .related-job-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.08);
    }

/* =========================================================
           TOP BAR
        ========================================================= */

.related-job-top {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.related-job-badge {
    background: #f8f2e0;
    color: #b58c0a;
    border: 1px solid rgba(181,140,10,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.related-job-id {
    font-size: 14px;
    font-weight: 600;
    color: #5c5c5c;
}

/* =========================================================
           TITLE
        ========================================================= */

.related-job-heading {
    margin-bottom: 18px;
    line-height: 1.35;
}

    .related-job-heading a {
        color: #4b176d !important;
        text-decoration: none !important;
        font-size: 24px !important;
        font-weight: 700;
        line-height: 1.4;
        display: inline !important;
    }

        .related-job-heading a:hover {
            color: #b58c0a !important;
        }

/* =========================================================
           LOCATION
        ========================================================= */

.related-job-location {
    font-size: 16px;
    color: #5f5f5f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .related-job-location i {
        color: #b58c0a;
    }

/* =========================================================
           SKILLS
        ========================================================= */

.related-job-skills {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* =========================================================
           BUTTON
        ========================================================= */

.related-job-button {
    display: inline-block !important;
    background: linear-gradient( 135deg, #4b176d, #6a238f );
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    align-self: flex-start;
    transition: all 0.3s ease;
}

    .related-job-button:hover {
        color: #fff !important;
        transform: translateY(-2px);
    }

/* =========================================================
           MOBILE
        ========================================================= */

@media (max-width: 991px) {

    .related-jobs-grid {
        grid-template-columns: 1fr;
    }

    .related-jobs-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {

    .related-job-item {
        padding: 24px;
    }

    .related-job-heading a {
        font-size: 22px !important;
    }

    .related-jobs-text {
        font-size: 16px;
    }
}


/* =========================================================
           SMALLER Stay Connected Section
        ========================================================= */

.stay-connected-section {
    padding: 50px 0;
    background: linear-gradient( 135deg, #f9f6ff 0%, #ffffff 100% );
}

/* =========================================================
           Wrapper
        ========================================================= */

.stay-connected-wrapper {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
    border: 1px solid #ececec;
}

/* =========================================================
           Content
        ========================================================= */

.stay-connected-content {
    text-align: center;
    margin-bottom: 35px;
}

.stay-connected-tag {
    display: inline-block;
    background: rgba(194, 152, 9, 0.1);
    color: #c29809;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.stay-connected-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #4b176d;
    margin-bottom: 14px;
}

.stay-connected-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #5f5f5f;
}

/* =========================================================
           Action Cards
        ========================================================= */

.stay-connected-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* =========================================================
           Card
        ========================================================= */

.stay-connected-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ececec;
    text-decoration: none !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .stay-connected-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient( 180deg, #4b176d, #c29809 );
    }

    .stay-connected-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(75, 23, 109, 0.10);
    }

/* =========================================================
           Icon
        ========================================================= */

.stay-connected-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #4b176d, #6a238f );
    color: #fff;
    font-size: 22px;
}

/* =========================================================
           Text
        ========================================================= */

.stay-connected-info {
    flex: 1;
}

    .stay-connected-info h3 {
        color: #4b176d;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .stay-connected-info p {
        color: #5f5f5f;
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

/* =========================================================
           Arrow
        ========================================================= */

.stay-connected-arrow {
    color: #c29809;
    font-size: 18px;
    transition: all 0.3s ease;
}

.stay-connected-card:hover
.stay-connected-arrow {
    transform: translateX(4px);
}

/* =========================================================
           Mobile
        ========================================================= */

@media (max-width: 991px) {

    .stay-connected-actions {
        grid-template-columns: 1fr;
    }

    .stay-connected-wrapper {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {

    .stay-connected-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .stay-connected-title {
        font-size: 28px;
    }

    .stay-connected-info h3 {
        font-size: 20px;
    }
}

/* =========================================================
   4 COLUMN GRID
========================================================= */
.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 40px;
}

/* =========================================================
   CARD
========================================================= */

.related-job-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: all 0.3s ease;
}

    .related-job-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.08);
    }

/* =========================================================
   TITLE
========================================================= */

.related-job-heading a {
    color: #4b176d !important;
    text-decoration: none !important;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.4;
}

    .related-job-heading a:hover {
        color: #b58c0a !important;
    }

/* =========================================================
   LOCATION
========================================================= */

.related-job-location {
    font-size: 14px;
    color: #5f5f5f;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* =========================================================
   SKILLS
========================================================= */

.related-job-skills {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* =========================================================
   BUTTON
========================================================= */

.related-job-button {
    display: inline-block;
    background: linear-gradient(135deg, #4b176d, #6a238f);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .related-job-button:hover {
        transform: translateY(-2px);
    }

/* =========================================================
   LOADER
========================================================= */

.related-job-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loader-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    border: 5px solid #f1f1f1;
    border-top: 5px solid #4b176d;
    border-radius: 50%;
    animation: spinLoader 0.9s linear infinite;
}

.related-job-loader p {
    color: #5f5f5f;
    font-size: 16px;
    font-weight: 600;
}

@keyframes spinLoader {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================================
   NO DATA
========================================================= */

.no-jobs-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

    .related-jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {

    .related-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .related-jobs-grid {
        grid-template-columns: 1fr;
    }

    .related-job-item {
        min-height: auto;
    }
}

/* =========================================================
   Similar Jobs Footer CTA
========================================================= */
.similar-jobs-footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.similar-jobs-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* =========================================================
   Primary Button
========================================================= */

.primary-btn {
    background: linear-gradient( 135deg, #4b176d, #6a238f );
    color: #fff !important;
}

    .primary-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(75, 23, 109, 0.18);
    }

/* =========================================================
   Secondary Button
========================================================= */

.secondary-btn {
    background: #fff;
    color: #4b176d !important;
    border: 2px solid #4b176d;
}

    .secondary-btn:hover {
        background: #4b176d;
        color: #fff !important;
        transform: translateY(-3px);
    }
