/* =========================================
   ZWOLLE & WILLEMSE - FULL HOMEPAGE CSS
   ========================================= */

:root {
  /* Exact Brand Colors from Original */
  --primary: #115836;
  --primary-light: #17784b;
  --secondary: #ffae00;
  --secondary-hover: #e69c00;
  
  /* Neutrals */
  --dark: #083d23; /* Changed from dark blue to deep dark green */
  --text-main: #333333;
  --text-muted: #565A7C;
  --gray-100: #f5f7fa;
  --gray-200: #e4e8f0;
  --white: #ffffff;
  
  /* Typography - DM Sans matching original */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 35, 48, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 35, 48, 0.12);
  --shadow-hover: 0 25px 50px rgba(17, 88, 54, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}
.container-fluid {
  width: 100%;
  padding: 0 50px;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-main);
}
.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-primary-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px; /* Matches bootstrap container */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar {
  background-color: var(--secondary);
  color: var(--text-main);
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.top-contact {
  display: flex;
  gap: 40px;
  flex: 1;
}
.top-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-contact a:hover { opacity: 0.8; }
.top-login { font-weight: 600; }

.header {
  background-color: var(--primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 0;
  width: 100%;
  justify-content: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  position: relative;
}
.nav-links a.btn { color: var(--text-main); }
.nav-links a:not(.btn):hover { color: var(--secondary); }
.nav-links .has-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding: 10px 0; /* To prevent losing hover when moving mouse down */
}
.nav-item-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background-color: var(--white);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
  margin-top: 10px; /* Instead of translateY for the gap */
}
/* Invisible bridge to prevent hover disappearing when moving mouse down */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex !important;
  align-items: center;
  color: var(--text-main) !important;
  padding: 12px 20px !important;
  font-weight: 500 !important;
  transition: background-color 0.2s, color 0.2s !important;
}
.dropdown-menu a i {
  margin-right: 12px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}
.dropdown-menu a:hover {
  background-color: var(--gray-100);
  color: var(--primary) !important;
}
/* Mobile styling for dropdown */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255,255,255,0.05);
    margin-top: 10px;
    display: none;
  }
  .nav-item-dropdown.active .dropdown-menu {
    display: block;
  }
}
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 60% top, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
                    radial-gradient(circle at bottom left, rgba(255, 174, 0, 0.06) 0%, transparent 50%),
                    linear-gradient(135deg, var(--primary) 0%, #0e3720 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 160px;
}

.hero .container {
  position: relative;
  z-index: 2;
}
.hero-header {
  text-align: center;
  margin-bottom: 50px;
}
.hero-subtitle {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0px;
}
.hero-title {
  color: var(--secondary);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.title-accent {
  position: relative;
  display: inline-block;
}
.title-accent::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -30px;
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20,80 L30,50 M50,80 L50,40 M80,80 L70,50" stroke="%23ffae00" stroke-width="6" stroke-linecap="round" fill="none"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}
.hero-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 10;
}
.hero-side-image {
  flex: 0 0 280px;
  max-width: 280px;
}
.hero-side-image img {
  width: 100%;
  height: auto;
  display: block;
}
.erkend-badge-large {
  animation: scaleLoop 3s ease-in-out infinite alternate;
}
.hero-image-col {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.hero-image {
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
@keyframes scaleLoop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.hero-text-col {
  flex: 1;
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-text-col p {
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}
.erkend-badge {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 140px;
  height: auto;
  animation: scaleLoop 3s ease-in-out infinite !important;
}

/* =========================================
   OVERLAPPING CARDS SECTION
   ========================================= */
.overlapping-cards {
  margin-top: -100px;
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.info-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.info-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}
.card-img-wrapper {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.info-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.card-desc {
  color: var(--text-main);
  margin-bottom: 25px;
  flex: 1;
}
.card-btn {
  width: 100%;
}

/* =========================================
   ERKEND ADVISEUR BADGE
   ========================================= */
.erkend-badge-hero {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 150px;
  animation: floatY 5s ease-in-out infinite, scaleLoop 7s ease-in-out infinite;
  z-index: 10;
}
.erkend-badge-hero img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 991px) {
  .erkend-badge-hero {
    top: -20px;
    right: -10px;
    width: 110px;
  }
}

/* =========================================
   HERO CTA BUTTONS
   ========================================= */
.hero-cta-primary {
  background: var(--secondary);
  color: var(--dark) !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(212, 170, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 170, 0, 0.55);
}

.hero-cta-secondary {
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}
.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-3px);
}

/* =========================================
   HERO GOOGLE REVIEWS STRIP
   ========================================= */
.hero-reviews-strip {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.hero-reviews-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 12px 28px;
  border-radius: 50px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-reviews-stars {
  display: flex;
  gap: 3px;
  color: var(--secondary);
  font-size: 1rem;
}
.hero-reviews-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-reviews-text strong {
  font-size: 1.1rem;
  font-weight: 700;
}
.hero-reviews-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
  text-decoration: none;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 16px;
  transition: opacity 0.2s;
}
.hero-reviews-logo:hover { opacity: 1; }
.hero-reviews-logo i { color: #4285F4; font-size: 1.1rem; }


/* =========================================
   ABOUT MODERN (SPLIT + FLOATING STATS)
   ========================================= */
.about-modern-section {
  padding: 140px 0 160px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-modern-content {
  position: relative;
  z-index: 2;
  padding-right: 20px;
}

.about-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-modern-title {
  font-size: 3.2rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 30px;
}

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

.about-modern-image-wrapper {
  position: relative;
  z-index: 1;
}

.about-modern-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-stats-floating {
  position: absolute;
  bottom: -50px;
  left: -80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 50px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  display: flex;
  gap: 40px;
  border: 1px solid rgba(255,255,255,0.6);
  z-index: 3;
}

.floating-stat {
  text-align: center;
  position: relative;
  min-width: 120px;
}
.floating-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--gray-200);
}

.floating-stat-num {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.floating-stat-label {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.checklist-modern {
  margin-bottom: 40px;
}
.checklist-modern li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
}
.checklist-modern i {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-top: 2px;
}

/* Deleted old stats section */

/* =========================================
   SERVICES PREMIUM
   ========================================= */
.services-section {
  padding: 140px 0;
  background-color: var(--gray-100);
}
.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.service-icon-card {
  background: var(--white);
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
}
.service-icon-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 35px 60px rgba(0,0,0,0.08); 
  border-color: transparent;
}
.service-icon-wrapper {
  width: 90px;
  height: 90px;
  background: rgba(17, 88, 54, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: var(--transition);
}
.service-icon-card i {
  font-size: 2.5rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-icon-card:hover .service-icon-wrapper {
  background: var(--primary);
}
.service-icon-card:hover i {
  color: var(--secondary);
}
.service-icon-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.service-icon-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =========================================
   PROCESS PREMIUM v2 (IMAGE OVERLAP)
   ========================================= */
.process-section {
  padding: 100px 0 160px;
  background-color: var(--white);
  text-align: center;
}
.process-section .section-title {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 3.2rem;
}
.process-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}
.process-image-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  border-radius: 24px;
  height: 600px;
  /* Replaced Finsave piggybank with a proper team image */
  background: url('../images/32_6967f6315105c483b6cfd25e.jpg') center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 90%;
  text-align: left;
}
.process-step {
  background-color: var(--primary);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  color: var(--white);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-10px);
}
.process-number {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}
.process-step h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 15px;
  padding-right: 60px;
}
.process-step p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================
   FAQ (2-Column Design)
   ========================================= */
.faq-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 140px 0 180px; /* Big padding bottom so CTA can overlap */
}
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-title {
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1.2;
}
.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.faq-accordions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: var(--transition);
}
.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}
.faq-question:hover { background: rgba(255,255,255,0.15); border-radius: 8px; }
.faq-answer {
  padding: 0 25px 25px;
  color: rgba(255,255,255,0.8);
  display: none;
  font-size: 1rem;
  line-height: 1.8;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--secondary); }

.faq-sidebar {
  background: #247d52; /* Lighter modern green */
  border-radius: 16px;
  padding: 40px;
}
.faq-sidebar h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
  text-align: center;
}
.faq-sidebar hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin-bottom: 30px;
}
.faq-contact-box {
  margin-bottom: 30px;
}
.faq-contact-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
}
.faq-contact-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.faq-sidebar .btn {
  width: 100%;
}

/* =========================================
   SLEEK OVERLAPPING CTA BANNER
   ========================================= */
.cta-banner-wrapper {
  position: relative;
  margin-top: 60px;
  margin-bottom: -100px; /* Overlaps precisely into the footer */
  z-index: 20;
}
.cta-floating-banner {
  background: url('../images/111_dbf63d95-4ff3-4bf7-bb34-b91e0dc0f3de.jpg') center/cover no-repeat;
  border-radius: 24px;
  padding: 60px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-floating-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 174, 0, 0.9); /* Yellow tint overlay */
  z-index: 1;
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  flex: 1;
}
.cta-banner-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-banner-content p {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
  margin: 0;
}
.cta-banner-buttons {
  position: relative;
  z-index: 2;
}
.cta-banner-buttons .btn {
  background: var(--dark);
  color: var(--white);
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  white-space: nowrap;
}
.cta-banner-buttons .btn:hover {
  background: var(--white);
  color: var(--dark);
}

@media (max-width: 991px) {
  .cta-floating-banner {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }
}

/* =========================================
   ARTICLES SECTION PREMIUM v2
   ========================================= */
.articles-section {
  padding: 140px 0;
  background: var(--white);
}
.articles-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.articles-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}
.articles-title {
  font-size: 3.5rem;
  color: var(--dark);
  line-height: 1.2;
}
.articles-desc {
  color: var(--text-main);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-10px);
}
.article-img-wrapper {
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.article-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-img-wrapper img {
  transform: scale(1.05);
}
.article-content-box {
  background: #eef7f4;
  padding: 50px 40px;
  border-radius: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-content-box h3 {
  color: var(--dark);
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
.article-content-box p {
  color: var(--primary);
  opacity: 0.9;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  flex: 1;
}
.article-link {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-card:hover .article-link {
  color: var(--secondary);
}

/* =========================================
   FOOTER PREMIUM v2 (CENTERED)
   ========================================= */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 160px 0 30px;
  text-align: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 25px;
}
.footer-logo img {
  height: 110px;
  filter: brightness(0) invert(1);
}
.footer-brand {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-desc {
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  line-height: 1.8;
}
.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
  max-width: 800px;
  margin: 0 auto 45px;
}
.footer-bottom-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
}
.footer-bottom-grid div {
  text-align: center;
}
.footer-bottom-grid h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}
.footer-bottom-grid p, .footer-bottom-grid a {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-size: 1.1rem;
}
.footer-bottom-grid p i {
  color: var(--secondary);
  margin-right: 8px;
}
.footer-bottom-grid a:hover {
  color: var(--secondary);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  font-size: 0.95rem;
  opacity: 0.6;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
  .about-modern-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-floating {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: -60px;
    margin-left: 20px;
    margin-right: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .floating-stat:not(:last-child)::after { display: none; }
  .cards-grid, .services-grid, .process-grid, .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-container { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    z-index: 100;
  }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  
  .hero-subtitle { font-size: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .vertical-stat-item { padding: 10px; }
  .vertical-stat-item .stat-num { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================
   NEW MORTGAGE SECTIONS (HYPOTHEKEN)
   ========================================= */

/* Document Checklist Visuals */
.doc-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.doc-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,35,48,0.1);
  border-color: var(--secondary);
}
.doc-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(17,88,54,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.doc-card-icon i {
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.doc-card:hover .doc-card-icon {
  background: var(--primary);
}
.doc-card:hover .doc-card-icon i {
  color: var(--secondary);
}
.doc-card h3 {
  color: var(--dark);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.doc-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Timeline Process Visuals */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  text-align: left;
}
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gray-200);
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-step {
  padding: 20px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}
.timeline-step:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-step:nth-child(even) {
  left: 50%;
}
.timeline-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  right: -25px;
  background: var(--white);
  border: 4px solid var(--primary);
  top: 30px;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: 0 0 0 5px rgba(255,174,0,0);
  transition: var(--transition);
}
.timeline-step:nth-child(even) .timeline-icon {
  left: -25px;
}
.timeline-step:hover .timeline-icon {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 0 0 5px rgba(255,174,0,0.2);
}
.timeline-content {
  padding: 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}
.timeline-step:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Animations on Scroll */
.timeline-step.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.timeline-step.animate-on-scroll .timeline-icon {
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.3s;
}
.timeline-step.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-step.in-view .timeline-icon {
  transform: scale(1);
}

.timeline-content::after {
  content: " ";
  position: absolute;
  top: 40px;
  right: -15px;
  border-width: 15px 0 15px 15px;
  border-style: solid;
  border-color: transparent transparent transparent var(--white);
}
.timeline-step:nth-child(even) .timeline-content::after {
  left: -15px;
  border-width: 15px 15px 15px 0;
  border-color: transparent var(--white) transparent transparent;
}
.timeline-content h3 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.timeline-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 31px;
  }
  .timeline-step {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  .timeline-step:nth-child(odd), .timeline-step:nth-child(even) {
    left: 0;
    text-align: left;
  }
  .timeline-icon {
    left: 6px !important;
  }
  .timeline-step:nth-child(odd) .timeline-content::after, 
  .timeline-step:nth-child(even) .timeline-content::after {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent var(--white) transparent transparent;
  }
}

/* =========================================
   PREMIUM JOURNEY TABS (DOORSTROMERS / BESTAANDE BOUW)
   ========================================= */
.journey-section {
  padding: 100px 0;
  background-color: var(--white);
  overflow: hidden;
}
.journey-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}
.journey-toggle {
  display: inline-flex;
  background: var(--gray-100);
  padding: 8px;
  border-radius: 60px;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.journey-btn {
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.journey-btn.active {
  color: var(--white);
}
.journey-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  background: var(--primary);
  border-radius: 50px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(17,88,54,0.3);
}

.journey-content {
  display: none;
  animation: fadeUpJourney 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
.journey-content.active {
  display: block;
}

@keyframes fadeUpJourney {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.journey-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(220, 168, 66, 0.15); /* Soft secondary */
  color: #c99321; /* Slightly darker secondary for text */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 20px;
}
.journey-text h3 {
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 25px;
}
.journey-text > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.premium-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.premium-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(17,88,54,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.3rem;
  transition: var(--transition);
}
.premium-list li:hover .premium-icon {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.05);
}
.premium-content h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 700;
}
.premium-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.journey-image-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.journey-image-container:hover {
  transform: perspective(1000px) rotateY(0deg);
}
.journey-image-container img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.journey-image-container:hover img {
  transform: scale(1.03);
}

.journey-floating-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: var(--white);
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  animation: floatUpDown 4s ease-in-out infinite;
}
.journey-floating-card i {
  color: var(--secondary);
  font-size: 2rem;
}
.journey-floating-card div.fw-bold {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .journey-image-container {
    transform: none;
    order: -1;
  }
  .journey-image-container:hover {
    transform: none;
  }
  .journey-floating-card {
    left: 20px;
    bottom: 20px;
  }
  .journey-text h3 {
    font-size: 2.2rem;
  }
}
@media (max-width: 576px) {
  .journey-toggle {
    flex-direction: column;
    border-radius: 20px;
    width: 100%;
  }
  .journey-indicator {
    display: none;
  }
  .journey-btn {
    border-radius: 12px;
  }
  .journey-btn.active {
    background: var(--primary);
  }
}

/* =========================================
   OVER ONS SPECIFIC STYLES
   ========================================= */

.over-ons-hero {
  background-color: var(--primary);
  background-image: radial-gradient(circle at top right, rgba(255, 174, 0, 0.08) 0%, transparent 50%),
                    linear-gradient(135deg, var(--primary) 0%, #083d23 100%);
  padding: 100px 0 140px;
  overflow: hidden;
  position: relative;
}

.over-ons-hero .hero-title {
  color: var(--white);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.over-ons-hero .hero-subtitle {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.over-ons-hero .hero-brand-auth {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-bg-shapes .shape-1 {
  width: 400px; height: 400px;
  background: rgba(255, 174, 0, 0.15);
  top: -100px; right: -50px;
}

.hero-bg-shapes .shape-2 {
  width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -50px; left: 10%;
}

.position-relative {
  position: relative !important;
}
.z-2 {
  z-index: 2 !important;
}

.highlight-quote {
  position: relative;
  background: #f8fbf9;
  border-left: 6px solid var(--secondary);
  padding: 30px 40px;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.highlight-quote i {
  color: var(--secondary);
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 20px;
}

.highlight-quote p {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .over-ons-hero {
    padding: 80px 0 100px;
  }
  .over-ons-hero .hero-title {
    font-size: 2.8rem;
  }
  .over-ons-hero .hero-subtitle {
    font-size: 2rem;
  }
  .highlight-quote {
    padding: 25px 20px 25px 40px;
  }
  .highlight-quote p {
    font-size: 1.15rem;
  }
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

.contact-hero {
  padding: 80px 0 60px;
  background-color: var(--primary);
  /* Use a background image with a green gradient overlay for the premium look */
  background: linear-gradient(rgba(17, 88, 54, 0.75), rgba(17, 88, 54, 0.85)), url('../images/32_6967f6315105c483b6cfd25e.jpg') center/cover no-repeat;
  color: var(--white);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0,35,48,0.3);
  animation: fadeUp 0.8s ease-out forwards;
}

/* Contact Methods Section */
.contact-methods-section {
  padding: 100px 0 120px;
  background-color: var(--white);
}

.contact-section-title {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 70px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 40px 30px;
  color: var(--white);
  text-align: left;
  box-shadow: 0 15px 35px rgba(17,88,54,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(17,88,54,0.25);
}

.contact-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-heading);
}

.contact-card-desc {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.9);
}

.contact-card-response {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 35px;
  flex-grow: 1; /* Pushes button to bottom */
}

.contact-card-btn {
  background-color: var(--secondary);
  color: var(--text-main);
  border-radius: 50px;
  padding: 15px 0;
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  border: none;
}

.contact-card-btn i {
  margin-right: 8px;
}

.contact-card-btn:hover {
  background-color: var(--secondary-hover);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Map Section */
.contact-map-section {
  background-color: var(--gray-100);
  padding: 0;
}

.contact-map-wrapper {
  width: 100%;
  line-height: 0; /* Remove extra space below iframe */
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 200px;
    padding: 60px 0;
  }
  .contact-hero-title {
    font-size: 3rem;
  }
  .contact-section-title {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }
}

/* =========================================
   CUSTOM MODAL FOR CRM FORM
   ========================================= */
.afspraak-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 48, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.afspraak-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.afspraak-modal-content {
  background: var(--white);
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  padding: 35px 15px 15px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  /* Required to fix highlevel overflow issues sometimes */
  display: flex;
  flex-direction: column;
}

.afspraak-modal-overlay.active .afspraak-modal-content {
  transform: translateY(0);
}

.afspraak-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.afspraak-modal-close:hover {
  color: var(--primary);
}

.afspraak-modal-body {
  width: 100%;
  height: 650px;
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
}
