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

:root {
  /* Colors */
  --primary: #0A192F;
  --primary-light: #172A45;
  --primary-gradient: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
  --secondary: #2563EB; /* Blue-600 */
  --secondary-hover: #1D4ED8; /* Blue-700 */
  --secondary-gradient: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --bg-color: #F1F5F9; /* Slate-100 */
  --surface-color: #F8FAFC; /* Slate-50 */
  --text-main: #0F172A; /* Slate-900 */
  --text-muted: #64748B; /* Slate-500 */
  --border-color: #E2E8F0; /* Slate-200 */
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  
  /* Spacing */
  --container-padding: 2rem;
  --section-padding: 6rem 0;
  
  /* Utilities */
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Patterns & Gradients */
.bg-mesh {
  background-color: var(--bg-color);
  background-image: radial-gradient(at 0% 0%, hsla(213,100%,96%,1) 0, transparent 50%), 
                    radial-gradient(at 100% 100%, hsla(213,100%,96%,1) 0, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1rem;
}
h1 { font-size: 3.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1.1rem; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.gradient-text {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--container-padding); }
section { padding: var(--section-padding); }
.bg-white { background-color: var(--surface-color); }
.bg-dark { background: var(--primary-gradient); color: white; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p { color: white; }
.bg-dark p { opacity: 0.85; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px; /* Pill shape */
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.05rem;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(10, 25, 47, 0.2);
}

/* Header Navigation CTA Button */
.btn-nav {
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary) !important;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-nav:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-nav:active {
  transform: translateY(0);
}

/* Glassmorphism Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 1.25rem 0;
  transition: var(--transition);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.65rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 0.85rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.logo img, .logo-img { height: 56px; width: auto; object-fit: contain; display: block; flex-shrink: 0; }
.logo svg { color: var(--secondary); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; flex-shrink: 0; }
.nav-links a { color: var(--text-main); font-weight: 500; position: relative; }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after { width: 100%; }
.nav-links a.active { color: var(--secondary); }

/* Navigation Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.nav-dropdown-toggle .dropdown-chevron {
  transition: transform 0.25s ease;
}
.nav-item-dropdown:hover .nav-dropdown-toggle .dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: 100%;
  left: 0;
  width: 330px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  z-index: 1200;
  margin-top: 0.75rem;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-header {
  padding: 0.45rem 0.65rem 0.6rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.4rem;
}
.nav-dropdown-all-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--secondary) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-dropdown-all-link::after { display: none !important; }
.nav-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: #334155 !important;
  font-size: 0.92rem;
  font-weight: 500 !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-item::after { display: none !important; }
.nav-dropdown-item:hover {
  background: #f1f5f9;
  color: var(--secondary) !important;
}
.nav-dropdown-item.active {
  background: #eff6ff;
  color: var(--secondary) !important;
  font-weight: 600 !important;
}

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

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 10rem 0 8rem;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.48) 0%, rgba(23, 42, 69, 0.40) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }

/* Cards (Services) */
.card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.card h3 { margin-bottom: 1rem; }
.card p { flex-grow: 1; font-size: 1rem; }

/* Project Cards */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-color);
  transition: var(--transition);
  position: relative;
}
.project-image-wrapper {
  overflow: hidden;
  height: 280px;
}
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.project-card:hover .project-image {
  transform: scale(1.05);
}
.project-info { padding: 2rem; }

/* Centered Layout for 1 or 2 Featured Projects */
.projects-grid.projects-2-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.projects-grid.projects-1-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .projects-grid.projects-2-col {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* Marquee / Clients */
.clients-marquee {
  background-color: var(--surface-color);
  padding: 3rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.clients-marquee::before, .clients-marquee::after {
  content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.clients-marquee::before { left: 0; background: linear-gradient(to right, var(--surface-color), transparent); }
.clients-marquee::after { right: 0; background: linear-gradient(to left, var(--surface-color), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 75s) linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  gap: 5rem;
  padding-right: 5rem;
  align-items: center;
}
.marquee-track img, .marquee-group img {
  height: 45px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  filter: grayscale(75%) opacity(0.8);
  transition: var(--transition);
}
.marquee-track img:hover, .marquee-group img:hover { filter: grayscale(0%) opacity(1); }
.marquee-client-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #334155;
  background: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transition: var(--transition);
  opacity: 0.85;
}
.marquee-client-name:hover {
  opacity: 1;
  color: var(--secondary);
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.marquee-client-icon {
  font-size: 0.9rem;
  opacity: 0.8;
}

@keyframes marquee { 
  0% { transform: translateX(calc(50vw - 25%)); } 
  100% { transform: translateX(calc(50vw - 75%)); } 
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); font-size: 0.95rem; }
.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-color);
}
.form-control:focus { outline: none; border-color: var(--secondary); background-color: white; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }
textarea.form-control { min-height: 160px; resize: vertical; }

/* Footer */
.footer { background: var(--primary-gradient); color: white; padding: 5rem 0 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { color: white; font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-col p, .footer-col li { color: rgba(255, 255, 255, 0.7); margin-bottom: 0.75rem; }
.footer-links { list-style: none; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.footer-links a:hover { color: white; }
.social-links { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; }
.social-links a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.social-links a svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.25s ease;
}
.social-links a:hover svg {
  transform: scale(1.1);
}
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; }

/* Section Titles */
.section-title { text-align: center; margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-title p { font-size: 1.2rem; }

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Modal & Project Cards */
.project-card .project-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.modal-content .project-description {
  display: block;
  overflow: visible;
  line-height: 1.8;
  color: var(--text-main);
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0; top: 0; width: 100%; height: 100%; 
  overflow: auto; 
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem 1rem;
}
.modal-content {
  background-color: var(--surface-color);
  margin: 2% auto;
  padding: 3rem;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#modalImage {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
#modalVideo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  display: none;
  background: #000000;
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #475569;
  transition: all 0.2s ease;
  line-height: 1;
  z-index: 10;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
#modalTitle { color: var(--primary); margin-top: 0; margin-bottom: 1.5rem; font-size: 2.2rem; }

/* --- Subpage Hero / Banner --- */
.page-hero {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.52) 0%, rgba(23, 42, 69, 0.44) 100%);
  z-index: 0;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero h1 {
  color: white;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: #ffffff;
}
.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumbs .current {
  color: #38BDF8;
  font-weight: 600;
}

/* --- Standard Page Layout --- */
.page-body {
  padding: 4.5rem 0 5.5rem;
  min-height: 45vh;
  background-color: var(--bg-color);
}
.page-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  max-width: 960px;
  margin: 0 auto;
}
.page-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
}
.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #334155;
}
.page-content p:last-child {
  margin-bottom: 0;
}
.page-content h2 {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.page-content h3 {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.page-content ul, .page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #334155;
}
.page-content li {
  margin-bottom: 0.5rem;
}
.page-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
  max-width: 100%;
}

/* --- Contact Page Layout Redesign --- */
.contact-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.contact-map-card {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #ffffff;
  isolation: isolate;
}
.contact-map-card iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
  border-radius: var(--radius-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  width: 100%;
  align-items: start;
}
.contact-info-card,
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.85);
}
.contact-info-card h3,
.contact-form-card h3 {
  color: var(--primary);
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.contact-form-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* Contact Page Content (rechtstreeks uit pagina bewerker) */
.contact-page-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}
.contact-page-content p {
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}
.contact-page-content p:last-child {
  margin-bottom: 0;
}
.contact-page-content strong {
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.15rem;
}
.contact-page-content a {
  color: var(--secondary) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
  margin-bottom: 0.25rem;
}
.contact-page-content a:hover {
  color: var(--secondary-hover) !important;
  text-decoration: underline !important;
}

/* --- Form Controls --- */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.form-control::placeholder {
  color: #94a3b8;
}
.form-control:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}
.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Privacy Note */
.form-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  line-height: 1.4;
}
.form-privacy-note svg {
  flex-shrink: 0;
  color: #94a3b8;
}

/* --- Call to Action Section --- */
.cta-section {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 6.5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.52) 0%, rgba(23, 42, 69, 0.44) 100%);
  z-index: 0;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-section h2 {
  color: #ffffff;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.cta-section .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
  transition: var(--transition);
}
.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.65);
}

/* Header intermediate desktop responsive scaling */
@media (max-width: 1200px) and (min-width: 993px) {
  .nav-container {
    gap: 1rem;
  }
  .nav-links {
    gap: 1.25rem;
  }
  .nav-links a {
    font-size: 0.95rem;
  }
  .logo {
    font-size: 1.45rem;
    gap: 0.65rem;
  }
  .logo img, .logo-img {
    height: 48px;
  }
  .btn-nav {
    padding: 0.4rem 0.95rem;
    font-size: 0.84rem;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .header {
    position: relative;
    background: #ffffff;
    z-index: 1000;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    font-size: 1.35rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-menu-btn:hover, .mobile-menu-btn.active {
    background: #e2e8f0;
    color: var(--secondary);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16) !important;
    flex-direction: column;
    align-items: stretch !important;
    padding: 1.15rem 1.25rem 1.5rem;
    gap: 0.35rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 9999;
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  /* Root navigation links - pure clean text */
  .nav-links > a:not(.btn),
  .nav-dropdown-toggle {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    padding: 0.75rem 0.25rem !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    transition: color 0.15s !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }
  .nav-links > a:not(.btn):hover,
  .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--secondary) !important;
  }
  .nav-links > a.active:not(.btn),
  .nav-dropdown-toggle.active {
    color: var(--secondary) !important;
    background: transparent !important;
    font-weight: 700 !important;
  }
  .nav-links > a:focus,
  .nav-links > a:focus-visible,
  .nav-dropdown-toggle:focus,
  .nav-dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
  .nav-links a:not(.btn)::after {
    display: none !important;
  }

  /* Dropdown & Accordion Submenu */
  .nav-item-dropdown {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .nav-dropdown-toggle .dropdown-chevron {
    transition: transform 0.25s ease !important;
    color: #64748b !important;
  }
  .nav-item-dropdown.open .nav-dropdown-toggle .dropdown-chevron {
    transform: rotate(180deg) !important;
    color: var(--secondary) !important;
  }

  /* Pure text submenu - indented with subtle left guideline, no box */
  .nav-dropdown-menu {
    display: none;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    border-left: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    padding: 0.25rem 0 0.5rem 1rem !important;
    margin: 0.2rem 0 0.5rem 0.5rem !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
  }
  .nav-dropdown-menu::before { display: none !important; }
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: flex !important;
  }

  .nav-dropdown-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
  }

  /* Pure text sub-items - clean, indented, no emoji, no card */
  .nav-dropdown-item {
    padding: 0.45rem 0.25rem !important;
    border-radius: 0 !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    display: block !important;
    color: #475569 !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    box-shadow: none !important;
  }
  .nav-dropdown-item:hover {
    background: transparent !important;
    color: var(--secondary) !important;
  }
  .nav-dropdown-item.active {
    background: transparent !important;
    color: var(--secondary) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }
  /* Hide emoji icons on mobile */
  .nav-dropdown-icon {
    display: none !important;
  }
  /* Hide excerpt descriptions on mobile */
  .nav-dropdown-desc {
    display: none !important;
  }

  /* Pure text link to all services */
  .nav-dropdown-header {
    border: none !important;
    margin: 0.25rem 0 0 0 !important;
    padding: 0.35rem 0.25rem 0.1rem !important;
    order: 10 !important;
  }
  .nav-dropdown-all-link {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--secondary) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    text-decoration: none !important;
    padding: 0 !important;
  }
  .nav-dropdown-all-link:hover {
    background: transparent !important;
    color: var(--secondary-hover) !important;
  }

  /* Full-width call-to-action button */
  .nav-links .btn-nav {
    margin-top: 1rem !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 8rem 0 6rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .marquee-content { gap: 3rem; padding-left: 3rem; }
  
  .page-hero { padding: 4rem 0 3rem; }
  .page-hero h1 { font-size: 2.1rem; }
  .cta-section { padding: 4.5rem 0; }
  .cta-section h2 { font-size: 1.85rem; }
  .page-card { padding: 2rem 1.5rem; }
  .contact-map-card iframe { height: 260px; }
  .contact-info-card, .contact-form-card { padding: 2rem 1.5rem; }
  
  .career-benefits-grid { grid-template-columns: 1fr; }
  .career-apply-section { padding: 2rem 1.25rem; }
  .vacancy-card { padding: 1.5rem; }
  .vacancy-card-top { flex-direction: column; gap: 0.75rem; }
  .vacancies-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Vacatures & Werken Bij Pagina
   ========================================================================== */
.career-benefits {
  margin-bottom: 4rem;
}
.career-benefits-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.career-benefits-title h2 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}
.career-benefits-title p {
  max-width: 650px;
  margin: 0 auto;
}
.career-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.career-benefits-grid.count-1 {
  max-width: 500px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
.career-benefits-grid.count-2 {
  max-width: 860px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}
.career-benefits-grid.count-3 {
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}
.career-benefits-grid.count-4 {
  grid-template-columns: repeat(4, 1fr);
}
.career-benefit-card {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.career-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}
.career-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.career-benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.career-benefit-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Vacancy List Cards */
.vacancies-list-wrapper {
  margin-bottom: 4.5rem;
}
.vacancies-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.vacancies-header h2 {
  font-size: 2.1rem;
  margin: 0 0 0.4rem 0;
}
.vacancies-header p {
  margin: 0;
}
.vacancies-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
}
.vacancies-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.vacancy-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.vacancy-card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}
.vacancy-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.vacancy-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.vacancy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vacancy-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}
.vacancy-tag-primary {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.vacancy-desc {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.vacancy-details-toggle {
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.vacancy-details-toggle:hover {
  color: var(--secondary-hover);
  text-decoration: underline;
}
.vacancy-details-content {
  display: none;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}
.vacancy-details-content.open {
  display: block;
}
.vacancy-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.vacancy-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vacancy-col ul {
  padding-left: 1.2rem;
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
}
.vacancy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}
.btn-apply-direct {
  background: var(--secondary-gradient);
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-apply-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Sollicitatie Sectie (Formulier + WhatsApp Sidebar) */
.career-apply-section {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.career-apply-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.career-apply-form h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.career-apply-form p.subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.whatsapp-apply-card {
  background: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
  color: white;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.whatsapp-apply-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.whatsapp-apply-card h4 {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.whatsapp-apply-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.btn-whatsapp-apply {
  background: #25D366;
  color: white !important;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  font-size: 1.02rem;
}
.btn-whatsapp-apply:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.whatsapp-perks {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.whatsapp-perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}
.whatsapp-perk-icon {
  color: #34d399;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .career-benefits-grid,
  .career-benefits-grid.count-3,
  .career-benefits-grid.count-4 { grid-template-columns: repeat(2, 1fr); }
  .vacancy-columns { grid-template-columns: 1fr; gap: 1rem; }
  .career-apply-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .career-benefits-grid,
  .career-benefits-grid.count-2,
  .career-benefits-grid.count-3,
  .career-benefits-grid.count-4 { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   Services Grid & Subpage Styling (Onze diensten & detailpagina's)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.services-grid.services-grid-2col {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  gap: 2rem;
}
.services-grid.services-grid-2col .service-card {
  padding: 2.75rem 2.25rem;
  border-width: 2px;
}
.services-grid.services-grid-2col .service-card-title {
  font-size: 1.5rem;
}
.services-grid.services-grid-2col .service-icon-box {
  width: 72px;
  height: 72px;
  font-size: 2.85rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #93c5fd;
}
.service-icon-box {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(4deg);
  background: #dbeafe;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-card-link svg {
  transition: transform 0.2s ease;
}
.service-card:hover .service-card-link {
  color: var(--secondary-hover);
  gap: 0.75rem;
}
.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}
.sibling-service-chip:hover {
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
}

/* --- Over ons Story & Team Styling --- */
.about-story-section {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}
.about-story-section p {
  margin-bottom: 1.5rem;
}
.about-lead .lead-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.quote-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-left: 4px solid var(--secondary);
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.quote-card blockquote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.quote-author {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.vision-highlight-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.vision-icon {
  font-size: 2.25rem;
  flex-shrink: 0;
  line-height: 1;
}
.vision-highlight-box h4 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.vision-highlight-box p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

/* Team Grid */
.team-section {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid #e2e8f0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
}
.team-photo-wrap {
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo {
  transform: scale(1.05);
}
.team-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
  border: 4px solid #ffffff;
  transition: transform 0.3s ease;
}
.team-card:hover .team-avatar-placeholder {
  transform: scale(1.08);
}
.avatar-initials {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
}
.team-card-content {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}
.team-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.team-role {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  line-height: 1.4;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* --- Referenties & Klantbeoordelingen --- */
.testimonials-section {
  padding: 0.5rem 0 2rem;
}
.testimonials-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}
.testimonials-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eff6ff;
  color: #2563eb;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid #dbeafe;
}
.testimonials-intro h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.testimonials-intro p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}
.testimonial-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  border-left: 4px solid var(--secondary);
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}
.testimonial-quote-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-family: Georgia, serif;
  font-weight: bold;
  line-height: 1;
}
.testimonial-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.75rem;
  flex: 1;
  font-style: normal;
  position: relative;
}
.testimonial-body p {
  margin: 0 0 0.75rem 0;
}
.testimonial-body p:last-child {
  margin-bottom: 0;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
}
.testimonial-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.testimonial-person {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 0.25rem;
  line-height: 1.3;
}
.testimonial-person strong {
  color: #334155;
}
.testimonials-trust-banner {
  background: linear-gradient(135deg, #0A192F 0%, #172a45 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #ffffff;
  margin-top: 2.5rem;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.15);
}
.testimonials-trust-banner h3 {
  font-size: 1.75rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.testimonials-trust-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

/* Footer Address & WhatsApp Button */
.footer-address-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
}
.footer-address-link:hover {
  color: #ffffff !important;
  border-bottom-color: #ffffff;
  text-decoration: none;
}
.btn-footer-whatsapp,
.footer-links a.btn-footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem !important;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  margin-top: 0.35rem;
  line-height: 1.2;
}
.btn-footer-whatsapp svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-footer-whatsapp:hover,
.footer-links a.btn-footer-whatsapp:hover {
  background: #20BA59;
  color: #ffffff !important;
  padding: 0.55rem 1.2rem !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}
.btn-footer-whatsapp:hover svg {
  transform: scale(1.1);
}
.btn-footer-whatsapp:active,
.footer-links a.btn-footer-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

/* Content Images & Media Boxes */
.page-content img,
.gevel-foto-box img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  display: block;
}
.gevel-foto-box {
  margin: 2.25rem 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}


