/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

/* Hero Section */
.careers-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/images/Career-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    padding-top: 120px;
    padding-bottom: 120px;
    margin-top: 0;
    overflow: hidden;
}

/* Animated Background Shapes */
.careers-hero-animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.careers-hero-floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    animation: careersHeroFloat 25s infinite ease-in-out;
}

.careers-hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.careers-hero-shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.careers-hero-shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}

.careers-hero-shape-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes careersHeroFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(40px, -40px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(30px, 40px) rotate(270deg);
        opacity: 0.7;
    }
}

.careers-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.75) 0%, rgba(13, 27, 42, 0.65) 100%);
    z-index: 1;
}

.careers-hero-section .container {
    position: relative;
    z-index: 2;
}

.careers-hero-content-wrapper {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Badge */
.careers-hero-badge {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.careers-hero-badge i {
    color: #4ade80;
}

.careers-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.careers-hero-subtitle {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.careers-hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Career Statistics */
.careers-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.careers-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.careers-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.careers-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.careers-stat-content {
    text-align: left;
}

.careers-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.careers-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.careers-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.careers-learn-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 35px;
    border-radius: 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.careers-learn-btn:hover {
    background-color: white;
    color: #00399E;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.careers-cta-arrow {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.careers-hero-cta:hover .careers-cta-arrow {
    transform: translateY(-5px);
}

/* Main Content Section */
.careers-content-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* Filters */
.careers-filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Job Cards */
.job-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.job-card-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.job-title a {
    color: #00399E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: var(--light-blue);
}

.job-type-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.job-type-full-time {
    background-color: #d4edda;
    color: #155724;
}

.job-type-part-time {
    background-color: #fff3cd;
    color: #856404;
}

.job-type-contract {
    background-color: #d1ecf1;
    color: #0c5460;
}

.job-type-internship {
    background-color: #e2e3e5;
    color: #383d41;
}

.job-card-body {
    flex: 1;
    margin-bottom: 20px;
}

.job-location,
.job-department,
.job-salary {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-location i,
.job-department i,
.job-salary i {
    color: #00399E;
    width: 16px;
}

.job-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 10px;
}

.job-deadline {
    color: #888;
    font-size: 0.85rem;
    margin-top: 10px;
}

.job-deadline i {
    margin-right: 5px;
}

.job-card-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.job-card-footer .btn {
    flex: 1;
}

/* Job Detail Section */
.careers-detail-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.job-detail-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.job-detail-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.job-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00399E;
    margin-bottom: 15px;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.job-meta-item {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta-item i {
    color: #00399E;
}

.job-detail-content {
    padding: 30px 0;
}

.job-section {
    margin-bottom: 30px;
}

.job-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00399E;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.job-detail-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.info-item {
    margin-bottom: 10px;
    color: #555;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #00399E;
    margin-right: 10px;
}

.job-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Job Sidebar */
.job-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00399E;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.job-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-overview-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.job-overview-list li:last-child {
    border-bottom: none;
}

.job-overview-list li strong {
    color: #00399E;
}

.related-jobs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-jobs-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.related-jobs-list li:last-child {
    border-bottom: none;
}

.related-jobs-list li a {
    color: #00399E;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-jobs-list li a:hover {
    color: var(--light-blue);
}

.related-jobs-list li small {
    color: #888;
    display: block;
}

/* Application Form Section */
.careers-apply-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.application-form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.application-form-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00399E;
    margin-bottom: 30px;
}

.application-form-card .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.application-form-card .form-control,
.application-form-card .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.application-form-card .form-control:focus,
.application-form-card .form-select:focus {
    border-color: #00399E;
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .careers-hero-section {
        background-attachment: scroll;
    }
    
    .careers-hero-title {
        font-size: 3.5rem;
    }
    
    .careers-hero-subtitle {
        font-size: 1.5rem;
    }
    
    .careers-hero-description {
        font-size: 1.05rem;
    }
    
    .careers-hero-stats {
        gap: 2rem;
    }
    
    .careers-stat-item {
        min-width: 160px;
        padding: 1rem 1.5rem;
    }
    
    .careers-stat-number {
        font-size: 1.75rem;
    }
    
    .careers-stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .careers-hero-section {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .careers-hero-title {
        font-size: 2.5rem;
    }

    .careers-hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .careers-hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .careers-hero-badge {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .careers-hero-stats {
        gap: 1.5rem;
        margin: 2.5rem 0 2.5rem;
    }
    
    .careers-stat-item {
        min-width: 140px;
        padding: 1rem 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .careers-stat-content {
        text-align: center;
    }
    
    .careers-stat-number {
        font-size: 1.5rem;
    }
    
    .careers-stat-label {
        font-size: 0.8rem;
    }
    
    .careers-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .job-detail-card {
        padding: 25px;
    }

    .job-detail-title {
        font-size: 1.8rem;
    }

    .application-form-card {
        padding: 25px;
    }

    .job-card-footer {
        flex-direction: column;
    }

    .job-card-footer .btn {
        width: 100%;
    }

    .job-detail-actions {
        flex-direction: column;
    }

    .job-detail-actions .btn {
        width: 100%;
    }

    .job-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .careers-filters .row {
        margin: 0;
    }

    .careers-filters .col-md-3,
    .careers-filters .col-md-2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .careers-hero-section {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .careers-hero-title {
        font-size: 2rem;
    }
    
    .careers-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .careers-hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .careers-hero-badge {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .careers-hero-stats {
        gap: 1rem;
        margin: 2rem 0 2rem;
    }
    
    .careers-stat-item {
        min-width: calc(50% - 0.5rem);
        padding: 0.875rem 1rem;
    }
    
    .careers-stat-number {
        font-size: 1.35rem;
    }
    
    .careers-stat-label {
        font-size: 0.75rem;
    }
    
    .careers-learn-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .careers-cta-arrow {
        width: 35px;
        height: 35px;
    }

    .job-card {
        padding: 20px;
    }

    .job-title {
        font-size: 1.2rem;
    }

    .job-detail-card {
        padding: 20px;
    }

    .application-form-card {
        padding: 20px;
    }
}

