:root {
    --primary-color: #13005A;
    --secondary-color: #00337C;
    --helper-color: #1C82AD;
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.featured-jobs {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.featured-jobs-slider {
    margin: 2rem 0;
    padding: 1rem 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.swiper {
    width: 100%;
    padding: 2rem 0;
    overflow: visible;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
}

.swiper-slide {
    height: auto;
    padding: 1rem;
    width: 400px !important;
    display: flex;
    justify-content: center;
}

.swiper-slide .job-card {
    height: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.swiper-slide .job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--helper-color);
    opacity: 0.8;
}

.swiper-slide .job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.job-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.job-card:hover .company-logo {
    border-color: var(--helper-color);
    transform: scale(1.05);
}

.job-info h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
}

.company-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1.1rem;
}

.job-details {
    margin-bottom: 1.5rem;
}

.job-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.job-details i {
    color: var(--helper-color);
    margin-right: 0.75rem;
    width: 20px;
    font-size: 1.1rem;
}

.description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.job-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.posted-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--helper-color);
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: rgba(28, 130, 173, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(28, 130, 173, 0.3);
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next {
    right: -70px;
}

.swiper-button-prev {
    left: -70px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--helper-color);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--helper-color);
    width: 30px;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 1800px) {
    .swiper-button-next {
        right: -50px;
    }
    
    .swiper-button-prev {
        left: -50px;
    }
}

@media (max-width: 1600px) {
    .swiper-slide {
        width: 350px !important;
    }
    
    .swiper-button-next {
        right: -40px;
    }
    
    .swiper-button-prev {
        left: -40px;
    }
}

@media (max-width: 1400px) {
    .swiper-slide {
        width: 300px !important;
    }
    
    .swiper-button-next {
        right: -30px;
    }
    
    .swiper-button-prev {
        left: -30px;
    }
}

@media (max-width: 1200px) {
    .swiper-slide {
        width: 280px !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .swiper-slide {
        width: 280px !important;
    }

    .job-card {
        padding: 1.25rem;
    }

    .company-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        width: 260px !important;
    }
    
    .job-info h3 {
        font-size: 1.2rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
} 