/* ===== Page Hero ===== */
.cr-hero {
    position: relative;
    background: var(--secondary-color);
    padding: 5rem 0 5rem;
    overflow: hidden;
}

.cr-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../assets/images/about-banner.png') center / cover no-repeat;
    opacity: 0.08;
}

.cr-breadcrumb .breadcrumb-item a,
.cr-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.82rem;
}

.cr-hero .breadcrumb-item.active {
    color: #fff;
    font-size: 0.82rem;
}

.cr-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

.cr-hero h1 {
    font-size: 2.4rem;
    line-height: 1.4;
}

.cr-hero-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.85;
    max-width: 540px;
    margin-bottom: 2rem;
}

/* Hero buttons */
.cr-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.cr-hero-btn-primary:hover {
    background: #b80f2c;
    color: #fff;
    transform: translateY(-2px);
}

.cr-hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.cr-hero-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Stats grid */
.cr-hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cr-hero-stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.4rem 1.25rem;
    text-align: center;
    transition: background 0.2s;
}

.cr-hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cr-hero-stat-card small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    display: block;
    margin-top: 0.25rem;
}

.cr-stat-icon {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.cr-stat-icon--blue   { color: #60acff; }
.cr-stat-icon--red    { color: #ff6b7a; }
.cr-stat-icon--gold   { color: #f5c842; }
.cr-stat-icon--green  { color: #5ed98f; }

/* ===== Section Shared ===== */
.cr-section-tag {
    display: inline-block;
    background: rgba(219, 22, 53, 0.09);
    color: var(--primary-color);
    padding: 0.3rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cr-section-sub {
    color: #777;
    font-size: 0.93rem;
    max-width: 520px;
    line-height: 1.8;
}

/* ===== Why Join Section ===== */
.cr-why-section {
    background: #fff;
}

.cr-benefit-card {
    background: #f9fafb;
    border: 1.5px solid #eef0f4;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cr-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.07);
    border-color: rgba(219, 22, 53, 0.15);
}

.cr-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.cr-benefit-icon--navy  { background: var(--secondary-color); }
.cr-benefit-icon--red   { background: var(--primary-color); }
.cr-benefit-icon--green { background: #1a9e56; }
.cr-benefit-icon--gold  { background: #c9940e; }

.cr-benefit-text {
    color: #666;
    font-size: 0.87rem;
    line-height: 1.75;
    margin: 0;
}

/* ===== Positions Section ===== */
.cr-positions-section {
    background: #f6f8fc;
}

.cr-positions-count {
    color: #555;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

/* Job cards */
.cr-job-card {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid #eef0f4;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.cr-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}

.cr-job-card--featured {
    border-color: rgba(219, 22, 53, 0.25);
    box-shadow: 0 4px 20px rgba(219, 22, 53, 0.07);
}

.cr-job-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.cr-job-icon--red    { background: var(--primary-color); }
.cr-job-icon--blue   { background: #1a6fc4; }
.cr-job-icon--green  { background: #1a9e56; }
.cr-job-icon--purple { background: #6e3aab; }
.cr-job-icon--teal   { background: #1a8c8c; }
.cr-job-icon--orange { background: #c9680e; }
.cr-job-icon--navy   { background: var(--secondary-color); }

/* Job badges */
.cr-job-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.cr-job-badge--urgent { background: rgba(219, 22, 53, 0.1); color: var(--primary-color); }
.cr-job-badge--full   { background: rgba(4, 28, 62, 0.08); color: var(--secondary-color); }
.cr-job-badge--part   { background: rgba(26, 140, 140, 0.1); color: #1a8c8c; }

.cr-job-dept {
    color: #888;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.cr-job-meta {
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
}

.cr-job-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cr-job-meta i {
    color: var(--primary-color);
    font-size: 0.72rem;
}

.cr-job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid #f0f2f5;
    padding-top: 1rem;
    margin-top: auto;
}

.cr-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary-color);
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.cr-apply-btn:hover {
    color: var(--primary-color);
    gap: 0.65rem;
}

.cr-apply-btn--primary {
    color: var(--primary-color);
}

.cr-job-date {
    color: #aaa;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== Application Form Section ===== */
.cr-form-section {
    background: #fff;
}

/* Sidebar */
.cr-form-sidebar {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.cr-sidebar-header {
    padding: 2rem 1.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cr-sidebar-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.cr-sidebar-sub {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
}

/* Steps */
.cr-sidebar-steps {
    padding: 1.5rem 1.75rem;
}

.cr-step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.cr-step-item p {
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 1px;
}

.cr-step-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.cr-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cr-step-connector {
    width: 2px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    margin-right: 13px;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Sidebar contact */
.cr-sidebar-contact {
    padding: 1.25rem 1.75rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cr-sidebar-contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cr-sidebar-phone,
.cr-sidebar-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}

.cr-sidebar-phone i,
.cr-sidebar-email i {
    color: var(--primary-color);
    font-size: 0.8rem;
    width: 14px;
}

.cr-sidebar-phone:hover,
.cr-sidebar-email:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Form Wrapper ===== */
.cr-form-wrapper {
    background: #fff;
    border: 1.5px solid #eef0f4;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.05);
}

.cr-form-section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color);
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #f0f2f5;
}

.cr-form-section-label i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.cr-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.4rem;
}

.cr-req {
    color: var(--primary-color);
}

/* Upload zone */
.cr-upload-zone {
    border: 2px dashed #d0d5de;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
}

.cr-upload-zone:hover,
.cr-upload-zone--drag {
    border-color: var(--primary-color);
    background: rgba(219, 22, 53, 0.02);
}

.cr-upload-zone--selected {
    border-color: #1a9e56;
    background: rgba(26, 158, 86, 0.03);
}

.cr-upload-icon {
    font-size: 2rem;
    color: #bbb;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}

.cr-upload-zone:hover .cr-upload-icon {
    color: var(--primary-color);
}

.cr-upload-zone--selected .cr-upload-icon {
    color: #1a9e56;
}

.cr-upload-main {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cr-upload-hint {
    font-size: 0.76rem;
    color: #aaa;
    margin: 0;
}

/* Terms */
.cr-check-label {
    font-size: 0.83rem;
    color: #555;
    line-height: 1.6;
}

.cr-terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cr-terms-link:hover {
    text-decoration: underline;
}

/* Submit button */
.cr-submit-btn {
    padding: 0.8rem 2.4rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Success Modal ===== */
.cr-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.12);
}

.cr-modal-icon {
    font-size: 4rem;
    color: #198754;
    line-height: 1;
}

.cr-modal-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 340px;
    margin: 0 auto 0.75rem;
}

.cr-modal-ref {
    color: #444;
    font-size: 0.88rem;
    background: #f6f8fc;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .cr-hero h1 {
        font-size: 1.9rem;
    }

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

    .cr-form-sidebar {
        position: static;
    }

    .cr-form-wrapper {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .cr-hero {
        padding: 4rem 0;
    }

    .cr-hero-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .cr-hero h1 {
        font-size: 1.6rem;
    }

    .cr-hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .cr-hero-stat-card {
        padding: 1rem 0.75rem;
    }
}
