/* 
 * BUILD SCITECH Careers Page Styles
 * ==================================================
 * Professional styling for careers and internship opportunities
 */

/* Hero Section */
.careers_hero_section {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.careers_hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.careers_hero_section .container {
    position: relative;
    z-index: 2;
}

.hero_title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero_subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero_stats {
    margin-top: 3rem;
}

.stat_item {
    padding: 1rem;
}

.stat_number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat_label {
    font-size: 1rem;
    font-weight: 500;
}

/* Section Styling */
.section_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.section_subtitle {
    font-size: 1.125rem;
    color: var(--bs-body-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section_space {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Benefit Cards */
.benefit_card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.benefit_icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.benefit_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.benefit_description {
    color: var(--bs-body-color);
    line-height: 1.6;
    margin: 0;
}

/* Internship Cards */
.internship_card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card_header {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.role_icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.role_info {
    flex: 1;
}

.role_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.role_tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.card_body {
    padding: 1.5rem;
}

.role_description {
    color: var(--bs-body-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.role_requirements h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
}

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

.role_requirements li {
    padding: 0.25rem 0;
    color: var(--bs-body-color);
    position: relative;
    padding-left: 1.5rem;
}

.role_requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bs-success);
    font-weight: bold;
}

.card_footer {
    padding: 0 1.5rem 1.5rem;
}

/* Process Steps */
.process_step {
    padding: 2rem 1rem;
}

.step_number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step_title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.step_description {
    color: var(--bs-body-color);
    line-height: 1.6;
    margin: 0;
}

/* Culture Section */
.culture_description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--bs-body-color);
}

.culture_values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value_item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--bs-dark);
}

.value_item i {
    width: 40px;
    height: 40px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.culture_image img {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta_description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Application Modal */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #dee2e6;
}

/* Form Styling */
.application-form .form-label {
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.application-form .form-control,
.application-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 68, 235, 0.25);
}

.application-form .form-control[readonly] {
    background-color: #f8f9fa;
    color: var(--bs-dark);
}

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

.form-check-label {
    color: var(--bs-body-color);
    line-height: 1.5;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 68, 235, 0.3);
}

.btn-light {
    background: white;
    color: var(--bs-primary);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer Styling */
.site_footer {
    background: var(--bs-dark);
    color: white;
}

.footer_widget h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer_links li {
    margin-bottom: 0.75rem;
}

.footer_links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_links a:hover {
    color: white;
}

.contact_info .contact_item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact_info .contact_item i {
    width: 40px;
    height: 40px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social_links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social_links a {
    width: 40px;
    height: 40px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social_links a:hover {
    background: var(--bs-secondary);
    transform: translateY(-2px);
}

.footer_bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_bottom_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.footer_bottom_links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer_bottom_links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero_title {
        font-size: 2.5rem;
    }
    
    .section_title {
        font-size: 2rem;
    }
    
    .section_space {
        padding: 60px 0;
    }
    
    .careers_hero_section {
        padding: 80px 0 60px;
    }
}

@media (max-width: 767px) {
    .hero_title {
        font-size: 2rem;
    }
    
    .hero_subtitle {
        font-size: 1.125rem;
    }
    
    .section_title {
        font-size: 1.75rem;
    }
    
    .section_space {
        padding: 40px 0;
    }
    
    .careers_hero_section {
        padding: 60px 0 40px;
    }
    
    .benefit_card,
    .internship_card {
        margin-bottom: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .footer_bottom_links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero_title {
        font-size: 1.75rem;
    }
    
    .section_title {
        font-size: 1.5rem;
    }
    
    .stat_number {
        font-size: 2rem;
    }
    
    .benefit_icon,
    .role_icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step_number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading .btn-label {
    display: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error States */
.form-control.is-valid {
    border-color: var(--bs-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 2.89 2.89 2.89-2.89.94.94L5.3 9.56z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: var(--bs-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-danger);
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .benefit_card,
    .internship_card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .benefit_card,
    .internship_card,
    .btn {
        transition: none;
    }
    
    .benefit_card:hover,
    .internship_card:hover {
        transform: none;
    }
}
