body {
 padding: 0;
 margin: 0;
 background: white;
 padding-top: 90px;
}

  /*Navigation Bar Section*/
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color:#25629b;
    transition: background-color 0.4s ease;
    z-index: 1000; 
  }
  .navbar-brand {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 400px;
  }
  .navbar-nav .nav-item {
    position: relative;
    margin: 0 25px; 
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    }
  .navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
    position: relative;
  }
  .navbar-nav .nav-link:hover{
    cursor: pointer;
  }
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background-color: gold; 
    transition: width 0.3s ease
  }
  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }

/* Dropdown menu for Navigations */
.nav-item.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 50px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 500px;
  background-color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-item.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;      
  left: 0;
  width: 100%;
  height: 12px;     
  background: transparent;
}
.dropdown-menu .dropdown-item {
  color: #25629b;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  border-radius: 6px;
  flex: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dropdown-menu .dropdown-item:hover {
  background-color: gold;
  color: #25629b;
  transform: translateY(-3px);
}
.dropdown-item i {
  font-size: 20px;
  margin-bottom: 6px;
  color: #25629b;
}
.dropdown-item small {
  font-weight: normal;
  color: #555;
  font-size: 12px;
}


/* Mega dropdown panel section */
.info-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  background: #fff;
  color: #333;
  padding: 30px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 8px;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.nav-item:hover .info-panel,.info-panel:hover {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.info-panel h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #25629b; 
}

.info-panel p {
  font-size: 14px;
  color: #555;
}
.container-again {
  background-color:white ;
  position: absolute; 
}


/* Layout wrapper */
.main-container {
  display: flex;
  flex-direction: row;
  max-width: 1100px; /* wider container */
  margin: 120px auto 60px auto; /* more top spacing */
  padding: 20px;
  gap: 25px;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #e6f0fa, #ffffff);
  border-radius: 15px;
}

/* Sidebar */
.sidebar {
  width: 260px; /* wider sidebar */
  background: rgba(37, 98, 155, 0.12); /* soft blue glass effect */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  padding: 20px;
  border-radius: 15px;
  position: sticky;
  top: 120px;
  height: fit-content;
  backdrop-filter: blur(12px);
}

.sidebar h3 {
  color: #004a8d;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid gold;
  padding-bottom: 5px;
  font-weight: bold;
}

.sidebar a {
  display: block;
  color: #25629b;
  text-decoration: none;
  font-size: 16px;
  margin: 8px 0;
  padding-left: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar a:hover {
  color: gold;
  border-left: 3px solid gold;
  padding-left: 7px;
  font-weight: bold;
  background-color: rgba(255, 215, 0, 0.12);
  border-radius: 8px;
}

/* Main content area */
.content {
  flex: 1;
  padding: 30px; /* more padding for spacious feel */
  background: rgba(255, 255, 255, 0.92);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.content:hover {
  transform: translateY(-3px);
}

/* Headings */
.content h2 {
  color: #004a8d;
  margin-bottom: 18px;
  font-size: 22px;
  border-bottom: 2px solid gold;
  display: inline-block;
  padding-bottom: 4px;
}

/* Details */
.details p {
  padding: 8px 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-indent: 25px;
}

/* Lists inside details */
.details ul {
  padding-left: 25px;
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.details ul li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}

.details ul li::before {
  content: "";
  color: #25629b; /* blue bullet */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
.sidebar a.active {
  color: #ff6600;  /* kulay kapag active */
  font-weight: bold;
}
.sidebar {
  position: sticky;
  top: 100px; /* adjust sa navbar height */
}
.sidebar .nav-link.active {
  color: gold;
  
  font-weight: bold;
}
