/* ===== HOME PAGE ===== */

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
  background-color: #f0eeeb;
}

/* Background image layer */
.hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 0.35;
}

/* Dark gradient overlay for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #f0eeeb;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Dit zorgt dat alles links uitgelijnd blijft */
}

.hero__logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.5s forwards;
}

.hero__logo {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  width: auto;
  object-fit: contain;
}

.hero__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.2s forwards;
}

.hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--green-light);
}

.hero__title {
  color: #4a5350;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.35s forwards;
}

.hero__title span {
  color: #94B2A1;
}

.hero__desc {
  color: #4a5350;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.5s forwards;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start; /* Forceer links uitlijnen */
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.65s forwards;
}

/* Responsive design - logo verdwijnt op mobiel */
@media screen and (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left; /* Tekst links houden, niet centreren */
    gap: 2rem;
  }
  
  .hero__content-wrapper {
    align-items: flex-start; /* Blijf links uitlijnen op mobiel */
  }
  
  .hero__desc {
    margin-left: 0; /* Verwijder eventuele auto margins */
    margin-right: 0;
  }
  
  .hero__label::before {
    display: none;
  }
  
  .hero__logo-wrapper {
    display: none; /* Logo verdwijnt op mobiel */
  }
  
  .hero__actions {
    justify-content: flex-start; /* Blijf links uitlijnen op mobiel */
  }
}

/* Voor kleinere desktop schermen */
@media screen and (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
  }
  
  .hero__logo {
    max-height: 160px;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.2s forwards;
}

.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(148,178,161,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

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

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* ===== HOE WERKT HET ATTEST (process) ===== */
.process {
  padding: 6rem 0;
  background: var(--off-white);
}

.process__header {
  text-align: center;
  margin-bottom: 4rem;
}

.process__header .label {
  margin-bottom: 0.75rem;
}

.process__header h2 {
  margin-bottom: 1rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--green));
  z-index: 0;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.process__step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(148, 178, 161, 0.25);
  transition: all 0.3s ease;
}

.process__step:hover .process__step-num {
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
}

.process__step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Why ASBA section */
.why {
  padding: 6rem 0;
}

.why__header {
  text-align: center;
  margin-bottom: 4rem;
}

.why__header .label {
  margin-bottom: 0.75rem;
}

.why__header h2 {
  margin-bottom: 1rem;
}

.why__header p {
  max-width: 560px;
  margin: 0 auto;
}

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

.why__card {
  padding: 2.2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-md);
  border-color: var(--green-light);
}

.why__card:hover::before {
  transform: scaleX(1);
}

.why__card-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
  color: var(--green-dark);
  transition: background 0.3s ease;
}

.why__card:hover .why__card-icon {
  background: var(--green);
  color: #fff;
}

.why__card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* CTA Banner */
.cta-banner {
  padding: 5rem 0;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* Responsive home */
@media (max-width: 900px) {
  .hero__inner {
    text-align: left;
  }

  .why__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .process__steps::before {
    display: none;
  }
}

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


/* ================================================================
   ATTEST SECTION
   ================================================================ */
.attest-section {
  background: #fff;
  padding: 6rem 0;
}

.attest-section__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.attest-section__left .label { margin-bottom: 0.75rem; }
.attest-section__left h2    { margin-bottom: 1.5rem; }

.attest-section__body p {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.attest-section__right {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-top: 0.5rem;
}

.attest-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.attest-highlight-card:hover {
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateX(4px);
  border-color: var(--green-light);
  background: #fff;
}

.attest-highlight-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.attest-highlight-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.attest-highlight-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Hero tagline */
.hero__tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.6s forwards;
}

/* Larger logo in nav */
.nav__logo-img { height: 64px; }
.nav__logo-name { font-size: 1.75rem; }

/* 6-step process grid */
.process__steps {
  grid-template-columns: repeat(3, 1fr) !important;
}

.process__steps::before {
  display: none !important;
}

@media (max-width: 900px) {
  .attest-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__steps { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr !important; }
}
