/* Algemene stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth; 
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}
/* header */
header {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparante achtergrond */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
  position: fixed;
  top: 0;
  width: 100%;
  justify-content: space-between; /* Verdeel ruimte tussen logo en nav-links */
  align-items: center; /* Centraal uitlijnen */
  padding: 15px 30px; /* Voeg wat padding toe */
  z-index: 1000;
}
.logo img {
  height: 50px; /* Pas de hoogte van je logo aan */
}

.nav-links {
  display: flex; /* Maak de nav-links flexibel */
}

.nav-links ul {
  list-style: none; /* Verwijder de standaard lijststijl */
  display: flex; /* Maak de lijst horizontaal */
}

.nav-links li {
  margin-left: 20px; /* Voeg wat ruimte tussen de links toe */
  display: flex;
  align-items: center;
}
.nav-links li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 700;
}

.nav-links li a:hover {
  color: #51b6b6;
}

.nav-links .contact-link a {
  background-color: #77237c;
  padding: 8px 15px; 
  border-radius: 10px;
  color: #fff; /* Zorgt ervoor dat de tekst wit is */
  display: inline-block; /* Zodat de achtergrondkleur de hele link omringt */
}
.nav-links .contact-link a:hover {
  background-color: #a13da3;
  transform: scale(1.05); /* Iets groter bij hover */
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(50vh - 70px);
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    z-index: 999;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links .contact-link {
    margin-top: 20px;
  }
}

/* Section 1 */
#header-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 125px 50px 125px;
    position: relative;
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), 
                url('images/banner-3.jpg') no-repeat center center/cover;
    color: white;
    z-index: 1;
}

#header-section .header-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#header-section h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 55px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

#header-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

#header-section h2 .line {
    display: block;
    opacity: 0;
    padding: 5px 5px;
    margin: 15px 0;
    border-radius: 8px;
    /* background: linear-gradient(45deg, rgba(119, 35, 124, 0.15), rgba(81, 182, 182, 0.15)); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInSlide 0.5s ease forwards;
}
#header-section .header-btn {
    margin-top: 0px;
    position: relative;
    z-index: 2;
}
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Voeg vertraagde animatie toe voor elke regel */
#header-section h2 .line:nth-child(1) { animation-delay: 0.3s; }
#header-section h2 .line:nth-child(2) { animation-delay: 0.6s; }
#header-section h2 .line:nth-child(3) { animation-delay: 0.9s; }
#header-section h2 .line:nth-child(4) { animation-delay: 1.2s; }

#header-section h2 .line:hover {
    transform: translateX(10px);
    background: linear-gradient(45deg, rgba(119, 35, 124, 0.3), rgba(81, 182, 182, 0.3));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Mobiele aanpassingen */
@media (max-width: 768px) {
    #header-section h2 .line {
        padding: 8px 15px;
        margin: 10px 0;
        font-size: 1.2rem;
    }
}

.header-btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.5rem;
    background-color: #77237c;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(119, 35, 124, 0.3);
}
.header-btn a {
    text-decoration: none;
    color: #fff;
}
.header-btn:hover {
    background-color: #51b6b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 182, 182, 0.4);
}

/* Mobiele aanpassingen voor header sectie */
@media (max-width: 768px) {
    #header-section {
        padding: 100px 20px 40px 20px;
        height: 100vh;
        justify-content: center;
    }

    #header-section .header-content {
        width: 100%;
    }

    #header-section h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        margin-top: 55px;
        text-align: left;
    }

    #header-section h2 {
        font-size: 1.3rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .highlight {
        margin-bottom: 8px;
        padding-left: 15px;
    }

    .highlight::before {
        width: 8px;
    }

    .header-btn {
        padding: 10px 25px;
        font-size: 1.2rem;
        width: 100%;
        max-width: 250px;
    }
}

/* Extra kleine schermen */
@media (max-width: 380px) {
    #header-section h1 {
        font-size: 2rem;
    }

    #header-section h2 {
        font-size: 1.1rem;
    }

    .header-btn {
        padding: 8px 20px;
        font-size: 1.1rem;
    }
}

/* Diensten sectie */
.consultancy {
    padding: 50px 125px; 
    background-color: #fff; 
    text-align: center; 
}

.consultancy h2 {
    font-size: 1.5rem; 
    margin-bottom: 20px; 
    color: #77237c
}

.consultancy h3 {
    font-size: 2rem; 
    margin-bottom: 40px; 
}

.container {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap;
}

.consultancy-boxes, .additional-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.consultancy-box, .extra-box {
    flex: 1;
    min-width: 250px;
    max-width: calc(33.333% - 20px);
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: rotateY(-90deg) translateZ(100px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.consultancy-box.visible, .extra-box.visible {
    opacity: 1;
    transform: rotateY(0) translateZ(0);
}

.consultancy-box:hover, .extra-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(119, 35, 124, 0.2);
    border-color: #77237c;
}

.consultancy-box img, .extra-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.consultancy-box:hover img, .extra-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

.consultancy-box h4, .extra-box h4 {
    color: #77237c;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.consultancy-box h4::after, .extra-box h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #77237c;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.consultancy-box:hover h4::after, .extra-box:hover h4::after {
    width: 80%;
}

.consultancy-box .description, .extra-box .description {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.consultancy-box:hover .description, .extra-box:hover .description {
    transform: translateY(0);
    opacity: 1;
}

/* Aangepaste stijlen voor de additional boxes */
.additional-boxes {
    margin-top: 40px;
    display: flex !important;
    visibility: visible !important;
}

.extra-box {
    max-width: calc(50% - 20px);
}

/* Responsieve aanpassingen */
@media (max-width: 1024px) {
    .consultancy-box, .extra-box {
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
  .consultancy {
      padding: 20px;
  }

  /* Container styling */
  .container, .additional-boxes {
      width: 100%;
      display: flex;
      flex-direction: column;
  }

  /* Algemene box styling voor zowel consultancy als extra boxes */
  .consultancy-box, .extra-box {
      width: 100% !important;
      max-width: 100% !important;
      min-height: 300px;
      margin: 0 0 20px 0;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #fff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 15px;
      transform: none !important;
      opacity: 1 !important;
  }

  /* Image styling binnen boxes */
  .consultancy-box img, .extra-box img {
      width: 60px;
      height: 60px;
      margin-bottom: 15px;
  }

  /* Tekst styling binnen boxes */
  .consultancy-box h4, .extra-box h4 {
      font-size: 1.3rem;
      margin: 10px 0;
      text-align: center;
      width: 100%;
  }

  .consultancy-box .description, .extra-box .description {
      font-size: 1rem;
      line-height: 1.5;
      text-align: center;
      margin-top: 10px;
      transform: none !important;
      opacity: 1 !important;
  }

  /* Zorg dat additional boxes dezelfde styling hebben */
  .additional-boxes {
      margin-top: 20px;
      width: 100%;
  }

  .additional-boxes .extra-box {
      width: 100% !important;
      max-width: 100% !important;
  }
}

/* Record section */
.record {
    background-color: #2c3e50; 
    padding: 50px 20px; 
    color: white; 
    text-align: center; 
}

.record h2 {
    margin-bottom: 30px; 
    font-size: 2.5rem; 
}

.record-container {
    display: flex; 
    justify-content: center; /* Center de items */
    gap: 10px; /* Verklein de gap tussen de items */
}

.record-item {
    flex: 0 1 15%; /* Flex-grow en flex-shrink met een basis breedte */
    text-align: center; /* Zorg ervoor dat de tekst in het midden staat */
}
.number {
    font-size: 4rem; /* Grote cijfers */
    animation: slideIn 1s ease forwards; /* Animatie toevoegen */
    transition: transform 0.3s ease; /* Animatie voor een vloeiende overgang */
}

.description {
    font-size: 1.2rem; /* Kleinere tekst voor beschrijving */
    margin-top: 10px; /* Ruimte boven de beschrijving */
}
@keyframes slideIn {
    from {
        transform: translateX(-50%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Over mij */
.about-me {
  display: flex; /* Flexbox voor 50/50 indeling */
  padding: 0px 0px; /* Ruimte rondom de sectie */
  background-color: #f5f0f7;
}

.container {
  display: flex; /* Flexbox voor interne layout */
  width: 100%; /* Volledige breedte van de sectie */
}

/* Linker helft */
.about-left {
  flex: 1;
  background-color: white;
  padding: 40px 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0;
  max-width: 800px;
  opacity: 0;
  transition: opacity 2s ease-out;
}

.about-left h2 {
  color: #77237c;
  font-size: 1.5rem;
}
.about-left .slogan {
  margin-top: 10px;
  font-size: 2rem;
  color: #2c3e50;
}
.about-me .leesmeer {
  margin-top: 10px;
}

.about-me a{
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.5s ease;
}
.about-me a:hover {
  color: #51b6b6;
}

/* Rechter helft */
.about-right {
  background-color: #f5f0f7;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 2s ease-out;
}

.about-right img {
  max-width: 100%;
  height: 750px;
  padding: 40px 0;
  transition: opacity 2s ease-out;
}

/* Wanneer de sectie zichtbaar is */
.about-me.visible .about-left, 
.about-me.visible .about-right {
  opacity: 1;
}

.about-me.visible .about-right img {
  opacity: 1;
}

/* Contact */
.contact {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .container-sec4 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .row  {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .contact-info {
    width: 45%;
  }
  
  .contact-info-item {
    display: flex;
    margin-bottom: 30px;
  }
  
  .contact-info-icon {
    height: 70px;
    width: 70px;
    background-color: #fff;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 50%;
  }

  .contact-info-icon i {
    font-size: 30px;
    line-height: 70px;
  }
  
  .contact-info-content {
    margin-left: 20px;
    border-left: 5px solid #2c3e50;
    width: 300px;
  }

  .contact-info-content h4 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 5px;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info-content a,
  .contact-info-content p {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1em;
    padding-left: 10px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .contact-info-content a {
    transition: color 0.3s ease;
  }

  .contact-info-content a:hover {
    color: #51b6b6;
  }

  /* Responsive aanpassing */
  @media (max-width: 768px) {
    .contact-info-content {
      width: auto;
    }
    
    .contact-info-content h4,
    .contact-info-content a,
    .contact-info-content p {
      white-space: normal;
    }
  }

  .contact-form {
    background-color: #fff;
    padding: 40px;
    width: 45%;
    padding-bottom: 20px;
    padding-top: 20px;
  }
  
  .contact-form h2 {
    font-weight: bold;
    font-size: 2em;
    margin-bottom: 10px;
    color: #2c3e50;
    text-transform: uppercase;
  }

  .contact-form h2 span.uppercase-black {
    color: #2c3e50;
  }
  .contact-form h2 span.stuur {
    color: #2c3e50;
  }

  .contact-form .input-box {
    position: relative;
    width: 100%;
    margin-top: 10px;
  }
  
  .contact-form .input-box input,
  .contact-form .input-box textarea{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
    background-color: #fff;
  }
  .contact-form .input-box textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
    background-color: #fff; /* Achtergrondkleur wijzigen naar wit */
  }

  .contact-form .input-box span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
  }
  .contact-form .input-box input:focus ~ span,
  .contact-form .input-box textarea:focus ~ span,
  .contact-form .input-box input:valid ~ span,
  .contact-form .input-box textarea:valid ~ span{
    color: #2c3e50;
    font-size: 12px;
    transform: translateY(-20px);
  }
  
  .contact-form .input-box input[type="submit"]
  {
    width: 100%;
    background: #77237c;
    color: #FFF;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #77237c;
    transition: 0.5s;
  }
  
  .contact-form .input-box input[type="submit"]:hover
  {
    background: #FFF;
    color: #77237c;
    border: 1px solid #77237c;
  }

  @media (max-width: 991px) {
    section {
      padding-top: 50px;
      padding-bottom: 50px;
    }
    
    .row {
      flex-direction: column;
    }
    
    .contact-info {
      margin-bottom: 40px;
      width: 100%;
    }
    
    .contact-form {
      width: 100%;
    }
  }
  /* Einde form */

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    top: 125px;
    /* width: 100%;  */
  }
  
  footer p {
    margin: 5px 0;
  }
  
  footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  footer a:hover {
    color: #3d8fdc;
  }
  
  /* Media Query: Op kleine schermen moet elke box 100% van de breedte innemen */
@media (max-width: 768px) {
  .consultancy-boxes {
    flex-direction: column; /* Zet items onder elkaar */
    gap: 20px;
  }

  .consultancy-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .consultancy {
    padding: 20px;
  }
  .about-me {
    flex-direction: column;
  }
}

/* Verbeterde responsiviteit voor record section */
@media (max-width: 768px) {
  .record-container {
    flex-direction: column;
    gap: 30px;
  }

  .record-item {
    flex: 1;
    width: 100%;
  }

  .number {
    font-size: 3rem;
  }
}

/* Verbeterde about-me sectie voor mobiel */
@media (max-width: 768px) {
  .about-me .container {
    flex-direction: column;
  }

  .about-left {
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }

  .about-right img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
  }
}

/* Verbeterde consultancy sectie voor tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .consultancy-boxes {
    gap: 15px;
  }

  .consultancy-box {
    padding: 15px;
  }
}

/* Verbeterde header section voor verschillende schermgroottes */
@media (max-width: 1024px) {
  #header-section {
    padding: 30px 50px;
    height: auto;
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  #header-section h1 {
    font-size: 2rem;
  }

  #header-section h2 {
    font-size: 1.2rem;
    margin-left: 0;
  }

  .header-btn {
    font-size: 1.2rem;
    padding: 8px 20px;
  }
}

/* Verbeterde contact sectie voor tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .contact-info-icon {
    height: 60px;
    width: 60px;
  }

  .contact-info-icon i {
    font-size: 25px;
    line-height: 60px;
  }

  .contact-form {
    padding: 30px;
  }
}