/* ========================================
   FONTS
   ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Poppins&display=swap");

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(7, 7, 161, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  ) no-repeat;
  min-height: 100%;
  min-width: 100%;
  overflow-y: auto;
}

p {
  font-family: "Titillium Web", sans-serif;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1 {
  font-family: "Titillium Web", sans-serif;
  font-size: 2.5em;
}

h2 {
  font-family: "Titillium Web", sans-serif;
  font-weight: bold;
}

h3 {
  font-family: "Poppins", sans-serif;
  color: white;
}

h4 {
  font-family: "Titillium Web", sans-serif;
  font-size: 1.25em;
  color: #67e6ec;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

h5 {
  font-family: "Titillium Web", sans-serif;
  color: #67e6ec;
}

h6 {
  font-family: "Titillium Web", sans-serif;
  font-size: 0.8em;
  font-style: italic;
  color: white;
  margin-top: 7px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.fw-bold {
  font-weight: bold;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

.border-info {
  border: 0.125em solid #67e6ec;
  border-radius: 0.31em;
}

.bg-secondary {
  background: linear-gradient(
    157deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(52, 52, 235, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

.bg-translucent {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 12px 20px;
  border-radius: 0 0 0.5rem 0.5rem;
  display: inline-block;
  max-width: 75%;
  margin: 0 auto;
}

/* ========================================
   GOLDEN TEXT GRADIENTS
   ======================================== */
.golden-base {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  -webkit-margin-before: 0.3em;
  -webkit-margin-after: 0.2em;
}

.golden1 {
  background-image: -webkit-linear-gradient(#fff65c, #3a2c00);
  text-shadow: -0.02em -0.03em 0.005em rgba(255, 223, 0, 0.6);
  font-size: 2.5em;
}

.golden2 {
  background-image: -webkit-linear-gradient(
    #e8d800,
    #e0cf00 52%,
    #a86800 55%,
    #a86800
  );
  text-shadow: -0.02em -0.03em 0.005em rgba(255, 255, 0, 0.56);
  font-size: 2.5em;
}

.golden3 {
  background-image: -webkit-linear-gradient(#fff65c 45%, #524402 75%);
  -webkit-text-stroke: 0.01em white;
  font-size: 2.5em;
  text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange,
    4px -5px 6px yellow, -4px -10px 10px yellow, 0 -10px 30px yellow;
  animation: animate 2s infinite alternate linear;
}

@keyframes animate {
  0% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 0 0 0 yellow,
      0 0 5px yellow, -2px -5px 5px yellow, 4px -10px 10px yellow;
  }
  25% {
    text-shadow: 0 3px 20px red, 0 0 30px red, 0 0 20px orange, 0 0 5px yellow,
      -2px -5px 5px yellow, 3px -10px 10px yellow, -4px -15px 20px yellow;
  }
  50% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange,
      -2px -5px 5px yellow, 3 -10px 10px yellow, -4px -15px 20px yellow,
      2px -20px 30px rgba(255, 255, 0, 0.5);
  }
  75% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange,
      3 -5px 5px yellow, -4px -10px 10px yellow,
      2px -20px 30px rgba(255, 255, 0, 0.5), 0 -25px 40px rgba(255, 255, 0, 0);
  }
  100% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 0 0 0 yellow,
      0 0 5px yellow, -2px -5px 5px yellow, 4px -10px 10px yellow;
  }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(7, 7, 161, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

.navbar-toggler {
  font-size: 40px;
  color: white;
  outline: none;
  box-shadow: none;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  color: white;
}

.navbar-brand {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.navbar-brand:hover {
  color: white;
}

.navbar-nav a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  transition: all 0.5s;
}

.navbar-nav a:hover {
  color: rgba(103, 230, 236);
}

/* ========================================
   OFFCANVAS SIDEBAR
   ======================================== */
.offcanvas {
  background: rgba(23, 23, 66);
}

.btn-close:focus {
  outline: none;
  box-shadow: none;
}

.offcanvas-header h5,
.offcanvas-header h6 {
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.offcanvas-header h6 {
  margin-bottom: 1.5rem;
}

.offcanvas-header p {
  color: rgb(206, 240, 253);
  font-size: 14px;
}

/* Profile Image with Animated Border */
.profile-image-wrapper {
  position: relative;
  display: inline-block;
  width: 5em;
  height: 5em;
}

.profile-image-wrapper img {
  width: 4.5em;
  height: 4.5em;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  display: block;
  margin: auto;
}

.profile-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#3457d5, #1e90ff, #67e6ec, blue, #3457d5);
  animation: rotateBorder 3s linear infinite;
  z-index: 0;
}

.profile-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0.25em;
  border-radius: 50%;
  background: black;
  z-index: 1;
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   BANNER
   ======================================== */
.masthead {
  height: 25vh;
  min-height: 15.62em;
  background-image: url("/images/banner/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  padding-bottom: 2px;
  border-radius: 5px;
  border: 2px solid #67e6ec;
}

.card-1 {
  width: 305px;
  height: 205px;
  position: center;
  margin-right: 25%;
  border-radius: 5px;
  border: 2px solid #67e6ec;
}

.card-body {
  margin-right: 5px;
  padding-bottom: 5px;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: calc(50% - 60px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 100%;
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 1rem;
  padding: 0;
}

/* Slide Elements */
.slide-container {
  padding: 15px;
}

.slide-image {
  display: block;
  max-width: 75%;
  height: auto;
  margin: 0 auto;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.slide-caption {
  margin-top: 20px;
  border-bottom: 2px solid #67e6ec;
  border-top: 2px solid #67e6ec;
  padding-bottom: 20px;
  text-align: center;
}

.caption-title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.caption-source {
  color: #6c757d;
  margin-bottom: 0;
}

/* ========================================
   OWL CAROUSEL (VIDEO SLIDER)
   ======================================== */
.owl-carousel .item-video {
  height: 200px;
  width: 400px;
  padding-right: 1px;
}

.owl-prev {
  left: -30px;
}

.owl-next {
  right: -30px;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 50px;
}

.owl-prev span,
.owl-next span {
  font-size: 80px;
  color: white;
}

.owl-theme,
.owl-nav[class*="owl-"]:hover {
  background: transparent;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: linear-gradient(
    157deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(52, 52, 235, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

#scrollToTopBtn.d-none {
  display: none !important;
  visibility: hidden !important;
}

/* ========================================
   DATE/TIME DISPLAY
   ======================================== */
#currentDateTime {
  display: block !important;
  color: white;
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-toggle-container {
  position: relative;
  width: 25%;
  margin: 0 auto;
  white-space: nowrap; /* Keeps text on one line */
  text-align: center; /* Centers text horizontally */
  padding: 10px 0; /* Adds vertical space */
  min-width: 250px; /* Prevents container from getting too narrow */
  overflow: hidden; /* Contains any overflow */
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .footer-toggle-container {
    width: 80%; /* Wider on mobile */
  }
}

.footer-toggle-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

.footer-toggle-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

/* Add left and right borders using box-shadow on the main element */
.footer-toggle-container {
  box-shadow: 
    inset -3px 0 0 0 #001ae1,
    inset 3px 0 0 0 #001ae1;
}

/* Or using border property */
.footer-toggle-container {
  border-left: 3px solid #001ae1;
  border-right: 3px solid #001ae1;
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media (min-width: 768px) {
  #currentDateTime {
    display: block;
  }

  .carousel-control-prev,
  .carousel-control-next {
    opacity: 0.7;
  }

  .carousel:hover .carousel-control-prev,
  .carousel:hover .carousel-control-next {
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 767.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

/* Rotate Screen Message */
#rotate-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  z-index: 9999;
  text-align: center;
  padding-top: 50vh;
}

@media (min-width: 1025px) {
  #rotate-message {
    display: none !important;
  }
}