/* ==== Hamburger Menu for Home, About-us, Contact ==== */
/* Hide the Hamburger icon on larger screens */
.hamburger-button {
  display: none;
}

/* Show the Hamburger icon and hide the regular menu on smaller screens */
@media (max-width: 1023px) {
  .hamburger-button {
      display: block;
  }

  #mobile-menu-2 {
      display: none;
  }

  #mobile-menu-2.active {
      display: block !important;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: white;
      z-index: 49;
      padding: 1rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

/* ==== Carousel ==== */

.wrap {
    overflow: hidden;
}
  
.carousel {
    display: flex;
    left: -100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    transform: translateX(100%);
}

/* Modified to always show 3 items */
@media (min-width: 30em) {
    .carousel {
        left: -33.33333%;
        transform: translateX(33.33333%);
    }
}

/* Remove 40em media query since we want 3 items consistently */
.carousel.is-reversing {
    transform: translateX(-100%);
}

@media (min-width: 30em) {
    .carousel.is-reversing {
        transform: translateX(-33.33333%);
    }
}

.carousel.is-set {
    transform: none;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-seat {
    flex: 1 0 100%;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Modified to consistently show 3 items */
@media (min-width: 30em) {
    .carousel-seat {
        flex-basis: 33.33333%;
    }
}

.carousel-seat.is-ref {
    order: 1;
}

/* Add max-width to images for better control */
.carousel-seat img {
    max-width: 40%;
    height: auto;
    object-fit: contain;
}

/* Custom rule to control contact form width on larger screens */
@media (min-width: 768px) { /* Corresponds to Tailwind's 'md' breakpoint */
  #contact-form {
    max-width: 24rem; /* Equivalent to Tailwind's max-w-sm. Adjust as needed (e.g., 20rem for max-w-xs) */
    margin-left: auto; /* Center the form within its container */
    margin-right: auto; /* Center the form within its container */
  }
}

/* Chatbot Styles */
#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6d28d9;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
  
#chat-icon:hover {
    background-color: #5b21b6;
}
  
#chat-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none; /* Initially hidden */
    flex-direction: column;
    z-index: 1000;
    animation: slide-up 0.3s ease;
}
  
@keyframes slide-up {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
}

#chat-header {
    background-color: #6d28d9;
    color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 300px;
}

#chat-footer {
    padding: 10px;
    border-top: 1px solid #e5e7eb;
}

#chat-message {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    resize: none;
}

#send-button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #6d28d9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#send-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.chat-message {
    margin-bottom: 10px;
}

.chat-message.user {
    text-align: right;
}

.chat-message.bot {
    text-align: left;
}

.message-content {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: #f3f4f6;
    color: #1f2937;
}

.chat-message.user .message-content {
    background-color: #6d28d9;
    color: white;
}

/* ==== Video Section Subtitle ==== */
/* Hide subtitle by default */
#video-section-subtitle {
  display: none;
}

/* Show subtitle on large screens (1024px and up) */
@media (min-width: 1024px) {
  #video-section-subtitle {
    display: block; /* Or inline, depending on desired layout */
  }
}

.service-icon {
    background-color: #6d28d9;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
  