/* Career Page Styles - Professional Design */
/* Extends base styles from styles.css for career-specific components */

/* Career Hero Section - Clean & Professional */
.career-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--neutral-100);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden; /* Prevent horizontal scrolling issues */
}

.career-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md); /* Add default padding for better mobile spacing */
}

.career-hero__title {
    font-size: 40px !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    word-wrap: break-word; /* Ensure long words don't overflow */
}

.career-hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem); /* Better responsive scaling */
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    word-wrap: break-word; /* Ensure text wraps properly */
}

/* Why Join Us Section */
.why-join-us {
    padding: 80px 0;
    background: var(--neutral-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: var(--neutral-100);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card__icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--neutral-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.benefit-card__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 1rem;
}

.benefit-card__content p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.company-stats {
    background: var(--neutral-100);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--neutral-600);
    font-weight: 500;
}

/* Enhanced Mobile Responsiveness - 992px and below */
@media (max-width: 992px) {
    .career-hero {
        padding: 60px 0 40px; /* Significantly reduced height for professional mobile look */
    }
    
    .career-hero__content {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .career-hero__title {
        font-size: 32px; /* Professional tablet size */
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .career-hero__subtitle {
        font-size: clamp(1rem, 3vw, 1.15rem);
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .career-hero {
        padding: 50px 0 35px; /* Even more compact for mobile phones */
    }
    
    .career-hero__content {
        padding: 0 1rem; /* Better horizontal padding */
    }
    
    .career-hero__title {
        font-size: 30px; /* Professional phone size */
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .career-hero__subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem); /* Better responsive scaling */
        line-height: 1.4;
        margin: 0 auto;
        max-width: 95%; /* Ensure text doesn't touch screen edges */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Current Openings Section */
.current-openings {
    padding: 80px 0;
    background: var(--neutral-100);
}

.current-openings .section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: block;
}

.current-openings .section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    width: 100%;
}

.current-openings .section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    display: block;
    width: 100%;
}

.job-listings {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.job-card {
    background: var(--neutral-100);
    border: 1px solid var(--neutral-300);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-standard);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition-standard);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.15);
    border-color: var(--primary-light);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card__header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
    position: relative;
}

.job-card__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neutral-300), transparent);
}

.job-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.job-card__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.job-card__type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--neutral-100);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

.job-card__type i {
    font-size: 0.9rem;
}

.job-card__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.job-card__deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.job-card__deadline.expired {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
}

.deadline-status {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.job-card__content {
    padding: 2rem 2.5rem 2.5rem;
}

.job-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
}

.job-card__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.job-card__apply,
.job-card__contact {
    padding: 1rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-standard);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.job-card__apply span,
.job-card__contact span {
    position: relative;
    z-index: 3;
}

.job-card__apply i,
.job-card__contact i {
    position: relative;
    z-index: 3;
}

.job-card__apply::before,
.job-card__contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.job-card__apply:hover::before,
.job-card__contact:hover::before {
    left: 100%;
}

.job-card__apply {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--neutral-100) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.job-card__apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--neutral-100) !important;
}

.job-card__contact {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.job-card__contact:hover {
    background: var(--primary-color) !important;
    color: var(--neutral-100) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.2);
}

/* No Openings Section - Enhanced Design */
.no-openings {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--neutral-200) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.no-openings::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 82, 204, 0.05), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-openings__icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
    position: relative;
    z-index: 2;
}

.no-openings__icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.no-openings__icon i {
    font-size: 2.5rem;
    color: var(--neutral-100);
    z-index: 3;
    position: relative;
}

.no-openings h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.no-openings p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.no-openings__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.no-openings__actions .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition-standard);
}

.no-openings__actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Job Card Loading State */
.job-card__apply.loading,
.job-card__contact.loading {
    pointer-events: none;
    opacity: 0.7;
}

.job-card__apply.loading i,
.job-card__contact.loading i {
    animation: spin 1s linear infinite;
}

/* Enhanced Section Divider */
.current-openings + .career-process {
    position: relative;
}

.current-openings + .career-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
}

/* Career Process Section */
.career-process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--neutral-800) 0%, var(--secondary-color) 100%);
    color: var(--neutral-100);
}

.career-process .section-header h2,
.career-process .section-subtitle {
    color: var(--neutral-100);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step__icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
    transition: var(--transition-standard);
}

.process-step:hover .process-step__icon {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(0, 82, 204, 0.4);
}

.process-step__icon i {
    font-size: 1.5rem;
    color: var(--neutral-100);
    z-index: 2;
    position: relative;
}

.process-step__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--neutral-100);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.process-step__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neutral-100);
}

.process-step__content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Navigation Active State */
.nav__item--active > a {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav__item--active > a::after {
    width: 100% !important;
    opacity: 1 !important;
}

/* Enhanced Modal Styles for Career Page */
.modal__benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modal__benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--neutral-700);
}

.modal__benefits li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .career-hero__grid {
        grid-template-columns: 1fr 350px;
        gap: 3rem;
    }
    
    .career-hero__title {
        font-size: 35.2px;
    }
    
    .career-stats-card {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .career-hero {
        padding: 120px 0 80px;
    
    }
    
    .career-hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .career-hero__content {
        max-width: 100%;
    }
    
    .career-hero__title {
        font-size: 33px;
    }
    
    .career-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .career-hero__features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .career-feature {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .career-stats-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .job-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-card__meta {
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
        gap: 0.75rem;
    }
    
    .job-card__deadline,
    .job-card__date,
    .job-card__type {
        font-size: 0.85rem;
    }
    
    .job-card__deadline {
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 100px 0 60px;
    }
    
    .career-hero__title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .career-hero__title-highlight::after {
        height: 2px;
        bottom: -3px;
    }
    
    .career-hero__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .career-hero__actions {
        flex-direction: column;
        margin-bottom: 3rem;
        gap: 0.75rem;
    }
    
    .career-hero__btn {
        padding: 0.875rem 1.5rem;
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .career-hero__features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .career-feature {
        padding: 0.75rem;
    }
    
    .career-feature__icon {
        width: 35px;
        height: 35px;
    }
    
    .career-feature__content h4 {
        font-size: 0.9rem;
    }
    
    .career-feature__content p {
        font-size: 0.75rem;
    }
    
    .career-stats-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .career-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .career-stat {
        padding: 0.75rem;
    }
    
    .career-stat__number {
        font-size: 1.5rem;
    }
    
    .career-stat__label {
        font-size: 0.7rem;
    }
    
    .career-benefits {
        gap: 0.5rem;
    }
    
    .career-benefit {
        font-size: 0.8rem;
    }
    
    .current-openings {
        padding: 80px 0;
    }
    
    .current-openings .section-header {
        margin-bottom: 3rem;
        display: block;
        text-align: center;
    }
    
    .current-openings .section-header h2 {
        font-size: 2rem;
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .current-openings .section-subtitle {
        display: block;
        width: 100%;
    }
    
    .job-listings {
        margin-top: 3rem;
    }
    
    .job-card__header {
        padding: 2rem 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-card__header::after {
        left: 2rem;
        right: 2rem;
    }
    
    .job-card__meta {
        flex-direction: row;
        align-items: center;
        align-self: stretch;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .job-card__content {
        padding: 1.5rem 2rem 2rem;
    }
    
    .job-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .job-card__apply,
    .job-card__contact {
        justify-content: center;
        width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .no-openings {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }
    
    .no-openings__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
        gap: 0.75rem;
    }
    
    .career-cta__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .career-cta__content h2 {
        font-size: 2rem;
    }
    
    /* Hide some decorative shapes on mobile for better performance */
    .shape--3,
    .shape--4 {
        display: none;
    }
}

@media (max-width: 480px) {
    .career-hero {
        padding: 45px 0 30px; /* Professional compact height for small phones */
    }
    
    .career-hero__content {
        padding: 0 1.2rem; /* Better side padding for small screens */
        max-width: 100%;
    }
    
    .career-hero__title {
        font-size: clamp(1.4rem, 7vw, 1.8rem); /* Optimized for very small screens */
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .career-hero__subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem); /* Better scaling */
        line-height: 1.4;
        margin: 0 auto 1rem;
        max-width: 95%;
    }
    
    .career-hero__actions {
        margin-bottom: 2rem;
    }
    
    .career-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .career-stats-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .career-stats-card__header h3 {
        font-size: 1.25rem;
    }
    
    .career-stats-grid {
        gap: 0.75rem;
    }
    
    .career-stat {
        padding: 0.5rem;
    }
    
    .career-stat__number {
        font-size: 1.3rem;
    }
    
    .career-stat__label {
        font-size: 0.65rem;
    }

/* Very small mobile devices - Enhanced responsiveness */
@media (max-width: 360px) {
    .career-hero {
        padding: 40px 0 25px; /* Very compact for tiny screens */
    }
    
    .career-hero__content {
        padding: 0 1rem;
    }
    
    .career-hero__title {
        font-size: 28px; /* Professional size for mobile */
        margin-bottom: 0.6rem;
        line-height: 1.1;
    }
    
    .career-hero__subtitle {
        font-size: clamp(0.8rem, 4vw, 0.9rem);
        line-height: 1.4;
        margin: 0 auto 0.8rem;
    }
}
    
    .current-openings {
        padding: 60px 0;
    }
    
    .current-openings .section-header {
        margin-bottom: 2.5rem;
        display: block;
        text-align: center;
    }
    
    .current-openings .section-header h2 {
        font-size: 1.8rem;
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .current-openings .section-subtitle {
        font-size: 1rem;
        display: block;
        width: 100%;
    }
    
    .job-listings {
        margin-top: 2.5rem;
    }
    
    .job-card__header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .job-card__header::after {
        left: 1.5rem;
        right: 1.5rem;
    }
    
    .job-card__title {
        font-size: 1.5rem;
    }
    
    .job-card__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .job-card__content {
        padding: 1.5rem;
    }
    
    .job-card__description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .job-card__actions {
        gap: 0.5rem;
    }
    
    .job-card__apply,
    .job-card__contact {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .no-openings {
        padding: 2.5rem 1rem;
        margin-top: 2.5rem;
    }
    
    .no-openings__icon {
        width: 80px;
        height: 80px;
    }
    
    .no-openings__icon i {
        font-size: 2rem;
    }
    
    .no-openings h3 {
        font-size: 1.75rem;
    }
    
    .no-openings p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .career-process {
        padding: 60px 0;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Reduce shape sizes on very small screens */
    .shape--1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }
    
    .shape--2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: -75px;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .career-hero__grid {
        grid-template-columns: 1fr 450px;
        gap: 5rem;
    }
    
    .career-hero__title {
        font-size: 4rem;
    }
    
    .career-hero__subtitle {
        font-size: 1.3rem;
    }
    
    .career-stats-card {
        padding: 2.5rem;
    }
}

/* High-resolution screens */
@media (min-width: 1920px) {
    .career-hero__grid {
        gap: 6rem;
    }
    
    .career-hero__title {
        font-size: 4.5rem;
    }
}

/* Loading Animation for Job Buttons */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .benefit-card,
    .job-card {
        border-width: 2px;
    }
    
    .career-stat {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Print Styles */
@media print {
    .career-hero,
    .career-cta,
    .footer,
    .header {
        display: none;
    }
    
    .why-join-us,
    .current-openings,
    .career-process {
        page-break-inside: avoid;
        margin: 1rem 0;
    }
    
    .job-card {
        page-break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Job Application Modal Styles */
.modal__container--large {
    max-width: 700px;
    width: 90%;
}

.job-application-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-200);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--error-color, #dc2626);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--neutral-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--neutral-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* File Upload Styles */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--neutral-300);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--neutral-50);
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-light, #f0f9ff);
}

.file-upload-area.drag-over {
    border-color: var(--primary-color);
    background: var(--primary-light, #f0f9ff);
    transform: scale(1.02);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.file-upload-content p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.file-upload-content small {
    color: var(--neutral-500);
    font-size: 0.9rem;
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-light, #f0f9ff);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.file-selected i {
    font-size: 2rem;
    color: var(--primary-color);
}

.file-selected span {
    flex: 1;
    font-weight: 500;
    color: var(--neutral-700);
}

.clear-file {
    background: var(--neutral-200);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clear-file:hover {
    background: var(--neutral-300);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
    margin-top: 2rem;
}

/* Application Success State */
.application-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color, #22c55e);
    margin-bottom: 1.5rem;
}

.application-success h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.application-success p {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Error Styling */
.form-error {
    background: var(--error-light, #fef2f2);
    color: var(--error-dark, #991b1b);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--error-color, #dc2626);
    margin-top: 1rem;
    font-weight: 500;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal__container--large {
        width: 95%;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .file-upload-area {
        padding: 1.5rem;
    }
    
    .file-upload-content i {
        font-size: 2.5rem;
    }
}

/* Footer Subscribe Button Fix - Match Index Page - High Specificity Override */
footer.footer .footer__column.footer__subscribe .subscribe-form .btn,
footer.footer .footer__subscribe .subscribe-form button[type="submit"],
.footer .footer__subscribe .subscribe-form .btn {
    background-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    background-color: #0052cc !important;
    background: #0052cc !important;
    color: white !important;
    border: none !important;
    border-color: var(--primary-color) !important;
}

footer.footer .footer__column.footer__subscribe .subscribe-form .btn:hover,
footer.footer .footer__subscribe .subscribe-form button[type="submit"]:hover,
.footer .footer__subscribe .subscribe-form .btn:hover {
    background-color: var(--primary-dark) !important;
    background: var(--primary-dark) !important;
    background-color: #003d99 !important;
    background: #003d99 !important;
    color: white !important;
    border-color: var(--primary-dark) !important;
}

/* Enhanced Tablet Responsiveness - iPad Mini & iPad Air */
@media (min-width: 768px) and (max-width: 1024px) {
    .career-hero {
        padding: 100px 0 60px;
    }
    
    .career-hero__title {
        font-size: 2.8rem;
    }
    
    .career-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .why-join-us {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .current-openings {
        padding: 60px 0;
    }
    
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .career-process {
        padding: 60px 0;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .modal__container--large {
        width: 90%;
        max-width: 700px;
    }
    
    .modal-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .modal-form-group.full-width {
        grid-column: 1 / -1;
    }
}

/* iPad Mini specific adjustments (768px - 820px) */
@media (min-width: 768px) and (max-width: 820px) {
    .career-hero__title {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .jobs-grid {
        gap: 1rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
}

/* iPad Air and larger tablets (821px - 1024px) */
@media (min-width: 821px) and (max-width: 1024px) {
    .career-hero__title {
        font-size: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 767px) {
    .career-hero {
        padding: 80px 0 50px;
    }
    
    .career-hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .career-hero__subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .why-join-us {
        padding: 40px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .current-openings {
        padding: 40px 0;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .career-process {
        padding: 40px 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        text-align: center;
        padding: 1.5rem;
    }
    
    .modal__container--large {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-form-group input,
    .modal-form-group select,
    .modal-form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        min-height: 44px;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* File upload styling for mobile */
    .file-upload-area {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .file-upload-text {
        font-size: 0.9rem;
    }
    
    /* Job card enhancements for mobile */
    .job-card__title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .job-card__location,
    .job-card__type {
        font-size: 0.9rem;
    }
    
    .job-card__actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-card__actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .career-hero__title {
        font-size: 1.8rem;
    }
    
    .career-hero__subtitle {
        font-size: 0.95rem;
    }
    
    .benefit-card,
    .job-card,
    .step-card {
        padding: 1rem;
    }
    
    .modal__container--large {
        width: 98%;
        margin: 0.5rem;
    }
    
    .file-upload-area {
        padding: 1.5rem 0.5rem;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .career-hero {
        padding: 60px 0 40px;
    }
    
    .career-hero__title {
        font-size: 2rem;
    }
    
    .modal__container--large {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Focus and accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .benefit-card,
    .job-card,
    .step-card,
    .btn,
    .modal {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    .career-hero {
        background: none !important;
        color: #000 !important;
        padding: 1rem 0;
    }
    
    .career-hero__title {
        color: #000 !important;
        font-size: 2rem;
    }
    
    .btn,
    .modal,
    .file-upload-area {
        display: none !important;
    }
    
    .job-card {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
}
.subscribe-form input {
      border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--neutral-100);
        padding: 0.75rem 1rem;
}