@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* *************HTML************* */
body, html {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  max-width: 1800px;
  min-height: 100vh;
  scroll-behavior: smooth;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  border: 0;
}

/* *************ALERT MESSAGE STYLES************* */

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* ******************BASE HTML****************** */

.content-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

.page-container {
    height: 100vh;
    width: 100%;
}

/* ****************** NAVBAR STYLE ****************** */

/* Top-left vertical button stack */
/* ─────────────── NAVBAR STYLE ─────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#navSidebar.active ~ #backToTop,
#navSidebar.active + #backToTop {
  display: none;
}


.navTopLeft-vertical {
  position: fixed;
  top: 20px;
  left: 20px;
  display: grid;
  gap: 1rem;
  z-index: 1001;
}

/* Circular toggle buttons */
.navIcon-circle {
  min-width: 50px;
  min-height: 50px;
  max-width: 50x;
  max-height: 50px;
  border-radius: 50%;
  background-color: #00aaaa;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-right: 0.5rem;
  transition: all 0.1s ease-in;
}

.navCircle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00aaaa;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-right: 0.5rem;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0); /* triggers GPU acceleration */
}

.navCircle-btn:hover {
  transform: scale(1.2);
}

.tooltip-float {
  position: fixed;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  white-space: nowrap;
}

.navSidebar-list a:hover .navIcon-circle,
.navDropdown-toggle:hover .navIcon-circle {
  margin-right: 1rem;
}

/* Sidebar container */
.navSidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100%;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  background-color: #262a2c;
  transition: all 0.2s ease;
}

.navSidebar.active {
  left: 0;
}

/* Sidebar list layout */
.navSidebar-list {
  position: relative;
  top: 150px;
  display: grid;
  gap: .2rem;
  list-style: none;
  padding: 0;
}

.navSidebar-separator {
  position: fixed;
  display: grid;
  bottom: 0;
  list-style: none;
  width: 370px;
  padding-bottom: 1rem;
}

.navSidebar-separator > li,
.navSidebar-list > li {
  padding-bottom: .5rem;
  color: #00aaa9;
  border-radius: .5rem;
  transition: all 0.1s ease-in;
}

.navSidebar-separator > li:hover,
.navSidebar-list > li:hover {
  background-color: #1e1f21;
}

/* Main links and dropdown toggles */
.navSidebar-list a,
.navDropdown-toggle {
  display: flex;
  align-items: center;
  font-size: 18pt;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border-radius: 1rem;
  padding: .2rem;
  color: #00bbbb;
  transition: all 0.2s ease;
}

/* Dropdown arrow */
.navDropdown-toggle::after {
  content: "▾";
  font-size: 20pt;
  padding-left: 1rem;
  color: #00bbbb;
  display: inline-block;
  transition: transform 0.2s ease;
}

.navDropdown.open .navDropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown content */
.navDropdown-menu {
  overflow: hidden;
  max-height: 0;
  padding-left: 3rem;
  transition: all 0.2s ease;
}

.navDropdown-menu strong {
  font-size: 16pt;
  font-weight: 500;
  color: #8b8b8b;
}

.navDropdown-menu li {
  list-style: none;
  margin-left: .7rem;
  width: 90%;
}

.navDropdown-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12pt;
  border-radius: .5rem;
  transition: all 0.3s ease-out;
}

.navDropdown-menu a:hover {
  color: #00aaa9;
  padding-left: .5rem;
  background-color: #262a2c;
  transition: all 0.1s ease-in;
}

/* ─────────────── RESPONSIVE NAVBAR ─────────────── */
@media (max-width: 1024px) {
  body, html {
    width: 100%;
    padding-top: 0.6rem;
    margin: 0;
  }

  .navSidebar,
  .navSearchPanel {
    left: -100vw;
    width: 100vw;
    min-height: 100vh;
    padding: 4rem 2rem 2rem;
  }

  .navSidebar.active,
  .navSearchPanel.active {
    left: 0;
  }

  .navDropdown-menu strong {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
  }

  .navDropdown-menu li {
    font-size: 1rem;
    color: #00aaaa;
  }

  .navDropdown-menu a {
    color: #fff;
  }
}


/* *************FOOTER STYLE************* */
/* FOOTER */
.footer-content-holder {
    width: 100%;
    padding: 2rem;
    bottom: 0;
    margin-top: 100px;
  border-radius: 0.5rem;
  background-color: #f1f1f1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.footer-mission {
    color: #606a71;
}

.footer-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

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

  .footer-mission {
    padding: 1rem;
      font-size: 10pt;
  }

  .footer-image img {
    margin: 0 auto;
  }
}

/* Search Panel */
.navSearchPanel {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100%;
  background-color: #1e1f21; /* deep slate grey */
  color: #e0e0e0; /* soft light text for contrast */
  backdrop-filter: blur(6px);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
  opacity: 0;
}

.navSearchPanel.active {
  left: 0;
  opacity: 1;
}

.searchPanel-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: -1rem;
  margin-left: 1.5rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in;
}

.searchPanel-content input {
  font-size: 10pt;
  background-color: #2a2b2e;
  color: #e0e0e0;
  outline: none;
  margin: 0 0.5rem;
  transition: all 0.2s ease-in;
}

.searchPanel-content input::placeholder {
  color: #aaa;
  
}

.searchPanel-content input:focus {
  border: 1px solid #00aaaa;
  background-color: #333;
}

.searchPanel-close {
  width: 100%;
  border: 1px solid red;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #00aaaa;
  cursor: pointer;
  transition: color 0.2s ease;
}

.searchPanel-close:hover {
  color: #00bbbb;
}

.search-results {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.search-results li {
  padding: 0.8rem 1rem;
  background: #2a2b2e;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: 0.3rem;
  transition: all 0.2s ease;
}

.search-results li:hover {
  background: #3a3b3e;
}


/* ─────────────── Responsive: ≤1024px ─────────────── */
@media (max-width: 1024px) {
  .navSearchPanel {
    left: -100vw;
    width: 100vw;
    padding: 3rem 1.5rem;
  }

  .navSearchPanel.active {
    left: 0;
  }

  .searchPanel-content {
    margin-top: -2rem;
    margin-left: 3rem;
    padding: 0.5rem 0.5rem;
  }

  .searchPanel-content input {
    margin: 0;
    width: 100%;
  }

  .search-results li {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
  }
}
