.hero {
  background: url('/images/banners/banner.jpg') no-repeat center center;
  background-size: cover;
  padding-top: 200px;
  padding-bottom: 200px;
  text-align: center;
  position: relative;
  color: white;
  min-height: 810px;
}
.hero::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-overlay {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}
.cta-button {
  background: #003366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover {
  background: #0055aa;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}
ul.mod-menu {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  margin: 0;
}

ul.mod-menu > li {
  list-style: none;
}

ul.mod-menu > li > a {
  background: #003366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

ul.mod-menu > li > a:hover {
  background: #0055aa;
}
/* Force dropdown submenu to appear */
ul.mod-menu li ul {
  position: absolute;
  display: none;
  background-color: #003366;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  min-width: 180px;
}

ul.mod-menu li:hover > ul {
  display: block;
}

ul.mod-menu li ul li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

ul.mod-menu li ul li a:hover {
  background-color: #0055aa;
}
/* Show submenus when hovering over parent */
ul.mod-menu li {
  position: relative;
}

ul.mod-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #003366;
  z-index: 1000;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 4px;
  min-width: 200px;
}

ul.mod-menu li:hover > ul {
  display: block;
}

ul.mod-menu li ul li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

ul.mod-menu li ul li a:hover {
  background-color: #0055aa;
}
/* Ensure parent <li> is positioned properly */
ul.mod-menu li {
  position: relative;
}

/* Style and hide submenu by default */
ul.mod-menu li > ul.mod-menu__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003366;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  min-width: 220px;
}

/* Show submenu on hover */
ul.mod-menu li:hover > ul.mod-menu__sub {
  display: block;
}

/* Submenu link styling */
ul.mod-menu__sub li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover effect */
ul.mod-menu__sub li a:hover {
  background-color: #0055aa;
}

/* Optional: add arrow indicator to parent */
ul.mod-menu li.parent > a::after {
  content: " ▼";
  font-size: 0.7em;
  margin-left: 4px;
}
/* Make main content area full width */
.container-component {
  max-width: 100%;
  padding: 0 20px;
}

.com-content-article {
  width: 100%;
}

.article-content,
.item-page {
  padding: 0 20px;
  background: #fff;
  border-radius: 8px;
}
/* Expand inner article pages */
.container-component,
.com-content-article,
.item-page {
  max-width: 100% !important;
  padding: 0 20px;
}

/* Remove hardcoded article wrapper width if any */
.com-content-article .row {
  margin: 0 !important;
  width: 100% !important;
}

/* Brochure or other article content spacing */
.article-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
/* Force all layout containers to expand */
.container,
.container-fluid,
.row {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
/* Make main article pages truly full-width */
body.view-article #content,
body.view-article .container-component,
body.view-article .com-content-article,
body.view-article .item-page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 24px !important;
  margin: 0 auto !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* Expand article layout completely on inner pages */
body.view-article .container,
body.view-article .container-component,
body.view-article .row,
body.view-article .com-content-article,
body.view-article .item-page {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto !important;
}

/* Remove unnecessary article boxing */
body.view-article .article-content {
  padding: 40px 60px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.fullwidth-component {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.fullwidth-component .main-content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 40px 60px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
/* Typography and content spacing */
.article-content, .item-page {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background: #ffffff;
  padding: 40px 60px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Headings inside articles */
.article-content h1,
.article-content h2,
.article-content h3 {
  color: #003366;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Paragraphs and lists */
.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 20px;
}

/* Links in articles */
.article-content a {
  color: #0055aa;
  text-decoration: underline;
}

.article-content a:hover {
  color: #003366;
  text-decoration: none;
}
.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 10px;
}

.brochure-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.brochure-table thead {
  background-color: #2c3e50;
  color: #fff;
}

.brochure-table th,
.brochure-table td {
  padding: 16px;
  text-align: center;
  border: 1px solid #ddd;
}

.brochure-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.brochure-table a {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.brochure-table a:hover {
  color: #1abc9c;
}

.theme-switch {
  text-align: right;
  margin-bottom: 10px;
}

.theme-switch button {
  background-color: #2c3e50;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
}

.dark-mode {
  background-color: #1e1e1e;
  color: #fff;
}

.dark-mode .brochure-table {
  color: #fff;
  border-color: #444;
}

.dark-mode .brochure-table thead {
  background-color: #555;
}

.dark-mode .brochure-table tbody tr:nth-child(even) {
  background-color: #2c2c2c;
}

.dark-mode .brochure-table a {
  color: #74b9ff;
}

.dark-mode .theme-switch button {
  background-color: #444;
}
.accordion-container {
  max-width: 800px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;
}

.accordion-button {
  background-color: #2c3e50;
  color: #fff;
  cursor: pointer;
  padding: 14px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 18px;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}

.accordion-button:hover {
  background-color: #34495e;
}

.accordion-content {
  padding: 14px 20px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: none;
  margin-bottom: 12px;
}

.accordion-content p {
  margin: 8px 0;
}

.accordion-content a {
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
}

.accordion-content a:hover {
  color: #16a085;
}
/* Accordion Card Style */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  background: #001B4C;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  width: 100%;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background: #003377;
}

.accordion-content {
  padding: 1rem;
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* When expanded */
.accordion-item.open .accordion-content {
  max-height: 1000px; /* Arbitrary large max-height */
}
.blink-hand {
  animation: blink 1s infinite;
  display: inline-block;
  margin-right: 0.2em;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.scrolling-strip {
  background: #001B4C;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.75rem 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-top: 3px solid #0066cc;
  border-bottom: 3px solid #0066cc;
}

<style>
.scrolling-strip {
  background-color: #001b4c;
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1rem;
}

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

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

.blinking {
  animation: blink 1.5s infinite;
  color: #ffd700;
  text-decoration: underline;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
</style>
@keyframes fadeInDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.5s;
}
/* Announcement box */
.announcement-box {
  background: #f9f9f9;
  border-left: 6px solid #007acc;
  padding: 15px 25px;
  margin: 30px auto;
  font-size: 1.05rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.announcement-box a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}
.announcement-box a:hover {
  text-decoration: underline;
}

/* Highlighted section */
.highlight-section {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.highlight-section.alt-bg {
  background: #f0f8ff;
}

/* Section Headings */
.highlight-section h2 {
  color: #001b4c;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.program-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.program-category {
  flex: 1 1 45%;
  background: #ffffff;
  border-left: 4px solid #007acc;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.program-category h3 {
  color: #003366;
  font-size: 20px;
  margin-bottom: 12px;
}

.program-category ul {
  list-style: none;
  padding-left: 0;
}
.program-category ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.instruction-mode {
  margin-top: 30px;
  font-weight: 600;
  color: #003366;
}

.image-slider {
  position: relative;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 1 / 1; /* Maintain square ratio */
  overflow: hidden;
  margin: auto;
  border-radius: 10px;
  background: #000; /* prevents flicker */
}