@charset "UTF-8";

/* =========================================
   SCSS 变量定义 (IE10 兼容性核心)
   ========================================= */
/* 1. 品牌色彩 (Brand Colors) */
/* 2. 中性色 (Neutrals) */
/* 3. 字体栈 (Typography) */
/* 4. 阴影 (Shadows) */
/* 注意：IE10 支持 rgba，但不完全支持 hsla 的透明度，这里提供 rgba 替代值 */
/* 5. 布局常量 (Layout) */
/* =========================================
   1. RESET
   ========================================= */
/* Basic Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   2. GLOBAL VARIABLES
   ========================================= */
@font-face {
  font-family: "Noto Sans";
  src: url("../New-Fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../New-Fonts/NotoSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../New-Fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../New-Fonts/NotoSans-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

:root {
  /* Brand Colors */
  --color-brand-blue: #00487f;
  --color-brand-green: #41b051;
  --color-brand-red: #e7380d;
  --color-brand-blue-light: #005392;
  /* Neutral Colors */
  --color-black: #111111;
  --color-grey: #303030;
  /* Also used as --color-gray-dark in some files */
  --color-light-grey: #969696;
  --color-white: #ffffff;
  --bg-light: #f5f6f8;
  /* Also --bg-color, --bg-gray in some files */
  --footer-bg: #f5f6f8;
  /* Aliases for consistency across merged files */
  --brand-blue: var(--color-brand-blue);
  --brand-green: var(--color-brand-green);
  --brand-red: var(--color-brand-red);
  --blue: var(--color-brand-blue);
  --green: var(--color-brand-green);
  --red: var(--color-brand-red);
  --text-primary: var(--color-black);
  --text-gray-dark: var(--color-black);
  --text-gray-med: var(--color-grey);
  --color-gray-dark: var(--color-grey);
  /* Typography */
  --font-primary: "Noto Sans", "Microsoft YaHei", sans-serif;
  --font-family: var(--font-primary);
  /* Responsive Font Sizes (REM based, scales with root) */
  --fs-h1: 3.6rem;
  --fs-sub: 2.6rem;
  --fs-subtitle: var(--fs-sub);
  --fs-h2: 2.4rem;
  --fs-home-body: 1.8rem;
  /* 首页/桌面正文 */
  --fs-body: 1.6rem;
  /* 通用小正文 */
  --fs-btn: 2.0rem;
  /* Layout */
  --max-width: 1520px;
  /* Shadows */
  --shadow-card: 6px 8px 20px 0px hsla(206, 100%, 17%, 0.2);
}

/* =========================================
   3. GLOBAL BASE STYLES
   ========================================= */
* {
  box-sizing: border-box;
}

/* =========================================
   3. RESPONSIVE ROOT & LAYOUT UTILITIES
   ========================================= */
html {
  font-size: 62.5%;
  /* 1rem = 10px @ 1700px+ (Standard/Ultrawide) */
}

/* 2. Notebook/Small Desktop (1200px - 1699px) */
@media (max-width: 1699px) {
  html {
    font-size: 53.125%;
    /* 1rem = 8.5px */
  }
}

/* 3. Tablet/Narrow Desktop (768px - 1199px) */
@media (max-width: 1199px) {
  html {
    font-size: 53.125%;
    /* 1rem = 8.5px */
  }
}

/* 4. Mobile (Below 768px -> 768px included) */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
    /* 1rem = 8px (Return to baseline for mobile 375px design) */
  }

  /* Reduce spacer flex values for mobile to give content more breathing room */
  .spacer-top {
    flex-grow: 1;
    max-height: none;
    /* Allow more flexibility on mobile */
  }

  .spacer-middle {
    flex-grow: 1;
    max-height: none;
  }

  .spacer-bottom {
    flex-grow: 1.2;
    /* Slightly more at bottom but much more balanced than before */
  }
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

/* Main Scroll Container */
#scroll-container {
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
  position: relative;
  z-index: 1;
}

.scroll-section {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.page-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: #DDE8EE;
}

/* Side Navigation (Dots) */
.side-nav {
  position: fixed;
  left: 1.2rem;
  /* was max(1.5vw, 12px) -> approx 12px=1.2rem */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 23px -> remove gap */
  z-index: 900;
  /* Lowered to be below nav-dimmer (950) */
}

.nav-dot {
  width: 1.2rem;
  /* 12px */
  height: 1.2rem;
  /* 12px */
  border-radius: 50%;
  background-color: var(--color-brand-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 2.3rem;
  /* 23px gap replacement */
}

.nav-dot:last-child {
  margin-bottom: 0;
}

.nav-dot:hover {
  opacity: 0.8;
}

.nav-dot.active {
  background-color: var(--color-brand-red);
  width: 2.4rem;
  /* 2 * 1.2rem */
  height: 2.4rem;
  /* 2 * 1.2rem */
}

.nav-dot.active::after {
  content: attr(data-num);
  color: white;
  font-size: 1.6rem;
  /* 16px @ 1rem=10px */
  position: static;
  background: none;
  padding: 0;
  transform: none;
  opacity: 1;
}

/* Helper Spacers (Used across Page 2-6) */
.spacer-spring {
  flex-grow: 1;
  width: 100%;
}

/* Default limits, pages may override with IDs */
.spacer-top {
  flex-grow: 1.2;
  min-height: 18px;
  max-height: 15vh;
  /* Optional: Add a base height using flex-basis if needed, e.g., flex-basis: 20px; */
}

.spacer-middle {
  flex-grow: 1;
  min-height: 22px;
  max-height: 10vh;
  /* Relaxed limit, keeps title closer to content */
}

.spacer-bottom {
  flex-grow: 2.5;
  min-height: 50px;
}

/* =========================================
   UTILITIES & OVERRIDES
   ========================================= */
/* Layout Overrides (Moved from index.html) */
.viewport-wrapper {
  height: 100%;
  width: 100%;
}

.container {
  height: 100%;
}

/* Helper Classes */
.nav-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.icon-w12 {
  width: 1.2rem;
}


.notif-content {
  display: flex;
  align-items: center;
}

.notif-text-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 20px;
  /* 设置固定高度 */
}

.notif-text-slides {
  position: relative;
  height: 100%;
}

.notif-text-slides .notif-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none; 
}

.notif-text-slides .notif-text.active {
  opacity: 1;
  pointer-events: auto;
}
        
/* Hero Slider Styles */
.hero-banner {
  position: relative;
  /* Ensure positioning context */
  background-color: #fff;
  /* Prevent bleed-through */
  background-image: none !important;
  /* Override default background image */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}


/* Hero Indicators */
.hero-carousel-indicators {
  display: flex;
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);

  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background-color: #00487F;
  /* Brand Blue */
  width: 2.4rem;
  border-radius: 0.4rem;
}
