/* DataTable Container Card Look */
.table-responsive {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Header Background */
table.dataTable thead th {
  background: #0d6efd; /* BLUE */
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: none !important;
}

/* Row Spacing */
table.dataTable tbody td {
  padding: 10px 14px !important;
  vertical-align: middle;
  font-size: 14px;
}

/* Hover */
table.dataTable tbody tr:hover {
  background: #f1f9ff !important; /* light blue tint */
}

/* Pagination Buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 4px !important;
  padding: 4px 10px !important;
  margin: 0 2px !important;
  border: 1px solid #dee2e6 !important;
  background: #fff !important;
  color: #0d6efd !important;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #0d6efd !important;
  color: #fff !important;
}

/* Length Dropdown + Search Input */
.dataTables_wrapper select,
.dataTables_wrapper input[type="search"] {
  border: 1px solid #ced4da;
  padding: 6px 8px;
  border-radius: 4px;
  outline: none;
}

.dataTables_wrapper input[type="search"]:focus {
  border-color: #0d6efd;
}

/* "Showing X to X" Text */
.dataTables_info {
  padding-top: 10px !important;
  color: #666 !important;
  font-size: 14px;
}

/* Responsive Fix */
table.dataTable {
  width: 100% !important;
}

/* Yellow Accent Option (Optional Buttons) */
.btn-yellow {
  background: #ffc107;
  color: #000;
  border: none;
}
.btn-yellow:hover {
  background: #e0a800;
}



    /* Secondary navigation bar */
    .secondary-nav {
      background: #f8f9fa;
      border-top: 1px solid #ddd;
    }
    .secondary-nav .nav-link {
      font-weight: 600;
      color: #000 !important;
    }
    .secondary-nav .nav-link:hover {
      text-decoration: underline;
    }
    .accessibility-icon {
      width: 28px;
      height: 28px;
    }
    .navbar-container {
      max-width: 80rem; /* 1280px */
      margin: 0 auto;
    }
    /* Header styling */
    #navbarMain ul li a {
      border-right: 1px solid #EBEBEB;
      margin: 0 5px;
      font-size: 0.85rem;
      color: #000;
      font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
    }

    

    /* SECOND HEADEer */

    .brand-bar {
      background-color: #2a2a85; /* dark blue */
      color: white;
      padding: 0.5rem 1rem;
    }
    .brand-bar .logo {
      height: 60px;
    }
    .brand-title {
      font-size: 1.2rem;
      line-height: 1.2;
    }
    .brand-title strong {
      font-size: 1.6rem;
    }
    #secondNav .navbar-nav .nav-link {
      color: white !important;
      /* font-weight: 600; */
      text-transform: uppercase;
    }

    #secondNav .navbar-nav .nav-link:hover {
      text-decoration: underline;
    }

    #secondNav ul li .active{
      font-weight: 600;
      color: #0d6efd !important;
      text-decoration: underline;
    }
    .navbar {
      background-color: #2a2a85; /* match top bar */
    }
    .navbar-toggler {
      border-color: white;
    }
    .navbar-toggler-icon {
      filter: invert(1);
    }

    .brand-bar .logo {
      height: 80px;
    }

    /* CAROUSEL */
    .carousel-inner {
      position: relative;
      overflow: hidden;
    }

    .carousel-item img {
      height: 700px;
      object-fit: cover;
      margin: 0 auto;
      display: block;
      max-width: 100%;
    }

    /* Create blurred edges */
    .carousel-inner::before,
    .carousel-inner::after {
      content: "";
      position: absolute;
      top: 0;
      width: 120px; /* how wide the blur fade is */
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }

    .carousel-inner::before {
      left: 0;
      background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
      backdrop-filter: blur(10px);
    }

    .carousel-inner::after {
      right: 0;
      background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
      backdrop-filter: blur(10px);
    }

    /* CONTACT US */
    #contact {
      background: linear-gradient(to bottom, #f8f9fa, #fff);
    }

    #contact .form-control {
      border-radius: 0.5rem;
      box-shadow: none;
      transition: box-shadow 0.2s;
    }

    #contact .form-control:focus {
      box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    }

    /* MISSION VISION */
    #mission-vision .bg-white {
      transition: transform 0.3s, box-shadow 0.3s;
    }

    #mission-vision .bg-white:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    /* ORGANIZATIONAL CHART */
    .org-chart {
      text-align: center;
      max-width: 90rem;
      margin: 2rem auto;
    }
    .org-node {
      text-align: center;
      display: inline-block;
      vertical-align: top;
      margin: 1rem;
    }
    .person-btn {
      min-width: 200px;
      border-radius: 20px;
      margin-bottom: 10px;
      transition: all 0.2s ease;
    }
    .person-btn:hover {
      background-color: #0d6efd;
      color: #fff;
      transform: scale(1.05);
    }
    .org-children {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;         /* ✅ allow multiple rows */
      justify-content: center; /* ✅ center them horizontally */
      gap: 15px;               /* spacing between boxes */
      max-width: 70rem;        /* ✅ limit total width for big groups */
      margin-left: auto;
      margin-right: auto;
    }
    .line-down {
      width: 2px;
      height: 20px;
      background: #ccc;
      margin: 0 auto;
    }
    .org-node {
      position: relative;
    }

    .org-node::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 50%;
      width: 2px;
      height: 20px;
      background: #ccc;
      transform: translateX(-50%);
    }

    .org-chart > .org-node::before {
      display: none; /* hide line for the topmost node */
    }

    /* GALLERY */
    #viewerImg {
      transition: opacity 0.4s ease-in-out;
      opacity: 1;
    }
    #viewerImg.fade-out {
      opacity: 0;
    }


.dataTables_info, .dataTables_paginate {
  font-size: 0.9rem;
}

.dataTables_paginate .paginate_button {
  border-radius: 50%;
  margin: 0 3px;
}

#clearFilters {
  border-radius: 25px;
}

/* // standing committee */
.committee-card {
    border-radius: 14px;
    transition: .3s;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.committee-header {
    background: #0d6efd;
    color: #fff;
    padding: 12px 18px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.member-badge {
    background: #f0f4ff;
    color: #0d6efd;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 13px;
    margin: 2px;
    display: inline-block;
}