/* Staff Augmentation Page - Precision Redesign */

:root {
    --staff-bg: #05070a;
    --staff-accent: #F3124E;
    --staff-accent-hover: #d9104a;
    --staff-accent-rgb: 243, 18, 78;
    --staff-text-main: #ffffff;
    --staff-text-muted: #b0b0b0;
    --staff-card-bg: #0d0f14;
    --staff-card-border: rgba(255, 255, 255, 0.05);
}

.staffAugPage {
    background-color: var(--staff-bg);
    color: var(--staff-text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Body copy, headings, and labels — full white (not muted Bootstrap text-white-50) */
.staffAugPage .text-white-50 {
    color: #ffffff !important;
    --bs-text-opacity: 1;
    opacity: 1 !important;
}

.staffAugPage p,
.staffAugPage .lead,
.staffAugPage h1,
.staffAugPage h2,
.staffAugPage h3,
.staffAugPage h4,
.staffAugPage .staff-heading-large,
.staffAugPage .staffServiceCard h4,
.staffAugPage .staffServiceCard p,
.staffAugPage .staffSkillItem,
.staffAugPage .staffWhyCardInner,
.staffAugPage .staffOnDemandCard {
    color: #ffffff;
}

.staffAugPage .staffWhyCardLabel,
.staffAugPage .staffFlowDesc,
.staffAugPage .staffHeroSaveBadge p {
    color: #ffffff;
}

/* Bootstrap .btn-danger loads async and overrides linked CSS — lock brand red on CTAs */
.staffAugPage .text-danger {
    color: var(--staff-accent) !important;
}

.staffMarquee {
    background-color: var(--staff-accent) !important;
}

/* Typography */
.staff-heading-large {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.staff-text-red { color: var(--staff-accent); }

.staff-hiring-label {
    color: var(--staff-accent) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
}

/* Buttons — match header Get Started (#F3124E) */
.staffAugPage a.btn-staff-primary,
.staffAugPage .btn-staff-primary {
    background: var(--staff-accent) !important;
    background-color: var(--staff-accent) !important;
    color: #fff !important;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    border: none !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.staffAugPage a.btn-staff-primary:hover,
.staffAugPage a.btn-staff-primary:focus,
.staffAugPage .btn-staff-primary:hover,
.staffAugPage .btn-staff-primary:focus {
    background: var(--staff-accent-hover) !important;
    background-color: var(--staff-accent-hover) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 18, 78, 0.3);
}

.btn-staff-outline {
    background: transparent;
    color: #fff;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-staff-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Hero Section */
.staffHeroSec {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(var(--staff-accent-rgb), 0.1) 0%, transparent 40%);
}

.staffHeroGraphic {
    position: relative;
    padding-right: 40px;
}

.staffHeroCardStack {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.staffHeroSaveBadge {
    position: absolute;
    bottom: 12%;
    right: -20px;
    background: var(--staff-accent);
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(var(--staff-accent-rgb), 0.4);
    max-width: 360px;
    z-index: 4;
}

.staffHeroHireBox {
    position: absolute;
    bottom: -10%;
    right: 15%;
    display: block;
    background: rgba(13, 15, 20, 0.7);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 35px;
    border-radius: 24px;
    width: 280px;
    z-index: 5;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.staffHeroHireBox:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* On Demand Section */
.staffOnDemandSec {
    padding: 80px 0;
}

.staffOnDemandCard {
    background: #1a0a0c;
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.staffHandshakeGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.staffHandshakeImg {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.staffHandshakeImg:hover {
    opacity: 1;
}

/* Flow Section */
.staffFlowSec {
    padding: 80px 0 40px;
    text-align: center;
}

.staffFlowCard {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 60px 50px;
    margin-top: 20px;
}

.staffFlowRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.staffFlowItem {
    flex: 0 0 auto;
}

.staffFlowCircle {
    width: 180px;
    height: 180px;
    background: var(--staff-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 0 40px rgba(var(--staff-accent-rgb), 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.staffFlowCircle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(var(--staff-accent-rgb), 0.7);
}

.staffFlowLabel {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    line-height: 1.2;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

.staffFlowDesc {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    display: block;
    text-align: center;
}

.staffFlowArrow {
    flex: 1;
    height: 30px;
    margin: 0 5px;
}

.staffFlowArrow svg {
    width: 100%;
    height: 100%;
}


/* Services Grid */
.staffServicesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Why Choose Bento Grid */
.staffWhyGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    min-height: 400px;
}

.staffWhyCard {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 350px;
}

.staffWhyCard--large {
    background: rgba(20, 10, 12, 0.9);
}

.staffWhyCard--mid {
    background: rgba(20, 22, 30, 0.95);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 160px;
    justify-content: center;
}

.staffWhyCard--english {
    min-height: 200px;
}

.staffWhyCardEnglishLead {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #ffffff;
}

.staffWhyCardEnglishText {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.staffWhyCard--red {
    background: var(--staff-accent);
    min-height: 160px;
    justify-content: center;
}

.staffWhyCard--red .staffWhyCardInner p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.5;
    font-weight: 500;
}

.staffWhyCardBg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.staffWhyCard:hover .staffWhyCardBg {
    opacity: 0.5;
}

.staffWhyCardInner {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.staffWhyCardLabel {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.staffWhyCardTitle {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 12px;
    line-height: 1;
}

.staffWhyCardBadge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
    .staffWhyGrid {
        grid-template-columns: 1fr;
    }
}

.staffServiceCard {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.staffServiceCard::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staffServiceCard:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--staff-accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.staffServiceCard:hover::after {
    opacity: 1;
}

.staffServiceIcon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: var(--staff-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.staffServiceBtn {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

/* Skills Grid */
.staffSkillsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.staffSkillItem {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.staffSkillItem:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--staff-accent);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.staffSkillItem span:last-child {
    transition: transform 0.3s ease;
}

.staffSkillItem:hover span:last-child {
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 991px) {
    .staffHeroSec {
        padding: 120px 0 60px;
    }
    .staffHeroGraphic {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
    }
    .staffHeroSaveBadge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        box-shadow: 0 15px 30px rgba(243, 18, 78, 0.3);
        padding: 25px;
    }
    .staffHeroHireBox {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        padding: 25px;
    }

    .staffServicesGrid, .staffSkillsGrid {
        grid-template-columns: 1fr;
    }
    
    .staffFlowRow {
        flex-direction: column;
        gap: 20px;
    }
    .staffFlowArrow {
        width: 30px;
        height: 50px;
        margin: 10px auto;
        flex: none;
    }
    .staffFlowArrow svg {
        transform: rotate(90deg);
        width: 100%;
        height: 100%;
    }

    .staffHandshakeGrid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    .staffOnDemandCard, .staffFlowCard {
        padding: 40px 20px;
        border-radius: 24px;
    }
}

@media (max-width: 767px) {
    .staff-heading-large {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .staffWhyCard {
        min-height: 250px;
    }
    .staffWhyCard--mid {
        min-height: 140px;
    }
    .staffWhyCard--english {
        min-height: 160px;
    }
    .staffWhyCard--red {
        min-height: 120px;
    }
    .staffWhyCardInner {
        padding: 20px;
    }
    .staffServiceCard {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px;
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Late override: wins over async Bootstrap .btn-danger (#dc3545) */
.staffAugPage a.btn.btn-danger,
.staffAugPage a.btn-staff-primary.btn-danger,
.staffAugPage .btn.btn-danger {
    background: #F3124E !important;
    background-color: #F3124E !important;
    border-color: #F3124E !important;
    color: #fff !important;
}

.staffAugPage a.btn.btn-danger:hover,
.staffAugPage a.btn.btn-danger:focus,
.staffAugPage a.btn-staff-primary.btn-danger:hover,
.staffAugPage .btn.btn-danger:hover {
    background: #d9104a !important;
    background-color: #d9104a !important;
    border-color: #d9104a !important;
    color: #fff !important;
}
