/* ==========================================================================
   KAM Global HR — Modern UI Redesign Styles (hr-redesign.css)
   Matches high-fidelity layout in hr-ui.png
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --hr-navy: #07152b;
    --hr-navy-light: #0b1f3f;
    --hr-blue: #0284c7;
    --hr-blue-light: #e0f2fe;
    --hr-blue-glow: rgba(2, 132, 199, 0.15);
    --hr-text-main: #0f172a;
    --hr-text-muted: #64748b;
    --hr-border: #e2e8f0;
    --hr-card-bg: #ffffff;
    --hr-bg-subtle: #f8fafc;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--hr-text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.handwriting-accent {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: var(--hr-blue);
    display: inline-block;
}

/* Badge Pill */
.hr-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Buttons */
.hr-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #07152b;
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(7, 21, 43, 0.18);
    border: 1.5px solid transparent;
}

.hr-btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.3);
}

.hr-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1;
    padding: 13px 26px;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.hr-btn-secondary:hover {
    border-color: #0284c7;
    color: #0284c7 !important;
    background: #f0f9ff;
    transform: translateY(-2px);
}

.hr-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #07152b !important;
    padding: 13px 30px;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hr-btn-white:hover {
    background: #f8fafc;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Floating Card in Hero */
.hr-floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hr-floating-badge:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.14);
}

.hr-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hr-icon-box--blue { background: #e0f2fe; color: #0284c7; }
.hr-icon-box--orange { background: #ffedd5; color: #ea580c; }
.hr-icon-box--purple { background: #f3e8ff; color: #9333ea; }
.hr-icon-box--green { background: #dcfce7; color: #16a34a; }
.hr-icon-box--cyan { background: #cffafe; color: #0891b2; }
.hr-icon-box--pink { background: #ffe4e6; color: #e11d48; }
.hr-icon-box--amber { background: #fef3c7; color: #d97706; }

/* Client Logo Items */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    height: 48px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-img {
    max-height: 32px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-item:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.06);
}

.client-logo-item:hover {
    transform: translateY(-2px);
}

/* Floating Metrics Bar */
.hr-stats-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hr-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
}

/* Why Partner Cards */
.hr-why-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hr-why-card:hover {
    border-color: #bae6fd;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.08);
}

/* Service Card */
.hr-service-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
}

.hr-service-card:hover {
    border-color: #bae6fd;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.1);
}

.hr-service-card:hover .hr-service-arrow {
    background: #0284c7;
    color: #ffffff;
    transform: translateX(4px);
}

.hr-service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

/* Process Flow Step */
.hr-process-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hr-process-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0284c7;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.hr-process-node:hover .hr-process-badge {
    background: #0284c7;
    color: #ffffff;
    transform: scale(1.1);
}

/* Industry Cards */
.hr-industry-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.hr-industry-card:hover {
    transform: translateY(-4px);
    border-color: #bae6fd;
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}

.hr-industry-card__img {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 12px;
}

.hr-industry-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 8px 6px;
}

/* SaaS Dashboard Mockup in Tech Section */
.hr-mockup-frame {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.hr-mockup-sidebar {
    background: #f8fafc;
    border-right: 1px solid #edf2f7;
    padding: 20px 16px;
}

.hr-mockup-content {
    background: #ffffff;
    padding: 24px;
}

/* Testimonials / Social Proof */
.hr-quote-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    position: relative;
}

.hr-stat-box {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hr-stat-box:hover {
    transform: translateY(-3px);
    border-color: #bae6fd;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.08);
}

/* Insights Two Column Cards */
.hr-insight-promo {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hr-insight-promo:hover {
    transform: translateY(-4px);
    border-color: #bae6fd;
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.1);
}

/* CTA Bottom Gradient Card */
.hr-cta-gradient-box {
    background: linear-gradient(135deg, #07152b 0%, #0369a1 100%);
    border-radius: 28px;
    padding: 56px 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(3, 105, 161, 0.25);
}

/* Top Nav Polish */
.site-header-clean {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}
