:root {
    --brand-orange: #F26522;
    --brand-orange-deep: #D4510A;
    --text-primary: #141414;
    --text-secondary: #6B7280;
    --bg-cream: #FAF9F7;
    --bg-warm-grey: #F0EFED;
    --border-light: #E8E6E3;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    overflow-x: hidden;
}

.heading-font {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

/* ═══ Isometric Grid Background ═══ */
.iso-grid {
    background-image:
        linear-gradient(30deg, rgba(20, 20, 20, 0.02) 1px, transparent 1px),
        linear-gradient(150deg, rgba(20, 20, 20, 0.02) 1px, transparent 1px),
        linear-gradient(270deg, rgba(20, 20, 20, 0.02) 1px, transparent 1px);
    background-size: 60px 104px;
}

/* ═══ Progress Bar Section Dividers ═══ */
.section-divider {
    width: 100%;
    height: 3px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-deep));
    animation: progressFill 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 40%; }
}

/* ═══ Horizontal Split Hero ═══ */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    min-height: 100vh;
    align-items: center;
}

.hero-split .divider-line {
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--brand-orange), transparent);
    align-self: center;
}

/* ═══ Metric Counter Cards ═══ */
.metric-card {
    background: white;
    border: 1px solid var(--border-light);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--brand-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(242, 101, 34, 0.1);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

/* ═══ Service Row ═══ */
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s ease;
    cursor: default;
}

.service-row:hover {
    padding-left: 1.5rem;
    border-color: var(--brand-orange);
}

.service-row .service-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--border-light);
    transition: color 0.4s ease;
}

.service-row:hover .service-number {
    color: var(--brand-orange);
}

.service-row .arrow-icon {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.service-row:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ═══ Partner Logo Strip ═══ */
.partner-strip {
    display: flex;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    animation: scrollPartners 25s linear infinite;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══ QEHS Pillar Cards ═══ */
.pillar-card {
    background: white;
    border: 1px solid var(--border-light);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--brand-orange);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pillar-card:hover {
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.06);
}

.pillar-card:hover::after {
    transform: scaleX(1);
}

/* ═══ Entrance Animations ═══ */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    to { opacity: 1; transform: translateX(0); }
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

/* ═══ CTA Block ═══ */
.cta-block {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2D2D2D 100%);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(242, 101, 34, 0.15), transparent 70%);
    border-radius: 50%;
}

/* ═══ Buttons ═══ */
.btn-primary {
    background: var(--brand-orange);
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-orange-deep);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateY(0);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-outline-dark {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--text-primary);
    color: white;
}

/* ═══ Misc ═══ */
::selection {
    background: var(--brand-orange);
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll-triggered subtle pulse on the logo */
@keyframes logoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
