/* ============================================================
   NAVBAR + FOOTER — SHARED STYLE (use on every page)
   ============================================================ */

/* Enhanced Glassy Navbar */
.navbar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 1100px;
  background: rgba(207, 98, 98, 0);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 60px;
  padding: 12px 25px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 45px;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #00BFFF 0%, #ffffff 50%, #87CEEB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  background: linear-gradient(135deg, #ffffff 0%, #00BFFF 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 35px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}

.navbar-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 35px;
  opacity: 0;
  transition: all 0.3s ease;
}

.navbar-menu li a:hover::before {
  opacity: 1;
}

.navbar-menu li a:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(0, 191, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.navbar-menu li a:active {
  transform: translateY(0);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.navbar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  margin: 2.5px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(30px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.2),
    0 4px 18px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar.scrolled:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Dropdown submenu (Leadership) */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(0, 0, 0);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 2px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.navbar-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu li {
  display: block;
  margin: 0;
}

.submenu li a {
  display: block;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 8px !important;
  margin: 2px 8px;
  transition: all 0.2s ease !important;
}

.submenu li a::before {
  display: none;
}

.submenu li a:hover {
  background: rgba(0, 191, 255, 0.15) !important;
  color: #00BFFF !important;
  transform: translateY(0) !important;
  box-shadow: none !important;
}

/* Mobile sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(2, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 30px 30px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.3s ease forwards;
}

.mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: 16px 20px;
  border-radius: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu li a:hover {
  color: #00BFFF;
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateX(8px);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1200px) {
  .navbar {
    width: 90%;
    padding: 10px 20px;
  }
  .navbar-menu {
    gap: 5px;
  }
  .navbar-menu li a {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    width: 80%;
    padding: 8px 15px;
  }
  .navbar-brand {
    font-size: 1.6rem;
  }
  .navbar-menu {
    display: none;
  }
  .navbar-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 10px;
    border-radius: 45px;
  }
  .navbar-container {
    height: 40px;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }
  .mobile-sidebar {
    width: 280px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #00BFFF, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-media {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-media img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.footer-media img:hover {
  transform: scale(1.1);
}

.footer-media video {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-section ul li a:hover {
  color: #00BFFF;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 24px;
}

.social-links a:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: #00BFFF;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-left {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-bottom-right {
  display: flex;
  gap: 30px;
}

.footer-bottom-right a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
  color: #00BFFF;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-media {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-bottom-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }
  .footer-container {
    padding: 0 15px;
  }
  .footer-logo {
    font-size: 1.5rem;
  }
  .social-links a {
    width: 35px;
    height: 35px;
  }
}
