/* Custom styles for modern.html - Clean header like reference image */
h2 { margin-top: 48px !important;padding-top: 48px !important; }
/* Clean Header Styling - Purple background to contrast white hero */
.nav,
nav.nav,
.nav.nav {
  background: #201e58 !important;
  background-color: #201e58 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 20px 0 !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling to match reference */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px; /* Increased from 32px (50% bigger) */
  width: auto;
}

/* Navigation links clean styling */
.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links > a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.nav-links > a:hover {
  color: #faaf40;
}

/* CTA Buttons in header */
.nav-links .btn {
  margin-left: 16px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.nav-links .btn-primary {
  background: #faaf40;
  color: white;
  border: 1px solid #faaf40;
}

.nav-links .btn-primary:hover {
  background: #e69a2e;
  border-color: #e69a2e;
}

/* Language Switcher - Clean minimal style */
.language-switcher {
  display: flex;
  gap: 4px;
  margin-left: 24px;
}

.language-switcher a {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.language-switcher a.lang-active {
  background: #faaf40;
  color: white;
}

.language-switcher a:hover:not(.lang-active) {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section - New Layout matching reference */
.hero {
  background: white !important;
  padding: 120px 0 80px 0;
  position: relative;
}

/* Hide all the space animations for clean look */
.hero .nebula,
.hero .starfield,
.hero #particles-container,
.hero #shooting-stars-container {
  display: none !important;
}

/* Hero content styling */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

/* Left Side Styling */
.hero-left {
  padding-top: 20px;
}

.hero-tag {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  text-align: left;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #201e58; /* Changed to brand purple */
  margin-bottom: 24px;
  text-align: left;
}

.hero-left p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 32px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  justify-content: flex-start;
}

.hero-buttons .btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-buttons .btn-primary {
  background: #faaf40;
  color: white;
  border: 1px solid #faaf40;
}

.hero-buttons .btn-primary:hover {
  background: #e69a2e;
  border-color: #e69a2e;
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.hero-buttons .btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: left;
}

/* Stats styling with more specific selectors */
.hero-stats .stat-number,
.stat-item .stat-number,
.stat-number {
  font-size: 24px !important;
  font-weight: 400 !important; /* Reduced from 700 to half weight */
  color: #201e58 !important; /* Changed to brand purple - override original */
  line-height: 1 !important;
  margin-bottom: 4px !important;
}

.stat-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
}

/* Trust Section */
.trust-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.trust-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-tag {
  padding: 6px 12px;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* Right Side - Wat je krijgt Card */
.hero-right {
  position: sticky;
  top: 120px;
}

.wat-je-krijgt-card {
  background: #f5f5fa;
  border: 3px solid #201e58; /* Stronger border - increased from 2px */
  border-radius: 16px;
  padding: 48px; /* Increased from 32px for more outer margin */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: #201e58;
}

.wat-je-krijgt-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #faaf40; /* Orange title */
  margin-bottom: 20px; /* Reduced from 24px */
  text-align: left;
}

.benefits-list {
  margin-bottom: 24px; /* Reduced from 32px */
}

.benefit-item {
  margin-bottom: 12px; /* Reduced from 16px */
  font-size: 15px;
  color: #201e58; /* Purple text */
  text-align: left;
  line-height: 1.3; /* Tighter line height from 1.5 */
}

/* Remove checkmark styling since we removed the icons */
.benefit-item .checkmark {
  display: none;
}

/* Transparent Section */
.transparent-section {
  padding-top: 20px; /* Reduced from 24px */
  border-top: 1px solid rgba(32, 30, 88, 0.2); /* Purple border */
}

.transparent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px; /* Reduced from 12px */
}

.transparent-icon {
  font-size: 20px;
}

.transparent-title {
  font-size: 16px;
  font-weight: 600;
  color: #faaf40; /* Orange title */
}

.transparent-section p {
  font-size: 14px;
  color: #201e58; /* Purple text */
  line-height: 1.3; /* Tighter line height from 1.5 */
  margin-bottom: 16px; /* Reduced from 20px */
  text-align: left; /* Force left alignment */
}

.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta-text {
  font-size: 13px;
  color: #201e58; /* Purple text */
  line-height: 1.2; /* Tighter line height */
}

.cta-button {
  background: #faaf40;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background: #e69a2e;
}

/* Testimonials Section Styling */
.testimonials-title {
  color: #faaf40 !important; /* Solid orange website color */
  font-weight: 600;
}

/* Video Container Styling for Onze belofte section */
.video-container {
  width: 100%;
  height: 315px;
  float: none;
  clear: both;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container embed {
  border-radius: 12px;
}

/* "Wat je krijgt" Section - Keep original design colors */
.wat-je-krijgt-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.wat-je-krijgt-section .section-title {
  color: #1a1a2e;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

/* Benefits Grid Layout */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkmark-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #333;
}

.checkmark {
  color: #faaf40;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Transparent Box */
.transparent-box {
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.box-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.box-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.transparent-box h3 {
  color: #1a1a2e;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.transparent-box p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.box-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e9;
}

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

.footer-text {
  font-size: 14px;
  color: #666;
}

.cta-button {
  background: #faaf40;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #e69a2e;
  transform: translateY(-1px);
}

/* Mobile Menu Styling */
.mobile-menu {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  color: #333;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
  background: #f8f9fa;
  color: #faaf40;
}

.mobile-menu-language-switcher {
  padding: 16px 24px;
  display: flex;
  gap: 8px;
}

.mobile-menu-language-switcher a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  background: #f5f5f5;
  color: #666;
  border-bottom: none;
}

.mobile-menu-language-switcher a.lang-active {
  background: #faaf40;
  color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hero {
    padding: 100px 0 60px 0 !important;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .hero-left h1 {
    font-size: 32px;
  }
  
  .hero-left p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  
  .trust-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .hero-right {
    position: static;
    order: -1;
  }
  
  .wat-je-krijgt-card {
    padding: 24px;
  }
  
  .cta-section {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .cta-button {
    text-align: center;
  }
  
  /* Wat je krijgt section mobile - now remove since it's in hero */
  .wat-je-krijgt-section {
    display: none;
  }
  
  /* Proof bar mobile */
  .proof-content {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center;
  }
  
  .proof-logos {
    flex-direction: row !important;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .nav-links > a:not(.btn) {
    display: none;
  }
  
  .nav-links .btn {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 350px;
    gap: 60px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FINAL OVERRIDE - Force purple navigation background */
body nav[class*="nav"],
body .nav,
nav.nav,
.nav {
  background: #201e58 !important;
  background-color: #201e58 !important;
}

  /* Make process icons 30% smaller - Direct SVG scaling */
  .process-svg-small {
    width: 112px !important;
    height: 112px !important;
    transform: scale(0.7) !important;
    transform-origin: center !important;
  }

  /* Fix team member photo cropping - show full head */
  .team-avatar {
    width: 120px !important;
    height: 140px !important; /* Increased height to show full head */
    border-radius: 20px !important;
    overflow: hidden !important;
  }
  
  .team-avatar img {
    object-fit: cover !important;
    object-position: center top !important; /* Position from top to show head */
    width: 100% !important;
    height: 100% !important;
  }

  /* Purple borders for process cards */
  .process-card,
  .card.process-card {
    border: 2px solid #201e58 !important;
    border-radius: 16px !important;
  }

  /* Purple text for process section titles only */
  .process-section .section-title-white,
  .process-section .section-subtitle-white,
  .group-title {
    color: #201e58 !important;
  }

  /* Ensure other white titles stay white */
  .interactive-globe-section .section-title-white,
  .interactive-globe-section .section-subtitle-white {
    color: white !important;
  }

  /* Make accordion items match the exact same layout as subcategories (top cards) - FORCE OVERRIDE */
  .globe-accordion-section .accordion-items,
  .accordion-content.active .accordion-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    margin-top: 30px !important;
    padding: 40px !important;
    box-sizing: border-box !important;
  }

  /* Remove borders from individual accordion items since border is now on container */
  .accordion-item {
    border: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  /* Double the size of client logo images only (not the cards) */
  .client-logo {
    max-width: 240px !important;  /* doubled from 120px */
    max-height: 120px !important; /* doubled from 60px */
  }

  /* Add top spacing for anchor-linked sections to account for fixed navbar */
  #diensten {
    scroll-margin-top: 100px !important;
    padding-top: 100px !important;
  }

  /* Mobile responsive - also doubled logo sizes */
  @media (max-width: 768px) {
    .client-logo {
      max-width: 200px !important;  /* doubled from 100px */
      max-height: 100px !important; /* doubled from 50px */
    }
  }

  /* Ensure the accordion content container matches the subcategories width */
  .accordion-content {
    width: 100% !important;
  }

  /* Hide blank placeholder content and default content cards */
  .blank-placeholder,
  .content-card[data-content="default"],
  .accordion-content[data-category="default"] {
    display: none !important;
  }

  /* Show content display area */
  .content-display {
    display: block !important;
  }

  /* Hide all content cards by default - AGGRESSIVE OVERRIDE */
  .content-display .content-card,
  div.content-card,
  .content-card {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Show only active content cards */
  .content-display .content-card.active,
  div.content-card.active,
  .content-card.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Hide accordion content by default */
  .accordion-content {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
  }

  /* Show only active accordion content with border - FORCE OVERRIDE */
  .globe-accordion-section .accordion-content.active,
  .accordion-content.active {
    max-height: 2000px !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
  }


/* Override hover effects for smaller icons */
.process-card:hover .process-icon {
  transform: scale(0.77) !important; /* 0.7 * 1.1 for hover effect */
}
