/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: #000000; /* Pure black background */
  color: #ffffff; /* Pure white text */
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 6px 4%;
  background: #00ff66; /* Luminous green */
  color: #000000;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0 12px rgba(0, 70, 204, 0.3);
  min-height: 56px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container .logo {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 0 6px #00ff66);
  transition: filter 0.3s;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(-10px) scale(0.85);
  animation: logo-load 0.55s ease forwards;
  animation-delay: 0.05s;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
  margin-left: auto;
}

.nav-links li a {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.4px;
  line-height: 1;
  padding: 8px 18px;
  border: 3px solid #000000; /* Black border for contrast */
  border-radius: 999px; /* pill shape */
  background: var(--footer-blue);
  box-shadow: 0 6px 14px rgba(0, 58, 159, 0.18);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease,
    border 0.25s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #ffffff;
  background: #002f75; /* darker blue on hover */
  box-shadow:
    0 8px 26px rgba(0, 47, 117, 0.45),
    0 0 14px rgba(0, 255, 102, 0.06);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
}

.nav-links li a:focus-visible {
  outline: 3px solid rgba(0, 127, 255, 0.18);
  outline-offset: 3px;
}

@media (min-width: 769px) {
  .nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    animation: nav-link-load 0.55s ease forwards;
  }

  .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-links li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-links li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-links li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-links li:nth-child(5) {
    animation-delay: 0.5s;
  }
}

@keyframes nav-link-load {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-load {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 12px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  transition: 0.1s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.85), rgba(0, 70, 204, 0.85)),
    url("logo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  color: #ffffff;
  margin-top: 50px;
}

section h2,
.hero p,
.sparkle {
  color: inherit;
  background-image: linear-gradient(
    90deg,
    currentColor 40%,
    rgba(255, 255, 255, 0.45) 49%,
    rgba(255, 255, 255, 0.45) 51%,
    currentColor 60%
  );
  font-weight: bold;
  background-size: 300% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen-sweep 5s linear infinite;
}

.hero h2 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation:
    hero-text-in 0.7s ease forwards,
    sheen-sweep 5s linear infinite;
  animation-delay: 0.1s;
}

.hero p {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation:
    hero-text-in 0.7s ease forwards,
    sheen-sweep 5s linear infinite;
  animation-delay: 0.25s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-text-in 0.7s ease forwards;
  animation-delay: 0.4s;
}

@keyframes hero-text-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheen-sweep {
  0%,
  50% {
    background-position: 100% 50%;
  }

  50%,
  55% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn {
  background: #00ff66; /* Luminous green button */
  color: #000000;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.btn:hover {
  background: #0047cc; /* Luminous blue on hover */
  color: #ffffff;
  box-shadow: 0 0 20px #0047cc;
}

/* Sections */
section {
  padding: 60px 5%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.card {
  flex: 1 1 250px;
  background: #0047cc; /* Luminous blue */
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px #00ff66;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #00ff66;
}

.product-list {
  list-style: none;
  padding: 0;
}

.product-list li {
  padding: 8px 0;
  border-bottom: 2px solid rgba(0, 255, 102, 0.3);
  font-size: 0.95rem;
}

.product-list li:last-child {
  border-bottom: none;
}

/* Mission & Vision */
.mission-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.mission-box {
  flex: 1 1 300px;
  background: #00ff66; /* Luminous green */
  color: #000000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px #00ff66;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #00ff66, #00cc52);
  color: #000000;
  text-align: center;
  border-radius: 8px;
  padding: 40px 20px;
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.5);
}

/* Research & Innovation */
.research {
  background: #000000;
  color: #ffffff;
}

.research-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.research-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
}

.research-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ff66;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Core Values Section */
.values {
  background: #3d3d3d;
  color: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.value-item {
  background: linear-gradient(135deg, #00ff66, #00cc52);
  color: #000000;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.6);
}

.value-item h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Competitive Advantage Section */
.advantage {
  background: #000000;
  color: #ffffff;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.advantage-item {
  background: #0047cc;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #00ff66;
  box-shadow: 0 0 15px rgba(0, 70, 204, 0.5);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.advantage-item:hover {
  transform: translateX(5px);
  box-shadow: 0 0 25px #00ff66;
}

.advantage-item h4 {
  color: #00ff66;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.advantage-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Spacing and readable widths for About and Contact */
.about {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 102, 0.85),
    rgba(0, 70, 204, 0.85)
  );

  color: #ffffff;
  padding: 40px 5%;
}

.about .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background: #252525;
  border: 2px solid #00ff66;
  border-radius: 16px;
}

.solutions {
  background: #3d3d3d;
  color: #ffffff;
}

.about p {
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.contact .container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 12px;
}

.contact p {
  line-height: 1.7;
  margin: 10px 0;
  font-size: 1.03rem;
  color: inherit;
}

/* Contact inner layout with logos left and right */
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-logo {
  width: 260px;
  height: auto;
  opacity: 0.98;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  flex: 0 0 auto;
  margin-left: 50px;
  border-radius: 16px;
}

.contact-content {
  flex: 1 1 720px;
  text-align: center;
}

.contact-content h2 {
  font-size: 1.9rem;
}

/* Footer */
footer {
  background: #003a9f;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 -2px 15px rgba(0, 255, 102, 0.3);
  font-size: 0.9rem;
}

.footer-content p {
  margin: 10px 0;
  line-height: 1.6;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger delays for grid/card items */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}
.reveal-delay-6 {
  transition-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero h2,
  .hero p,
  .hero .btn,
  .nav-links li,
  .nav-links.open li,
  section h2,
  .hero h2,
  .hero h2::after,
  section h2::after,
  .logo-container .logo {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .nav-links {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
    background: #d2e507;
    position: absolute;
    top: 65px;
    left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.45s ease,
      opacity 0.35s ease;
  }

  .nav-links.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) {
    transition-delay: 0.06s;
  }

  .nav-links.open li:nth-child(2) {
    transition-delay: 0.12s;
  }

  .nav-links.open li:nth-child(3) {
    transition-delay: 0.18s;
  }

  .nav-links.open li:nth-child(4) {
    transition-delay: 0.24s;
  }

  .nav-links.open li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .hamburger {
    display: flex;
  }

  .logo-container .logo {
    width: 60px;
  }

  .nav-links li a {
    font-size: 1rem;
  }

  .contact-logo {
    width: 180px;
    margin: auto;
  }

  .hero {
    height: 90vh;
    margin-top: auto;
  }
  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.6rem;
  }

  .cards {
    flex-direction: column;
  }

  .mission-container {
    flex-direction: column;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .research-list li {
    font-size: 0.95rem;
  }
}
