/* Careers Page Styles */

/* Theme colors */
:root {
    --mountain-darker: #553231;
    --mountain: #6A3E3D;
    --mountain-lighter: #886564;
    --water-darker: #26496B;
    --water: #305B86;
    --water-lighter: #597C9E;
    --sun-darker: #B77A0A;
    --sun: #E5990C;
    --sun-lighter: #EAAD3D;
    --plant-darker: #5A6D28;
    --plant: #718832;
    --plant-lighter: #8DA05B;
    --monotone-dark: #1A112E;
    --monotone-light: #F3E8D3;
}

/* Hero Section - matching admissions page */
.hero-section {
    background: linear-gradient(135deg, var(--monotone-dark) -50%, var(--water-darker) 0%, var(--water) 30%, var(--water-lighter) 80%, var(--monotone-dark) 150%) !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 50%, var(--sun) 200%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    white-space: nowrap;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-custom a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.breadcrumb-custom i.divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    font-size: 12px;
}

.breadcrumb-custom span {
    color: var(--sun-lighter);
    font-weight: 600;
}

/* Career page specific styles */
.career-form {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.job-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--water);
}

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

.job-title {
    font-size: 1.3rem;
    color: var(--monotone-dark);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

.job-meta span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    background-color: rgba(48, 91, 134, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
}

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

.job-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.job-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-apply {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--water) 0%, var(--water-darker) 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--water-darker) 0%, var(--water) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 91, 134, 0.3);
}

.no-jobs-message {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(48, 91, 134, 0.05);
    border-radius: 10px;
    border: 1px dashed rgba(48, 91, 134, 0.2);
}

.no-jobs-message i {
    font-size: 3rem;
    color: var(--water-lighter);
    margin-bottom: 15px;
}

.no-jobs-message p {
    color: #666;
    font-size: 1.1rem;
    max-width: 80%;
    margin: 0 auto;
}

/* School info styles */
.school-info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    height: 100%;
    margin-bottom: 30px;
}

.school-info-title {
    font-size: 1.5rem;
    color: var(--monotone-dark);
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

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

.info-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
}

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

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(48, 91, 134, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--water);
    font-size: 1.2rem;
}

.info-content {
    flex: 1;
}

.info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.school-map {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.school-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.custom-file-upload {
    border: 1px dashed #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.custom-file-upload:hover {
    background-color: #f8f9fa;
    border-color: var(--water);
}

.custom-file-upload i {
    font-size: 2rem;
    color: var(--water);
    margin-bottom: 10px;
}

.custom-file-text {
    font-size: 0.9rem;
    color: #666;
}

.file-name {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #333;
    display: none;
}

/* Section styling */
.section-title .subtitle {
    color: var(--water);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    color: var(--monotone-dark);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-title .section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--monotone-dark);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 73, 107, 0.7) 0%, rgba(26, 17, 46, 0.85) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-premium {
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--sun) 0%, var(--sun-darker) 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--sun-darker) 0%, var(--sun) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 153, 12, 0.3);
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sun) 0%, var(--sun-lighter) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--sun);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    transform: translateY(100px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .breadcrumb-custom {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .breadcrumb-custom i.divider {
        margin: 0 5px;
        font-size: 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .job-meta span {
        font-size: 0.8rem;
    }
    
    .career-form, .school-info-card {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
