/* Add your existing CSS styles here */

body, html, section, h1, h2, h3, h4, h5, h6, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #F7FAFA;
    color: black;
     overflow-x: hidden;

}

.top-anime {
   width: 100%;
    height: auto;
  text-align: center;
}
.top-anime video {
    width: 100%;
    height: auto;
        margin-top: 60px;

}

.anime-callbutton-two {
    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: 6s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        top: 4%;
        right: 0%; 
        opacity: 0; 
    }
    to {
        top: 15%;
        right: 15%; 
        opacity: 1; 
    }
}
.fifth-section {
    width: 100%;
    height: 400px;
    background-color: #9BB57B;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.fifth-section h2 {
    color: white;
    margin-top: 20px;
}
.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: #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-top: 20px;
    margin-bottom: 20px;
}

.logo-section-wrapper {
    width: 100%;
    padding-bottom: 50px;
    background-color: #9BB57B; /* Set your desired background color here */
}
.logo-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 60%;
    padding: 20px;
    margin: 0 auto;
}

.animation-item {
    position: relative;
    width: 30%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animation-item.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInVideo {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeInVideo {
    animation: fadeIn 1s ease forwards;
}
.animation {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.animation img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animation:hover {
    transform: scale(1.1); /* Scale to 1.1 on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.animation:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 140px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.overlay button:hover {
    background-color: #fff;
    color: #000;
    transition: background-color 1s, color 1s;
     animation: buttonScale .5s both;
}

@keyframes buttonScale{
    from{
        height: 50px;
        width: 140px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 180px;
        transform: scale(1.05);
        font-size: 20px;
    }
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup iframe {
    width: 80%;
    height: 80%;
}

.close-button {
    position: absolute;
    top: 60px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    width: 40px;
    height: 75px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: transparent;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s ease;
}
.popup-content {
    width: 80%;
    height: 80%;
    position: relative;
}

#videoIframe {
    width: 100%;
    height: 100%;
}
.close-button::before, .close-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #fff;
    top: 50%;
    left: 0;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.close-text {
    display: none; /* Initially hide the text */
    position: absolute;
    bottom: -10px; /* Position below the button */
    left: 50%;
    transform: translateX(-50%); /* Center the text */
    white-space: nowrap;
    color: #fff; /* Set text color */
}

.close-button:hover .close-text {
    display: block; /* Show the text on hover */
}

.popup-content:hover .close-button {
    display: flex; /* Show the button when the popup content is hovered */
}

.button-container {
    text-align: center; 
    margin-top: 40px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}

.faq-container {
     width: 100%;
     padding-top: 40px;   
     padding-bottom: 40px;
     border-top: solid #fff;
     opacity: 0;
    background-color: #9BB57B;
     transform: translateY(20px);
     transition: opacity 0.6s ease-out, transform 0.6s ease-out;
} 
.faq-container.fade-in-bottom {
    opacity: 1;
    transform: translateY(0);
}
        .faq-title {
            font-size: 24px;
            color: #fff;
            padding: 20px 0;
        }

        .faq {
            border-bottom: solid #fff;
            padding: 10px 0;
            width: 40%;
            margin: 0 auto;
           
        }

        .faq-question {
            font-weight: bold;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
        }

        .faq-answer {
            display: none;
            border-radius: 5px;
            padding-top: 10px;
            color: #fff;
            height: auto;
            background-color: none; /* Different background color */
        }
#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;
}

.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;
 }
#section1,
#section2,
#section3,
#section4,
#section5,
#section6 {
    margin-top: 75px;
}
.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;
        }
.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;
}


@keyframes fadeInCTA {
    from {
        right: 24%; 
        top: 44%; 
        opacity: 0; 
    }
    to {
        right: 30%; 
        top: 46%; 
        opacity: 1; 
    }
}
.fourth-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -40px;
    background-color: #F7FAFA;
    height: 400px;
    text-align: center;
}

.fourth-section p {
    color: black;
    width: 40%;
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}
.inbetween {
    display: block;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    margin-bottom: 50px;
    background-color: #F7FAFA;
}
.inbetween p {
    color: black;
    width: 40%;
    margin-top: 20px;
    font-size: 16px;
        margin: 0 auto;

    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.forms {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 600px;
    background-color: #f4fafa;
    margin: 0 auto;
    width: 100%;
}

.forms-colom {
    position: relative;
    width: 30%;
    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));
}

/* 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: 75px;
    margin-left: 50px;
    color: #333;
}

.forms-colom h3 {
    margin-left: 50px;
    margin-top: 40px;
    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-top: 40px;
    
}

.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: 60%; /* 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;
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.fifth-section .column:nth-child(1) {
    animation: fadeInLeft 1s ease forwards;
}

.fifth-section .column:nth-child(2) {
    animation: fadeInBottom 1s ease forwards;
}

.fifth-section .column:nth-child(3) {
    animation: fadeInRight 1s ease forwards;
}
.text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 350px;
    text-align: center;
    background-color: #f7fafa;
}

.text-section p {
    color: black;
    width: 40%;
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.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 */
}

.footer-column img {
  margin-right: 10px; /* Space between image and text */
}

.footer-column p {
  font-size: 14px;
  margin: 0;
    color: black;
}
  .g-recaptcha {
            display: inline-block;
            margin-top: 20px;
            box-sizing: border-box;
        }

/********************************************************************** 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));
}
.anime-callbutton-two {
    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: 6s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        top: 4%;
        right: 0%; 
        opacity: 0; 
    }
    to {
        top: 15%;
        right: 5%; 
        opacity: 1; 
    }
}
      .fifth-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 500px; /* Ensure at least the viewport height for smoother transitions */
    }
.footer-columns {
  display: flex;
  justify-content: space-around; /* Distribute space around columns */
  width: 55%;
  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;
}

    .logo-section {
    width: 80%;
}
   .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));
}
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    height: 800px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}

.button-form:hover {
    transform: scale(1.1) translateX(-50%);
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072;
    font-weight: bold;
}
        .forms {
    height: 700px;
}

.forms-colom {
    position: relative;
    width: 35%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
}
}
/********************************************************************** 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%;

}
.anime-callbutton-two {
    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: 6s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.anime-callbutton-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}

@keyframes fadeInAcb {
    from {
        top: 4%;
        right: 0%; 
        opacity: 0; 
    }
    to {
        top: 15%;
        right: 5%; 
        opacity: 1; 
    }
}

    .fifth-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 500px; /* Ensure at least the viewport height for smoother transitions */
    }
.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

.text-section p {
    color: black;
    width: 50%;
    font-size: 20px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}

.logo-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 90%;
    padding: 20px;
    margin: 0 auto;
}

   .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;
} 
    .intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
        background-color: 
    height: 800px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}
    .forms {
    height: 700px;
}

.forms-colom {
    position: relative;
    width: 40%;
    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));
}
    .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: 45%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}
}

/********************************************************************** 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; 
}
.anime-callbutton-two {
    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: fadeInAcbt .25s ease-out forwards;
    animation-delay: 6s;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}


@keyframes fadeInAcbt {
    from {
        top: 0%;
        right: 0%; 
        opacity: 0; 
    }
    to {
        top: 12%;
        right: 5%; 
        opacity: 1; 
    }
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 50px;
    width:90%;
}

   .fifth-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 5000px; /* Ensure at least the viewport height for smoother transitions */
    }

 .column img {
        width: 80px; /* Adjust size as needed */
    }
    .column p {
        width: 80%; /* Adjust width for better text readability */
    }

.text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 350px;
    text-align: center;
    background-color: #f7fafa;
}

.text-section p {
    color: black;
    width: 70%;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */
}
.logo-section {
    width: 90%;
}
     .animation-item {
    position: relative;
    width:25%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
        opacity: 0;
    transform: translateY(20px);
}

    .forms-colom {
        width: 60%;
    }
@keyframes fadeInAcb {
    from {
        top:8%;
        right: 0%; 
        opacity: 0; 
    }
    to {
        top: 13%;
        right: 15%; 
        opacity: 1; 
    }
}
      .faq {
        width: 50%;
    }
    .faq-container {
     width: 100%;
     padding-top: 40px;   
     padding-bottom: 40px;
     border-top: solid #fff;
     opacity: 0;
    background-color: #9BB57B;
     transform: translateY(20px);
     transition: opacity 0.6s ease-out, transform 0.6s ease-out;
} 
.faq-container.fade-in-bottom {
    opacity: 1;
    transform: translateY(0);
}
    
        .faq {
         width: 60%;
           
        }

    
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    height: 700px;
        animation: fadeInIntro 1s ease-in-out forwards; /* Apply animation */

}


.forms-colom {
    position: relative;
    width: 50%;
    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));
}

/* 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: 75px;
    margin-left: 50px;
    color: #333;
}

.forms-colom h3 {
    margin-left: 50px;
    margin-top: 40px;
    color: #555;
    width: 70%;
    font-size: 16px;
}

.forms-colom p {
    margin-bottom: 10px;
    color: #777;
    margin-left: 20px;
}
        .rectangle {
    width: 240px; /* 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: 50%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}
    .footer-columns {
    width: 60%;
}
      .fifth-section {
        display: flex;
          margin-top: -5px;
        flex-direction: column;
        align-items: center;
        height: 500px; /* Ensure at least the viewport height for smoother transitions */
    }
          .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;
    }
        .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
  width: 100%;
}
}
/********************************************************************** Tablet Layout ***********************************************************************************************/
@media screen and (min-width: 600px) 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;
}


.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-two {
    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-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}
    @keyframes fadeInAcb {
     from {
            right: 5%; /* Start from the adjusted position */
            top: 5%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 8%; /* End at the adjusted position */
            top: 20%; /* Position it correctly under the text */
            opacity: 1;
        }
}
  .fifth-section {
      margin-top: -10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 500px; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .fifth-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 20px;
    }
    .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-top: 20px;
    margin-bottom: 20px;
}
       .text-section {
        align-items: center;
        height: 350px;
       justify-content: space-around;
      
    }
    .text-section p {
    font-size: 20px;
        margin-top: 60px;
        width: 80%;
}
    .logo-section {
        width: 90%;
    }
 .animation-item {
    position: relative;
    width: 30%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
        opacity: 0;
    transform: translateY(20px);
}
.overlay {

    opacity: 1;
}
    .content-wrapper {
        width: 80%;
    }
            .footer-columns {
    width: 60%;
}   
     .faq {
        width: 70%;
    }


.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: 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 */
}
.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 */
}
        .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 */
}
    
    #quiz-container {
        width: 90%;
        margin-top: 40px;
        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) */
}
    
}
/********************************************************************** Mobile Layout ***********************************************************************************************/

@media screen and (min-width: 320px) 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: #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;
    }

     .top-anime {
    position: relative;
    width: 100%;
    color: white;
    height:420px; /* Example minimum height */
    overflow: hidden;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
  .top-anime video {
    margin-top: 10%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
} 
      
            .anime-callbutton-two {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 16px;
    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-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}
    @keyframes fadeInAcb {
     from {
            right: 23.5%; /* Start from the adjusted position */
            top: 30%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 23.5%; /* End at the adjusted position */
            top: 40%; /* Position it correctly under the text */
            opacity: 1;
        }
}.text-section {
        align-items: center;
       margin-top: 5%;
        height: 400px;
       justify-content: space-around;
      
    }
    .text-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
  .fifth-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 1400px; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .fifth-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 20px;
    }
    .fifth-section h2 {
        font-size: 1.4em;
    }
    .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 */
    }

.logo-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
        box-sizing: border-box; /* Include padding in the width calculation */

}

.animation-item {
    position: relative;
    width: 90%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    opacity:0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));

}

.animation {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.animation img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animation:hover {
    transform: scale(1.1); /* Scale to 1.1 on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.animation:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 140px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.overlay button:hover {
    background-color: #fff;
    color: #000;
    transition: background-color 1s, color 1s;
     animation: buttonScale .5s both;
}

@keyframes buttonScale{
    from{
        height: 50px;
        width: 140px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 180px;
        transform: scale(1.05);
        font-size: 20px;
    }
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup iframe {
    width: 80%;
    height: 80%;
    border-radius: 20px;
}

.popup-content {
    width: 90%;
    height: 45%;
    position: relative;
}
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
        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: 68%; /* Center vertically */
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.3));
    transform: translateY(-50%); /* Adjust vertical position */
}
  
    .faq-container {
     padding-top: 40px; 
     padding-bottom: 40px;
        opacity: 0;
    }
    .faq {
            border-bottom: solid #fff;
            padding: 10px 0;
            width: 80%;
            margin: 0 auto;
           
        }
      #quiz-container {
        width: 90%;
        margin-top: 40px;
        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;
    }

    #quiz-container h2 {
        font-size: 1.1em; /* 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 */
    height: auto; /* Auto height based on content */
    line-height: .9em; /* Adjusts the line height */
    overflow: hidden; /* Prevents scrollbars */
    resize: none; /* Prevents manual resizing by the user */
    white-space: nowrap; /* Ensures text does not wrap to the next line */
}


    .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: 320px) {
     .top-anime {
    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));
}
  .top-anime video {
    margin-top: 10%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
    
    .anime-callbutton-two {
    position: absolute;
    border-radius: 5px;
    background-color: #B5B072;
    color: white;
    font-size: 1em;
    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-two:hover {
    transform: scale(1.1); 
    background-color: white;
    color: #B5B072;
    border: 2px solid #B5B072; 
    font-weight: bold;

}
    @keyframes fadeInAcb {
     from {
            right: 17%; /* Start from the adjusted position */
            top: 30%; /* Start a bit lower to animate upwards */
            opacity: 0;
        }
        to {
            right: 17%; /* End at the adjusted position */
            top: 40%; /* Position it correctly under the text */
            opacity: 1;
        }
}
    .text-section {
        align-items: center;
       margin-top: 5%;
        height: 400px;
       justify-content: space-around;
      
    }
    .text-section p {
    font-size: 1em;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
  .fifth-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 1300px; /* Ensure at least the viewport height for smoother transitions */
    }
    
    .fifth-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 1em;
    }
 .fifth-section h2 {
    color: white;
    font-size: 1.5em;
}
    .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 */
    }

.logo-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
        box-sizing: border-box; /* Include padding in the width calculation */

}

.animation-item {
    position: relative;
    width: 90%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    opacity:0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));

}

.animation {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.animation img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animation:hover {
    transform: scale(1.1); /* Scale to 1.1 on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.animation:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 140px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.overlay button:hover {
    background-color: #fff;
    color: #000;
    transition: background-color 1s, color 1s;
     animation: buttonScale .5s both;
}

@keyframes buttonScale{
    from{
        height: 50px;
        width: 140px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 180px;
        transform: scale(1.05);
        font-size: 20px;
    }
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup iframe {
    width: 80%;
    height: 80%;
    border-radius: 20px;
}

.popup-content {
    width: 90%;
    height: 45%;
    position: relative;
}
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
        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 */
}
  
    .faq-container {
     padding-top: 40px; 
     padding-bottom: 40px;
        font-size: 0.8em;
        opacity: 0;
    }
    .faq {
            border-bottom: solid #fff;
            padding: 10px 0;
            width: 90%;
            margin: 0 auto;
           
        }
    
     #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;
    }
#quiz-container h2 {
      margin-top: 0;
      color: white;
    font-size: .9em;
 }

    textarea {
    width: 240px;
    margin: 10px 0; /* Ensures consistent spacing around textareas */
    font-size: 16px; /* Increases font size for better readability */
    height: auto; /* Auto height based on content */
    line-height: .9em; /* Adjusts the line height */
    overflow: hidden; /* Prevents scrollbars */
    resize: none; /* Prevents manual resizing by the user */
    white-space: nowrap; /* Ensures text does not wrap to the next line */
}


    .quiz-button {
        padding: 10px 20px; /* Adjusts padding for a more suitable button size */
        font-size: 18px; /* Adjusts font size for better legibility */
        background-color: #B5B072;
        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%;
}


}