/* Careers Page Styles */

/* Careers Hero */
.careers-hero {
    position: relative;
    height: 520px;
    background: linear-gradient(135deg, var(--primary-color), #4834d4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0,206,201,0.15) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(2%, -2%) rotate(1deg); }
}

.careers-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.careers-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 20px;
}

.careers-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.careers-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.careers-hero .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 14px 32px;
    font-size: 16px;
}

.careers-hero .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4);
    transform: translateY(-2px);
}

/* Section Title */
.careers-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 50px;
    position: relative;
}

.careers-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Employee Saying Section */
.employee-saying-section {
    padding: 80px 0;
    background: var(--white);
}

.employee-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.employee-stat-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.employee-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.stat-percent {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.employee-stat-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.employee-stat-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonial Carousel */
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 25px;
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-quote p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 15px;
    color: var(--text-color);
}

.author-info span {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Why Join Section */
.why-join-section {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.why-join-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.why-join-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-join-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.why-join-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.why-join-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.why-join-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Scroll Animation */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-join-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .careers-hero {
        height: 400px;
    }

    .careers-hero h1 {
        font-size: 36px;
    }

    .careers-hero p {
        font-size: 18px;
    }

    .employee-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-carousel {
        grid-template-columns: 1fr;
    }

    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .careers-section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .careers-hero {
        height: 350px;
    }

    .careers-hero h1 {
        font-size: 28px;
    }

    .stat-circle {
        width: 100px;
        height: 100px;
    }

    .stat-percent {
        font-size: 30px;
    }
}
