/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

body {
    background-color: #e7ebee;
    color: #333;
   
    
}

header {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    background: transparent;
    
}

.navbar .navbar-nav .nav-item{
    margin-right: 25px;
}
.navbar .navbar-nav .nav-item
 a {
    text-decoration: underline;
    color: #666464;
    font-weight: 500;
    cursor: pointer;
}

.navbar .navbar-nav .nav-item a:hover {
    color: #00a2e8;
}

/* Hero Section Styling */
.hero {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 10px;
    padding-bottom: 0;
   
}

.content {
    max-width: 66%;
}

.content h1 {
    font-size: 3.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.content .text {
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.robot-image  {
    margin-bottom: 0px;
    margin-right: 38px;
}

.robot-image img {
   
    max-width: 330px;
 
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f3f5;
    margin-top: 50px;
}

footer p {
    font-size: 1em;
    color: #333;
}

footer strong {
    color: #00a2e8;
}

.content .logo1{
    margin-left: 0px;
    border-top: 1px solid #bebebe;
}
.content .logo1
 p {
    font-size: 0.7rem;
    font-weight: 600;
}

.logo1 img {
    margin-top: -40px;
    height: 80px;
}

/* Floating Button */
.rounded-btn {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 43px;
    right: 10px;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06), 2px 1px 32px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1001;
}

.rounded-btn:hover {
    transform: scale(1.1);
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* Floating Toggle Button Styling */
.rounded-btn {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 43px;
    right: 10px;
    background: #00a2e8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06), 2px 1px 32px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1001;
    font-size: 1.5rem; /* Icon size */
}

.rounded-btn:hover {
    transform: scale(1.1);
}
/* ===================================== */
/* Style for the thinking bubble message */
.thinking-bubble {
    position: fixed;
    bottom: 120px; /* Added margin from the bottom */
    right: 22px;
    background: #f0f0f0;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    font-size: 14px;
    color: #333;
    z-index: 1000;
    display: none; /* Hidden by default */
}

.thinking-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Adjusted to align vertically centered with bubble */
    right: 8%; /* Position the arrow to the right of the bubble */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f0f0f0; /* Arrow color matches the bubble */
}

        
/* Container for the chat card */
#chat-container {
    display: none; /* Initially hide the chat section */
    position: fixed;
    bottom: 90px;
    right: 20px;
    overflow: hidden;
    z-index: 111111111111111111111000;
    height: 350px; /* Reduced height */
    max-width: 350px;
    background: rgba(131, 171, 197, 0.4);
    backdrop-filter: blur(5px); 
    border-radius: 25px; /* Rounded corners for the card */
    padding: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    font-family: "Outfit", sans-serif;
    /* position: relative; */
}
.card{
    background: rgba(57, 128, 174, 40%);
      backdrop-filter: blur(15px); 

  }
  /* Header styling */
  .card-header {
    border-radius: 50px; 
    background: transparent;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  h5 {
    font-weight: 600;
    font-size: 30px;
    color: #fff;
    text-align: center;
    margin-top: 0;
  }
  
  /* Chat body message */
  .card-body {
    background-color: transparent;
    padding: 20px;
    color: #ffffff;
    font-size: 14px;
    height: 200px; /* Adjusted height */
    overflow-x: auto;
    line-height: 1.5;
    
  }
  
  .ads p {
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
  }
  
  /* Footer with input field */
  .card-footer {
    border-top: none;
    background: transparent;
    display: flex;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 25px; 
  }
  
  #user-input {
    flex: 1;
    font-size: 14px;
    padding: 10px;
    border: none;
    border-radius: 25px;
    background-color: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
  }
  
  #send-btn {
    background-color: #1980ac7c;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  #send-btn i {
    font-size: 20px;
    color: #fff;
  }
  
            ::-webkit-scrollbar-track
            {
                -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
                background: transparent;
                border-radius: 10px;
            }
            
            ::-webkit-scrollbar
            {
                width: 10px;
                background-color: none;
            }
            
            ::-webkit-scrollbar-thumb
            {
                border-radius: 10px;
                background-image: -webkit-gradient(linear,
                left bottom,
                left top,
                color-stop(0.44, rgb(222, 124, 124)),
                color-stop(0.72, rgb(221, 85, 85)),
                color-stop(0.86, rgb(184, 17, 17)));
            }
            
            .user{
                background-color: #00a2e8ad;
            }
            .reply{
                background-color: #1980ac7c;
                color: black;
            }
            /* ----------------------------------------FAQ's Style----------------------------------------------- */
            .heading {
                font-size: 2.7rem;
                color: #000;
                width: 100%;
                text-align: center;
                font-weight: bold;
            }
            .faq-section {
              margin-left: -50px;
                text-align: center;
                padding: 0;
                position: relative;
                height: 400px;
               width: 680px;
                background: transparent;
                overflow-y: scroll;
            }
            .faq-container {
             
              background: none;
            }
            
            .faq-item {
                width: 100%;
                margin: 10px 0;
            }
            
            .faq-question {
              background-color: rgba(255, 255, 255, 0.5); 
                width: 100%;
                background:transparent;
                padding: 15px 20px;
                border: 1px solid #a7a7a7;
                border-radius: 10px;
                font-size: 18px;
                text-align: left;
                display: flex;
                justify-content: space-between;
                align-items: center;
                cursor: pointer;
                font-family: "Outfit", sans-serif;
                font-weight: 300;
                backdrop-filter: blur(5px); 
            }
            .faq-answer {
                 background-color: rgba(255, 255, 255, 0.5); 
                backdrop-filter: blur(3px); 
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                background:transparent;
                padding: 0 20px;
                font-weight: 400;
                color: #000;
                border: 1px solid #a7a7a7;
                border-top: none;
                border-radius: 0 0 10px 10px;
                opacity: 0;
            }
            
            .faq-item.active .faq-answer {
                padding: 15px 20px;
                max-height: 200px; 
                opacity: 1;
                transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
            }
            
            .faq-icon {
                font-size: 24px;
                font-weight: bold;
                color: #000;
            }
            /* General Styling */
   .content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade.show {
    opacity: 1;
}
.robot-image {
    position: absolute;
    bottom: 0px;
    right: -35px;
    transition: all 0.5s ease-in-out;
    z-index: 0;
    width: 250px;
    overflow-x: hidden;
}
/* Styling for robot image animation */
.robot-centered .robot-image {
    position: absolute;
    bottom: 0;
    right: -100px;
    transition: all 0.5s ease-in-out;
    z-index: 0;
}

/* Style for centered robot position */
.robot-centered {
  bottom: -40px;
left: 55%;
width: 270px;
transform: translateX(-50%);
z-index: -1;
}
.robot-centered img{
  width: 100%;
}
/* Center the FAQs content when active */
.faq-centered {
  padding: 50px;
    position: relative;
    top: 100px;
    background: transparent;
    transform: translateY(-30%);
    margin: 0 auto;
    width: 700px;
    text-align: center;
    overflow-x:hidden;
}
/* ++++++++++++++++++++++++++++++++++++++++++++Responsive Code++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

            /* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .content {
        max-width: 100%;
    }

    .content h1 {
        margin-left: -50px;
        text-align: start;
        font-size: 2.5rem;
    }

    .content .text {
        display: none; /* Hide text on mobile */
    }
    .content .logo1 {
        margin-top: 320px;
        margin-left: -300px;
        border: none;
    }

    .robot-image  {
        margin-right: 35px;
    }

    .rounded-btn {
        width: 50px;
        height: 50px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .content {
        max-width: 100%;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content .text {
        display: none; /* Hide text on mobile */
    }

    /* Robot image to take full height */
    .robot-image{
        margin-right: -15px;
        height: auto;
        width: 400px;
       
    }
    .content .logo1 {
        margin-top: -10px;
        margin-left: -15px;
        border: none;
    }
  

    /* Floating button for opening sidebar */
    .rounded-btn {
        display: block;
    }

   
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .robot-image {
        bottom: 500px;
    } 
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .content {
        margin-left: 50px;
    }
    .content h1 {
        font-size: 3.3rem;
        text-align: start;
        margin-left: 0px;
    }
    .content .logo1 {
        margin-top: -10px;
        margin-left: -15px;
        border: none;
    }
    .content .text {
        margin-top: -5px;
        font-size: 0.8rem; 
    }
    .content .logo1 p {
        font-size: 0.6rem;
        margin-left: 10px;
    }
    .logo1 img {
        margin-top: -45px;
        height: 80px;
    }
  }
  .content {
        margin-left: 50px;
    }
    .rounded-btn {
        width: 50px;
        height: 50px;
    }
    @media (min-width: 1400px) {
        .content {
            margin-left: 50px;
        }
        .rounded-btn {
            width: 50px;
            height: 50px;
        }
      }

      /* Animations to expand and collapse the chat container */
@keyframes openbox {
    0% {
      height: 0px;
      width: 0px;
    }
    100% {
      height: 350px;
      width: 350px;
    }
  }
  
  @keyframes closebox {
    0% {
      height: 350px;
      width: 350px;
    }
    100% {
      height: 0px;
      width: 0px;
    }
  }
  
  /* Show and hide animations */
  .showBox {
    animation: openbox 0.25s ease-in;
    height: 400px;
    width: 400px;
  }
  
  .hideBox {
    animation: closebox 0.25s ease-out;
    height: 0;
    width: 0;
  }
  
  /* Chat button styling */
  #floatingChatBtn {
    cursor: pointer;
  }
  
  /* Ensure chat container hidden initially */
  #chat-container.hide {
    display: none;
  }
  