:root {
  --hk-blue: #006699;
  --footer-bg: #2b2b2b;
  --footer-text: #aaa;
  --footer-link: #ccc;
  --footer-hover: #fff;
  --navbar-bg: #ffffff;
  --navbar-shadow: 0 2px 6px rgba(0,0,0,.1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; 
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Header */
.site-header {
  background: var(--navbar-bg);
  box-shadow: var(--navbar-shadow);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand img {
  height: 80px;
  width: auto;
  filter: none !important;
}

/* Hero */
.hero-banner {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  background: url('./banner-image.jpg') center/cover no-repeat;
  margin-bottom: 0;
  overflow: hidden;
}

.blue-separator {
  background-color: var(--hk-blue);
  height: 50px;
}

/* Sections */
.section-title {
  color: var(--hk-blue);
  font-weight: 700;
  font-size: 1.8rem;
  border-bottom: 3px solid var(--hk-blue);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.news-item {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-item h3 {
  color: var(--hk-blue);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: .75rem;
  text-align: justify;
}
.news-item p {
  text-align: justify;
}

.news-date {
  color: #777;
  font-size: .9rem;
  margin-bottom: .5rem;
}

.quick-links-grid {
  background-color: var(--hk-blue) !important;
  padding: 3rem 0;
}

.quick-icon {
  width: 85px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.quick-links-grid a:hover .quick-icon {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 8-column grid on md+ */
@media (min-width: 768px) {
  .col-md-1-5 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}

/* Mobile: 4 per row */
@media (max-width: 767.98px) {
  .quick-links-grid .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .quick-icon {
    width: 70px;
    height: 40px;
  }
}
/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.875rem;
  padding: 2rem 0 1rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact h2 {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #444;
}

.footer-contact h3 {
  color: white;
  font-size: 1rem;
  margin: 0.75rem 0 0.5rem;
  font-weight: 600;
}

.footer-contact p {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.footer-contact a {
  color: #6ba6ff;
  text-decoration: underline;
}

.footer-contact a:hover {
  color: #b3c7ff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-nav h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #444;
  width: 100%;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 160px;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--footer-hover);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
  padding-top: 1rem;
  border-top: 1px solid #444;
}

.footer-bottom a {
  color: #888;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ccc;
}

.footer-logo img {
    height: 48px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-nav {
    flex-direction: column;
  }
  .footer-nav h4 {
    width: auto;
  }
}

@media (max-width: 768px) {
  .footer-contact,
  .footer-nav {
    text-align: center;
  }
  .footer-bottom {
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  .navbar-brand img {
    height: 60px;
  }
}

@media (max-width: 576px) {
  .quick-icon {
    width: 70px;
    height: 40px;
  }
}