/* ============================================
   JOIN-AGENT / CAREER PAGE CSS
   For: Homepage/About/join-agent.blade.php
============================================ */

:root {
    --navy: #001f49;
    --cyan: #00aeef;
    --green: #10b981;
    --orange: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
}

.career-page {
    background: var(--gray-50);
}

/* ===== HERO ===== */
.hero-career {
    background: var(--navy);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-career::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.career-page .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-eyebrow {
    color: var(--cyan);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-career .hero-title {
    color: white;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-career .hero-title strong {
    font-weight: 700;
}

.hero-career .hero-title .highlight {
    color: var(--cyan);
    font-style: italic;
    font-weight: 700;
}

.hero-career .hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-primary {
    background: var(--cyan);
    color: white;
}

.btn-hero-primary:hover {
    background: #0099d6;
    color: white;
}

.btn-hero-wa {
    background: #25D366;
    color: white;
}

.btn-hero-wa:hover {
    background: #20ba5a;
    color: white;
    transform: translateY(-2px);
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--navy);
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* ===== CONTENT SECTIONS ===== */
.career-page .content-section {
    padding: 4rem 0;
}

.career-page .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.career-page .section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ===== BENEFITS CARDS ===== */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.career-page .benefit-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.career-page .benefit-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: white;
}

.career-page .benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.career-page .benefit-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== JOB DETAIL ===== */
.job-section {
    background: white;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.job-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.job-main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cyan);
}

.job-block {
    margin-bottom: 2rem;
}

.job-block-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-block-title i {
    color: var(--cyan);
}

.job-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

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

.job-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.job-list li:last-child {
    border-bottom: none;
}

.job-list li i {
    color: var(--green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.btn-academy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--cyan), #0099d6);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.btn-academy:hover {
    background: linear-gradient(135deg, #0099d6, var(--cyan));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.btn-academy i {
    font-size: 1.1rem;
}

/* Sidebar */
.job-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--cyan);
    font-size: 1rem;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

/* Location Tags */
.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.location-tag i {
    font-size: 0.7rem;
    color: var(--cyan);
}

/* Apply Card */
.apply-card {
    background: linear-gradient(135deg, var(--navy), #003366);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apply-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.apply-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 174, 239, 0.2);
    color: var(--cyan);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.apply-badge i {
    font-size: 0.75rem;
}

.apply-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.apply-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    position: relative;
}

.btn-wa-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.btn-wa-large:hover {
    background: #20ba5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-wa-large i {
    font-size: 1.25rem;
}

.apply-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.apply-note i {
    font-size: 0.8rem;
}

.apply-card .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: var(--cyan);
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.apply-card .phone-link:hover {
    color: white;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1.25rem;
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question i {
    color: var(--cyan);
    margin-top: 0.1rem;
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    padding-left: 1.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-career {
        padding: 4rem 0 3rem;
    }

    .career-page .hero-inner {
        max-width: 100%;
    }

    .hero-cta-row {
        justify-content: flex-start;
    }

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

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

    .job-layout {
        grid-template-columns: 1fr;
    }

    .job-sidebar {
        position: static;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-career {
        padding: 3rem 0 2.5rem;
    }

    .hero-career .hero-title {
        font-size: 1.75rem;
    }

    .hero-career .hero-desc {
        font-size: 1rem;
    }

    .hero-cta-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .benefits-row {
        grid-template-columns: 1fr;
    }

    .career-page .content-section {
        padding: 2.5rem 0;
    }
}
