@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Source+Serif+4:wght@300;400&family=Syne:wght@400;700&display=swap');

/**
* Template Name: Restaurantly
* Template URL: https://bootstrapmade.com/restaurantly-restaurant-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: 'Noto Sans TC', '微軟正黑體', 'Open Sans', sans-serif !important;
  /* --heading-font: "Playfair Display", sans-serif; */
  /* --nav-font: "Poppins", sans-serif; */
  --heading-font: 'Noto Sans TC', '微軟正黑體', 'Open Sans', sans-serif !important;
  --nav-font: 'Noto Sans TC', '微軟正黑體', 'Open Sans', sans-serif !important;

  --sea-dark: #0a0e17;
  --sea-mid: #111827;
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.18);
  --gold-glow: rgba(201, 168, 76, 0.06);
  --text-bright: #f0ede4;
  --text-muted: rgba(240, 237, 228, 0.55);
  --border-dim: rgba(201, 168, 76, 0.2);
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #0c0b09;
  /* Background color for the entire website, including individual sections */
  --default-color: rgba(255, 255, 255, 0.7);
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #cda45e;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #29261f;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #0c0b09;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #cda45e;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #29261f;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #29261f;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #cda45e;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #29261f;
  --surface-color: #464135;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1a1a1a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 1.5rem
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(12, 11, 9, 0.61);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .topbar {
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .credits i {
  font-style: normal;
  color: var(--accent-color);
}

.header .branding {
  background-color: var(--background-color);
  min-height: 60px;
  padding: 10px 0;
  transition: 0.3s;
  border-bottom: 1px solid var(--background-color);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-book-a-table,
.header .btn-book-a-table:focus {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 24px;
  margin: 0 5px 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-book-a-table:hover,
.header .btn-book-a-table:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

.scrolled .header .branding {
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #0c0b09;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1400px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 1.3rem;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1399px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 0 rem;
  position: relative;
}

.footer .footer-top {
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 20px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 0;
  padding-bottom: 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 77px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  background: linear-gradient(to right, var(--accent-color) 0%, #ffffff 50%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  font-family: var(--heading-font);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.4));
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img,
.hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .cta-btn {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  transition: 0.3s;
  flex-shrink: 0;
}

.hero .cta-btn:first-child {
  margin-right: 10px;
}

.hero .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 480px) {
  .hero .cta-btn {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .custom-hero-title {
    font-size: 2.5rem;
    /* 放大標題，原 Bootstrap h2 約 2rem */
  }

  .hero p {
    font-size: 18px;
  }
}

/* 自定義首頁標題字體大小 */
.custom-hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 針對行動裝置縮小一點，避免溢出 */
@media (max-width: 768px) {}

/* 確保按鈕在置中時有足夠的視覺重量 */
.entrance .cta-btn {
  font-size: 1.2rem;
  padding: 12px 35px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Section1
--------------------------------------------------------------*/
.eras-track {
  padding: 1rem 0;
  position: relative;
}

.eras-track::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.era-row {
  display: flex;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.era-node {
  width: clamp(40px, 8vw, 64px);
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding-top: 1.4rem;
  z-index: 2;
}

.era-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  background: var(--background-color);
  transition: all 0.3s;
}

.era-row.active .era-dot,
.era-row:hover .era-dot {
  background: var(--accent-color);
}

.era-card {
  flex: 1;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  background: var(--surface-color);
  transition: all 0.4s ease;
  border-radius: 8px;
}

.era-row:hover .era-card {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--surface-color), white 2%);
}

.era-row.active .era-card {
  border-color: var(--accent-color);
}

.era-header {
  padding: clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.era-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease-out;
}

.era-body-inner {
  padding: 1.5rem 2rem 2rem 2rem;
  /* Added top padding and increased horizontal spacing */
}

.era-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 1.5;
}

.era-badge {
  font-family: var(--nav-font);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.era-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
}

.era-toggle {
  min-width: 20px;
  transition: color 0.3s ease;
}

/*--------------------------------------------------------------
# Section2
--------------------------------------------------------------*/
.section2 .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.section2 .card-item span,
.section2 .card-item h4 {
  /* Apply default color to h4 */
  color: var(--accent-color);
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
}

.section2 .card-item h4 {
  /* Ensure h4 retains its styling */
  font-size: 2rem;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.section2 .card-item p {
  font-size: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.section2 .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.section2 .card-item:hover span,
.section2 .card-item:hover h4,
/* Apply hover color directly to h4 */
.section2 .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Section2 - Details List
--------------------------------------------------------------*/
.custom-details-list {
  list-style: none;
  padding: 0;
}

.section2 .custom-details-list {
  font-size: 1.2rem;
  /* Default for section2 lists */
}

.section2 .custom-details-list.sub-list li {
  font-size: 1.1rem;
  /* Smaller for sub-lists */
}

.section2 h5.sub-heading {
  font-size: 1.35rem;
}

.custom-details-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.custom-details-list li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent-color);
  font-size: 1rem;
}

/* .list-unstyled li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1.2rem;
} */



/* Reusable accent heading style */
.accent-heading-left-border {
  color: var(--accent-color);
  font-weight: 700;
  border-left: 4px solid var(--accent-color);
  padding-left: 15px;
}


/* Custom styling for the extracted VTS info */
.border-accent {
  border: 1px solid var(--accent-color) !important;
  background: rgba(205, 164, 94, 0.05);
  /* Subtle accent tint */
}

.hub-card.h-100 {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.hub-card:hover {
  transform: translateY(-10px);
  background: rgba(205, 164, 94, 0.1);
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Matching the "Safety" priorities in the image center */
.hub-center-box p {
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Section3
--------------------------------------------------------------*/
.section3 {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

#section3 h3 {
  font-size: 2.2rem;
}

#section3 .custom-details-list li {
  font-size: 1.4rem;
}

/*--------------------------------------------------------------
# Section3 - Image Container
--------------------------------------------------------------*/
.section3-img-container {
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.section3-img-container:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

/*--------------------------------------------------------------
# Section3 - Feature Boxes
--------------------------------------------------------------*/
.feature-box {
  position: relative;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  padding: clamp(20px, 5vw, 40px) 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  height: 100%;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transition: all 0.4s;
}

.feature-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  background: var(--surface-color);
}

.feature-box:hover::before {
  left: 0;
}

.feature-box .icon {
  margin-bottom: 15px;
  transition: all 0.4s;
}

.feature-box .icon i {
  font-size: 48px;
  color: var(--accent-color);
  transition: all 0.4s;
}

.feature-box:hover .icon {
  transform: scale(1.1);
}

.feature-box:hover .icon i {
  color: #fff;
  text-shadow: 0 0 20px var(--accent-color);
}

.feature-box h3,
.feature-box h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.feature-box ul {
  list-style: none;
  padding: 0;
  text-align: left;
  color: var(--default-color);
}

.feature-box p {
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Section4
--------------------------------------------------------------*/
.section4 {
  position: relative;
  overflow: hidden;
  background: url('../img/vts-center.png') center center no-repeat;
  background-size: cover;
  padding: 80px 0;
}

.section4::before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section4 .container {
  position: relative;
  z-index: 2;
}

.section4 .nav-pills .nav-link {
  color: var(--default-color);
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  margin: 5px;
  padding: 12px 30px;
  font-family: var(--nav-font);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .eras-track::before {
    left: 20px;
  }

  .era-node {
    width: 40px;
  }
}

.section4 .nav-pills .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.section4 .nav-pills .nav-link.active {
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.section4 .tab-pane {
  transition: opacity 0.35s ease-in-out;
  min-height: 350px;
}

/*--------------------------------------------------------------
# VTS Game Core Styling
--------------------------------------------------------------*/
.game-section {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

.text-tech-cyan {
  color: var(--tech-cyan, #64ffda);
}

.bg-tech-cyan {
  background-color: var(--tech-cyan, #64ffda);
}

.border-tech-cyan {
  border-color: var(--tech-cyan, #64ffda);
}

.bg-ocean-900 {
  background-color: #0a192f;
}

.bg-ocean-800 {
  background-color: #112240;
}

.bg-ocean-700 {
  background-color: #233554;
}

.glass-panel {
  background: rgba(17, 34, 64, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.game-container canvas {
  cursor: crosshair;
  touch-action: none;
}

#compliance-bar {
  height: 100%;
  background: linear-gradient(to right, #fbbf24, #4ade80);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# VTS Game Styling
--------------------------------------------------------------*/
#zone-game {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

.game-container {
  position: relative;
  max-width: 800px;
  background: #0a192f;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(100, 255, 218, 0.2);
}

#vts-game {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
}

.game-overlay-full {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 25, 47, 0.85);
  z-index: 10;
}

.game-overlay.hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.glass-panel {
  background: rgba(17, 34, 64, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.border-top-accent {
  border-top: 4px solid var(--accent-color);
}

.btn-accent {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Section5 - Collaboration
--------------------------------------------------------------*/
.section-chip {
  display: inline-block;
  padding: 5px 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.collaboration-hero-shell {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.collaboration-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.metric-pill {
  flex: 1;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border-left: 3px solid var(--accent-color);
}

.metric-pill strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-color);
}

.metric-pill span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.system-card {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.system-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.system-card-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.system-card-kicker {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

/* Enhancements for System Card Pills */
.system-card .collaboration-metric-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.system-card .metric-pill {
  flex: none;
  min-width: auto;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
  transition: all 0.3s ease;
}

.system-card .metric-pill:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateX(8px);
}

.system-card .metric-pill strong {
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.system-card .metric-pill span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
}

.collaboration-gallery-header {
  text-align: center;
  margin: 60px 0 30px;
}

.collaboration-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.collaboration-card:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.collaboration-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.collaboration-card-body {
  padding: 20px;
  text-align: center;
}

.collaboration-card-body p {
  font-size: 1.1rem;
  margin-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# Section6 - Timeline
--------------------------------------------------------------*/
.section6 {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

.section6 .timeline {
  position: relative;
  padding: 10px 0;
}

.section6 .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.section6 .timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 70px;
}

.section5 .timeline-item:last-child {
  margin-bottom: 0;
}

.section6 .timeline-dot {
  position: absolute;
  left: 22px;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  z-index: 2;
  border: 4px solid var(--surface-color);
}

.section6 .timeline-content {
  background: var(--surface-color);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
}

.section6 .timeline-item:hover .timeline-content {
  border-color: var(--accent-color);
  transform: translateX(10px);
}

.section6 .timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.section6 .timeline-content p {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--default-color);
}



/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.section6 .gallery-slider {
  display: flex;
  justify-content: center;
}

.section6 .gallery-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  max-width: 900px;
  overflow: hidden;
}

.section6 .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section6 .gallery-controls {
  gap: 1rem;
}

.section6 .gallery-controls .btn {
  min-width: 3.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.section6 .gallery-controls .btn:hover,
.section6 .gallery-controls .btn:focus {
  color: #fff;
  background-color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-color: color-mix(in srgb, var(--default-color), transparent 30%);
}


/* Custom styles for Data Hub Section */
.text-accent {
  color: var(--accent-color);
  font-weight: 700;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 10px;
}

.section2 .hub-card {
  height: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section2 .hub-card:hover {
  background: rgba(205, 164, 94, 0.05);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.section2 .hub-card .bi-dot {
  color: var(--accent-color);
  font-size: 1.5rem;
  vertical-align: middle;
}

.section2 .hub-card ul {
  font-size: 1.1rem;
  line-height: 2;
}

.section2 .hub-card-heading {
  font-size: 1.2rem;
  /* Adjust if needed, based on previous inline style */
}

.hub-center-box h3 {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hub-center-box h3 {
    font-size: 1.4rem;
  }
}

.hub-center-box-style {
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  background: rgba(205, 164, 94, 0.1);
}

/* VTS Task Specific Styling - Differentiated from Data Hub */
.vts-task-item {
  text-align: center;
  padding: 30px 20px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vts-task-item:hover {
  background: var(--surface-color);
  border-bottom-color: var(--accent-color);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vts-task-item .icon-wrapper {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.vts-task-item .icon-wrapper i {
  font-size: 1.8rem;
  color: var(--accent-color);
}




/* 1. Make the wrapper a positioned container so overlays stack correctly */
.vts-game-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: #0a192f;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(100, 255, 218, 0.2);
  min-height: 480px; /* Ensure there is always enough vertical room for the start screen text */
  display: flex;
  align-items: center;
}

#vts-game {
  width: 100%;
  height: auto;
  display: block;
}

/* 2. All full-screen overlays (start / end screens) sit on top of the canvas */
.vts-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 25, 47, 0.85);
  z-index: 10;
  transition: opacity 0.5s ease;
  overflow-y: auto; /* Allow scrolling if the menu is taller than the container */
  padding: 15px;
}

/* 3. HUD bar sits at the top of the canvas, non-blocking */
.vts-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  /* Increase these numbers to move the HUD further from the corners */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
  z-index: 5;
}

/* 4. Compliance progress bar track */
.compliance-progress {
  width: 100%;
  height: 8px;
  /* Change this to make the progress bar thicker or thinner */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

/* Animations added for VTS Game Overlay */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: auto;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/*--------------------------------------------------------------
# Refactored Utility & Semantic Classes
--------------------------------------------------------------*/
.list-spaced { font-size: 1.1rem; line-height: 2; }
.line-height-2 { line-height: 2; }
.accent-title-bold { color: var(--accent-color); font-weight: 700; }
.accent-divider { width: 60px; height: 3px; background: var(--accent-color); margin: 0 auto 15px; }
.spacing-4 { letter-spacing: 4px; }
.spacing-2 { letter-spacing: 2px; }
.max-w-750 { max-width: 750px; }
.max-w-450 { max-width: 450px; }
.max-w-380 { max-width: 380px; }
.border-thick { border-width: 4px !important; }

/* Game HUD specific sizes */
.text-xs { font-size: 0.65rem; }
.text-sm { font-size: 0.85rem; }
.text-base-plus { font-size: 1rem; }
.text-lg-plus { font-size: 1.15rem; }
.text-lg-minus { font-size: 1.1rem; }