/* ===== CAREERS PAGE SPECIFIC STYLES ===== */
/* Careers Hero Section */
.careers-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #2667FF 0%, #FF4754 100%);
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='1440' height='720' viewBox='0 0 1440 720' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%232667FF' stop-opacity='0.1'/%3E%3Cstop offset='100%25' stop-color='%23FF4754' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23a)' d='M0 0h1440v720H0z'/%3E%3Cpath fill='%23FFF' fill-opacity='0.05' d='M0 0h1440v720H0z'/%3E%3Cpath fill='none' stroke='%23FFF' stroke-width='2' stroke-opacity='0.05' d='M0 0h1440v720H0z'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.7;
}

.careers-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.careers-hero-content .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Careers Search Section */
.careers-search-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    position: relative;
}

.search-input {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 5px 20px rgba(38, 103, 255, 0.2);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Why Work With Us Section */
.why-work-with-us {
    padding: 80px 0;
    background-color: white;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(38, 103, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.benefit-content p {
    color: #6c757d;
}

.team-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Job Openings Section */
.job-openings-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-description {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
}

/* Job Posts Grid */
.job-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.job-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.job-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.job-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.job-meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

.job-description {
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
}

.apply-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Pagination */
.pagination-container {
    margin-top: 50px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers a.current {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.page-numbers .disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Blog Sidebar */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.job-types-list, 
.locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-types-list li, 
.locations-list li {
    margin-bottom: 10px;
}

.job-types-list a, 
.locations-list a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-types-list a:hover, 
.locations-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.job-types-list span, 
.locations-list span {
    background: rgba(38, 103, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
}

.departments-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.department-tag {
    display: inline-block;
    background: rgba(38, 103, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.department-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* How We Hire Section */
.how-we-hire {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step-content p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 50px 0;
}

.no-results i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 25px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .careers-hero-content h1 {
        font-size: 3rem;
    }
    
    .job-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .careers-hero {
        padding: 80px 0;
    }
    
    .careers-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .job-content h3 {
        font-size: 1.2rem;
    }
    
    .sidebar {
        margin-top: 50px;
    }
    
    .process-step {
        min-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .careers-hero-content h1 {
        font-size: 2rem;
    }
    
    .careers-hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-steps {
        gap: 20px;
    }
    
    .process-step {
        min-width: 150px;
        padding: 20px 15px;
    }
}

@media (max-width: 575.98px) {
    .careers-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .careers-hero-content .lead {
        font-size: 1rem;
    }
    
    .job-content h3 {
        font-size: 1.1rem;
    }
    
    .job-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
    }
}