/* ==========================================================================
   PRO TOTAAL GROEP B.V. - UNIFIED PREMIUM DESIGN SYSTEM (EXTENDED V2)
   ========================================================================== */

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

:root {
    /* Brand Colors (Harmonized with Official Hexagon Logo) */
    --clr-primary: hsl(218, 75%, 22%);      /* Deep Prestige Navy #091e38 */
    --clr-primary-light: hsl(215, 68%, 38%);/* Royal Navy Blue #1e40af */
    --clr-primary-dark: hsl(220, 85%, 14%); /* Midnight Navy #05101f */
    --clr-secondary: hsl(212, 72%, 35%);    /* Steel Blue #1a498b */
    --clr-accent: hsl(42, 58%, 50%);        /* Champagne Gold #c5a059 */
    --clr-gold: hsl(42, 70%, 48%);          /* Metallic Gold #d4af37 */
    --clr-danger: hsl(350, 80%, 55%);
    --clr-warning: hsl(38, 95%, 50%);
    --clr-success: hsl(155, 75%, 38%);

    /* Light Theme */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-header: rgba(255, 255, 255, 0.95);
    
    --text-main: #0b1f3a;
    --text-muted: #52647c;
    --text-inverse: #ffffff;
    
    --border-color: #cbd5e1;
    --border-color-focus: var(--clr-primary);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #061324 0%, #0b2545 50%, #112d55 100%);
    --gradient-primary: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, #c5a059 0%, #d4af37 100%);
    
    /* Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    
    --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06);
    --shadow-md: 0 4px 14px rgba(11, 37, 69, 0.09);
    --shadow-lg: 0 15px 35px -5px rgba(11, 37, 69, 0.14);
    --shadow-primary: 0 10px 25px -5px rgba(11, 37, 69, 0.4);
    
    --header-height: 80px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='dark'] {
    --bg-body: #070a13;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-header: rgba(7, 10, 19, 0.95);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --border-color: #334155;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 30px -5px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
    transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

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

a:hover {
    color: var(--clr-primary-dark);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary);
}

/* ==========================================================================
   GLOBAL FORM CONTROLS & INPUT STYLING (CRITICAL FIX)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea,
.form-control {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.85rem 1.15rem !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--text-main) !important;
    background-color: var(--bg-card) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition) !important;
    margin-top: 0.35rem !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    outline: none !important;
    border-color: var(--clr-primary) !important;
    background-color: var(--bg-card) !important;
    box-shadow: 0 0 0 4px rgba(59, 82, 226, 0.18) !important;
}

textarea, textarea.form-control {
    min-height: 130px !important;
    resize: vertical !important;
}

.form-group {
    margin-bottom: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
}

.form-label {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: var(--text-main) !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}

.form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   LAYOUT CONTAINERS & BANNER
   ========================================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.page-main {
    min-height: calc(100vh - var(--header-height) - 300px);
}

.section-banner {
    background: var(--gradient-hero);
    color: white;
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition), border-color var(--transition);
}

.header-container, .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.pt-icon, .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(59, 82, 226, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--clr-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Flash Messages */
.flash-messages-container {
    margin-top: 1rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--clr-accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--clr-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px -5px rgba(59, 82, 226, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main) !important;
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--clr-accent);
    color: white !important;
}

.btn-danger {
    background-color: var(--clr-danger);
    color: white !important;
}

.btn-sm, .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   HERO SECTION & LANDING
   ========================================================================== */

.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Full-Width Immersive Hero Banner */
.hero-fullwidth {
    background: url('/images/hero-banner-full.jpg') no-repeat center right / cover !important;
    min-height: 660px;
    padding: 7.5rem 0 5rem !important;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(7, 22, 44, 0.96) 0%, 
        rgba(7, 22, 44, 0.88) 45%, 
        rgba(7, 22, 44, 0.55) 75%, 
        rgba(7, 22, 44, 0.75) 100%);
    z-index: 1;
}

.hero-container-fullwidth {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-fullwidth {
    max-width: 680px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #fde047;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.7);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(253, 224, 71, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(253, 224, 71, 0); }
}

.btn-glow {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4), var(--shadow-primary) !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--clr-gold);
    font-size: 1.1rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge, .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #fde047;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header.center {
    flex-direction: column;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: block;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.vacancy-card, .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vacancy-card:hover, .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.vacancy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-icon {
    color: var(--clr-primary);
    font-size: 1.25rem;
}

.vacancy-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: rgba(59, 82, 226, 0.08);
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.vacancy-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vacancy-meta {
    display: flex;
    gap: 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.vacancy-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.vacancy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.salary {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.salary span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Grid */
.services-grid, .services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card, .service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.service-card:hover, .service-detail-card:hover {
    transform: translateY(-4px);
    border-color: var(--clr-primary);
}

/* Service Card Image Banner Support */
.service-card.has-image-card,
.service-detail-card.has-image-card {
    padding: 0 !important;
    overflow: hidden !important;
}

.service-card-img-wrapper {
    width: 100%;
    height: 195px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    background-color: #f1f5f9;
}

.service-card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition);
}

.service-card:hover .service-card-cover-img,
.service-detail-card:hover .service-card-cover-img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 15px rgba(59, 82, 226, 0.3);
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card h3, .service-detail-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.service-card p, .service-detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-list li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li i {
    color: var(--clr-accent);
}

/* About & Values */
.about-grid, .about-full-grid {
    max-width: 900px;
    margin: 0 auto;
}

.about-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.stats-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-box, .value-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-item i {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-txt {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Vacancy Detail Page */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-card {
    padding: 3rem;
}

.detail-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.detail-meta {
    font-size: 1rem;
}

.divider-hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.detail-body h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.detail-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT PAGE & FILTERS
   ========================================================================== */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card-info, .contact-card-form {
    padding: 2.5rem;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-detail-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-items li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 82, 226, 0.08);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Filter Card */
.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.filter-form {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.flex-2 {
    flex: 2;
    min-width: 280px;
}

.filter-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.empty-state-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.empty-state-box i {
    font-size: 3.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
   AUTHENTICATION & LOGIN
   ========================================================================== */

.login-page {
    min-height: calc(100vh - var(--header-height) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.role-tabs {
    display: flex;
    background: var(--bg-body);
    padding: 0.3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.role-tab {
    flex: 1;
    text-align: center;
    padding: 0.65rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition);
}

.role-tab.active {
    background: var(--bg-card);
    color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.demo-box {
    background: rgba(59, 82, 226, 0.05);
    border: 1px dashed var(--clr-primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1.75rem;
    font-size: 0.85rem;
}

.demo-box strong {
    color: var(--clr-primary);
    display: block;
    margin-bottom: 0.35rem;
}

.demo-box code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

/* ==========================================================================
   PORTALS (WERKNEMER, WERKGEVER, ADMIN)
   ========================================================================== */

.portal {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    gap: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.admin-avatar {
    background: linear-gradient(135deg, #0f172a, #3b52e2);
}

.details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.details strong {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.details span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(59, 82, 226, 0.08);
    color: var(--clr-primary);
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

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

.badge-count {
    background: var(--clr-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: auto;
}

.portal-content {
    padding: 2.5rem;
    background: var(--bg-body);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.portal-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-header h1 {
    font-size: 1.85rem;
}

.portal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(59, 82, 226, 0.08);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-card .value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.25rem;
}

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

/* ==========================================================================
   TABLES & BADGES
   ========================================================================== */

.table-responsive, .table-wrap {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    background: rgba(59, 82, 226, 0.03);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--clr-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-approved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--clr-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-admin {
    background: rgba(59, 82, 226, 0.1);
    color: var(--clr-primary);
}

.badge-werkgever {
    background: rgba(14, 165, 233, 0.1);
    color: var(--clr-secondary);
}

.badge-werknemer {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-accent);
}

/* ==========================================================================
   WHATSAPP WIDGET & FOOTER
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

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

.site-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links, .contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--clr-secondary);
}

.footer-links a:hover {
    color: var(--clr-secondary);
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-info-list i {
    color: var(--clr-secondary);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE (OPTIMIZED FOR MOBILE & TABLETS)
   ========================================================================== */

@media (max-width: 992px) {
    .portal {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-img {
        max-width: 100%;
        margin: 0 auto;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--text-main);
        font-size: 1.25rem;
        cursor: pointer;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 2px solid var(--clr-primary);
        box-shadow: 0 15px 30px rgba(0,0,0,0.25);
        padding: 1.25rem 2rem;
        z-index: 1000;
        animation: fadeIn 0.25s ease-out;
    }

    .main-nav.active, .main-nav.show {
        display: block !important;
    }

    .main-nav ul {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-main);
        width: 100%;
        transition: background 0.2s, color 0.2s;
    }

    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        background: var(--gradient-primary);
        color: white !important;
    }
    
    .hero-fullwidth {
        min-height: 560px;
        padding: 5rem 0 3.5rem !important;
        background-position: center center !important;
    }

    .hero-bg-overlay {
        background: linear-gradient(180deg, 
            rgba(7, 22, 44, 0.95) 0%, 
            rgba(7, 22, 44, 0.90) 100%) !important;
    }

    .hero-content-fullwidth {
        max-width: 100%;
        text-align: center;
    }

    .hero-trust-strip {
        justify-content: center;
        gap: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .site-header {
        height: 70px;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-fullwidth {
        min-height: auto;
        padding: 4rem 0 3rem !important;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-desc {
        font-size: 0.98rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.85rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .vacancy-grid {
        grid-template-columns: 1fr !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   USER PROFILE DROPDOWN MENU (MATCHING SCREENSHOT EXACTLY)
   ========================================================================== */

.user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.user-menu-trigger:hover {
    background: var(--bg-card-hover);
}

.user-avatar-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-menu-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    padding: 1.5rem;
    display: none;
    z-index: 2000;
    animation: fadeInDropdown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown-menu.active {
    display: block;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

.user-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-user-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-email {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

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

.dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dropdown-links a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.dropdown-links a:hover {
    color: #1d4ed8;
}

.dropdown-links i {
    font-size: 1.1rem;
    color: var(--text-muted);
    width: 22px;
}

.lang-select-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    color: var(--text-main);
}

.lang-select {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.9rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    width: auto !important;
    margin-top: 0 !important;
    font-family: inherit !important;
}

.dropdown-footer {
    padding-top: 0.25rem;
}

.logout-link {
    color: #2563eb !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.logout-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SMOOTH SCROLL REVEAL ANIMATIONS
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

/* Base Reveal Animation States */
.reveal-init,
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Directional variants */
[data-reveal="fade-up"].reveal-init {
    transform: translateY(35px);
}

[data-reveal="fade-down"].reveal-init {
    transform: translateY(-35px);
}

[data-reveal="fade-left"].reveal-init {
    transform: translateX(40px);
}

[data-reveal="fade-right"].reveal-init {
    transform: translateX(-40px);
}

[data-reveal="zoom-in"].reveal-init {
    transform: scale(0.93) translateY(15px);
}

[data-reveal="fade"].reveal-init {
    transform: none;
}

/* Revealed State */
.reveal-init.revealed,
[data-reveal].revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Staggered Delay Utilities */
.delay-50  { transition-delay: 50ms !important; }
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }

/* Accessible fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal-init,
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
