@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 2rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

:root{
    --main-color: #66CDAA;
    --second-color: #3cb371;
    --text-color: #444;
    --gradient: linear-gradient(#66CDAA,#3cb371);

}
html::webkit-scrollbar{
    width: 0.5rem;

}
html::webkit-scrollbar-track{
    background: transparent;
    
}
html::webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 5rem;
    
}
section{
    padding: 50px 100px;
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eeeff1;
    padding: 15px 100px;
}
.logo img{
    width: 40px;
}

.navbar {
  display: flex;
}

.navbar li {
  position: relative;
}

.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar{
    display: flex;
}
.navbar li{
    position: relative;
}
.navbar a{
    font-size: 1rem;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}
.navbar a::after {
    content: "";
    width: 0;
    height: 3px;
    background: var(--gradient);
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.5s;
}
.navbar a:hover::after {
    width: 100%;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}
.header-btn a{
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}
.header-btn .sign-in{
    background: #474fa0;
    color: #FFF;
    border-radius: 0.5rem;
}
.header-btn .sign-in:hover{
    background: var(--main-color);
}

.about {
  margin-top: 100px;
  background: linear-gradient(180deg, #f9f9f9 0%, #eefaf7 100%);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.heading span {
  display: inline-block;
  color: var(--second-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heading h1 {
  font-size: 2rem;
  color: #222;
  margin-top: 10px;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.about-img img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: scale(0.98);
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.02);
}

.about-text {
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: #555;
  font-size: 1rem;
}

.about-text .btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.about-text .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 205, 170, 0.3);
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 60px;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

footer .social a {
  color: #66CDAA;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer .social a:hover {
  color: #3cb371;
}

@media (max-width: 1024px) {
  section {
    padding: 60px 40px;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    padding-top: 20px;
  }

  .about-img img {
    max-width: 90%;
    margin: 0 auto;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo img {
    width: 40px;
}

/* Smooth Hover Transitions */
.btn, .navbar a, .header-btn a {
    transition: all 0.3s ease;
}

.btn:hover, 
.header-btn .sign-in:hover, 
.header-btn .sign-up:hover {
    transform: scale(1.05);
    background: var(--main-color);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-section img {
  width: 40px;
}

.tagline {
  font-size: 0.9rem;
  color: #3cb371;
  font-weight: 500;
  margin: 0;           
  padding: 0;
  line-height: 1;     
}
#chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

#chat-icon {
  background-color: #70D8BA;
  color: white;
  font-size: 26px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

#chat-icon:hover {
  transform: scale(1.1);
  background-color: #35695a;
}

#chatbot {
  display: none;
  flex-direction: column;
  width: 310px;
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

#chat-header {
  background-color: #70D8BA;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 16px;
}

#chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#chat-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 10px;
  background: #f8f8f8;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  font-size: 14px;
}

.user-message, .bot-message {
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.user-message {
  background-color: #70D8BA;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.bot-message {
  background-color: #e6e6e6;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

#chat-input {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  width: 100%;
  outline: none;
  font-size: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* Mobile Responsive Design */
@media (max-width: 991px) {
  header {
    padding: 15px 40px;
  }

  section {
    padding: 50px 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }

  header {
    padding: 14px 20px;
    gap: 12px;
  }

  .logo-section {
    max-width: calc(100% - 56px);
    gap: 8px;
  }

  .tagline {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  #menu-icon {
    display: block;
    font-size: 30px;
    color: var(--text-color);
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #eeeff1;
    padding: 10px 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    gap: 4px;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .navbar.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar li {
    width: 100%;
  }

  .navbar a {
    display: block;
    padding: 12px 0;
  }

  .navbar a::after {
    display: none;
  }

  .header-btn {
    display: none;
  }

  #chatbot-container {
    right: 15px;
    bottom: 15px;
  }

  #chatbot {
    width: min(300px, calc(100vw - 30px));
    height: 380px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 16px;
  }

  section {
    padding: 35px 16px;
  }

  .logo img,
  .logo-section img {
    width: 34px;
  }

  .tagline {
    font-size: 0.68rem;
  }

  .heading h1 {
    font-size: 1.55rem;
  }

  #chat-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  #chatbot {
    width: calc(100vw - 24px);
    right: 0;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .about {
    margin-top: 90px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .about-text {
    padding: 0;
  }

  .about-img img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .about {
    margin-top: 82px;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .about-text .btn {
    width: 100%;
    text-align: center;
  }
}
