/* Jobs Page Specific Styles */

/* ===== PAGE LAYOUT ===== */
body {
    padding-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== MAIN CONTENT ===== */
.jobs-content {
    padding: 5rem 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ===== JOB POSITIONS SECTION ===== */
.positions-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.positions-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.positions-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.positions-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.positions-content {
    padding: 2rem;
}

.no-positions-message {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 2rem;
}

.no-positions-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-suggestion {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    text-align: center;
}

.contact-suggestion h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-suggestion p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== FELLOWSHIP SECTION ===== */
.fellowship-section {
    background: var(--background-light);
    padding: 3rem 0;
    margin-top: 3rem;
    border-radius: var(--border-radius);
}

.fellowship-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fellowship-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.fellowship-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.fellowship-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fellowship-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.fellowship-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fellowship-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.fellowship-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.fellowship-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.fellowship-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.fellowship-link:hover {
    text-decoration: underline;
}

/* ===== SIDEBAR IMAGE ===== */
.sidebar-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: sticky;
    top: 100px;
}

.sidebar-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sidebar-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.sidebar-caption {
    background: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.sidebar-caption h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.sidebar-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== APPLICATION PROCESS SECTION ===== */
.application-process {
    background: var(--white);
    padding: 4rem 0;
    margin-top: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: var(--background-light);
    padding: 4rem 0;
    margin-top: 3rem;
    border-radius: var(--border-radius);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 4rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-position {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .jobs-content {
        padding: 3rem 0;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar-image {
        position: static;
        order: -1;
    }

    .sidebar-image img {
        height: 300px;
    }

    .positions-header,
    .positions-content,
    .contact-suggestion,
    .fellowship-content {
        padding: 1.5rem;
    }

    .fellowship-list,
    .process-steps,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .application-process,
    .benefits-section,
    .testimonials-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .positions-header,
    .positions-content,
    .contact-suggestion,
    .fellowship-item,
    .process-step,
    .benefit-card,
    .testimonial-card {
        padding: 1rem;
    }

    .sidebar-image img {
        height: 250px;
    }

    .fellowship-content h3,
    .section-title {
        font-size: 1.5rem;
    }

    .step-number,
    .fellowship-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}