/* 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: #333;
    color: black;
       overflow-x: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    color: white;
    margin-top: 3%;
    height: 800px; /* Example minimum height */
    overflow: hidden;
    object-fit: contain;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}

.slideshow-container {
    width: 500px; /* Set the width of the slideshow container */
    height: 300px; /* Set the height of the slideshow container */
    overflow: hidden; /* Ensure that images don't overflow the container */
    margin: 20px auto;
    position: relative;
    margin-top: 40px;
}

.mySlides {
    display: none;
    width: 100%; /* Add width to ensure proper scaling */
    transition: opacity 4s; /* Add transitions for opacity and transform */
}

.mySlides img {
    width: 100%; /* Ensure the image takes the full width of its container */
    height: 100%; /* Ensure the image takes the full height of its container */
    object-fit: cover; /* Maintain aspect ratio while covering the container */
}

.mySlides.fade-in {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes fadeInVideo {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeInVideo {
    animation: fadeIn 1s ease forwards;
}
.stripe-top,
.stripe-bottom {
    width: 0;
    height: 3px;
    background-color: white;
    transition: width 1s; /* Adjust the duration of the animation as needed */
    position: absolute;
    left: 0;
    border-radius: 3px;
}

.stripe-top {
     animation: fadeInStripe 3s forwards;
    top: 0;
}

.stripe-bottom {
    bottom: 0;
     animation: fadeInStripeTwo 4s forwards;
}
 
@keyframes fadeInStripe {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}
@keyframes fadeInStripeTwo {
    from {
        width: 0;
    }
    to {
        width: 50%;
    }
}

.content-text:hover .stripe-top,
.content-text:hover .stripe-bottom {
    width: 100%;
}
.counter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: white;
    margin-top: 50px;
    height: 225px;
}
.counter-wrapper-two {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    height: 200px;
    }
    
.initial-text {
    font-size: 40px;
    font-weight: normal;
    opacity: 0;
    transition: opacity 1s ease;
}
    
.counter-container {
    font-size: 64px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 1s ease;
}
.title {
    font-size: 40px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 50px; /* Adjust spacing to fit design */
      opacity: 0;
    transition: opacity 1s ease;
}

.show {
    opacity: 1;
}

.hide {
    opacity: 0;
}

.video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 60%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
}
.main {
    width: 100%;
    background-color: #333;
}
h1 {
    color: black;
    font-size: 40px;
    position: relative;
    text-align: left;
    text-align: left;
    margin-bottom: 20px;
}

.video-item {
    position: relative;
    width: 30%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
        opacity: 0;
    transform: translateY(20px);
}

.thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail: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;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 120px;
    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: 120px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 150px;
        transform: scale(1.05);
        font-size: 18px;
    }
}

.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-bottom: 80px;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));

}
.contact-button {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 28px 50px;
    font-size: 24px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
    transform: scale(1.1);
    background-color: white;
    color: green;
    border: 2px solid green; 
    font-weight: bold;
}



.fade-in-left {
    transform: translateX(-100px);
}

/* Animation from the right */
.fade-in-right {
    transform: translateX(100px);
}

/* Animation from the bottom */
.fade-in-bottom {
    transform: translateY(100px);
}


.first-section h2 {
    margin-top: 0;
    color: white;
}

.first-section {
    background-color: #333;
    width: 100%;
    height: 400px;
    justify-content: space-around;
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:70%;
}

.column {
    width: 60%;
    text-align: center;
    padding: 10px;
    color: white;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}
.column:hover{
    background-color: #616161;
    transition: background-color 1s, color 1s;
}
#pro-one {
    width: 100px;
    margin-top: 40px;
    margin-bottom: 20px;
}
#pro-two {
    width: 80px;
    margin-top: 50px;
    margin-bottom: 20px;
}
#pro-three {
    width: 100px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.column p {
    font-size: 16px;
    width: 70%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.second-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 350px;
    text-align: center;
    margin-bottom: 40px;
    background-color: #f7fafa;
}

.second-section p {
    color: black;
    width: 40%;
    font-size: 20px;
    margin-top: 120px;
    margin-bottom: 40px;
    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: 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;
}
 .faq-container {
     width: 100%;
     margin: 0 auto;
     padding-top: 60px; 
     padding-bottom: 60px;
     background-color: #f7fafa;
     border-top: 2px solid #ddd;
     opacity: 0;
     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: #333;
            padding: 20px 0;
        }

        .faq {
            width: 40%;
            border-bottom: 1px solid #ddd;
            padding: 10px 0;
            margin: 0 auto;
        }

        .faq-question {
            font-weight: bold;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #333;
        }

        .faq-answer {
            display: none;
            border-radius: 5px;
            padding-top: 10px;
            color: black;
            height: auto;
            background-color: none; /* Different background color */
        }

        .toggle {
            font-size: 24px;
        }

#quiz-container {
    width: 800px; /* Fixed width */
    height: 300px; /* Fixed height */
    background-color: #f7fafa;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly translated for the animation effect */
}
.quiz-screen, #start-screen {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%; /* Ensure it takes the full width of the container */
    height: 100%; /* Ensure it takes the full height of the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.quiz-screen.active, #start-screen.active {
    display: block;
}
        h2 {
            margin-top: 60px;
            color: black;
        }
h2.firstscreentext {
     margin-top: 0;
            color: black;
}
        textarea {
            width: 400px;
            height: 20px;
            resize: none;
            margin-top: 20px;
            border-radius: 4px;
            border: 1px solid gray;
        }

        .alert-message {
            color: red;
        }

        .quiz-button {
            display: inline-block;
            background-color: green;
            color: white;
            padding: 14px 32px;
            font-size: 20px;
            text-decoration: none;
            border: none;
            border-radius: 5px;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            margin-top: 20px;
            filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
        }

        .quiz-button:hover {
            background-color: white;
            color: green;
            font-weight: bold;
        }

#start-screen {
    text-align: center;
    padding: 20px;
    display: none; /* Initially hidden like other screens */
}
#start-screen.active {
    display: block;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated visible state for fade-in-left */
.fade-in-left.fadeIn {
    opacity: 1;
    transform: translateX(0);
}

/* Initial hidden state for fade-in-right */
.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated visible state for fade-in-right */
.fade-in-right.fadeIn {
    opacity: 1;
    transform: translateX(0);
}


.fade-in-left-initial, .fade-in-right-initial {
    opacity: 0;
    transition: opacity 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
  .g-recaptcha {
            display: inline-block;
            margin: 5px auto;
      margin-top: 20px;
            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%; 
}
    .phone-container-two {
        width: 80%;
    }
  .short-section {
        height: 400px;
    }
    .short-container {
        width: 90%; /* Use the full width available to allow columns to fit */
        gap: 20px; /* Reduce gap if necessary */
    }

   .second-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    text-align: center;
    margin-bottom: 40px;
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

.second-section p {
    color: black;
    width: 70%;
    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 {
    width: 50%;
}
.video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
}

}
/********************************************************************** 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%;

}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

.second-section p {
    color: black;
    width: 70%;
    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 */
}
    .first-section {
    background-color: #333;
    width: 100%;
    height: 450px;
    justify-content: space-around;
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

    .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;
    }

   .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: 90%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
}
}

/********************************************************************** 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; 
}
    .first-section {
    background-color: #333;
    width: 100%;
    height: 400px;
    justify-content: space-around;
}

.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 80px;
    width:80%;
}

        .second-section {
    height: 300px;
    }
    .second-section p {
    margin-top: 8%;
    width: 80%;
        margin-bottom: 5%;
    }

        .footer-columns {
              margin-top: 40px;
    width: 60%;
}
    .video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 90%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.video-item {
    position: relative;
    width: 25%;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
        opacity: 0;
    transform: translateY(20px);
}
}
/********************************************************************** Tablet Layout ***********************************************************************************************/
@media screen and (min-width: 600px) and (max-width: 1024px) {
      nav {
    color: white;
    margin-right: 5%;
    font-weight: bold;
    height: 50px;
}
     
    .logo {
    margin-left: 2%; 
}

.logo img {
    width: 200px; 
}
          .cta-button {
    position: absolute;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 24px;
    padding: 20px 40px; 
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    border: .5px solid white;
    transition: transform 0.3s ease;
    opacity: 0; 
    font-weight: bold;
    animation: fadeInCTASmall .5s ease-in-out forwards;
      animation-delay: 2s;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: scale(1.1); 
    background-color: white;
    color: green;
    border: 3px solid green; 
    font-weight: bold;

}
    
@keyframes fadeInCTASmall {
    from {
        top: 48%;
        right: 0%;
        opacity: 0; 
    }
    to {
        top: 50%;
        right: 10%;
        opacity: 1; 
    }
}
    .first-section {
    background-color: #333;
    width: 100%;
    height: 450px;
    justify-content: space-around;
}
    .first-section p {
        width: 90%;
    }
.column-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 40px;
    gap: 20px;
    width:90%;
}

    .column {
        flex-basis: calc(33.333%); /* 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: 350px;
    }
    .second-section p {
    margin-top: 40p;
    width: 80%;
        margin-bottom: 5%;
    }
     .video-section {
        width: 90%;
    }
 .video-item {
    position: relative;
    width: 25%;
    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: 90%; /* Full width of the footer */
  padding: 0 20px; /* Padding on the sides */
}

.footer-nav {
  display: none; /* Navigation links are hidden */
}

.footer-social {
  display: flex;
  justify-content: flex-end; /* Aligns social icons to the right */
  align-items: center;
  margin: 0; /* Adjust or remove margin as needed */
}

.footer-social li {
  margin: 0 10px; /* Space out the social icons */
}

footer p {
  margin: 0; /* Removes default margin to avoid extra space */
  white-space: nowrap; /* Prevents the text from wrapping */
  text-align: left; /* Text is aligned to the left */
}
        .video-container {
    position: relative;
    width: 100%;
    color: white;
    height: 400px; /* Example minimum height */
    overflow: hidden;
    object-fit: contain;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.5));
}
    .video-container video {
        object-fit: contain;
    }
}
/********************************************************************** Mobile Layout ***********************************************************************************************/

@media screen and (min-width: 400px) and (max-width: 600px) {

/* Hamburger line styles */
.hamburger-menu span {
    display: block;
    width: 35px; /* Width of the hamburger lines */
    height: 5px; /* Height of the hamburger lines */
    margin-bottom: 5px; /* Space between the lines */
    background-color: #fff; /* Color of the hamburger lines */
    transition: all 0.3s ease;
}
.hamburger-menu .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
    nav {
    color: white;
    margin-right: 10%;
    font-weight: bold;
    height: 50px;
}
@keyframes fadeInNav {
    from { opacity: 0; }
    to { opacity: 1; }
}
.nav-bar.active ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    justify-content: flex-start; /* Ensure items are aligned to the start */
    opacity: 1;
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: black;
    width: 100%;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    padding: 0; /* Remove padding to ensure full-width background */
    margin: 0; /* Remove margin to ensure full-width background */
}

nav ul li {
    width: 100%; /* Ensure the width of the list items spans the full width of the container */
    margin-bottom: 5px;
}

nav ul li a, nav a {
    display: block; /* Ensure the link spans the full width of its container */
    font-size: 3vw; /* Adjust as needed for your design */
    padding: 10px 15px;
    text-align: left; /* Ensure text is aligned to the left */
    color: inherit; /* Keep text color consistent */
}

nav ul li a:hover {
    background-color: #2e2e2e; /* Gray background on hover */
    color: white; /* Optional: change text color on hover for better contrast */
    transition: background-color 1s ease, color 0.3s ease; /* Smooth transition for background color and text color */

}

/* Remove transitions from pseudo-elements */
nav ul li a::before, nav a:hover {
    color: inherit ; /* Keeps text color consistent */
    font-size: inherit ; /* Prevents font size change */

}

nav ul li a:hover::before {
    width: 0 !important; /* Removes hover effect underline */
}

/* Ensure the hamburger menu is displayed correctly */
.hamburger-menu {
    display: block;
    text-align: left;
    right: 10%;
}


    .logo {
    margin-left: 1%; 
}
    .logo img {
        width: 200px;
    }

    .video-container {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
}

      .first-section {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
          margin-bottom: 100px;
          height: 750px;
    }
 .first-section p {
        width: 80%; /* Adjust text width for readability */
        font-size: 20px;
    }
    .column-container {
        flex-direction: column;
        width: 90%; /* Adjust based on preference */
        gap: 20px; /* Space between columns */
    }

    .column {
        width: 100%; /* Full width of the container */
        margin-bottom: 20px; /* Space after each column */
    }

   
    .column-container .column {
    transform: none !important;
    /* transition: opacity 0.6s ease-out, transform 0.6s ease-out; */
}

       .second-section {
        align-items: center;
        height: 70vh;
       margin-top: 600px;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: 20px;
        width: 90%;
         margin-top: 40px;
        margin-bottom: 1px;
}
 .video-section {
        justify-content: center;
     width: 80%;
        margin-bottom: 20px; /* Adjust margin as needed */
    }

    h1 {
        font-size: 30px; /* Adjust font size for smaller screens */
        text-align: center; /* Center the heading */
    }

    .video-item {
        width: 100%; /* Make video items full width */
        margin-bottom: 20px; /* Add spacing between video items */
    }

.thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail: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;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 120px;
    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: 120px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 150px;
        transform: scale(1.05);
        font-size: 18px;
    }
}

.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;
}
    .faq {
        width: 90%;
    }
        .faq-container {
     padding-top: 40px; 
     padding-bottom: 40px;
    
}
/* Quiz Container Styling */
#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 Styling */
.quiz-screen, #start-screen {
    width: 100%;
    padding: 10px;
}

.quiz-screen {
    width: 100%;
    padding-top: 80px;
}

/* General Heading Styling */
h2 {
    font-size: 20px; /* Adjusted for better readability on smaller screens */
    color: #333;
    margin: 10px 0; /* Reduces the margin for a tighter layout */
}

/* Specific Heading Styling for Start Screen */
#start-screen h3 {
    font-size: 24px !important; /* Specific font size for the start screen heading */
    margin-bottom: 20px;
}

/* Textarea Styling */
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 Styling */
.alert-message {
    font-size: 24px; /* Adjusts the font size for mobile screens */
}

/* Quiz Button Styling */
.quiz-button {
    padding: 10px 20px; /* Adjusts padding for a more suitable button size */
    font-size: 24px; /* Adjusts font size for better legibility */
    margin: 10px; /* Ensures buttons are not too close to each other */
}

/* Button Container Styling */
.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) */
}
.counter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: white;
    height: 200px;
}

.initial-text {
    margin-top: 40px;
    font-size: 30px;
    font-weight: normal;
    opacity: 0;
    transition: opacity 1s ease;
}
    
.counter-container {
    font-size: 54px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 1s ease;
}
.title {
    font-size: 30px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 20px; /* Adjust spacing to fit design */
      opacity: 0;
    transition: opacity 1s ease;
}

.show {
    opacity: 1;
}

.hide {
    opacity: 0;
}
    @keyframes fadeInCTASmall {
    from {
        top: 40%;
        right: 12%; 
        opacity: 0; 
    }
    to {
        top: 42%;
        right: 14%; 
        opacity: 1; 
    }
}
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%;
}
       
@keyframes fadeInCTASmall {
    from {
        top: 100%;
        right: 28%;
        opacity: 0; 
    }
    to {
        top: 80%;
        right: 28%;
        opacity: 1; 
    }
}
}
/********************************************************************** Second Mobile Layout ***********************************************************************************************/

@media screen and (max-width: 400px) {
        .video-container {
    position: relative;
    margin-top: 22%;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
}
@keyframes fadeInCTASmall {
    from {
        top: 100%;
        right: 25%;
        opacity: 0; 
    }
    to {
        top: 80%;
        right: 24%;
        opacity: 1; 
    }
}

.counter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: white;
    margin-top: 50px;
    height: 225px;
}
.initial-text {
    font-size: 2em;
    font-weight: normal;
    opacity: 0;
    transition: opacity 1s ease;
}
    
.counter-container {
    font-size: 2.5em;
    font-weight: bold;
    opacity: 0;
    transition: opacity 1s ease;
}
.title {
    font-size: 2em;
    font-weight: normal;
    margin-top: 1px;
    margin-bottom: 20px; /* Adjust spacing to fit design */
      opacity: 0;
    transition: opacity 1s ease;
}

.show {
    opacity: 1;
}

.hide {
    opacity: 0;
}


      .first-section {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
          margin-bottom: 100px;
          height: 600px;
    }
 .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 */
    }

   
    .column-container .column {
    transform: none !important;
    /* transition: opacity 0.6s ease-out, transform 0.6s ease-out; */
}

       .second-section {
        align-items: center;
        height: 60vh;
       margin-top: 600px;
       justify-content: space-around;
      
    }
    .second-section p {
    font-size: .9em;
        width: 80%;
         margin-top: 40px;
        margin-bottom: 1px;
}
 .video-section {
        justify-content: center;
     width: 90%;
        margin-bottom: 20px; /* Adjust margin as needed */
    }

    h1 {
        font-size: 30px; /* Adjust font size for smaller screens */
        text-align: center; /* Center the heading */
    }

    .video-item {
        width: 100%; /* Make video items full width */
        margin-bottom: 20px; /* Add spacing between video items */
    }
    .video-item h3{
        font-size: 1em;
    }
.thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    color: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s; /* Add transition for scaling effect */
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail: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.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}

.overlay button {
    background-color: transparent;
    color: #fff;
    padding: 8px;
    height: 50px;
    width: 120px;
    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: 120px;
        transform: scale(1);
        font-size: 14px;
    }
    to {
        height: 75px;
        width: 150px;
        transform: scale(1.05);
        font-size: 18px;
    }
}

.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;
}
    .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;
    align-items: center;
    justify-content: center;
        opacity: 1;   
        transition: all 0.3s ease;
}
    .faq {
        width: 90%;
    }
    .faq-container {
     padding-top: 40px; 
     font-size: .8em;
     padding-bottom: 40px;
    
}
  
    #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;
    }

       textarea {
        width: 240px;
        margin: 10px 0; /* Ensures consistent spacing around textareas */
        font-size: 16px; /* Increases font size for better readability */
    }


    .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) {
         .video-container {
    position: relative;
    margin-top: 27%;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
}
   
      .first-section {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
          margin-bottom: 100px;
          height: 700px;
    }
    @keyframes fadeInCTASmall {
    from {
        top: 100%;
        right: 20%;
        opacity: 0; 
    }
    to {
        top: 80%;
        right: 20%;
        opacity: 1; 
    }
}
}