/* -------- GLOBAL -------- */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #333;
}
a { text-decoration: none; color: inherit; }
.container { width: 90%; margin: auto; max-width: 1200px; }
h2 { color: #0b1b33; text-align: center; margin-bottom: 15px; font-size: 2rem; }
.btn {
  display: inline-block;
  background: #0078d7;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  margin-top: 20px;
  transition: 0.3s;
}
.btn:hover { background: #005fa3; }

header {
  background: #0b1b33;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.top-bar {
  background: #071427;
  padding: 8px 5%;
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-end;
  color: #ddd;
  gap: 20px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}
/* ===== LOGO STYLING ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 80px;
  width: 90px;
}

.logo-text {
  font-size: 1.9rem;
  font-weight: 700;
  color: #00b4d8;
  text-transform: none;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 45px;
  }

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

 .nav-links {
      display: flex;
      list-style: none;
      margin: 0 8px;
      align-items: center;
      gap: 10px;
    }

    .nav-links li a {
      color: #fff;
      font-weight: 500;
      transition: color 0.3s;
      padding: 8px 16px;
      display: inline-block;  
      
    }
.nav-links li a:hover,
.nav-links li a.active { color: #00aaff; }
.hamburger { display: none; color: white; font-size: 1.5rem; cursor: pointer; }



/* -------- ABOUT -------- */
.about {
  background: white;
  text-align: center;
  padding: 70px 20px;
}
.about p {
  max-width: 800px;
  margin: auto;
  color: #555;
  font-size: 1rem;
}

/* -------- SERVICES -------- */
.services {
  background: #f1f5fb;
  padding: 80px 20px;
}
.section-intro {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.service-card img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}
.service-card h3 { color: #004080; margin-top: 15px; }

/* -------- FOOTER -------- */
footer {
  background: #0b1b33;
  color: #ccc;
  padding: 50px 5%;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.footer-col h5 {
  color: white;
  margin-bottom: 15px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ccc;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #00aaff;
}
.social-icons a {
  color: #00aaff;
  margin-right: 15px;
  font-size: 1.3rem;
}
.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5%;
    background: #0b1b33;
    flex-direction: column;
    width: 220px;
    border-radius: 10px;
    display: none;
    padding: 15px 0;
  }
  .nav-links.show { display: flex; }
  .hamburger { display: block; }
  .top-bar { flex-direction: column; align-items: center; gap: 5px; }
}
.why-us {
  padding: 80px 0;
  background: #0b1b33;
  color: #fff;
  text-align: center;
}

.why-us h3 {
  margin-bottom: 35px;
  font-size: 2.2rem;
}

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

.why-grid div {
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: 10px;
}
.cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2.3rem;
}

/* ================= HERO FIX ================= */

.hero {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at top, #0b1b33, #020b1a);
}

/* Canvas background */
#techCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Centered content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: #fff;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}


body {
  font-family: "Poppins", sans-serif;
}
.hero-overlay {
  animation: fadeUp 1.2s ease-out forwards;
  opacity: 0;
}

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

body {
  font-family: "Poppins", sans-serif;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* ===== TOP CONTACT BAR ===== */
.top-bar {
  background: #0b1b33;
  color: #fff;
  font-size: 0.9rem;
}

.contact-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* LEFT */
.contact-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CENTER */
.contact-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* RIGHT */
.contact-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-right a {
  color: #00aaff;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact-right a:hover {
  color: #fff;
}
/* ===== MOBILE HORIZONTAL SCROLL CONTACT BAR ===== */
@media (max-width: 768px) {
  .contact-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }

  .contact-bar::-webkit-scrollbar {
    display: none; /* Chrome, Edge */
  }

  .contact-left,
  .contact-center,
  .contact-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .contact-center {
    gap: 20px;
  }
}
/* ===== AUTO SCROLL CONTACT BAR (MOBILE ONLY) ===== */
@media (max-width: 768px) {

  .contact-bar {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
  }

  .contact-bar {
    display: flex;
    align-items: center;
  }

  .contact-bar > * {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding-right: 50px;
    animation: contactScroll 18s linear infinite;
  }

  @keyframes contactScroll {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}











