/* ============================================
   CJ Tech HTML Site - Global Stylesheet
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --white: #ffffff;
  --default: #606266;
  --blue: #409eff;
  --red: #00b4d8;
  --grey: #929292;
  --dark-grey: #f8f9fc;
  --dark-black: #f0f2f8;
  --input: #fffbeb;

  --menu-color: #606266;
  --menu-color-active: #355db2;
  --menu-background: #f0f2f8;

  --main-color: #606266;
  --main-background: #f0f2f8;

  --footer-color: #fff9ed;
  --footer-color-active: #ffffff;
  --footer-background: #355db2;

  --cyan: #00b4d8;
  --blue-dark: #1a3a6c;

  --header-width: 1600px;
  --content-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo,
    "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", Verdana, "Helvetica Neue",
    Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    sans-serif;
  color: var(--main-color);
  background-color: var(--main-background);
}

::selection {
  color: var(--white);
  background-color: var(--menu-color-active);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: top;
}

ul, ol {
  list-style-position: inside;
}

/* --- Layout: Header (Navbar) --- */
.app-header {
  height: 80px;
  line-height: 80px;
  background-color: var(--menu-background);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 8px rgba(53, 93, 178, 0.15);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(53, 93, 178, 0.2);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.app-header.header-scrolled {
  height: 60px;
  line-height: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 15px rgba(53, 93, 178, 0.2);
  border-bottom-color: rgba(0, 180, 216, 0.25);
}

.app-header.header-scrolled .navbar .logo img {
  max-height: 40px;
}

.app-header.header-scrolled .navbar .logo span {
  font-size: 24px;
}

.app-header.header-scrolled .navbar .logo-right img {
  max-height: 40px;
}

.app-header.header-scrolled .desktop-menu li a {
  line-height: 60px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: var(--header-width);
  margin: 0 auto;
  padding: 0 15px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  min-width: 180px;
  height: 100%;
  margin-right: 40px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.navbar .logo img {
  margin-right: 5px;
  max-height: 50px;
  width: auto;
}

.navbar .logo span {
  color: var(--menu-color);
  font-size: 36px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.navbar .logo-right img {
  max-height: 50px;
  width: auto;
}

/* Desktop Menu */
.desktop-menu {
  min-width: 600px;
  max-width: 800px;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  list-style: none;
}

.desktop-menu li a {
  display: block;
  height: 100%;
  line-height: 80px;
  color: var(--menu-color);
  font-weight: bold;
  padding: 0 10px;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.desktop-menu li a::after {
  content: '';
  width: 0;
  height: 0;
  transition: width 0.3s ease;
  border-bottom: 3px solid var(--menu-color);
  position: absolute;
  bottom: 0;
  left: 10px;
}

.desktop-menu li a:hover,
.desktop-menu li a.active {
  color: var(--menu-color-active);
  background-color: transparent;
}

.desktop-menu li a:hover::after,
.desktop-menu li a.active::after {
  width: calc(100% - 20px);
  border-bottom-color: var(--menu-color-active);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  color: var(--menu-color);
  padding: 10px;
  line-height: 1;
}

.mobile-menu-btn:hover {
  color: var(--menu-color-active);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--menu-background);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  z-index: 998;
  padding: 10px 0;
}

.mobile-overlay.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-overlay a {
  display: block;
  color: var(--menu-color);
  font-weight: bold;
  padding: 15px 30px;
  border-bottom: 1px solid var(--dark-black);
  transition: all 0.3s ease;
}

.mobile-overlay a:hover,
.mobile-overlay a.active {
  color: var(--menu-color-active);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar .logo-right {
  display: flex;
  align-items: center;
  min-width: 180px;
  height: 100%;
  margin-left: 40px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

/* --- Layout: Breadcrumb --- */
.breadcrumb-navigation {
  width: 100%;
  height: 40px;
  background-color: var(--dark-grey);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--cyan), var(--menu-color-active), transparent) 1;
  position: sticky;
  top: 80px;
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease;
}

.breadcrumb-navigation.scrolled {
  top: 60px;
}

.breadcrumb-inner {
  width: 100%;
  max-width: var(--content-width);
  overflow: hidden;
  padding: 0 15px;
  font-size: 14px;
  line-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-inner span {
  color: var(--default);
}

.breadcrumb-inner a {
  color: var(--default);
  transition: color 0.3s;
}

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

.breadcrumb-sep {
  color: var(--grey);
}

/* --- Layout: Banner --- */
.banner-content {
  width: 100%;
  height: 270px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.banner-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 30, 60, 0.55) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 30, 60, 0.45) 100%);
  z-index: 1;
}

.banner-content .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(0, 180, 216, 0.04) 59px, rgba(0, 180, 216, 0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(0, 180, 216, 0.04) 59px, rgba(0, 180, 216, 0.04) 60px);
  z-index: 1;
  pointer-events: none;
}

.banner-content.banner-home {
  height: 500px;
  background-position-y: center;
}

.font-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: var(--content-width);
  overflow: hidden;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.font-content .page-title {
  color: var(--white);
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 10px;
}

.font-content .page-description {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
  white-space: pre-line;
}

/* --- Layout: Main Content --- */
.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  width: 100%;
  background-color: var(--main-background);
}

/* --- Content Sections --- */
.app-content {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid transparent;
}

.app-content.dark-grey {
  background-color: var(--dark-grey);
  border-top-color: var(--dark-black);
  position: relative;
}

.app-content.dark-grey::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  z-index: 1;
}

.app-content.dark-black {
  background-color: var(--dark-black);
  border-top-color: var(--dark-grey);
  position: relative;
}

.app-content.dark-black::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  z-index: 1;
}

.app-content.dark-red {
  background-color: var(--red);
}

.inner-container {
  width: 100%;
  min-height: 200px;
  max-width: var(--content-width);
  overflow: hidden;
  padding: 40px 0;
  margin: 0 auto;
}

.inner-container.padding-4060 {
  padding: 40px 60px;
}

.inner-container.padding-2060 {
  padding: 20px 60px;
}

/* --- Content Title --- */
.content-title {
  display: flex;
  flex-direction: column-reverse;
  min-height: auto;
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 8px;
}

.content-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--cyan), var(--menu-color-active), transparent) 1;
  position: absolute;
  left: 0;
  bottom: 0;
}

.content-title .sub-title {
  color: var(--red);
  font-size: 13px;
  font-weight: bolder;
  line-height: 1.4;
  margin-top: 2px;
}

.content-title .sub-title.italic {
  font-style: italic;
}

.content-title .main-title {
  color: var(--default);
  font-size: 24px;
  font-weight: bolder;
  line-height: 1.3;
  padding-bottom: 2px;
}

.content-title.no-before {
  height: auto;
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.content-title.no-before::before {
  display: none;
}

.content-title.no-before .serial-number {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--white);
  background-color: var(--menu-color-active);
  flex-shrink: 0;
}

.content-title.no-before .main-title {
  position: relative;
  font-size: 18px;
  height: auto;
  line-height: 32px;
  padding-left: 8px;
  padding-bottom: 2px;
}

.content-title.no-before .main-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--cyan), var(--menu-color-active), transparent) 1;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* --- Content Info --- */
.content-info {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-info.flex-wrap {
  flex-wrap: wrap;
}

.content-info.flex-start {
  justify-content: flex-start;
}

.content-info.align-start {
  align-items: flex-start;
}

/* Paragraph */
.content-info > p.paragraph {
  width: 100%;
  color: var(--grey);
  line-height: 2;
  white-space: pre-line;
  margin: 0 40px 0 0;
  font-size: 16px;
}

/* Lists */
.content-info > ul.list {
  padding: 0 40px;
  margin: 0 0 20px;
  line-height: 24px;
  font-size: 16px;
  list-style: disc;
}

.content-info > ul.list > li {
  margin-bottom: 10px;
  white-space: pre-line;
}

.content-info > ul.list > li.style-none {
  color: var(--grey);
  list-style: none;
}

/* --- Description Table (el-descriptions replacement) --- */
.desc-table {
  width: 100%;
  font-size: 16px;
  border-collapse: collapse;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--menu-color-active), var(--cyan)) 1;
}

.desc-table tr {
  transition: all 0.3s ease;
}

.desc-table td {
  min-height: 44px;
  padding: 10px 15px;
  white-space: pre-line;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.desc-table td.label-cell {
  width: 200px;
  font-weight: bold;
  letter-spacing: 5px;
  vertical-align: top;
  background-color: var(--dark-black);
  border-color: var(--menu-color-active);
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom: 1px solid var(--menu-color-active);
  border-right: 1px solid var(--menu-color-active);
}

.desc-table td.content-cell {
  font-weight: bold;
  display: table-cell;
  background-color: var(--dark-grey);
  border-color: transparent;
  border-bottom: 1px solid var(--menu-color-active);
}

.desc-table tr:last-child td.label-cell,
.desc-table tr:last-child td.content-cell {
  border-bottom-color: transparent;
}

.desc-table td.content-cell:hover {
  transform: scale(1.02);
  color: var(--white);
  background-color: var(--menu-color-active);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.25), 0 4px 12px rgba(53, 93, 178, 0.3);
}

/* --- Card (el-card replacement) --- */
.card {
  border-radius: 0;
  border: 2px solid #606266;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: transparent;
}

.card:hover {
  border-color: var(--menu-color-active);
}

.card .card-body {
  padding: 0;
}

/* Image Card */
.image-card {
  border-radius: 0;
  border-color: transparent;
  color: var(--white);
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: transparent;
}

.image-card:hover {
  border-color: var(--menu-color-active);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.25);
}

.image-card:hover .card-body .image img {
  transform: scale(1.2);
}

.image-card:hover .card-body > .describe {
  color: var(--default);
  background-color: var(--dark-black);
}

.image-card .card-body {
  padding: 0;
}

.image-card .card-body .image {
  width: 100%;
  overflow: hidden;
  text-align: center;
  background-color: #ffffff;
}

.image-card .card-body .image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.image-card .card-body > .describe {
  font-size: 14px;
  line-height: 20px;
  padding: 10px 15px;
  text-align: center;
  white-space: pre-line;
  background-color: var(--menu-color-active);
  transition: all 0.3s ease;
}

.image-card .card-body > .describe > span {
  display: inline-block;
  white-space: pre-line;
  text-align: left;
  line-height: 24px;
  margin-top: 5px;
}

/* --- Text Card (Home page grid cards) --- */
.text-card {
  color: var(--white);
  font-weight: bold;
  border-radius: 0;
  border: 2px solid #606266;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.text-card:hover {
  border-color: var(--menu-color-active);
  transform: translateY(-10px);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3), 0 12px 24px rgba(53, 93, 178, 0.25);
}

.text-card .card-describe {
  font-size: 18px;
  line-height: 20px;
  padding: 10px 15px;
  text-align: center;
  white-space: pre-line;
  background: linear-gradient(90deg, #1a3a6c, #355db2, #4b92da);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.text-card .card-text {
  color: var(--default);
  font-size: 16px;
  line-height: 30px;
  padding: 20px 25px;
  white-space: pre-line;
  transition: all 0.3s ease;
  background-color: rgba(248, 249, 252, 0.92);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(53, 93, 178, 0.015) 8px,
    rgba(53, 93, 178, 0.015) 9px
  );
  flex: 1;
}

/* --- Strengths Descriptions (Home page) --- */
.strengths-table {
  width: 100%;
  font-size: 16px;
  border-collapse: collapse;
  border: 2px solid var(--menu-color-active);
  margin-top: 0;
  position: relative;
  background-image: linear-gradient(var(--menu-color-active), var(--menu-color-active));
  background-size: 2px 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
}

.strengths-table tr:not(:first-child) td {
  border-top: 1px solid var(--menu-color-active);
}

.strengths-table tr:last-child td {
  border-bottom: none;
}

.strengths-table td {
  padding: 12px 15px;
  white-space: pre-line;
  vertical-align: middle;
  font-weight: bold;
}

.strengths-table td.label-cell {
  width: 200px;
  color: var(--default);
  font-weight: bold;
  letter-spacing: 2px;
  vertical-align: top;
  background-color: var(--dark-black);
  border-right: 1px solid var(--menu-color-active);
  border-left: 3px solid var(--cyan);
  box-shadow: inset 3px 0 6px -2px rgba(0, 180, 216, 0.2);
}

.strengths-table td.content-cell {
  color: var(--default);
  background-color: var(--dark-grey);
  transition: all 0.3s ease;
}

.strengths-table td.content-cell:hover {
  transform: scale(1.02) translateY(-5px);
  color: var(--white);
  background-color: var(--menu-color-active);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.25), 0 4px 12px rgba(53, 93, 178, 0.3);
}

/* --- Inquiry Section --- */
.inquiry-section .inner-container {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0;
  min-height: 180px;
}

.inquiry-section .inquiry-phone {
  width: 100%;
  color: var(--grey);
  line-height: 2;
  white-space: pre-line;
  text-align: center;
  margin: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: var(--dark-black);
  border: 2px solid var(--menu-color-active);
  font-size: 18px;
  font-weight: bold;
}

.inquiry-section .inquiry-phone strong {
  display: block;
  font-size: 36px;
  color: var(--cyan);
  word-break: break-all;
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.3), -1px -1px 0 var(--grey), 1px 1px 0 var(--dark-black);
  animation: phonePulse 2.5s ease-in-out infinite;
}

@keyframes phonePulse {
  0%, 100% { text-shadow: 0 0 8px rgba(0, 180, 216, 0.3), -1px -1px 0 var(--grey), 1px 1px 0 var(--dark-black); }
  50% { text-shadow: 0 0 20px rgba(0, 180, 216, 0.5), 0 0 40px rgba(0, 180, 216, 0.2), -1px -1px 0 var(--grey), 1px 1px 0 var(--dark-black); }
}

/* --- Contact Info Card --- */
.contact-phone {
  width: 50%;
  min-height: 134px;
  color: var(--grey);
  font-size: 21px;
  font-weight: bold;
  line-height: 1.5;
  white-space: pre-line;
  margin: 0;
  padding: 20px;
  background-color: var(--dark-grey);
  border: 2px solid var(--menu-color-active);
}

.contact-phone strong {
  display: block;
  font-size: 30px;
  color: var(--cyan);
  word-break: break-all;
  text-shadow: -1px -1px 0 var(--grey), 1px 1px 0 var(--dark-black);
}

.contact-phone .icon {
  margin-left: 20px;
}

.contact-time {
  width: 50%;
  align-self: stretch;
  color: var(--white);
  font-size: 24px;
  margin: 0;
  padding: 20px;
  line-height: 2;
  background-color: var(--menu-color-active);
  border: 1px solid var(--menu-color-active);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.contact-time span {
  display: block;
  margin-bottom: 20px;
}

/* --- Content More Button --- */
.content-more {
  display: block;
  position: relative;
  margin-top: 40px;
}

.content-more.align-right {
  text-align: right;
}

.more-btn {
  display: inline-block;
  padding: 0 15px;
  min-width: 128px;
  height: 32px;
  line-height: 30px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--menu-color-active), var(--cyan));
  border: none;
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.more-btn:hover {
  opacity: 0.85;
  color: var(--white);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.3);
}

/* --- Card Header (Home intro card) --- */
.intro-card {
  border: none;
  background-color: transparent;
  margin-bottom: 0;
}

.intro-card .card-header {
  width: 100%;
  position: relative;
  padding-bottom: 8px;
}

.intro-card .card-header::after {
  content: '';
  display: block;
  width: 120px;
  height: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--cyan), var(--menu-color-active), transparent) 1;
  position: absolute;
  left: 20px;
  bottom: -2px;
}

.intro-card .card-header h1 {
  width: 100%;
  margin: 0;
  font-size: 28px;
  line-height: 2;
}

.intro-card .card-body {
  padding: 0;
}

.intro-card .card-body p.paragraph {
  width: 100%;
  line-height: 2;
  white-space: pre-line;
  margin: 0;
  font-size: 18px;
  text-indent: 18px;
}

.inner-container.intro-section {
  padding: 40px 60px;
}


.intro-card .card-body ul.list {
  padding: 0 40px;
  margin: 20px 0;
  line-height: 24px;
  font-size: 16px;
  list-style: disc;
}

.intro-card .card-body ul.list > li {
  margin-bottom: 10px;
  white-space: pre-line;
}

/* --- Layout: Footer --- */
.app-footer {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--footer-background) 50%, #2a4f94 100%);
  color: var(--footer-color);
  text-align: center;
  padding: 40px 0;
  margin-top: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--menu-color-active), var(--cyan), transparent);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}

.footer-content {
  width: 100%;
  max-width: var(--content-width);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 30px;
}

.footer-content .footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-content .footer-col a {
  display: block;
  margin: 0;
  padding: 6px 0;
  text-align: left;
  color: var(--footer-color);
  text-decoration: none;
  outline: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-content .footer-col a:hover,
.footer-content .footer-col a:active,
.footer-content .footer-col a:focus {
  color: var(--footer-color-active);
  text-decoration: underline;
  transform: translateX(4px);
}

.footer-content .footer-col p {
  margin: 0;
  padding: 4px 0;
  text-align: left;
  line-height: 1.8;
}

/* --- Lightbox --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  z-index: 10000;
  padding: 20px;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  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; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* --- Carousel --- */
.carousel-container {
  width: 100%;
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-card {
  flex: 0 0 calc(50% - 40px);
  margin: 0 20px;
  max-width: calc(50% - 40px);
}

.carousel-card .image-card {
  height: 100%;
}

.carousel-card .image-card .card-body .image {
  height: calc(100% - 40px);
}

.carousel-card .image-card .card-body .image img {
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* --- News List --- */
.news-item {
  display: flex;
  border: 2px solid var(--menu-color-active);
  margin-bottom: 0;
  background-color: transparent;
}

.news-item + .news-item {
  border-top: none;
}

.news-item:last-child {
  /* last item */
}

.news-item .news-image {
  width: 200px;
  min-height: 170px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--dark-black);
}

.news-item .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.2);
}

.news-item .news-content {
  flex: 1;
  padding: 15px 20px;
  background-color: var(--dark-grey);
  border-left: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.news-item .news-meta {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-item .news-meta .date {
  font-weight: bold;
}

.news-item .news-meta .detail-btn {
  display: inline-block;
  padding: 0 15px;
  height: 24px;
  line-height: 22px;
  background: linear-gradient(90deg, var(--menu-color-active), var(--cyan));
  border: none;
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  transition: opacity 0.3s;
  text-decoration: none;
}

.news-item .news-meta .detail-btn:hover {
  opacity: 0.8;
}

.news-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 30px;
}

.news-item .news-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1.8;
}

.news-item:hover .news-desc {
  transform: scale(1.02);
  color: var(--white);
  background-color: var(--menu-color-active);
  -webkit-box-orient: inherit;
  padding: 10px;
}

/* --- Keyframes --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-border {
  0%, 100% { border-color: var(--menu-color-active); }
  50% { border-color: var(--cyan); }
}

@keyframes banner-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* --- Banner Parallax Zoom --- */
.banner-content .font-content {
  animation: fadeInUp 0.8s ease both;
}

.banner-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12) 0%, transparent 40%, rgba(53, 93, 178, 0.1) 70%, rgba(0, 180, 216, 0.08) 100%);
  background-size: 200% 200%;
  animation: gradientSweep 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes gradientSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Content Title Animation --- */
.content-title.animate-on-scroll.visible .sub-title {
  animation: fadeInUp 0.4s ease both;
}

.content-title.animate-on-scroll.visible .main-title {
  animation: fadeInUp 0.5s ease 0.1s both;
}

/* --- Image Card Enhanced Hover --- */
.image-card {
  position: relative;
}

.image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(53, 93, 178, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.image-card:hover::after {
  opacity: 1;
}

/* --- Text Card Shimmer Effect --- */
.text-card .card-describe {
  position: relative;
  overflow: hidden;
}

.text-card:hover .card-describe::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 1s ease forwards;
}

/* --- Table Row Stagger --- */
.strengths-table tr.animate-on-scroll.visible,
.desc-table tr.animate-on-scroll.visible {
  animation: fadeInUp 0.4s ease both;
}

.strengths-table tr.animate-on-scroll.visible:nth-child(2),
.desc-table tr.animate-on-scroll.visible:nth-child(2) {
  animation-delay: 0.1s;
}

.strengths-table tr.animate-on-scroll.visible:nth-child(3),
.desc-table tr.animate-on-scroll.visible:nth-child(3) {
  animation-delay: 0.2s;
}

.strengths-table tr.animate-on-scroll.visible:nth-child(4),
.desc-table tr.animate-on-scroll.visible:nth-child(4) {
  animation-delay: 0.3s;
}

/* --- Inquiry Section Pulse --- */
.inquiry-section .inquiry-phone {
  position: relative;
  overflow: hidden;
}

.inquiry-section .inquiry-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.12), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

/* --- News Item Hover Enhancement --- */
.news-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(53, 93, 178, 0.15);
}

/* --- Footer Link Hover --- */
.footer-content .footer-col a {
  position: relative;
}

/* --- Scroll-to-top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--menu-color-active), var(--blue-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(53, 93, 178, 0.3), 0 0 8px rgba(0, 180, 216, 0.15);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #4b6db8, var(--cyan));
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 180, 216, 0.4), 0 0 20px rgba(0, 180, 216, 0.2);
}

/* --- Section Divider Wave --- */
.wave-divider {
  width: 100%;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Staggered Children --- */
.stagger-children > *:nth-child(1) { animation-delay: 0s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.08s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.16s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.24s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.32s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.40s; }

.stagger-children.animate-on-scroll.visible > * {
  animation: fadeInUp 0.5s ease both;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .app-header {
    height: 60px;
    line-height: 60px;
  }

  .navbar {
    padding: 0 10px;
  }

  .navbar .logo {
    min-width: auto;
    margin-right: 0;
    flex: 1;
    overflow: hidden;
  }

  .navbar .logo img {
    max-height: 35px;
    margin-right: 5px;
  }

  .navbar .logo span {
    font-size: 16px;
  }

  .navbar .logo-right {
    display: none;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 24px;
    padding: 8px;
    flex-shrink: 0;
  }

  .mobile-overlay {
    top: 60px;
    max-width: 260px;
    right: 0;
    left: auto;
    border-left: 3px solid var(--cyan);
    animation: slideInRight 0.25s ease;
  }

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

  .mobile-overlay a {
    padding: 10px 18px;
    font-size: 14px;
    border-bottom: 1px solid rgba(53, 93, 178, 0.12);
    transition: all 0.2s ease;
  }

  .mobile-overlay a:hover,
  .mobile-overlay a.active {
    background-color: var(--dark-black);
    padding-left: 24px;
  }

  .breadcrumb-navigation {
    top: 60px;
    z-index: 997;
    height: 36px;
    font-size: 12px;
  }

  .breadcrumb-navigation.scrolled {
    top: 60px;
  }

  .inner-container.padding-4060,
  .inner-container.padding-2060 {
    padding: 16px 20px;
  }

  .inner-container {
    padding: 16px 20px;
  }

  .content-title {
    margin-bottom: 16px;
  }

  .content-title .main-title {
    font-size: 18px;
  }

  .content-title .sub-title {
    font-size: 11px;
  }

  .content-info {
    flex-direction: column;
    gap: 16px;
  }

  .content-info.align-start {
    align-items: stretch;
  }

  .content-info > p.paragraph {
    margin-right: 0;
  }

  .content-info > ul.list {
    padding: 0 20px;
  }

  .intro-card .card-body ul.list {
    padding: 0 20px;
  }

  .inner-container.intro-section {
    padding: 25px 24px;
  }


  .intro-card .card-header h1 {
    font-size: 20px;
    line-height: 1.6;
  }

  .intro-card .card-body p.paragraph {
    font-size: 15px;
    line-height: 1.8;
    text-indent: 0;
  }

  .inner-container.padding-4060,
  .inner-container.padding-2060 {
    padding: 25px 20px;
  }

  .inner-container {
    padding: 25px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .desc-table td.label-cell {
    width: 120px;
    letter-spacing: 2px;
  }

  .strengths-table td.label-cell {
    width: 100%;
    display: block;
    border-right: none;
    border-bottom: none;
  }

  .strengths-table td.content-cell {
    display: block;
  }

  .contact-phone,
  .contact-time {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item .news-image {
    width: 100%;
    height: auto;
  }

  .carousel-card {
    flex: 0 0 calc(80% - 20px);
    max-width: calc(80% - 20px);
    margin: 0 10px;
  }

  .banner-content.banner-home {
    height: 220px;
  }

  .banner-content {
    height: 160px;
  }

  .company-image-wrapper {
    position: static !important;
    width: 100% !important;
    margin-top: 20px;
  }

  .company-image-wrapper .image-card .card-body .image img {
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }

  .desc-table td.label-cell {
    width: 100px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .desc-table td.content-cell {
    font-size: 13px;
  }

  .content-title .main-title {
    font-size: 20px;
  }

  .content-title .sub-title {
    font-size: 12px;
  }

  .text-card {
    width: 100% !important;
    height: auto !important;
    min-height: 320px;
  }

  .font-content .page-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .font-content .page-description {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .banner-content::before {
    background: linear-gradient(180deg, rgba(0,20,40,0.5) 0%, rgba(0,0,0,0.15) 100%);
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .navbar .logo {
    min-width: auto;
    margin-right: 20px;
  }

  .navbar .logo span {
    font-size: 24px;
  }

  .navbar .logo-right {
    min-width: auto;
    margin-left: 20px;
  }
}
