/**
 * UniversTex Website - Jobs Page Styles
 */

/* =========================================
   JOBS/RECRUITMENT SECTION
   ========================================= */
.jobs-embed-container {
    max-width: 100%;
    margin: 40px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.jobs-iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.jobs-fallback {
    padding: 40px 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.jobs-fallback a {
    color: var(--accent-terra);
    font-weight: bold;
    text-decoration: none;
}

.jobs-fallback a:hover {
    text-decoration: underline;
}

.jobs-actions {
    margin-top: 40px;
}

/* =========================================
   DEDICATED JOBS PAGE STYLES
   ========================================= */
.jobs-hero {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--accent-terra) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.jobs-hero .hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.jobs-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.jobs-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.jobs-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.jobs-benefits {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.jobs-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-brown);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 0;
    font-weight: 600;
}

.jobs-openings {
    padding: 100px 0;
    background: white;
}

.jobs-openings .container {
    max-width: 800px;
}

.jobs-openings h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-brown);
}

.jobs-openings p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
}

.cta-section {
    text-align: center;
    margin-top: 50px;
}

.cta-section p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 30px;
}

.primary-btn {
    background: var(--accent-terra);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: 2px solid var(--accent-terra);
}

.primary-btn:hover {
    background: var(--accent-terra-dark);
    border-color: var(--accent-terra-dark);
    color: white;
    text-decoration: none;
}

.jobs-contact {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.jobs-contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-brown);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    color: var(--primary-brown);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-card strong {
    color: var(--primary-brown);
}

/* =========================================
   EMPLOYEE TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-brown);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-terra);
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary-brown);
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =========================================
   FOUNDERS MESSAGE SECTION
   ========================================= */
.founders-message {
    padding: 100px 0;
    background: white;
}

.founders-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founders-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founders-text h2 {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 30px;
}

.founders-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.founders-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--accent-terra);
}

.founders-signature p {
    font-style: italic;
    color: var(--primary-brown);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .jobs-iframe {
        height: 600px;
    }

    /* Jobs page responsive */
    .jobs-hero {
        padding: 100px 0 60px;
    }

    .jobs-hero h1 {
        font-size: 2.5rem;
    }

    .jobs-hero p {
        font-size: 1.1rem;
    }

    .jobs-benefits,
    .jobs-openings,
    .jobs-contact {
        padding: 70px 0;
    }

    .jobs-benefits h2,
    .jobs-openings h2,
    .jobs-contact h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    /* Founders message responsive */
    .founders-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .founders-text h2 {
        font-size: 2rem;
    }
}