/* ── Trust Center ── Comply4HR Design System: Montserrat | #F58732 | #1C305E | #F1F2F2 */

/* ---- Hero ---- */
.tc-hero {
    background: linear-gradient(135deg, #1C305E 0%, #0f1e3d 100%);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.tc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/HeroBackground.png') center/cover no-repeat;
    opacity: 0.08;
}

.tc-hero-inner { position: relative; z-index: 1; text-align: center; }

.tc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,135,50,0.15);
    border: 1px solid rgba(245,135,50,0.4);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #F58732;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}

.tc-hero-badge .badge-dot {
    width: 7px; height: 7px;
    background: #F58732; border-radius: 50%;
    display: inline-block;
    animation: tcpulse 2s infinite;
}

@keyframes tcpulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.4); }
}

.tc-hero h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 52px; font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff; line-height: 1.2; margin-bottom: 1.2rem;
}

.tc-hero h1 em { color: #F58732; font-style: italic; }

.tc-hero .tc-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    max-width: 620px; margin: 0 auto 2.5rem;
    line-height: 1.8; font-weight: 400;
}

/* ---- Stats Bar ---- */
.tc-stats-wrap { padding: 0 0 4rem; }

.tc-stats-bar {
    background: #fff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 2rem 1rem;
    margin-top: -3rem;
    position: relative; z-index: 5;
}

.tc-stat-item {
    text-align: center;
    border-right: 1px solid #e8e8e8;
    padding: 0.5rem 1rem;
}

.tc-stat-item:last-child { border-right: none; }

.tc-stat-number { font-size: 30px; font-weight: 800; color: #1C305E; line-height: 1; display: block; }
.tc-stat-number .accent { color: #F58732; }
.tc-stat-label { font-size: 11px; font-weight: 600; color: #747474; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.4rem; display: block; }

/* ---- Section wrappers ---- */
.tc-section { padding: 5rem 0; }
.tc-section-alt { background-color: #F1F2F2; }

.tc-section-title { text-align: center; margin-bottom: 3.5rem; }

.tc-section-title .overline {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #F58732;
    display: block; margin-bottom: 0.8rem;
}

.tc-section-title h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px; font-weight: 800;
    letter-spacing: -0.025em;
    color: #1C305E;
}

.tc-section-title p {
    font-size: 14px; color: #747474;
    max-width: 550px; margin: 1rem auto 0; line-height: 1.8;
}

/* ---- Certification Cards ---- */
.cert-card {
    background: #fff; border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 16px rgba(28,48,94,0.07);
    transition: all 0.3s ease;
    height: 100%; position: relative; overflow: hidden;
    border: 1px solid transparent;
    display: flex; flex-direction: column; align-items: flex-start;
}

.cert-card::before {
    content: ""; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: #F58732; border-radius: 16px 0 0 16px;
    transition: width 0.3s ease;
}

.cert-card:hover { box-shadow: 0 8px 40px rgba(28,48,94,0.14); border-color: rgba(245,135,50,0.2); transform: translateY(-4px); }
.cert-card:hover::before { width: 6px; }

.cert-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(245,135,50,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem; font-size: 24px; color: #F58732; flex-shrink: 0;
}

.cert-badge {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: #e8f5e9; color: #2e7d32;
    font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
    letter-spacing: 0.5px; text-transform: uppercase;
}

.cert-badge.pending  { background: #fff8e1; color: #f57f17; }
.cert-badge.inprogress { background: #e3f2fd; color: #1565c0; }

.cert-card h5 { font-size: 16px; font-weight: 700; color: #1C305E; margin-bottom: 0.6rem; }
.cert-card p  { font-size: 12.5px; color: #747474; line-height: 1.7; margin-bottom: 0; flex-grow: 1; }

.cert-meta {
    margin-top: 1.2rem; padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    width: 100%; font-size: 11px; color: #999; font-weight: 500;
}

.cert-meta strong { color: #1C305E; }

/* ---- Policy Accordion Cards ---- */
.policy-card {
    background: #fff; border-radius: 12px; margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(28,48,94,0.05);
    transition: all 0.25s ease; border: 1px solid #f0f0f0; overflow: hidden;
}

.policy-card:hover { box-shadow: 0 6px 24px rgba(28,48,94,0.10); border-color: rgba(245,135,50,0.25); }

.policy-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 1.8rem; cursor: pointer; gap: 1rem; user-select: none;
}

.policy-card-left { display: flex; align-items: center; gap: 1.2rem; flex: 1; min-width: 0; }

.policy-number {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(245,135,50,0.10); color: #F58732;
    font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.policy-number.rr-num { background: rgba(28,48,94,0.1); color: #1C305E; }

.policy-info h6 {
    font-size: 14px; font-weight: 700; color: #1C305E;
    margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.policy-info span { font-size: 11px; color: #747474; font-weight: 500; }

.policy-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.policy-tag {
    font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
    background: #F1F2F2; color: #1C305E; text-transform: uppercase;
    letter-spacing: 0.4px; white-space: nowrap;
}

.policy-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.policy-status {
    font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
    background: #e8f5e9; color: #2e7d32; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.policy-status.register { background: #e3f2fd; color: #1565c0; }

.policy-btn {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600; color: #F58732;
    text-decoration: none; padding: 5px 14px; border-radius: 20px;
    border: 1.5px solid #F58732; transition: all 0.2s; white-space: nowrap;
}

.policy-btn:hover { background: #F58732; color: #fff; text-decoration: none; }
.policy-btn.navy { color: #1C305E; border-color: #1C305E; }
.policy-btn.navy:hover { background: #1C305E; color: #fff; }

.policy-arrow { color: #ccc; font-size: 16px; transition: transform 0.25s; flex-shrink: 0; }
.policy-card.open .policy-arrow { transform: rotate(90deg); color: #F58732; }

.policy-card.rr-card { border-left: 4px solid #1C305E; }

.policy-body { display: none; padding: 0 1.8rem 1.4rem; border-top: 1px solid #f5f5f5; }
.policy-body p { font-size: 12.5px; color: #747474; line-height: 1.8; margin: 1rem 0 0; }

/* ---- Security Practices ---- */
.practice-item {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: 1.8rem; background: #fff; border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(28,48,94,0.05);
    transition: box-shadow 0.25s; border: 1px solid #f0f0f0;
}

.practice-item:hover { box-shadow: 0 6px 24px rgba(28,48,94,0.10); }

.practice-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: #1C305E; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; flex-shrink: 0;
}

.practice-text h6 { font-size: 14px; font-weight: 700; color: #1C305E; margin: 0 0 5px; }
.practice-text p  { font-size: 12.5px; color: #747474; line-height: 1.7; margin: 0; }

/* ---- CTA ---- */
.tc-cta {
    background: linear-gradient(135deg, #1C305E 0%, #0f1e3d 100%);
    padding: 5rem 0; text-align: center;
    position: relative; overflow: hidden;
}

.tc-cta::before {
    content: ""; position: absolute; inset: 0;
    background: url('/images/HeroBackground.png') center/cover no-repeat;
    opacity: 0.05;
}

.tc-cta-inner { position: relative; z-index: 1; }

.tc-cta h2 { font-family: 'DM Sans', sans-serif; font-size: 36px; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin-bottom: 1rem; }
.tc-cta .tc-cta-sub { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2rem; line-height: 1.8; }
.tc-cta-note { margin-top: 1.5rem; font-size: 11px; color: rgba(255,255,255,0.35); }
.tc-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .tc-hero { padding: 5rem 0 4rem; }
    .tc-hero h1 { font-size: 36px; }
    .tc-stat-item { border-right: none; border-bottom: 1px solid #eee; padding: 1rem; }
    .tc-stat-item:last-child { border-bottom: none; }
}

@media (max-width: 767px) {
    .tc-hero h1 { font-size: 28px; }
    .tc-section-title h2 { font-size: 26px; }
    .policy-tags { display: none; }
    .policy-info span { display: none; }
    .tc-cta h2 { font-size: 26px; }
    .policy-info h6 { font-size: 13px; white-space: normal; }
}

@media (max-width: 576px) {
    .tc-stat-number { font-size: 24px; }
    .policy-card-header { padding: 1rem 1.2rem; gap: 0.6rem; }
    .policy-body { padding: 0 1.2rem 1rem; }
    .policy-actions { gap: 6px; }
    .policy-status { display: none; }
}
