/* Careers Page Styles - Professional & Modern */
.careers-main {
    margin-top: 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.careers-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.careers-hero p {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Team Photos Section */
.team-photos {
    padding: 5rem 0;
    background: white;
}

.team-photos h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/10;
}

.photo-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.team-photo,
.office-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.photo-item:hover .team-photo,
.photo-item:hover .office-photo {
    transform: scale(1.05);
}

.team-photo:hover,
.office-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover figcaption {
    transform: translateY(0);
}

/* Responsive adjustments for photo grid */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .photo-item {
        aspect-ratio: 4/3;
    }
    
    .photo-item figcaption {
        transform: translateY(0);
        padding: 1.5rem 1rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        gap: 1.5rem;
    }
    
    .photo-item {
        aspect-ratio: 3/2;
    }
    
    .photo-item figcaption {
        padding: 1rem 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Careers Sections */
.careers-section {
    padding: 5rem 0;
}

.careers-section:nth-child(even) {
    background: #f8fafc;
}

.careers-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* What We Look For */
.qualities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quality-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.quality-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.quality-item p {
    color: #666;
    margin: 0;
}

/* Open Roles */
.roles-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.role-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.role-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.role-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.role-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.role-meta .location,
.role-meta .type {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.role-content {
    display: grid;
    gap: 2rem;
}

.role-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.role-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-section li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.role-section li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* How We Hire Process */
.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

.process-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

/* Benefits & Perks */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.benefit-item p {
    color: #666;
    margin: 0;
}

/* How to Apply */
.apply-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.apply-intro a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.apply-intro a:hover {
    text-decoration: underline;
}

/* Application Form */
.application-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-fieldset legend {
    font-weight: 600;
    color: #374151;
    padding: 0 0.5rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-label span {
    line-height: 1.4;
}

.checkbox-label a {
    color: #2563eb;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.submit-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Equal Opportunity */
#eeo {
    background: #f8fafc;
}

#eeo p {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .qualities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    
    .careers-section h2 {
        font-size: 2rem;
    }
    
    .team-photos h2 {
        font-size: 2rem;
    }
    
    .role-card {
        padding: 2rem;
    }
    
    .application-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-fieldset {
        padding: 1rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .careers-hero {
        padding: 3rem 0;
    }
    
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero p {
        font-size: 1.1rem;
    }
    
    .careers-section {
        padding: 3rem 0;
    }
    
    .careers-section h2 {
        font-size: 1.75rem;
    }
    
    .team-photos h2 {
        font-size: 1.75rem;
    }
    
    .photo-grid {
        gap: 2rem;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .role-card {
        padding: 1.5rem;
    }
    
    .role-header h3 {
        font-size: 1.5rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .submit-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .quality-item,
    .benefit-item {
        padding: 1.5rem;
    }
}
