/* Base & Reset */
:root {
    /* ── Precision Laboratory Global Staffing ── Approved Color Palette ── */
    --primary-bg: #ffffff;
    --primary-navy: #003366;
    --accent-blue: #007fff;
    --accent-light-blue: #66b2ff;
    --text-dark: #0a0a0a;
    --text-grey: #717784;
    --text-light: #ffffff;
    --border-color: #e6e8ec;
    --border-dark: #0a0a0a;

    /* Status (functional only) */
    --status-success:      #198754;
    --status-warning:      #f59e0b;
    --status-danger:       #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Onest', system-ui, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-red { color: var(--primary-red); }
.text-light-grey { color: var(--text-light-grey); }
.text-white { color: #fff; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.opacity-50 { opacity: 0.5; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22, 66, 100, 0.2); }

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-dark);
}
.btn-outline-dark:hover { background: #f0f0f0; }

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-white {
    background-color: #fff;
    color: var(--text-dark);
}
.btn-white:hover { background-color: #f0f0f0; transform: translateY(-2px); }

.btn-dark-full {
    background-color: var(--text-dark);
    color: #fff;
    width: 100%;
    padding: 16px;
    border-radius: 50px;
}

/* Common Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-grey);
    font-size: 16px;
    margin-bottom: 40px;
}

.dark-section {
    background-color: var(--dark-bg);
    color: #fff;
    border-radius: 40px;
    margin: 40px;
    padding: 80px 40px;
}
.dark-section .dark-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 24px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    transition: padding 0.3s ease;
}
.navbar.scrolled {
    position: fixed;
    padding: 12px 0 0;
}
.nav-container {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 1720px;
    margin: 0 auto;
    padding: 12px 28px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 127, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 127, 255, 0.03), 0 1px 2px rgba(0, 0, 0, 0.01);
}
.navbar.scrolled .nav-container:hover {
    box-shadow: 0 14px 40px rgba(0, 127, 255, 0.06);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 17px;
    font-weight: 550;
}
.nav-links a {
    color: #4b5563;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a:hover {
    color: var(--primary-navy);
}
.nav-links a svg path {
    stroke: currentColor;
    transition: stroke 0.2s ease;
}
.nav-links .has-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-login-link {
    font-size: 17px;
    font-weight: 550;
    color: #4b5563;
    transition: color 0.2s ease;
}
.nav-login-link:hover {
    color: var(--primary-navy);
}
.btn-gradient-nav {
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 127, 255, 0.2);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-gradient-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 127, 255, 0.3);
    filter: brightness(1.05);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    margin-top: -6px;
}
.nav-hamburger:hover {
    background: rgba(0, 127, 255, 0.08);
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.2s;
}

/* Hero Section - Bento Minimalist Design */
.hero {
    background-color: var(--primary-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    text-align: center;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--background) 100%);
    pointer-events: none;
    z-index: 5;
}
.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.04em;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-grey);
    max-width: 650px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* Trust Ticker */
.trust-ticker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-grey);
    margin-bottom: 12px;
}
.trust-ticker span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.trust-ticker svg {
    color: var(--accent-light-blue);
}

.bento-section {
    max-width: 1550px;
    margin: 120px auto 100px;
    padding: 0 40px;
}
.bento-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px;
}
.bento-heading-unified {
    font-size: 42px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.bento-heading-unified .text-dark {
    color: var(--text-dark, #111);
}
.bento-heading-unified .text-light {
    color: #9CA3AF;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
}
.bento-box {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background-color: var(--background);
}
.bento-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bento-large {
    height: 100%;
    min-height: 550px;
}
.bento-right-col {
    display: flex;
    flex-direction: column;
}
.bento-small-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.box-vertical {
    width: 42%;
    aspect-ratio: 10 / 13;
}
.box-horizontal {
    flex: 1;
    aspect-ratio: 16 / 11;
}
.bento-text-block {
    padding: 0;
}
.bento-text-block h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.bento-text-block p {
    font-size: 18px;
    color: var(--text-grey);
    margin-bottom: 24px;
    line-height: 1.6;
}
.bento-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    list-style: none;
    padding: 0;
}
.bento-list li {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}
.bento-list li svg {
    color: var(--accent-light-blue);
    flex-shrink: 0;
}




/* ─── Responsiveness ─────────────────────────────────── */

/* Tablet (≤ 991px) */
@media (max-width: 991px) {
    .hero {
        padding: 100px 0 120px;
    }
    .hero-title {
        font-size: 52px;
    }
    .hero::after {
        height: 180px;
    }

    /* Bento: collapse to single column */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .bento-large {
        min-height: 360px;
    }
    .bento-section {
        margin: 72px auto 60px;
        padding: 0 24px;
    }
    .bento-heading-unified {
        font-size: 32px;
    }
}

/* Mobile large (≤ 767px) */
@media (max-width: 767px) {
    .hero {
        padding: 110px 16px 160px;
        min-height: auto;
        overflow: hidden;
    }
    .hero-title {
        font-size: 36px;
        letter-spacing: -0.02em;
    }
    .hero-subtitle {
        font-size: 15px;
        padding: 0 8px;
        max-width: 100%;
        word-break: break-word;
    }
    .hero::after {
        height: 100px;
    }

    /* CTA buttons: equal width side by side */
    .hero-cta-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: center;
        padding: 0 12px;
    }
    .hero-cta-wrapper .btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* Nav: hide desktop links, show only logo + hamburger */
    .nav-links,
    .nav-login-link,
    .btn-gradient-nav {
        display: none !important;
    }
    .nav-hamburger {
        display: flex !important;
    }
    .nav-container {
        padding: 12px 16px;
        width: calc(100% - 24px);
    }

    /* Bento */
    .bento-section {
        margin: 48px auto 40px;
        padding: 0 16px;
    }
    .bento-heading-unified {
        font-size: 26px;
        line-height: 1.35;
    }
    .bento-small-row {
        gap: 16px;
    }
    .bento-large {
        min-height: 280px;
    }
    .bento-text-block h3 {
        font-size: 20px;
    }
    .bento-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Section spacing */
    section {
        padding: 56px 0;
    }
    .dark-section {
        margin: 20px;
        padding: 48px 24px;
    }
}

/* Mobile small (≤ 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .bento-heading-unified {
        font-size: 22px;
    }
    .bento-large {
        min-height: 240px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .nav-container {
        width: calc(100% - 16px);
    }
}




/* Specialized Service */
.specialized-service {
    background: var(--light-bg);
}

/* Reasons to Trust */
.trust-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.reasons-trust .dark-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
}


/* Reasons to Hire */
.reasons-hire {
    background: var(--light-bg);
    padding: 100px 0;
    overflow: hidden;
}
.reasons-hire .section-title {
    margin-bottom: 48px;
}
.reasons-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
    margin-bottom: 48px;
}
.reasons-grid::-webkit-scrollbar {
    display: none;
}
.reason-card {
    flex: 0 0 280px;
    background: #fff;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.reason-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.reason-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.reason-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text-dark);
}
.reason-card p {
    font-size: 13px;
    line-height: 1.65;
    color: #6B7280;
}
.small-text {
    font-size: 14px;
    color: var(--text-grey);
}
.btn-hire-devs {
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}



/* How we find */
.how-we-find {
    background: #fff;
    padding: 100px 0 0;
    overflow: hidden;
}
.find-title {
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 60px;
}
.find-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    padding: 0 40px;
    gap: 0;
    position: relative;
}

/* Left white card */
.find-card-left {
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 40px 40px 32px;
    width: 420px;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    margin-top: 60px;
    margin-right: -60px;
    transform: rotate(-2deg);
    transform-origin: bottom right;
}
.find-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 28px;
    background: #F9FAFB;
}
.find-badge.dark {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 11px;
}
.find-list-item {
    margin-bottom: 28px;
}
.find-list-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}
.find-list-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.find-list-item ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.5;
}
.find-list-item ul li svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.interview-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    margin-top: 8px;
    transition: border-color 0.2s;
}
.interview-badge:hover { border-color: #9CA3AF; }
.arrow-circle {
    width: 28px; height: 28px;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Right dark panel */
.find-card-right {
    flex: 1;
    background: #1C1C1E;
    border-radius: 32px 32px 0 0;
    padding: 48px 48px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 620px;
    position: relative;
    overflow: hidden;
}
.screening-card {
    position: relative;
    z-index: 1;
}
.screening-card h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 12px;
}
.dark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dark-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #9CA3AF;
    font-size: 13px;
    line-height: 1.5;
}
.dark-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Phone mockup */
.phone-mockup {
    align-self: center;
    transform: rotate(3deg) translateX(20px);
    transform-origin: bottom center;
}
.phone-shell {
    background: #fff;
    border-radius: 32px;
    width: 260px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}
.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 8px;
    background: #fff;
}
.phone-time {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}
.phone-body {
    padding: 0 14px 20px;
    background: #fff;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 10px;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 12px;
}
.chat-avatar {
    width: 28px; height: 28px;
    background: var(--accent-blue);
    border-radius: 50%;
    flex-shrink: 0;
}
.chat-name { font-weight: 600; font-size: 13px; color: #111827; flex: 1; }
.chat-menu { color: #9CA3AF; font-size: 16px; }
.chat-bubble-wrap { display: flex; flex-direction: column; gap: 6px; }
.chat-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.5;
    max-width: 90%;
    color: #374151;
}
.chat-bubble.left {
    background: #F3F4F6;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.chat-code {
    background: #1C1C1E;
    color: #E5E7EB;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.7;
    margin: 2px 0;
}



/* Top Engineers */
.top-engineers {
    padding: 80px 0 60px;
    overflow: hidden;
}
.engineers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}


.start-hiring-center {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    top: -100px; /* Overlap */
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.large-plus-btn {
    width: 64px; height: 64px;
    background: var(--primary-red);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: -92px auto 32px; /* Pull up */
}
.start-hiring-center h2 { font-size: 32px; margin-bottom: 16px; }
.start-hiring-center p { color: var(--text-grey); margin-bottom: 32px; }
.hiring-actions { display: flex; justify-content: center; gap: 16px; }
.hiring-actions .btn-outline-dark { color: var(--text-dark); border-color: var(--border-color); }

/* How To Hire */
.how-to-hire {
    background: #08192b;
    padding: 60px 0 80px;
}
.hire-panel {
    background: #0f1c33;
    border-radius: 28px;
    padding: 48px 40px;
}
.steps-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 0;
}

/* Active (white) card */
.step-active {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}
.step-active .step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.step-active .step-num {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
}
.step-icon-red {
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-active h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}
.step-active p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}
.step-close-btn {
    width: 36px;
    height: 36px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* Collapsed (dark) cards */
.step-collapsed {
    background: #1f2c47;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}
.step-collapsed .step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.step-num-light {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
}
.step-arrow-grey {
    width: 28px;
    height: 28px;
    border: 1px solid #3F3F46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-top: auto;
    margin-bottom: 16px;
}
.step-plus-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #3F3F46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-process {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-process:hover {
    background: #105bbc;
    transform: translateY(-1px);
}

/* Useful Info */
.useful-info {
    background: #fff;
    padding: 80px 0 100px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 0;
}
.blog-card {
    text-align: left;
}
.blog-img {
    height: 220px;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-img img {
    transform: scale(1.04);
}
.blog-meta {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 12px;
    font-weight: 500;
}
.blog-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    flex: 1;
}
.blog-content p {
    font-size: 13px;
    color: #9CA3AF;
    line-height: 1.6;
}
.blog-arrow {
    width: 40px;
    height: 40px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.blog-card:hover .blog-arrow {
    background: var(--primary-red);
}
.btn-view-all {
    display: inline-block;
    padding: 14px 40px;
    border: 1.5px solid var(--primary-red);
    border-radius: 50px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-view-all:hover {
    background: var(--primary-red);
    color: #fff;
}





/* Utility */
.bg-light-grey { background-color: var(--light-grey-bg); }



            /* Top Engineers */
            .top-engineers {
                padding: 80px 0 60px;
                overflow: hidden;
            }
            .engineers-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 32px;
            }

            .section-title {
                font-size: 36px;
                font-weight: 700;
                letter-spacing: -0.02em;
                color: var(--text-dark);
            }
            .nav-arrows { display: flex; gap: 12px; }
            .arrow-btn {
                width: 48px; height: 48px;
                background: var(--dark-bg);
                border-radius: 50%;
                display: flex; align-items: center; justify-content: center;
                cursor: pointer;
                transition: background 0.2s;
            }
            .arrow-btn:hover { background: #333; }


            .btn-primary {
                padding: 14px 28px;
                border-radius: 50px;
                background: var(--primary-red);
                color: #fff;
                font-size: 14px;
                font-weight: 600;
                text-decoration: none;
                border: none;
                transition: background 0.2s, transform 0.15s;
            }
            .btn-primary:hover {
                background: #C41E1E;
                transform: translateY(-1px);
            }

            /* Engineers carousel */
            .engineers-carousel {
                display: flex;
                gap: 24px;
                padding: 0 60px;
                overflow-x: auto;
                scrollbar-width: none;
                -ms-overflow-style: none;
                margin-bottom: 24px;
            }
            .engineers-carousel::-webkit-scrollbar { display: none; }
            .engineer-card {
                min-width: 400px;
                flex-shrink: 0;
                background: #fff;
                padding: 28px 28px 28px;
                border-radius: 20px;
                border: 1px solid #E5E7EB;
                display: flex;
                flex-direction: column;
                box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            }

            /* Per-card tags */
            .card-tags {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                margin-bottom: 20px;
            }
            .card-tag {
                padding: 4px 12px;
                background: #F9FAFB;
                border: 1px solid #E5E7EB;
                border-radius: 20px;
                font-size: 12px;
                color: #374151;
                font-weight: 500;
            }
            .engineer-card h5 {
                font-size: 16px;
                font-weight: 700;
                margin-bottom: 12px;
                color: #111827;
            }
            .engineer-card p {
                font-size: 13px;
                color: #6B7280;
                line-height: 1.7;
                flex: 1;
                margin-bottom: 28px;
            }
            .eng-footer {
                border-top: 1px solid #F3F4F6;
                padding-top: 20px;
            }
            .eng-name {
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 4px;
                color: #111827;
            }
            .eng-exp { font-size: 12px; color: #9CA3AF; }
            .star-icon { color: var(--primary-red); }

            /* Pagination dots */
            .carousel-dots {
                display: flex;
                justify-content: center;
                gap: 6px;
                padding: 8px 0 40px;
            }
            .cdot {
                width: 28px;
                height: 6px;
                border-radius: 3px;
                background: #D1D5DB;
                transition: background 0.2s;
            }
            .cdot.active {
                background: #111827;
                width: 40px;
            }
            .fw-cell { background: #2C2C2E; border-radius: 12px; padding: 32px 20px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: background 0.2s; }
            .fw-cell:hover { background: #363638; }

            .fw-logo-wrap { display: flex; align-items: center; justify-content: center; min-height: 48px; }
            .fw-logo-text { color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
            .fw-logo-text em { font-style: italic; }
            .fw-tag { font-size: 11px; color: #6B7280; letter-spacing: 0.02em; }
            .fw-akka { font-size: 28px; font-weight: 900; letter-spacing: 2px; }
            .fw-spark { font-size: 16px; font-weight: 600; }
            .fw-spark em { font-size: 22px; font-weight: 900; font-style: italic; color: #f97316; }
            .fw-scalatra { font-size: 22px; font-style: italic; }
            .fw-lift { font-size: 22px; gap: 8px; }
            .fw-scalatest { font-size: 18px; font-weight: 600; }
            .fw-finagle { font-size: 18px; gap: 8px; align-items: center; }
            .fw-zio { font-size: 26px; font-weight: 900; letter-spacing: 1px; }
            .fw-slick { font-size: 22px; font-weight: 700; }
            .fw-monix { font-size: 20px; font-weight: 600; }
            .fw-lagom { font-size: 20px; font-weight: 600; }
        
        