body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

section {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 50vh; /* Reduced to half viewport height */
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #60a5fa);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 1rem 2rem;
  text-align: center;
  overflow: hidden; /* Ensure particles don't overflow */
}

#tsparticles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0; /* Ensure particles are behind other content */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #3b82f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  box-sizing: border-box;
}

.navbar .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.navbar .logo img {
  height: 50px;
  max-width: 180px;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navbar .logo .company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.navbar .nav-links a {
  color: #1e3a8a;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar .nav-links a:hover {
  color: #3b82f6;
}

/* Mobile Navbar */
.navbar .menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a8a;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar .logo img {
    height: 40px;
    max-width: 140px;
  }

  .navbar .logo .company-name {
    font-size: 1.3rem;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

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

  .navbar .nav-links a {
    margin: 0.75rem 0;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
  }

  .navbar .menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 0.75rem;
  }

  .navbar .logo img {
    height: 36px;
    max-width: 120px;
  }

  .navbar .logo .company-name {
    font-size: 1.1rem;
  }

  .navbar .menu-toggle {
    font-size: 1.3rem;
  }

  .navbar .nav-links a {
    font-size: 1rem;
  }
}

/* Shield Container */
.shield-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
}

.shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 120px;
  background: linear-gradient(145deg, #3b82f6, #60a5fa);
  border-radius: 15px 15px 40% 40%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.checkmark {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

/* Energy Rings - Advanced Neon Sci-Fi */
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;

  /* Glowing gradient stroke */
  border: 2px solid transparent;
  background: conic-gradient(
    from 0deg,
    rgba(59, 130, 246, 0.9),
    rgba(147, 197, 253, 0.6),
    rgba(59, 130, 246, 0.9)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 2px));

  /* Neon glow halo */
  box-shadow:
    0 0 25px rgba(59, 130, 246, 0.7),
    0 0 60px rgba(59, 130, 246, 0.5),
    0 0 120px rgba(147, 197, 253, 0.4);

  /* Animations */
  animation: rotateRing 30s linear infinite,
             pulseRing 8s ease-in-out infinite,
             flicker 3s infinite;
}

.ring1 { width: 180px; height: 180px; animation-duration: 24s, 6s, 3s; }
.ring2 { width: 240px; height: 240px; animation-duration: 36s, 8s, 4s; }
.ring3 { width: 320px; height: 320px; animation-duration: 48s, 10s, 5s; }

/* Smooth orbital rotation */
@keyframes rotateRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Breathing energy pulse */
@keyframes pulseRing {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Subtle shimmer flicker */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    filter: brightness(1);
  }
  20%, 24%, 55% {
    filter: brightness(1.4);
  }
}


/* Floating Icons */
.icon {
  position: absolute;
  font-size: 1.5rem;
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  animation: float 5s ease-in-out infinite alternate;
}

.icon1 { top: -30px; left: 50%; transform: translateX(-50%); }
.icon2 { top: 50%; left: -30px; transform: translateY(-50%); }
.icon3 { top: 50%; right: -30px; transform: translateY(-50%); }
.icon4 { bottom: -30px; left: 15%; }
.icon5 { bottom: -30px; right: 15%; }
.icon6 { top: 15%; right: 15%; }

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-10px) translateX(5px); }
}

/* Digital Lines */
.line {
  position: absolute;
  background: rgba(59, 130, 246, 0.3);
  z-index: 1;
}

.line1 { width: 2px; height: 40px; top: 0; left: 30%; }
.line2 { width: 2px; height: 40px; bottom: 0; left: 70%; }
.line3 { width: 40px; height: 2px; top: 20%; right: 0; }
.line4 { width: 40px; height: 2px; bottom: 20%; left: 0; }
.line5 { width: 2px; height: 30px; top: 10%; left: 10%; }
.line6 { width: 2px; height: 30px; bottom: 10%; right: 10%; }

/* Hero Content */
.hero-content {
  text-align: center;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #e0f2fe;
}

.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo img {
  max-width: 750px; /* Tripled from 250px */
  height: auto;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 30%, rgba(59, 130, 246, 0.5) 70%, transparent 100%);
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); /* Enhanced for clarity */
}

/* Sections */
section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.8rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
  text-align: center;
}

section p, section ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

section ul li::before {
  content: "✓";
  color: #3b82f6;
  font-weight: bold;
}

/* Partners */
.partners {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.partners img {
  max-width: 80px;
  height: auto;
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.partners img:hover {
  filter: grayscale(0);
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonials blockquote {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-style: italic;
  color: #4b5563;
  font-size: 0.9rem;
}

/* Contact Form */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 500px;
  margin: 1.5rem auto;
}

#contact-form input, #contact-form textarea {
  padding: 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #333;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact-form button {
  padding: 0.6rem;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact-form button:hover {
  background: #1e40af;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
  }

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

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-logo img {
    max-width: 540px; /* Tripled from 180px */
  }

  .shield-container {
    width: 180px;
    height: 180px;
  }

  .shield {
    width: 90px;
    height: 110px;
  }

  .ring1 { width: 130px; height: 130px; }
  .ring2 { width: 160px; height: 160px; }

  .icon { font-size: 1.3rem; }

  .partners {
    flex-direction: column;
    align-items: center;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 70px;
  }

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

  .hero-content p {
    font-size: 0.85rem;
  }

  .hero-logo img {
    max-width: 420px; /* Tripled from 140px */
  }

  .shield-container {
    width: 160px;
    height: 160px;
  }

  .shield {
    width: 80px;
    height: 100px;
  }

  .ring1 { width: 120px; height: 120px; }
  .ring2 { width: 140px; height: 140px; }

  .icon { font-size: 1.2rem; }

  section h2 {
    font-size: 1.5rem;
  }

  section p, section ul {
    font-size: 0.9rem;
  }

  .partners img {
    max-width: 60px;
  }

  .testimonials blockquote {
    font-size: 0.85rem;
  }

  #contact-form input, #contact-form textarea, #contact-form button {
    font-size: 0.85rem;
  }
}