@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Orbitron", sans-serif;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Orbitron", sans-serif;
}

.no-scroll {
  overflow: hidden;
}
body,
header,
h1,
h2,
h3,
p,
a,
span {
  text-shadow: 0 0 4px rgba(64, 255, 0, 0.3), 0 0 8px rgba(0, 166, 255, 0.2) !important;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: rgba(15, 12, 41, 0.95);
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
  line-height: 1.5;
}

p {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

a:-webkit-any-link {
  color: greenyellow;
  cursor: pointer;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  background: #0a0a0a;
  color: #fff;

  width: 100%;
  overflow-x: hidden;
}

.navbar {
    background: linear-gradient(to right, #304dad, #5676a9, #24243e);
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  border-radius: 25px;
}

.logo {
  flex-grow: 1;
}

.logo a {
  font-size: 1.5rem;
  color: #40ff00;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.logo a:hover {
  color: #00a6ff;
  text-shadow: 0px 0px 10px #00a6ff;
}

.nav-container {
  display: flex;
  justify-content: center;
  flex-grow: 2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #40ff00;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 12px;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.nav-links a:hover {
  background-color: #220656;
  border-radius: 25px;
  color: #fff;
  text-shadow: 0px 0px 5px #00a6ff;
}

.contribute-btn {
  background: linear-gradient(45deg,#80b980,#104513);
  padding: 8px 15px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;border: none;
  border-radius: 8px 95px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.contribute-btn:hover {
  background: #00a6ff;
  color: white;
  border-color: #00a6ff;
  box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.7);
  transform: scale(1.1);
}

.contribute-btn:active {
  transform: scale(0.95);
}

.search-bar {
  display: flex;
  align-items: center;
  border: 2px solid #40ff00;
  padding: 5px;
  border-radius: 25px;
  background: #f0eaea;
}

.search-bar input {
  background: transparent;
  border: none;
  color: rgba(4, 78, 196);
  padding: 6px 10px;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  width: 150px;
  transition: border 0.3s ease-in-out;
}

.search-bar input::placeholder {
  color: rgba(4, 78, 196);
  font-weight: bolder;
}

.search-bar input:hover,
.search-bar input:focus {
  border-color: #00a6ff;
}

.mobile-nav {
  position: fixed;
  left: -300px;
  top: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: left 0.4s ease-in-out;
  padding-top: 20px;
  z-index: 1000;
  border-radius: 5px;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.mobile-nav ul li {
  padding: 15px;
  text-align: center;
}

.mobile-nav ul li a {
  color: #40ff00;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  transition: all 0.3s ease-in-out;
}

.mobile-nav ul li a:hover {
  color: #00a6ff;
  text-shadow: 0px 0px 5px #00a6ff;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 25px;
  color: #00a6ff;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.close-btn:hover {
  text-shadow: 0 0 10px #00a6ff;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-right-section {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

.hamburger-menu {
  font-size: 30px;
  color: #40ff00;
  cursor: pointer;
  display: none;
}

header {
  background: rgba(15, 12, 41, 0.95);
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  border-bottom: 2px solid #40ff00;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
}

header h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px rgba(64, 255, 0, 0.8);
}

header p {
  font-size: 1.2rem;
  color: #00a6ff;
}

@media only screen and (min-width: 200px) {
  .navbar {
    flex-direction: row;
    justify-content: center;
    padding: 40px;
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo a {
    font-size: 1.2rem;
  }

  .nav-container {
    display: none;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    width: fit-content;
    transform: translateY(-50%);
  }

  .right-section {
    display: none;
  }

  .mobile-right-section {
    display: flex;
  }

  .search-bar input {
    width: 120px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  .mobile-nav {
    width: 250px;
  }
}

@media only screen and (min-width: 320px) {
  .logo a {
    font-size: 1.4rem;
  }

  .navbar {
    flex-direction: row;
    padding: 40px;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    width: fit-content;
    transform: translateY(-50%);
  }
  .search-bar input {
    width: 140px;
  }

  .contribute-btn {
    font-size: 0.9rem;
    padding: 7px 12px;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1.1rem;
  }

  .mobile-nav {
    width: 280px;
  }
}

@media only screen and (min-width: 768px) {
  .navbar {
    flex-direction: row;
    padding: 40px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    width: fit-content;
    transform: translateY(-50%);
  }

  .nav-container {
    display: none;
  }

  .right-section {
    display: none;
  }

  .mobile-right-section {
    display: flex;
  }

  .search-bar input {
    width: 160px;
  }

  .contribute-btn {
    font-size: 1rem;
    padding: 8px 14px;
  }

  header h1 {
    font-size: 2.3rem;
  }

  header p {
    font-size: 1.2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px;
  }

  .logo {
    position: static;
    transform: none;
  }

  .hamburger-menu {
    display: none;
  }

  .nav-container {
    display: flex;
  }

  .right-section {
    display: flex;
  }

  .search-bar input {
    width: 180px;
  }

  .contribute-btn {
    font-size: 1.1rem;
    padding: 10px 18px;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1.3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .navbar {
    padding: 25px 50px;
  }

  .logo a {
    font-size: 1.8rem;
  }

  .search-bar input {
    width: 200px;
  }

  .contribute-btn {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  header h1 {
    font-size: 3rem;
  }

  header p {
    font-size: 1.5rem;
  }
}

.main-heading{
  color: #40ff00;
  text-align: center;
  margin: 6vh;
  font-size: 2rem;
   animation: softBounce 2s ease-in-out infinite;
}

@keyframes softBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.main-para{
  text-align: center;
  font-style:italic;
}
.contact-container {
  background: rgba(15, 12, 41, 0.85);
  padding: 50px;
  border-radius: 10px;
  margin: 50px auto;
  width: 60%;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
}

.contact-container h2 {
  font-size: 2rem;
  text-transform: uppercase;
  color: #40ff00;
  text-align: center;
}

.contact-container h3 {
  text-align: center;
}

.contact-container p {
  font-size: 1.2rem;
  color: white;
  text-align: center;
}

.contact-form {
  margin: 30px auto;
  width: 100%;
}

.contact-form label {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
  color: #00ffff;
  display: block;
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #40ff00;
  background: black;
  color: white;
  font-size: 1rem;
  padding: 16px 24px;
  margin: 1.5rem;
  border: 3px solid transparent;
  border-radius: 40px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #40ff00;
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  box-shadow:
    0 0 5px #8ec87b,
    0 0 10px #7aaf68 inset,
    0 0 20px rgba(64, 255, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: scale(1.03);
  color: #d5d3d3;
}


.contact-form button:hover {
  background: #00a6ff;
  color: white;
}

.contact-info {
  display: flex;
  margin-top: 20px;
  line-height: 2;
  text-align: center;
  align-items: center;
  justify-content: center;
}



.container {
  display: flex;
  margin-top: 20px;
  line-height: 2;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  margin: 4rem;
}

.card {
  width: 60vw;      
  background: linear-gradient(135deg,rgba(75,30,133,0.5), rgba(75,30,133,0.01));
  border: 2px solid #00ffff55;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 15px #00ffff33;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hover effect stays the same */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px #00ffffaa;
}

/* Typography */
.card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #00ffff;
}

.card p {
  font-size: 1rem;
  line-height: 1.4;
}

/* 📱 Mobile Optimization */
@media (max-width: 1000px) {
  .card {
    width: 90vw;            /* Fill most of the screen on small devices */
    max-width: none;        /* Let it stretch naturally */
  }
}


.contact-info p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 20px;
}

.map-container {
  position: relative;
  background: rgba(15, 12, 41, 0.85);
  padding: 50px;
  border-radius: 10px;
  margin: 100px auto;
  width: 80%;
  border: 2px solid #40ff00;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.contact-form button {
  background: #40ff00;
  margin-top: 10px;
  color: black;
  background: linear-gradient(145deg, #013300, #29a932);
  color: #fff;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 5px;
  border-radius: 25px;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
  border: 1px solid rgba(0, 255, 157, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4),
              0 0 30px rgba(4, 113, 48, 0.3),
              inset 0 0 5px rgba(6, 114, 78, 0.2);
  animation: lavaPulse 2s infinite ease-in-out;
}



@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(27, 83, 129, 0.4); }
  50% { box-shadow: 0 0 40px rgba(27, 83, 129, 0.6); }
}


.contact-form button:hover {
  transform: scale(1.1);
  background: #00a6ff;
  color: white;
}



.map-container h2 {
  font-size: 2rem;
  color: #40ff00;
  margin-bottom: 20px;
}
.map-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(23, 148, 179, 0.9) 0%, transparent 80%);
  animation: ripple 6s linear infinite;
  z-index: -1;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.map-container iframe {
  width: 90%;
  height: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.map-container iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width: 200px) {
  .contact-container,
  .map-container {
    width: 90%;
    padding: 30px;
    margin: 30px auto;
  }
  .contact-container h1,
  .map-container h2 {
    font-size: 1.8rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }
  .map-container iframe {
    height: 250px;
  }
}

@media only screen and (min-width: 320px) {
  .contact-container,
  .map-container {
    width: 85%;
  }
  .contact-container h1,
  .map-container h2 {
    font-size: 2rem;
  }
  .map-container iframe {
    height: 300px;
  }
}

@media only screen and (min-width: 768px) {
  .contact-container {
    width: 70%;
    padding: 40px;
  }
  .map-container {
    width: 80%;
  }
  .contact-container h1 {
    font-size: 2.2rem;
  }
  .map-container h2 {
    font-size: 2.2rem;
  }
  .map-container iframe {
    height: 350px;
  }
}

@media only screen and (min-width: 1200px) {
  .contact-container {
    width: 60%;
    padding: 50px;
  }
  .map-container {
    width: 90%;
  }
  .contact-container h1 {
    font-size: 2.5rem;
  }
  .map-container h2 {
    font-size: 2.5rem;
  }
  .map-container iframe {
    height: 400px;
  }
}

@media only screen and (min-width: 1600px) {
  .contact-container {
    width: 55%;
    padding: 60px;
  }
  .map-container {
    width: 80%;
  }
  .contact-container h1 {
    font-size: 2.8rem;
  }
  .map-container h2 {
    font-size: 2.8rem;
  }
  .map-container iframe {
    height: 450px;
  }
}

footer {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: white;
  padding: 50px 20px;
  font-family: "Orbitron", sans-serif;
  position: relative;
  overflow: hidden;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  background: rgba(0, 255, 255, 0.3);
  filter: blur(100px);
  z-index: 0;
  animation: glow 5s infinite alternate ease-in-out;
}

@keyframes glow {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(20px);
  }
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
  text-align: center;
}

.footer-column h3 {
  border-bottom: 2px solid #40ff00;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s ease-in-out;
  display: inline-block;
}

.footer-column h3:hover {
  text-decoration: underline;
  color: #00a6ff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #40ff00;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-column ul li a:hover {
  color: #00a6ff;
  text-shadow: 0px 0px 5px #00a6ff;
}

.social-media {
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.social-icon i {
  font-size: 1.6rem;
  color: #40ff00;
  transition: color 0.3s ease-in-out;
}

.social-icon:hover {
  transform: scale(1.2);
  background: #000000;
  box-shadow: 0px 0px 10px rgba(21, 255, 0, 0.837);
}

.social-icon[title="Facebook"] i {
  color: #3b5998;
}
.social-icon[title="Instagram"] i {
  color: #e1306c;
}
.social-icon[title="Twitter"] i {
  color: #1da1f2;
}
.social-icon[title="GitHub"] i {
  color: #242424;
}
.social-icon[title="LinkedIn"] i {
  color: #0077b5;
}
.social-icon[title="WhatsApp"] i {
  color: #25d366;
}

.footer-column select {
  width: 80%;
  padding: 10px;
  font-size: 1.1em;
  background: #333;
  color: white;
  border: 2px solid #40ff00;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: border 0.3s ease-in-out;
}

.footer-column select:hover {
  border: 2px solid #00a6ff;
}

.footer-column input {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: 2px solid #40ff00;
  background: #111;
  color: white;
  font-size: 1em;
  outline: none;
  text-align: center;
}

.footer-column button {
  background: #40ff00;
  color: black;
  padding: 12px 20px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.3s;
}

.footer-column button:hover {
  background: #00aeff;
  color: #ffffff;
  font-weight: bold;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #40ff00;
}

@media only screen and (min-width: 200px) {
  .footer-row {
    flex-direction: column;
    gap: 20px;
  }

  .footer-column {
    min-width: 100%;
    text-align: center;
  }

  .social-icons {
    flex-direction: column;
    gap: 10px;
  }

  .footer-column input,
  .footer-column select,
  .footer-column button {
    width: 100%;
    font-size: 0.9em;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon i {
    font-size: 1.4rem;
  }
}

@media only screen and (min-width: 320px) {
  .footer-row {
    flex-direction: column;
    gap: 25px;
  }

  .footer-column {
    min-width: 100%;
    text-align: center;
  }

  .footer-column h3 {
    font-size: 1.2em;
  }

  .footer-column input,
  .footer-column select,
  .footer-column button {
    width: 90%;
    font-size: 1em;
  }

  .social-icons {
    flex-direction: row;
    gap: 12px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .social-icon i {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-column {
    flex: 1;
    min-width: 200px;
    text-align: left;
  }

  .footer-column h3 {
    font-size: 1.3em;
  }

  .footer-column input,
  .footer-column select,
  .footer-column button {
    width: 85%;
    font-size: 1.1em;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon i {
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .footer-container {
    max-width: 1100px;
  }

  .footer-row {
    flex-wrap: nowrap;
  }

  .footer-column {
    text-align: left;
  }

  .footer-column h3 {
    font-size: 1.4em;
  }

  .footer-column input,
  .footer-column select,
  .footer-column button {
    width: 80%;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 55px;
    height: 55px;
  }

  .social-icon i {
    font-size: 1.7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .footer-container {
    max-width: 1300px;
  }

  .footer-row {
    justify-content: space-around;
  }

  .footer-column h3 {
    font-size: 1.5em;
  }

  .footer-column input,
  .footer-column select,
  .footer-column button {
    width: 75%;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icon {
    width: 60px;
    height: 60px;
  }

  .social-icon i {
    font-size: 1.8rem;
  }
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #40ff00;
  color: black;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.7);
  transition: 0.3s ease-in-out;
}

#back-to-top:hover {
  background: #00a6ff;
  color: white;
}

#chatbot-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #40ff00;
  border: 2px solid #40ff00;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.8);
  transition: transform 0.3s, background 0.3s;
}

#chatbot-btn:hover {
  background: #40ff00;
  color: #24243e;
  border: 2px solid #302b63;
  transform: scale(1.1);
}

#chatbot-window {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 350px;
  background: #24243e;
  color: white;
  border: 3px solid #40ff00;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.9);
  display: none;
  flex-direction: column;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#chatbot-window.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 400px;
  padding: 10px;
}

#chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-msg,
.user-msg {
  padding: 10px;
  border-radius: 7px;
  margin: 5px 0;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.bot-msg {
  background: #40ff00;
  color: black;
  align-self: flex-start;
  box-shadow: 0px 0px 8px rgba(64, 255, 0, 0.8);
}

.user-msg {
  background: #00a6ff;
  color: white;
  align-self: flex-end;
  box-shadow: 0px 0px 8px rgba(0, 166, 255, 0.8);
}

.chatbot-header {
  padding: 12px;
  background: #40ff00;
  color: black;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}

.close-chatbot {
  background: none;
  border: none;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  color: black;
}

.close-chatbot:hover {
  color: red;
}

.chatbot-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.chatbot-body input {
  flex-grow: 1;
  padding: 10px;
  border: 2px solid #40ff00;
  background: black;
  color: white;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
}

.chatbot-body input:focus {
  border-color: #00a6ff;
}

.chatbot-body button {
  padding: 10px;
  background: #40ff00;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

.chatbot-body button:hover {
  background: #00a6ff;
  color: white;
}

#voice-btn {
  background: none;
  border: 2px solid #40ff00;
  color: #40ff00;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

#voice-btn:hover {
  background: #40ff00;
  color: black;
}

#chatbot-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px;
  justify-content: center;
}

.category-btn {
  background: #40ff00;
  color: black;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}

.category-btn:hover {
  background: #00a6ff;
  color: white;
  transform: scale(1.05);
}

#chatbot-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px;
  justify-content: center;
}

.question-btn {
  background: #24243e;
  color: white;
  padding: 10px;
  border: 2px solid #40ff00;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.3s, transform 0.2s;
}

.question-btn:hover {
  background: #40ff00;
  color: black;
  transform: scale(1.05);
}

#chatbot-answers {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #40ff00;
  border-top: 2px solid #40ff00;
  margin: 10px;
  display: none;
}

#chatbot-answers.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (min-width: 200px) {
  #back-to-top,
  #chatbot-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  #chatbot-window {
    width: 90%;
    left: 5%;
    bottom: 60px;
  }

  .chatbot-header {
    font-size: 1rem;
  }

  .chatbot-body input,
  .chatbot-body button {
    font-size: 0.8rem;
    padding: 8px;
  }

  .bot-msg,
  .user-msg {
    font-size: 0.8rem;
    padding: 8px;
  }
}

@media only screen and (min-width: 320px) {
  #chatbot-window {
    width: 85%;
    left: 7.5%;
    bottom: 70px;
  }

  .chatbot-header {
    font-size: 1.1rem;
  }

  .chatbot-body input,
  .chatbot-body button {
    font-size: 0.9rem;
    padding: 9px;
  }

  .bot-msg,
  .user-msg {
    font-size: 0.9rem;
    padding: 9px;
  }

  #chatbot-categories,
  #chatbot-questions {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-width: 768px) {
  #back-to-top,
  #chatbot-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  #chatbot-window {
    width: 400px;
    left: 20px;
    bottom: 80px;
  }

  .chatbot-body {
    max-height: 500px;
  }

  .chatbot-body input,
  .chatbot-body button {
    font-size: 1rem;
    padding: 10px;
  }

  .bot-msg,
  .user-msg {
    font-size: 1rem;
    padding: 10px;
  }

  #chatbot-categories,
  #chatbot-questions {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (min-width: 1200px) {
  #back-to-top,
  #chatbot-btn {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  #chatbot-window {
    width: 450px;
    left: 30px;
    bottom: 90px;
  }

  .chatbot-body {
    max-height: 550px;
  }

  #chatbot-categories,
  #chatbot-questions {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (min-width: 1600px) {
  #back-to-top,
  #chatbot-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  #chatbot-window {
    width: 500px;
    left: 40px;
    bottom: 100px;
  }

  .chatbot-body {
    max-height: 600px;
  }

  #chatbot-categories,
  #chatbot-questions {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
