/* Algemene stijlen */
html {
    margin: 0 auto;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #9BB57B;
    color: black;
}

header {
    background-color: #72855A;
    color: white;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    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; 
}

.logo .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: none;
}


.logo-link:hover .logo-img-hover.logo-hover {
  display: inline-block;
}

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: #B5B072; 
    transition: width 0.3s;
}

nav ul li a:hover::before {
    width: 100%;
    
}

nav a:hover {
    color: #B5B072; 
    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;
    min-height: 700px; /* Example minimum height */
    overflow: hidden;
    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%;
    color: white;
    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;
}
.anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 5s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        right: 20%; 
        top: 50%; 
        opacity: 0; 
    }
    to {
        right: 20%; 
        top : 43%; 
        opacity: 1; 
    }
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.first-section {
    width: 100%;
    height: 400px;
    background-color: white;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.first-section h2 {
    color: black;
    margin-top: 10px;
}
.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: black;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}
.column:hover{
    background-color: #C2E39A;
    transition: background-color 1s, color 1s;
}
.column img {
    width: 100px;
    margin-top: 20px;
}
.column h3 {
    margin-top: 3%;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}
.column h4 {
    margin-top: 2%;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}
.column p {
    font-size: 16px;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 20px;
}

@keyframes fadeInCTA {
    from {
        right: 24%; 
        top: 44%; 
        opacity: 0; 
    }
    to {
        right: 30%; 
        top: 46%; 
        opacity: 1; 
    }
}
.second-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    text-align: center;
    margin-bottom: 40px;
}

.second-section p {
    color: white;
    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 */
}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(20px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.servcs-section-two {
    text-align: center;
    padding: 40px 20px; /* Adjust padding as needed */
    background-color: #F7FAFA;
}
.servcs-container {
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     position: relative;
}
.content-text {
    flex: 1;
    text-align: left;
}

.content-text p {
    width: 60%;
}

.content-text-four p {
    width: 60%;
}
.black-stripe-three,
.black-stripe-five {
    height: 3px;
    width: 80%;
    background-color: #000;
    border-radius: 3px;
    display: grid;
    position: relative;
    animation: slideIn 3s forwards;
}


@keyframes slideIn {
    from {
        width: 0; /* Start with a width of 0 */
    }
    to {
        width: 80%; /* End with the desired width */
    }
}

.servcs-container h1 {
    font-size: 40px;
    color: #000; /* Adjust text color as needed */
    margin-bottom: 20px;
    margin-top: 30px;
}

.servcs-container p {
    font-size: 16px;
    color: #000; /* Adjust text color as needed */
    margin-bottom: 20px;
}


.slideshow-animatie {
    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;
    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 */
    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;
}
.fade-in {
    animation: fadeIn .5s ease-in-out;
    opacity: 1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
 
@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%;
}

.animatie-button {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 32px;
    margin: 10px;
    margin-top: 40px;
    margin-left: 25%;
    margin-bottom: 40px;
    font-size: 20px;
    text-decoration: none;
    width: 30%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));

}

.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;
}
 .intro-section {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Start slightly off-screen */
    transition: opacity .5s ease-in-out, transform 1s ease-in-out;
}
.fade-in-from-bottom {
    opacity: 1;
    transform: translateY(0);
}
.forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 600px;
    background-color: #9BB57B;
    margin: 0 auto;
    width: 100%;
}

.forms-colom {
    position: relative;
    width: 30%;
    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));
}

/* 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: #2F401A; /* Change to your desired grey color */
    height: 40px; /* Set the height of the gray container */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 10px 10px 0 0;
}

.forms-colom h2 {
    margin-top: 80px;
    margin-left: 50px;
    color: #333;
}

.forms-colom h3 {
    margin-left: 50px;
    margin-top: 20px;
    color: #555;
    width: 70%;
    font-size: 16px;
}

.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;
}
.rectangle {
    width: 325px; /* Adjust the width as needed */
    height: 60px; /* Adjust the height as needed */
    background-color: #B5B072; /* 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: 50%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}
.button-form {
    display: inline-block;
    background-color: #B5B072;
    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: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}
.about-section {
    color: black;
    margin: 0 auto;
    opacity: 1;
    background-color: #F7FAFA;
    width: 100%;  /* Full width for the section */
    transform: translateY(0);
    box-sizing: border-box; 
    display: flex;  /* Ensures children can be centered */
    justify-content: center;  /* Centers the content */
}

.about-content {
    display: flex;  /* Flex layout */
    flex-wrap: wrap;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    width: 60%;  /* Width of the centered content */
    box-sizing: border-box;  /* Include padding and border in width */
}

.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: #B5B072;
    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: #B5B072;
    border: 2px; 
    border-color: #B5B072;
    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));
}
#quiz-container {
    width: 800px; /* Fixed width */
    height: 300px; /* Fixed height */
    background-color: white;
    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 */

}
.fade-in-bottom-two {
    animation: fadeInUpTwo 1s forwards;
}
@keyframes fadeInUpTwo {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
.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: #333;
 }

textarea {
       width: 400px;
       height: 20px;
       resize: none;
       margin-top: 20px;
        }
.alert-message {
       color: red;
 }

.quiz-button {
       display: inline-block;
       background-color: #B5B072;
       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: #B5B072;
       font-weight: bold;
       border: 2px solid #B5B072; 
}

#start-screen {
    text-align: center;
    padding: 20px;
    display: none; /* Initially hidden like other screens */
}
#start-screen.active {
    display: block;
}


footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  left: 0;
  width: 100%;
  height: 100px; 
  background-color: #333;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 60%; 
  width: 100%;
}

.footer-nav-anime {
  display: flex;
  align-items: center; 
    margin-right: 20px;
}

.footer-nav-anime li {
  list-style: none;
  margin-right: 10px;
}

.footer-nav-anime li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease; 
}

.footer-nav-anime li a:hover {
  color: #B5B072; 
}

.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-bottom {
  margin-top: 20px;
}

.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: white;
}

.footer-column img {
  margin-right: 10px; /* Space between image and text */
}

.footer-column p {
  font-size: 14px;
  margin: 0;
}
        .toggle {
            font-size: 24px;
        }
@keyframes fadeInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.fade-in-left {
    animation: fadeInFromLeft 1s ease forwards;
  
}

.fade-in-bottom {
    animation: fadeInFromBottom 1s ease forwards;

}

.fade-in-right {
    animation: fadeInFromRight 1s ease forwards;
}
.content-text, .slideshow-animatie {
    opacity: 0; /* Initially hidden */
    transform: translateX(-20px); /* Start off-screen for left */
}

.slideshow-animatie {
    transform: translateX(20px); /* Start off-screen for right */
}

.fade-in-left-two {
    opacity: 1;
    transform: translateX(0);
    animation: fadeInLeft 1s ease-in-out forwards;
}

.fade-in-right-two {
    opacity: 1;
    transform: translateX(0);
    animation: fadeInRight 1s ease-in-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
  .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;
        }
/********************************************************************** First Responsive Layout ***********************************************************************************************/
@media (min-width: 1680px) and (max-width: 1920px) {
    .logo {
    margin-left: 20%; 
}
.video-container {
    position: relative;
    width: 100%;
    color: white;
    min-height: 600px; /* Example minimum height */
    overflow: hidden;
    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 */
}

.video-container h2 {
        margin-top: 2em;
    color: white;
    
    font-weight: normal;    
}


    .second-section {
        height: 350px;
    }


.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 700px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}
/* Forms Container Styling */
.forms {
    display: flex;
    align-items: center;
    width: 100%;
}
    .forms-colom {
    position: relative;
    width: 35%;
    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));
}
.button-form {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 32px;
    font-size: 18px;
    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: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}
            .animatie-button {
        width: auto;
         padding: 14px 28px;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
} 
       .footer-columns {
  display: flex;
  justify-content: space-around; /* Distribute space around columns */
  width: 55%;
  margin: 20px auto 40px; /* Center the container horizontally */
}
    .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 7s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        right: 18%; 
        top: 63%; 
        opacity: 0; 
    }
    to {
        right: 18%; 
        top : 50%; 
        opacity: 1; 
    }
}
}
/********************************************************************** 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;
    min-height: 550px; /* Example minimum height */
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.video-container h1,
.video-container h2 {
    position: absolute;
    top: 30%;
    left: 23%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: 1.8em;
    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: 1.6em;
    font-weight: normal;
    font-size:1.7em;
    top: 33%;
    color: white;
    animation-delay: 8s; /* h2 appears after 5 seconds */
}

.video-container h1 {
    animation-delay: 6s; /* h1 appears after 3 seconds */
}

/* Define the animation */
@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translate(-100%, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

    .second-section {
        height: 350px;
    }

   .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: white;
    width: 50%;
    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 */
}
   .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%;
}
    .faq {
        width: 60%;
    }
        .forms-colom-short, .forms-colom-short-one, .forms-colom-short-two {
        width: 50%; /* Full width for easier management */
        display: flex; /* Use flexbox for internal alignment */
        flex-direction: none; /* Swap positions, so video is first (right) */
        justify-content: center; /* Space between video and text content */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        height: 500px; /* Adjust height automatically */
    }
    .video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
}
    
    .servcs-section-two {
    text-align: center;
    padding: 40px 20px; /* Adjust padding as needed */
    background-color: #F7FAFA;
}
.servcs-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     position: relative;
}
    .button-form {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 32px;
    font-size: 18px;
    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: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}
            .animatie-button {
        width: auto;
         padding: 14px 28px;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
} 
    .forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 600px;
    background-color: #9BB57B;
    margin: 0 auto;
    width: 100%;
}

.forms-colom {
    position: relative;
    width: 40%;
    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));
}
    .rectangle {
        top: 45%;
    }
        .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 10s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        right: 17%; 
        top: 63%; 
        opacity: 0; 
    }
    to {
        right: 17%; 
        top : 47%; 
        opacity: 1; 
    }
}
 
}

/********************************************************************** Third Responsive Layout ***********************************************************************************************/
@media screen and (min-width: 1024px) and (max-width: 1440px) {
     nav {
    color: white;
    margin-right: 5%;
    font-weight: bold;
    height: 50px;
}
     
    .logo {
    margin-left: 2%; 
}

.logo img {
    width: 200px; 
}

      .video-container {
    position: relative;
    width: 100%;
    color: white;
    min-height:450px; /* Example minimum height */
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}


  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}  
    
        .animatie-button {
        width: auto;
         padding: 14px 18px;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
} 

    .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 9s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}
    @keyframes fadeInAcb {
     from {
            right: 14%; /* Start from the adjusted position */
            top: 42%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 14%; /* End at the adjusted position */
            top: 38%; /* 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 {
    height: 300px;
    }
    .second-section p {
    margin-top: 5%;
    width: 60%;
        margin-bottom: 30px;
    }
    .servcs-container {
        width: 80%;
    }


    .forms-colom {
        width: 50%;
    }
        .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}
  
      .faq {
        width: 80%;
    }
        .footer-columns {
    width: 60%;
}
    .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 */
}
    .video-container h1,
.video-container h2 {
    position: absolute;
    top: 30%;
    left: 25%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: 1.4em;
    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: 1.6em;
    font-weight: normal;
    font-size:1.2em;
    top: 33%;
    color: white;
    animation-delay: 8s; /* h2 appears after 5 seconds */
}

.video-container h1 {
    animation-delay: 6s; /* h1 appears after 3 seconds */
}

/* Define the animation */
@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translate(-100%, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}
}
/********************************************************************** Tablet Layout ***********************************************************************************************/
@media screen and (min-width: 801px) and (max-width: 1024px) {
    
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hamburger-menu {
    position: absolute; /* or 'fixed' depending on your layout */
    right: 2%;
    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;
}

    .video-container {
    position: relative;
    width: 100%;
    color: white;
    min-height:350px; /* Example minimum height */
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.video-container h1,
.video-container h2 {
    position: absolute;
    top: 36%;
    left: 22%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5px;
    font-size: 1.4em;
    margin: 10px 0;
    z-index: 1; /* Ensure the text is on top of the video */
}

.video-container h2 {
        margin-top: 2em;
    color: white;
    
    }
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}  
.hamburger-menu .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
    .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: #72855A;
    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: 2vw; /* 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: #B5B072; /* 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 */
}


.logo {
    margin-left: 1%; 
}

.logo img {
    width: 200px;
}
    
        .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 24px;
    padding: 16px 32px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 5.5s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

    @keyframes fadeInAcb {
     from {
            right: 14%; /* Start from the adjusted position */
            top: 38%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 14%; /* End at the adjusted position */
            top: 31%; /* Position it correctly under the text */
            opacity: 1;
        }
}
.first-section {
    width: 100%;
    height: 400px;
    background-color: white;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.first-section h2 {
    color: black;
    margin-top: 10px;
}
    .column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 40px;
    width: 90%;
}
    .column p {
    font-size: 16px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
}
       .second-section {
        align-items: center;
       margin-top: 5%;
        height: 250px;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 20px;
}
    .servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #F7FAFA;
}
   .servcs-container {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 .content-text {
        width: 100%;
        text-align: center;
    }
    .content-text p {
        width: 90%; /* Set width to 90% */
        padding: 0 20px;
        margin: 0 auto; /* Center the paragraph */
    }
   .black-stripe-three {
        width: 100%;
        margin: 0 auto; /* Center horizontally */
    }
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
}
.servcs-container h1 {
    font-size: 40px;
    color: #000;
    margin-bottom: 20px;
    margin-top: 30px;
}
.servcs-container p {
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
    width: 80%; /* Set width to 90% */
    text-align: center; /* Center the text */
    margin: 0 auto; /* Center the paragraph */
    margin-bottom: 20px;
}
  .slideshow-animatie {
        order: -1; /* Move slideshow to the top */
        width: 80%;
        height: auto;
        margin: 20px 0;
      margin-bottom: 40px;
    }
.mySlides {
    display: none;
    width: 100%;
    transition: opacity 4s;
}
  .mySlides img {
        width: 100%;
        height: auto;
    }
.mySlides.fade-in {
    display: block;
    opacity: 1;
}
.fade-in {
    animation: fadeIn .5s ease-in-out;
    opacity: 1;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
 .animatie-button {
        width: auto;
        margin: 20px 0;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}

/* Section Styling */
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 700px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}
/* Forms Container Styling */
.forms {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Column Styling */
.forms-colom {
    width: 50%;
    height: auto; /* Allow height to adjust based on content */
    box-sizing: border-box; /* Include padding in width calculations */
    margin-top: 0; /* Remove top margin for reduced whitespace */
}

/* Gray Container Styling */
.gray-container {
    background-color: #333; /* Example background color */
    width: 100%;
    height: 50px; /* Example height */
    margin-bottom: 10px; /* Reduce space below the gray container */
}

/* Heading Styling */
.forms-colom h2 {
    margin-top: 80px; /* Reduced space above the heading */
    margin-left: 60px; /* Align to the left of the container */
    color: #333;
    font-size: 30px; /* Adjust font size if needed */
}

/* Subheading Styling */
.forms-colom h3 {
    margin-top: 20px;
    margin-left: 0; /* Align to the left of the container */
    color: #555;
    width: 80%;
     margin-left: 60px; 
    max-width: 800px; /* Restrict maximum width */
    margin-bottom: 20px; /* Space below the subheading */
    font-size: 14px; /* Adjust font size if needed */
}

/* List Styling */
.forms-colom ul {
    list-style-type: none;
    margin-left: 60px; /* Align with text */
    margin: 0;
    padding: 0;
    margin-bottom: 100px;
    margin-top: 20px; /* Space above the list */
    width: 100%; /* Full width to align with heading */
}

.forms-colom ul li {
    display: flex;
    align-items: center;
    margin-left: 40px;
    margin-bottom: 10px; /* Space between list items */
    margin-top: 10px; /* Space above list items */
    font-size: 18px; /* Adjust font size as needed */
}
      .button-form {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
    .rectangle {
    width: 220px; /* Adjust the width as needed */
    height: 50px; /* Adjust the height as needed */
    background-color: #B5B072; /* Background color of the rectangle */
    color: white; /* Text color */
    font-size: 18px;
    text-align: center; /* Horizontally align text */
    line-height: 50px; /* 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: 69%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}

 .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: 80%; /* 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-content {
        width: 90%;
        margin-top: 20px;
    }
    .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 {
        margin-top: 20px;
        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: 60%;
        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 */
        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-anime {
  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 {
    width: 65%;
}
  
}
/********************************************************************** Mobile Layout ***********************************************************************************************/

@media screen and (min-width: 400px) and (max-width: 800px) {

/* 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: 5%;
    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: #72855A;
    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: #B5B072; /* 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;
    width: 100%;
    color: white;
    min-height:275px; /* 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: 10%;
    transform: translateY(-50%);
    display: block;
    border-radius: 5;
    font-size: .9em;
    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 */
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));

}

.video-container h2 {
    margin-top: 1em;
    font-weight: normal;
    font-size:.9em;
    top: 48%;
    color: white;
    animation-delay: 8s; /* h2 appears after 5 seconds */
}

.video-container h1 {
    animation-delay: 6s; /* h1 appears after 3 seconds */
}

  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
      
    width: 100%;
    height: 100%;
}  
            .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 20px;
    padding: 12px 24px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 9s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

    @keyframes fadeInAcb {
     from {
            right: 15%; /* Start from the adjusted position */
            top: 30%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 15%; /* End at the adjusted position */
            top:25%; /* Position it correctly under the text */
            opacity: 1;
        }
}
  .first-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 1000px; /* 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 */
    }
   .second-section {
        align-items: center;
       margin-top: 5%;
        height: 350px;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
/* Default styling for widescreen */
.servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #F7FAFA;
}
   .servcs-container {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 .content-text {
        width: 100%;
        text-align: center;
    }
    .content-text p {
        width: 90%; /* Set width to 90% */
        padding: 0 20px;
        margin: 0 auto; /* Center the paragraph */
    }
   .black-stripe-three {
        width: 100%;
        margin: 0 auto; /* Center horizontally */
    }
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
}
.servcs-container h1 {
    font-size: 40px;
    color: #000;
    margin-bottom: 20px;
    margin-top: 30px;
}
.servcs-container p {
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
    width: 90%; /* Set width to 90% */
    text-align: center; /* Center the text */
    margin: 0 auto; /* Center the paragraph */
    margin-bottom: 20px;
}
  .slideshow-animatie {
        order: -1; /* Move slideshow to the top */
        width: 80%;
        height: auto;
        margin: 20px 0;
      margin-bottom: 40px;
    }
.mySlides {
    display: none;
    width: 100%;
    transition: opacity 4s;
}
  .mySlides img {
        width: 100%;
        height: auto;
    }
.mySlides.fade-in {
    display: block;
    opacity: 1;
}
.fade-in {
    animation: fadeIn .5s ease-in-out;
    opacity: 1;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
 .animatie-button {
        width: auto;
        margin: 20px 0;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}

/* Section Styling */
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 650px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}
/* Forms Container Styling */
.forms {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Column Styling */
.forms-colom {
    width: 90%;
    height: auto; /* Allow height to adjust based on content */
    box-sizing: border-box; /* Include padding in width calculations */
    margin-top: 0; /* Remove top margin for reduced whitespace */
}

/* Gray Container Styling */
.gray-container {
    background-color: #333; /* Example background color */
    width: 100%;
    height: 50px; /* Example height */
    margin-bottom: 10px; /* Reduce space below the gray container */
}

/* Heading Styling */
.forms-colom h2 {
    margin-top: 80px; /* Reduced space above the heading */
    margin-left: 20px; /* Align to the left of the container */
    color: #333;
    font-size: 1.4em; /* Adjust font size if needed */
}

/* Subheading Styling */
.forms-colom h3 {
    margin-top: 20px;
    margin-left: 0; /* Align to the left of the container */
    color: #555;
    width: 80%;
     margin-left: 20px; 
    max-width: 800px; /* Restrict maximum width */
    margin-bottom: 20px; /* Space below the subheading */
    font-size: 14px; /* Adjust font size if needed */
}

/* List Styling */
.forms-colom ul {
    list-style-type: none;
    margin-left: 20px; /* Align with text */
    margin: 0;
    padding: 0;
    margin-bottom: 100px;
    margin-top: 20px; /* Space above the list */
    width: 100%; /* Full width to align with heading */
}

.forms-colom ul li {
    display: flex;
    align-items: center;
    margin-left: 20px;
    margin-bottom: 10px; /* Space between list items */
    margin-top: 10px; /* Space above list items */
    font-size: 1em; /* Adjust font size as needed */
}
      .button-form {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
    .rectangle {
    width: 175px; /* Adjust the width as needed */
    height: 50px; /* Adjust the height as needed */
    background-color: #B5B072; /* Background color of the rectangle */
    color: white; /* Text color */
    font-size: 14px;
    text-align: center; /* Horizontally align text */
    line-height: 50px; /* 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: 50%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}

 .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-content {
        width: 90%;
        margin-top: 20px;
    }
    .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 {
        margin-top: 20px;
        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 */
        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-anime {
  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: 600px) {
    
         .video-container {
    position: relative;
    width: 100%;
    color: white;
    min-height:600px; /* Example minimum height */
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
  .video-container video {
    margin-top: 10%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    .video-container h1,
    .video-container h2 {
        display: none;
    }
                .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 20px;
    padding: 12px 24px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 6s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

    @keyframes fadeInAcb {
     from {
            right: 30%; /* Start from the adjusted position */
            top: 90%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 30%; /* End at the adjusted position */
            top:70%; /* Position it correctly under the text */
            opacity: 1;
        }
}
}
/********************************************************************** 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: #72855A;
    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: #B5B072; /* 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;
    width: 100%;
    color: white;
    margin-top: 10px;
    min-height: 400px;
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Reduce the width to scale down the video */
    object-fit: cover;
    transform: translate(-50%, -50%); /* Center the video */
    left: 50%; /* Center the video horizontally */
    top: 50%; /* Center the video vertically */
}

.video-container h1,
.video-container h2 {
display: none;
}
.video-container h2 {
    margin-top: 2em;
    color: white;
}

            .anime-callbutton {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 20px;
    padding: 12px 24px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    opacity: 0; 
    animation: fadeInAcb .25s ease-out forwards;
    animation-delay: 4.5s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

    @keyframes fadeInAcb {
     from {
            right: 21%; /* Start from the adjusted position */
            top: 75%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 21%; /* End at the adjusted position */
            top:53%; /* Position it correctly under the text */
            opacity: 1;
        }
}
    .first-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 1150px; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .first-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 1em;
    }
 
    .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 {
        align-items: center;
       margin-top: 5%;
        height: 350px;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: 1em;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
/* Default styling for widescreen */
.servcs-section-two {
    text-align: center;
    padding: 40px 20px;
    background-color: #F7FAFA;
}
   .servcs-container {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 .content-text {
        width: 100%;
        text-align: center;
    }
    .content-text p {
        width: 90%; /* Set width to 90% */
        padding: 0 20px;
        
        font-size: 1em;
        margin: 0 auto; /* Center the paragraph */
    }
   .black-stripe-three {
        width: 100%;
        margin: 0 auto; /* Center horizontally */
    }
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
}
.servcs-container h1 {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 20px;
    margin-top: 30px;
}
.servcs-container p {
    font-size: 1em;
    color: #000;
    margin-bottom: 20px;
    width: 90%; /* Set width to 90% */
    text-align: center; /* Center the text */
    margin: 0 auto; /* Center the paragraph */
    margin-bottom: 20px;
}
  .slideshow-animatie {
        order: -1; /* Move slideshow to the top */
        width: 80%;
        height: auto;
        margin: 20px 0;
      margin-bottom: 40px;
    }
.mySlides {
    display: none;
    width: 100%;
    transition: opacity 4s;
}
  .mySlides img {
        width: 100%;
        height: auto;
    }
.mySlides.fade-in {
    display: block;
    opacity: 1;
}
.fade-in {
    animation: fadeIn .5s ease-in-out;
    opacity: 1;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
 .animatie-button {
        width: auto;
        margin: 20px 0;
    }
.animatie-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}

/* Section Styling */
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 650px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}
/* Forms Container Styling */
.forms {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Column Styling */
.forms-colom {
    width: 90%;
    height: auto; /* Allow height to adjust based on content */
    box-sizing: border-box; /* Include padding in width calculations */
    margin-top: 0; /* Remove top margin for reduced whitespace */
}

/* Gray Container Styling */
.gray-container {
    background-color: #333; /* Example background color */
    width: 100%;
    height: 50px; /* Example height */
    margin-bottom: 10px; /* Reduce space below the gray container */
}

/* Heading Styling */
.forms-colom h2 {
    margin-top: 80px; /* Reduced space above the heading */
    margin-left: 20px; /* Align to the left of the container */
    color: #333;
    font-size: 1.4em; /* Adjust font size if needed */
}

/* Subheading Styling */
.forms-colom h3 {
    margin-top: 20px;
    margin-left: 0; /* Align to the left of the container */
    color: #555;
    width: 90%;
     margin-left: 20px; 
    max-width: 800px; /* Restrict maximum width */
    margin-bottom: 20px; /* Space below the subheading */
    font-size: .8em; /* Adjust font size if needed */
}

/* List Styling */
.forms-colom ul {
    list-style-type: none;
    margin-left: 20px; /* Align with text */
    margin: 0;
    padding: 0;
    margin-bottom: 100px;
    margin-top: 20px; /* Space above the list */
    width: 100%; /* Full width to align with heading */
}

.forms-colom ul li {
    display: flex;
    align-items: center;
    margin-left: 20px;
    margin-bottom: 10px; /* Space between list items */
    margin-top: 10px; /* Space above list items */
    font-size: .8em; /* Adjust font size as needed */
}
      .button-form {
    display: inline-block;
    background-color: #B5B072;
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    text-decoration: none;
    width: 60%;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    }
    .rectangle {
    width: 150px; /* Adjust the width as needed */
    height: 35px; /* Adjust the height as needed */
    background-color: #B5B072; /* Background color of the rectangle */
    color: white; /* Text color */
    font-size: .8em;
    text-align: center; /* Horizontally align text */
    line-height: 35px; /* 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 */
}

 .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-content {
        width: 90%;
        margin-top: 20px;
    }
    .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 {
        margin-top: 20px;
        text-align: center; /* Ensures titles and paragraphs are centered */
        font-size: 1.5em;
    }
    
    .about-text p {
        margin-top: 20px;
        text-align: center; /* Ensures titles and paragraphs are centered */
        font-size: 1em;
    }
    
    .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: 200px;
        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 */
        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-anime {
  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 */
}   
}
/********************************************************************** Second Mobile Layout ***********************************************************************************************/

@media screen and (max-width: 320px) {
    @keyframes fadeInAcb {
     from {
            right: 13%; /* Start from the adjusted position */
            top: 85%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 13%; /* End at the adjusted position */
            top:65%; /* Position it correctly under the text */
            opacity: 1;
        }
}


}