/* XpertTalent - Non-Critical Stylesheet */



/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Process Section */
.process {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-light);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 20%;
}

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

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background-color: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.industry-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-10px);
}

.industry-image {
    height: 200px;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.industry-card:hover .industry-image img {
    transform: scale(1.1);
}

.industry-content {
    padding: 20px;
}

.industry-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.industry-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
    margin-top: 50px;
    position: relative;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.testimonial-text:before {
    top: -20px;
    left: -20px;
}

.testimonial-text:after {
    bottom: -40px;
    right: -20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent);
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--accent);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent);
}

.contact-text {
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

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

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--accent);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: var(--light);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Job Categories Section */
.job-categories {
    padding: 80px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    background: var(--gray-light);
    color: var(--secondary);
    border: none;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 30px;
}

.category-tab.active,
.category-tab:hover {
    background: var(--primary);
    color: white;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    transition: transform 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-logo {
    flex: 0 0 80px;
    height: 80px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 8px;
}

.job-logo img {
    max-width: 100%;
    max-height: 60px;
}

.job-details {
    flex: 1;
}

.job-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.job-company {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-meta span {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.job-meta i {
    margin-right: 5px;
    color: var(--accent);
}

/* Non-critical responsive styles */
@media (max-width: 1045px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 45%;
        margin-bottom: 40px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .services-grid, 
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .job-list {
        grid-template-columns: 1fr;
    }
    
    .step {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Additional Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

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