/* Talentis Website - Premium SaaS Redesign
   Violet/Purple Palette
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #FFFFFF;
    --color-bg-soft: #F0F5FF;
    --color-primary: #004DA9;
    --color-primary-dark: #003A87;
    --color-accent: #4D8FD6;
    --color-text: #0D1B36;
    --color-text-light: #5A6A85;
    --color-border: #D6E4F7;
    --color-cta: #004DA9;
    --color-cta-alt: #0D1B36;
    --color-success: #25D366;
    --color-gold: #F5A800;
    
    --font-main: 'Poppins', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 77, 169, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 77, 169, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    transform: none;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes meshBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Base Styles */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 52px; }
h2 { font-size: 36px; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 22px; }

p { color: var(--color-text); margin-bottom: 1rem; }
.text-light { color: var(--color-text-light); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.bg-soft { background-color: var(--color-bg-soft); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 77, 169, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2.5px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 77, 169, 0.2);
}

.btn-dark {
    background-color: var(--color-cta-alt);
    color: white;
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
}

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

/* --- COMPONENTS --- */

/* Header & Nav */
.top-bar {
    height: 40px;
    background-color: var(--color-text);
    color: white;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left a { margin-right: 20px; }
.top-bar-right { display: flex; gap: 15px; }
.top-bar-right svg { width: 18px; fill: white; opacity: 0.8; transition: 0.3s; }
.top-bar-right svg:hover { opacity: 1; transform: scale(1.1); }

.navbar {
    background-color: white;
    border-bottom: 1px solid var(--color-border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.sticky {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Navbar logo — transparent PNG, displays cleanly on white navbar */
.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

/* Footer logo — invert to white for dark background */
.logo-img-footer {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .logo-img { height: 32px; }
    .logo-img-footer { height: 32px; }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

/* Hero */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f5ff 0%, #e8f0fe 40%, #f5f0ff 100%);
    animation: none;
    padding: 80px 0 60px;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.badge-pill {
    background-color: #E0EEFF;
    color: var(--color-primary);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
}

.hero h1 span { color: var(--color-primary); }

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--color-text-light);
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Stats */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--color-border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Dual Value Section */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.value-card {
    border-radius: 20px;
}

.value-card.seeker { background-color: #EAF1FF; border: none; }

.card-top-badge {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.highlight-list {
    margin: 24px 0 32px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.highlight-list svg { width: 20px; height: 20px; fill: var(--color-primary); }

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-accent);
}

/* Industry Cards */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    text-align: center;
}

.industry-card i {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
}

/* Job Cards */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-tag {
    background-color: #E0EEFF;
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--color-text-light);
    margin: 10px 0 20px;
}

.job-divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 20px 0;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stars { color: var(--color-gold); margin-bottom: 15px; }

.testimonial-text {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-soft);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info h5 { margin-bottom: 2px; }
.author-info span { font-size: 12px; color: var(--color-text-light); }

/* Sticky Bottom Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background-color: white;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    z-index: 998;
    display: flex;
}

.sticky-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 600;
    font-size: 14px;
}

.sticky-half.left { background-color: var(--color-primary); color: white; }
.sticky-half.right { background-color: var(--color-text); color: white; }

.sticky-half a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

/* WhatsApp Pulse */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse 3s infinite;
}

.whatsapp-float::after {
    content: "Chat with us on WhatsApp";
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Footer */
/* ── OLD FOOTER (kept for fallback, overridden by .site-footer) ── */
footer { background-color: var(--color-text); color: white; padding: 0; }
.footer-grid { display: none; }
.footer-h4 { display: none; }
.footer-links { display: none; }
.footer-socials { display: none; }
.footer-bottom { display: none; }

/* ══════════════════════════════════════════
   NEW SITE FOOTER
══════════════════════════════════════════ */
.site-footer {
    background: #0D1B36;
    color: white;
    font-family: var(--font-main);
}

/* ── Top section ── */
.sf-top { padding: 56px 0 48px; }
.sf-top-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

/* Brand column */
.sf-brand {
    flex: 0 0 220px;
    padding-right: 40px;
}
.sf-logo {
    height: 38px;
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
    display: block;
}
.sf-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 20px;
}
.sf-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sf-social {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: white; text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.sf-social:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.sf-social.sf-social-wa:hover { background: #25D366; }

/* Vertical divider */
.sf-divider-v {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
    margin: 0 36px;
    flex-shrink: 0;
}

/* Contact columns */
.sf-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sf-col-office { flex: 0 0 200px; }

.sf-col-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    width: fit-content;
}
.sf-col-badge.seekers  { background: rgba(99,179,237,0.12); color: #90cdf4; }
.sf-col-badge.employers { background: rgba(252,211,77,0.10); color: #fcd34d; }
.sf-col-badge.office   { background: rgba(255,255,255,0.08);  color: rgba(255,255,255,0.6); }

/* Contact rows */
.sf-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    padding: 9px 10px;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: background 0.2s;
}
.sf-row:hover { background: rgba(255,255,255,0.08); }
.sf-row.sf-row-wa:hover { background: rgba(37,211,102,0.15); }
.sf-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}
.sf-row-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.5px; }
.sf-row-val   { font-size: 14px; font-weight: 600; color: white; }

/* CTA buttons */
.sf-cta {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}
.sf-cta-primary {
    background: white;
    color: var(--color-primary);
}
.sf-cta-primary:hover { background: #e8f0ff; transform: translateY(-1px); }
.sf-cta-outline {
    border: 1.5px solid rgba(255,255,255,0.35);
    color: white;
}
.sf-cta-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }

/* Office column */
.sf-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.sf-address ion-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.4); }

.sf-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sf-nav-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.sf-nav-links a:hover { color: white; }

/* ── Bottom copyright bar ── */
.sf-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    background: #080f20;
    padding: 18px 0;
}
.sf-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: white;
    gap: 20px;
    flex-wrap: wrap;
}
.sf-bottom-inner p {
    color: white;
    margin-bottom: 0;
}
.sf-bottom-right { white-space: nowrap; }

/* ── Footer responsive ── */
@media (max-width: 1100px) {
    .sf-top-inner { flex-wrap: wrap; gap: 28px; }
    .sf-divider-v { display: none; }
    .sf-brand { flex: 0 0 100%; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .sf-col { flex: 0 0 calc(50% - 14px); }
    .sf-col-office { flex: 0 0 calc(50% - 14px); }
}
@media (max-width: 700px) {
    .sf-top { padding: 36px 0 28px; }
    .sf-col, .sf-col-office { flex: 0 0 100%; }
    .sf-row { padding: 10px 8px; }
    .sf-row-val { font-size: 13px; }
    .sf-cta { width: 100%; text-align: center; margin-top: 12px; padding: 12px 18px; }
    .sf-nav-links { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
    .sf-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
    .sf-bottom-right { display: none; }
}


/* =====================================================
   RESPONSIVE — single source of truth
   ===================================================== */

/* Why-grid: 3 cols on desktop */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Body padding for sticky bar */
body { padding-bottom: 0; }

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TABLET 769–1024 ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .industry-grid,
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid         { grid-template-columns: repeat(3, 1fr); }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
    .service-grid-custom { grid-template-columns: 1fr 1fr; }
    .hero h1          { font-size: 42px; }
}

/* ── MOBILE ≤768px ── */
@media (max-width: 768px) {

    /* Base */

    .top-bar        { display: none; }
    .section        { padding: 48px 0; }
    .container      { padding: 0 16px; }
    h1              { font-size: 30px !important; line-height: 1.25; }
    h2              { font-size: 24px !important; margin-bottom: 1.5rem; }
    h3              { font-size: 18px; }
    p               { font-size: 15px; }

    /* Navbar */
    .navbar         { padding: 10px 0; position: relative; z-index: 9999; }
    .navbar .container { position: relative; padding-right: 60px; }
    .logo-img       { height: 32px; }
    .nav-cta        { display: none !important; }
    .hamburger {
        display: flex !important;
        margin-left: auto;
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 9999;
        background: white;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .hamburger.open {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    /* Backdrop — simple dark overlay, no blur (mobile support) */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(13, 27, 54, 0.6);
        z-index: 9988;
    }
    .nav-backdrop.active { display: block; }

    /* Nav menu — full screen slide down from top */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 9990;
        padding: 72px 0 32px;
        gap: 0 !important;
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    .nav-links.mobile-open {
        transform: translateY(0) !important;
        pointer-events: all;
    }
    /* Menu header — logo inside drawer */
    .mobile-menu-header {
        padding: 20px 24px 16px;
        border-bottom: 2px solid var(--color-border);
        margin-bottom: 8px;
    }

    .nav-links li a {
        display: block;
        padding: 16px 24px;
        font-size: 17px;
        font-weight: 500;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text);
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links li a.active     { color: var(--color-primary); font-weight: 700; background: var(--color-bg-soft); }
    .nav-links li a:hover      { color: var(--color-primary); background: var(--color-bg-soft); }
    .nav-links li a.mobile-cta-link {
        display: block;
        margin: 16px 20px 4px;
        background: var(--color-primary);
        color: white !important;
        border-radius: 10px;
        text-align: center;
        border: none !important;
        padding: 15px 16px;
        font-weight: 600;
        font-size: 16px;
    }

    /* Hero */
    .hero           { padding: 36px 0 28px; min-height: auto; }
    .badge-pill     { font-size: 12px; padding: 5px 14px; margin-bottom: 14px; }
    .hero-subtitle  { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
    .hero .container > div[style] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .hero .btn      { width: 100% !important; justify-content: center; padding: 14px; font-size: 16px; }
    .trust-badges   { flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 12px; margin-top: 18px; }

    /* Stats */
    .stats-strip    { grid-template-columns: 1fr 1fr !important; }
    .stat-item      { padding: 20px 10px; }
    .stat-number    { font-size: 28px; }
    .stat-label     { font-size: 12px; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--color-border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); border-right: none; }

    /* Grids → 1 col */
    .value-grid,
    .steps-grid,
    .job-grid,
    .testimonial-grid,
    .footer-grid,
    .about-grid,
    .service-grid-custom { grid-template-columns: 1fr !important; gap: 16px; }

    /* 2-col on mobile looks better for small cards */
    .industry-grid,
    .why-grid       { grid-template-columns: 1fr 1fr !important; gap: 12px; }
    .industry-grid .card,
    .why-grid .card { padding: 18px 14px; }

    /* Cards */
    .card           { padding: 20px; border-radius: 12px; }

    /* Dual value CTA row */
    .value-grid .card > div[style*="flex"] {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .value-grid .btn { width: 100% !important; justify-content: center; }

    /* CTA banner buttons */
    .section[style*="linear-gradient"] .container > div[style] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .section[style*="linear-gradient"] .btn { width: 100% !important; }

    /* Footer */
    footer          { padding: 40px 0 20px; }
    .logo-img-footer { height: 30px; }
    .footer-bottom  { flex-direction: column; gap: 10px; text-align: center; }

    /* Sticky bar */
    .sticky-bar     { height: 52px; flex-direction: row; }
    .sticky-half    { padding: 8px 6px; font-size: 12px; gap: 8px; }
    .sticky-half > span { display: none; }

    /* WhatsApp float */
    .whatsapp-float { bottom: 24px; right: 14px; width: 48px; height: 48px; font-size: 22px; }

    /* About page */
    .about-visual   { padding: 16px; }
    .visual-card    { margin-left: 0 !important; }

    /* Contact page */
    .form-container-box { padding: 20px 16px; }
    .form-container-box form > div[style*="grid"] { grid-template-columns: 1fr !important; }
    .contact-card-box { padding: 24px 16px !important; }
    .contact-detail a { font-size: 18px; }

    /* Page hero (inner pages) */
    .page-hero      { padding: 70px 0 40px !important; }
    .page-hero h1   { font-size: 28px !important; }
}

/* =====================================================
   DESKTOP NAVBAR FIXES
   ===================================================== */

/* Hide mobile-only elements on desktop */
.mobile-menu-header { display: none; }
.mobile-cta-link    { display: none !important; }

@media (max-width: 768px) {
    .mobile-menu-header { display: block; }
    /* mobile-cta-link intentionally kept hidden on mobile too */
}

/* =====================================================
   SOCIAL SIDEBAR — fixed right edge
   ===================================================== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-sidebar-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: width 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-sidebar-btn:hover {
    width: 52px;
    transform: translateX(-6px);
}

.social-sidebar-btn.instagram { background: #E1306C; }
.social-sidebar-btn.facebook  { background: #1877F2; }
.social-sidebar-btn.linkedin  { background: #0A66C2; }
.social-sidebar-btn.twitter   { background: #1DA1F2; }

/* Hide sidebar on mobile — too cramped */
@media (max-width: 768px) {
    .social-sidebar { display: none; }
}

/* =====================================================
   CURRENT JOB OPENING BUTTON — floating bottom-left
   ===================================================== */
.current-job-btn {
    display: none !important;
    position: fixed;
    bottom: 72px;
    left: 20px;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 990;
    box-shadow: 0 4px 16px rgba(0, 77, 169, 0.35);
    transition: all 0.3s ease;
    animation: pulse-blue 3s infinite;
}

.current-job-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 169, 0.45);
}

.current-job-btn ion-icon { font-size: 18px; }

@keyframes pulse-blue {
    0%   { box-shadow: 0 0 0 0 rgba(0, 77, 169, 0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(0, 77, 169, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 77, 169, 0); }
}

@media (max-width: 768px) {
    .current-job-btn {
        bottom: 68px;
        left: 12px;
        font-size: 12px;
        padding: 9px 14px;
    }
    .current-job-btn span { display: none; }
    .current-job-btn { width: 44px; height: 44px; border-radius: 50%; padding: 0; justify-content: center; }
}

/* =====================================================
   CTA BANNER BUTTONS — solid and visible
   ===================================================== */
.cta-btn-jobs {
    background: white !important;
    color: var(--color-primary) !important;
    font-weight: 700;
    border: none;
    min-width: 200px;
}

.cta-btn-jobs:hover {
    background: var(--color-bg-soft) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.cta-btn-hire {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    font-weight: 700;
    border: 2px solid white !important;
    min-width: 200px;
}

.cta-btn-hire:hover {
    background: white !important;
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-btn-jobs, .cta-btn-hire { min-width: unset; width: 100% !important; }
}

/* =====================================================
   FOLLOW US SECTION
   ===================================================== */
.follow-us-section { background: var(--color-bg-soft); }

.follow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.follow-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.follow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.follow-card ion-icon  { font-size: 44px; }
.follow-name           { font-size: 16px; font-weight: 700; }
.follow-desc           { font-size: 12px; opacity: 0.85; }

.follow-linkedin  { background: #0A66C2; }
.follow-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.follow-facebook  { background: #1877F2; }
.follow-whatsapp  { background: #25D366; }

@media (max-width: 768px) {
    .follow-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .follow-card { padding: 24px 16px; }
    .follow-card ion-icon { font-size: 36px; }
}

/* =====================================================
   DUAL MODE HERO — Candidate / Employer Toggle
   ===================================================== */

/* Toggle buttons */
.hero-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 36px;
    gap: 4px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-toggle-btn {
    padding: 10px 28px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    white-space: nowrap;
}

.hero-toggle-btn.active {
    background: var(--color-primary);
    color: white;
    opacity: 1;
    box-shadow: 0 4px 14px rgba(0, 77, 169, 0.35);
}

.hero-toggle-btn:hover:not(.active) {
    opacity: 1;
    background: rgba(0, 77, 169, 0.08);
}

/* Hero mode content */
.hero-mode {
    animation: fadeSlideUp 0.4s ease forwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero actions */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* Employer mode — different accent color */
.employer-badge {
    background: #E8F4E8 !important;
    color: #1a6e2e !important;
}

.employer-span { color: #1a6e2e; }

.hero.employer-mode {
    background: linear-gradient(-45deg, #EAF4FF, #F0F8FF, #FFFFFF, #F0FFF4);
    background-size: 400% 400%;
    animation: meshBackground 15s ease infinite;
}

.btn-employer {
    background: #1a6e2e;
    color: white;
}

.btn-employer:hover {
    background: #155a25;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 110, 46, 0.25);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-toggle { flex-wrap: nowrap; }
    .hero-toggle-btn { padding: 9px 18px; font-size: 14px; }
    .btn-lg { padding: 14px 24px; font-size: 16px; width: 100%; }
    .hero-actions { flex-direction: column; gap: 10px; }
}

/* =====================================================
   CONTACT US POPUP
   ===================================================== */
.contact-popup-wrap {
    position: fixed !important;
    bottom: 24px !important;
    right: 20px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: none !important;
}

/* Trigger button */
.contact-popup-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 13px 20px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,77,169,0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.contact-popup-trigger:hover,
.contact-popup-trigger.popup-active {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 24px rgba(0,77,169,0.5);
}
.trigger-closed { display: flex; align-items: center; gap: 8px; }
.trigger-closed ion-icon { font-size: 18px; }

/* Popup box — opens above the trigger */
.contact-popup-box {
    width: 300px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.contact-popup-box.open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Header */
.contact-popup-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 18px 18px 14px;
    position: relative;
}
.contact-popup-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin: 6px 0 0;
}
.contact-popup-close {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
.contact-popup-close:hover { background: rgba(255,255,255,0.4); }

/* Body */
.contact-popup-body { padding: 14px; }
.contact-popup-section { padding: 2px 0; }
.contact-popup-section-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 6px;
    padding: 0 4px;
}
.contact-popup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s ease;
    margin-bottom: 2px;
}
.contact-popup-row:hover { background: var(--color-bg-soft); }
.contact-popup-row.whatsapp-row:hover { background: #f0fff6; }

.contact-popup-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.call-icon  { background: #E8F0FF; color: var(--color-primary); }
.wa-icon    { background: #E8FFF1; color: #25D366; }
.mail-icon  { background: #FFF3E8; color: #E07A0A; }

.contact-popup-action {
    font-size: 12px; font-weight: 700;
    color: var(--color-text); line-height: 1.2;
}
.contact-popup-value {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 1px;
}
.contact-popup-divider {
    height: 1px;
    background: var(--color-border);
    margin: 10px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-popup-wrap  { bottom: 16px; right: 16px; }
    .contact-popup-box   { width: calc(100vw - 32px); max-width: 320px; bottom: 60px; }
    .contact-popup-trigger { padding: 11px 16px; font-size: 13px; }
    .contact-popup-action { font-size: 13px; }
    .contact-popup-value  { font-size: 12px; }
}

/* Hide old floating whatsapp */
.whatsapp-float { display: none !important; }
.current-job-btn { bottom: 90px; }

/* =====================================================
   HERO REDESIGN — v2
   ===================================================== */

/* Decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}
.hero-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,77,169,0.25) 0%, transparent 70%);
    top: -100px; left: -100px;
}
.hero-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,77,169,0.15) 0%, transparent 70%);
    bottom: -80px; right: -80px;
}

/* Inner wrapper */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Toggle wrapper */
.hero-toggle-wrap {
    margin-bottom: 40px;
}
.hero-toggle {
    display: inline-flex;
    background: white;
    border-radius: 50px;
    padding: 5px;
    gap: 4px;
    box-shadow: 0 4px 24px rgba(0,77,169,0.12);
    border: 1px solid var(--color-border);
}
.hero-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-toggle-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(0,77,169,0.3);
}
.hero-toggle-btn:hover:not(.active) {
    color: var(--color-primary);
    background: var(--color-bg-soft);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    background: rgba(0,77,169,0.07);
    color: var(--color-primary);
    border: 1px solid rgba(0,77,169,0.15);
}
.employer-badge-pill {
    background: rgba(26,110,46,0.07) !important;
    color: #1a6e2e !important;
    border-color: rgba(26,110,46,0.2) !important;
}
.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: blink 2s infinite;
}
.employer-dot { background: #1a6e2e !important; }
@keyframes blink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Title */
.hero-title {
    font-size: 58px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: var(--color-text) !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}
.hero-title-accent {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}
.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
    opacity: 0.25;
}
.employer-accent {
    color: #1a6e2e !important;
}
.employer-accent::after { background: #1a6e2e !important; }

/* Subtitle */
.hero-subtitle {
    font-size: 17px !important;
    color: var(--color-text-light) !important;
    line-height: 1.7 !important;
    max-width: 560px;
    margin: 0 auto 36px !important;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-btn-primary {
    background: var(--color-primary) !important;
    color: white !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(0,77,169,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-btn-primary:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,77,169,0.4);
}
.hero-btn-outline {
    background: white !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-btn-outline:hover {
    background: var(--color-bg-soft) !important;
    transform: translateY(-3px);
}
.hero-btn-employer {
    background: #1a6e2e !important;
    color: white !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(26,110,46,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-btn-employer:hover {
    background: #155a25 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(26,110,46,0.4);
}
.employer-outline {
    color: #1a6e2e !important;
    border-color: #1a6e2e !important;
}

/* Stats row */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 16px 32px;
    box-shadow: 0 4px 24px rgba(0,77,169,0.08);
    border: 1px solid var(--color-border);
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}
.hero-stat-label {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
    font-weight: 500;
    margin-top: 4px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* Employer mode — green tinted bg */
.hero.employer-mode {
    background: linear-gradient(145deg, #f0fff4 0%, #e8f5ec 40%, #f5fff0 100%) !important;
}

/* Animation */
.hero-mode { animation: heroFadeUp 0.4s ease forwards; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
    .hero { min-height: auto !important; padding: 60px 0 40px !important; }
    .hero-title { font-size: 34px !important; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 15px !important; }
    .hero-toggle-btn { padding: 10px 18px; font-size: 13px; gap: 6px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-btn-primary, .hero-btn-outline, .hero-btn-employer {
        padding: 14px 20px !important;
        justify-content: center;
        width: 100%;
    }
    .hero-stats { padding: 14px 16px; width: 100%; justify-content: space-around; }
    .hero-stat { padding: 0 12px; }
    .hero-stat-num { font-size: 18px; }
    .hero-blob { display: none; }
}

/* =====================================================
   QUICK ACTIONS — 3 cards below stats
   ===================================================== */
.quick-actions-section {
    background: white;
    padding: 72px 0;
    border-bottom: 1px solid var(--color-border);
}
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.quick-action-card {
    padding: 48px 40px;
    text-align: center;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.2s ease;
}
.quick-action-card:last-child { border-right: none; }
.quick-action-card:hover { background: var(--color-bg-soft); }
.qa-card-center { border-right: 1px solid var(--color-border); }

.qa-icon {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    color: var(--color-primary);
}
.qa-icon svg { width: 100%; height: 100%; }

.quick-action-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}
.quick-action-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}
.qa-btn {
    display: inline-block;
    padding: 11px 28px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}
.qa-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    .quick-action-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 36px 24px;
    }
    .quick-action-card:last-child { border-bottom: none; }
}

/* =====================================================
   VALUE CARDS V2 — cleaner Image 2 style
   ===================================================== */
.value-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}
.value-card-v2 {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0,77,169,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.value-card-v2:hover {
    box-shadow: 0 8px 40px rgba(0,77,169,0.12);
    transform: translateY(-3px);
}
.value-card-employer {
    background: #fafbff;
}
.value-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.candidate-label { color: var(--color-primary); }
.employer-label   { color: var(--color-text-light); }

.value-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 14px;
}
.value-body {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.value-list {
    list-style: none;
    margin-bottom: 28px;
    padding: 0;
}
.value-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border);
}
.value-list li:last-child { border-bottom: none; }
.vl-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}
.value-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.value-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.value-phone:hover { opacity: 0.75; }
.value-phone svg { color: #e53935; }

@media (max-width: 768px) {
    .value-grid-v2   { grid-template-columns: 1fr; gap: 16px; }
    .value-card-v2   { padding: 28px 20px; }
    .value-cta-row   { flex-direction: column; align-items: flex-start; gap: 12px; }
    .value-cta-row .btn { width: 100%; text-align: center; justify-content: center; }
}
/* =====================================================
   WHY CHOOSE — clean horizontal circle carousel
   ===================================================== */
.why-section {
    background: #0D1B36;
    padding: 88px 0 72px;
    overflow: hidden;
}
.why-title {
    font-size: 38px; font-weight: 800;
    color: white; text-align: center; margin-bottom: 12px;
}
.why-subtitle {
    font-size: 16px; color: rgba(255,255,255,0.45);
    text-align: center; margin-bottom: 60px;
}

/* Carousel row */
.wyr-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.wyr-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: nowrap;
}

/* Arrow buttons */
.wyr-btn {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.wyr-btn:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.wyr-btn svg { color: rgba(255,255,255,0.6); display: block; }
.wyr-btn:hover svg { color: white; }

/* Each item */
.wyr-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    cursor: pointer; flex-shrink: 0;
    transition: all 0.4s ease;
}

/* Circle container */
.wyr-circle {
    position: relative;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

/* Size classes */
.wyr-s0 .wyr-circle {
    width: 120px; height: 120px;
    background: linear-gradient(145deg, #c0d8ff, #90bbff);
    box-shadow: 0 0 40px rgba(77,143,214,0.35);
}
.wyr-s0 .wyr-circle svg:not(.wyr-ring-svg) { color: #002d7a; }
.wyr-s0 span { color: white; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }

.wyr-s1 .wyr-circle {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.07);
    opacity: 0.65;
}
.wyr-s1 .wyr-circle svg { color: rgba(255,255,255,0.5); }
.wyr-s1 span { color: rgba(255,255,255,0.35); font-size: 11px; font-weight: 600; }

.wyr-s2 .wyr-circle {
    width: 58px; height: 58px;
    background: rgba(255,255,255,0.04);
    opacity: 0.35;
}
.wyr-s2 .wyr-circle svg { color: rgba(255,255,255,0.25); }
.wyr-s2 span { color: rgba(255,255,255,0.2); font-size: 10px; font-weight: 600; }

/* SVG Ring — sits on top of active circle */
.wyr-ring-svg {
    position: absolute;
    inset: -5px;
    width: calc(100% + 10px) !important;
    height: calc(100% + 10px) !important;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 2;
}
.wyr-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 3;
}
.wyr-ring-fg {
    fill: none;
    stroke: #004DA9;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 301.6;
    stroke-dashoffset: 301.6;
    transition: stroke-dashoffset 0.04s linear;
}

/* Info text */
.wyr-info {
    text-align: center;
    padding: 0 24px;
    min-height: 80px;
}
.wyr-info-title {
    font-size: 22px; font-weight: 800; color: white;
    margin-bottom: 10px;
    animation: wyrFade 0.35s ease;
}
.wyr-info-desc {
    font-size: 15px; color: rgba(255,255,255,0.55);
    max-width: 480px; margin: 0 auto; line-height: 1.7;
    animation: wyrFade 0.35s ease;
}
@keyframes wyrFade {
    from { opacity:0; transform:translateY(8px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
    .why-title { font-size: 26px; }
    .wyr-wrap { gap: 10px; }
    .wyr-track { gap: 14px; }
    .wyr-s0 .wyr-circle { width: 96px; height: 96px; }
    .wyr-s1 .wyr-circle { width: 64px; height: 64px; }
    .wyr-s2 { display: none; }
    .wyr-btn { width: 36px; height: 36px; }
    .wyr-info-title { font-size: 18px; }
    .wyr-info-desc  { font-size: 14px; }
}

/* =====================================================
   HOW WE WORK — candidate mode section
   ===================================================== */
.hww-section {
    background: #004DA9;
    padding: 80px 0;
    display: none; /* hidden by default, shown in candidate mode */
}
.hww-section.visible { display: block; }

.hww-title {
    font-size: 36px; font-weight: 800;
    color: white; text-align: center; margin-bottom: 12px;
}
.hww-subtitle {
    font-size: 16px; color: rgba(255,255,255,0.7);
    text-align: center; max-width: 560px;
    margin: 0 auto 52px; line-height: 1.6;
}
.hww-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    max-width: 900px;
    margin: 0 auto;
}
.hww-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 24px 20px;
    transition: background 0.3s;
}
.hww-step:hover { background: rgba(255,255,255,0.13); }
.hww-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hww-text h4 {
    font-size: 16px; font-weight: 700;
    color: white; margin-bottom: 6px;
}
.hww-text p {
    font-size: 14px; color: rgba(255,255,255,0.65);
    line-height: 1.6; margin: 0;
}
@media (max-width: 768px) {
    .hww-grid { grid-template-columns: 1fr; gap: 0; }
    .hww-title { font-size: 26px; }
}

/* =====================================================
   HOW WE WORK — responsive
   ===================================================== */
.hww-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.hww-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: background 0.3s;
}
.hww-card:hover { background: rgba(255,255,255,0.12); }
.hww-card-bright {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}
.hww-card-offset { margin-top: 32px; }
.hww-card-center {
    grid-column: 1 / -1;
    max-width: 440px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
.hww-badge {
    min-width: 38px; height: 38px;
    border-radius: 50%;
    background: #F5A800;
    color: #003080;
    font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hww-card-title {
    color: white; font-size: 15px; font-weight: 700;
    margin: 0 0 6px; line-height: 1.3;
}
.hww-card-desc {
    color: rgba(255,255,255,0.65);
    font-size: 13px; line-height: 1.6; margin: 0;
}

/* Mobile — single column, no offset */
@media (max-width: 768px) {
    .hww-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 100%;
    }
    .hww-card-offset { margin-top: 0; }
    .hww-card-center {
        max-width: 100%;
        margin: 0;
    }
    #hwwSection { padding: 56px 0 !important; }
}

/* =====================================================
   HOW WE WORK — Michael Page pill style
   ===================================================== */
.hww-mp-grid {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0 32px;
    align-items: start;
}
.hww-mp-line {
    background: rgba(255,255,255,0.2);
    width: 2px;
    min-height: 360px;
    margin-top: 28px;
    border-radius: 2px;
    position: relative;
}
.hww-mp-line::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 8px; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    border-radius: 4px;
}
.hww-mp-col { display: flex; flex-direction: column; gap: 16px; }
.hww-mp-col-right { padding-top: 80px; }
.hww-mp-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.25s;
}
.hww-mp-pill:hover { background: rgba(255,255,255,0.18); }
.hww-mp-num {
    min-width: 36px; height: 36px;
    border-radius: 50%;
    background: #F5A800;
    color: #003080;
    font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hww-mp-pill strong {
    display: block;
    color: white; font-size: 14px; font-weight: 700;
    margin-bottom: 3px;
}
.hww-mp-pill p {
    color: rgba(255,255,255,0.65);
    font-size: 13px; line-height: 1.5; margin: 0;
}
@media (max-width: 768px) {
    .hww-mp-grid { grid-template-columns: 1fr; gap: 12px; }
    .hww-mp-line { display: none; }
    .hww-mp-col-right { padding-top: 0; }
    .hww-mp-pill { border-radius: 16px; }
}

/* =====================================================
   JOBS — 4-column grid
   ===================================================== */
.job-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .job-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .job-grid-4 { grid-template-columns: 1fr; }
}

/* =====================================================
   WHY CHOOSE CAROUSEL — bigger circles
   ===================================================== */
.wyr-s0 .wyr-circle { width: 148px !important; height: 148px !important; }
.wyr-s0 .wyr-circle svg:not(.wyr-ring-svg) { width: 44px !important; height: 44px !important; }
.wyr-s1 .wyr-circle { width: 96px !important; height: 96px !important; }
.wyr-s1 .wyr-circle svg { width: 30px !important; height: 30px !important; }
.wyr-s2 .wyr-circle { width: 68px !important; height: 68px !important; }
@media (max-width: 768px) {
    .wyr-s0 .wyr-circle { width: 110px !important; height: 110px !important; }
    .wyr-s1 .wyr-circle { width: 72px  !important; height: 72px  !important; }
}

/* =====================================================
   COMPREHENSIVE MOBILE FIXES
   ===================================================== */
@media (max-width: 768px) {

    /* Prevent horizontal scroll globally */
    body { overflow-x: hidden; }

    /* Navbar — logo size */
    .logo-img { height: 28px; }

    /* Hero section */
    .hero-canvas-wrap,
    #heroCanvas { display: none; }
    .hero-content { padding: 0 4px; }
    .hero-btns { flex-direction: column !important; gap: 10px !important; }
    .hero-btns .btn { width: 100% !important; text-align: center; justify-content: center; }

    /* Toggle bar (candidate / employer) */
    .hero-toggle-wrap { padding: 0 16px; }
    .hero-toggle { gap: 6px; }
    .hero-toggle-btn { font-size: 13px !important; padding: 9px 14px !important; }

    /* Stats strip — 2x2 grid */
    .stats-strip { grid-template-columns: 1fr 1fr !important; }
    .stat-item:nth-child(2) { border-right: none !important; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--color-border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); border-right: none !important; }

    /* Industry tabs — stack on mobile */
    .ind-tabs { flex-direction: column; gap: 6px; }
    .ind-tab  { width: 100%; text-align: left; }

    /* Why Choose carousel */
    .wc-track { gap: 8px; }
    #wcLabel  { font-size: 20px; }
    #wcDesc   { font-size: 14px; }

    /* Services page cards */
    .testimonial-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .service-card-full { padding: 28px 20px; }

    /* About page visual */
    .about-grid { grid-template-columns: 1fr !important; }

    /* Floating elements spacing — avoid overlap */
    .whatsapp-float { display: none !important; }
    .current-job-btn { left: 12px; bottom: 16px; }
    .contact-popup-wrap { right: 16px; bottom: 16px; }

    /* Section headings */
    .section-label { font-size: 12px; }
    h2.section-title { font-size: 22px !important; }

    /* Buttons in CTA sections */
    .btn { font-size: 15px; }

    /* Cards — reduce padding on mobile */
    .card { padding: 20px 16px; }

    /* Office cards */
    .office-card { padding: 24px 20px; }

    /* Testimonial slider */
    .testimonial-slide { padding: 24px 18px; }

    /* Footer nav links — horizontal wrap on mobile */
    .sf-nav-links { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }

    /* sf-col-badge full width on mobile */
    .sf-col-badge { margin-bottom: 14px; }

    /* Copyright bar */
    .sf-bottom { padding: 14px 0; }
    .sf-bottom-inner { font-size: 12px; text-align: center; justify-content: center; }
    .sf-bottom-right { display: none; }
}

/* Extra small phones */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    h1 { font-size: 26px !important; }
    h2 { font-size: 20px !important; }
    .hero-toggle-btn { font-size: 12px !important; padding: 8px 10px !important; }
    .stat-number { font-size: 24px; }
    .sf-col-badge { font-size: 10px; padding: 4px 10px; }
}
/* =====================================================
   ADDITIONAL RESPONSIVE FIXES
   ===================================================== */

/* Industry grid — 2 cols on mobile */
@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px;
    }
    .industry-card {
        padding: 20px 14px;
    }
}

/* HWW sections — ensure no horizontal overflow on small screens */
@media (max-width: 640px) {
    #hwwSection,
    #hwwEmployerSection {
        padding: 52px 0 44px !important;
    }
    .hww-mp-pill {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 16px !important;
    }
}

/* Jobs section — ensure it's a full section div  */
#jobs.section {
    background: white;
}

/* Copyright bar mobile text */
@media (max-width: 768px) {
    .sf-bottom-inner p {
        color: white;
        font-size: 12px;
    }
}

/* Stats strip — ensure border color is visible on mobile */
@media (max-width: 768px) {
    .stats-strip .stat-item {
        border-color: var(--color-border);
    }
}

/* Ensure contact popup trigger is always visible above other elements */
.contact-popup-trigger {
    position: relative;
    z-index: 1;
}
