 html {
  scroll-behavior: smooth;
}
 body {
     background-color: #f0f0f0;
       overflow-x: hidden;
 }
header {
     margin: 20px;
     padding: 10px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 20px;
     color: black;
     padding-top:25px;
 }

 nav {
     display: flex;
    gap: 20px;
 }

 nav a {
     color: black;
     text-decoration: none;
     font-family: 'Times New Roman', Times, serif;
 }
 nav a:hover {
     color: #716e6e;
     
 }

#any {
     border-radius: 20px;
     padding: 10px 20px;
     font-weight: bold;
}
#any:hover{
  background-color:#ccc;
}

#logout,#finalize {
  background-color: transparent; 
  border: 2px solid black;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  color: inherit; 
  transition: background-color 0.3s ease;
}

#logout:hover {
  background-color: #aed6b3; 
}
#finalize:hover {
  background-color: #aed6b3; 
}
#welcome-text {
  margin-right: 12px;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  align-self: center;
}

#join {
    border-radius: 20px;
    color: white;
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;
}
#join:hover{
  background-color: grey;
}
hero{
    display:flex;
    justify-content: space-evenly;
    align-items: center;
}
.hero-text
{
    padding-left:20px;
}
hero .hero-text h1 span{
    font-size: 4em;
    text-align: left;
    margin-top:10px;
}
hero .hero-image img {
    margin-right:25px;
    padding:5px;
    width: 580px;
    height: 580px;
    border-radius: 15px;
    padding-right:10px;
}
.hero-text p {
    font-size: 1.2em;
    margin-top: 20px;
    color:gray;
    font-weight: bold;
}
.hero-text #learn-more {
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: black;
} 
.hero-text #learn-more:hover {
    background-color: #333;
}
.hero-text #vedio {
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: white;
}
#vedio:hover{
  background-color: #ccc;
}
.testimonial-grid{
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;   
    padding: 20px;
}
.container{
    margin-top: 50px;
}
.container h2{
    text-align: center;
    margin: 20px;
    font-weight: bold;
}
.container p{
    text-align: center;
    margin: 20px;
    color: gray;
    font-weight: bold;
}

.testimonial-card {
    background-color:white;  
    border-radius: 15px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12); 
    color: #333; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.testimonial-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align:center
}
.testimonial-image {
    width: 100%;
    height: 250px;            /* Increased from 180px to 200px */
    object-fit: cover;
    image-rendering: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
}
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;   
    padding: 20px;
}
.step-card {
    padding:10px;
    margin:20px;
    border-radius:10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#home-search-section {
  background-color: #f0f0f0;
  padding: 50px 20px;
  text-align: center;
}

.search-box-container {
  max-width: 800px;
  margin: auto;
}

#home-search-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #f4a261;
  outline: none;
}

.search-button {
  padding: 12px 30px;
  font-size: 1rem;
  background-color: #f4a261;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #e76f51;
}

.area-grid{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px;   
    padding: 20px;
}
.area-card {
    padding:20px;
    margin:20px;
    border-radius:10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width:450px;
}
.area-card:active {
  box-shadow: 0 4px 12px black;
}
.area-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align:center
}
.area-card p {
    font-size: 1.2em;
    color: gray;
    text-align: center;
}
.area-card img {
  width: 100%;
  height: 300px; /* Increased from 200px */
  object-fit: cover;
  border-radius: 12px;
  display: block;
}


#faq-section {
  background: #f0f0f0; 
  border-radius: 10px;
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
}

#faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #444; 
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  padding: 12px 15px;
  background-color: white; 
  border-radius: 6px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.05);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #eaeaea;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),  /* bigger, darker shadow */
    0 4px 6px rgba(0, 0, 0, 0.15);   /* softer secondary shadow */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  border-radius: 8px; /* keep corners smooth */
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  color: #555;
  font-size: 0.95rem;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 150px;
  padding-top: 10px;
  padding-bottom: 15px;
}
#cta-footer {
  margin-top: 60px;
  background-color: #f0f0f0; 
  color: #222; 
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.06);
}

#cta-footer h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #111; 
}
#cta-footer p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #444;
}

#search-bar {
  max-width: 400px;
  margin: 0 auto 35px auto;
  display: flex;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  border-radius: 6px;
  overflow: hidden;
}

#search-bar input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 1rem;
  background: white;
  color: #222;
}

#search-bar input[type="text"]::placeholder {
  color: #999;
}

#search-bar button {
  background-color: #333; 
  border: none;
  color: white;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#search-bar button:hover {
  background-color: #555;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #555;
}

.social-icons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  color: #333;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}

.social-icons a:hover {
  color: #555;
}
#select{
  display:flex;
  flex-direction:row;
  justify-content: space-evenly;
  align-items: center;
  margin:10px;
  padding:20px;
}
.select1 img{
   cursor: pointer; /* Changes the cursor to a pointer on hover */
  transition: transform 0.3s ease;
}
.select1 p{
  display:flex;
  align-items: center;
  justify-content: center;
  color:grey;
}
.select1 img:hover {
  transform: scale(1.05) ; /* Slightly enlarge the div on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
}

.select1:hover img {
  transform: scale(1.1); /* Zoom in the image when hovered */
}
.select1 p {
  margin-top: 10px;
  transition: color 0.3s ease;
}

.select1:hover p {
  color: black; /* Change text color on hover */
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  #search-bar {
    flex-direction: column;
  }

  #search-bar input[type="text"],
  #search-bar button {
    border-radius: 5px;
    width: 100%;
  }

  #search-bar button {
    margin-top: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .social-icons {
    gap: 15px;
  }

  #chatbot-widget {
    bottom: 15px;
    right: 15px;
    left: auto;
    width: auto;
    max-width: calc(100vw - 30px); 
  }

#chatbox-panel {
  position: fixed;
  bottom: 80px;
  left: 5%;
  width: 90vw;
  max-width: 90vw;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

#chatbox {
  height: 240px;
  overflow-y: auto;
  padding: 12px;
  font-size: 14px;
  background: white;
}

#chat-input-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #eee;
}

#userInput {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#sendBtn {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  background-color: #98c79c;
  color: white;
  border: none;
  cursor: pointer;
}


  #chat-input-area {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  /* HEADER AND NAV FIX */
  header {
    flex-direction: column;
    align-items: center;
    padding: 0px 10px;
    background-color: #f0f0f0;
    gap: 10px;
    
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 70px;
  }

  nav a {
    display: block;
    text-align: center;
    width: 100%;
    padding: 6px;
    font-size: 1rem;

  }

  #logout,
  #finalize,
  #join,
  #any {
    width: 90%;
    max-width: 300px;
    margin: 8px auto;
  }

  #welcome-text {
    font-size: 1rem;
    text-align: center;
  }

  /* HERO SECTION FIX */
  hero {
    flex-direction: column;
    padding: 0px 10px;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }

  .hero-text {
    /* margin: 10px 0;
    padding: 0 10px; */
  }

.hero-text h1 {
  text-align: center;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: keep-all; 
  max-width: 100%;
  box-sizing: border-box;
  padding-inline: 1rem; 
}

.hero-text h1 span {
  display: block;
  font-size: clamp(0.8rem, 4.5vw, 1.4rem); 
  line-height: 1.1;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #111;
  margin: 0.2rem 0;
  word-break: keep-all; 
}

  .hero-text p {
    font-size: 1rem;
    margin-top: 24px;
  }

.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem; 
  box-sizing: border-box;
  background: transparent;
  margin: 0;
  height: auto; 
  min-height: 0; 
}

.hero-image img {
  max-width: 100%; 
  width: 55vw;     
  max-height: 250px; 
  height: auto;    
  aspect-ratio: 4 / 3; 
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 0;
}
  .hero-text {
    text-align: center;
  }
  .hero-text button {
    display: block !important;
    width: 98% !important;       
    max-width: 350px !important; 
    margin: 0.5rem auto !important;
    font-size: 1.1rem !important;
  }
  /* GRID SECTIONS (cards, areas, testimonials) */
  .testimonial-grid,
  .steps,
  .area-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .testimonial-card,
  .step-card,
  .area-card {
    width: 90%;
  }

  #home-search-form {
    width: 100%;
  }

  .search-input {
    width: 90%;
  }

  .search-button {
    width: 90%;
  }

  #faq-section {
    padding: 20px 10px;
  }

  #cta-footer {
    padding: 30px 15px;
  }

  #search-bar {
    flex-direction: column;
    max-width: 90%;
  }

  #search-bar input[type="text"], 
  #search-bar button {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .social-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  #select {
    flex-direction: column;
    gap: 20px;
  }

  .select1 img {
    width: 90%;
  }

  .container h2,
  .container p,
  .hero-text p,
  .area-card p {
    font-size: 1em;
  }

  #welcome-text {
    font-size: 1rem;
    text-align: center;
    margin: 10px 0;
  }

  #logout, #finalize, #join, .hero-text #learn-more, .hero-text #vedio {
    width: 90%;
    margin: 10px 0;
  }
}
.fade-out {
  animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
#home-search-section {
  width: 100%;
  background: #f0f0f0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#home-search-section {
  width: 100%;
  /* background: #f0f0f0; */
  padding: 0;
}
#chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  max-width: 100vw;
}

#chat-toggle-wrapper {
  position: relative;
  display: inline-block;
}

#chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #98c79c;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

#chat-tooltip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

#chat-toggle-wrapper:hover #chat-tooltip {
  opacity: 1;
  pointer-events: auto;
}

#chatbox-panel {
  display: none;
  width: 360px;
  max-height: 450px;
  margin-top: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: #f9f9f9;
  flex-direction: column;
  overflow: hidden;
}

#chatbox-header {
  background: #98c79c;
  color: white;
  padding: 12px;
  font-weight: bold;
  text-align: center;
}

#chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: white;
  height: 300px;
  word-wrap: break-word;
}

#chatbox p {
  margin: 8px 0;
}

#chat-input-area {
  padding: 10px;
  background: #eee;
  display: flex;
  gap: 8px;
}

#userInput {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#sendBtn {
  background: #98c79c;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

#sendBtn:hover {
  background: #7fbf7f;
}
#voiceBtn {
  background: #98c79c;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

#voiceBtn:hover {
  background: #7fbf7f;
}
.video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;            /* Prevent scroll from this section only */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}


.video-responsive {
  width: 60vw;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  /* background-color: #f0f0f0; */
  border-radius: 6px;
}

html, body, * {
  cursor: url("../assets/icons8-cursor-32.png"), auto !important;
}
*::before,
*::after {
  cursor: url("../assets/icons8-cursor-32.png"), auto !important;
}

