/* Auxiliary Pages CSS - TalentCycle */

/* Page Header for auxiliary pages */
.page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4f7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Navigation for auxiliary pages */
.nav {
    margin-left: auto;
}

.nav-link {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f8fafa;
    color: #ff7f66;
}

/* About page specific styles */
.about-content,
.leadership-section,
.innovation-section,
.commitment-section {
    padding: 5rem 0;
}

.leadership-section,
.commitment-section {
    background-color: #f8fafa;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-block h2 {
    margin-bottom: 1.5rem;
    color: #1e3a5f;
}

.content-block p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Legal pages styles */
.legal-content {
    padding: 5rem 0;
    min-height: 60vh;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.legal-text h2 {
    color: #1e3a5f;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-text h3 {
    color: #1e3a5f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text em {
    font-style: italic;
    color: #9caf88;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    margin: 2rem 0;
}

/* Responsive styles for auxiliary pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .about-content,
    .values-section,
    .approach-section,
    .legal-content {
        padding: 3rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-block h2 {
        font-size: 2rem;
    }
    
    .legal-text {
        font-size: 1rem;
    }
}

/* Job Posting Styles */
.job-content {
    padding: 5rem 0;
}

.job-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.job-description {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.job-overview {
    margin-bottom: 3rem;
}

.job-overview h2 {
    color: #1e3a5f;
    margin-bottom: 1.5rem;
}

.job-overview p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-section {
    margin-bottom: 3rem;
}

.job-section h3 {
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.job-section li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.job-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9caf88;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Application Form Styles */
.application-form {
    position: sticky;
    top: 2rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    border-left: 4px solid #9caf88;
}

.form-container h3 {
    color: #1e3a5f;
    margin-bottom: 2rem;
    text-align: center;
}

.job-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9caf88;
}

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

.form-group small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label a {
    color: #1e3a5f;
    text-decoration: none;
}

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

.submit-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design for Job Page */
@media (max-width: 1024px) {
    .job-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .application-form {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-content {
        padding: 3rem 0;
    }
    
    .job-description,
    .form-container {
        padding: 2rem;
    }
    
    .job-layout {
        gap: 2rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}