/* ================== All Event ================== */
#all-event .card {
  border-radius: 10px;
  border: 0;
  background: linear-gradient(to right, #ffd3ce 40%, #ffdd93 60%);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

#all-event .card:hover {
  transform: scale(0.99);
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
}

#all-event .card-img-container {
  border-radius: 10px 0 0 10px;
  height: 240px;
  overflow: hidden;
  position: relative;
}

#all-event .card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#all-event .btn-read {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  background-color: #0056b3;
  color: white;
  border: none;
  transition: all 0.3s ease-in-out;
}

#all-event .btn-read:hover {
  background-color: #003d82;
}

#all-event .event-container::-webkit-scrollbar {
  width: 8px;
}

#all-event .event-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#all-event .event-container::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, red, #4a5cd6);
  border-radius: 10px;
}

#all-event .event-container::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

#all-event .btn-read {
  background-color: #f4511e;
  border-color: #f4511e;
  color: #fff;
  box-shadow: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

#all-event .btn-read:hover {
  background-color: #e03e10;
  border-color: #e03e10;
  box-shadow: none;
  color: #fff;
}

#all-event .btn-read:active {
  background-color: #e03e10 !important;
  border-color: #e03e10 !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-view {
  background-color: #f4511e;
  border-color: #f4511e;
  color: #fff;
  box-shadow: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.btn-view:hover {
  background-color: #e03e10;
  border-color: #e03e10;
  box-shadow: none;
}

.btn-view:active {
  background-color: #e03e10 !important;
  border-color: #e03e10 !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

#page-title {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

#page-title h1 {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: bold;
  color: #2c3e50;
}

#page-title .breadcrumbs {
  font-family: "Verdana", sans-serif;
  font-size: 16px;
  color: #555;
}

#page-title .breadcrumbs ol li a {
  text-decoration: none;
  color: #007bff;
}

#page-title .breadcrumbs ol li a:hover {
  color: #0056b3;
}

#resetFilters {
  height: 40px;
}

#filter-card {
  font-family: "Verdana", sans-serif;
}

#filter-card .card {
  background-color: #f8f9fa;
  padding: 5px;
  border-radius: 10px;
}

#filter-container .form-select {
  font-family: "Verdana", sans-serif;
  box-shadow: none !important;
  border-color: #0072ff !important;
  height: 40px;
}

#filterYear option:first-child,
#filterMonth option:first-child {
  color: rgb(142, 147, 153) !important;
}

#filterYear option,
#filterMonth option {
  font-family: "Verdana", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

#applyFilters {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  background-color: #0056b3;
  color: white;
  border: none;
  transition: all 0.3s ease-in-out;
  height: 40px;
}

#applyFilters:hover {
  background-color: #003d82;
}
/* ================== All Event ================== */

/* ======================================== 
            OVERVIEW PAGE START
 ======================================== */
#overview .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

#overview .card-body {
  padding: 2rem;
}

#overview .card-title {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #f12711;
  margin-bottom: 1.5rem;
  text-align: center;
}

#overview .card-text {
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #000;
  text-align: center;
}

#overview .core-values-img {
  width: 700px;
  height: auto;
  max-width: 100%;
}

#overview .mandate-text {
  max-width: 800px;
}
/* ======================================== 
            OVERVIEW PAGE END
 ======================================== */

/* ======================================== 
            ACHIEVEMENT PAGE START
 ======================================== */
#achievements .main {
  min-height: 70vh;
}

#achievements .styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 1.3rem;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#achievements .styled-table thead tr {
  background: linear-gradient(to right, maroon, #f12711, #f5af19);
  color: #ffffff;
  text-align: left;
}

#achievements .styled-table th,
#achievements .styled-table td {
  padding: 12px 15px;
}

#achievements .styled-table tbody tr {
  border-bottom: 1px solid #f12711;
}

#achievements .styled-table tbody tr:nth-of-type(even) {
  background-color: #ffe5b4;
}

#achievements .styled-table tbody tr:last-of-type {
  position: relative;
}

#achievements .styled-table tbody tr:last-of-type::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, maroon, #f12711, #f5af19);
}

#achievements .pagination-controls {
  display: flex;
  justify-content: flex-end;
}

#achievements .pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

#achievements .pagination li {
  margin: 0 5px;
}

#achievements .pagination li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #fff0e6;
  color: #cc3300;
  border: 1px solid #ff4500;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

#achievements .pagination li a:hover {
  background-color: #ffccbc;
  color: #b22222;
}

#achievements .pagination li.active a {
  background-color: #ff4500;
  color: white;
  font-weight: 600;
}

#achievements .pagination li.disabled a {
  background-color: #ffe5dc;
  color: #aaa;
  pointer-events: none;
  border-color: #ffc2b3;
}

#achievements .pagination-info {
  color: #cc3300;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

#achievements .pagination li a:focus {
  outline: none;
  box-shadow: none;
}
/* ======================================== 
            ACHIEVEMENT PAGE END
 ======================================== */

/* ======================================== 
          SCHOOL HYMN PAGE START
 ======================================== */
#hymn .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

#hymn .card-body {
  padding: 2rem;
}

#hymn .card-title {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #f12711;
  margin-bottom: 1.5rem;
  text-align: center;
}

#hymn .card-text {
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #000;
  text-align: center;
}

#hymn .mandate-text {
  max-width: 600px;
}
/* ======================================== 
          SCHOOL HYMN PAGE END
 ======================================== */

/* ======================================== 
          SCHOOL UNIFORM PAGE START
 ======================================== */
#uniform .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

#uniform .card-body {
  padding: 2rem;
}

#uniform .custom-btn {
  width: 150px;
  padding: 10px 0;
  font-weight: bold;
  color: #fff;
  border: none;
  transition: 0.3s ease;
  font-family: "Poppins", sans-serif;
}

#uniform .btn-red {
  background: linear-gradient(45deg, #ff8c00, #40e0d0, #ff0080);
  color: white;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-red:hover {
  background-position: right center;
}

#uniform .btn-orange {
  background: linear-gradient(45deg, #1e9600, #fff200, #ff0000);
  color: black;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-orange:hover {
  background-position: right center;
}

#uniform .btn-yellow {
  background: linear-gradient(45deg, #fc5404, #f7fd04, #f9b208);
  color: black;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-yellow:hover {
  background-position: right center;
}

#uniform .btn-green {
  background: linear-gradient(45deg, #51050f, #ffde4d, #ff4c4c);
  color: white;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-green:hover {
  background-position: right center;
}

#uniform .btn-blue {
  background: linear-gradient(45deg, #e4003a, #ffde4d, #ff4c4c);
  color: black;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-blue:hover {
  background-position: right center;
}

#uniform .btn-purple {
  background: linear-gradient(45deg, #9cff2e, #fbffb1, #fc2947);
  color: black;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-purple:hover {
  background-position: right center;
}

#uniform .btn-dark {
  background: linear-gradient(45deg, #ff0000, #ff9300, #e71414);
  color: whitesmoke;
  border: none;
  background-size: 200% 200%;
  transition: background-position 0.5s;
}

#uniform .btn-dark:hover {
  background-position: right center;
}

#uniform #imageModal .modal-title {
  font-family: "Poppins", sans-serif !important;
  font-size: 1.5rem !important;
}

#uniform #imageModal .btn-close:focus {
  box-shadow: none !important;
  outline: none;
}
/* ======================================== 
          SCHOOL UNIFORM PAGE END
 ======================================== */

/* ======================================== 
          SCHOOL HISTORY PAGE END
 ======================================== */
#history .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

#history .card-body {
  padding: 2rem;
}

#history .card-title {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #f12711;
  margin-bottom: 1.5rem;
  text-align: center;
}

#history .card-text {
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #000;
  text-align: center;
}

#history .card .card-body .card-text {
  text-align: justify !important;
  text-indent: 2em;
}

#history #imageModal .modal-title {
  font-family: "Poppins", sans-serif !important;
  font-size: 1rem !important;
}

#history #imageModal .btn-close:focus {
  box-shadow: none !important;
  outline: none;
}

#history .modal-dialog {
  max-height: 80vh;
  overflow-y: auto;
}

#history #modalImage {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}

#history .fixed-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#history .card .pagination {
  background-color: #fff5e6;
  border-radius: 15px;
}

#history .card .pagination .page-link {
  color: #f12711;
  background-color: #fff5e6;
  border: 1px solid #f12711;
  border-radius: 15px;
}

#history .card .pagination .page-link:hover {
  background-color: #f12711;
  color: #fff;
}

#history .card .pagination .page-item.active .page-link {
  background-color: #f12711;
  color: white;
  border-color: #f12711;
}

#history .card .pagination .page-item.disabled .page-link {
  background-color: #f5d0b7;
  color: #d7a08d;
  border-color: #f5d0b7;
}
/* ======================================== 
          SCHOOL HISTORY PAGE END
 ======================================== */

/* ======================================== 
            FACULTY PAGE START
 ======================================== */
#faculty .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
  text-align: center;
}

#faculty .custom-profile-card .profile-header {
  border: 2px solid #ff5500;
  font-family: "Poppins", sans-serif;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: none;
  padding: 0.3rem;
}

#faculty .custom-profile-card .profile-header h4 {
  color: black;
  font-size: 1.3rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

#faculty .custom-profile-card .profile-header p {
  font-size: 1.1rem;
  color: black;
  text-align: center;
}

#faculty .custom-profile-card .profile-degree {
  border: 2px solid #ff5500;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  width: 85%;
  margin: 0 auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: none;
  color: black;
}

.fire-glow {
  border: 4px solid #ff4500;
  box-shadow: 0 0 5px #ff4500, 0 0 10px #ffa500, 0 0 15px #ffff00;
}
/* ======================================== 
            FACULTY PAGE END
 ======================================== */

/* ======================================== 
            ALBUM PAGE START
 ======================================== */
#album .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

.card-body,
.card-header,
.card-title,
.card-body p,
.dropdown-menu,
.dropdown-item {
  font-family: "Poppins", sans-serif;
}

#album .dropdown {
  display: flex;
  justify-content: center;
}

#album .dropdown-toggle {
  background: linear-gradient(45deg, #f12711, #f5af19, #ff0080);
  border: none;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  background-size: 200% 200%;
  transition: background-position 0.5s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#album .dropdown-toggle:hover,
#album .dropdown-toggle:focus {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

#album .dropdown-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  top: calc(100% + 5px) !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 8px 0;
  background-color: #fff5e6;
  font-family: "Poppins", sans-serif;
  margin-top: 0 !important;
}

#album .dropdown-toggle::after {
  margin-left: 8px;
}

#album .dropdown-item {
  padding: 8px 16px;
  transition: background-color 0.2s ease;
  color: #333;
  font-weight: 500;
}

#album .dropdown-item:hover {
  background-color: rgba(255, 140, 0, 0.1);
  color: #ff8c00;
}

#album .dropdown-item.active {
  background: linear-gradient(45deg, #ff8c00, #ff0080);
  background-size: 200% 200%;
  color: white;
}

#album .album-image-container {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#album .album-image-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#album .album-image-container:hover img {
  transform: scale(1.1);
}

#album .album-main .card-title {
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

#album .album-main {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 20px;
}

#album .album-main .card-body {
  padding: 1rem;
  text-align: center;
}
/* ======================================== 
            ALBUM PAGE END
 ======================================== */

/* ======================================== 
            VIEW-ALBUM PAGE START
 ======================================== */
#view_album .card {
  background-color: #fff5e6;
  border: none;
  box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
  border-radius: 15px;
}

#view_album .album-image-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

#view_album .album-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#view_album .album-image-container:hover img {
  transform: scale(1.1);
}

#view_album .custom-modal-content {
  min-height: 80vh;
  max-height: 90vh;
}

#view_album .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

#view_album .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
}

#view_album .modal-photo {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

#view_album .btn-close:focus {
  box-shadow: none !important;
  outline: none;
}

#view_album .modal-title {
  font-family: "Poppins", sans-serif !important;
  font-size: 1.5rem !important;
}

#view_album .album-main {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#view_album .album-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#view_album .dropdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#view_album .dropdown {
  display: flex;
  justify-content: center;
}

#view_album .dropdown-toggle {
  background: linear-gradient(45deg, #f12711, #f5af19, #ff0080);
  border: none;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  background-size: 200% 200%;
  transition: background-position 0.5s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#view_album .dropdown-toggle:hover,
#view_album .dropdown-toggle:focus {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

#view_album .dropdown-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  top: calc(100% + 5px) !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 8px 0;
  background-color: #fff5e6;
  font-family: "Poppins", sans-serif;
  margin-top: 0 !important;
}

#view_album .dropdown-toggle::after {
  margin-left: 8px;
}

#view_album .dropdown-item {
  padding: 8px 16px;
  transition: background-color 0.2s ease;
  color: #333;
  font-weight: 500;
}

#view_album .dropdown-item:hover {
  background-color: rgba(255, 140, 0, 0.1);
  color: #ff8c00;
}

#view_album .dropdown-item.active {
  background: linear-gradient(45deg, #ff8c00, #ff0080);
  background-size: 200% 200%;
  color: white;
}

#view_album .btn-back {
  background: #f12711;
  color: white;
  border-radius: 6px;
  padding: 8px 16px;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  background-size: 200% 200%;
}

#view_album .btn-back:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(241, 39, 17, 0.3);
}

@media (max-width: 768px) {
  #view_album .col-md-2 {
    width: 50%;
  }

  #view_album .dropdown-toggle,
  #view_album .btn-back {
    font-size: 14px;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  #view_album .col-md-2 {
    width: 100%;
  }

  #view_album .card-header .d-flex {
    flex-direction: column;
    align-items: start !important;
  }

  #view_album .ms-auto {
    margin-left: 0 !important;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #view_album .btn-back,
  #view_album .dropdown {
    width: 50%;
  }

  #view_album .dropdown {
    margin-left: 5px !important;
  }

  #view_album .dropdown-toggle {
    width: 100%;
  }
}
/* ======================================== 
            VIEWALBUM PAGE END
 ======================================== */

/* Photo Gallery Fullscreen Mode */
.fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-mode img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fullscreen-mode .close-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}

.fullscreen-btn {
  transition: all 0.3s ease;
}

.fullscreen-btn:hover {
  background-color: #f4511e;
  color: white;
  border-color: #f4511e;
}

/* Photo Navigation Buttons */
.photo-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.photo-nav-btn:hover {
  background-color: rgba(244, 81, 30, 0.8);
}

.prev-photo-btn {
  left: 10px;
}

.next-photo-btn {
  right: 10px;
}

.photo-nav-btn i {
  font-size: 20px;
}

/* Fullscreen mode navigation buttons */
.fullscreen-mode .photo-nav-btn {
  width: 50px;
  height: 50px;
}

.fullscreen-mode .prev-photo-btn {
  left: 20px;
}

.fullscreen-mode .next-photo-btn {
  right: 20px;
}
