﻿.slider {
    padding-top: 75px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

    .slider-item img {
        width: 100%;
        height: 80vh;
        object-fit: cover;
    }

/*.gradient-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
            z-index: 1;
            pointer-events: none;
        }*/

.caption-container {
    position: absolute;
    top: 30%;
    left: 6%;
    color: white;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    z-index: 2;
    width: 40%;
}

    .caption-container h2 {
        font-size: 2.3rem;
        color: #fff;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .caption-container h5 {
        font-size: 1.5rem;
        color: #fff;
        margin-top: 10px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .caption-container a.button {
        display: inline-block;
        margin-top: 15px;
        background-color: #890C25;
        color: black;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 1rem;
        color: #fff;
    }

        .caption-container a.button:hover {
            background-color: rgba(255, 255, 255, 1);
            color: #0054b5;
        }

button.prev,
button.next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    padding: 0;
    background-color: #4b9df9;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

button.prev {
    left: 5px;
}

button.next {
    right: 5px;
}

    button.prev:hover, button.next:hover {
        background-color: #0054b5;
    }

@media (max-width: 768px) {
    .slider {
        padding-top: 75px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        max-width: 100%;
    }

    .slider-item img {
        height: 20vh;
        object-fit: contains;
    }

    button.prev,
    button.next {
        position: absolute;
        top: 65%;
        transform: translateY(-50%);
        width: 17px;
        height: 17px;
        padding: 0;
        background-color: #4b9df9;
        color: white;
        border: none;
        cursor: pointer;
        z-index: 10;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
    }

    .caption-container {
        width: 100%;
    }

        .caption-container h2 {
            display: none;
            font-size: 1.5rem;
        }

        .caption-container h5 {
            display: none;
            font-size: 1rem;
        }

        .caption-container a.button {
            display: none;
            font-size: 0.9rem;
            padding: 8px 15px;
        }

    .gradient-overlay {
        background: none;
    }
}
.modern-job-area{
    background:#f6f8fc;
}

/* TITLE */
.modern-job-title .job-subtitle{
    color:#4a6cf7;
    font-size:15px;
    font-weight:600;
    display:inline-block;
    margin-bottom:10px;
}

.modern-job-title h2{
    font-size:42px;
    font-weight:700;
    margin:0;
    color:#111;
}

/* CARD */
.modern-job-card{
    background:#fff;
    border-radius:20px;
    padding:24px;
    border:1px solid #edf1f7;
    transition:0.3s;
    height:100%;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.modern-job-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

/* HEADER */
.job-card-header{
    display:flex;
    gap:18px;
    align-items:flex-start;
    margin-bottom:10px;
}

/* LOGO */
.job-logo{
    width:150px;
    height:60px;
    border-radius:18px;
    background:#fff;
    border:1px solid #edf1f7;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    flex-shrink:0;
}

.job-logo img{
    width:120px;
    object-fit:contain;
}

/* INFO */
.job-company-info{
    flex:1;
}

.job-top-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
    gap:10px;
}

.company-name{
    font-size:15px;
    color:#777;
    font-weight:500;
}

.job-company-info h4{
    font-size:24px;
    line-height:1.35;
    font-weight:700;
    color:#111;
    margin:0;
}

/* BADGE */
.job-type{
    padding:7px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
}

.fulltime{
    background:#eef2ff;
    color:#4a6cf7;
}

.remote{
    background:#eafaf1;
    color:#00a65a;
}

.hybrid{
    background:#fff2e8;
    color:#ff7a00;
}

/* DETAILS GRID */
.job-details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

/* DETAIL BOX */
.job-detail-box{
    align-items:flex-start;
    gap:12px;
    background:#f8faff;
    border-radius:14px;
    padding:14px;
    width:1005
}

.job-detail-box i{
    color:#4a6cf7;
    font-size:16px;
    margin-top:4px;
}

.job-detail-box span{
    display:block;
    font-size:10px;
    color:#888;
    margin-bottom:0px;
}

.job-detail-box h6{
    margin:0;
    font-size:13px;
    font-weight:600;
    color:#222;
}

/* FOOTER */
.job-footer{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid #edf1f7;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

/* POST */
.job-post-time{
    font-size:14px;
    color:#777;
}

.job-post-time i{
    margin-right:6px;
}

/* BUTTON */
.apply-btn{
    height:44px;
    line-height:44px;
    padding:0 22px;
    background:#4a6cf7;
    color:#fff;
    border-radius:40px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.apply-btn:hover{
    background:#111;
    color:#fff;
}

/* MOBILE */
@media(max-width:767px){

    .modern-job-title h2{
        font-size:30px;
    }

    .job-details-grid{
        grid-template-columns:1fr;
    }

    .job-top-line{
        flex-direction:column;
        align-items:flex-start;
    }

    .job-footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .apply-btn{
        width:100%;
        text-align:center;
    }

}