
  .about-laws-section {
    position: relative;
    overflow: hidden;
  }

  .about-laws-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 78, 146, 0.1), transparent 70%);
    z-index: 0;
  }

  /* ===== Five Laws Cards ===== */
  .law-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid rgba(0, 78, 146, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
  }

  .law-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 78, 146, 0.15), transparent);
    transition: left 0.4s ease;
  }

  .law-card:hover::after {
    left: 100%;
  }

  .law-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 78, 146, 0.2);
  }

  .icon-circle {
    background: linear-gradient(135deg, #004e92, #000428);
    color: #fff;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
  }

  .law-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(0, 78, 146, 0.4);
  }

  .law-card h6 {
    margin-top: 10px;
    font-size: 1.05rem;
  }

  /* ===== Responsive ===== */
  @media (max-width: 768px) {
    .law-card {
      padding: 1.2rem;
    }

    .icon-circle {
      width: 60px;
      height: 60px;
      font-size: 1.6rem;
    }

    .about-laws-section h3 {
      font-size: 1.4rem;
    }
  }
.quick-links h2 {
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.quick-btn {
  display: block;
  padding: 15px 20px;
  background: #002349;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 10px rgba(0, 123, 255, 0.2);
  text-align: center;
}

.quick-btn:hover {
  background:#002349;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.quick-btn:active {
  transform: scale(0.98);
}

@media (max-width: 767px) {
  .quick-btn {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }
}

/* Header Navigation */
.site-header .nav-link { transition: 0.3s ease; }
.site-header .nav-link:hover { color: #ffc107; }
.dropdown-menu { display: none; position: absolute; top: 40px; background: #212529; border-radius: 8px; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item:hover { background-color: #343a40; color: #ffc107; }

/* About + Laws Layout */

.about-laws-section .laws-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.law-item {
  background: linear-gradient(135deg, #004e92, #000428);
  color: #fff;
  border-radius: 12px;
  padding: 15px 25px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.law-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,78,146,0.3);
}
.about-laws-section p { line-height: 1.8; }

/* Vision & Mission Cards */
.vm-card { background: #f1f3f5; border-radius: 12px; padding: 30px; transition: 0.3s; }
.vm-card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* Footer */
.footer-section { background: #212529; color: #fff; }
.footer-section a { color: #ffc107; text-decoration: none; }
.footer-section a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) {
  .about-laws-section .row { flex-direction: column; text-align: center; }
}
    .section-primary {
      background-color: #002349;
      position: relative;
    }
  
    .counter-item {
      position: relative;
      padding: 20px 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
    .counter-item:hover {
      transform: translateY(-6px);
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
    }
  
    .counter-item img.icon-size {
      width: 60px;
      height: 60px;
      object-fit: contain;
      transition: transform 0.3s ease;
    }
  
    .counter-item:hover img.icon-size {
      transform: scale(1.1);
    }
  
    .counter-item strong {
      font-size: 48px !important;
      line-height: 68px !important;
      display: block;
      font-weight: 700 !important;
    }
  
    .counter-item p {
      font-size: 1rem;
      margin: 0;
    }
  
    /* Add white vertical divider for larger screens */
    @media (min-width: 992px) {
      .counter-item:not(:last-child)::after {
        content: "";
        display: block;
        width: 1px;
        height: 70px;
        background: rgba(255, 255, 255, 0.6);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -15px;
      }
    }
    
      /* Sidebar design */
  .custom-sidebar-nav .nav-link {
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e7e7e7;
    transition: all 0.3s ease;
  }

  .custom-sidebar-nav .nav-link:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 15px rgba(13,110,253,0.3);
  }

  .custom-sidebar-nav .nav-link.active {
    background: #0d6efd;
    color: white;
    box-shadow: 0 6px 15px rgba(13,110,253,0.3);
  }

  /* Sticky fix */
  .sticky-sidebar {
    position: sticky;
    top: 120px; /* keeps away from banner */
    z-index: 10;
  }
  
  

.custom-sidebar-nav .nav-link {
  color: #08335a;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 6px;
  transition: background 0.18s, color 0.18s;
}
.custom-sidebar-nav .nav-link:hover,
.custom-sidebar-nav .nav-link.active {
  background: linear-gradient(92deg, #e9f0fa 60%, #fafafa 100%);
  color: #008cba;
  text-decoration: none;
}
.sticky-top {
  position: sticky;
  z-index: 1020;
}
.library-card {
  margin-bottom: 2rem;

}
.accordion-item {
  border-radius: 1.1rem !important;
  box-shadow: 0 2px 12px rgba(80, 96, 130, 0.09);
  border: none;
}
.semester-link {
  display: inline-block;
  background: #eef5fe;
  color: #045487;
  border-radius: 0.45rem;
  padding: 0.41rem 1.2rem;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.2s;
  text-decoration: none;
}
.semester-link:hover,
.semester-link:focus {
  background: linear-gradient(95deg, #d9e8fd 65%, #e1ecfa 100%);
  color: #0072c9;
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  aside.col-md-3 { margin-bottom: 1.5rem; }
}
@media (max-width: 767.98px) {
  .library-card { padding: 1.2rem 0.4rem; }
  .accordion-button { font-size: 1rem; padding-left: 1rem; }
}


/* Overall Section */
#Ouestion_Bank {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
}

/* Accordion Header */
.accordion-button {
  border-radius: 10px !important;
  font-size: 18px;
  padding: 15px 20px;
  transition: 0.3s ease-in-out;
}

.accordion-button:not(.collapsed) {
  background-color: #0d6efd !important;
  color: #fff !important;
  box-shadow: none;
}

.accordion-button.collapsed:hover {
  background: #e9ecef;
}

/* Accordion Cards */
.accordion-item {
  border-radius: 12px !important;
  border: none;
}

/* Table Styling */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table th {
  background: #f7f7f7 !important;
  font-weight: 700;
  padding: 15px;
  font-size: 15px;
}

.table td {
  padding: 12px;
  font-size: 15px;
}

/* Links – Beautiful hover effect */
.semester-link {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.semester-link:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .table th, .table td {
    font-size: 13px;
    padding: 10px;
  }

  #Ouestion_Bank {
    padding: 30px;
  }

  .accordion-button {
    font-size: 16px;
    padding: 12px 16px;
  }
}

  .resource-category-card {
    background: #ffffff;
    border-left: 5px solid #1b3955;
  }

  .resource-item {
    background: #f7faff;
    transition: all 0.3s ease;
  }

  .resource-item:hover {
    background: #eaf0ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(48, 89, 215, 0.2);
  }

  .resource-link {
    font-weight: 600;
    color: #1c3ec5;
    text-decoration: none;
  }

  .resource-link:hover {
    color: #0f2a8c;
    text-decoration: underline;
  }

  .resource-icon {
    font-size: 1.4rem;
    color: #3458d3;
    margin-left: 10px;
  }

  .resource-item:hover .resource-icon {
    color: #0f2a8c;
  }

  h4.fw-bold {
    border-bottom: 2px solid #b2c7f9;
    padding-bottom: 6px;
  }
  .resource-category-card {

    transition: all 0.3s ease;
    border-left: 6px solid #0d6efd;
  }

  .resource-category-card:hover {
    background: #f1f5ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .resource-link {
    font-size: 1.05rem;
    text-decoration: none;
    color: #343a40;
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 6px 0;
  }

  .resource-link i {
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.25s ease;
  }

  .resource-link:hover {
    color: #0d6efd;
    padding-left: 5px;
  }

  .resource-link:hover i {
    opacity: 1;
    transform: translateX(3px);
    color: #0d6efd;
  }

  .list-group-item {
    background: transparent !important;
  }

