/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #0b0f2f;
  color: white;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: bold;
}

/* NAV */
nav {
  display: none;
  flex-direction: column;
  background: #0b0f2f;
  padding: 10px;
  border-radius: 10px;
}

nav a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: block;
}

nav a:hover {
  color: orange;
}

/* MENU TOGGLE */
.menu-toggle {
  font-size: 22px;
  cursor: pointer;
}

/* DROPDOWN */
.dropdown-content {
  display: none;
  flex-direction: column;
  background: #1c215f;
  border-radius: 10px;
  margin-top: 5px;
}

.dropdown-content a {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* HERO */
.hero {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1a1f5a, #5b2cff);
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* BUTTON */
button {
  padding: 12px 25px;
  background: linear-gradient(to right, orange, red);
  border: none;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  opacity: 0.85;
}

/* SECTIONS */
.services {
  padding: 40px 20px;
}

/* CARDS */
.card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  margin: 10px 0;
  border-radius: 15px;
  transition: 0.3s;
}

.card h3, .card h2 {
  margin-bottom: 10px;
}

.card p, .card ul {
  opacity: 0.85;
  font-size: 14px;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* CTA */
.cta {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(to right, #ff6600, #ff0000);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #05071a;
  font-size: 14px;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
}

/* CHATBOT BUTTON */
.chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: orange;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
}

/* CHATBOX */
.chatbox {
  display: none;
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 260px;
  background: #1c215f;
  border-radius: 10px;
  padding: 10px;
}

#chatBody {
  max-height: 200px;
  overflow-y: auto;
  font-size: 13px;
  margin-bottom: 10px;
}

.chatbox input {
  width: 100%;
  padding: 6px;
  margin-bottom: 5px;
  border-radius: 5px;
  border: none;
}

.chatbox button {
  width: 100%;
}

/* ANIMATION */
section {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* DESKTOP */
@media(min-width:768px){

  nav {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }

  .menu-toggle {
    display: none;
  }

  .services {
    display: flex;
    gap: 15px;
  }

  .card {
    flex: 1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
    position: absolute;
  }

}
