/**
 * Styles for the Single Job page
*/

:root {
    --primary: #002e5b;
    --secondary: #6c98e1;
    --accent: #fde428;
    --text: #222222;
    --light: #fde428;
}

h1::after {
    margin-top: 20px;
}

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

/* Dynamic Hero Banner - Uses Featured Image */
.hero {
    position: relative;
    height: 520px;
    color: #fff;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 46, 91, 0.78);
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero h1 {
    color: #0d96f1;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero .tagline {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.95;
}

.hero .location {
    margin-top: 22px;
    font-size: 19px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
    align-items: center;

}

.hero .location i {
    color: var(--accent);
    margin-right: 10px;
}

/* Content */
.content {
    background: #fff;
}

.intro-text {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 50px;
    color: #444;
}

.job-id {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.career-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}

.featured-badge {
    background: linear-gradient(135deg, #FFD700, #c89b00);
    color: var(--primary);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: auto;
    font-size: 14px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    background: var(--light);
    padding: 40px;
    margin: 25px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.info-item i {
    font-size: 28px;
    color: var(--primary);
}

.info-item {
    color: var(--primary);
}

.section h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: none !important;
}

.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    background: var(--accent);
    border-radius: 3px;
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 50px;
    margin-top: 35px;
}

.section ul {
    padding-left: 22px;
}

.section ul li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 8px;
}

.section ul li::marker {
    color: var(--light);
    font-weight: bold;
    font-size: 25px;
}

.section ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -18px;
    font-size: 25px;
}

.apply-wrapper {
    text-align: center;
    margin: 80px 0;
}

.apply-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s;
    box-shadow: 0 8px 30px rgba(0, 46, 91, 0.35);
    text-decoration: none !important;
}

.apply-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(253, 228, 40, 0.5);
}

.view-all-wrapper {
    text-align: center;
    margin-top: -40px; 
    margin-bottom: 80px;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 40px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.35s;
    text-decoration: none !important;
}

.view-all-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,46,91,0.25);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 44px;
    }

    .hero .tagline {
        font-size: 21px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
    }

    .hero {
        height: 420px;
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.2;
    }
}