/**
 * RecruteRDC - Candidates/B2C Page Styles
 * Based on employers-page.css, adapted for candidates
 * Version: 1.0 (March 2026)
 */

/* ========== HERO SECTION CANDIDATS ========== */
.candidates-hero {
    background: linear-gradient(135deg, #0F2A44 0%, #1a3a5c 50%, #0891b2 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.candidates-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.1;
}

.candidates-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.candidates-hero p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

.candidates-hero .text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.candidates-hero .btn-white {
    background: white;
    color: #0891b2;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.candidates-hero .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.candidates-hero .btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.candidates-hero .btn-outline-white:hover {
    background: white;
    color: #0891b2;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: white;
    padding: 30px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.stats-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0891b2;
}

.stats-card .label {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0891b2;
}

.service-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card .icon i {
    font-size: 24px;
    color: white;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.service-card ul {
    padding-left: 0;
    list-style: none;
}

.service-card ul li {
    padding: 5px 0;
    color: #6b7280;
}

.service-card ul li::before {
    content: '✓';
    color: #10b981;
    margin-right: 8px;
    font-weight: bold;
}

/* ========== ADVANTAGES SECTION ========== */
.advantages-section {
    padding: 50px 0;
    background: white;
}

.advantage-item {
    text-align: center;
    padding: 20px 15px;
}

.advantage-item .icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.advantage-item .icon i {
    font-size: 22px;
    color: #0891b2;
}

.advantage-item h5 {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.advantage-item p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works-section {
    padding: 80px 0;
    background: #f8fafc;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0891b2;
}

.step-card .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.step-card .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.step-card .step-icon i {
    font-size: 36px;
    color: #0891b2;
}

.step-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.step-card p {
    color: #6b7280;
    margin-bottom: 0;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F2A44 0%, #1a3a5c 100%);
    color: white;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-card .author-info .name {
    font-weight: 600;
}

.testimonial-card .author-info .role {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-item .question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item .question i {
    transition: transform 0.3s ease;
}

.faq-item.active .question i {
    transform: rotate(180deg);
}

.faq-item .answer {
    padding: 0 25px 20px;
    color: #6b7280;
    display: none;
}

.faq-item.active .answer {
    display: block;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0F2A44 0%, #1a3a5c 50%, #0891b2 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

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

.cta-section h2,
.cta-section .unified-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-section .unified-section-title span {
    color: #ffffff !important;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.cta-section .btn-white {
    background: white;
    color: #0891b2;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-section .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .candidates-hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .candidates-hero h1 {
        font-size: 2rem;
    }
    
    .candidates-hero p.lead {
        margin: 0 auto 30px;
    }
    
    .stats-card {
        margin-bottom: 20px;
    }
    
    .advantage-item {
        margin-bottom: 20px;
    }
    
    .step-card {
        margin-bottom: 30px;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}
