/* ===============================
   Global Styles
=============================== */
html {
  scroll-behavior: smooth;
}

.bg-blue-light {
  background-color: #f0f6ff; /* soft government-style blue */
  /* border-left: 5px solid #034981;  */
}

/* ----------------------------
   Multi-level Dropdown Navbar
---------------------------- */
.navbar-nav .dropdown-menu {
  transition: all 0.3s ease;
}

.dropdown-submenu {
  position: relative;
}

@media (min-width: 992px) {
  .nav-item.dropdown > .dropdown-menu {
    display: none;
  }

  .nav-item.dropdown.show > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -8px;
    margin-left: -1px;
    min-width: 200px;
    display: none !important;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .dropdown-submenu > a::after {
    display: inline-block;
    margin-left: 10px;
    content: "▸";
    float: right;
    font-size: 1.2em;
    margin-top: 0px;
    color: #8fa3c4;
    font-weight: bold;
  }

  .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .dropdown-menu {
    background-color: #3c5e95;
    border: 1px solid #345589;
    box-shadow: 0 4px 15px rgba(60, 94, 149, 0.3);
  }

  .dropdown-item {
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
    color: #ffffff !important;
    border-bottom: 1px solid #4568a4;
    font-weight: 500;
  }

  .dropdown-item:hover {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    transform: translateX(5px);
    border-left: 3px solid #5b7bb4;
  }

  .dropdown-menu .dropdown-menu {
    background-color: #345589;
    border: 1px solid #2d4a7a;
  }

  .dropdown-menu .dropdown-item {
    color: #e8ecf1 !important;
    background-color: transparent;
    border-bottom: 1px solid #3c5e95;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    transform: translateX(5px);
    border-left: 3px solid #5b7bb4;
  }

  .dropdown-menu .dropdown-menu .dropdown-menu {
    background-color: #3c5e95;
    border: 1px solid #345589;
  }

  .dropdown-menu .dropdown-menu .dropdown-item {
    color: #d0d9e8 !important;
    border-bottom: 1px solid #4568a4;
  }

  .dropdown-menu .dropdown-menu .dropdown-item:hover {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    transform: translateX(5px);
    border-left: 3px solid #5b7bb4;
  }

  .dropdown-toggle.show {
    color: #5b7bb4 !important;
  }

  .dropdown-item:hover::after {
    color: #ffffff !important;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: none !important;
  }

  .nav-item.dropdown:not(.show):hover > .dropdown-menu {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .dropdown-submenu {
    position: static;
  }

  .dropdown-submenu > .dropdown-menu {
    position: static !important;
    margin-left: 15px !important;
    border-left: 3px solid #5b7bb4 !important;
    border-radius: 0 !important;
    transform: none !important;
    display: none;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block !important;
  }

  .dropdown-submenu > a::after {
    display: inline-block;
    margin-left: 10px;
    content: "▸";
    float: right;
    transition: transform 0.3s ease;
    color: #5b7bb4;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: -1px;
  }

  .dropdown-submenu.show > a::after {
    transform: rotate(90deg);
    color: #ffffff;
  }

  .navbar-nav .dropdown-menu {
    background-color: #3c5e95 !important;
    border: none !important;
    padding: 0;
  }

  .dropdown-item {
    color: #ffffff !important;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #4568a4;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    padding-left: 1.3rem;
    border-left: 3px solid #5b7bb4;
  }

  .dropdown-menu .dropdown-menu {
    background-color: #345589 !important;
  }

  .dropdown-menu .dropdown-item {
    color: #e8ecf1 !important;
    border-bottom: 1px solid #3c5e95;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    padding-left: 1.6rem;
    border-left: 3px solid #5b7bb4;
  }

  .dropdown-menu .dropdown-menu .dropdown-menu {
    background-color: #3c5e95 !important;
  }

  .dropdown-menu .dropdown-menu .dropdown-item {
    color: #d0d9e8 !important;
  }
  .dropdown-menu .dropdown-menu .dropdown-item:hover {
    background-color: #2d4a7a !important;
    color: #ffffff !important;
    padding-left: 1.9rem;
    border-left: 3px solid #5b7bb4;
  }
}

.navbar-brand.search-icon {
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
  color: #ffffff;
}

.navbar-brand.search-icon:hover {
  background-color: #2d4a7a;
  color: #ffffff;
}

.navbar-collapse {
  transition: all 0.3s ease;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #5b7bb4 !important;
}

.nav-link.active {
  background-color: rgba(45, 74, 122, 0.3) !important;
  color: #ffffff !important;
}

.navbar.bg-primary {
  background-color: #3c5e95 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .dropdown-toggle::after {
  font-size: 1.1em;
  margin-left: 8px;
  vertical-align: middle;
}

.dropdown-toggle::after {
  font-size: 1.1em;
  border: none !important;
  content: "▾" !important;
  font-weight: bold;
}

.dropdown-submenu > .dropdown-toggle::after {
  font-size: 1.3em;
  margin-top: -2px;
}
/* ----------------------------
   banner: board members
---------------------------- */
.board-member {
  padding: 10px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.board-member:hover {
  background: #f8f9fa;
}

.board-img {
  width: 150px;
  height: 165px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #dee2e6;
}

/* ----------------------------
   Service
----------------------------- */
/* Background */
.bg-blue-light {
  background-color: #f0f6ff;
}

/* ---- General Service Card ---- */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

/* Image */
.service-img-wrap {
  overflow: hidden;
  max-width: 250px;
}

.service-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

/* Content */
.service-content {
  padding: 20px;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #034981;
  margin-bottom: 6px;
}

.service-divider {
  width: 40px;
  height: 3px;
  background: #034981;
  margin: 0 auto 12px;
  border-radius: 2px;
}

.service-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Zig-Zag */
.services-zigzag .service-item {
  align-items: center;
}

.services-zigzag .service-img img {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.services-zigzag .service-content h4 {
  color: #0d6efd; /* Bootstrap primary */
}

/* Responsive */
@media (max-width: 767px) {
  .services-zigzag .service-item {
    flex-direction: column !important;
    text-align: center !important;
  }
  .services-zigzag .service-content {
    margin: 0 !important;
  }
}

/* ----------------------------
   Partners Section Styles
----------------------------- */
/* Partner Card */
.partner-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 15px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

/* Swiper adjustments */
.partners-slider {
  padding: 10px 10px 40px;
}

.partners-slider .swiper-slide {
  height: auto;
}

/* Navigation buttons */
.partners-slider .swiper-button-next,
.partners-slider .swiper-button-prev {
  color: #034981;
}

.partners-slider .swiper-pagination-bullet {
  background: #034981;
}

/* ----------------------------
   Accordion Section Styles
----------------------------- */
.modern-accordion .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.modern-accordion .accordion-button {
  background-color: #ffffff;
  color: #034981;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 20px;
}

.modern-accordion .accordion-button:not(.collapsed) {
  background-color: #f0f6ff;
  color: #034981;
  box-shadow: none;
}

.modern-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.modern-accordion .accordion-body {
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  padding: 20px;
}

/* ----------------------------
   Board Members Section Styles
----------------------------- */
.board-members-section {
  width: 100%;
  padding: 80px 20px;
  background: #f8f9fa;
}

/* Section title */
.board-members-section h2 {
  text-align: center;
  text-decoration: underline;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #3c5e95;
}

/* Grid layout - 6 cards per row on large screens */
.board-members-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* exactly 6 per row */
  gap: 20px; /* small gap between cards */
  justify-items: center;
}

/* Member Card */
.board-member-card {
  position: relative;
  background: #ffffff;
  color: #000;
  text-align: center;
  width: 100%;
  border-radius: 16px;
  padding: 25px 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Hover Effect */
.board-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Hover Glow Overlay */
.board-member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(0, 123, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.board-member-card:hover::after {
  opacity: 1;
}

/* Profile Image */
.board-member-card img {
  width: 100%;
  max-width: 200px;   /* reduced from 260px */
  height: 240px;      /* subtle rectangle */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member-card:hover img {
  transform: scale(1.02);
}


/* Name */
.board-member-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1f2937;
  z-index: 1;
  position: relative;
}

/* Position */
.board-member-card .card-position {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 3px;
  z-index: 1;
  position: relative;
}

/* Organization */
.board-member-card .card-organization {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  z-index: 1;
  position: relative;
}

/* Responsive - adapt grid for smaller screens */
@media (max-width: 1200px) {
  .board-members-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
  }
}

@media (max-width: 992px) {
  .board-members-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 20px;
  }
  .board-member-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .board-members-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 15px;
  }
  .board-member-card img {
    width: 90px;
    height: 90px;
  }
}

/* ----------------------------
   Staffs Members
---------------------------- */
/* background: #034981; */
/* Staff Section */
/* Full-width blue section */

/* ----------------------------
   Subject Committee Members
----------------------------- */
.committee-section {
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.committee-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.committee-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111827;
  position: relative;
}
.committee-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #007bff;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.coordinator-card {
  text-align: center;
  margin-bottom: 50px;
}
.coordinator-card img {
  width: 200px;
  height: 240px;
  border-radius: 12px;     /* rectangle like others */
  object-fit: cover;
  border: none;            /* same as board-member-card */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-bottom: 15px;
}

.coordinator-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 5px;
}
.coordinator-card p {
  color: #6b7280;
  font-size: 1rem;
}

/* Members grid using board-member-card */
.committee-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .committee-members-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 992px) {
  .committee-members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .committee-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------
   Photos
---------------------------- */
/* ======= Page Banner ======= */
.page-banner {
  background: linear-gradient(135deg, #034981, #0056b3);
  padding: 60px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #007bff;
}

.page-banner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.breadcrumb-nav {
  font-size: 1rem;
  color: #fff;
}

.breadcrumb-nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #dcedff;
  text-decoration: none;
}

/* ======= Photo Gallery ======= */
.photo-gallery {
  /* padding: 60px 5%; */
  background: #fff;
}

.photo-gallery .gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.photo-gallery .gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo-gallery .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.photo-gallery .gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ======= Responsive ======= */
@media (max-width: 992px) {
  .page-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .photo-gallery .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .page-banner {
    padding: 40px 20px;
  }

  .page-banner h2 {
    font-size: 1.8rem;
  }

  .photo-gallery {
    padding: 40px 20px;
  }

  .photo-gallery .gallery-item img {
    height: 180px;
  }
}
/* ----------------------------
   act-regulations
---------------------------- */
.act-regulations-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.act-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-radius: 15px;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.act-item:hover {
  background: #eef1f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.act-names span {
  font-weight: 500;
  color: #2c3e50;
  margin-right: 5px;
}

.btn-download {
  padding: 8px 20px;
  border-radius: 25px;
  background: #3498db;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: #2980b9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ----------------------------
   Expertises
---------------------------- */

.registration-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  margin: 0 200px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eaeaea;
}

.form-section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  border-radius: 30px;
  padding: 10px 25px;
  background: #f8f9fa;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.form-group {
  flex: 1 0 300px;
  padding: 0 15px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: 25px;
  padding: 6px 12px;
  background: #f8f9fa;
}

.required::after {
  content: " *";
  color: #e74c3c;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 50px; /* full round shape */
  font-size: 1rem;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

select {
  appearance: none;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #dcdfe6;
  border-radius: 50px;
  font-size: 1rem;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
  color: #2c3e50;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background: #fff
    url("data:image/svg+xml;utf8,<svg fill='%233498db' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 18px center;
  background-size: 20px;
  padding-right: 50px;
}

select:hover {
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

select option {
  background-color: #fff;
  color: #2c3e50;
  padding: 10px;
  border-radius: 10px;
}

select option:hover,
select option:checked {
  background: linear-gradient(135deg, #f1f5ff, #e6ecff);
  color: #3c5e95;
}

/* ===============================
   Textarea
=============================== */
textarea {
  border-radius: 25px; /* slightly less round for large field */
  min-height: 120px;
  resize: vertical;
}

/* ===============================
   Checkbox Group
=============================== */
.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 5px;
  border-radius: 25px;
  padding: 10px 15px;
  background: #f8f9fa;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

/* ===============================
   Buttons
=============================== */
.form-actions {
  text-align: center;
  margin-top: 30px;
  border-radius: 25px;
  padding: 25px;
  background: #f8f9fa;
}

.btn {
  padding: 12px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background: #3498db;
  color: white;
}

.btn-submit:hover {
  background: #2980b9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-reset {
  background: #e74c3c;
  color: white;
  margin-left: 15px;
}

.btn-reset:hover {
  background: #c0392b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* ===============================
   Multi-Select 
=============================== */
.multi-select {
  position: relative;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

.select-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dcdfe6;
  padding: 10px 16px;
  border-radius: 50px;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.select-box:hover {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.arrow {
  font-size: 25px;
  color: #3498db;
  transition: transform 0.3s ease;
}

.select-box.active .arrow {
  transform: rotate(-180deg);
}

.options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  border: 1px solid #e0e4eb;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 10;
  overflow: hidden;
}

.option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.2s ease;
}

.option:hover {
  background-color: #f8f9fb;
  color: #000;
}

.option.selected {
  background: linear-gradient(135deg, #f1f5ff, #e6ecff);
  color: #3c5e95;
  font-weight: 600;
}

.selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  max-width: 85%;
}

.selected-items span {
  background: #eef1f8;
  color: #333;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.selected-items span:hover {
  background: #e4e8f0;
}

.selected-items span::after {
  content: "✕";
  font-size: 15px;
  font-weight: bolder;
  cursor: pointer;
  color: #777;
  transition: color 0.2s ease;
}

.selected-items span:hover::after {
  color: #e74c3c;
}

/* ===============================
   Responsive Design
=============================== */
@media (max-width: 768px) {
  .form-group {
    flex: 1 0 100%;
  }

  .page-banner h2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .btn-reset {
    margin-left: 0;
  }

  .registration-form {
    padding: 25px;
    border-radius: 15px;
  }

  .form-section {
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
}

/* ---------------------------------
   Registered Institutions- National 
--------------------------------- */

.province-breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  gap: 10px;
}

.province-breadcrumb li {
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s;
}

.province-breadcrumb li.active,
.province-breadcrumb li:hover {
  background-color: #3c5e95;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(160, 196, 255, 0.3);
}

.college-list-wrapper {
  padding: 10px 0;
}

.college-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.college-list.visible {
  display: flex;
}
.college-list li {
  padding: 10px 15px;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 3px solid #3c5e95;
  font-size: 15px;
  color: #333;
  transition: all 0.25s;
}

.college-list li:hover {
  background-color: #f0f8ff;
  transform: translateX(2px);
}

/* ----------------------------
   Requirements
---------------------------- */
.requirements-heading {
  text-align: center;
  margin-bottom: 25px;
}

.requirements-heading h1 {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.requirements-heading h1::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  background: #3498db;
  bottom: 0;
  left: 20%;
  border-radius: 2px;
}

.requirements-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.requirement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-radius: 15px;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.requirement-item:hover {
  background: #eef1f8;
  /* color: #3c5e95; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.requirement-names span {
  font-weight: 500;
  color: #2c3e50;
}
.college-list li {
  display: flex;
  justify-content: space-between; /* pushes button to right */
  align-items: center;
  border-bottom: 1px solid #eee;
}

.requirement-names {
  flex: 1;
}

.requirement-download {
  margin-left: 15px;
}

.btn-download-requirement {
  padding: 6px 16px;
  border-radius: 25px;
  background: #3498db;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-download-requirement:hover {
  background: #2980b9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ----------------------------
   Publications
---------------------------- */
.publications-list {
  width: 100%;
  margin: 40px 0;
}

.publications-heading h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  color: #333;
}

.publications-heading h1::after {
  content: "";
  position: absolute;
  width: 20%;
  height: 3px;
  background: #3498db;
  bottom: -8px;
  left: 40%;
  border-radius: 2px;
}

/* Each Publication Item */
.publication-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px 25px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 100%;
  /* margin-left: auto; */
  /* margin-right: auto; */
}

.publication-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.publication-names span {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* Icon Style (hidden by default) */
.publication-download i {
  font-size: 20px;
  color: #3498db;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

/* Show icon on hover */
.publication-item:hover .publication-download i {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Clickable link */
.publication-download a {
  text-decoration: none;
}

/* ===========================
   Modern News Card Grid
=========================== */
.news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

/* Image */
.news-card-img {
  overflow: hidden;
  height: 180px;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover img {
  transform: scale(1.08);
}

/* Body */
.news-card-body {
  padding: 16px;
  flex: 1; /* ensures cards are same height */
  display: flex;
  flex-direction: column;
}

/* Meta info */
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #6c757d; /* muted grey for meta */
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-meta i {
  color: #0f5e93; 
  font-size: 1.2rem;
}

/* Title */
.news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  margin: 6px 0 10px 0;
}

/* Excerpt */
.news-excerpt {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.4;
  flex-grow: 1; /* push read more button to bottom */
}

/* Read More button */
.news-card-body .btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  align-self: flex-start;
}

/* Hover Accent */
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.news-card:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 576px) {
  .news-card-img {
    height: 160px;
  }
  .news-title {
    font-size: 0.95rem;
  }
}


/* ===========================
  old-site-float
=========================== */
.floating-old-site-btn {
  position: fixed;
  right: 20px;
  bottom: 90px; /* above scroll-to-top */
  z-index: 999;

  background: #0b58cd;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.floating-old-site-btn:hover {
  background: #084298;
  transform: translateY(-3px);
  color: #fff;
}

/* Result Page */
.result-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.result-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  color: #111827;
}

.result-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #007bff;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

.dob-hint {
  display: block;
  font-size: 0.75rem;
  color: #dc2626; /* red */
  font-weight: 500;
  margin-top: 4px;
}

.result-output {
  min-height: 120px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  color: #6b7280;
  background: #f9fafb;
}

/* ===========================
  license_renewal
=========================== */
.publication-content {
    font-size: 16px;
    line-height: 1.8;
}
.publication-content > strong {
    display: block;        /* VERY important */
    text-align: center;
    margin: 15px 0;
}

.requirements-list > li {
    margin-bottom: 12px;
}

.requirements-list ul {
    margin-top: 8px;
    padding-left: 20px;
}

.note-section {
    margin-top: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #0d6efd;
}

.download-link {
    margin-left: 8px;
    font-weight: 600;
}

/* ===========================
  Institutions_registration
=========================== */
.section-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.publication-content {
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
}

.main-list,
.sub-list {
    padding-left: 20px;   /* clean left alignment */
    margin-left: 0;
}

.main-list > li {
    margin-bottom: 15px;
}

.sub-list {
    margin-top: 10px;
}

.sub-list > li {
    margin-bottom: 8px;
}


.publication-content-box {
    background: #f8f9fc;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.content-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-align: left;
}

.main-list {
    padding-left: 20px;
    margin: 0;
    text-align: left;
}

.main-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}
