@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Poppins&display=swap");
* {
  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;
  background-color: #000000;
  color: #ffffff;

  /* Default brightness for icons */
  --icon-brightness: brightness(1);
}



.info-icon {
    width: 20px;
    height: 20px;
}

h1 {
  font-family: "Titillium Web", sans-serif;
  font-weight: bold;
  font-size: 2.5em;
}
h2 {
  font-family: "Titillium Web", sans-serif;
  font-size: 2.5em;
  font-weight: bold;
}

h3 {
  font-family: "Titillium Web", sans-serif;
}

h5 {
  font-family: "Titillium Web", sans-serif;
}

h6 {
  font-family: "Titillium Web", sans-serif;
  font-size: 0.8em;
  font-style: italic;
  color: white;
  margin-top: 7px;
}

#currentDateTime {
  display: block !important; /* Override any hiding */
  color: white;
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  z-index: 1;
}

/* If using a media query, modify it */
@media (min-width: 768px) {
  /* Desktop */
  #currentDateTime {
    display: block; /* Ensure it's visible */
  }
}

.border-info {
  border: 0.125em solid #67e6ec;
  border-radius: 0.31em;
}

#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;
}

.view-all-link {
  color: #00d2be;
  text-decoration: none;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===================================
   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;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
}

#scrollToTopBtn.d-none {
  display: none !important;
  visibility: hidden !important;
}

@media (min-width: 768px) {
  .scrollToTopBtn {
    display: inline-block;
  }
}

span {
  z-index: 200;
}

.btn-primary {
  background: rgb(0, 0, 0);
  background: linear-gradient(
    157deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(52, 52, 235, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Gold text gradient */
.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 {
  -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;
  }
}

.border-info {
  border: 0.125em solid #67e6ec;
  border-radius: 0.31em;
}

.border-shadow {
  box-shadow: 0 0 1.25em rgba(103, 230, 236, 1);
}

.canva {
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

.offcanvas {
  background: rgba(23, 23, 66);
}

.btn-close:focus {
  outline: none;
  box-shadow: none;
}

/* ===================================
   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: 1em;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  transition: all 0.5s;
}

.navbar-nav a:hover {
  color: rgba(103, 230, 236);
}

.offcanvas {
  background: rgba(23, 23, 66);
}

.btn1 {
  height: 2.81em;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  color: white;
  background-color: transparent;
  font-weight: 900;
  z-index: 1;
  position: relative;
  overflow: hidden;
  padding: 6px;
}

.link {
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  color: white;
  background-color: rgba(4, 23, 194, 0.657);
  font-weight: 900;
  z-index: 1;
  position: relative;
  overflow: hidden;
  padding: 1px;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.content h3 {
  font-size: 4rem;
}

.content p {
  font-size: 1rem;
}

.content input {
  height: 4em;
  width: 70%;
  background: white;
  padding: 1.25em;
  border-radius: 0.3em;
  outline: none;
  border: none;
}

#myImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  height: 85%;
  border-radius: 0.31em;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid #67e6ec;
}

/* The Close Button */

.close {
  position: absolute;
  top: 10px;
  right: 30px;
  color: #f1f1f1;
  font-size: 2.5em;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
}

.offcanvas-header img {
  display: block;
  width: 4.68em;
  height: 4.68em;
  border-radius: 50%;
  margin: 0 auto;
  background: black;
}

.offcanvas-header h5 {
  color: #ffffff;
  margin: 0.62em 0 0.31em;
  text-align: center;
}

.offcanvas-header p {
  color: rgb(206, 240, 253);
  font-size: 0.87em;
}

.offcanvas-header h5,
.offcanvas-header h6 {
  margin: 0;
}

.offcanvas-header h6 {
  margin-bottom: 1.5rem; /* same as Bootstrap mb-3 */
}

/*Animated Circle Gradient Border for Profile Image */
.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; /* Ensures even spacing all around */
  border-radius: 50%;
  background: black; /* Match your page background */
  z-index: 1;
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   FOOTER - COMPLETE FIX
   ======================================== */

/* Remove all default footer borders */
footer {
  text-align: center;
  padding: 0rem;
  margin-top: 0;
  color: #6c757d;
  border: none !important;
  border-top: none !important;
  font-size: 0.9rem;
}

/* Remove any hr elements in footer */
footer hr {
  display: none !important;
}

.footer-toggle-container {
  position: relative;
  width: 25%;
  margin: 0 auto;
  white-space: nowrap;
  text-align: center;
  padding: 10px 0;
  min-width: 250px;
  overflow: hidden;
  border-left: 3px solid #001ae1;
  border-right: 3px solid #001ae1;
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .footer-toggle-container {
    width: 80%;
  }
}

.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;
}

header {
  color: white;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-text {
  flex: 1;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.container {
  max-width: 1200px;
  margin: 1.5rem auto 0.5rem auto;
  padding: 0 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 0;
}

.app-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Replace the existing .app-image styles */
.app-image {
  /* Remove fixed height */
  height: auto;
  width: 100%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px; /* Add padding so images don't touch edges */
}

.app-image img {
  /* Remove object-fit: cover to prevent cropping */
  max-width: 100%;
  max-height: 180px; /* Maximum height to maintain consistency */
  width: auto;
  height: auto;
  object-fit: contain; /* Show entire image, maintain aspect ratio */
  transition: transform 0.5s ease;
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .app-image {
    padding: 15px;
  }
  
  .app-image img {
    max-height: 160px;
  }
}

@media (max-width: 480px) {
  .app-image {
    padding: 12px;
  }
  
  .app-image img {
    max-height: 140px;
  }
}

.app-card:hover .app-image img {
  transform: scale(1.05);
}

.app-content {
  padding: 1.25rem;
}

.app-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.app-description {
  color: #6c757d;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
}

/* Glassmorphism info boxes */
.app-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.info-box {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.info-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6a11cb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
  header {
    padding: 1.25rem 1rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-image {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  header p {
    font-size: 0.95rem;
  }

  .container {
    margin: 1rem auto 0.5rem auto;
    padding: 0 0.75rem;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .app-image {
    height: 160px;
  }

  .app-content {
    padding: 1rem;
  }

  .app-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: center;
  }
  .app-description {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .download-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  .app-info {
    gap: 6px;
  }

  .info-box {
    padding: 8px 4px;
  }

  .info-label {
    font-size: 0.65rem;
  }

  .info-value {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem 0.75rem;
  }

  .header-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header p {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 0.5rem;
    margin: 1rem auto 0.5rem auto;
  }

  .app-grid {
    gap: 1rem;
  }

  .app-image {
    height: 140px;
  }

  .app-content {
    padding: 0.875rem;
  }

  .app-title {
    font-size: 1.1rem;
  }

  .app-description {
    font-size: 0.85rem;
  }

  .download-btn {
    padding: 0.6rem 0.875rem;
    font-size: 0.875rem;
  }

  footer {
    padding: 1.25rem;
    font-size: 0.85rem;
  }

  .app-info {
    flex-direction: column;
    gap: 8px;
  }

  .info-box {
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .info-label {
    font-size: 0.7rem;
    margin-bottom: 0;
  }

  .info-value {
    font-size: 0.8rem;
  }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 360px) {
  .container {
    padding: 0 0.25rem;
  }

  .app-grid {
    gap: 0.75rem;
  }
}
