/* ==========================================================================
   H2B IT Solutions — Main Stylesheet
   Dark corporate rebrand — Navy, Green, Dark
   ========================================================================== */

/* --- Jost Font --- */
@font-face {
    font-family: 'Jost';
    src: url('../fonts/jost-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/jost-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Custom Properties --- */
:root {
    --navy: #011578;
    --navy-dark: #010f5a;
    --navy-light: #021a90;
    --green: #30D158;
    --green-dark: #28b84c;
    --dark: #212128;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #e0e0e0;
    --gray-border: #e0e0e0;
    --text: #212128;
    --font: 'Jost', "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max-width: 1140px;
    --header-height: 90px;
    --transition: 0.35s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

strong, b { font-weight: 600; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 300;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }

ul, ol { margin-bottom: 1em; padding-left: 1.5em; }

/* --- Green Dot Accent --- */
.green-dot::after {
    content: '.';
    color: var(--green);
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 55px 0;
}

.section-sm {
    padding: 35px 0;
}

.section-lg {
    padding: 80px 0;
}

/* --- Site Header --- */
.site-header {
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 16px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-img {
    display: block;
    height: 62px;
    width: auto;
}

.header-tagline {
    color: var(--green);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.3px;
    opacity: 0.8;
    line-height: 1;
    white-space: nowrap;
}

/* --- Main Navigation --- */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 8px 12px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color var(--transition), background var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
    color: var(--green);
}

/* Dropdown submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-radius: 0 0 6px 6px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 1001;
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 18px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    transition: background var(--transition), color var(--transition);
}

.submenu li a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--green);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(1, 21, 120, 0.88) 0%, rgba(1, 21, 120, 0.55) 55%, rgba(1, 21, 120, 0.15) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    background: none;
    display: block;
    padding: 0;
    border-left: 4px solid var(--green);
    border-radius: 0;
    backdrop-filter: none;
    padding-left: 30px;
    max-width: 560px;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    color: var(--white);
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 18px;
    text-shadow: none;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 20px;
    font-weight: 300;
    max-width: 480px;
}

.hero .btn {
    margin-top: 5px;
}

.hero-sm {
    min-height: 260px;
}

.hero-sm h1 {
    font-size: 2rem;
}

/* --- Page Header (non-hero pages) --- */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 21, 120, 0.55);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

/* Benefits grid (services detail pages) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.benefits-grid .benefit-card h3 {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.benefits-grid .benefit-card p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

/* --- Value Proposition Section --- */
.value-prop {
    padding: 70px 0;
    background: var(--white);
}

.value-prop-text {
    max-width: 720px;
}

.value-prop-text h2 {
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--dark);
    line-height: 1.35;
}

.value-prop-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 24px;
    font-weight: 300;
}

.value-prop-visual {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.value-prop-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(33, 33, 40, 0.25);
    backdrop-filter: blur(1px);
    border-radius: 10px;
}

.value-prop-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    background-image: url('../img/infrastructure-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 60px 30px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 21, 120, 0.78);
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--green);
    color: var(--dark);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--dark);
    border-color: var(--green);
}

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

.btn-dark:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* --- Service Cards (Home) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

a.service-card {
    display: flex;
    background: var(--white);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    border-radius: 6px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    flex-direction: column;
}

a.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border-color: var(--green);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-body {
    padding: 22px 25px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 15px;
    border-left: 3px solid var(--green);
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--dark);
}

a.service-card:hover .service-card-body h3 {
    color: var(--green);
}

.service-card-body p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 15px;
}

.service-card-body .read-more {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--green);
    margin-top: auto;
    padding-top: 10px;
}

a.service-card:hover .read-more {
    color: var(--green-dark);
}

/* --- Service Blocks (services overview) --- */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 300px;
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-border);
}

.service-block:nth-child(even) .service-block-img {
    order: 2;
}

.service-block:nth-child(even) .service-block-content {
    order: 1;
}

.service-block-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.service-block-img.has-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 21, 120, 0.25);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}

.service-block-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.6s ease;
}

.service-block:hover .service-block-img img {
    transform: scale(1.03);
}

.service-block-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.service-block-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 15px;
    border-left: 3px solid var(--green);
    margin-bottom: 15px;
}

.service-block-content p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.7;
}

/* --- "Daarom H2B" Section (horizontal scroller) --- */
.why-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 90px 0 80px;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(33, 33, 40, 0.82);
}

.why-section .container {
    position: relative;
    z-index: 2;
}

.why-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-scroller {
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.why-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: why-scroll 40s linear infinite;
}

.why-track:hover {
    animation-play-state: paused;
}

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

.why-item {
    min-width: 300px;
    max-width: 300px;
    background: rgba(255,255,255,0.07);
    border-left: 3px solid var(--green);
    border-radius: 8px;
    padding: 28px 24px;
    transition: background 0.3s ease;
}

.why-item:hover {
    background: rgba(255,255,255,0.13);
}

.why-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--dark);
}

.why-item h3 {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.why-item p {
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.85;
    margin: 0;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.team-member {
    text-align: center;
}

.team-member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 4px solid var(--gray-border);
    transition: border-color var(--transition);
}

.team-member:hover .team-member-photo {
    border-color: var(--green);
}

.team-member h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-member .role {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.team-member .contact-link {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.team-member .social-links {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-member .social-links a {
    color: var(--gray);
    transition: color var(--transition);
}

.team-member .social-links a:hover {
    color: var(--green);
}

/* --- Partner Logos --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: box-shadow var(--transition), border-color var(--transition);
    min-height: 160px;
}

.partner-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: var(--green);
}

.partner-card img {
    max-height: 70px;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

.partner-card h3 {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Case Study / Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    border-radius: 8px;
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.portfolio-card:hover img {
    opacity: 0.6;
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-card-overlay .btn {
    margin-top: 12px;
}

/* Fallback for missing case images */
.portfolio-card-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 4rem;
}

/* --- Content Sections --- */
.content-section {
    padding: 50px 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 15px;
    border-left: 3px solid var(--green);
    margin-bottom: 20px;
}

.content-section h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-section ul {
    margin-bottom: 1.2em;
}

.content-section ul li {
    margin-bottom: 4px;
}

.content-section p {
    line-height: 1.75;
    color: var(--gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* Alternating section backgrounds */
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.9); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.85); }
/* Legacy support */
.bg-blue { background: var(--navy); color: var(--white); }
.bg-blue h2, .bg-blue h3 { color: var(--white); }
.bg-blue p { color: rgba(255,255,255,0.9); }

/* --- Modern Quote / Accent Heading --- */
.accent-heading {
    padding-left: 18px;
    border-left: 3px solid var(--green);
    margin-bottom: 20px;
}

.accent-heading h2 {
    border: none;
    padding-left: 0;
}

blockquote.modern-quote {
    border-left: 3px solid var(--green);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--light);
    border-radius: 0 6px 6px 0;
    font-style: normal;
}

blockquote.modern-quote p {
    margin: 0;
    color: var(--dark);
    font-size: 1.05rem;
}

/* --- Section Title Bar (green left accent) --- */
h2.section-title-bar {
    border-left: 4px solid var(--green);
    padding-left: 24px;
    text-align: left;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* On dark backgrounds */
.why-section h2.section-title-bar,
.parallax-cta h2.section-title-bar {
    color: var(--white);
    text-align: left;
}

.parallax-cta:has(.section-title-bar) {
    text-align: left;
}

.parallax-cta:has(.section-title-bar) p {
    margin-left: 0;
    margin-right: 0;
}

.parallax-cta h2.section-title-bar {
    margin-bottom: 10px;
}


/* --- Homepage Contact Section --- */
.home-contact {
    background: var(--light);
    padding: 70px 0;
}

.home-contact-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.home-contact-text {
    flex: 1;
}

.home-contact-text h2 {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-contact-text p {
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.home-contact-cards {
    display: flex;
    gap: 20px;
}

.home-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: 8px;
    border-left: 4px solid var(--green);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 220px;
}

.home-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.home-contact-card svg {
    color: var(--green);
    flex-shrink: 0;
}

.home-contact-card strong {
    display: block;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.home-contact-card span {
    color: var(--gray);
    font-size: 15px;
    font-weight: 300;
}

@media (max-width: 900px) {
    .home-contact-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
}

@media (max-width: 560px) {
    .home-contact-cards { flex-direction: column; width: 100%; }
    .home-contact-card { min-width: auto; }
}

/* --- Parallax CTA section --- */
.parallax-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.parallax-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 21, 120, 0.72);
}

.parallax-cta .container {
    position: relative;
    z-index: 2;
}

.parallax-cta h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.parallax-cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 22px;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group label .required {
    color: #c0392b;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 15px;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    outline: 2px solid var(--green);
    outline-offset: -2px;
    box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    padding: 8px;
    border-style: dashed;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.checkbox-group label {
    text-transform: none;
    font-weight: 600;
    font-size: 15px;
    display: inline;
}

.form-response {
    margin-top: 15px;
}

.alert {
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Contact Page Two-Column --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 22px;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 3px solid var(--green);
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.contact-info a {
    color: var(--navy);
}

.contact-info a:hover {
    color: var(--green);
}

/* --- Vacancy Blocks --- */
.vacancy {
    background: var(--light);
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    padding: 35px 40px;
    margin-bottom: 30px;
}

.vacancy h3 {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-left: 15px;
    border-left: 3px solid var(--green);
    margin-bottom: 15px;
}

.vacancy h4 {
    margin-top: 18px;
    margin-bottom: 8px;
}

.vacancy p,
.vacancy ul {
    font-size: 15px;
    color: var(--gray);
}

.vacancy ul li {
    margin-bottom: 3px;
}

.vacancy .disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray);
    font-style: italic;
}

/* --- Promo / CTA Box --- */
.promo-box {
    background: var(--navy);
    color: var(--white);
    padding: 35px 40px;
    margin: 30px 0;
    border-radius: 8px;
}

.promo-box h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.promo-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.promo-box a {
    color: var(--green);
    text-decoration: underline;
}

/* --- Office Section --- */
.office-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 0;
    color: var(--white);
}

.office-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 21, 120, 0.68);
}

.office-section .container {
    position: relative;
    z-index: 2;
}

.office-section h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.office-section p {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
    font-size: 14px;
    border-top: 2px solid var(--green);
}

.footer-top {
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 13px;
    font-weight: 300;
    color: var(--green);
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 300;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--green);
}

.footer-col p {
    margin: 0 0 12px;
    line-height: 1.6;
    font-weight: 300;
}

.footer-col p a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-col p a:hover {
    color: var(--green);
}

.footer-legal-info {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-copy {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 300;
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--green);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: rgba(255,255,255,0.6);
}

.site-footer a:hover {
    color: var(--green);
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), background var(--transition);
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--green);
    color: var(--dark);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.intro-text {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 800px;
    margin-bottom: 35px;
}

.intro-text.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* --- CVD Form Page --- */
.cvd-policy h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.cvd-policy ul {
    color: var(--gray);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .why-item { min-width: 260px; max-width: 260px; }
    .service-block { grid-template-columns: 1fr; }
    .service-block:nth-child(even) .service-block-img { order: 0; }
    .service-block:nth-child(even) .service-block-content { order: 0; }
    .service-block-img { height: 250px; }
    .service-block-img img { height: 250px; }
    .header-tagline { display: none; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .menu-toggle { display: block; order: 3; }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--dark);
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        z-index: 1001;
    }

    .main-nav.open { display: block; }

    .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-list > li > a {
        padding: 12px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        background: rgba(255,255,255,0.04);
    }

    .has-submenu.submenu-open > .submenu {
        display: block;
    }

    .submenu li a {
        padding-left: 40px;
    }

    .hero { min-height: 350px; background-attachment: scroll; padding: 40px 0; }
    .hero-overlay { padding: 25px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-sm { min-height: 200px; }
    .page-header { padding: 45px 0; background-attachment: scroll; }

    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item { min-width: 240px; max-width: 240px; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }

    .service-block-content { padding: 25px 20px; }
    .vacancy { padding: 25px 20px; }

    .why-section, .parallax-cta, .office-section, .cta-banner {
        background-attachment: scroll;
    }

    .value-prop { padding: 50px 0; }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    .container { padding: 0 20px; }

    .footer-brand { flex-direction: column; gap: 4px; align-items: flex-start; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: 1fr; }
    .team-member-photo { width: 140px; height: 140px; }
    .logo-img { height: 36px; }
    .footer-logo-img { height: 28px; }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom-links { flex-direction: column; gap: 8px; }
}


.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--green);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
}
.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .parallax-cta,
    .why-section,
    .office-section,
    .hero {
        background-attachment: scroll !important;
    }
}

.accent-heading {
    border-left: 3px solid var(--green);
    padding-left: 15px;
    margin-bottom: 20px;
}

.form-disclaimer {
    font-size: 13px;
    color: var(--gray);
    margin-top: 15px;
}
.form-disclaimer a {
    color: var(--gray);
    text-decoration: underline;
}

.form-narrow {
    max-width: 600px;
}
.form-wide {
    max-width: 700px;
}

/* --- Values Page (Onze Waarden) --- */

.values-statement {
    background-color: var(--navy);
    padding: 80px 0;
}

.values-statement-grid {
    display: flex;
    gap: 60px;
}

.values-statement-col {
    flex: 1;
}

.values-statement h2 {
    color: var(--white);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.values-statement .green-dot::after {
    color: var(--green);
}

.values-statement p {
    color: var(--white);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
}

.values-intro {
    background-color: var(--white);
    padding: 60px 0 40px;
}

.values-intro p {
    max-width: 720px;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.7;
}

.values-list {
    background-color: var(--white);
    padding-bottom: 60px;
}

.values-list .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 48px;
}

.value-item {
    background: var(--light);
    border-left: 3px solid var(--green);
    padding: 28px 28px 28px 24px;
    border-radius: 4px;
}

.value-item h3 {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.value-item p {
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .values-statement-grid {
        flex-direction: column;
        gap: 40px;
    }

    .values-statement {
        padding: 50px 0;
    }

    .values-intro {
        padding: 40px 0 30px;
    }

    .values-list .container {
        grid-template-columns: 1fr;
    }
}

/* --- Werken Bij Page --- */

/* Hero */
.werken-hero {
    position: relative;
    height: 65vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.werken-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(1, 21, 120, 0.4), rgba(1, 15, 90, 0.7));
}

.werken-hero h1 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
    letter-spacing: 0.01em;
}

/* Intro */
.werken-intro {
    background: var(--white);
    padding: 80px 0;
}

.werken-intro-content {
    max-width: 700px;
}

.werken-intro-content p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.werken-intro-content p:last-child {
    margin-bottom: 0;
}

/* Benefit cards */
.werken-benefits {
    background: var(--light);
    padding: 0 0 80px;
}

.werken-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--white);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
.benefit-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
    transition: box-shadow var(--transition), transform var(--transition);
}

.benefit-card h2 {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.benefit-card ul {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0;
}

.benefit-card ul li {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 6px;
}

.benefit-card-full {
    grid-column: 1 / -1;
}

/* Disclaimer */
.werken-disclaimer {
    padding: 40px 0;
    background: var(--light);
}

.werken-disclaimer p {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray);
    text-align: center;
    margin: 0;
}

/* Vacancies */
.werken-vacatures {
    background: var(--white);
    padding: 80px 0;
}

.werken-vacatures h2 {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 40px;
}

.werken-vacancy {
    background: var(--light);
    padding: 36px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    margin-bottom: 24px;
}

.werken-vacancy:last-of-type {
    margin-bottom: 0;
}

.werken-vacancy h3 {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.werken-vacancy h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    margin: 20px 0 8px;
}

.werken-vacancy p,
.werken-vacancy ul {
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.werken-vacancy ul {
    padding-left: 1.5em;
}

.werken-vacancy ul li {
    margin-bottom: 4px;
}

.werken-acquisitie {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 30px;
}

/* Application form */
.werken-sollicitatie {
    background: var(--light);
    padding: 80px 0;
}

.werken-sollicitatie .container {
    max-width: 600px;
}

.werken-sollicitatie h2 {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.werken-sollicitatie > .container > p {
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Bottom nav cards */
.werken-nav-cards {
    padding: 0;
}

.werken-nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.werken-nav-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform var(--transition);
}

.werken-nav-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(1, 21, 120, 0.3), rgba(1, 15, 90, 0.6));
    transition: background var(--transition);
}

.werken-nav-card:hover::before {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
}

.werken-nav-card span {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.werken-nav-card:hover {
    transform: scale(1.02);
    z-index: 1;
}

/* Werken-bij responsive */
@media (max-width: 768px) {
    .werken-hero {
        height: 50vh;
        min-height: 300px;
    }

    .werken-intro,
    .werken-benefits,
    .werken-vacatures,
    .werken-sollicitatie {
        padding: 50px 0;
    }

    .werken-benefits-grid {
        grid-template-columns: 1fr;
    }

    .werken-nav-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .werken-nav-cards-grid {
        grid-template-columns: 1fr;
    }

    .werken-nav-card {
        min-height: 160px;
    }
}

/* --- Image Hover Effects --- */
.service-card-img {
    transition: transform 0.5s ease;
}

a.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-block-img {
    overflow: hidden;
}

.service-block-img img {
    transition: transform 0.5s ease;
}

.service-block:hover .service-block-img img {
    transform: scale(1.04);
}

.portfolio-card img {
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

/* --- Service Block Button Fix --- */
.service-block-content .btn {
    align-self: flex-start;
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Additional Visual Polish --- */
@media (prefers-reduced-motion: reduce) {
    .why-track { animation: none; }
}

.team-member {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}