body {
    scroll-behavior: smooth;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Glass Header */
.bg-glass {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Scroll Reveal */
.reveal-base {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}


.nav-link {
    transition: color 0.3s;
}

.mobile-link {
    color: #0c3466;
    font-size: 1.125rem;
    font-weight: 500;
}

.mobile-link:hover {
    color: #ff4e16;
}



/* Home Section */
.hero-home {
    background-image:
        linear-gradient(120deg, rgba(7, 18, 36, 0.92) 0%, rgba(12, 52, 102, 0.85) 45%, rgba(12, 52, 102, 0.55) 70%),
        url("../assets/home.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-about {
    background-image:
        linear-gradient(120deg, rgba(10, 24, 45, 0.92) 0%, rgba(12, 52, 102, 0.82) 45%, rgba(12, 52, 102, 0.5) 70%),
        url("../assets/about-us.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-services {
    background-image:
        linear-gradient(120deg, rgba(7, 18, 36, 0.92) 0%, rgba(12, 52, 102, 0.85) 45%, rgba(12, 52, 102, 0.55) 70%),
        url("../assets/service.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-service-detail {
    background-image:
        linear-gradient(120deg, rgba(9, 22, 42, 0.94) 0%, rgba(12, 52, 102, 0.84) 45%, rgba(12, 52, 102, 0.5) 70%),
        var(--hero-service-image);
    background-size: cover;
    background-position: center;
}

.hero-service-permanent {
    --hero-service-image: url("../assets/permanent.jpeg");
}

.hero-service-rpo {
    --hero-service-image: url("../assets/rpo.jpeg");
}

.hero-service-executive {
    --hero-service-image: url("../assets/executive.jpeg");
}

.hero-service-avron {
    --hero-service-image: url("../assets/avron.jpeg");
}

.blog-content {
    max-width: 100%;
}

.article-hero {
    background: #0c3466;
    color: #fff;
    padding: 120px 0 96px;
}

.article-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.article-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.article-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.8);
}

.article-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 14px;
}

.article-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-meta-dot {
    opacity: 0.6;
}

.article-body {
    background: #ffffff;
    padding: 0 0 120px;
}

.article-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
}

.article-feature {
    margin-top: -56px;
    margin-bottom: 32px;
}

.article-feature img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(12, 52, 102, 0.16);
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.article-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 26px;
    font-weight: 500;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4b5563;
}

.article-content > * + * {
    margin-top: 1.6rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: "Playfair Display", serif;
    color: #0c3466;
    line-height: 1.35;
    margin-top: 2.1rem;
}

.article-content h2 { font-size: 1.85rem; }
.article-content h3 { font-size: 1.45rem; }
.article-content h4 { font-size: 1.15rem; }

.article-content a {
    color: #ff4e16;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 78, 22, 0.4);
    text-underline-offset: 4px;
}

.article-content ul,
.article-content ol {
    padding-left: 1.25rem;
}

.article-content li {
    margin: 0.45rem 0;
}

.article-content blockquote {
    border-left: 4px solid #ff4e16;
    padding: 0.75rem 1.25rem;
    background: #fff7f3;
    color: #0c3466;
    font-style: italic;
    border-radius: 12px;
}

.article-content img {
    border-radius: 16px;
    max-width: 100%;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.article-content th {
    background: #f9fafb;
    color: #0c3466;
}

.article-content pre {
    background: #0c3466;
    color: #f9fafb;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.article-content code {
    background: #f3f4f6;
    color: #0c3466;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.article-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2.25rem 0;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 96px 0 64px;
    }

    .article-meta {
        letter-spacing: 0.12em;
        font-size: 11px;
    }

    .article-excerpt {
        font-size: 1.05rem;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(255, 78, 22, 0.2), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.18), transparent 50%);
    pointer-events: none;
}

.hero-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.06) 55%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 3px 3px;
    opacity: 0.08;
    pointer-events: none;
}

.hero-panel {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(18px);
}

.hero-card {
    box-shadow: 0 30px 70px rgba(12, 52, 102, 0.25);
}

@media (max-width: 1024px) {
    .hero-home {
        background-position: right center;
    }

    .hero-about {
        background-position: right center;
    }

    .hero-services {
        background-position: right center;
    }

    .hero-service-detail {
        background-position: right center;
    }
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    transform: translateX(-40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Float animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}


/* Services Page */
.feature-card {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border-radius: 2rem;
    border: 1px solid #f3f4f6;
    font-weight: 700;
    font-size: .9rem;
    transition: .4s;
}

.feature-card:hover {
    border-color: rgba(212, 175, 55, .3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.service-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4rem;
    border: 16px solid #fff;
    filter: grayscale(1) brightness(.75);
    transition: 2s;
}

.service-image:hover {
    filter: grayscale(0);
    transform: scale(1.08);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3rem;
    background: #0c3466;
    color: #fff;
    border-radius: 1.5rem;
    font-weight: 900;
    letter-spacing: .2em;
    font-size: .7rem;
    transition: .4s;
}

.service-cta:hover {
    background: #ff4e16;
    transform: translateY(-6px);
}


/* Reveal animation */
/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
    opacity: 1;
    transform: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.animate-marquee {
    animation: marquee 60s linear infinite
}

/* Quill rich text rendering (jobs) */
.job-richtext .ql-align-center { text-align: center; }
.job-richtext .ql-align-right { text-align: right; }
.job-richtext .ql-align-justify { text-align: justify; }
.job-richtext .ql-size-small { font-size: 0.875em; }
.job-richtext .ql-size-large { font-size: 1.25em; }
.job-richtext .ql-size-huge { font-size: 1.5em; }
.job-richtext .ql-font-serif { font-family: "Playfair Display", serif; }
.job-richtext .ql-font-monospace { font-family: "Courier New", monospace; }
.job-richtext .ql-indent-1 { margin-left: 2rem; }
.job-richtext .ql-indent-2 { margin-left: 4rem; }
.job-richtext .ql-indent-3 { margin-left: 6rem; }
.job-richtext .ql-indent-4 { margin-left: 8rem; }
.job-richtext blockquote {
    border-left: 4px solid rgba(12, 52, 102, 0.2);
    padding-left: 1rem;
    color: #4b5563;
    font-style: italic;
}
.job-richtext p {
    margin: 0 0 1rem;
    line-height: 1.7;
}
.job-richtext h1,
.job-richtext h2,
.job-richtext h3,
.job-richtext h4 {
    color: #0c3466;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}
.job-richtext h3 {
    font-size: 1.35rem;
}
.job-richtext ul,
.job-richtext ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}
.job-richtext ul {
    list-style: disc;
}
.job-richtext ol {
    list-style: decimal;
}
.job-richtext li {
    margin: 0.35rem 0;
    line-height: 1.6;
}
