* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0e11;
  color: #fff;
}

#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(29,161,242,0.15), transparent 70%);
  animation: pulse 6s infinite alternate;
  z-index: -1;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.glow-text {
  background: linear-gradient(90deg, #1DA1F2, #00f0ff, #1DA1F2);
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowMove 4s linear infinite;
}

@keyframes glowMove {
  to {
    background-position: 200% center;
  }
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Mobile Menu */
.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-links {
  display: flex;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b0e11;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #222;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;

  background: rgba(11,14,17,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  padding: 20px 0;
  transition: all 0.3s ease;
}

/* When scrolled */
.header.scrolled {
  padding: 10px 0;
  background: rgba(11,14,17,0.8);
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.nav a {
  margin-left: 20px;
  color: #ccc;
  text-decoration: none;
}

.logo {
  color: #1DA1F2;
  transition: transform 0.3s ease;
}

.logo img {
  height: 40px;
  width: auto;
  transition: 0.3s;
}
.logo img:hover {
  filter: drop-shadow(0 0 8px rgba(29,161,242,0.6));
}
@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}

.header.scrolled .logo {
  transform: scale(0.9);
}

/* Hero */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #1DA1F2 0%, #0b0e11 70%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero p {
  margin: 20px 0;
  color: #aaa;
  padding-bottom: 15px;
}

.btn {
  background: #1DA1F2;
  padding: 12px 25px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

/* Services */
.services {
  padding: 80px 0;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-weight: bold;
  z-index: 2;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.card:hover img {
  transform: scale(1.1);
}

.testimonials h2{
  margin-bottom: 15px;
}

.testimonials {
  padding: 80px 20px;
  text-align: center;
}

.testimonial-slider {
  overflow: hidden;
  max-width: 800px;
  margin: auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Each slide */
.testimonial-card {
  min-width: 100%;
  background: rgba(11,14,17,0.8);
  border: 1px solid rgba(29,161,242,0.2);
  border-radius: 10px;
  padding: 30px;
  backdrop-filter: blur(8px);
}

/* Text */
.testimonial-card p {
  color: #ccc;
  margin: 15px 0;
}

.testimonial-card h4 {
  color: #1DA1F2;
}

.stars {
  color: gold;
}

.testimonial-slider {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.testimonial-slider:active {
  cursor: grabbing;
}

/* About */
.about {
  padding: 80px 0;
  text-align: center;
}

.about h2{
  padding-bottom: 30px;
}

.about li{
padding: 3px;
}

/* Contact */
.contact {
  padding: 80px 0;
  padding-bottom: 100px;
}

.contact h2{
  text-align: center;
  padding-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
}

button {
  padding: 12px;
  background: #1DA1F2;
  border: none;
  color: white;
}

/* Scroll Animations */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/*AI Chatbox*/
.chat-wrapper {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
}

/* Button */
.chat-toggle {
  background: #1DA1F2;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.chat-toggle:hover {
  box-shadow: 0 0 15px rgba(29,161,242,0.6);
}

/* Chatbox */
.chat-container {
  margin-top: 20px;
  background: #0b0e11;
  border: 1px solid #1DA1F2;
  border-radius: 10px;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);

  transition: all 0.4s ease;
}

/* Active state */
.chat-container.active {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.chat-header {
  background: #1DA1F2;
  padding: 12px;
  font-weight: bold;
}

/* Body */
.chat-body {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
  text-align: left;
}

/* Input */
#chatInput {
  width: 100%;
  padding: 12px;
  border: none;
  outline: none;
}

.btn:hover {
  box-shadow: 0 0 20px rgba(29,161,242,0.6);
}

.card:hover {
  box-shadow: 0 0 30px rgba(29,161,242,0.4);
}

/* Whatsapp Floating */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.whatsapp svg {
  width: 26px;
  height: 26px;
}

.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37,211,102,0.7);
}

/* Footer */
.footer {
  background: #05070a;
  padding: 50px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 -5px 30px rgba(29,161,242,0.1);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1DA1F2, transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Logo section */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

/* Links */
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1DA1F2;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    flex: 1;
    align-items: center;
  }
}

/* Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-item a {
  color: #ccc;              /* light grey (readable on dark bg) */
  text-decoration: none;
}

.contact-item a:hover {
  color: #1DA1F2;           /* your theme blue on hover */
  text-decoration: underline;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: #1DA1F2;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  color: #ccc;
  transition: 0.3s;
}

.footer-socials svg:hover {
  color: #1DA1F2;
  transform: scale(1.2);
}

.map {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

/* Loader */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0b0e11;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loader img {
  width: 80px;
  animation: pulse 1.5s infinite;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #1DA1F2;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}