/* Careers Page Specific Styles */

/* Page Header */
.careers-header {
    background: linear-gradient(rgba(26, 95, 122, 0.7), rgba(44, 122, 138, 0.7)), url('/images/unsplash/headers/power-pose-leadership.jpg') center/cover no-repeat;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
    color: white;
}

.careers-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.careers-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Body Content */
.careers-body {
    padding: 50px 0;
    background: #f8f9fa;
}

/* Careers Section */
.careers-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.careers-text h2 {
    color: #1a5f7a;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 25px;
}

.careers-text p {
    color: #495057;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.careers-text p:last-of-type {
    margin-bottom: 30px;
}

.careers-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Opportunities Section */
.opportunities-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.opportunities-text h2 {
    color: #1a5f7a;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 25px;
}

.opportunities-text p {
    color: #495057;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.opportunities-text p:last-of-type {
    margin-bottom: 30px;
}

.opportunities-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Apply Button */
.apply-btn {
    background: linear-gradient(135deg, #1a5f7a, #2c7a8a);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 95, 122, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .careers-header {
        padding: 80px 0 60px;
        margin-top: 60px;
    }
    
    .careers-header h1 {
        font-size: 2rem;
    }
    
    .careers-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .careers-body {
        padding: 40px 0;
    }
    
    .careers-section,
    .opportunities-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .careers-text h2,
    .opportunities-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .careers-text p,
    .opportunities-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .careers-text p:last-of-type,
    .opportunities-text p:last-of-type {
        margin-bottom: 25px;
    }
    
    .careers-image {
        order: 1; /* Careers image first */
    }
    
    .careers-text {
        order: 2; /* Careers text second */
    }
    
    .opportunities-image {
        order: 3; /* Opportunities image third */
    }
    
    .opportunities-text {
        order: 4; /* Opportunities text last */
    }
    
    .careers-image img,
    .opportunities-image img {
        height: 300px;
    }
    
    .apply-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .careers-header {
        padding: 60px 0 40px;
        margin-top: 50px;
    }
    
    .careers-header h1 {
        font-size: 1.8rem;
    }
    
    .careers-header p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .careers-body {
        padding: 30px 0;
    }
    
    .careers-section,
    .opportunities-section {
        gap: 30px;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .careers-text h2,
    .opportunities-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .careers-text p,
    .opportunities-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .careers-image {
        order: 1; /* Careers image first */
    }
    
    .careers-text {
        order: 2; /* Careers text second */
    }
    
    .opportunities-image {
        order: 3; /* Opportunities image third */
    }
    
    .opportunities-text {
        order: 4; /* Opportunities text last */
    }
    
    .careers-image img,
    .opportunities-image img {
        height: 250px;
        border-radius: 10px;
    }
    
    .apply-btn {
        padding: 10px 25px;
        font-size: 14px;
        border-radius: 20px;
    }
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
}
