/* Base */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans 3', sans-serif;
  color: #f9fafb;
  background: transparent;
  overflow-x: hidden;
  line-height: 1.6;
}

#galaxy-bg {
  display: block;
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  will-change: transform;
  -webkit-overflow-scrolling: touch;
}

.do-container {
  max-width: 1200px;
  margin: 0 auto;
}

.do-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.do-header nav {
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.do-header .do-logo {
  line-height: 0;
  opacity: 0;
  animation: slide-down 1s ease-out forwards;
  animation-delay: 0.2s;
}

.do-header ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0; padding: 0;
}

.do-header nav a {
  color: #f9fafb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.do-header nav a:hover {
  color: #0ebab1;
}

.do-header ul li {
  opacity: 0;
  transform: translateX(50px);
  animation: slide-left 0.6s ease-out forwards;
}

.do-header ul li:nth-child(1) { animation-delay: 0.5s; }
.do-header ul li:nth-child(2) { animation-delay: 0.7s; }
.do-header ul li:nth-child(3) { animation-delay: 0.9s; }

#home {
  padding: 7rem 2rem;
}

#home .do-sub-heading {
  font-size: 1.75rem;
}

#home .do-t1 {
  color:#0ebab1;
}
#home .do-t2 {
  color:#0ebab1;
  border-bottom:4px solid #0ebab1;
}
#home .do-t3 {
  border-top:4px solid #f9fafb;
}
#home .do-t4 {
  border-top:4px solid #f9fafb;
}

.do-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  opacity: 0;
  animation: fade-slide-up 1s ease-out forwards;
  animation-delay: 1s;
}

#globe-container {
  flex: 1;
  position: relative;
  min-width: 250px;
  height: auto;
}

#home h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#home p {
  font-size: 1.2rem;
  color: #dbeafe;
  margin-bottom: 2rem;
}

.do-row {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.do-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.do-btn.primary {
  background: #0dafa7;
  color: #f9fafb;
}

.do-btn.primary:hover {
  background: #0a9b94;
}

.do-btn.secondary {
  border: 2px solid #0dafa7;
  color: #0dafa7;
  background: transparent;
}

.do-btn.secondary:hover {
  background: #0dafa7;
  color: #f9fafb;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* Services */
#services {
  background: rgba(0,0,0,0.4);
  padding: 4rem 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 48px;
  margin-bottom: 1rem;
}

/* Why Us */
#why-us {
  padding: 4rem 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 1.5rem;
}

.why-card img {
  width: 40px;
  margin-bottom: 1rem;
}

/* Products */
#products {
  background: rgba(0,0,0,0.4);
  padding: 4rem 2rem;
}

.products-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.products-grid img {
  max-height: 100px;
  border-radius: 8px;
  transform: scale(1);
}

.products-grid img:hover {
  transform: scale(1.05);
}

/* Contact */
#contact {
  padding: 4rem 2rem;
  margin: 0 auto;
  text-align: center;
}

.chat-container {
   font-size: 1.3rem;
}

.chat-container > div {
  margin-top: 10px;
}

.chat-container > div:nth-child(odd) {
  color: #0ebab1;
}

.chat-container > div:nth-child(even) {
  color: #f9fafb;
}

.chat-container button {
  margin: 5px;
  padding: 10px 15px;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.chat-container .chat-input {
  margin-top: 10px;
  padding: 0.375rem 1rem;
  font-size: 1rem;
  border: 0.0625rem solid #0ebab1;
  border-radius: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

/* Footer */
.do-footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.75);
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Floating Button */
#chat-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #0dafa7;
  color: #f9fafb;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  cursor: pointer;
  z-index: 1000;

  opacity: 0;
  animation: fade-slide-up 1s ease-out forwards;
  animation-delay: 1s;
}

/* Chat bubble tail */
#chat-float-btn::after {
  content: '';
  position: absolute;
  bottom: -8px;               /* Tail below bubble */
  right: 16px;                /* Adjust horizontal position */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #0dafa7;
}

@media (max-width: 480px) {
  .do-header ul {
    gap: 1rem;
  }
  #home {
    margin-top: 2.0rem;
  }
  #home h1 {
    font-size: 2.0rem;
  }
  #home p {
    font-size: 1.0rem;
  }
  #home .do-sub-heading {
    font-size: 1.5rem;
  }
  .do-btn {
    padding: 0.6rem 1.0rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  #home, #services, #why-us, #products, #contact {
    padding: 2rem;
  }
}

@keyframes slide-down {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slide-left {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-slide-up {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}