/* ==== TOP BAR ==== */
.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: fadeDown 1s ease;
}

.top-bar img {
  height: 55px;
  filter: drop-shadow(0 0 10px rgba(0, 140, 255, 0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.top-bar img:hover {
  transform: scale(1.18) rotate(4deg);
  filter: drop-shadow(0 0 18px rgba(0, 140, 255, 0.6));
}

/* ==== NAVBAR ==== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  z-index: 1000;
  animation: fadeDown 1.2s ease;
}

.navbar .nav-links {
  list-style: none;
  display: inline-flex;
  gap: 40px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #007aff, #00c2b7);
  transition: width 0.35s ease;
}

.navbar a:hover {
  color: #d07826;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar .has-dropdown{
  position: relative;
}

.navbar .has-dropdown > .dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/*Submenu  Panel*/
.navbar .dropdown {
  position: absolute;
  top: 115%;
  left: 0;
  min-width: 260px;
  padding: 12px;
  background: #ffffff; /* solid white background */
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  list-style: none;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}

/* Dropdown links */
.navbar .dropdown li a {
  display: block;
  padding: 10px 15px;
  color: #0d1b4c; /* dark blue text */
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 6px;
}

/* Hover effect */
.navbar .dropdown li a:hover {
  background: #0d1b4c;  /* dark blue hover bg */
  color: #ffffff;       /* white text on hover */
  transform: translateX(6px);
}


.navbar .dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #780b0b;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.navbar .dropdown li a:hover,
.navbar .dropdown li a:focus {
  background: rgba(0,255,224,0.12);
  color: #000000;
  transform: translateX(3px);
}

/* show on hover (desktops) */
@media (hover:hover) {
  .navbar .has-dropdown:hover > .dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* keyboard focus support */
.navbar .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* open state (mobile via JS) */
.navbar .has-dropdown.open > .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* tweak for small screens: make submenu full-width under link */
@media (max-width: 900px) {
  .navbar .dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 10px;
    transform: none;
    opacity: 1;           /* visible when .open is added */
    pointer-events: auto; /* controlled by .open */
    display: none;        /* hide by default on mobile */
  }
  .navbar .has-dropdown.open > .dropdown {
    display: block;
  }
}

/* ===== Oversight Section Styling ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #0a0a0f, #141820, #1c1f2b);
  color: #eaeaea;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ===== Oversight Wrapper ===== */
.oversight {
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 247, 255, 0.15);
  animation: fadeUpSection 1.5s ease forwards;
  z-index: 2;
}

/* ===== Typing Title ===== */
.oversight h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #00f7ff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #2ecc71;
  width: 0;
  animation: typing 4s steps(25) forwards, blink 0.75s step-end infinite;
  text-shadow: 0 0 15px #00f7ff, 0 0 30px rgba(0, 247, 255, 0.8);
}

.oversight h1 span {
  color: #2ecc71;
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.9),
               0 0 40px rgba(46, 204, 113, 0.6),
               0 0 60px rgba(46, 204, 113, 0.4);
  animation: flicker 3s infinite alternate;
}

/* ===== Paragraphs ===== */
.oversight p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 20px 0;
  color: #cccccc;
  opacity: 0;
  transform: translateY(20px);
  animation: textWave 1.2s ease forwards;
}

.oversight p:nth-child(2) { animation-delay: 5s; }
.oversight p:nth-child(3) { animation-delay: 5.3s; }
.oversight p:nth-child(4) { animation-delay: 5.6s; }

/* ===== Floating Neon Blobs ===== */
.oversight::before,
.oversight::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.4;
  z-index: -1;
}

.oversight::before {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -100px;
  background: rgba(0, 247, 255, 0.3);
  animation: floatBlob 10s ease-in-out infinite alternate;
}

.oversight::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  background: rgba(46, 204, 113, 0.25);
  animation: floatBlob 14s ease-in-out infinite alternate-reverse;
}

/* ===== Holographic Scan Line Effect ===== */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  animation: scanlines 8s linear infinite;
  z-index: 5;
  pointer-events: none;
}

/* ===== Hover Ripple ===== */
.oversight:hover {
  box-shadow: 0 0 60px rgba(0, 247, 255, 0.8),
              0 0 120px rgba(46, 204, 113, 0.4);
  transition: all 0.4s ease-in-out;
}

/* ===== Particle Canvas ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ===== Keyframes ===== */
@keyframes fadeUpSection {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.4; }
}

@keyframes textWave {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatBlob {
  0% { transform: translate(0,0); }
  100% { transform: translate(50px, -40px); }
}

@keyframes scanlines {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .oversight h1 { font-size: 2rem; }
  .oversight p { font-size: 1rem; }
}


/* ==== PARTNERS ==== */
.partners {
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
  animation: fadeUp 1.2s ease;
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(0,140,255,0.2);
}

.partners h2 span {
  color: #00c2b7;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
}

.partners-logos img {
  height: 45px;
  filter: grayscale(100%) brightness(0.6);
  transition: 0.4s;
}

.partners-logos img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0,140,255,0.4);
  border-radius: 8px;
}

/* ====== Footer ====== */
.footer {
  background: rgb(2, 23, 40);
  color: #ffffff;
  text-align: center;
  padding: 20px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-nav li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  color: #007aff;
}

.footer-logo img {
  width: 95px;
  height: auto;
}

.footer-logo p {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: bold;
}

.footer-contact p {
  margin: 0;
  font-size: 11px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgb(255, 253, 253);
  margin-top: 10px;
  padding-top: 6px;
  font-size: 10px;
  color: #ffffff;
}

/* ===== Universal Responsive Fixes ===== */

/* Make all images flexible */
img {
  max-width: 100%;
  height: auto;
}

/* Avoid overflow on small screens */
.container, section, div {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Responsive Layouts ===== */
@media (max-width: 1024px) {
  .navbar .nav-links {
    gap: 25px; /* shrink spacing */
  }
  .partners-logos {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Navbar becomes vertical */
  .navbar .nav-links {
    flex-direction: column;
    gap: 15px;
  }
  .navbar {
    padding: 12px;
  }

  /* Oversight section */
  .oversight {
    margin: 60px 15px;
    padding: 25px;
  }
  .oversight h1 {
    font-size: 1.8rem;
    white-space: normal; /* break long text */
    border-right: none;  /* remove typing border */
  }
  .oversight p {
    font-size: 1rem;
  }

  /* Partners logos shrink */
  .partners-logos img {
    height: 35px;
  }

  /* Footer stack */
  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  /* Tiny phones */
  .top-bar {
    flex-direction: column;
    gap: 15px;
  }
  .top-bar img {
    height: 40px;
  }

  .navbar .nav-links {
    gap: 12px;
  }
  .navbar a {
    font-size: 0.9rem;
  }

  .oversight h1 {
    font-size: 1.5rem;
  }
  .oversight p {
    font-size: 0.9rem;
  }

  .partners h2 {
    font-size: 1.5rem;
  }
  .partners-logos {
    gap: 25px;
  }

  .footer-logo img {
    width: 70px;
  }
  .footer-contact p {
    font-size: 10px;
  }
}

