/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-orange: #ff6b00;
  --primary-orange-dark: #e55d00;
  --primary-blue: #1e3a5f;
  --primary-blue-dark: #152b47;
  --primary-blue-light: #2a4a73;
  --white: #ffffff;
  --gray-50: #f8fafb;
  --gray-100: #f1f4f7;
  --gray-200: #e5e9ed;
  --gray-300: #d1d7de;
  --gray-400: #9ba5b0;
  --gray-500: #6b7580;
  --gray-600: #4a5462;
  --gray-700: #333c47;
  --gray-800: #1f262e;
  --gray-900: #0f1419;
  --font-primary: "Noto Sans TC", "Inter", -apple-system, BlinkMacSystemFont,
    sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
ul,
ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Loading Animation */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.loader-logo {
  width: 180px;
  height: auto;
  animation: logoFadeIn 1s ease-in-out;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 跳動點點 */
.loader-dots {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.loader-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-orange);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.loader-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

.loader-dots .dot:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: scale(1) translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.1) translateY(-10px);
    opacity: 1;
  }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes zoomSlow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}
.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}
.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}
.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* Common */
.section-label {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}
.section-label.light {
  color: rgba(255, 255, 255, 0.9);
}
.section-title {
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.section-title.light {
  color: var(--white);
}
.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-orange),
    var(--primary-orange-dark)
  );
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.section-line.center {
  margin-left: auto;
  margin-right: auto;
}
.section-desc {
  font-size: 1.15rem;
  color: var(--gray-800);
  max-width: 600px;
  line-height: 1.8;
}
.section-header {
  margin-bottom: 4rem;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.section-header:not(.center) {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 3rem;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-orange-dark)
  );
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.4);
}
.btn-primary i {
  transition: transform 0.4s ease;
}
.btn-primary:hover i {
  transform: translateX(0px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--primary-blue);
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.05rem;
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(30, 58, 95, 0.3);
}
.btn-outline.light {
  color: var(--white);
  border-color: var(--white);
}
.btn-outline.light:hover {
  background: var(--white);
  color: var(--primary-blue);
}
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2rem;
  background: var(--white);
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.05rem;
  line-height: 1.1;
}

.btn-light:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.btn-light.animate-on-scroll.animated {
  transform: translateY(0);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-light.animate-on-scroll.animated:hover {
  transform: translateY(-4px) !important;
}

.btn-light i {
  transition: transform 0.4s ease;
}

.btn-light:hover i {
  transform: translateX(0px);
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.4s ease;
}
.btn-text:hover {
  color: var(--primary-orange-dark);
}
.btn-text i {
  transition: transform 0.4s ease;
}
.btn-text:hover i {
  transform: translateX(6px);
}

/* ========== Header - Transparent to White ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* 當選單被 hover 時，header 也變白底 */
.header:has(.has-dropdown:hover),
.header:has(.mega-menu:hover),
.header.menu-hovered {
  background: #ffffff;
  backdrop-filter: blur(20px);
  box-shadow: none; /* 移除陰影，讓 header 和 dropdown 融為一體 */
}

/* 當選單被 hover 時，nav-link 也要變色 */
.header:has(.has-dropdown:hover) .nav-link,
.header:has(.mega-menu:hover) .nav-link,
.header.menu-hovered .nav-link {
  color: var(--gray-700);
}

/* 當 mega-menu 被 hover 時，該 nav-link 要變橙色 */
.nav-item.mega-menu:hover > .nav-link {
  color: var(--primary-orange) !important;
}

/* 當選單被 hover 時，語言切換也要變色 */
.header:has(.has-dropdown:hover) .lang-switch a,
.header:has(.mega-menu:hover) .lang-switch a,
.header.menu-hovered .lang-switch a {
  color: var(--gray-500);
}

.header:has(.has-dropdown:hover) .lang-switch a.active,
.header:has(.mega-menu:hover) .lang-switch a.active,
.header.menu-hovered .lang-switch a.active {
  color: var(--primary-blue);
}

/* 當選單被 hover 時，menu toggle 也要變色 */
.header:has(.has-dropdown:hover) .menu-toggle span,
.header:has(.mega-menu:hover) .menu-toggle span,
.header.menu-hovered .menu-toggle span {
  background: var(--gray-700);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  height: 90px;
  transition: height 0.4s ease;
}
.header.scrolled .header-container {
  height: 75px;
}
.logo img {
  height: 42px;
  width: auto;
  transition: all 0.4s ease;
}
/* 移除 filter，改用 JavaScript 切換圖片 */
.nav-menu {
  display: flex;
}
.nav-list {
  display: flex;
  gap: 0rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  height: 90px;
  padding: 0 1.7rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  transition: all 0.4s ease;
}
.header.scrolled .nav-link {
  color: var(--gray-700);
  height: 75px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--primary-orange);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}
.nav-link:hover {
  color: var(--primary-orange);
}
.header.scrolled .nav-link:hover {
  color: var(--primary-orange);
}

.dropdown {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
}

/* 當 header scrolled 時，dropdown 位置也要調整 */
.header.scrolled ~ * .dropdown,
.header.scrolled .dropdown {
  top: 75px;
}

.dropdown-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Mega Menu 兩欄布局 - 內容居中 */
.mega-dropdown {
  padding: 0;
  background-image: url(../img/bg-nav.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mega-dropdown .dropdown-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  padding: 2.5rem 2rem 4rem;
}

.mega-dropdown-left {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  padding-left: 50px;
  margin-left: 100px;
  border-left: 1px solid var(--gray-200);
}

.mega-menu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  padding-bottom: 1rem;
  transition: color 0.3s ease;
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 310px;
}

.mega-menu-list li a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 400;
  transition: all 0.3s ease;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-300);
}

.mega-menu-list li a:hover {
  color: var(--primary-orange);
  border-bottom: 1px solid var(--primary-orange);
}

.mega-dropdown-right {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.mega-feature-card {
  display: block;
  width: 100%;
  height: 260px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.mega-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mega-feature-card img {
  width: 100%;
  height: 260px;
  min-height: 210px;
  object-fit: cover;
  display: block;
}

.mega-feature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.mega-feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.has-dropdown:hover .dropdown,
.mega-menu:hover .mega-dropdown,
.dropdown:hover,
.mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
}
.dropdown li {
  list-style: none;
}
.dropdown-container li a,
.dropdown li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--gray-700);
  font-weight: 400;
  transition: all 0.3s ease;
  padding-left: 1rem;
  line-height: 1.8;
}
/*
.dropdown-container li:first-child a,
.dropdown li:first-child a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  padding-left: 0;
  border-left: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}*/
.dropdown-container li a:hover,
.dropdown li a:hover {
  color: var(--primary-orange);
  border-left-color: var(--primary-orange);
}

/* 普通下拉選單不套用到 mega menu */
.nav-item:not(.mega-menu) .dropdown li:first-child a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  padding-left: 0;
  border-left: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}
.lang-switch a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
}
.header.scrolled .lang-switch a {
  color: var(--gray-500);
}
.lang-switch a.active {
  color: var(--white);
}
.header.scrolled .lang-switch a.active {
  color: var(--primary-blue);
}
.lang-switch a:hover {
  color: var(--primary-orange);
}
.lang-switch .divider {
  color: rgba(255, 255, 255, 0.6);
}

/* 桌面版隱藏手機版語言切換 */
.lang-switch-mobile {
  display: none;
}
.header.scrolled .lang-switch .divider {
  color: var(--gray-300);
}
.header:has(.has-dropdown:hover) .lang-switch .divider,
.header:has(.mega-menu:hover) .lang-switch .divider,
.header.menu-hovered .lang-switch .divider {
  color: var(--gray-300);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.4s ease;
}
.header.scrolled .menu-toggle span {
  background: var(--gray-700);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide.prev-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.hero-slide.active .hero-slide-bg {
  animation: zoomSlow 8s ease-out forwards;
}
.hero-slide.prev-active .hero-slide-bg {
  transform: scale(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.45) 0%,
    rgba(30, 58, 95, 0.2) 50%,
    rgba(30, 58, 95, 0) 100%
  );
}
.hero-content {
  position: absolute;
  top: 35%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--white);
  opacity: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-slide.active .hero-content {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
.hero-title {
  margin-bottom: 1.5rem;
}
.hero-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hero-title-main {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 80%;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.9;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.05rem;
  line-height: 1.3;
}
.hero-btn:hover {
  background: var(--primary-orange-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}
.hero-btn i {
  transition: transform 0.4s ease;
}
.hero-btn:hover i {
  transform: translateX(6px);
}
.hero-controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) !important;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  z-index: 10;
}
.hero-prev,
.hero-next {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: scale(1.1);
}
.hero-dots {
  display: flex;
  gap: 1rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.dot.active {
  background: var(--primary-orange);
  transform: scale(1.4);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}
.hero-scroll {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%)!important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ========== Stats ========== */
.stats {
  padding: 0 0 30rem 0;
  position: relative;
  margin-top: -14rem;
  z-index: 10;
  background-image: url(../img/bg-about.jpg);
  background-position: center -10%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  z-index: 0;
}

.stats-content {
  padding: 3rem 7rem;
  margin-left: -8rem;
  margin-right: 0;
  display: inline-flex;
  gap: 1rem;
  background-color: #fff;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  min-width: 100%;
}
.stats-content::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  z-index: -1;
  border-radius: 100px;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stat-item:hover {
  transform: translateY(-8px);
}
.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 0, 0.12),
    rgba(255, 107, 0, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stat-item:hover .stat-icon {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-orange-dark)
  );
  transform: scale(1.1);
}
.stat-icon i {
  font-size: 1.875rem;
  color: var(--primary-orange);
  transition: all 0.5s ease;
}
.stat-item:hover .stat-icon i {
  color: var(--white);
}
.stat-number {
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}
.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-top: 0.25rem;
}
.stat-desc {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* ========== About ========== */
.about-section {
  padding: 6rem 0 0 0;
  background: var(--white);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  z-index: 2;
  position: relative;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 1.8rem;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 0.5rem;
  margin: 0;
}
.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-blue);
  padding: 0.875rem;
  border-bottom: 1px solid var(--gray-400);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feature:hover {
  background: var(--gray-50);
  border-bottom: none;
  border-radius: 10px;
  transform: translateX(8px);
}
.feature i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}
.about-image {
  position: relative;
}
.image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}
.image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.image-wrapper:hover img {
  transform: scale(1.05);
}
.image-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  color: var(--white);
  padding: 1.75rem 2.25rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(30, 58, 95, 0.4);
}
.badge-year {
  display: block;
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ========== Products (Home Page) ========== */
.home-products-section {
  padding: 6rem 0;
  background: var(--gray-50);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.75rem 1.5rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover::before {
  transform: scaleX(1);
}
.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}
.product-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.75rem;
  color: var(--primary-blue);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.product-icon svg {
  width: 100%;
  height: 100%;
}
.product-icon .icon-default,
.product-icon .icon-hover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.4s ease;
}
.product-icon .icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.product-card:hover .product-icon .icon-default {
  opacity: 0;
}
.product-card:hover .product-icon .icon-hover {
  opacity: 1;
}
.product-card:hover .product-icon {
  color: var(--primary-orange);
  transform: scale(1.15);
}
.product-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-desc {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-orange);
  transition: all 0.4s ease;
}
.product-link i {
  transition: transform 0.4s ease;
}
.product-link:hover {
  color: var(--primary-orange-dark);
}
.product-link:hover i {
  transform: translateX(6px);
}
.products-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ========== Facilities ========== */
.facilities-section {
  padding: 6rem 0 7rem;
  background: linear-gradient(
      135deg,
      rgba(42, 75, 115, 0.85),
      rgba(30, 58, 95, 0.85)
    ),
    url("../img/bg-about2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}
.facilities-text {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.facilities-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0rem;
}
.facility-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  opacity: 0.6;
}
.facility-item:last-child {
  margin-bottom: 2rem;
}
.facility-item:hover,
.facility-item.active {
  background: transparent;
  transform: translateX(12px);
  opacity: 1;
}
.facility-item.active {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.facility-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.facility-item:hover .facility-icon {
  background: transparent;
}
.facility-icon i {
  font-size: 1.5rem;
  color: var(--white);
  transition: color 0.2s ease;
}
.facility-item:hover .facility-icon i {
  color: var(--white);
}
.facility-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.facility-info p {
  font-size: 1.0625rem;
  opacity: 0.75;
  line-height: 1.7;
}
.facilities-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.gallery-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  background-color: #ffffff;
}
.inner-page-content .gallery-main {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0);
}
.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-main:hover img {
  transform: scale(1.03);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.65) 30%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.1) 85%,
    transparent 100%
  );
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.3s ease;
}
.gallery-thumbs {
  position: relative;
  min-height: 60px;
}
.gallery-group {
  display: none;
  gap: 0.75rem;
  animation: fadeIn 0.5s ease;
}
.gallery-group.active {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.thumb {
  width: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #ffffff;
}
.thumb.active {
  opacity: 1;
}
.thumb:hover {
  opacity: 0.7;
  transform: translateY(-4px);
}
.thumb img {
  width: 100% !important;
  height: 60px !important;
  object-fit: cover;
}

/* ========== News Carousel Section ========== */
.news-section {
  padding: 6rem 0 5.5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative Geometric Shapes */
.news-decor {
  position: absolute;
  top: 20px;
  right: 3%;
  width: 500px;
  height: 180px;
  pointer-events: none;
  display: none;
}
.news-decor span {
  position: absolute;
  opacity: 0.6;
}
.news-decor span:nth-child(1) {
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  border: 2px solid var(--primary-orange);
  transform: rotate(45deg);
}
.news-decor span:nth-child(2) {
  width: 40px;
  height: 40px;
  top: 130px;
  right: 150px;
  background: var(--primary-orange);
  border-radius: 50%;
  opacity: 0.4;
}
.news-decor span:nth-child(3) {
  width: 0;
  height: 0;
  top: 50px;
  right: 80px;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 40px solid var(--primary-orange);
  opacity: 0.5;
}
.news-decor span:nth-child(4) {
  width: 50px;
  height: 50px;
  top: 100px;
  right: 320px;
  border: 2px solid var(--primary-blue);
  opacity: 0.4;
}
.news-decor span:nth-child(5) {
  width: 30px;
  height: 30px;
  top: 20px;
  right: 250px;
  background: var(--primary-blue);
  opacity: 0.5;
}
.news-decor span:nth-child(6) {
  width: 35px;
  height: 35px;
  top: 140px;
  right: 380px;
  border: 2px solid var(--primary-orange);
  transform: rotate(20deg);
  opacity: 0.3;
}
.news-decor span:nth-child(7),
.news-decor span:nth-child(8),
.news-decor span:nth-child(9),
.news-decor span:nth-child(10),
.news-decor span:nth-child(11),
.news-decor span:nth-child(12) {
  display: none;
}

.news-header {
  text-align: center;
  margin-bottom: 2rem;
}
.news-header .section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.news-header .section-line {
  margin: 0 auto;
}

/* News Carousel Container */
.news-carousel-wrapper {
  position: relative;
  padding: 0 80px;
}

.news-carousel {
  overflow: hidden;
  padding: 40px 0;
  margin: -40px 0;
}

.news-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-carousel-item {
  flex: 0 0 100%;
  padding: 0 20px;
}

/* News Card - Side by Side Layout */
.news-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  padding: 2rem 0;
}

.news-card-content {
  padding: 1rem 0;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.news-card-tag {
  display: inline-block;
  padding: 0.2rem 1.25rem;
  background: transparent;
  color: var(--primary-blue);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1.5px solid var(--primary-blue);
  border-radius: 999px;
}

.news-card-date {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.news-card-title {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.news-card-excerpt {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.9;
}

.news-card-image {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.news-card-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card-horizontal:hover .news-card-image img {
  transform: scale(1.05);
}

/* Side Preview Cards */
.news-side-preview {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.4;
  transition: all 0.4s ease;
  pointer-events: none;
}

.news-side-preview.left {
  left: -40px;
}
.news-side-preview.right {
  right: -40px;
}

.news-side-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel Navigation */
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  cursor: pointer;
}

.news-nav:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  transform: translateY(-50%) scale(1.1);
}

.news-nav.prev {
  left: 0;
}
.news-nav.next {
  right: 0;
}

/* News Carousel Dots */
.news-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.4s ease;
}

.news-dot:hover {
  background: var(--gray-400);
}

.news-dot.active {
  background: var(--primary-blue);
  transform: scale(1.3);
}

/* ========== Investor Section (Homepage) ========== */
.investor-section {
  padding: 6rem 0;
  background: var(--gray-100);
}
.investor-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: center;
}
.investor-text {
  font-size: 1.2rem;
  color: var(--gray-800);
  line-height: 1.8;
}
.investor-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.investor-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.25rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.investor-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  transition: height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}
.investor-card:hover::before {
  height: 100%;
}
.investor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(30, 58, 95, 0.2);
}
.investor-card .card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}
.investor-card:hover .card-icon {
  background: var(--white);
  transform: scale(1.1);
}
.investor-card .card-icon i {
  font-size: 1.5rem;
  color: var(--white);
  transition: color 0.5s ease;
}
.investor-card:hover .card-icon i {
  color: var(--primary-blue);
}
.investor-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
}
.investor-card:hover h4 {
  color: var(--white);
}
.investor-card .card-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  color: var(--gray-300);
  z-index: 1;
  transition: all 0.5s ease;
}
.investor-card:hover .card-arrow {
  color: var(--white);
  transform: translateX(6px);
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #2a4b73, #1e3a5f);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.cta-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-buttons .btn-primary,
.cta-buttons .btn-outline {
  padding: 1rem 2.5rem;
  line-height: 1;
}

/* ========== Footer ========== */
.footer {
	background-color: rgba(241,244,247,.7);
	color: var(--gray-700);
	padding-top: 5rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 3.5fr;
  gap: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: none;
}
.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.8rem;
  display: none;
}

.footer-brand::before {
  content: "公司";
  display: none;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.footer-social a:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: translateY(-4px);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.footer-col h4 small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.footer-col ul li {
  margin-bottom: 0.875rem;
}
.footer-col ul li a {
  font-size: 1.0625rem;
  color: rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
}
.footer-col ul li a:hover {
  color: var(--primary-orange);
}
.footer-contact {
  margin-bottom: 1.5rem;
}
.footer-contact li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: 0.5rem !important;
}
.footer-contact li i {
  color: var(--primary-orange);
  width: 18px;
  margin-top: 6px;
}
.footer-contact li span,
.footer-contact li a {
  font-size: 1.0625rem;
  color: rgba(0, 0, 0, 0.8);
}
.footer-contact li a:hover {
  color: var(--primary-orange);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0 2rem;
}
.copyright {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
}
.copyright a {
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.4s ease;
}
.copyright a:hover {
  color: var(--primary-orange);
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
  font-size: 1rem;
}
.footer-legal a {
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.4s ease;
}
.footer-legal a:hover {
  color: var(--primary-orange);
}
.footer-legal .divider {
  color: rgba(0, 0, 0, 0.2);
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 54px;
  height: 54px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 35px rgba(30, 58, 95, 0.4);
  z-index: 10001;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-orange-dark)
  );
  transform: translateY(-6px);
}

/* ========== Responsive ========== */

/* ==========================================
   INNER PAGE STYLES (Merged from inner-page.css)
   Merged on: 2024-12-28
   ========================================== */

/* ==========================================
   Product Page Grid Styles (Redesign)
   ========================================== */

.products-section {
  background-color: var(--white);
  padding-top: 3rem; /* Adjusted padding */
}

/* Product Filter Bar */
.product-filter-bar {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.filter-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  position: relative;
}

.filter-list a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.filter-list a:hover,
.filter-list li.active a {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-orange);
}

/* Product Nav Section (Quick Links) */
.product-nav-section {
  padding: 4rem 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.product-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 12px;
}

.product-nav-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}

.product-nav-item .product-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.product-nav-item:hover .product-icon {
  color: var(--primary-orange);
}

.product-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-blue);
}

/* Category Section (Stacked) */
.category-section {
  margin-bottom: 6rem; /* Large spacing between categories */
  scroll-margin-top: 100px; /* Offset for sticky header if needed */
}

.category-section:last-child {
  margin-bottom: 0;
}

/* Category Banner (Full Width Overlay) */
.category-banner.text-overlay {
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content vertically */
  margin-bottom: 4.8rem;
}

.category-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.category-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 35, 65, 0.5); /* Dark blue overlay */
  z-index: 2;
}

.category-banner-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  padding-left: 0;
  border-left: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-desc {
  color: #f0f0f0;
  font-size: 1.1rem;
  line-height: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Banner */

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Product Card */
.product-item-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

.product-item-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transform: translateY(-5px);
  border-color: var(--primary-orange);
}

.product-item-card-img {
  width: 100%;
  height: 250px; /* Fixed height for consistent "Full" look */
  position: relative;
  background-color: var(--gray-50);
  overflow: hidden;
}

.product-item-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area, appearing "Full" */
  transition: transform 0.6s ease;
  display: block; /* Removes bottom spacing */
}

.product-item-card:hover .product-item-card-img img {
  transform: scale(1.05);
}

.product-item-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-item-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.product-item-card-body .en-name {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 500;
  margin-top: 0rem;
  margin-bottom: 1rem;
  font-family: var(--font-en, "Inter", sans-serif);
  border: 1.3px solid var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 4px; 
  width: auto;
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.1rem 1rem;
}

.product-item-card-desc {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1; /* Pushes button to bottom */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.3s ease;
  align-self: flex-end;
}

.btn-learn-more:hover {
  gap: 0.8rem;
}

/* Responsive Styles */

/* Page Fade-in Animation */
body {
  animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    background-color: #f8fafb;
  }
  to {
    opacity: 1;
    background-color: #f8fafb;
  }
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.65) 0%,
    rgba(30, 58, 95, 0.55) 50%,
    rgba(42, 74, 115, 0.6) 100%
  );
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-banner-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
  margin-top: 6rem;
}

.page-title-en {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.page-title-main {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb .separator {
  opacity: 0.5;
}

.breadcrumb .current {
  opacity: 1;
  font-weight: 500;
}

/* Sub Navigation */
.sub-nav-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Hide mobile toggle button on desktop */
.sub-nav-toggle {
  display: none;
}

.sub-nav-menu {
  display: flex;
  justify-content: center;
  gap: 0;
}

.sub-nav-menu li {
  position: relative;
}

.sub-nav-menu a {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
}

.sub-nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.sub-nav-menu li.active a,
.sub-nav-menu a:hover {
  color: var(--primary-orange);
}

.sub-nav-menu li.active a::after,
.sub-nav-menu a:hover::after {
  width: 80%;
}

/* Breadcrumb Section */
.breadcrumb-section {
  margin-top: 75px;
  padding: 1.5rem 0;
  background: #ffffff;
}

.breadcrumb-section .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  justify-content: flex-start;
}

.breadcrumb-section .breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-section .breadcrumb a:hover {
  color: var(--primary-blue);
}

.breadcrumb-section .breadcrumb .separator {
  color: #9ca3af;
}

.breadcrumb-section .breadcrumb .current {
  color: var(--primary-blue);
  font-weight: 500;
}

/* Inner Page Layout */
.inner-page-section {
  padding: 5rem 0 7rem;
  background: var(--white);
}

.container-full {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Content Area */
.inner-page-content {
  max-width: 100%;
}

.content-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}

.content-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-orange);
}

.content-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.content-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  font-weight: 400;
}

.content-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.content-block {
  margin-bottom: 6rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.block-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Introduction Grid */
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.intro-text {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}
.intro-text.s2 {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.intro-text p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.intro-text ul,
.intro-text ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.intro-text ul {
  list-style-type: disc;
  list-style-position: outside;
}

.intro-text ol {
  list-style-type: decimal;
  list-style-position: outside;
}

.intro-text li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  display: list-item;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
}

.intro-feature-item i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

.intro-products {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.intro-product-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.intro-product-item:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateX(8px);
}

.intro-product-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.intro-product-item:hover .intro-product-icon {
  color: var(--primary-orange);
  transform: scale(1.1);
}

.intro-product-icon svg {
  width: 100%;
  height: 100%;
}

.intro-product-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}

.intro-product-text .product-main {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.intro-product-text .product-detail {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.intro-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.intro-image-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-image-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.intro-image-item:hover img {
  transform: scale(1.05);
}

.image-caption {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary-blue);
  margin: 0;
}

/* Image wrapper for badge positioning */
.intro-image-item .image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Badge overlay */
.intro-image-item .image-badge {
  position: absolute;
  bottom: -5px;
  left: -10px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  color: var(--white);
  padding: 0.7rem 3rem 1.1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(30, 58, 95, 0.4);
}

.intro-image-item .badge-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.intro-image-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: rgba(30, 58, 95, 0.05);
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  margin-bottom: .2rem;
  text-align: center;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.intro-image-item h3 i {
  margin-right: 0.5rem;
  opacity: 0.85;
}

/* Statistics Grid Inner */
.stats-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateY(-5px);
}

.stat-icon-inner {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 1.75rem;
}

.stat-number-inner {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label-inner {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.stat-desc-inner {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline - Clean Design */
.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 260px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 232px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--primary-blue) 50%,
    transparent 50%
  );
  background-size: 1px 4px;
  background-repeat: repeat-y;
}

.timeline-item {
  position: relative;
  padding-bottom: 6rem;
  padding-left: 60px;
}

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

.timeline-item::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #245a8f 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(30, 58, 95, 0.3), 0 2px 8px rgba(30, 58, 95, 0.2);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 58, 95, 0.3), 0 2px 8px rgba(30, 58, 95, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(30, 58, 95, 0), 0 2px 12px rgba(30, 58, 95, 0.3);
  }
}

.timeline-item:hover::after {
  transform: scale(1.2);
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c42 100%);
  box-shadow: 0 0 0 8px rgba(255, 107, 0, 0.1),
    0 0 0 12px rgba(255, 107, 0, 0.05), 0 4px 16px rgba(255, 107, 0, 0.3);
  animation: none;
}

.timeline-year {
  position: absolute;
  left: -220px;
  top: -5px;
  width: 80px;
  text-align: right;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: -0.5px;
  font-family: var(--font-en);
}

.timeline-content {
  background: #fff;
  padding: 0;
  position: relative;
}

.timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content h4 {
  color: var(--primary-blue);
}

.timeline-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-800);
  margin: 0;
}

/* Values Section */
.values-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.values-content {
  padding-right: 2rem;
}

.values-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
  text-align: left;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateX(8px);
}

.value-icon-circle {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon-circle {
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  transform: scale(1.1);
}

.value-text h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}

.value-en {
  font-size: 1rem;
  color: var(--gray-500);
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

.values-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.values-image-circle {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(30, 58, 95, 0.15);
  transition: all 0.4s ease;
}

.values-image-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 64px rgba(30, 58, 95, 0.2);
}

.values-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Philosophy Section */
.philosophy-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 3rem 4rem;
  border-radius: 16px;
}

.philosophy-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-8px);
}

.philosophy-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.philosophy-content {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.philosophy-title-ch {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
  letter-spacing: 0.05em;
}

.philosophy-title-en {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-en)!important;
  color: var(--primary-blue);
  margin: 0;
  text-transform: capitalize;
  font-family: "Jost", sans-serif;
  line-height: 1.3;
}

.philosophy-desc {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.6;
  margin: 0.5rem 0 0 0;
  text-align: center;
}

.philosophy-divider {
  width: 2px;
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(30, 58, 95, 0) 0%,
    rgba(30, 58, 95, 0.3) 20%,
    rgba(30, 58, 95, 0.5) 50%,
    rgba(30, 58, 95, 0.3) 80%,
    rgba(30, 58, 95, 0) 100%
  );
}

/* Certifications Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cert-item {
  padding: 0;
  text-align: center;
  border: 1.5px solid transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: visible;
  box-shadow: none;
}


.cert-image {
  width: 100%;
  height: 370px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  transition: none;
  background: transparent;
}

.cert-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.cert-item:hover .cert-image {
  background: transparent;
}

.cert-item:hover .cert-image img {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
  transform: scale(1.05);
}

.cert-item h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0rem;
  letter-spacing: 0.02em;
}

.cert-item p {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
}

/* Legacy icon support */
.cert-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.cert-item:hover .cert-icon {
  transform: rotateY(360deg);
}

/* Patent List */
.patent-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.patent-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-orange);
  transition: all 0.3s ease;
}

.patent-item:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateX(5px);
}

.patent-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 12px;
  font-size: 1.75rem;
}

.patent-content {
  flex: 1;
}

.patent-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.patent-number {
  font-size: 0.9rem;
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.patent-content p:last-child {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: start;
}

.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.step-content {
  flex: 1;
  padding-top: 1rem;
}

.step-content h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Investment Grid */
.investment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.investment-item {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
  text-align: center;
}

.investment-item:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateY(-5px);
}

.investment-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 2.25rem;
  transition: all 0.3s ease;
}

.investment-item:hover .investment-icon {
  transform: scale(1.1) rotate(360deg);
}

.investment-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.investment-item p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Vision Content */
.vision-content p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.vision-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-list li {
  display: flex;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 2rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-orange);
  transition: all 0.3s ease;
}

.vision-list li:hover {
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateX(5px);
}

.vision-list i {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary-orange);
  font-size: 1.25rem;
}

.vision-list span {
  flex: 1;
  line-height: 1.8;
  color: var(--gray-700);
}

.vision-list strong {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.team-member {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.15);
}

.member-photo {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: var(--gray-100);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.1);
}

.member-info {
  padding: 2.5rem 2rem;
}

.member-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.member-position {
  font-size: 1rem;
  font-family: var(--font-en);
  color: var(--primary-orange);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.member-desc {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.member-expertise span {
  padding: 0.5rem 1rem;
  background: var(--gray-50);
  color: var(--gray-700);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

/* Department Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dept-card {
  background: var(--white);
  padding: 2.5rem 1.7rem;
  border-radius: 12px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
  text-align: center;
}

.dept-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateY(-5px);
}

.dept-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary-blue);
  border-radius: 12px;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.dept-card:hover .dept-icon {
  color: var(--primary-orange);
  transform: scale(1.1);
}

.dept-card h4 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.dept-head {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0px;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--primary-blue);
}

.dept-desc {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 1rem;
}

.dept-responsibilities {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dept-responsibilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 1rem;
  text-align: left;
  line-height: 1.8rem;
}

.dept-responsibilities i {
  color: var(--primary-orange);
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1.7rem;
}

/* Culture Grid */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.culture-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
}

.culture-item:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateY(-5px);
}

.culture-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 2.25rem;
  transition: all 0.3s ease;
}

.culture-item:hover .culture-icon {
  transform: scale(1.15) rotate(360deg);
}

.culture-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.culture-item p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Inner CTA Section */
.inner-cta-section {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.inner-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.inner-cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.inner-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.inner-cta-content h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.inner-cta-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.inner-cta-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: var(--primary-orange);
  color: var(--white);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.inner-cta-content .btn-primary:hover {
  background: var(--primary-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.4);
}

/* Facilities Showcase */
.facilities-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.facility-main-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--gray-50);
  border-radius: 16px;
  padding: 2.5rem;
}

.facility-image-large {
  display: flex;
  overflow: hidden;
  gap: 1.25rem;
  flex-direction: column;
}

.facility-image-large img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-main-card:hover .facility-image-large img {
  transform: scale(1.05);
}

.facility-main-info h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.facility-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.facility-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 0.7rem;
}

.facility-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-radius: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.spec-item i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

/* Equipment Grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.equipment-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
}

.equipment-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.12);
  transform: translateY(-5px);
}

.equipment-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  border-radius: 16px;
  font-size: 2.25rem;
  margin-bottom: 1.75rem;
  transition: all 0.3s ease;
}

.equipment-card:hover .equipment-icon {
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  transform: scale(1.1) rotate(5deg);
}

.equipment-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.equipment-brand {
  font-size: 0.9rem;
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.equipment-desc {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.equipment-features {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.equipment-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 1rem;
}

.equipment-features i {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

/* Environment Grid */
.environment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.environment-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--gray-50);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.environment-card:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.env-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  font-size: 2.25rem;
  transition: all 0.3s ease;
}

.environment-card:hover .env-icon {
  transform: scale(1.15) rotate(360deg);
}

.environment-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.environment-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Automation Features */
.auto-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.auto-feature-item {
  display: flex;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-orange);
  transition: all 0.3s ease;
}

.auto-feature-item:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.auto-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.auto-content h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.auto-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

/* Lab Tests */
.lab-tests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.test-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
}

.test-item i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

/* Responsive Design for News Grid */

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0rem;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--white);
  border: none;
  border-radius: 8px;
  color: var(--gray-700);
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-link:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: var(--gray-50);
}

.page-link.active {
  background: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--primary-orange-dark) 100%
  );
  border-color: var(--primary-orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Responsive - News List */

/* ==========================================
   News List Page Styles (內頁新聞列表)
   ========================================== */

/* News List Grid Layout */
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

/* News List Card */
.news-list-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-list-card:hover {
  transform: translateY(-8px);
}

/* News List Card Image */
.news-list-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 12px;
}

.news-list-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.news-list-card:hover .news-list-card-image img {
  transform: scale(1.05);
}

/* News List Card Meta */
.news-list-card-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

/* News List Card Category Badge */
.news-list-card-category {
  display: inline-block;
  padding: 0.1rem 1rem;
  background: transparent;
  color: var(--primary-blue);
  border: 1.3px solid var(--primary-blue);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: static;
  backdrop-filter: none;
}

/* News List Card Body */
.news-list-card-body {
  padding: 1.2rem 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0rem;
  flex: 1;
}

/* News List Card Date */
.news-list-card-date {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-family: var(--font-en);
  font-weight: 500;
}

/* News List Card Title */
.news-list-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  margin-top:0.1rem;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-card:hover .news-list-card-title {
  color: var(--primary-orange);
}

/* News List Card Excerpt */
.news-list-card-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   Product Page Styles
   ========================================== */

/* Products Section */
.products-section {
  padding: 4rem 0 3rem;
}

/* Product Block */
.product-block {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-block:last-child {
  margin-bottom: 0;
}

/* Product Block Overlay */
.product-block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.85) 0%,
    rgba(30, 58, 95, 0.75) 100%
  );
  z-index: 1;
}

/* Product Block Content */
.product-block-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 4rem 3rem;
  text-align: center;
}

/* Product Block Title */
.product-block-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-title-en {
  display: block;
  font-size: 1.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-en);
  margin-top: 0.5rem;
}

/* Product Block Description */
.product-block-desc {
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Product Block Button */
.product-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  background: var(--primary-orange);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.product-block-btn:hover {
  background: var(--primary-orange-dark);
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.5);
}

.product-block-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.product-block-btn:hover i {
  transform: translateX(3px);
}

/* Hover Effect */
.product-block:hover .product-block-overlay {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.75) 0%,
    rgba(30, 58, 95, 0.65) 100%
  );
}

/* Responsive Design for Products */

/* =========================================
   PREMIUM Product Detail Page Styles (Redesign)
   ========================================= */

/* Hero Section */
.product-view-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end; /* Bottom align content */
  padding-bottom: 4rem;
  overflow: hidden;
}

.pv-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 10s ease; /* Subtle zoom effect */
}

/* Optional: animating the bg */
.product-view-hero:hover .pv-hero-bg {
  transform: scale(1.05);
}

.pv-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.55) 0%,
    rgba(30, 58, 95, 0.45) 50%,
    rgba(42, 74, 115, 0.5) 100%
  );
  z-index: 2;
}

.pv-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 800px;
  animation: slideUpFade 0.8s ease-out;
}

.breadcrumb-white {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.breadcrumb-white a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb-white a:hover {
  opacity: 1;
  text-decoration: underline;
}

.pv-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pv-subtitle {
  font-size: 1rem;
  font-family: var(--font-en);
  opacity: 0.9;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Back to List Button */
.pv-back-button-wrapper {
  padding: 3rem 0 6rem;
  text-align: center;
}

/* Breadcrumb Wrapper with Back Button */
.breadcrumb-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Inline Back to List Button (Same line as breadcrumb) */
.pv-inline-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 40px;
  background: var(--white);
  color: var(--primary-blue);
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  gap: .5rem;
  font-weight: 500;
}

.pv-inline-back-btn .back-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--primary-blue);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.pv-inline-back-btn .back-icon-circle i {
  font-size: 0.85rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.pv-inline-back-btn:hover {
  transform: translateX(-3px);
}

.pv-inline-back-btn:hover .back-icon-circle i {
  color: var(--primary-blue);
  transform: translateX(-2px);
}

/* Main Info Section */
.pv-main-info {
  background-color: #fff;
  padding: 5rem 0;
}

.pv-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.pv-gallery-col {
  position: relative;
}

.pv-main-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Good shadow */
  background: #f8fafb;
}

.pv-main-image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.pv-image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

/* Product View Thumbnails */
.pv-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pv-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #ffffff;
}

.pv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-thumb:hover {
  opacity: 0.7;
  transform: translateY(-4px);
}

.pv-thumb.active {
  opacity: 1;
}

.pv-info-header {
  margin-bottom: 2rem;
}

.pv-info-title {
  font-size: 2rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pv-info-line {
  width: 60px;
  height: 4px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.pv-desc-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
}

.pv-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  display: grid;
  gap: 1.5rem;
}

.pv-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-blue-rgb, 30, 58, 95), 0.1);
  color: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feat-text {
  display: flex;
  flex-direction: column;
}

.feat-text strong {
  color: var(--text-dark);
  font-size: 1.05rem;
}

.feat-text span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.pv-action-group {
  display: flex;
  gap: 1.5rem;
}

/* Large Buttons */
.btn-primary-lg,
.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-lg {
  background: var(--primary-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.btn-primary-lg:hover {
  background: var(--primary-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.35);
}

.btn-outline-lg {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline-lg:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(30, 58, 95, 0.3);
}

/* Tabs Section */
.pv-details-section {
  background-color: #fcfcfc;
  padding-bottom: 0rem;
}

.pv-tabs-header-wrapper {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0; /* Or header height */
  z-index: 100;
  transition: box-shadow 0.3s;
}

.pv-tabs-header-wrapper.is-stuck {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pv-tabs-header {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.pv-tab-btn {
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.pv-tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pv-tab-btn:hover {
  color: var(--primary-orange);
}

.pv-tab-btn.active {
  color: var(--primary-orange);
  font-weight: 700;
}

.pv-tab-btn.active::after {
  transform: scaleX(1);
}

.pv-tabs-content {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.pv-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.pv-tab-pane.active {
  display: block;
}

/* Tab Content Styling */
.pv-content-block {
  margin: 0 auto;
  max-width: 1100px;
}

.pv-block-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
  text-align: center;
}

.pv-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pv-feature-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid transparent;
}

.pv-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-orange-rgb, 255, 107, 0), 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.pv-fc-icon {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
}

.pv-feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.pv-feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Specs Table */
.pv-specs-table-wrapper {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: 0rem;
}

.pv-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.pv-specs-table th,
.pv-specs-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.pv-specs-table thead th {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 500;
}

.pv-specs-table tbody td {
  color: var(--text-dark);
}

.pv-specs-table tbody td:first-child {
  font-weight: 600;
  color: var(--primary-blue);
  background: #f8fafb;
  width: 30%;
}

.pv-specs-table tbody tr:hover td {
  background: #fcfcfc;
}

.pv-specs-table tbody tr:hover td:first-child {
  background: #f0f4f7;
}

.tag-temp {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.tag-temp.low {
  background: #e3f2fd;
  color: #1976d2;
}
.tag-temp.std {
  background: #e8f5e9;
  color: #388e3c;
}
.tag-temp.high {
  background: #fff3e0;
  color: #f57c00;
}

/* Applications Layout */
.pv-apps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pv-check-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.pv-check-list li {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.pv-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-orange);
}

.pv-app-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Responsive */

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

/* Helpers */
.section-padding {
  padding: 3rem 0 5rem;
}
.section-padding-btm {
  padding-bottom: 5rem;
}

/* Feature Rows (Image + Text) */
.pv-feature-rows {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.pv-feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.pv-feature-row.reverse {
  flex-direction: row-reverse;
}

.pv-feat-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pv-feat-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.pv-feature-row:hover .pv-feat-img img {
  transform: scale(1.03);
}

.pv-feat-content {
  flex: 1;
}

.pv-feat-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.pv-feat-content p {
  font-size: 1.05rem;
}

/* Article Content Layout */
.pv-article-content {
  margin: 0;
  line-height: 1.8;
}

.pv-article-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.pv-article-content h4:first-child {
  margin-top: 0;
}

.pv-article-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* =========================================
   Investor Relations Styles
   ========================================= */

/* Chart Styling (CSS Only) */
.chart-container {
  width: 100%;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #f8fafb;
  border-radius: 16px;
}

.css-chart {
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding-top: 3rem;
}

.chart-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chart-bars li {
  flex: 1;
  height: 100%;
  margin: 0 10px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.bar {
  width: 40px;
  min-width: 20px;
  background: var(--primary-blue);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease;
}

.bar.highlight {
  background: var(--primary-orange);
}

.bar-value {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.chart-bars li::after {
  content: attr(data-label);
  position: absolute;
  bottom: -30px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* IR Table */
.ir-table-wrapper {
  margin-bottom: 2rem;
}

.ir-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.ir-table th,
.ir-table td {
  padding: 1.1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.ir-table td a {
  display: inline-block;
  vertical-align: middle;
}

.ir-table td img {
  display: inline-block;
  vertical-align: middle;
}

.ir-table th {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 500;
}

.ir-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.ir-table tr:hover td {
  background: #fcfcfc;
}

.text-up {
  color: #d32f2f;
  font-weight: 600;
}
.text-down {
  color: #388e3c;
  font-weight: 600;
}

/* PDF Download Group for Stock Meeting Table */
.ir-table .pdf-download-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pdf-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pdf-download-link:hover {
  background: #f8f9fa;
}

.pdf-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.pdf-download-link span {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Table Scroll Hint */
.table-scroll-hint {
  display: none;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.table-scroll-hint i {
  color: var(--primary-orange);
  margin-right: 0.5rem;
}

/* Reports Grid */
.ir-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.ir-download-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.ir-download-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.ir-card-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  min-width: 50px;
  text-align: center;
}

.ir-card-info {
  flex: 1;
}

.ir-card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.ir-card-info .date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.ir-download-btn {
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  border-radius: 6px;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.2s;
}

.ir-download-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* Info Circle Icon */
.fa-info-circle {
  color: var(--primary-orange);
}

/* Governance & Profile Cards */
.gov-structure-img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gov-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gov-profile-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 4px solid var(--primary-blue);
  padding: 2rem 1.5rem;
  transition: transform 0.3s;
}

.gov-profile-card:hover {
  transform: translateY(-5px);
}

.gov-avatar {
  width: 100px;
  height: 100px;
  background: #eee;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.gov-avatar i {
  font-size: 3rem;
  line-height: 100px;
  color: #bbb;
}

.gov-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.gov-title {
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.gov-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Shareholder Services */
.shareholder-policy-box {
  background: #fcfcfc;
  border-left: 4px solid var(--primary-orange);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border-radius: 0 8px 8px 0;
}

.policy-item-content {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.policy-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(230, 97, 0, 0.2);
}

.policy-text {
  flex: 1;
}

.policy-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.policy-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.policy-text p:last-child {
  margin-bottom: 0;
}

.dividend-ratio-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.ratio-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.ratio-content {
  flex: 1;
}

.ratio-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.ratio-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 1rem;
}

.ratio-item i {
  color: #4caf50;
  font-size: 1.1rem;
}

/* Responsive */

/* Stock Information Cards */
.stock-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.info-card-header {
  background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-card-header i {
  font-size: 1.75rem;
}

.info-card-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.info-card-body {
  padding: 1.75rem;
}

.stock-code-display {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stock-code-display strong {
  color: var(--primary-orange);
  font-size: 1.3rem;
  font-weight: 700;
}

.stock-market {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.info-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-link:hover {
  color: #ff6b35;
  gap: 0.75rem;
}

.info-link i {
  transition: transform 0.3s ease;
}

.info-link:hover i {
  transform: translateX(4px);
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #28a745;
  border-radius: 4px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.security-notice i {
  color: #28a745;
  font-size: 1.1rem;
}

/* Section Description */
.section-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Table Note */
.table-note {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table-note i {
  color: var(--primary-orange);
}

/* Responsive for Stock Information */

/* Stock Info Box (investor4.html) */
.stock-info-box {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: top;
}

.stock-info-text {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.stock-code {
  color: var(--primary-orange);
  font-size: 1.4rem;
  font-weight: 700;
}

.stock-query-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.stock-query-btn .fa-arrow-right {
  font-size: 0.9rem;
}

.stock-query-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 104, 87, 0.3);
}

.stock-info-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stock-svg {
  width: 100%;
  height: auto;
}

/* SVG Illustration Styles */
.svg-bg-circle {
  stroke: var(--primary-blue);
  opacity: 0.2;
}

.svg-bg-dot {
  fill: var(--primary-blue);
  opacity: 0.3;
}

.svg-card-bg {
  fill: #fff;
  stroke: var(--primary-blue);
  stroke-width: 2;
}

.svg-trend-line {
  stroke: var(--primary-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-data-point {
  fill: var(--primary-blue);
  opacity: 0.5;
}

.svg-data-point-primary {
  fill: var(--primary-blue);
}

.svg-bar {
  fill: var(--primary-blue);
  opacity: 0.4;
}

.svg-bar-primary {
  fill: var(--primary-blue);
}

.svg-icon-bg {
  fill: var(--primary-blue);
  opacity: 0.15;
}

.svg-icon-text {
  fill: var(--primary-blue);
}

.svg-arrow-circle {
  fill: var(--primary-blue);
  opacity: 0.15;
}

.svg-arrow-path,
.svg-arrow-line {
  fill: var(--primary-blue);
  stroke: var(--primary-blue);
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 768px) {
  .stock-info-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
}

/* =========================================
   Sub Navigation Global Styles (Fix)
   ========================================= */
.sub-nav {
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sub-nav-list {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-nav-list li {
  position: relative;
}

.sub-nav-list a {
  display: block;
  padding: 1.5rem 2.5rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.sub-nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.sub-nav-list li.active a,
.sub-nav-list a:hover {
  color: var(--primary-orange);
}

.sub-nav-list li.active a::after,
.sub-nav-list a:hover::after {
  width: 100%;
}

/* =========================================
   Contact Us Styles
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  padding: 0rem;
  border-radius: 12px;
  /*box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);*/
  border: 0px solid #eee;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group label .required {
  color: #e53935;
  margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #e8ecf0;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafbfc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.form-group select {
  padding-right: 3rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a5f' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 12px;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(30, 58, 95, 0.6);
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.08);
}

.form-group select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a5f' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(30, 58, 95, 0.6);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1),
              0 4px 12px rgba(30, 58, 95, 0.08),
              0 0 20px rgba(30, 58, 95, 0.04);
}

.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a5f' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

.checkbox-group a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.form-action {
  margin-top: 2rem;
}

.form-action .btn-primary {
  padding: 1.3rem 3.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 200px;
}

/* Success Message */
.success-message-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  margin-bottom: 2rem;
}

.success-icon i {
  font-size: 5rem;
  color: var(--primary-blue);
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.success-desc {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.success-actions .btn-primary,
.success-actions .btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Contact Sidebar */
.contact-info-card {
  background: var(--primary-blue);
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  position: sticky;
  top: 100px;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.contact-info-card .en-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: -5px;
}

.contact-list .label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-list .value {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-list a.value:hover {
  color: var(--primary-orange);
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Location Grid Override */
.contact-grid.location-grid {
  grid-template-columns: 1fr;
  gap: 5rem;
}

.location-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* ==========================================
   News Article Detail Styles
   ========================================== */

.news-article-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

/* Article Header */
.article-header {
  margin-bottom: 3rem;
  padding-bottom: 0rem;
  border-bottom: 1px solid var(--gray-300);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-category {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.article-date {
  color: var(--gray-500);
  font-size: 1rem;
  font-family: var(--font-en);
  font-weight: 500;
}

.article-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* Social Share Buttons */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-facebook:hover {
  background: #1877f2;
  color: #fff;
}

.share-linkedin:hover {
  background: #0a66c2;
  color: #fff;
}

.share-line:hover {
  background: #06c755;
  color: #fff;
}

.share-link:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* Article Content */
.article-content {
  margin-bottom: 3rem;
}

.article-image {
  width: 100%;
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.article-image-inline {
  width: 100%;
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-image-inline img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
  list-style-position: outside;
}

.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style-type: decimal;
  list-style-position: outside;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  display: list-item;
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.article-nav-item:hover {
  background: var(--gray-100);
}

.article-nav-item .nav-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.article-nav-item .nav-title {
  font-size: 1.2rem;
  color: var(--primary-blue);
  font-weight: 600;
  line-height: 1.4;
}

.article-nav-item.next {
  text-align: right;
}

/* Article Footer */
.article-footer {
  margin-top: 2rem;
  text-align: center;
  border-top: 1px solid var(--gray-300);
  padding-top: 3rem;
}

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-outline:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

/* Responsive */

/* Legacy Typography Support */
.article-content.typography h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content.typography p {
  margin-bottom: 1.5rem;
}

/* ==========================================
   Links Page Styles (Redesign)
   ========================================== */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.link-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.link-card:hover::before {
  transform: scaleX(1);
}

.link-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(30, 58, 95, 0.05); /* Light Primary Blue */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.link-card:hover .link-icon-wrapper {
  background: var(--primary-blue);
  transform: scale(1.1) rotate(-5deg);
}

.link-icon-wrapper i {
  font-size: 1.75rem;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.link-card:hover .link-icon-wrapper i {
  color: var(--white);
}

.link-content {
  flex: 1;
}

.link-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.link-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-orange);
  font-size: 0.95rem;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.link-card:hover .link-action {
  gap: 0.75rem;
}

/* ==========================================
   Contact Info Sidebar Styles
   ========================================== */

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .info-card-icon {
  background: var(--primary-blue);
}

.info-card-icon i {
  font-size: 1.25rem;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.contact-info-card:hover .info-card-icon i {
  color: var(--white);
}

.info-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.info-card-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.info-card-text a {
  color: var(--gray-700);
  transition: color 0.3s ease;
}

.info-card-text a:hover {
  color: var(--primary-orange);
}

/* Quick Links */
.contact-quick-links {
  margin-top: 1rem;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    rgba(30, 58, 95, 0.9) 100%
  );
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.3);
}

.quick-link-card i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.quick-link-card span {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Responsive adjustments */

/* ==========================================
   FENRI Style Location Page (Redesign)
   交錯式服務據點頁面設計
   ========================================== */

.location-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
}

/* Intro Section */
.location-section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.location-main-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.location-main-desc {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

/* Location Item Container - Alternating Layout */
.location-item {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

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

.location-item-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.location-item-container:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Left Layout: Text Left, Map Right (Default) */
.location-item-left .location-item-container {
  grid-template-areas: "content map";
}

.location-item-left .location-item-content {
  grid-area: content;
  padding: 3.5rem 3rem 3.5rem 3.5rem;
}

.location-item-left .location-item-map {
  grid-area: map;
}

/* Right Layout: Map Left, Text Right */
.location-item-right .location-item-container {
  grid-template-areas: "map content";
}

.location-item-right .location-item-content {
  grid-area: content;
  padding: 3.5rem 3.5rem 3.5rem 3rem;
}

.location-item-right .location-item-map {
  grid-area: map;
}

/* Content Section */
.location-item-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.location-badge-modern i {
  font-size: 1rem;
}

.location-item-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.location-item-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin: 0;
  font-weight: 400;
}

/* Location Details */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0;
}

.detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 95, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.location-detail-item:hover .detail-icon {
  background: var(--primary-blue);
}

.detail-icon i {
  font-size: 1.1rem;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.location-detail-item:hover .detail-icon i {
  color: var(--white);
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1.05rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.5;
}

.detail-value a {
  color: var(--gray-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-value a:hover {
  color: var(--primary-orange);
}

/* Navigate Button */
.btn-navigate {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    rgba(30, 58, 95, 0.9) 100%
  );
  color: var(--white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.2);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-navigate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
  gap: 1rem;
}

.btn-navigate i {
  font-size: 1.1rem;
}

/* Map Section */
.location-item-map {
  position: relative;
  height: 100%;
  min-height: 500px;
  background: var(--gray-100);
}

.map-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Design */

/* ===================================
   Map Section (Contact2 Page)
   =================================== */

.map-section {
  padding: 80px 0;
  background: #f5f7fa;
}

.map-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.map-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.map-section-desc {
  font-size: 1.1rem;
  color: #7c93a3;
  line-height: 1.8;
  margin: 0;
}

/* Map Location Wrapper */
.map-location-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.map-location-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.3s ease;
}

.map-location-card:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

/* Left Side - Location Info */
.map-location-info {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.map-location-badge i {
  font-size: 1rem;
}

.map-location-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.map-location-name-en {
  font-size: 1rem;
  color: #7c93a3;
  margin: 0 0 30px 0;
  font-weight: 400;
}

/* Location Details */
.map-location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.map-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.map-detail-icon i {
  color: var(--primary-blue);
  font-size: 1rem;
}

.map-detail-item:hover .map-detail-icon {
  background: rgba(30, 58, 95, 0.12);
  transform: scale(1.05);
}

.map-detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.map-detail-label {
  font-size: 0.85rem;
  color: #7c93a3;
  font-weight: 500;
}

.map-detail-value {
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.5;
}

.map-detail-value a {
  color: var(--gray-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.map-detail-value a:hover {
  color: var(--primary-orange);
}

/* Navigate Button */
.map-navigate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2a4d7a 100%);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.2);
}

.map-navigate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
  gap: 12px;
}

.map-navigate-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.map-navigate-btn:hover i {
  transform: translateX(2px);
}

/* Right Side - Map */
.map-location-map {
  flex: 1;
  min-height: 500px;
  position: relative;
  background: #e5e7eb;
}

.map-location-map iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
}

/* Responsive Design */

/* ==========================================
   Simple Location Layout (contact2.html)
   ========================================== */

.simple-location-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  margin-bottom: 7rem;
  align-items: start;
}
.simple-location-wrapper:last-child {
  margin-bottom: 2rem;
}
.simple-location-info {
  padding: 2rem 0;
  border-bottom: 2px solid var(--gray-300);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-location-info:hover {
  border-bottom-color: rgba(30, 58, 95, 0.5);
  transform: translateY(-2px);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-marker {
  width: 40px;
  height: 40px;
  background: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.location-marker i {
  font-size: 1rem;
  color: var(--white);
}

.simple-location-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0;
}

.simple-location-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.detail-item i {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.detail-item a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-item a:hover {
  color: var(--primary-blue);
}

.simple-location-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simple-location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive */

/* Reverse layout for second location */
.simple-location-reverse {
  grid-template-columns: 1fr 350px;
}

/* Make entire news card clickable */
.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card-link .news-card {
  cursor: pointer;
}

.news-card-link:hover .news-card {
  transform: translateY(-8px);
}

/* Remove the old individual link styles since the whole card is now clickable */
.news-card-link .news-card .news-card-link {
  display: none;
}

/* ==========================================
   About 2 (R&D) Redesign / Distinct Style
   ========================================== */

/* Vision Hero (Centered Minimalist) */
.vision-section-modern {
  text-align: center;
  padding: 8rem 2rem;
  background: radial-gradient(circle at center, #ffffff 0%, #f4f6f8 100%);
  position: relative;
  overflow: hidden;
}

.vision-section-modern::before {
  content: "“";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20rem;
  font-family: serif;
  color: rgba(30, 58, 95, 0.03);
  line-height: 0;
  pointer-events: none;
}

.vision-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.vision-hero-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-600);
  position: relative;
  z-index: 1;
}

/* Split Section (Image Right / Text Left) */
.split-section {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 0;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  position: relative;
}

.split-image-container {
  width: 100%;
  padding-bottom: 80%; /* Aspect ratio */
  position: relative;
  border-radius: 60px 0 60px 0; /* Modern organic shape */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.split-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.split-image-container:hover img {
  transform: scale(1.05);
}

/* Modern Values List */
.values-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-item-modern {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-item-modern:last-child {
  border-bottom: none;
}

.value-item-modern:hover {
  padding-left: 1rem;
  border-bottom-color: var(--primary-orange);
}

.value-icon-modern {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-blue);
  background: rgba(30, 58, 95, 0.05);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.value-item-modern:hover .value-icon-modern {
  background: var(--primary-blue);
  color: #fff;
}

.value-text-modern h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1.2;
}

.value-text-modern span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* Minimal Cards Grid */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: start;
}

.modern-card {
  background: #f8f9fa;
  padding: 2.5rem 2rem 3rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.modern-card:hover {
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.05);
}

.modern-card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.modern-card-icon svg {
  width: 100%;
  height: 100%;
}

.modern-card:hover .modern-card-icon {
  color: var(--primary-orange);
  transform: translateY(-8px);
}

.modern-card h5 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.modern-card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.8;
}

/* Responsive Adjustments */

/* Mobile styles for intro image badges */

/* ===================================
   Investor Relations Section
   =================================== */

/* Inner Page Investor Section */
.inner-page-section.investor-section {
  background: var(--white);
  padding: 4rem 0;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--primary-orange);
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: -1rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

/* Revenue Chart Wrapper */
.revenue-chart-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

/* Chart Stats Cards */
.chart-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  border-radius: 12px;
  color: var(--white);
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-value .unit {
  font-size: 1.5rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.stat-growth {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4ade80;
}

.stat-period {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Modern Revenue Chart */
.revenue-chart {
  position: relative;
  height: 350px;
  padding: 2rem 0;
}

.chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 0;
}

.grid-line {
  display: block;
  height: 1px;
  background: var(--gray-200);
  width: 100%;
}

.chart-bars-modern {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  padding: 0 2rem;
  z-index: 1;
}

.bar-item {
  flex: 1;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bar-column {
  width: 100%;
  background: linear-gradient(
    to top,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.bar-item:hover .bar-column {
  transform: scaleY(1.05);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}

.bar-item.active .bar-column {
  background: linear-gradient(
    to top,
    var(--primary-orange),
    var(--primary-orange-light)
  );
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.bar-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bar-item:hover .bar-tooltip {
  opacity: 1;
}

.bar-item.active .bar-tooltip {
  background: var(--primary-orange);
  opacity: 1;
}

.bar-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Financial Reports Grid */
.financial-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.report-card {
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--gray-100);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.report-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
  transform: translateY(-5px);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.report-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.report-type {
  font-size: 0.875rem;
  color: var(--white);
  background: var(--primary-orange);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-weight: 500;
}

.report-content {
  flex: 1;
  margin-bottom: 1.5rem;
}

.report-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.report-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.report-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.report-meta i {
  margin-right: 0.375rem;
  color: var(--primary-blue);
}

.report-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-dark)
  );
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.report-download-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-orange-dark)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.report-download-btn i {
  font-size: 1.125rem;
}

/* Responsive Design */

/* ==========================================
   Stock Price Information (investor4.html)
   ========================================== */

/* Stock Price Header */
.stock-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-dark)
  );
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.2);
}

.stock-info {
  flex: 1;
}

.stock-company-name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stock-current-price {
  text-align: right;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.price-change {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price-change.positive {
  color: #4ade80;
}

.price-change.negative {
  color: #f87171;
}

.price-change i {
  font-size: 1rem;
}

.price-update {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Stock Stats Grid */
.stock-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stock-stat-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stock-stat-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
  transform: translateY(-3px);
}

.stock-stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.stock-stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.stock-stat-card .unit {
  font-size: 1rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

/* Stock Price Chart */
.stock-chart-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

.stock-price-chart {
  position: relative;
  height: 350px;
  margin-bottom: 2rem;
}

.price-line-chart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.chart-x-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  margin-top: 1rem;
}

.chart-x-labels span {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Trading Info Grid */
.trading-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.trading-info-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.trading-info-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
  transform: translateY(-5px);
}

.trading-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary-blue);
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.trading-info-card:hover .trading-icon {
  color: var(--primary-orange);
  transform: scale(1.1);
}

.trading-icon svg {
  width: 100%;
  height: 100%;
}

.trading-info-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.trading-detail {
  color: var(--gray-600);
  line-height: 1.8;
}

.trading-detail p {
  margin-bottom: 0.75rem;
}

.trading-detail strong {
  color: var(--text-dark);
  font-weight: 600;
}

.trading-detail .text-muted {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Stock Links Grid */
.stock-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stock-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.7rem;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
}

.stock-link-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.stock-link-card::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  bottom: 0.7rem;
  right: 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.stock-link-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
  transform: translateY(-5px);
}

.stock-link-card:hover::before {
  width: 80px;
  height: 80px;
}

.stock-link-card:hover::after {
  bottom: 1.2rem;
  right: 1.2rem;
  font-size: 1rem;
}

.stock-link-logo {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  transition: all 0.3s ease;
}

.stock-link-card:hover .stock-link-logo {
  transform: scale(1.1);
}

.stock-link-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.stock-link-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
}

.stock-link-desc {
  font-family: var(--font-en);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 1.5;
  color: var(--primary-blue);
}

/* Policy Content Styles */
.policy-content {
  display: block !important;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  gap: 0 !important;
  border-bottom: none !important;
}

.policy-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--primary-blue);
  word-wrap: break-word;
}

.policy-content .update-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-style: italic;
}

.policy-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  word-wrap: break-word;
  white-space: normal;
}

.policy-content ul {
  margin: 1rem 0 1.5rem 2rem;
  list-style: disc;
  padding-left: 0;
}

.policy-content ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  white-space: normal;
}

/* Cookie Consent Banner Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 2rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 9998;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 0.5rem;
}

.cookie-description {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.cookie-link {
  color: #1e3a5f;
  text-decoration: underline;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-link:hover {
  color: var(--primary-orange);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn i {
  font-size: 1rem;
}

.cookie-btn-settings {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-settings:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.cookie-btn-accept {
  background: transparent;
  color: #1e3a5f;
  border: 1px solid #1e3a5f;
}

.cookie-btn-accept:hover {
  background: #1e3a5f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

/* Cookie Settings Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}

.cookie-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal-intro {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-category {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.cookie-category:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category-title i {
  color: var(--primary-orange);
  font-size: 1rem;
}

.cookie-category-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
  display: none;
}

.cookie-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--gray-300);
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"]:checked + .cookie-switch {
  background: var(--primary-orange);
}

input[type="checkbox"]:checked + .cookie-switch .cookie-switch-slider {
  transform: translateX(24px);
}

input[type="checkbox"]:disabled + .cookie-switch {
  background: var(--gray-400);
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-toggle-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 16px 16px;
}

.cookie-btn-reject {
  background: var(--gray-200);
  color: var(--gray-700);
}

.cookie-btn-reject:hover {
  background: var(--gray-300);
}

.cookie-btn-save {
  background: var(--primary-blue);
  color: var(--white);
}

.cookie-btn-save:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.cookie-btn-accept-all {
  background: var(--primary-orange);
  color: var(--white);
}

.cookie-btn-accept-all:hover {
  background: var(--primary-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Cookie Consent Responsive Styles */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 1.25rem 0;
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .cookie-content {
    text-align: center;
  }

  .cookie-title {
    font-size: 1.1rem;
  }

  .cookie-description {
    font-size: 0.9rem;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
  }

  .cookie-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .cookie-modal-header {
    padding: 1.25rem 1.5rem;
  }

  .cookie-modal-title {
    font-size: 1.25rem;
  }

  .cookie-modal-body {
    padding: 1.5rem;
  }

  .cookie-category {
    padding: 1.25rem;
  }

  .cookie-category-header {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-toggle {
    align-self: flex-start;
  }

  .cookie-modal-footer {
    flex-direction: column;
    padding: 1.25rem 1.5rem;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    padding: 1rem 0;
  }

  .cookie-consent-container {
    padding: 0 1rem;
  }

  .cookie-title {
    font-size: 1rem;
  }

  .cookie-description {
    font-size: 0.85rem;
  }

  .cookie-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .cookie-modal-header {
    padding: 1rem 1.25rem;
  }

  .cookie-modal-body {
    padding: 1.25rem;
  }

  .cookie-category {
    padding: 1rem;
  }

  .cookie-category-title {
    font-size: 1rem;
  }

  .cookie-category-desc {
    font-size: 0.85rem;
  }
}

/* Button visibility control */
.btn-desktop-only {
  display: inline-flex;
}

.btn-mobile-only {
  display: none;
}

/* Responsive Design for Stock Price Page */
