/* Add your custom CSS styles here */
/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}*/

/*.container {
    max-width: 1140px;
    margin: auto;
    padding: 20px;
}*/

@media screen and (max-width: 400px){
    body {
        margin-top: unset;
    }

    body {
        margin: unset;
        font-family: Open Sans;
    }

    h1 {
        text-align: center;
        font-size: 32px;
        margin-bottom: 20px;
    }
}
p {
    /*font-size: 18px;*/
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Media query targeting mobile devices with a maximum width of 768px (adjust as needed) */
@media (max-width: 768px) {
    /* Reduce the base font size for mobile devices */
    body {
      font-size: 14px;
    }
  
    /* Example: Set font size for paragraphs using relative units */
    p {
      font-size: 1em; /* Adjust as needed */
    }
  
    /* Example: Set font size for headings using relative units */
    h1 {
      font-size: 2em; /* Adjust as needed */
    }
  
    /* Example: Set font size for other elements using relative units */
    /* .my-element {
         font-size: 0.8rem; // Adjust as needed
     } */
  }

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.cta-button:hover {
    background-color: #0056b3;
}

.feature-section {
    margin-top: 40px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-description {
    /*font-size: 18px;*/
    line-height: 1.5;
    margin-bottom: 20px;
}

/*.testimonial-section {
            margin-top: 40px;
            border-top: 1px solid #ccc;
            padding-top: 30px;
        }*/

.testimonial-quote {
    font-style: italic;
    font-size: 20px;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    font-size: 16px;
}

.try-section {
    margin-top: 40px;
}

.try-description {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.try-buttons {
    text-align: left;
    margin-bottom: 20px;
}

.try-textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: vertical;
    margin-top: 5px;
}

.try-textarea[readonly] {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

.section-divider {
    margin-top: 40px;
    border-top: 1px solid #ccc;
    padding-top: 30px;
}

.banner-section {
    width: 100%; 
    height: 277px; 
    background-color: #010818; 
    background-image: url(/images/ai_banner1.jpg); 
    background-repeat: no-repeat; 
    margin-top: 70px;
    color: #ffffff !important;
    text-align: center;
}

.banner-section h1{
    font-weight: bold;
}

/* Overlay Styles */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    /* White semi-transparent background */
    z-index: 9999;
    /* Ensure the overlay is on top of other elements */
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

#overlay-content {
    text-align: center;
}

#overlay-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

#overlay-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.overlay-hidden {
    display: none;
}

.overlay-shown {
    display: flex;
}

/* Effects */
.arrow-container-right {
    position: relative;
    display: inline-block;
    padding-right: 40px;
  }

  .arrow-container-left{
    position: relative;
    display: inline-block;
    padding-left: 70px;
  }
  
  .arrow-rtl {
    color: red;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    animation: arrowMoveLeft 3s ease-in-out infinite;
  }
  
  @keyframes arrowMoveLeft {
    0%, 100% {
      left: 100%;
    }
    50% {
      left: calc(100% - 40px); /* Adjust the 40px value to control the distance from the button */
    }
    60%, 70% {
      left: calc(100% - 30px); /* Adjust the 30px value to control the bounce effect */
      transform: translateY(-50%) scale(1.1);
    }
    80%, 90% {
      left: calc(100% - 40px);
      transform: translateY(-50%) scale(0.9);
    }
  }
  
  .arrow-ltr {
    color: red;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: arrowMoveLeftToRight 3s ease-in-out infinite;
  }
  
  @keyframes arrowMoveLeftToRight {
    0% {
      left: 0;
      transform: translateY(-50%);
    }
    50% {
      left: 50px;
      transform: translateY(-50%);
    }
    60% {
      left: 40px;
      transform: translateY(-50%) scale(1.1);
    }
    70% {
      left: 50px;
      transform: translateY(-50%) scale(0.9);
    }
    100% {
      left: 0;
      transform: translateY(-50%);
    }
  }
  
  /* CSS for the fade-in-out class */
.fade-in-out {
  animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.1; } /* Start and end with opacity 0 for fade-out effect */
  50% { opacity: 1; } /* Middle of animation, opacity 1 for fade-in effect */
}