/* ================= GLOBAL RESET ================= */
*,
*::before,
*::after {
  text-decoration: none !important;
}


/* ================= HEADER ================= */
.header-section {
  border-bottom: 1px solid #DAA425;
  padding: 0;
  margin: 0;
  line-height: 0;
}
.logo-text {
  color: #008B8B;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 0;
  font-family: emoji;
  text-align:center;
  font-weight: bold;
}
.tagline {
  font-size: 0.90rem;
  font-style: italic;
  color: #DAA425;
  line-height: 1.2;
  margin: 0;
  font-family: emoji;
  text-align:center;
  font-weight: bold;
}

/* ================= FLAGS ================= */
.flags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  padding-right: 6px;
  overflow: visible;
}
.flag {
  position: relative;
  display: inline-block;
}
.flag img {
  display: block;
  height: 32px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.flag img:hover {
  transform: translateY(-4px) scale(1.05);
  filter: brightness(1.15);
  animation: glow-pulse 1.2s infinite alternate;
}

/* Tooltip (no arrow) */
.flag::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 2px); /* closer to flag */
  left: 50%;
  transform: translateX(-50%) translateY(0); /* no extra downward push */
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px; /* slightly smaller padding */
  border-radius: 5px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
  text-align: center;
  box-shadow: 0 0px 6px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.flag:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(2px); /* tiny smooth lift */
}


/* Gold glow animation */
@keyframes glow-pulse {
  0% { box-shadow: 0 8px 14px rgba(0,0,0,0.25), 0 0 5px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 10px 16px rgba(0,0,0,0.3), 0 0 10px rgba(255, 215, 0, 0.6); }
  100% { box-shadow: 0 8px 14px rgba(0,0,0,0.25), 0 0 5px rgba(255, 215, 0, 0.4); }
}

/* Responsive flags */
@media (max-width: 480px) {
  .flag img { height: 28px; }
  .flag::after { font-size: 10px; padding: 3px 8px; }
}


/* Carousel settings */
#bannerCarousel {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1; /* Lower than the dropdown */
}

#bannerCarousel img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: top center;
}

/* Caption */
.custom-caption {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: transparent;
  padding: 15px 20px;
  text-align: center;
  margin-top: 0; /* ensure no top margin */
}

.custom-caption h3 {
  font-size: 24px;
  font-weight: 800;
  color: #f1f1f1 !important;
}

.custom-caption p {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff !important;
}

/* Carousel indicators */
.carousel-indicators { 
  bottom: 15px; 
}

.carousel-indicators [data-bs-target] {
  width: 12px; 
  height: 12px;
  border-radius: 50%;
  background-color: #DAA425 !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #008B8B !important;
  opacity: 1 !important;
  transform: scale(1.2);
}

/* Ticket Container on Home Page */
.ticker-container-vertical {
  width: 100%;
  height: 550px;
  overflow: hidden;
  padding: 12px;
  border-radius: 14px;
  background: #fdfdfd;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ticker-container-vertical:hover {
  box-shadow: 0 8px 35px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Scroll track */
.ticker-track-vertical {
  display: flex;
  flex-direction: column-reverse;
  animation: tickerScrollUp 15s linear infinite;
  will-change: transform;
}

.ticker-container-vertical:hover .ticker-track-vertical {
  animation-play-state: paused;
}

/* Section */
.ticker-section {
  margin-bottom: 25px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticker-section:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* Section headers with gradient 
.ticker-section-header {
  font-weight: 600;
  font-size: 14px;
  padding: 3px 7px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
}*/
.ticker-section-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 5px;            /* Slightly increased padding for balance */
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #008B8B, #00A7A7);
  border-radius: 3px;            /* ✅ Square look but with soft corners */
  letter-spacing: 0.5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease-in-out;
}

/* Hover effect */
.ticker-section-header:hover {
  transform: translateY(-2px);
  box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.18);
  background: linear-gradient(90deg, #00A7A7, #008B8B);
}



/* Items */
.ticker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  color: #212529;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ticker-item:hover {
  background: #f1f3f5;
}

/* Title and Date */
.ticker-title {
  font-weight: 500;
}

.ticker-date-badge {
  font-size: 11px;
  color: #fff;
  background: #DAA425;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Separators */
.ticker-separator {
  border-top: 2px solid #Daa425;
  margin: 6px 0;
}

/* View All */
.ticker-view-all {
  font-weight: 600;
  color: #c82333;
  text-align: center;
  justify-content: center;
  display: flex;
  padding: 6px 0;
}

/* Empty State */
.ticker-empty {
  text-align: center;
  padding: 12px;
  color: #6c757d;
  font-size: 14px;
}

/* Scroll Animation */
@keyframes tickerScrollUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}


/* ================= GLOBAL ================= */
:root { --primary: #DAA425; --secondary: #000000; --text-dark: #333; --light-bg: #f8f9fa; --white: #fff; --transition-speed: 0.4s; }
body { font-family: 'Arial', sans-serif; background-color: var(--white); color: var(--text-dark); }
a { text-decoration: none; transition: color var(--transition-speed); }
a:hover { color: #008B8B; }




/* ================= TABS ================= */
.nav-tabs .nav-link {
  color: #000 !important;          /* Black text */
  background-color: #fff !important; /* White background */
  border: 1px solid #e0e0e0 !important; /* Light border */
  border-radius: 6px 6px 0 0;
  margin-right: 4px;
  
  transition: all 0.3s ease;
  font-family: emoji;
  font-size: 16px;
  
}
.nav-tabs .nav-link.active {
  color: #000 !important;
  background-color: #fff !important;
  border-bottom-color: #fff !important;
}
.nav-tabs .nav-link:hover {
  background-color: #f8f8f8 !important;
  color: #000 !important;
  text-decoration: none;
}
.nav-tabs {
  border-bottom: none !important;
}

/* ================= BUTTONS ================= */
   .btn-update-detail {
      background-color: #008B8B !important;
      color: #fff !important;
      border: none !important;
      text-decoration: none !important;
      font-family: emoji !important;
  font-size: 13px !important;
    font-weight: normal !important;
     text-align: justify !important;
    }
    .btn-update-detail:hover {
      background-color: #b98f1d !important;
      color: #fff !important;
    }
  .btn-news {
      background-color: #DAA425 !important;
      color: #fff !important;
      border: none !important;
      text-decoration: none !important;
       font-family: emoji !important;
  font-size: 13px !important;
    font-weight: normal !important;
     text-align: justify !important;
    }
    .btn-news:hover {
      background-color: #006666 !important;
      color: #fff !important;
    }
/* ================= Updates Detail Modal ================= */
  /* Header */
  .modal-header-custom {
    background-color: #008B8B;
    color: #fff;
    font-family: emoji !important;
  }

  /* Title */
  .modal-title {
    font-family: emoji !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  /* Image */
  .update-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* Text */
  .modal-text {
    font-family: emoji !important;
    font-size: 15px !important;
    line-height: 1.7;
    color: #333;
  }

  /* Meta (date) */
  .update-meta {
    font-family: emoji !important;
    font-size: 15px !important;
    background: #f8f9fa;
    padding: 6px 10px;
    border-left: 3px solid #008B8B;
    border-radius: 6px;
    margin-bottom: 15px;
    display: inline-block;
  }

  /* Buttons */
  .toggle-btn {
    display: none;
    background-color: #DAA425 !important;
    color: #fff !important;
    border: none;
    font-family: emoji !important;
    font-size: 14px !important;
  }

  .btn-back {
    font-family: emoji !important;
    border: 2px solid #008B8B !important;
    color: #008B8B;
    font-weight: 500;
  }








