body {
  background-color: #f1f3f5;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  padding-bottom: 60px;
  font-size: 1.8rem;
}

    @media (min-width: 1600px) {
      body { font-size: 2.2rem; }
    }

    @media (max-width: 1024px) {
      body { font-size: 1.5rem; }
      .slideshow img { height: 300px; }
      .announcement-footer { font-size: 1.8rem; padding: 10px 20px; }
      .sidebar { width: 240px; font-size: 1.4rem; }
    }

    @media (max-width: 768px) {
      body { font-size: 1.2rem; }
      .topbar { flex-direction: column; align-items: flex-start; height: auto; padding: 10px; }
      .sidebar {
        position: fixed; bottom: 0; top: auto; width: 100%; height: auto;
        display: flex; flex-direction: row; overflow-x: auto; z-index: 1050;
      }
      .sidebar a { flex: 1; text-align: center; padding: 10px; font-size: 1.2rem; }
      .slideshow img { height: auto; max-height: 250px; }
      .card-scroll, .card-scroll1, .card-scroll2 { max-height: 250px; }
      .announcement-footer { font-size: 1.6rem; }
    }

    .topbar {
      height: 60px;
      background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
      color: white;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .topbar .wifi-icon { font-size: 1.5rem; }
    .topbar button { font-size: 1.6rem; background: none; border: none; color: white; }

    .sidebar {
      width: 250px; position: fixed; top: 60px; left: 0; height: 100%;
      background: linear-gradient(180deg, #343a40, #212529);
      padding-top: 1rem; display: none; z-index: 1000;
    }

    .sidebar a {
      color: white; padding: 12px 20px; display: block; text-decoration: none;
      font-weight: 500; transition: background 0.3s ease;
    }

    .sidebar a:hover {
      background: #495057;
    }

    .card {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .card-header {
      background: linear-gradient(45deg, #007bff, #00c6ff);
      color: white;
      font-weight: bold;
      font-size: 1.4rem;
      padding: 12px 20px;
    }

    .card-scroll, .card-scroll1, .card-scroll2 {
      scroll-behavior: smooth;
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scrollbar-width: none; 
    }

    .card-scroll::-webkit-scrollbar,
    .card-scroll1::-webkit-scrollbar,
    .card-scroll2::-webkit-scrollbar {
      display: none;
    }

    .card-scroll, .card-scroll1 { max-height: 330px; }
    .card-scroll2 { max-height: 200px; }

    .slideshow img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      border-radius: 12px;
    }

    .announcement-footer {
      position: fixed;
      bottom: 0;
      width: 100%;
      background: linear-gradient(90deg, #ff416c, #ff4b2b);
      color: white;
      padding: 6px 10px;
      font-weight: bold;
      white-space: nowrap;
      overflow: hidden;
      font-size: 2rem;
    }

    .announcement-link {
      color: #000;
      text-decoration: none;
      white-space: nowrap;
    }

    .scrolling-text {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 20s linear infinite;
    }

    .scrolling-text:hover {
      animation-play-state: paused;
    }

    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    .notice-item {
      padding: 16px;
      border-radius: 10px;
      background: linear-gradient(45deg, #ffffff, #e0f7fa);
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .notice-item:hover {
      background: #d9edf7;
      transform: scale(1.02);
    }

    .notice-title {
      font-weight: bold;
      font-size: 1.2rem;
      color: #007bff;
    }

    .notice-date {
      font-size: 0.95rem;
      color: #6c757d;
    }

    .service-item {
      background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .service-title {
      font-weight: bold;
      font-size: 1.6rem;
      color: #003366;
      margin-bottom: 12px;
    }

    .service-meta {
      font-size: 1.1rem;
      display: flex;
      justify-content: space-around;
      color: #333;
      margin-bottom: 6px;
    }

    .notice-item.focused {
      background-color: #d1ecf1 !important;
      border-left: 5px solid #0dcaf0;
      transform: scale(1.02);
      transition: all 0.3s ease-in-out;
    }

    .notice-item1 {
      padding: 16px;
      border-radius: 10px;
      background: linear-gradient(45deg, #ffffff, #e0f7fa);
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .notice-item1:hover {
      background: #d9edf7;
      transform: scale(1.02);
    }


    .notice-item1.focused {
      background-color: #d1ecf1 !important;
      border-left: 5px solid #0dcaf0;
      transform: scale(1.02);
      transition: all 0.3s ease-in-out;
    }


.notice-item2 {
      padding: 16px;
      border-radius: 10px;
      background: linear-gradient(45deg, #ffffff, #e0f7fa);
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .notice-item2:hover {
      background: #d9edf7;
      transform: scale(1.02);
    }


    .notice-item2.focused {
  background-color: #d1ecf1 !important;
  border-left: 5px solid #0dcaf0;
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
}



    .notice-item3 {
      padding: 16px;
      border-radius: 10px;
      background: linear-gradient(45deg, #ffffff, #e0f7fa);
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .notice-item3:hover {
      background: #d9edf7;
      transform: scale(1.02);
    }


    .notice-item3.focused {
  background-color: #d1ecf1 !important;
  border-left: 5px solid #0dcaf0;
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
}


/* Default (Blue) */
.focused-blue {
  background-color: #e0f7fa;
  border-left: 4px solid #00bcd4;
  transition: all 0.3s ease;
}

/* Green Style */
.focused-green {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50;
  transition: all 0.3s ease;
}

/* Red Style (for optional .card-scroll2) */
.focused-red {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  transition: all 0.3s ease;
}

.official-item:focus {
  outline: none;
  background-color: #e3f2fd; /* light blue */
  border-left: 4px solid #0d6efd;
}


.official-item:hover {
  background-color: #e9f3ff;
  transition: background-color 0.3s ease;
}

@media (min-width: 1600px) {
  .official-item h5,
  .official-item p {
    font-size: 1.2rem;
  }
}


@media (min-width: 1920px) {
  /*#slideDisplay {
    min-height: 700px;
  }
  iframe, video, img {
    max-height: 100%;
  }*/
}




















.service-link{
  text-decoration: none;
}








  @media (min-width: 2560px) {
    .modal-content {
      font-size: 1.5rem;
    }

    .form-control,
    .form-control::placeholder,
    .form-label {
      font-size: 1.25rem;
    }

    .btn-lg {
      font-size: 1.3rem;
    }
  }

  .bg-gradient-primary {
    background: linear-gradient(135deg, #0066cc, #003366);
  }

  .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
  }




.topbar {
  min-height: 80px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  user-select: none;
}

#sidebarToggle {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#sidebarToggle:hover,
#sidebarToggle:focus {
  background-color: #cfe2ff;
  outline: none;
}

#wifi-icon {
  user-select: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  #datetime {
    display: none !important;
  }
}
















































































 /* Custom big text for 4K */
  .custom-4k-text {
    font-size: 5rem !important;         /* 80px base font size */
    color: #b3001e;          /* Stronger blue */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
    user-select: none;       /* Optional: disable text selection for style */
  }

  /* Optional: scale down on smaller screens */
  @media (max-width: 1920px) {
    .custom-4k-text {
      font-size: 2rem !important;       /* 48px on smaller screens */
    }
  }










































































  /* === 3D Enhancement Styles (Shadow-Only Hover) === */

/* General 3D card shadow */
.card {
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow:
    0 12px 16px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* Buttons with subtle 3D emboss */
.btn {
  border-radius: 0.75rem;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.7),
              inset -2px -2px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.25s ease;
}

.btn:hover, .btn:focus {
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.6);
}

/* Text with subtle shadow for 3D depth */
.custom-4k-text {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

/* Official items: subtle 3D hover (no transform) */
.official-item {
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.official-item:hover, .official-item:focus {
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  outline: none;
  cursor: pointer;
}

/* Sidebar with subtle 3D depth */
.sidebar {
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff, #e6e9f0);
  border-radius: 0 1rem 1rem 0;
  transition: box-shadow 0.3s ease;
}

/* Sidebar links hover */
.sidebar a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.sidebar a:hover, .sidebar a:focus {
  color: #0d6efd;
  text-shadow: 1px 1px 3px rgba(13, 110, 253, 0.6);
  text-decoration: none;
  cursor: pointer;
}

/* Topbar subtle 3D shadow */
.topbar {
  box-shadow:
    0 8px 15px rgba(0, 0, 0, 0.1),
    inset 0 -2px 5px rgba(255, 255, 255, 0.5);
}

/* Wifi icon 3D glow */
.wifi-icon {
  text-shadow:
    0 0 6px #28a745,
    0 0 10px #28a745;
  transition: text-shadow 0.3s ease;
}

.wifi-icon:hover, .wifi-icon:focus {
  text-shadow:
    0 0 12px #198754,
    0 0 20px #198754;
  cursor: default;
}

/* Keep smooth transition timing but disable transform transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

































.sidebar {
  width: 280px;                 /* fixed width */
  visibility: visible;          /* always visible */
  overflow-y: auto;             /* scroll if content overflows */
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  background: linear-gradient(145deg, #f1f3f6, #dce0e6);
  box-shadow: 8px 0 20px rgba(0, 0, 0, 0.25), inset -2px 0 4px rgba(255, 255, 255, 0.6);
  border-radius: 0 1.5rem 1.5rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: #212529;
  padding: 2rem 1.5rem;         /* keep padding */
}

/* Sidebar links */
.sidebar a {
  display: block;
  padding: 1rem 1.2rem;
  margin: 0.5rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff, #e3e7ec);
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.8),
              inset -2px -2px 5px rgba(0, 0, 0, 0.05),
              0 3px 6px rgba(0, 0, 0, 0.1);
  color: #343a40;
  text-decoration: none;
}

/* Focus styles */
.sidebar a:focus,
.sidebar a:active {
  outline: 2px solid #0d6efd;
  outline-offset: 3px;
  background: #e9ecef;
}

/* Remove active state toggling - no sidebar active styles */

/* Hide overlay completely */
.sidebar-overlay {
  display: none !important;
}


/* Always show sidebar on xl+ */
/*@media (min-width: 1200px) {
  .sidebar {
    width: 280px;
    padding: 2rem 1.5rem;
    visibility: visible;
    overflow-y: auto;
  }

  #sidebarToggle,
  .sidebar-overlay {
    display: none !important;
  }
}*/


