/* Algemene stijlen */
html {
    margin: 0 auto;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #F7FAFA;
    color: black;
    overflow-x: hidden;
}
*, *::before, *::after {
    border: none;
    outline: none;
}
header {
    background-color: black;
    color: white;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

section {
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-heading {
    font-family: 'Raleway', Arial, sans-serif;
}

.logo {
    margin-left: 25%;
    width: 250px; 
    opacity: 1;
}

.logo-link {
    display: block;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.logo img {
    width: 250px; 
}

nav {
    color: white;
    margin-right: 25%;
    font-weight: bold;
    height: 50px;
}

.nav-bar {
    opacity: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
   }

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav ul li {
  position: relative;
}

nav ul li a {
    position: relative;
}

nav a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: font-size 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: green; 
    transition: width 0.3s;
}

nav ul li a:hover::before {
    width: 100%;
}

nav a:hover {
    color: green; 
    font-size: 26px;
    transform-origin: center;
}

nav ul li:hover .dropdown-menu {
  display: block;
}

nav ul li.active a {
  color: white;
}

#home {
    position: relative;
    text-align: left; /* Center the text within the video container */
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    color: white;
    margin-top: 3%;
    height: 800px; /* Example minimum height */
    overflow: hidden;
    object-fit: contain;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.video-container h1,
.video-container h2 {
    position: absolute;
    top: 30%;
    left: 25%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: 2em;
    margin: 10px 0;
    z-index: 1; /* Ensure the text is on top of the video */
    opacity: 0; /* Start with the element invisible */
    animation: fadeInTitle 1s ease forwards; /* Apply the animation */
}

.video-container h2 {
    margin-top: 2em;
    font-weight: normal;
    font-size:1.7em;
    top: 31%;
    animation-delay: 3s; /* h2 appears after 5 seconds */
}

.video-container h1 {
    animation-delay: 1s; /* h1 appears after 3 seconds */
}

/* Define the animation */
@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translate(-100%, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.first-section {
    /* Removed fixed height to allow content to define the section height */
    background-color: #333;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Align items at the start to handle varying column heights */
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:70%;
}

.column {
    flex: 1; /* Allows columns to grow and fill the available space */
    min-width: 0; /* Prevents flex items from overflowing their container */
    text-align: center;
    padding: 10px;
    color: white;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}
.column:hover{
    background-color: #616161;
    transition: background-color 1s, color 1s;
}
.column img {
    width: 100px;
    margin-top: 20px;
}

.column p {
    font-size: 16px;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 20px;
}
.column h4 {
    margin-top: 5%;
    margin-bottom: 20px;
    font-size: 24px;
}
.column h3 {
    margin-top: 4%;
    margin-bottom: 20px;
    font-size: 24px;
}
.column h2 {
    font-size: 24px;
}
.column-container .column {
    opacity: 1;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation from the left */
.fade-in-left {
    transform: translateX(-100px);
}

/* Animation from the right */
.fade-in-right {
    transform: translateX(100px);
}

/* Animation from the bottom */
.fade-in-bottom {
    transform: translateY(100px);
}

/* State of the elements when they are visible */
.visible {
    opacity: 1;
    transform: translateX(0);
}
/* Keyframe Animations */
.visible-left-two {
    animation: fadeInLeft 1s forwards;
}

.visible-right-two {
    animation: fadeInRight 1s forwards;
}

@keyframes fadeInLeft {
    from { 
        opacity: 0; 
        transform: translateY(50px) translateX(0px); /* Adjusted for bottom fade-in */
    }
    to { 
        opacity: 1; 
        transform: translateY(0px) translateX(0); 
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0; 
        transform: translateY(50px) translateX(0px); /* Adjusted for bottom fade-in */
    }
    to { 
        opacity: 1; 
        transform: translateY(0) translateX(0); 
    }
}
@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.fade-in-bottom {
    animation: fadeInBottom 0.6s ease-out forwards;
}

/* Initial State of Columns */
.column-container .column {
    opacity: 0;
    /* Remove transition properties if using keyframe animations */
}

.intro-section h1 {
    color: black;
    font-size: 40px;
    position: relative;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.intro-section h2 {
    color: black;
    margin-top: 50px;
    font-size: 30px;
    position: relative;
    text-align: left;
}
.intro-section h3 {
    color: black;
    font-size: 15px;
    position: relative;
    width: 60%;
    text-align: left;
}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}
.second-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px;
    text-align: center;
    margin-bottom: 40px;
}

.second-section p {
    color: black;
    width: 40%;
    font-size: 20px;
    margin-bottom: 60px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.servcs-section-two {
    text-align: center;
    padding: 40px 20px; /* Adjust padding as needed */
    background-color: #333;

}
.containers-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}
.servcs-section-two img {
    width: 40%;
         filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));

}
.servcs-container {
     max-width: 40%;
    margin: 0 auto;
    position: relative;
}
.content-text {
    flex: 1;
    text-align: left;
}

.content-text p {
    width: 80%;
}

.content-text-four p {
    width: 60%;
}
.black-stripe-three,
.black-stripe-five {
    height: 3px;
    width: 80%;
    background-color: #fff;
    border-radius: 3px;
    display: grid;
    position: relative;
    animation: slideIn 3s forwards;
}

.servcs-container h1 {
    font-size: 40px;
    color: #fff; /* Adjust text color as needed */
    margin-bottom: 20px;
    margin-top: 30px;
}

.servcs-container p {
    font-size: 16px;
    color: #fff; /* Adjust text color as needed */
    margin-bottom: 20px;
    margin-bottom: 20px;
}

.servcs-container,
.phone-container {
    opacity: 0;
    transform: translateX(-100px); /* for .servcs-container */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.phone-container {
    width: 45%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    perspective: 800px;
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
    transform: translateX(100px);

}
.visible-left {
    opacity: 1;
    transform: translateX(0);
}

.visible-right {
    opacity: 1;
    transform: translateX(0);
}
.phone-wrapper {
    width: 225px;
    height: 350px;
    margin: 0 10px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    perspective: 800px;
    transform-style: preserve-3d;
    display: none; /* Hide by default, controlled by JavaScript */
}

.phone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
}

.video1, .video2, .video3 {
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.phone-wrapper.video1 { transform: rotateY(20deg); }
.phone-wrapper.video2 { transform: rotateY(0deg); }
.phone-wrapper.video3 { transform: rotateY(-20deg); }

/* Ensure videos are not hidden on smaller screens */
.phone-wrapper.active {
    display: block;
}

.phone-wrapper {
    display: none;
}


    .phone-wrapper {
        display: block;
    }


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.stripe-top,
.stripe-bottom {
    width: 0;
    height: 3px;
    background-color: black;
    transition: width 1s; /* Adjust the duration of the animation as needed */
    position: absolute;
    left: 0;
    border-radius: 3px;
}

.stripe-top {
     animation: fadeInStripe 3s forwards;
    top: 40px;
}

.stripe-bottom {
    bottom: 40px;
     animation: fadeInStripeTwo 4s forwards;
}
 
@keyframes fadeInStripe {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}
@keyframes fadeInStripeTwo {
    from {
        width: 0;
    }
    to {
        width: 50%;
    }
}

.content-text:hover .stripe-top,
.content-text:hover .stripe-bottom {
    width: 100%;
}


@keyframes slideIn {
    from {
        width: 0; /* Start with a width of 0 */
    }
    to {
        width: 80%; /* End with the desired width */
    }
}

.intro-video-container video {
    margin-bottom: 40px;
    width: 100%;
    height: 20%;
}


.fadeInIntro {
    animation: fadeIntro .5s ease-in-out;
    opacity: 1;
}


@keyframes fadeIntro {
    from {
        opacity: 0;
         transform: translateY(2%);
    }
    to {
        opacity: 1;
         transform: translateY(0);
    }
}


.fade-in {
    animation: fadeIn .5s ease-in-out;
    opacity: 1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTA .5s ease-in-out forwards;
    animation-delay: 5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}

@keyframes fadeInCTA {
    from {
        right: 25%; 
        top: 90%; 
        opacity: 0; 
    }
    to {
        right: 25%; 
        top: 70%; 
        opacity: 1; 
    }
}

.line-two {
  width: 0;
  height: 3px;
  background-color: black;
  margin: 20px auto;
    margin-bottom: 50px;
    border-radius: 3px;
  opacity: 0;
  animation: fadeInLineTwo 2s forwards; /* Animation for automatic fade-in */
   animation-delay: 1s;
}
@keyframes fadeInLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}
@keyframes fadeInLineTwo {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 85%;
    opacity: 1;
  }
}
.slideshow-servcs, .right-div {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation from the left */
.fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

/* Animation from the right */
.fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* Starting state for animations */
.slideshow-servcs {
    transform: translateX(-100px);
}

.right-div {
    transform: translateX(100px);
}
.intro-section {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    margin-bottom: 50px;
    background-color: #333;
}

.forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 600px;
    margin: 0 auto;
    width: 50%;
    gap: 40px;
}

.forms-colom {
    position: relative;
    width: calc(60% - 150px); /* Adjust the width to accommodate maximum spacing of 50px */
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    opacity: 0;
    transform: translateX(-50px); /* For the left column */
}
.forms-colom.forms-right-two {
    transform: translateX(0px); /* For the right column */
}
/* Adjust margin if necessary */
.forms-colom:first-child {
    margin-left: 0; /* Remove left margin for the first column */
}

.forms-colom:last-child {
    margin-right: 0; /* Remove right margin for the last column */
}

.gray-container {
    background-color: #666; /* Change to your desired grey color */
    height: 40px; /* Set the height of the gray container */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 20px;
    border-radius: 10px 10px 0 0;
}

.forms-colom h2 {
    margin-top: 80px;
    margin-left: 50px;
    color: #333;
}

.forms-colom h3 {
    margin-left: 50px;
    color: #555;
}

.forms-colom p {
    margin-bottom: 10px;
    color: #777;
    margin-left: 20px;
}

.forms-colom ul {
    list-style-type: none;
    margin-left: 50px;
    margin: 0;
}

.forms-colom ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.forms-colom ul li img {
    width: 10px; /* Set max-width directly on the img element */
    margin-right: 5px;
}

.button-form {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 32px;
    font-size: 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease, transform 0.2s ease;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
}

.button-form:hover {
    transform: scale(1.1) translateX(-50%);
    background-color: white;
    color: green;
    border: 2px solid green;
    font-weight: bold;
}
.about-section {
    color: black;
    margin: 0 auto; 
    opacity: 1;
    margin-top: 40px;
    width: 40%;
    transform: translateY(0);
    box-sizing: border-box; 
}
.about-content {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.about-block {
    display: flex; 
    justify-content: space-between; 
    opacity: 0;
    margin-right: 10%;
}

.about-left {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: left; */
}
.about-text {
    width: 500px;
    text-align: left;
    margin-bottom: 20px;
    color: black;
}

.about-left h2 {
    font-size: 28px;
    text-align: left;
    margin-bottom: 10px;
    color: black;
}

.about-right {
    transform: translateX(100px); */
}
.about-box {
    margin-right: 100%;
    margin-bottom: 20px;
}
.about-box img {
        border-radius: 5px;
}
.fadeInAbout {
    animation: fadeInAbout .5s ease-in-out;
    opacity: 1;
}

@keyframes fadeInAbout {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUpTwo {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in-bottom-two {
    animation: fadeInUpTwo 1s forwards;
}
.button-container {
    text-align: center; 
    margin-top: 20px;
            filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

.smaller-button {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 32px;
    font-size: 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.smaller-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: green;
    border: 2px solid green; 
    font-weight: bold;
}
.profile-photo {
    max-width: 350px;
    height: auto;
    margin-left: 50%;
            filter: drop-shadow(10px 0 50px rgba(0, 0, 0, 0.2));

}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 60%; 
  width: 100%;
}

.footer-nav {
  display: flex;
  align-items: center; 
    margin-right: 20px;
}

.footer-nav li {
  list-style: none;
  margin-right: 10px;
}

.footer-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease; 
}

.footer-nav li a:hover {
  color: green; 
}

.footer-social {
  display: flex;
  align-items: center; 
}

.footer-social li {
  list-style: none;
  margin-right: 40px;
}

.footer-social li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

footer p {
  font-size: 14px;
}

.footer-columns {
  display: flex;
  justify-content: space-around; /* Distribute space around columns */
  width: 35%;
  margin: 20px auto 40px; /* Center the container horizontally */
}

.footer-column {
  display: flex;
  align-items: center; /* Vertically center content within each column */
  justify-content: center; /* Horizontally center content within each column */
  text-align: left; /* Align text to the left */
  color: black;
}

.footer-column img {
  margin-right: 10px; /* Space between image and text */
}

.footer-column p {
  font-size: 14px;
  margin: 0;
}

@keyframes fadeInLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 40%;
    opacity: 1;
  }
}

.section-container {
   width: 100%;   
   box-sizing: border-box;
   padding: 40px; /* Adjust padding as needed */
   display: flex;
   justify-content: center; /* Center the content horizontally */
    }
.content-wrapper {
      width: 60%; /* Set the max-width for the content */
      display: flex;
      align-items: center;
    }
.slideshow-servcs {
    width: 500px; /* Set the width of the slideshow container */
    height: 300px; /* Set the height of the slideshow container */
    overflow: hidden; /* Ensure that images don't overflow the container */
    margin: 20px auto;
    position: relative;
    margin-top: 40px;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
.mySlides {
    display: none;
    
    width: 100%; /* Add width to ensure proper scaling */
    transition: opacity 4s; /* Add transitions for opacity and transform */
}
.mySlides img {
    border-radius: 5px;
    width: 100%; /* Ensure the image takes the full width of its container */
    height: 100%; /* Ensure the image takes the full height of its container */
    object-fit: cover; /* Maintain aspect ratio while covering the container */
}

.mySlides.fade-in {
    display: block;
    opacity: 1;
}
 @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.right-div {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-end;
    }

    .right-div img {
      max-width: 100%; /* Ensure the image inside the right div is responsive */
    }

 
.right-div p {
    font-size: 16px;
    color: #000; /* Adjust text color as needed */
    text-align: right;
    width: 70%;
    margin-top: -10px;
}

.section-container h2 {
    color: black;
    font-size: 40px;
    position: relative;
    margin-top: 30px;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.buttons-container {
    margin-top: 20px;
    margin-right: 25%;
    display: flex;
    flex-direction: column; /* Set the direction to column */
    align-items: center; /* Center items horizontally */
     filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));

}


.animatie-button {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 32px;
    margin: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 20px;
    text-decoration: none;
    width: 100%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: green;
    border: 2px solid green; 
    font-weight: bold;
}
.black-stripe-four {
    height: 3px;
    width: 80%;
    background-color: #000;
    border-radius: 3px;
    display: grid;
    position: relative;
    animation: slideIn 3s forwards;
}  
#quiz-container {
    width: 800px; /* Fixed width */
    height: 300px; /* Fixed height */
    background-color: #333;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly translated for the animation effect */
}

.quiz-screen, #start-screen {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%; /* Ensure it takes the full width of the container */
    height: 100%; /* Ensure it takes the full height of the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.quiz-screen.active, #start-screen.active {
    display: block;
}

h2 {
    margin-top: 0;
    color: white;
}

textarea {
    width: 400px;
    height: 20px;
    resize: none;
    margin-top: 20px;
}

.alert-message {
    color: red;
}

.quiz-button {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 32px;
    font-size: 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.quiz-button:hover {
    background-color: white;
    color: green;
    font-weight: bold;
}

#start-screen {
    text-align: center;
    padding: 20px;
}


  .g-recaptcha {
            display: inline-block;
            margin: 5px auto;
            box-sizing: border-box;
        }
        #captcha-error {
            color: red;
            text-align: center;
            margin-top: 10px;
            font-size: 14px;
        }
        .alert-message {
            color: red;
            text-align: center;
            margin-top: 5px;
            display: none;
        }
.rectangle {
    width: 200px; /* Adjust the width as needed */
    height: 60px; /* Adjust the height as needed */
    background-color: green; /* Background color of the rectangle */
    color: white; /* Text color */
    font-size: 25px;
    text-align: center; /* Horizontally align text */
    line-height: 60px; /* Vertically align text (should be the same as height) */
    border-top-left-radius: 5px; /* Border radius for the top-left corner */
    border-bottom-left-radius: 5px; /* Border radius for the bottom-left corner */
    margin: 10px 0; /* Optional: for spacing */
    position: absolute; /* Absolute positioning */
    right: 0; /* Align to the right */
    top: 45%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}

.indicator-container {
    display: none;
}

            .video2 {
        height: 340px;
    }
/********************************************************************** First Responsive Layout ***********************************************************************************************/
@media (min-width: 1680px) and (max-width: 1920px) {
    .logo {
    margin-left: 20%; 
}
.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

    .second-section {
        height: 400px;
    }
.intro-section {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    margin-bottom: 50px;
    background-color: #333;
}
.containers-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}
    .content-wrapper {
      width: 80%; /* Set the max-width for the content */
      display: flex;
      align-items: center;
    }
.forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 700px;
    margin: 0 auto;
    width: 90%;
}

.forms-colom {
    position: relative;
    width: calc(50% - 150px); /* Adjust the width to accommodate maximum spacing of 50px */
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    opacity: 0;
    transform: translateX(-50px); /* For the left column */
}
.about-section {
        width: 60%; /* Expand to 95% width on screens up to 1440px */
    }
    .footer-columns {
  display: flex;
  justify-content: space-around; /* Distribute space around columns */
  width: 48%;
  margin: 20px auto 40px; /* Center the container horizontally */
}
    .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}

}



/********************************************************************** Second Responsive Layout ***********************************************************************************************/
@media (min-width: 1440px) and (max-width: 1680px) {
   
nav {
    color: white;
    margin-right: 10%;
    font-weight: bold;
    height: 50px;
}
.logo {
    margin-left: 10%;

}
    
.video-container {
    position: relative;
    width: 100%;
    color: white;
    margin-top: 3%;
    height: 550px; /* Example minimum height */
    overflow: hidden;
    object-fit: contain;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
.video-container h1,
.video-container h2 {
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: 2em;
    margin: 10px 0;
    z-index: 1; /* Ensure the text is on top of the video */
}

.video-container h2 {
        margin-top: 2em;
    
    font-weight: normal;    
}
   .second-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    text-align: center;
    margin-bottom: 40px;
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

.second-section p {
    color: black;
    width: 60%;
    font-size: 20px;
    margin-bottom: 60px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.servcs-section-two {
    text-align: center;
    padding: 40px 30px; /* Adjust padding as needed */
    background-color: #333;

}
.containers-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}
.servcs-section-two img {
    width: 40%;
         filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));

}
.servcs-container {
     max-width: 40%;
    margin: 0 auto;
    position: relative;
} 
        .video2 {
        height: 340px;
    }
    .section-container {
   width: 100%;   
   box-sizing: border-box;
   padding: 40px; /* Adjust padding as needed */
   display: flex;
   justify-content: center; /* Center the content horizontally */
    }
.content-wrapper {
      width: 80%; /* Set the max-width for the content */
      display: flex;
      align-items: center;
    }


    .forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 700px;
    margin: 0 auto;
    width: 90%;
}
.about-section {
        width: 60%; /* Expand to 95% width on screens up to 1440px */
    }
.forms-colom {
    position: relative;
    width: calc(55% - 150px); /* Adjust the width to accommodate maximum spacing of 50px */
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    opacity: 0;
    transform: translateX(-50px); /* For the left column */
}
    .button-form {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 10px;
    font-size: 20px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
     .footer-columns {
  display: flex;
  justify-content: space-around; /* Distribute space around columns */
  width: 55%;
  margin: 20px auto 40px; /* Center the container horizontally */
}
    .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}
}
/********************************************************************** Third Responsive Layout ***********************************************************************************************/
@media screen and (min-width: 1024px) and (max-width: 1440px) {
     nav {
    color: white;
    margin-right: 5%;
    font-weight: bold;
    height: 50px;
}
   
        .phone-wrapper.active {
        display: block;
    }


    .logo {
    margin-left: 2%; 
}

.logo img {
    width: 200px; 
}
        .video-container h1,
    .video-container h2 {
        left: 20%; /* Adjust this based on your design preference */
        /* You may also adjust font-size here for smaller screens */
    }
    .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 24px;
    padding: 16px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay: 5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
@keyframes fadeInCTASmall {
    from {
        top: 50%;
        right: 8%; 
        opacity: 0; 
    }
    to {
        top: 55%;
        right: 15%; 
        opacity: 1; 
    }
}
    #actionButton {
        /* Adjust 'top' to ensure it's positioned below the text */
        top: auto; /* Reset to default to allow bottom alignment */
        bottom: 20%; /* Adjust this value to position the button below the text, considering the animation's end position */
        right: 20%; /* Align with the adjusted text position */
        animation: fadeInCTAAdjusted .5s ease-in-out forwards; /* Use a modified animation for this viewport */
    }

    @keyframes fadeInCTAAdjusted {
        from {
            right: 0%; /* Start from the adjusted position */
            bottom: 25%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 20%; /* End at the adjusted position */
            bottom: 20%; /* Position it correctly under the text */
            opacity: 1;
        }
    }
    .column-container {
        justify-content: space-between; /* Ensures columns are evenly spaced */
        width: 90%; /* Container takes full width */
    }

    .column {
        flex-basis: calc(33.333% - (2 * 20px)); /* Adjusts for gap; change 20px if gap is different */
        /* Ensures columns do not shrink or grow, thus taking exactly a third of the container's width minus the gap */
        flex-grow: 0;
        flex-shrink: 0;
    }
   .second-section {
        align-items: center;
       margin-top: 40px;
        height: 300px;
       justify-content: space-around;
      
    }
    .video2 {
        height: 340px;
    }
    .second-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
 .containers-wrapper {
        width: 95%; /* Expand to full width */
        justify-content: space-between; /* Adjust spacing between containers */
    }

    .servcs-container, .phone-container {
        transform: translateX(0);
    }

    .servcs-container {
        max-width: none; /* Allow container to take necessary space */
        flex-basis: 40%; /* Adjust the basis of flex items */
    }

    .phone-container {
        width: 50%; /* Adjust phone container width */
    }

    .content-text p, .servcs-container p {
        width: auto; /* Allow text to fill available space */
    }
.content-wrapper {
    width: 90%;
}
.forms {
    width: 95%;
}
.forms-colom {
    position: relative;
    width: calc(50% - 50px); /* Adjust the width to accommodate maximum spacing of 50px */
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    opacity: 0;
    transform: translateX(-50px); /* For the left column */
}
.button-form:hover {
transform: translateX(-50%);
 padding: 10px 28px;
    }
.about-section {
    color: black;
    margin: 0 auto; 
    opacity: 1;
    margin-top: 40px;
    width: 80%;
    transform: translateY(0);
    box-sizing: border-box; 
}
  
  
            .footer-columns {
    width: 60%;
}
        .button-form {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 24px;
    font-size: 18px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
    .right-div {
    width: 100%;

}
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%; 
  width: 100%;
}

}
/********************************************************************** Tablet Layout ***********************************************************************************************/
@media screen and (min-width: 600px) and (max-width: 1024px) {
.hamburger-menu {
    position: absolute; /* or 'fixed' depending on your layout */
    right: 5%;
    top: 50%; /* Adjusts the icon vertically to the middle of your nav bar */
    transform: translateY(-50%); /* Centers the icon vertically */
    display: block; /* Initially hidden and will be displayed in the media query */
    cursor: pointer;
    z-index: 1000; /* Ensure it's above other content */
}

/* Hamburger line styles */
.hamburger-menu span {
    display: block;
    width: 35px; /* Width of the hamburger lines */
    height: 5px; /* Height of the hamburger lines */
    margin-bottom: 5px; /* Space between the lines */
    background-color: #fff; /* Color of the hamburger lines */
    transition: all 0.3s ease;
}
.hamburger-menu .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
/* Ensure the nav menu is displayed correctly */
/* Ensure the nav menu is displayed correctly */
.nav-bar.active ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    justify-content: flex-start; /* Ensure items are aligned to the start */
    opacity: 1;
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: black;
    width: 100%;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul li {
    width: 100%; /* Ensure the width of the list items spans the full width of the container */
    margin-bottom: 5px;
}

nav ul li a, nav a {
    display: block; /* Ensure the link spans the full width of its container */
    font-size: 1.8vw; /* Adjust as needed for your design */
    padding: 10px 15px;
    text-align: left; /* Ensure text is aligned to the left */
    color: inherit; /* Keep text color consistent */
}

nav ul li a:hover {
    background-color: #2e2e2e; /* Gray background on hover */
    color: white; /* Optional: change text color on hover for better contrast */
    transition: background-color 1s ease, color 0.3s ease; /* Smooth transition for background color and text color */

}

/* Remove transitions from pseudo-elements */
nav ul li a::before, nav a:hover {
    color: inherit ; /* Keeps text color consistent */

}

nav ul li a:hover::before {
    width: 0 !important; /* Removes hover effect underline */
}
    .logo {
    margin-left: 2%; 
}

.logo img {
    width: 200px; 
}
      .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 24px;
    padding: 16px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay: 5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
@keyframes fadeInCTASmall {
    from {
        top: 50%;
        right: 8%; 
        opacity: 0; 
    }
    to {
        top: 55%;
        right: 15%; 
        opacity: 1; 
    }
}
    .video-container {
    position: relative;
    width: 100%;
    color: white;
    margin-top: 3%;
    height: 350px; /* Example minimum height */
    overflow: hidden;
    object-fit: contain;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
.video-container h1,
.video-container h2 {
    position: absolute;
    top: 30%;
    left: 15%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: 1.6em;
    margin: 10px 0;
    z-index: 1; /* Ensure the text is on top of the video */
}

.video-container h2 {
        margin-top: 1.4em;
        top: 36%;
    font-weight: normal;    
}
  .first-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 500px;/* Ensure at least the viewport height for smoother transitions */
    }
    
    .first-section p {
        width: 90%; /* Adjust text width for readability */
        font-size: 16px;
    }
     .column-container {
        width: 90%; /* Adjust based on preference */
        gap: 20px; /* Space between columns */
    }
   .second-section {
        align-items: center;
        height: 300px;
       justify-content: space-around;
      
    }

    .second-section p {
    font-size: 20px;
        margin-top: 10px;
        width: 90%;
}
      .phone-wrapper.active {
    display: block;
} 
  .phone-container {
       order: -1;
        width: 60%;
        margin: auto; /* Centers the container */
        overflow: hidden; /* Ensure this doesn't hide the videos unintentionally */
        display: flex; /* Use flex to align items */
        flex-direction: column; /* Stack videos */
        align-items: center; /* Center videos */
    }

    .phone-wrapper {
        display: none; /* Hide all videos initially */
        border-radius: 10px;
        height: auto;
        width: 350px;
    }


.phone-wrapper.video1,
    .phone-wrapper.video2, 
.phone-wrapper.video3    {
    transform: rotateY(0deg); /* Adjust the rotation angle as needed */
}
    .video2,
    .video1,
    .video3 {
        height: 550px;
    }
.servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #333;
}

.containers-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
}

.servcs-container {
    max-width: 80%;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100px); /* Animate from the right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-text, .buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.servcs-container h1 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 30px;
    white-space: nowrap;
}

.servcs-container p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 40px;
    width: 100%;
}

.button-container {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto; /* Ensure this container is centered within its parent */
}

.animatie-button {
   margin-left: 40%;
    }
 
/* Animation for appearing */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.servcs-container {
    animation: slideInRight 0.6s forwards;
}

.phone-container {
    animation: slideInLeft 0.6s forwards;
}
.indicator-container {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .indicator {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
    }

    .indicator.active {
        background-color: #717171; /* Active indicator color */
    }
.section-container {
    text-align: center;
    background-color: #f5f5f5;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    gap: 10px; /* Further reduced space between elements */
}

.right-div {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slideshow-servcs {
    width: 80%;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    border-radius: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
    
.content-text, .buttons-container, .right-div h2, .right-div p {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.right-div h2 {
    font-size: 40px;
    color: #000;
    margin-bottom: 40px;
    margin-top: 30px;
    white-space: nowrap;
}

.right-div p {
    font-size: 20px;
    color: #000;
    margin-bottom: 40px;
    width: 120%;
}
 .forms {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
     width: 50%;
    }

    .forms-colom {
        width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
        height: 500px;
    }

    .content-container {
        padding: 15px;
    }

    .content-container h2 {
        margin-top: 50px;
        margin-left: 20px; /* Adjusts margin for mobile screens */
        margin-bottom: 20px; /* Reduced margin-bottom to decrease whitespace */
    }
    .gray-container {
        margin-bottom: 0;
    }
    .content-container h3 {
        margin-left: 20px; /* Adjusts margin for mobile screens */
        margin-top: 10px; /* Reduced or removed margin-top to decrease whitespace */
    }

    /* Adjust the ul and li specifically for better alignment */
    .content-container ul {
        padding-left: 0; /* Remove default padding */
        margin-left: 20px; /* Align the entire list to the left */
    }

    .content-container ul li {
        list-style: none; /* Removes bullet points */
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .content-container ul li img {
        margin-right: 10px; /* Space between the checkmark and the text */
        width: 20px;
        height: auto;
    }

    h2 {
        font-size: 1.5rem;
        width: 100%;
    }

    h3, .rectangle, .button-form {
        font-size: 0.9rem;
    }

    .content-container h3 {
        width: 80%;
    }
    .rectangle {
        top: 60%;
    }

  .about-section {
        width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything horizontally */
    }
    .about-block {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the children of .about-block */
        margin-right: 0;
        width: 100%; /* Adjusts width for mobile */
    }
    .about-left, .about-right {
        width: 80%; /* Allows child elements to fill the parent */
        margin-bottom: 20px; /* Adds space between .about-left and .about-right */
        transform: translateX(0);
    }
    .about-text, .about-box {
        width: 100%; /* Ensures text and box use full width of their parents */
        text-align: center; /* Centers the text */
        margin-right: 0; /* Resets any specific margin rights */
    }
    .about-left h2, .about-text p {
        text-align: center; /* Ensures titles and paragraphs are centered */
    }
    .about-box img {
        display: block; /* Ensures the image is block level for margin auto to work */
        margin: 0 auto; /* Centers the image */
        width: auto; /* Keeps the image's original width or you can set a specific width */
        max-width: 100%; /* Ensures the image is not larger than its container */
        height: auto; /* Maintains aspect ratio */
    }
    .line-two {
        width: 90%; /* Matches the .about-block width */
        margin: 20px auto; /* Centers the line and adds vertical space */
    }
            .footer-columns {
    width: 80%;
}
footer {
  display: flex;
  flex-direction: column; /* Stacks elements vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  width: 100%;
  height: auto;
  color: white;
  padding: 20px 0;
  background-color: #333;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Distributes space between items */
  align-items: center;
  width: 90%; /* Full width of the footer */
  padding: 0 20px; /* Padding on the sides */
}

.footer-nav {
  display: none; /* Navigation links are hidden */
}

.footer-social {
  display: flex;
  justify-content: flex-end; /* Aligns social icons to the right */
  align-items: center;
  margin: 0; /* Adjust or remove margin as needed */
}

.footer-social li {
  margin: 0 10px; /* Space out the social icons */
}

footer p {
  margin: 0; /* Removes default margin to avoid extra space */
  white-space: nowrap; /* Prevents the text from wrapping */
  text-align: left; /* Text is aligned to the left */
}

      .rectangle {
    width: 200px; /* Adjust the width as needed */
    height: 60px; /* Adjust the height as needed */
    background-color: green; /* Background color of the rectangle */
    color: white; /* Text color */
    font-size: 25px;
    text-align: center; /* Horizontally align text */
    line-height: 60px; /* Vertically align text (should be the same as height) */
    border-top-left-radius: 5px; /* Border radius for the top-left corner */
    border-bottom-left-radius: 5px; /* Border radius for the bottom-left corner */
    margin: 10px 0; /* Optional: for spacing */
    position: absolute; /* Absolute positioning */
    right: 0; /* Align to the right */
    top: 65%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}
    
}
/********************************************************************** Mobile Layout ***********************************************************************************************/

@media screen and (min-width: 401px) and (max-width: 600px) {

/* Hamburger line styles */
.hamburger-menu span {
    display: block;
    width: 35px; /* Width of the hamburger lines */
    height: 5px; /* Height of the hamburger lines */
    margin-bottom: 5px; /* Space between the lines */
    background-color: #fff; /* Color of the hamburger lines */
    transition: all 0.3s ease;
}
.hamburger-menu .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
    nav {
    color: white;
    margin-right: 10%;
    font-weight: bold;
    height: 50px;
}
@keyframes fadeInNav {
    from { opacity: 0; }
    to { opacity: 1; }
}
.nav-bar.active ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    justify-content: flex-start; /* Ensure items are aligned to the start */
    opacity: 1;
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: black;
    width: 100%;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul li {
    width: 100%; /* Ensure the width of the list items spans the full width of the container */
    margin-bottom: 5px;
}

nav ul li a, nav a {
    display: block; /* Ensure the link spans the full width of its container */
    font-size: 3vw; /* Adjust as needed for your design */
    padding: 10px 15px;
    text-align: left; /* Ensure text is aligned to the left */
    color: inherit; /* Keep text color consistent */
}

nav ul li a:hover {
    background-color: #2e2e2e; /* Gray background on hover */
    color: white; /* Optional: change text color on hover for better contrast */
    transition: background-color 1s ease, color 0.3s ease; /* Smooth transition for background color and text color */

}

/* Remove transitions from pseudo-elements */
nav ul li a::before, nav a:hover {
    color: inherit ; /* Keeps text color consistent */
    font-size: inherit ; /* Prevents font size change */

}

nav ul li a:hover::before {
    width: 0 !important; /* Removes hover effect underline */
}

/* Ensure the hamburger menu is displayed correctly */
.hamburger-menu {
    display: block;
    text-align: left;
    right: 10%;
}


    .logo {
    margin-left: 1%; 
}
    .logo img {
        width: 200px;
    }

  .video-container {
    position: relative;
      margin-top: 10%;
    width: 100vw; /* Full viewport width */
      height: 100vh;
}

.video-container video {
    width: 100%;
    height: 100%; /* Adjust this if aspect ratio is important */
    object-fit: cover; /* Cover might help, but can cut off parts of the video */
}
    .video-container h1 {
    top: 10%;
        left: 8%;/* Adjust as necessary */
        font-size: 1.4em;
        filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

.video-container h2 {
    top: 12%; /* Adjust as necessary */
     left: 8%;
    font-size: 1.2em;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}
  .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 20px;
    padding: 12px 28px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay: 5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
@keyframes fadeInCTASmall {
    from {
        top: 70%;
        right: 8%; 
        opacity: 0; 
    }
    to {
        top: 55%;
        right: 10%; 
        opacity: 1; 
    }
}
  .first-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120vh; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .first-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 20px;
    }

    .column-container {
        flex-direction: column;
        width: 90%; /* Adjust based on preference */
        gap: 20px; /* Space between columns */
    }

    .column {
        width: 100%; /* Full width of the container */
        margin-bottom: 20px; /* Space after each column */
    }
column-container .column {
    transform: none !important;
    /* transition: opacity 0.6s ease-out, transform 0.6s ease-out; */
}

  .phone-container {
       order: -1;
        width: 60%;
        margin: auto; /* Centers the container */
        overflow: hidden; /* Ensure this doesn't hide the videos unintentionally */
        display: flex; /* Use flex to align items */
        flex-direction: column; /* Stack videos */
        align-items: center; /* Center videos */
    }

    .phone-wrapper {
        width: 100%; /* Full width of its parent */
        display: none; /* Hide all videos initially */
        border-radius: 10px;
    }

   .phone-wrapper.active {
    display: block;
}
.phone-wrapper.video1,
    .phone-wrapper.video2, 
.phone-wrapper.video3    {
    transform: rotateY(0deg); /* Adjust the rotation angle as needed */
}
    .video2,
    .video1,
    .video3 {
        height: 400px;
    }
.servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #333;
}
.intro-section {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    margin-bottom: 50px;
    background-color: #333;
}

.containers-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
}

.servcs-container {
    max-width: 80%;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100px); /* Animate from the right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.content-text, .buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.servcs-container h1 {
    font-size: 34px;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 30px;
    white-space: nowrap;
}

.servcs-container p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 40px;
    width: 100%;
}

.buttons-container {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Ensure this container is centered within its parent */
}

.animatie-button {
   
    margin: 0 auto; /* Center the button within the .buttons-container */
    /* Add other button styles here as needed */
}
 
/* Animation for appearing */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.servcs-container {
    animation: slideInRight 0.6s forwards;
}

.phone-container {
    animation: slideInLeft 0.6s forwards;
}
.indicator-container {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .indicator {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
    }

    .indicator.active {
        background-color: #717171; /* Active indicator color */
    }
.section-container {
    text-align: center;
    background-color: #f5f5f5;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    gap: 10px; /* Further reduced space between elements */
}

.right-div {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slideshow-servcs {
    width: 100%;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
    
.content-text, .buttons-container, .right-div h2, .right-div p {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.buttons-container {
    width: 80%;
    margin: 20px auto 0; /* Adjusted top margin for button to be closer to text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.animatie-button {
    margin: 0 auto;
}
.right-div h2 {
    font-size: 40px;
    color: #000;
    margin-bottom: 40px;
    margin-top: 30px;
    white-space: nowrap;
}

.right-div p {
    font-size: 20px;
    color: #000;
    margin-bottom: 40px;
    width: 120%;
}
 .forms {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
     width: 75%;
    }

    .forms-colom {
        width: 95%;
        margin-top: 40px;
        margin-bottom: 40px;
        height: 525px;
    }

    .content-container {
        padding: 15px;
    }

    .content-container h2 {
        font-size: 1.4em;
        margin-top: 50px;
        margin-left: 20px; /* Adjusts margin for mobile screens */
    }
    .gray-container {
        margin-bottom: 0;
    }
    .content-container h3 {
        font-size: .8em;
        margin-left: 20px; /* Adjusts margin for mobile screens */
        margin-bottom: 20px;
    }

    /* Adjust the ul and li specifically for better alignment */
    .content-container ul {
        padding-left: 0; /* Remove default padding */
        margin-left: 20px; /* Align the entire list to the left */
    }

    .content-container ul li {
        list-style: none; /* Removes bullet points */
        display: flex;
        align-items: center;
        font-size:.8em;
        margin-bottom: 10px;
    }

    .content-container ul li img {
        margin-right: 10px; /* Space between the checkmark and the text */
        width: 20px;
        height: auto;
    }

    h2 {
        font-size: 1.5rem;
        width: 100%;
    }

    h3, .rectangle {
        font-size: 0.9rem;
    }

    .content-container h3 {
        width: 80%;
    }

    .button-form {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
   .second-section {
        align-items: center;
        height: 70vh;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
    .rectangle {
        display: none;
    }
 .about-section {
        width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything horizontally */
    }
    .about-block {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the children of .about-block */
        opacity: 1;
        margin-right: 0;
        width: 100%; /* Adjusts width for mobile */
    }
    .about-left, .about-right {
        width: 100%; /* Allows child elements to fill the parent */
        margin-bottom: 20px; /* Adds space between .about-left and .about-right */
        transform: translateX(0);
    }
    .about-text, .about-box {
        width: 100%; /* Ensures text and box use full width of their parents */
        text-align: center; /* Centers the text */
        margin-right: 0; /* Resets any specific margin rights */
    }
    .about-left h2, .about-text p {
        text-align: center; /* Ensures titles and paragraphs are centered */
    }
    .about-box img {
        display: block; /* Ensures the image is block level for margin auto to work */
        margin: 0 auto; /* Centers the image */
        width: auto; /* Keeps the image's original width or you can set a specific width */
        max-width: 100%; /* Ensures the image is not larger than its container */
        height: auto; /* Maintains aspect ratio */
    }
    .line-two {
        width: 90%; /* Matches the .about-block width */
        margin: 20px auto; /* Centers the line and adds vertical space */
    }
    #quiz-container {
        width: 90%;
        margin: 20px auto;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: translateY(0);
    }

    .quiz-screen, #start-screen {
        width: 100%;
        padding: 10px;
    }

    h2 {
        font-size: 20px; /* Adjusted for better readability on smaller screens */
        color: white;
        margin: 10px 0; /* Reduces the margin for a tighter layout */
    }

    textarea {
        width: 300px;
        height: 40px; /* Provides more space for input on a small screen */
        margin: 10px 0; /* Ensures consistent spacing around textareas */
        font-size: 16px; /* Increases font size for better readability */
    }

    .alert-message {
        font-size: 14px; /* Adjusts the font size for mobile screens */
    }

    .quiz-button {
        padding: 10px 20px; /* Adjusts padding for a more suitable button size */
        font-size: 18px; /* Adjusts font size for better legibility */
        margin: 10px; /* Ensures buttons are not too close to each other */
    }

.button-container {
    width: 100%; /* Ensures the container takes full width */
    display: flex;
    justify-content: center; /* Centers buttons in the container */
    flex-wrap: wrap; /* Allows buttons to wrap if needed (fallback) */
}
footer {
  display: flex;
  flex-direction: column; /* Stacks elements vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  width: 100%;
  height: auto;
  color: white;
  padding: 20px 0;
  background-color: #333;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Distributes space between items */
  align-items: center;
  width: 100%; /* Full width of the footer */
  padding: 0 20px; /* Padding on the sides */
}

.footer-nav {
  display: none; /* Navigation links are hidden */
}

.footer-social {
  display: flex;
  justify-content: flex-end; /* Aligns social icons to the right */
  align-items: center;
  margin: 0; /* Adjust or remove margin as needed */
}

.footer-social li {
  margin: 0 10px; /* Space out the social icons */
}

footer p {
  margin: 0; /* Removes default margin to avoid extra space */
  white-space: nowrap; /* Prevents the text from wrapping */
  text-align: left; /* Text is aligned to the left */
}

 .footer-columns {
      margin-top: 40px;
    max-width: 90%; /* Slightly increase max width for mobile */
    justify-content: center; /* Center columns within container */
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center columns in the container */
                  margin-bottom: -10px;

  }

  .footer-column {
    width: 100%; /* Make each column take full width */
    justify-content: center; /* Center content within each column */
    text-align: center; /* Center text within each column */
    margin-bottom: 30px;
  }
    
    
   
.footer-column img {
    width: 30px;
    height: 25px;
  margin-right: 10px; /* Space between image and text */
}

.footer-column p {
  font-size: 14px;
  margin: 0;
}
    .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}
}

/********************************************************************** Second Mobile Layout ***********************************************************************************************/

@media screen and (max-width: 400px) {

/* Hamburger line styles */
.hamburger-menu span {
    display: block;
    width: 35px; /* Width of the hamburger lines */
    height: 5px; /* Height of the hamburger lines */
    margin-bottom: 5px; /* Space between the lines */
    background-color: #fff; /* Color of the hamburger lines */
    transition: all 0.3s ease;
}
.hamburger-menu .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
    nav {
    color: white;
    margin-right: 10%;
    font-weight: bold;
    height: 50px;
}
@keyframes fadeInNav {
    from { opacity: 0; }
    to { opacity: 1; }
}
.nav-bar.active ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    justify-content: flex-start; /* Ensure items are aligned to the start */
    opacity: 1;
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: black;
    width: 100%;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul li {
    width: 100%; /* Ensure the width of the list items spans the full width of the container */
    margin-bottom: 5px;
}

nav ul li a, nav a {
    display: block; /* Ensure the link spans the full width of its container */
    font-size: 3vw; /* Adjust as needed for your design */
    padding: 10px 15px;
    text-align: left; /* Ensure text is aligned to the left */
    color: inherit; /* Keep text color consistent */
}

nav ul li a:hover {
    background-color: #2e2e2e; /* Gray background on hover */
    color: white; /* Optional: change text color on hover for better contrast */
    transition: background-color 1s ease, color 0.3s ease; /* Smooth transition for background color and text color */

}

/* Remove transitions from pseudo-elements */
nav ul li a::before, nav a:hover {
    color: inherit ; /* Keeps text color consistent */
    font-size: inherit ; /* Prevents font size change */

}

nav ul li a:hover::before {
    width: 0 !important; /* Removes hover effect underline */
}

/* Ensure the hamburger menu is displayed correctly */
.hamburger-menu {
    display: block;
    text-align: left;
    right: 10%;
}


    .logo {
    margin-left: 1%; 
}
    .logo img {
        width: 150px;
    }

        .video-container {
    position: relative;
    margin-top: 18%;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%; /* Adjust this if aspect ratio is important */
    object-fit: cover; /* Cover might help, but can cut off parts of the video */
}
    .video-container h1 {
    top: 10%;
        left: 8%;/* Adjust as necessary */
        font-size: 1.2em;
        filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

.video-container h2 {
    top: 14%; /* Adjust as necessary */
     left: 8%;
    font-size: 1em;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

  .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 20px;
    padding: 12px 28px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay:5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
@keyframes fadeInCTASmall {
    from {
        top: 90%;
        right: 21%; 
        opacity: 0; 
    }
    to {
        top: 80%;
        right: 21%; 
        opacity: 1; 
    }
}

  .first-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 1200px; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .first-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 1em;
    }
    .second-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 475px;
    }
    .column-container {
        flex-direction: column;
        width: 90%; /* Adjust based on preference */
        gap: 20px; /* Space between columns */
    }

    .column {
        width: 100%; /* Full width of the container */
        margin-bottom: 20px; /* Space after each column */
    }

    .second-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 1em;
        margin-top: 60px;
    }
    .column-container .column {
    transform: none !important;
    /* transition: opacity 0.6s ease-out, transform 0.6s ease-out; */
}

  .phone-container {
       order: -1;
        width: 90%;
        margin: auto; /* Centers the container */
        overflow: hidden; /* Ensure this doesn't hide the videos unintentionally */
        display: flex; /* Use flex to align items */
        flex-direction: column; /* Stack videos */
        align-items: center; /* Center videos */
    }

    .phone-wrapper {
        width: 100%; /* Full width of its parent */
        display: none; /* Hide all videos initially */
        border-radius: 10px;
    }

   .phone-wrapper.active {
    display: block;
}
.phone-wrapper.video1,
    .phone-wrapper.video2, 
.phone-wrapper.video3    {
    transform: rotateY(0deg); /* Adjust the rotation angle as needed */
}
    .video2,
    .video1,
    .video3 {
        height: 400px;
    }
.servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #333;
    height: 900px;
}
.intro-section {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    margin-bottom: 50px;
    background-color: #333;
}

.containers-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    gap: 40px;
}

.servcs-container {
    max-width: 90%;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100px); /* Animate from the right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.content-text, .buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.servcs-container h1 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 30px;
    white-space: nowrap;
}

.servcs-container p {
    font-size: 1em;
    color: #fff;
    margin-bottom: 1px;
    width: 100%;
}
.buttons-container {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Ensure this container is centered within its parent */
}

.animatie-button {
   
    margin: 0 auto; /* Center the button within the .buttons-container */
    /* Add other button styles here as needed */
}
 
/* Animation for appearing */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.servcs-container {
    animation: slideInRight 0.6s forwards;
}

.phone-container {
    animation: slideInLeft 0.6s forwards;
}
.indicator-container {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .indicator {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
    }

    .indicator.active {
        background-color: #717171; /* Active indicator color */
    }
.section-container {
    text-align: center;
    background-color: #f5f5f5;
    height: 750px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 10px; /* Further reduced space between elements */
}

.right-div {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slideshow-servcs {
    width: 100%;
    
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px; /* Further reduced for less space below each section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Adjusted for visibility */
    transform: translateX(0); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
    
.content-text, .buttons-container, .right-div h2, .right-div p {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.buttons-container {
    width: 80%;
    margin: 20px auto 0; /* Adjusted top margin for button to be closer to text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.animatie-button {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 24px;
    margin: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 1em;
    text-decoration: none;
    width: 100%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: green;
    border: 2px solid green; 
    font-weight: bold;
}
.right-div h2 {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 40px;
    margin-top: 30px;
    white-space: nowrap;
}

.right-div p {
    font-size: 1em;
    color: #000;
    margin-bottom: 40px;
    width: 110%;
}
 .forms {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
     width: 100%;
    }

    .forms-colom {
        width: 85%;
        margin-top: 40px;
        margin-bottom: 20px;
        height: 525px;
    }
.forms-colom.forms-right-two {
    transform: translateX(0px); /* For the right column */
}
    .forms-colom.forms-left-two {
    transform: translateX(0px); /* For the right column */
}
    .content-container {
        padding: 15px;
    }

    .content-container h2 {
        font-size: 1.4em;
        margin-top: 50px;
        margin-left: 20px; /* Adjusts margin for mobile screens */
    }
    .gray-container {
        margin-bottom: 0;
    }
    .content-container h3 {
        width: 80%;
        font-size: .8em;
        margin-left: 20px; /* Adjusts margin for mobile screens */
        margin-bottom: 20px;
    }

    /* Adjust the ul and li specifically for better alignment */
    .content-container ul {
        padding-left: 0; /* Remove default padding */
        margin-left: 20px; /* Align the entire list to the left */
    }

    .content-container ul li {
        list-style: none; /* Removes bullet points */
        display: flex;
        align-items: center;
        font-size:.8em;
        margin-bottom: 10px;
    }

    .content-container ul li img {
        margin-right: 10px; /* Space between the checkmark and the text */
        width: 20px;
        height: auto;
    }

    .button-form {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 14px 24px;
    font-size: 1em;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }


    .rectangle {
        display: none;
    }
 .about-section {
        width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything horizontally */
    }
    .about-block {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the children of .about-block */
        margin-right: 0;

        width: 100%; /* Adjusts width for mobile */
    }
    .about-left, .about-right {
        width: 100%; /* Allows child elements to fill the parent */
        margin-bottom: 20px; /* Adds space between .about-left and .about-right */
        transform: translateX(0);
    }
    .about-text, .about-box {
        width: 100%; /* Ensures text and box use full width of their parents */
        text-align: center; /* Centers the text */
        margin-right: 0; /* Resets any specific margin rights */
    }
    .about-left h2 {
          font-size: 1.5em;
            text-align: center;
    }
    
    .about-text p {
        text-align: center; /* Ensures titles and paragraphs are centered */
                font-size: .8em;

    }
    .about-box img {
        display: block; /* Ensures the image is block level for margin auto to work */
        margin: 0 auto; /* Centers the image */
        width: auto; /* Keeps the image's original width or you can set a specific width */
        max-width: 100%; /* Ensures the image is not larger than its container */
        height: auto; /* Maintains aspect ratio */
    }
    .line-two {
        width: 90%; /* Matches the .about-block width */
        margin: 20px auto; /* Centers the line and adds vertical space */
    }
    #quiz-container {
        width: 90%;
        height: 250px;
        margin: 20px auto;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: translateY(0);
    }

    .quiz-screen, #start-screen {
        width: 100%;
        padding: 10px;
    }

    h2 {
        font-size: .9em; /* Adjusted for better readability on smaller screens */
        color: white;
        margin: 10px 0; /* Reduces the margin for a tighter layout */
    }

    textarea {
        width: 240px;
        margin: 10px 0; /* Ensures consistent spacing around textareas */
        font-size: 16px; /* Increases font size for better readability */
    }

    .alert-message {
        font-size: 14px; /* Adjusts the font size for mobile screens */
    }

    .quiz-button {
        padding: 10px 20px; /* Adjusts padding for a more suitable button size */
        font-size: 18px; /* Adjusts font size for better legibility */
        margin: 10px; /* Ensures buttons are not too close to each other */
    }

.button-container {
    width: 100%; /* Ensures the container takes full width */
    display: flex;
    justify-content: center; /* Centers buttons in the container */
    flex-wrap: wrap; /* Allows buttons to wrap if needed (fallback) */
}
footer {
  display: flex;
  flex-direction: column; /* Stacks elements vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  width: 100%;
  height: auto;
  color: white;
  padding: 10px 0;
  background-color: #333;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Distributes space between items */
  align-items: center;
  width: 100%; /* Full width of the footer */
  padding: 0 20px; /* Padding on the sides */
}

.footer-nav {
  display: none; /* Navigation links are hidden */
}

.footer-social {
  display: flex;
  justify-content: flex-end; /* Aligns social icons to the right */
  align-items: center;
  margin: 0; /* Adjust or remove margin as needed */
}

.footer-social li {
  margin: 0 4px; /* Space out the social icons */
}

footer p {
  margin: 0; /* Removes default margin to avoid extra space */
  white-space: nowrap; /* Prevents the text from wrapping */
  text-align: left; /* Text is aligned to the left */
}

 .footer-columns {
      margin-top: 40px;
    max-width: 90%; /* Slightly increase max width for mobile */
    justify-content: center; /* Center columns within container */
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center columns in the container */
                  margin-bottom: -10px;

  }

  .footer-column {
    width: 100%; /* Make each column take full width */
    justify-content: center; /* Center content within each column */
    text-align: center; /* Center text within each column */
    margin-bottom: 30px;
  }
    
    
   
.footer-column img {
    width: 30px;
    height: 25px;
  margin-right: 10px; /* Space between image and text */
}

.footer-column p {
  font-size: 14px;
  margin: 0;
}
    .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}
.g-recaptcha {
    display: inline-block;
    margin: 5px auto;
    box-sizing: border-box;
    transform: scale(0.85); /* Adjust this value to make the captcha smaller */
}
        #captcha-error {
            color: red;
            text-align: center;
            margin-top: 10px;
            font-size: 14px;
        }
        .alert-message {
            color: red;
            text-align: center;
            margin-top: 5px;
            display: none;
        }
}

/********************************************************************** Second Mobile Layout ***********************************************************************************************/

@media screen and (max-width: 320px) {
         .video-container {
    position: relative;
    margin-top: 27%;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
}

       .video-container h1 {
    top: 10%;
        left: 8%;/* Adjust as necessary */
        font-size: 1em;
        filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

.video-container h2 {
    top: 14%; /* Adjust as necessary */
     left: 8%;
    font-size: .9em;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

  .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 20px;
    padding: 12px 28px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay:5s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
   @keyframes fadeInCTASmall {
    from {
        top: 90%;
        right: 15%; 
        opacity: 0; 
    }
    to {
        top: 85%;
        right: 15%; 
        opacity: 1; 
    }
}
    .about-section {
        width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything horizontally */
    }
    .about-block {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the children of .about-block */
        margin-right: 0;
        opacity: 1;
        width: 100%; /* Adjusts width for mobile */
    }
    .about-left, .about-right {
        width: 100%; /* Allows child elements to fill the parent */
        margin-bottom: 20px; /* Adds space between .about-left and .about-right */
        transform: translateX(0);
    }
    .about-text, .about-box {
        width: 100%; /* Ensures text and box use full width of their parents */
        text-align: center; /* Centers the text */
        margin-right: 0; /* Resets any specific margin rights */
    }
    .about-left h2 {
          font-size: 1.5em;
            text-align: center;
    }
    
    .about-text p {
        text-align: center; /* Ensures titles and paragraphs are centered */
                font-size: .8em;

    }
    .about-box img {
        display: block; /* Ensures the image is block level for margin auto to work */
        margin: 0 auto; /* Centers the image */
        width: auto; /* Keeps the image's original width or you can set a specific width */
        max-width: 100%; /* Ensures the image is not larger than its container */
        height: auto; /* Maintains aspect ratio */

}
}