@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* === CSS Variables === */
:root {
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 1.25rem;
  --font-size-sm: 0.875rem;

  /* === Colors === */
  --color-bg: #F5F7F6;
  --color-white: #FFF;

  --color-primary: #294630;
  --color-secondary: #627E69;
  --color-accent: #ff5722;

  --text-dark-green: #1E3022;
  --text-bright-green: #97E297;
  --text-mellow-green: #C6EECF;
  --text-description: #5C6D60;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;

  --border-radius: 6px;
  --transition-speed: 0.3s;
  --max-page-width: 1400px;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.full-width-section {
  width: 100%;
}

.container {
  max-width: var(--max-page-width);
  margin: 0 auto;
  padding: 0 1rem;
}

header,
footer {
  color: var(--color-white);
  background-color: var(--color-primary);
}

/* Navigation */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem; /* more breathing room */
  min-height: 60px;
  position: relative;
}



.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: color 0.3s ease;
    display: flex; /* ensure consistent alignment */
  align-items: center;
  height: 100%; /* fill the nav height */
  padding: 8px 0; /* gives slight vertical space */
  line-height: 1.2;

}


.nav-links a:hover {
  color: var(--text-mellow-green);
}

.nav-links a.active {
  color: var(--text-bright-green);
  text-decoration: none;
  background-color: #ffffff20;
  padding: 8px 12px;
  border-radius: 5px;
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
  cursor: pointer;
  padding-right: 20px;
}

/* Mobile nav hidden by default */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  z-index: 999;
  animation: slideDown 0.3s ease-in-out;
}

.mobile-nav a {
  color: white;
  padding: 1rem;
  text-decoration: none;
  border-bottom: 1px solid #ffffff20;
}

/* Slide down animation */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



.button-ctc {
  background-color: var(--text-bright-green);
  color: var(--color-primary) !important;
  border-radius: 5px;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-ctc:hover {
  background-color: var(--text-dark-green);
  color: var(--color-white) !important;
  border-radius: 5px;
  padding: 10px 20px;
}

.button-login {
  background-color: #627E69;
  color: var(--color-white) !important;
  border-radius: 5px;
  padding: 10px 20px !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-login:hover {
  background-color: var(--text-dark-green);
  color: var(--color-white) !important;
  border-radius: 5px;
  padding: 10px 20px;
}

.button-login-icon {
  margin-top: 1px;
  margin-left: 10px;
  width: 17px;
  height: 16px;
  object-fit: contain;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.text-logo p {
  margin: 0;
  line-height: 1.2;
}


.krub-regular {
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.krub-medium {
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.krub-semibold {
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.krub-bold {
  font-family: "Krub", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Marketing Banner */
.marketing-banner-section {
  background-color: var(--color-white);
  /* White background for the banner section */
  border-top: 2px solid #D6D8D5;
  /* Subtle top border */
  padding: var(--spacing-md) 0;
  /* Vertical padding */
  box-shadow: 4px 4px 12px rgba(192, 192, 192, 0.1);
}

.marketing-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  /* Gap between text and benefits */

}

.marketing-text p {
  font-size: var(--font-size-base);
  color: var(--text-dark-green);
  /* Matches description text color */
}

.marketing-benefits {
  display: flex;
  gap: var(--spacing-xl);
  /* Space between each benefit item */
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  /* Space between icon and text */
  font-weight: 500;
  color: var(--text-dark-green);
  font-family: "Inter", sans-serif;
  /* Using Inter for consistency */
}

.benefit-item p,
.benefit-item span {
  color: var(--text-dark-green);
}

.benefit-item .check-icon {
  width: 24px;
  /* Size of the checkmark icon */
  height: 24px;
  vertical-align: middle;
  /* Align icon with text vertically */
}

.hero-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: brightness(0.8);
  /* Slight darkening for text contrast */
}

/* Text overlay */
.hero-content {
  position: absolute;
  top: 65%;
  left: 8rem;
  transform: translateY(-50%);
  color: white;
  max-width: 50%;
}

.hero-content h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.hero-content p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

/* Reuse existing button styling */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* space between text and icon */
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Krub", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  font-size: 14px;
}

.button-icon {
  margin-top: 1px;
  margin-left: 10px;
  width: 6px;
  height: 9px;
  object-fit: contain;
}

.button:hover {
  background-color: #97E297;
}

.about-section {
  background-color: #5c745f;
  /* Use your exact green */
  padding: 4rem 1rem;
  color: white;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.green-text {
  color: var(--color-primary)
}

.dgreen-text {
  color: var(--text-dark-green)
}

.regular-text {
  font-size: 16px;
}

.feature-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
  /* Light gray/greenish tone */
  text-align: center;
}

.section-header {
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-description);
}

.divider {
  width: 230px;
  height: 8px;
  background-color: var(--text-mellow-green);
  margin: 0.5rem auto 1.5rem;
  border: none;
  border-radius: 3px;
}

.section-description {
  font-size: 1rem;
  color: var(--text-description);
  max-width: 500px;
  margin-inline: auto;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature-card {
  border-radius: 8px;
  flex: 1 1 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align children to the start (left) */
  text-align: left;
  /* Align text to the left */
}

.card-logo {
  width: auto;
  height: 30px;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Krub", sans-serif;
  font-style: normal;
}

.card-text {
  font-size: 0.95rem;
  color: #5C6D60;
  font-family: "Krub", sans-serif;
  font-style: normal;
  font-weight: 300;
}

.contact-section {
  background-color: #5c745f;
  /* Use your exact green */
  padding: 4rem 1rem;
  color: white;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 65%;
}

.contact-info {
  flex: 1 1 15%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  /* or whatever spacing you want */
}

.contact-text {
  flex: 1 1 30%;
  margin-inline: var(--spacing-xxl);
}

.contact-text h2 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.contact-text p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


.contact-info .block {
  display: flex;
}

.contact-info .block .block-card {
  background-color: var(--color-primary);
  border-radius: 10px;
  height: 55px;
  width: 55px;
  display: flex;
  /* <-- make it a flex container */
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */
  margin-right: 1rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background-color: #25D366;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* align icon to the left */
  padding: 0 1rem;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  gap: 0;
  text-decoration: none;

}

.whatsapp-float:hover {
  width: 230px;
  border-radius: 25px;
  gap: 0.5rem;
  /* space between icon and text */
  padding-left: 20px;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.whatsapp-text {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: "Krub", sans-serif;
  font-size: 16px;
  color: white;
  FONT-WEIGHT: 400;
  margin-right: 10px;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
}


.brands-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 300px;
}

.brands-section .section-title {
  margin-top: 0.5rem;
  color: var(--color-primary);
  font-weight: 800;
}

/* Grid 2 rows x 4 cols */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
}

.brand-logo img {
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  height: 150px;
  max-height: 150px;
  max-width: 210px;
  transition: transform 0.2s ease-in-out;
  /* Smooth zoom */
}

/* Centered 3-column icon row */
.brand-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-logo img:hover {
  transform: scale(1.20);
  /* Zoom by 15% */

}



/* Discover more button */
.discover-more {
  text-align: center;
}

.discover-more a.btn {
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.discover-more a.btn:hover {
  background-color: var(--color-primary-dark);
}

.site-footer {
  background-color: var(--color-primary);
  color: #eee;
  padding: 3rem 0;
  font-family: 'Krub', sans-serif;
  font-size: 0.9rem;
}

.site-footer .container {
  margin: 0 auto;
  padding: 0 1rem;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive: stack columns on smaller screens */
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

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

.branches-section,
.feature-section {
  box-shadow: inset 0 8px 12px rgba(116, 116, 116, 0.005);
}

.branches-section .container {
  padding: 2rem 1rem;
}

.branches-section .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary)
}

.branches-section .section-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-description);
  text-align: left;
  margin-inline: initial;

}

.branches-scroll-wrapper {
  overflow-x: visible;
  overflow-y: hidden;
  padding-block: 1rem;
}

/* The scrolling flex container */
.branches-scroll {
  display: flex;
  gap: 1rem;
  scroll-snap-type: x mandatory;
}

/* Each card */
.branch-card {
  flex: 0 0 auto;
  width: 290px;
  height: 410px;
  background-color: #f4f4f4;
  border-radius: 10px;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  cursor: default;
}

.branch-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
}

/* Title in bottom left */
.branch-title {
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  max-width: 80%;
  user-select: none;
}

/* Contact Page Specific Styles */
.contact-page-content {
  background-color: var(--color-bg);
  /* Use your background color variable */
  padding-block: var(--spacing-xxl);
  /* Consistent vertical padding */
}

.contact-grid {
  display: flex;
  gap: var(--spacing-xxl);
  /* Space between the left content and the form */
  align-items: flex-start;
  /* Align items to the top */
}

.contact-details-map {
  flex: 3;
  /* Takes up more space on the left */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  /* Space between elements on the left column */
}

.contact-title {
  /* Adjust as needed, larger for a main title */
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: normal;
  font-size: clamp(2rem, 1.2em + 2vw, 3rem);

}

.contact-intro {
  flex: 2;
  font-size: var(--font-size-base);
  color: var(--text-description);
  line-height: 1.6;
  max-width: 750px;
  /* Limit text width for readability */
}

.map-container {
  width: 100%;
  /* No specific height needed if iframe height is set, but can add min-height if desired */
  overflow: hidden;
  /* Ensures no scrollbars on iframe container */
  border-radius: var(--border-radius);
  /* Rounded corners for the map */
  padding-block: 48px;
}

.map-container iframe {
  width: 100%;
  border-radius: var(--border-radius);
  display: block;
  /* Removes extra space below iframe */
}

.contact-info-blocks {
  display: grid;
  grid-template-rows: repeat(2, auto);
  /* 2 rows */
  grid-auto-flow: column;
  /* fill columns first */
  gap: var(--spacing-lg);
}

.info-block {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--text-dark-green);
}

.info-block .info-icon {
  width: 32px;
  /* Size for the icon */
  height: 32px;
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.info-block .info-label {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark-green);
}

.info-block .info-value {
  font-size: var(--font-size-base);
  color: var(--text-description);
}

.info-block .block-card {
  font-size: var(--font-size-base);
  color: var(--text-description);
  background-color: var(--color-primary);
  border-radius: 10px;
  height: 55px;
  width: 55px;
  display: flex;
  /* <-- make it a flex container */
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */
  margin-right: 1rem;
}


/* Contact Form Styles */
.contact-form-container {
  flex: 2;
  /* Takes up less space on the right, adjusts dynamically */
  background-color: var(--color-secondary);
  /* Dark green background as per image */
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.contact-form label {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-white);
  /* Light green for labels */
  margin-bottom: var(--spacing-sm);
  font-family: "Krub", sans-serif;
  font-weight: 400;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: var(--spacing-sm);
    background-color: var(--color-white);
  border-radius: var(--border-radius);

  /* White input fields */
  color: var(--text-dark-green);
  /* Dark text color for input */
  font-family: "Krub", sans-serif;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-speed) ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: #909892;
  /* Placeholder color */
  opacity: 0.7;
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-style: normal;

}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text-bright-green);
  /* Highlight on focus */
}

.contact-form textarea {
  resize: vertical;
  /* Allow vertical resizing */
  min-height: 120px;
  /* Minimum height for textarea */
}

.contact-form .submit-button {
  width: 100%;
  /* Full width button */
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-primary);
  /* Bright green button */
  color: var(--color-white);
  /* Dark text on button */
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
  font-weight: 400;
  font-family: "Krub", sans-serif;
}

.contact-form .submit-button:hover {
  background-color: #79d079;
  /* Slightly darker green on hover */
}

/* Adjustments for the Contact Button in the Nav-links */
.nav-links a.button-ctc {
  color: var(--color-primary);
  /* Dark text */
  background-color: var(--text-bright-green);
  /* Bright green background */
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: 600;
  /* Make it a bit bolder */
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.nav-links a.button-ctc:hover {
  background-color: #79d079;
  /* Slightly darker green on hover */
  color: var(--color-primary);
}

.nav-links a.button-ctc.active {
  background-color: var(--text-bright-green);
  /* Keep active state bright green */
  color: var(--color-primary);
}


.dgreen-text {
  /* Darker green for titles in other sections */
  color: var(--text-dark-green);
}


/* Responsive Adjustments (Optional but Recommended) */
@media (max-width: 992px) {
  .contact-grid {
    flex-direction: column;
    /* Stack elements vertically on smaller screens */
    gap: var(--spacing-xl);
  }

  .contact-details-map,
  .contact-form-container {
    flex: none;
    /* Remove flex sizing */
    width: 100%;
    /* Take full width */
  }

  .map-container iframe {
    height: 300px;
    /* Adjust map height for smaller screens */
  }

  .contact-form-container {
    padding: var(--spacing-lg);
    /* Reduce padding on form */
  }
}

@media (max-width: 576px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .contact-page-content {
    padding-block: var(--spacing-lg);
  }
}

/* ===== Normen & standaarden section ===== */
.standards-section {
  padding-block: var(--spacing-xxl);
  min-height: 1000px;
}

/* Header */
.standards-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.standards-intro {
  max-width: 100ch;
}

.standards-intro h1 {
  padding-bottom: 2rem;
  font-size: clamp(2rem, 1.2em + 2vw, 3rem);
  /* Adjust as needed, larger for a main title */
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: normal;
}

.standards-search input {
  padding: 0.75rem 1rem;
  border: 1px solid #d0d5d2;
  border-radius: 6px;
  font-size: 1rem;
  min-width: 280px;
}

/* Body split */
.standards-body {
  display: flex;
  gap: var(--spacing-xl);
}

/* Grid of icons */
.standards-grid {
  flex: 1 1 55%;
  /* 50% width */
  display: grid;
  grid-template-columns: repeat(4, 148px);
  /* 4fr columns, fixed width */
  grid-auto-rows: 160px;
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
  overflow-y: auto;
  /* scrollable */
  max-height: 760px;
  /* Adjust as needed */
}

.standard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  gap: var(--spacing-sm);
  border-radius: 8px;
  background-color: var(--color-white);
  cursor: pointer;
  box-shadow: 4px 4px 12px rgba(192, 192, 192, 0.1);

  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.standard-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #dca45162;
  transform: translateY(-2px);
}

.standard-item.active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* example style */
  transform: translateY(-2px);
  /* slight lift */
  background-color: #DCA451;
}

.standard-item.active img {
  filter: invert(1);
}

.standard-item img {
  max-height: 120px;
  /* Shrink image */
  width: auto;
}

.standard-label {
  font-size: 0.875rem;
  color: var(--text-description);
}

/* Details panel */
.standard-details {
  flex: 1 1 50%;
  /* 50% width */
  border-radius: 8px;
  padding: var(--spacing-sm);
  overflow-y: auto;
  max-height: 760px;
  /* Align with grid height */
}

.standard-details h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark-green);
}

.faq-section {
  background-color: #ffffff;
  padding: var(--spacing-xxl) 1rem;
}

.faq-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-lg);
  align-items: flex-start;
  width: 100%;

}

.faq-accordion {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion .section-title {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.faq-item {
  border: 1px solid var(--text-mellow-green);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--color-white);
  color: var(--color-primary);
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

}

.chevron-icon {
  width: 16px;
  height: 12px;
  transition: transform 0.3s ease;
}

.faq-item.active .chevron-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  /* default collapsed padding */
  background-color: #f9f9f9;
  color: #333;
  font-family: "Krub", sans-serif;
  font-weight: 400;
}

.faq-item.active .faq-answer {
  padding: 1rem;
  /* only add vertical padding when open */
}

.faq-image {
  flex: 1 1 30%;
  padding-block: var(--spacing-xl);
}

.faq-image img {
  width: 100%;
  max-width: 25vw;
  border-radius: 8px;
  display: block;
}

/* ░░ Header ░░ */
.brands-section {
  padding-block: var(--spacing-xxl);
  min-height: 760px;
}

.brands-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.brands-intro {
  max-width: 60ch;
}

.brands-intro h1 {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: clamp(2rem, 1.2em + 2vw, 3rem);
  line-height: 1.1;
  color: var(--color-primary);
}

.brands-search {
  position: relative;
  flex-shrink: 0;
}

.brands-search .search-icon {
  position: absolute;
  top: 50%;
  left: var(--spacing-sm);
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #8A918D;
  pointer-events: none;
}

.brands-search input {
  padding: 0.75rem 1rem 0.75rem calc(1rem + 1.5rem);
  border: 1px solid #d0d5d2;
  border-radius: 6px;
  font-size: 1rem;
  min-width: 280px;
}

/* Brands list */
.brands-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-height: 1000px;
  overflow-y: scroll;
  padding-inline: 12px;
}

/* For Chrome, Edge, Safari */
.brands-list::-webkit-scrollbar,
.branches-scroll-wrapper::-webkit-scrollbar,
.standards-grid::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.brands-list::-webkit-scrollbar-track,
.branches-scroll-wrapper::-webkit-scrollbar-track,
.standards-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.brands-list::-webkit-scrollbar-thumb,
.branches-scroll-wrapper::-webkit-scrollbar-thumb,
.standards-grid::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.brands-list::-webkit-scrollbar-thumb:hover
.branches-scroll-wrapper::-webkit-scrollbar-thumb:hover,
.standards-grid::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}


.brand-card {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color .3s, box-shadow .5s;
  width: 99%;
  box-sizing: border-box;

}

.brand-card:hover {

  border-color: var(--text-bright-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.brand-meta {
  display: flex;
  gap: var(--spacing-lg);
}

.brand-card .brand-logo {
  display: flex;
  align-items: center;   /* vertical centering */
  justify-content: center; /* horizontal centering (optional) */
  height: 100%; /* ensure it stretches fully */
}

.brand-card .brand-logo img {
  width: 120px;
  max-width: 120px;
  height: auto;
}

.brand-info {
  max-width: 65ch;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .5rem 0;
  font-size: 1.25rem;
}

.brand-site-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  text-decoration: none;
  color: #3A339D;
  background-color: #003c8042;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #000280;
  font-weight: 500;
}

.brand-site-link img{
  width: 18px;
}

.brand-site-link:hover {
  text-decoration: underline;
}

.ext-icon {
  width: .875rem;
  height: .875rem;
}

.brand-excerpt {
  margin: 0 0 var(--spacing-sm) 0;
  line-height: 1.6;
}

.brand-more {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s;
  margin-top: 12px;
}

.brand-more:hover {
  background: var(--color-accent);
}

.brand-full {
  margin-top: var(--spacing-sm);
  line-height: 1.6;
}

/* tags */
.brand-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  align-content: flex-start;
  width: 200px;
  max-width: 200px;
  margin-top: 24px;
}

.brand-tags li {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
}

.tag-icon {
  color: var(--color-accent);
  font-weight: bold;
}

/* responsive */
@media (max-width: 900px) {
  .brand-card {
    flex-direction: column;
  }

  .brand-meta {
    flex-direction: column;
  }

  .brand-tags {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.closing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;  /* ← this centers children vertically */
  background-color: #232323;
  height: 40px;
}


.closing-footer p {
  color: #636363;
  font-weight: 400;
  margin: 0; /* optional: to remove default spacing */
}

.text-reg{
  color: white;
  font-family: "Krub", sans-serif;
  text-decoration: none;
  font-weight: 500;
  max-height: 32px;
  box-sizing: content-box;
  height: 32px;
  padding: .45rem 1rem;
  background-color: #627E69;
}

/* === Phones (≤ 599px) === */
@media (max-width: 599px) {
  .topbar {
    padding: 0.75rem 1rem;
  }

  .check-icon{
    width: 16px !important;
    height: 16px !important;
  }

  .logo-section {
    flex-grow: 1;
    justify-content: flex-start;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .img-logo {
    height: 36px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav a {
    font-size: 14px;
  }

  .benefit-item {
    font-size: 11px;
    display: none;
  }

  .marketing-banner{
    display: block;
  }

  .marketing-text p{
    margin-bottom: 10px;
    font-size: 14px;
  }

  .marketing-benefits{
    gap: var(--spacing-sm);
  }

  .hero-content{
    left: 2rem;
    top: 50%;
    max-width: 100%;
  }

  .hero-content h1{
    font-size: 24px;
    max-width: 100%;
  }

  .button{
    font-size: 12px;
    padding: 1em 2em;
  }

  .about-section{
    padding: initial;
  }

  .regular-text{
    font-size: 12px;
  }

  .about-image{
    display: none;
  }

  html{
        font-size: 70%; /* all text inside inherits this */

  }

  .section-header{
    max-width: 75vw;
  }

  .brands-section{
    padding-block: 64px;
  }

  .whatsapp-float{
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon{
    width: 24px;
    height: 24px;
    margin-left: 6px;
  }

  .contact-text{
    margin-inline: initial;
    padding-bottom: 24px;
  }

  .contact-text p{
    font-size: 12px;
  }
  

  .footer-columns{
    padding-inline: 12px;
    font-size: 12px;
  }

  .contact-wrapper{
    padding-block: 0px !important;
    width: 99%;
    display: block;
  }

  .contact-info{
    gap: 24px;
  }

  .footer-col{
    padding-bottom: 12px;
  }

  .footer-col:nth-child(3){
    display: none;
  }

  .block-card{
    width: 35px !important;
    height: 35px !important;
  }

  .block{
    font-size: 12px;
  }


  .block-card img{
    width: 20px !important;
    height: 20px !important;
  }

  #wasinstructies{
    padding-block: 24px !important;
  }

  .faq-image{
    display: none;
  }

  .faq-accordion{
    flex: 100%;
  }

  .contact-info-blocks{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-form label,
  .contact-form input[type="text"], 
  .contact-form input[type="email"], 
  .contact-form textarea{
    font-size: 12px;
  }

  .standards-body{
    flex-direction: column-reverse;
  }

  .standards-grid{
    grid-template-columns: repeat(3, 28vw);
  }

  .standard-item img{
    max-height: 60px;
  }

}

/* === Tablets (600px–1024px) === */
@media (min-width: 600px) and (max-width: 1024px) {
  .topbar {
    padding: 0.75rem 1rem;
  }

  .logo-section {
    flex-grow: 1;
    justify-content: flex-start;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .img-logo {
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav a {
    font-size: 15px;
  }

  .benefit-item{
    font-size: 12px;
  }

  .marketing-benefits{
    gap: var(--spacing-md);
  }

  .standards-body{
    flex-direction: column-reverse;
  }
}

/* === Desktop (≥ 1025px) === */
@media (min-width: 1025px) {
  .mobile-nav {
    display: none !important;
  }

  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}
