@media (max-width: 991.98px) {
  .mobile-logo-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .navbar-brand {
    margin-right: 0 !important;
  }
}
html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* :root {
      --primary-color: #0d6efd;
      --secondary-color: #6c757d;
      --accent-color: #198754;
    } */
 :root {
    --primary-navy: #1e3a5f;
    --primary-gold: #c5a572;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #198754;
  }
    
    body {
      background-color: #f8f9fa;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .instructor-card {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .instructor-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    
    .instructor-img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border: 3px solid var(--primary-color);
    }
    
    .price-tag {
      background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
      color: white;
      border-radius: 12px;
      padding: 1rem 1.5rem;
    }
    
    .course-sidebar {
      position: sticky;
      top: 20px;
    }
    
    .sidebar-card {
      border: none;
      border-radius: 16px;
      overflow: hidden;
    }
    
    .sidebar-card .card-header {
      background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
      color: white;
      border: none;
      padding: 1.25rem;
    }
    
    .info-item {
      padding: 0.75rem 0;
      border-bottom: 1px solid #e9ecef;
    }
    
    .info-item:last-child {
      border-bottom: none;
    }
    
    .info-item i {
      width: 24px;
      color: var(--primary-color);
    }
    
    .badge-status {
      font-size: 0.75rem;
      padding: 0.35em 0.65em;
    }
    
    .section-title {
      position: relative;
      padding-bottom: 0.75rem;
      margin-bottom: 1.5rem;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 3px;
      background: var(--primary-color);
      border-radius: 2px;
    }
    
    .course-overview {
      line-height: 1.8;
    }
    
    .syllabus-content {
      background-color: #f8f9fa;
      border-radius: 12px;
      padding: 1.25rem;
    }
    
    .btn-enroll {
      background: linear-gradient(135deg, var(--accent-color), #157347);
      border: none;
      padding: 0.75rem 2rem;
      font-weight: 600;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    
    .btn-enroll:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
    }
    
    .back-btn {
      border-radius: 8px;
      padding: 0.75rem 1.5rem;
      font-weight: 500;
    }
    
    @media (max-width: 991.98px) {
      .instructor-section {
        flex-direction: column;
        text-align: center;
      }
      
      .price-section {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
      }
      
      .course-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
      }
    }
    
    @media (max-width: 575.98px) {
      .instructor-img {
        width: 60px;
        height: 60px;
      }
      
      .price-tag h2 {
        font-size: 1.5rem;
      }
    }

    
.nav-link-color {
  color: #1a1a1a !important;
}
.hover-primary:hover {
  color: var(--bs-primary);
}

.custom-btn {
  background-color: #003c82 !important;
  padding: 10px 20px;
  color: #ffffff !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  border: none;
}
.custom-btn2 {
  background-color: #1a1a1a !important;
  padding: 10px 20px;
  color: #ffffff !important;
  border-radius: 5px !important;
  text-decoration: none !important;
}
.card-container:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}
/* .nav-item:hover {
  background-color: #c9ccd1;
}
.dropdown-item:hover {
  background-color: #c9ccd1;
} */

/* Main Nav Links Hover Effect */
.navbar .nav-item .nav-link {
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 8px;
  padding: 0.5rem 1rem; /* Consistent padding for hover area */
}

.navbar .nav-item .nav-link:hover {
  color: var(--bs-primary) !important; /* Or your custom-primary color */
  background-color: rgba(
    0,
    123,
    255,
    0.1
  ); /* Light blue tint – adjust to your brand */
  /* Optional: subtle bottom border */
  /* border-bottom: 3px solid var(--bs-primary); */
}

/* Active state – stronger highlight */
.navbar .nav-item .nav-link.active {
  color: var(--bs-primary) !important;
  font-weight: 600;
  background-color: rgba(0, 123, 255, 0.15);
}

/* Dropdown Items Hover */
.dropdown-item {
  border-radius: 6px;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(0, 123, 255, 0.1) !important; /* Matches nav hover */
  padding-left: 1.25rem; /* Slight indent on hover for visual feedback */
  color: var(--bs-primary) !important;
}

/* Active dropdown item (e.g., current program) */
.dropdown-item.active {
  background-color: rgba(0, 123, 255, 0.2) !important;
  font-weight: 600;
  color: var(--bs-primary) !important;
}

/* Optional: Smooth dropdown menu appearance */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
/* HERO / CAROUSEL */
.carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}
#carouselExampleIndicators {
  height: 100vh;
}

#carouselExampleIndicators .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.course-img {
  width: 85%;
  height: 550px;
}

.overlay-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.overlay-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.staff-img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Staff Carousel Cards */
.admin-card {
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.08);
}

.admin-avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid rgba(1, 21, 64, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.admin-card {
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.08);
}

.admin-avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid rgba(1, 21, 64, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
  /* Show one card per slide, always centered */
  .team-carousel .carousel-item .row > div {
    display: none !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
  .team-carousel .carousel-item .row > div:first-child {
    display: flex !important;
  }

  /* Avatar and card sizing for mobile */
  .admin-avatar {
    width: 110px !important;
    height: 110px !important;
    margin: 0 auto 0.5rem auto;
    border-width: 3px;
  }
  .admin-card {
    margin: 0 4px 1.2rem 4px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  .admin-card .card-body {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .admin-card .card-footer {
    padding: 0.75rem 0.5rem 0.5rem 0.5rem;
  }
  .admin-card .badge {
    font-size: 0.85rem !important;
    padding: 0.4em 0.9em !important;
    margin-bottom: 0.5rem;
  }
  .admin-card .btn-sm {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
  }

  /* Carousel controls: bigger touch area, more visible */
  .team-carousel .carousel-control-prev,
  .team-carousel .carousel-control-next {
    width: 18% !important;
    opacity: 0.85;
    min-height: 60px;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(1) brightness(10);
    background-size: 70% 70%;
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Indicators: larger and spaced for touch */
  .carousel-indicators button {
    width: 16px !important;
    height: 16px !important;
    margin: 0 8px !important;
    border-radius: 50%;
  }

  /* Prevent horizontal scroll/overflow */
  .team-carousel .carousel-inner,
  .team-carousel .carousel-item,
  .team-carousel .row {
    overflow: hidden;
  }

  /* Tighten up section spacing */
  .team-carousel {
    margin-bottom: 1.5rem;
  }
}
/* staff carousel ends here */

.custom-primary {
  color: #003c82;
}
.custom-secondary {
  color: #333;
}
.custom-bg-color-primary {
  background-color: #003c82;
}
.custom-bg-color-secondary {
  background-color: #333;
}
.social-icons a {
  color: #003c82;
  margin: 0 6px;
  font-size: 1.1rem;
}
.line-height {
  line-height: 1.6;
}

.course-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.pagination .page-link {
  border-radius: 50px;
  margin: 0 4px;
}

.pagination .active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Testimonial */

.testimonial-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("/static/images/graduate1.jpeg") center/cover no-repeat;
  padding-top: 5rem;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Make testimonial section fill available space if it's the last section */
.testimonial-section:last-of-type {
  min-height: 40vh;
}

/* Remove any gap between testimonial and footer */
.testimonial-section + .academy-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.testimonialSwiper {
  height: 450px;
  overflow: hidden;
}

.swiper-wrapper {
  box-sizing: border-box;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}



/* Ensure footer has no top margin/padding gap */
.academy-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-color: #1a1a1a;
  border-top: none;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #carouselExampleIndicators,
  #carouselExampleIndicators .carousel-item img {
    height: 70vh;
  }

  .carousel-caption {
    padding: 15px;
    font-size: 0.9rem;
  }
}

.program-img {
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .program-img {
    height: 200px;
  }
}

.image-wrapper {
  position: relative;
}
/* IMAGE WRAPPER */
.image-wrapper {
  position: relative;
}

/* YEAR CARD */
.year-card {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  z-index: 5;
}

/* CARD STYLE */
.card-year {
  background: #003c82;
  color: #fff;
  border-radius: 0 3rem 3rem 0;
}

.academy-card {
  transition: all 0.3s ease;
  border-radius: 14px;
  background: #ffffff;
}

.academy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
}

.academy-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-icon i {
  font-size: 32px;
  color: #0d6efd;
}

.line-height {
  line-height: 1.7;
}

/* Footer Styles */
.academy-footer {
  background: #2f2f2f;
  font-size: 0.95rem;
}

.footer-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block; /* important for centering ::after */
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: #0d6efd;
  border-radius: 2px;
}

/* Center the border under heading on mobile */
@media (max-width: 768px) {
  .footer-title {
    font-size: 1.2rem;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .footer-links a:hover {
    padding-left: 0;
    transform: none;
  }
}

.footer-list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cfd4da;
}

.footer-list i {
  font-size: 1.1rem;
  min-width: 24px;
}

.footer-links a {
  color: #cfd4da;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #0d6efd;
  padding-left: 8px;
  transform: translateX(5px);
}

/* Social Icons */
.social-links {
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.3rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: #0d6efd;
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
  color: white;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 3rem 0 2rem;
}


/* MOBILE ADJUSTMENTS */
@media (max-width: 991.98px) {
  .year-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.25rem;
  }

  .card-year {
    border-radius: 2rem;
  }
}

.custom-btn,
.custom-btn2 {
  display: inline-block;
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .custom-btn,
  .custom-btn2 {
    width: 100%;
    text-align: center;
  }
}


  /* =========================================================
   TEAM CAROUSEL (FACULTY & STAFF)
========================================================= */

.team-carousel {
  position: relative;
  width: 100%;
}

.team-carousel .carousel-inner {
  padding-bottom: 1rem;
}

/* Carousel Item */
.team-carousel .carousel-item {
  padding: 1.5rem 0;
}

/* Row Alignment */
.team-carousel .carousel-item .row {
  align-items: stretch;
}

/* Card Column */
.team-carousel .col-md-4 {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Profile Card Wrapper */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* Profile Image */
.team-carousel .staff-img {
  width: 300px;
  height: 300px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.team-carousel .staff-img:hover {
  transform: scale(1.04);
}

/* Name */
.team-carousel h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Job Title */
.team-carousel p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* Social Icons */
.team-carousel .social-icons a {
  color: #003c82;
  margin: 0 8px;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.team-carousel .social-icons a:hover {
  color: #0056b3;
}

/* Carousel Controls */
.team-carousel .carousel-control-prev,
.team-carousel .carousel-control-next {
  width: 5%;
}

.team-carousel .carousel-control-prev-icon,
.team-carousel .carousel-control-next-icon {
  filter: invert(1);
}

/* Indicators */
.team-carousel .carousel-indicators button {
  background-color: #003c82;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.team-carousel .carousel-indicators .active {
  background-color: #0056b3;
}

/* =========================================================
   MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 767.98px) {
  /* Show ONE card per slide */
  .team-carousel .carousel-item .row > div {
    display: none !important;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .team-carousel .carousel-item .row > div:first-child {
    display: flex !important;
  }

  .team-carousel .staff-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
  }
}

/* =========================================================
   TABLET FIX (2 CARDS)
========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
  .team-carousel .carousel-item .row > div:nth-child(3) {
    display: none;
  }
}

.academy-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.academy-footer .footer-divider {
  margin: 1.25rem auto;
}


/* program type card design */
/* Subtle professional enhancements */
.hover-lift {
  transition: all 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.icon-wrapper {
  font-size: 3rem;          /* controlled size – not too dominant */
  line-height: 1;
  color: var(--bs-primary);
  opacity: 0.9;             /* slightly subdued */
  transition: all 0.25s ease;
}

.card:hover .icon-wrapper {
  opacity: 1;
  transform: translateY(-4px);
}


/* Program type detail card */
.hover-lift {
  transition: all 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}
.placeholder-image {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.btn-outline-primary {
  transition: all 0.25s ease;
}
.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  color: white;
}
.card {
  border-radius: 12px;
}
.card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Staff detail View */
.profile-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d5a8f 100%);
    padding: 4rem 0 3rem;
    color: white;
  }

  .profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .profile-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .department-badge {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .info-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }

  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .info-card .card-header {
    background: var(--primary-navy);
    color: white;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }

  .info-card .card-body {
    padding: 1.5rem;
  }

  .contact-item {
    display: flex;
    align-items: start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .contact-item:last-child {
    border-bottom: none;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
  }

  .contact-icon i {
    color: var(--primary-navy);
    font-size: 1.2rem;
  }

  .table-professional {
    margin-bottom: 0;
  }

  .table-professional tr {
    border-bottom: 1px solid #e5e7eb;
  }

  .table-professional tr:last-child {
    border-bottom: none;
  }

  .table-professional th {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 1rem 0;
    width: 35%;
    font-size: 0.95rem;
  }

  .table-professional td {
    color: var(--text-primary);
    padding: 1rem 0;
    font-size: 1rem;
  }

  .btn-back {
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .btn-back:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateX(-4px);
  }

  .qualification-badge {
    display: inline-block;
    background: #f3f4f6;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0.25rem;
    font-size: 0.9rem;
  }

  .section-spacing {
    padding: 3rem 0;
  }

  /* FAQ Specific Styles */
  .accordion-button {
  font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(13, 110, 253, 0.05);
  color: #0d6efd;
}

.accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
}

.accordion-body {
  line-height: 1.7;
}


  @media (max-width: 768px) {
    .profile-header {
      padding: 2rem 0;
    }

    .profile-image-wrapper,
    .profile-image,
    .profile-placeholder {
      width: 150px;
      height: 150px;
    }
  }

/*News Page Styles*/
.content-wrapper { padding: 30px 15px; }
.post-card img { height: 220px; object-fit: cover; }
.post-meta { font-size: 0.85rem; color: #6c757d; }
.sidebar-widget {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}
.category-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    cursor: pointer;
}
.latest-post img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.news-content p {
  margin-bottom: 1.2rem;
}

.news-content h2,
.news-content h3 {
  margin-top: 2rem;
  font-weight: 700;
}

.news-content ul {
  padding-left: 1.2rem;
}

.news-content a {
  color: #0d6efd;
  text-decoration: underline;
}

/* Skeleton Loader */
.skeleton-img {
    height: 220px;
    background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 14px;
    background: #e0e0e0;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.category-link.active {
    font-weight: 600;
    color: #0d6efd;
}


/* News Style */
/* NEWS HEADER */
.news-header {
    min-height: 320px;
    display: flex;
    align-items: center;
    position: relative;
}

.news-header .display-4 {
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.news-header .lead {
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
}

/* Optional: subtle overlay for depth */
.header-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .news-header {
        min-height: 280px;
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    
    .news-header .display-4 {
        font-size: 2.8rem;
    }
    
    .news-header .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .news-header {
        min-height: 240px;
    }
    
    .news-header .display-4 {
        font-size: 2.2rem;
    }
    
    .news-header .lead {
        font-size: 1.1rem;
    }
}

.search-btn {
    background-color: #003c82;          /* Bootstrap primary blue */
    border-color: #003c82;
    color: white;
    transition: all 0.2s ease;
    border: none;
}

.search-btn:hover {
    background-color: #003c82;
    border-color: #003c82;
}

.search-btn i {
    line-height: 1;  /* Better vertical centering */
}

/* ===============================
   VIDEO HERO SECTION
================================ */
.video-hero-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-hero {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background-color: #000;
}

/* Play animation on scroll */
.video-hero.is-visible {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .video-hero-container {
        border-radius: 14px;
    }
}


/* ===============================
   RESOURCE PAGE STYLES
================================ */
/* Resources Page Layout */
.resources-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.resources-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Header Section */
.page-header {
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #475569;
}

/* Filters Section */
.filters-card {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.filters-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-group {
  flex-shrink: 0;
}

.search-group {
  flex-grow: 1;
}

.filter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.5rem;
}

.filter-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: #64748b;
  vertical-align: middle;
}

.filter-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  color: #334155;
  background: white;
  transition: all 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  color: #334155;
  transition: all 0.2s;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 1.25rem;
  height: 1.25rem;
}

.search-icon svg {
  width: 100%;
  height: 100%;
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-button:hover {
  background: #1d4ed8;
}

/* Resource Grid */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s;
}

.resource-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.resource-thumbnail {
  height: 12rem;
  background: linear-gradient(to bottom right, #f1f5f9, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.resource-card:hover .thumbnail-image {
  transform: scale(1.05);
}

.file-icon {
  color: #cbd5e1;
  transition: color 0.3s;
  width: 5rem;
  height: 5rem;
}

.resource-card:hover .file-icon {
  color: #3b82f6;
}

.file-icon svg {
  width: 100%;
  height: 100%;
}

.file-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.resource-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
  transition: color 0.2s;
}

.resource-card:hover .resource-title {
  color: #2563eb;
}

.resource-description {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  flex-grow: 1;
}

.resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.meta-date {
  display: flex;
  align-items: center;
  color: #64748b;
}

.meta-date svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.375rem;
}

.category-badge {
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  color: #334155;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2563eb;
  color: white;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.download-button:hover {
  background: #1d4ed8;
}

.download-button:active {
  background: #1e40af;
}

.download-button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.download-button:hover svg {
  transform: translateY(2px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.pagination-button svg {
  width: 1rem;
  height: 1rem;
}

.pagination-button-active {
  background: white;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.pagination-button-active:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.pagination-button-disabled {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.pagination-info {
  padding: 0.625rem 1.25rem;
  background: #2563eb;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background: #f1f5f9;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.empty-icon svg {
  width: 3rem;
  height: 3rem;
  color: #cbd5e1;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.empty-description {
  color: #475569;
  margin-bottom: 1.5rem;
}

.empty-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: #2563eb;
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.empty-action:hover {
  background: #1d4ed8;
}

.empty-action svg {
  width: 1rem;
  height: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .resources-container {
    padding: 3rem 1.5rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .filters-wrapper {
    flex-direction: row;
  }

  .filter-group {
    width: 16rem;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* gallery STYLES */
 .gallery-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
  }
  
  .gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-card:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-card img {
    transition: transform 0.3s ease;
  }
  
  .gallery-card:hover img {
    transform: scale(1.05);
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
  }
  
  /* Responsive adjustments */
  @media (max-width: 575.98px) {
    .display-4 {
      font-size: 1.75rem;
    }
    
    .lead {
      font-size: 1rem;
    }
  }
  
  /* Masonry-like effect for varied heights (optional) */
  @media (min-width: 768px) {
    .gallery-card:nth-child(3n+1) .ratio {
      --bs-aspect-ratio: 100%;
    }
    
    .gallery-card:nth-child(5n+2) .ratio {
      --bs-aspect-ratio: 120%;
    }
  }



  .gallery-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  }
  
  .gallery-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .gallery-card:hover .gallery-img {
    transform: scale(1.08);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-card:hover .gallery-overlay {
    opacity: 1;
  }
  
  .page-link {
    border: none;
    padding: 0.6rem 1rem;
    margin: 0 0.2rem;
    border-radius: 8px !important;
    color: #333;
  }
  
  .page-item.active .page-link {
    background-color: #212529;
    color: #fff;
  }
  
  .page-link:hover {
    background-color: #e9ecef;
    color: #000;
  }
  
  .page-item.disabled .page-link {
    background-color: transparent;
    color: #adb5bd;
  }

  @media (max-width: 575.98px) {
    .gallery-img {
      height: 180px;
    }
    
    .display-4 {
      font-size: 2rem;
    }
  }

/* resources */
  .resource-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 1rem;
  }
  .resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
  }
  .resource-card .card-header {
    border-radius: 1rem 1rem 0 0;
  }
  .btn-white {
    background-color: #fff;
  }
  .pagination .page-link {
    color: #667eea;
  }
  .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
  }


/* ===============================
   JOB BOARD SECTION STYLES
================================ */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item {
  display: flex;
  align-items: center;
}

.timeline-item .step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* Advertisement video section */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

@media (max-width: 991px) {
  .video-wrapper {
    padding-top: 50%;
  }
}


/* Make modal body scrollable safely */
/* .modal-dialog {
  max-height: 90vh;
}

.modal-content {
  max-height: 90vh;
}

.modal-body {
  overflow-y: auto;
}
@media (max-width: 576px) {
  .modal-dialog {
    max-height: 80vh;
  }

  .modal-content {
    max-height: 80vh;
  }
} */