/* ===== HEADER CONTAINER ===== */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
}

.ieee-meta-header {
  background: #000;
  color: #fff;
  width: 100%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.ieee-meta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ieee-meta-left,
.ieee-meta-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ieee-meta-header a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
}

.ieee-meta-header a:hover {
  text-decoration: underline;
}

.ieee-meta-sep {
  opacity: 0.6;
}

.navbar {
  position: relative;
  width: 100%;
  background: #004080;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.navbar__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar__logo {
  height: 50px;
  width: auto;
  min-width: 0;
}

.navbar__logo2 {
  display: none;
  height: 40px;
  width: auto;
  min-width: 0;
}

.menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav__links a:hover {
  color: #aad0ff;
}

.nav__links a.active {
  color: #aad0ff;
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #aad0ff;
}

footer {
  background: #004080;
  color: #fff;
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  padding: 1rem;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer-map-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-logo-sub {
  font-size: 1rem;
  opacity: 0.9;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  border-right: none;
  padding-right: 1rem;
  min-width: 0;
}

.footer-links-col a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links-col a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-social-col {
  text-align: center;
  align-items: center;
}

.footer-social-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #fff;
  transform: translateY(-3px);
}

.social-links a.facebook:hover {
  color: #1877f2;
}

.social-links a.instagram:hover {
  color: #e4405f;
}

.social-links a.linkedin:hover {
  color: #0077b5;
}

.social-links a.youtube:hover {
  color: #ff0000;
}

.footer-bottom-text {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-text p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-bottom-text a {
  color: #aad0ff;
  text-decoration: none;
}

.footer-bottom-text a:hover {
  text-decoration: underline;
}

/* Override older site-wide footer rules so footer stays identical to team.html */
footer .footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

footer .footer-col {
  display: block;
  gap: 0;
}

footer .footer-links-col {
  border-right: none;
  padding-right: 1rem;
}

footer .footer-col.footer-social-col .social-links {
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0;
}

footer .footer-col.footer-social-col .social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

footer .footer-col.footer-social-col .social-links a.facebook,
footer .footer-col.footer-social-col .social-links a.instagram,
footer .footer-col.footer-social-col .social-links a.linkedin,
footer .footer-col.footer-social-col .social-links a.youtube {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

footer .footer-col.footer-social-col .social-links a:hover {
  background: #fff;
  transform: translateY(-3px);
  filter: none;
  box-shadow: none;
}

footer .footer-col.footer-social-col .social-links a.facebook:hover {
  color: #1877f2;
}

footer .footer-col.footer-social-col .social-links a.instagram:hover {
  color: #e4405f;
}

footer .footer-col.footer-social-col .social-links a.linkedin:hover {
  color: #0077b5;
}

footer .footer-col.footer-social-col .social-links a.youtube:hover {
  color: #ff0000;
}

footer .footer-bottom-text {
  background: transparent;
  position: static;
  width: auto;
  left: auto;
  right: auto;
  margin: 3rem 0 0;
  padding: 2rem 0 0;
  border-radius: 0;
}

footer .footer-bottom-text a {
  color: #aad0ff;
  text-decoration: none;
  font-weight: 400;
}

footer .footer-bottom-text a:hover {
  text-decoration: underline;
}

.ieee-black-footer {
  background: #000;
  color: #fff;
  width: 100%;
  padding: 14px 24px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.ieee-black-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.ieee-black-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.ieee-black-links a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.ieee-black-links a:hover {
  text-decoration: underline;
}

.ieee-black-sep {
  opacity: 0.6;
}

.ieee-black-copy {
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .menu {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    max-height: 0;
    background: #004080;
    flex-direction: column;
    align-items: center;
    padding: 0;
    transition: left 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
    overflow-y: auto;
    gap: 1rem;
    display: flex;
  }

  .nav__links.active,
  .nav__links.open {
    left: 0;
    max-height: 500px;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .ieee-meta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ieee-meta-right {
    align-self: flex-end;
  }

  .navbar {
    padding: 1rem;
  }

  .ieee-black-footer {
    padding: 16px;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  footer .footer-col {
    text-align: center;
    margin-bottom: 2rem;
  }

  footer .footer-links-col {
    align-items: center;
  }

  footer .footer-links-col a {
    font-size: 0.95rem;
  }

  footer .footer-logo-main {
    font-size: 1.2rem;
  }

  .footer-logo-sub {
    font-size: 0.9rem;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .footer-bottom-text p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .ieee-meta-sep {
    display: none;
  }

  .ieee-black-links {
    row-gap: 6px;
  }

  .ieee-meta-header {
    font-size: 12px;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  footer .footer-col {
    padding: 0;
  }

  footer .footer-links-col a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .footer-logo-main {
    font-size: 1rem;
  }

  .footer-logo-sub {
    font-size: 0.8rem;
  }

  .footer-logo-col {
    gap: 0.3rem;
  }

  .footer-map-logo {
    width: 80px;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-social-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-bottom-text p {
    font-size: 0.75rem;
    padding: 0 0.5rem;
    line-height: 1.5;
  }

  .ieee-black-footer {
    padding: 12px 1rem;
    font-size: 12px;
  }

  .ieee-black-links a {
    font-size: 0.85rem;
  }
}
