/* ===== ANIMATIONS ===== */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Top bar slide-down on load */
.top-bar {
  animation: slideDown 0.7s ease both;
}

/* Footer columns slide-up (triggered by JS IntersectionObserver) */
.footer-col {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.footer-col.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim="left"]   { transform: translateX(-70px); }
[data-anim="right"]  { transform: translateX(70px); }
[data-anim="top"]    { transform: translateY(-50px); }
[data-anim="bottom"] { transform: translateY(50px); }
[data-anim].animate-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --blue:      #1a5fa8;
  --blue-dark: #154d8a;
  --dark:      #3a3f4b;
  --white:     #ffffff;
  --gray-light: #f5f5f5;
  --text:      #333333;
  --border:    #dddddd;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 100px;
}
.top-bar-inner {
  height: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-logo {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-logo img {
  height: 55px;
  width: auto;
}
.logo-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  flex-shrink: 0;
}
.top-contact {
  display: flex;
  gap: 30px;
  font-size: 0.88rem;
  color: #555;
}
.top-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-contact a {
  color: #555;
  font-weight: 500;
  transition: color 0.2s;
}
.top-contact a:hover { color: var(--blue); }

/* ===== NAVIGATION BAR ===== */
.main-nav {
  background: var(--blue);
  position: relative;
  z-index: 100;
  height: 60px;
}
.nav-inner {
  height: 100%;
  padding: 0 0 0 50px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: stretch;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0 18px;
  height: 60px;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: rgba(0,0,0,0.18);
}
.arrow {
  font-size: 0.6rem;
  margin-top: 1px;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-top: 3px solid var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  z-index: 200;
}
.dropdown li a {
  display: block;
  padding: 11px 18px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: var(--blue);
  color: var(--white);
}
.has-dropdown:hover .dropdown { display: block; }

/* Diagonal dark corner + Social icons */
.nav-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 50px 10px 50px;
  background: #536272;
  clip-path: polygon(60px 0%, 100% 0%, 100% 100%, 0% 100%);
  width: 320px;
  flex-shrink: 0;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #536272;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}
.social-icon:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ===== FOOTER ===== */
.main-footer {
  background: #3a3e42;
  color: #ccc;
  padding: 50px 0 0;
  font-size: 1rem;
  margin-top: 0;
}
.footer-inner {
  padding: 0 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
  display: table;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--blue) 50%, rgba(255,255,255,0.25) 50%);
}
.footer-col ul { margin-top: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a,
.footer-col ul li span.footer-address {
  color: #bbb;
  font-size: 0.95rem;
  transition: color 0.2s;
  line-height: 1.6;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 40px;
  background: #474e55;
  padding: 14px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #999;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #666;
  color: #999;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon-sm:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  font-size: 0.85rem;
  color: #888;
  min-height: 44px;
}
.breadcrumb-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-left a {
  color: #888;
  transition: color 0.2s;
}
.breadcrumb-left a:hover { color: var(--blue); }
.breadcrumb-left .sep { margin: 0 4px; color: #bbb; }
.breadcrumb-left .current { color: #555; }
.breadcrumb-right {
  display: flex;
  align-items: stretch;
}
.breadcrumb-tab {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 0.88rem;
  color: #444;
  border-bottom: 3px solid var(--blue);
  background: #fff;
}

@media (max-width: 600px) {
  .breadcrumb { padding: 0 16px; flex-wrap: wrap; gap: 4px; min-height: unset; padding-top: 8px; padding-bottom: 8px; }
  .breadcrumb-right { display: none; }
  .breadcrumb-left { flex-wrap: wrap; font-size: 0.8rem; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 435px;
  overflow: hidden;
  background: #1a1a1a;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.slide {
  min-width: 100%;
  height: 435px;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.slider-arrow:hover { background: rgba(0,0,0,0.65); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

@media (max-width: 900px) {
  .hero-slider { height: 320px; }
  .slide { height: 320px; }
}
@media (max-width: 600px) {
  .hero-slider { height: 220px; }
  .slide { height: 220px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 1rem; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dot { width: 8px; height: 8px; }
}
@media (max-width: 400px) {
  .hero-slider { height: 180px; }
  .slide { height: 180px; }
}

/* ===== ABOUT PAGE ===== */
.about-page {
  background: #f5f5f5;
  min-height: 60vh;
  padding-bottom: 60px;
}
.page-title {
  text-align: center;
  padding: 50px 50px 40px;
  margin-bottom: 40px;
}
.page-title h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: 0.5px;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
}
.about-content {
  padding: 0 50px;
}
.about-section {
  margin-bottom: 40px;
}
.about-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 12px;
}
.about-section p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .page-title { padding: 30px 20px 24px; margin-bottom: 24px; }
  .page-title h1 { font-size: 1.5rem; }
  .about-content { padding: 0 20px; }
  .about-section { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .page-title { padding: 24px 16px 20px; }
  .about-content { padding: 0 16px; }
  .about-section p { font-size: 0.9rem; }
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 60px;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 50px 0;
}
.contact-cards-3 {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 50px 40px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  gap: 16px;
}
.card-green  { background: #eef5e0; }
.card-blue   { background: #ddf0f8; }
.card-teal   { background: #e0f5f1; }
.card-orange { background: #fef3e2; }
.card-purple { background: #f0eaf8; }
.card-icon  { margin-bottom: 6px; }
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}
.contact-card a {
  color: #555;
  transition: color 0.2s;
}
.contact-card a:hover { color: var(--blue); }
.card-phone {
  margin-top: 8px;
  font-weight: 600;
}
.card-phone a { color: var(--blue); }

/* Contact Form */
.contact-form-wrap {
  padding: 50px 50px 60px;
}
.form-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 36px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { width: 100%; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #444;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.form-group textarea { resize: vertical; margin-bottom: 0; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group { margin-bottom: 20px; }
.form-captcha-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.captcha-input { width: 320px; flex-shrink: 0; margin-bottom: 0; }
.captcha-image {
  display: flex;
  align-items: center;
  gap: 10px;
}
#captchaCanvas {
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #f9f9f9;
}
.captcha-refresh {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.captcha-refresh:hover { color: var(--blue); }
.form-actions {
  display: flex;
  gap: 20px;
}
.btn-submit {
  padding: 16px 0;
  width: 320px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-dark); }
.btn-cancel {
  padding: 16px 0;
  width: 320px;
  background: #ebebeb;
  color: #888;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cancel:hover { background: #ddd; }

@media (max-width: 768px) {
  .contact-cards-3 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .btn-submit, .btn-cancel { width: 100%; }
}
@media (max-width: 600px) {
  .contact-cards { grid-template-columns: 1fr; padding: 0 20px 0; }
  .contact-cards-3 { padding: 0 20px 30px; }
  .contact-form-wrap { padding: 30px 20px 40px; }
  .captcha-input { width: 100%; }
  .form-captcha-row { flex-direction: column; align-items: flex-start; }
}

/* ===== DOWNLOAD PAGE ===== */
.download-page { background: #fff; min-height: 60vh; padding-bottom: 60px; }

/* Tabs */
.dl-tabs {
  display: flex;
  border: 1px solid #e0e0e0;
  margin: 0 50px;
  overflow: hidden;
}
.dl-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  min-height: 80px;
  background: #fff;
  border: none;
  border-right: 1px solid #e0e0e0;
  font-size: 0.92rem;
  color: #888;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.dl-tab:last-child { border-right: none; }
.dl-tab:hover { background: #eef3fb; color: var(--blue); }
.dl-tab.active {
  background: #f5f5f5;
  color: var(--blue);
  font-weight: 600;
}

/* Filter Bar */
.dl-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f5;
  padding: 18px 50px;
  margin: 0 50px 20px;
  gap: 30px;
  min-height: 80px;
}
.dl-filter-left, .dl-filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dl-filter label { font-size: 0.92rem; color: #555; white-space: nowrap; }
.dl-filter select {
  padding: 8px 36px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 0.9rem;
  color: #555;
  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 d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 200px;
  cursor: pointer;
  outline: none;
}
.dl-search-box {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.dl-search-box input {
  padding: 8px 14px;
  border: none;
  background: #fff;
  font-size: 0.88rem;
  color: #555;
  width: 320px;
  outline: none;
}
.dl-search-btn {
  padding: 0 14px;
  background: var(--blue);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Table */
.dl-table-wrap { padding: 0 50px; }
.dl-table { width: 100%; border-collapse: collapse; }
.dl-table thead tr { background: var(--blue); }
.dl-table thead th {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 20px;
  text-align: center;
  height: 80px;
}
.dl-table tbody tr { border-bottom: 1px solid #eee; transition: background 0.15s; }
.dl-table tbody tr:nth-child(even) { background: #f7f7f7; }
.dl-table tbody tr:hover { background: #eef3fb; }
.dl-table tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  height: 80px;
}
.dl-action { white-space: nowrap; }
.dl-browse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.dl-browse:hover { color: var(--blue-dark); }
.dl-empty {
  text-align: center;
  padding: 40px;
  color: #aaa;
  font-size: 0.95rem;
}

/* Pagination */
.dl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 30px 50px 10px;
  flex-wrap: wrap;
}
.dl-pagination button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.dl-pagination button:hover:not(:disabled) { background: #eef3fb; color: var(--blue); }
.dl-pagination button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.dl-pagination button:disabled { opacity: 0.4; cursor: default; }

@media (max-width: 768px) {
  .dl-tabs { margin: 0 20px; flex-direction: column; }
  .dl-filter { flex-direction: column; align-items: flex-start; margin: 20px 20px; padding: 16px 20px; }
  .dl-table-wrap { padding: 0 20px; }
  .dl-pagination { padding: 20px; }
  .dl-search-box input { width: 180px; }
}

/* ===== FIXED SIDE WIDGET ===== */
.side-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-right: none;
  background: #fff;
  box-shadow: -2px 2px 10px rgba(0,0,0,0.12);
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}
.side-widget a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  color: #547CAF;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.2s, color 0.2s;
  min-width: 70px;
}
.side-widget a:last-child { border-bottom: none; }
.side-widget a:hover {
  background: #547CAF;
  color: #fff;
}
.side-widget a svg { flex-shrink: 0; }

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  height: 60px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== TABLET — 1024px ===== */
@media (max-width: 1024px) {
  .top-bar-inner { padding: 0 30px; }
  .nav-inner     { padding: 0 30px; }
  .footer-inner  { padding: 0 30px; }
  .footer-bottom { padding: 16px 30px; }
  .nav-menu > li > a { padding: 0 13px; font-size: 0.87rem; }
}

/* ===== MOBILE NAV — 900px ===== */
@media (max-width: 900px) {
  /* Top bar */
  .top-bar { height: auto; padding: 14px 0; }
  .top-bar-inner { padding: 0 20px; flex-wrap: wrap; gap: 10px; }
  .top-logo img { height: 42px; }
  .logo-divider  { height: 36px; }
  .top-contact   { gap: 14px; font-size: 0.82rem; flex-wrap: wrap; }

  /* Nav: allow height to grow when open */
  .main-nav { height: auto; min-height: 60px; }
  .nav-inner { height: 60px; padding: 0 20px; flex-wrap: wrap; align-items: center; }

  /* Hamburger */
  .nav-toggle { display: flex; }

  /* Menu: hidden by default, slides down */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--blue-dark);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 300;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }
  .nav-menu.open { display: flex; }

  .nav-menu > li > a {
    padding: 0 20px;
    height: 48px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    justify-content: space-between;
  }
  .nav-menu > li > a:hover { background: rgba(0,0,0,0.2); }

  /* Mobile dropdowns */
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
  }
  .dropdown li a {
    color: #ddd;
    padding: 11px 20px 11px 36px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
  }
  .dropdown li a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open > .dropdown { display: block; }

  /* Social — hidden on mobile */
  .nav-social {
    display: none;
  }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; gap: 28px; }
  .footer-bottom { padding: 16px 20px; }
}

/* ===== SMALL MOBILE — 600px ===== */
@media (max-width: 600px) {
  .top-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .top-contact   { flex-direction: column; gap: 4px; }
  .logo-divider  { display: none; }
  .top-logo      { gap: 14px; }
  .top-logo img  { height: 36px; }
}

/* ===== EXTRA SMALL — 400px ===== */
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-menu > li > a { font-size: 0.85rem; }
}

/* ===== NEWS LISTING PAGE ===== */
.news-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 60px;
}

.news-page-title {
  text-align: center;
  padding: 50px 50px 20px;
}

.news-page-title h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: 0.3px;
}

/* Text-style tabs */
.news-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px 30px;
}

.news-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #999;
  padding: 4px 30px;
  font-family: inherit;
  transition: color 0.2s;
  white-space: nowrap;
}

.news-tab:hover { color: var(--blue); }

.news-tab.active {
  color: var(--blue);
  font-weight: 600;
}

.news-tab-sep {
  color: #d0d0d0;
  font-size: 1.1rem;
  user-select: none;
  line-height: 1;
}

/* 3-column card grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 50px;
  margin-bottom: 10px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

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

.news-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde3ea;
}

.news-card-body { padding: 14px 0 8px; }

.news-card-title {
  font-size: 0.95rem;
  color: #3a3f4b;
  line-height: 1.55;
  margin-bottom: 8px;
}

.news-card-date {
  font-size: 0.82rem;
  color: #aaa;
}

/* ===== NEWS DETAIL PAGE ===== */
.news-detail-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 60px;
}

.news-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 50px 40px;
}

.news-detail-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #2d2d2d;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 20px;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 50px;
  color: #aaa;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.news-detail-divider {
  border: none;
  border-top: 1px dashed #ddd;
  margin: 20px 0 28px;
}

.news-detail-body {
  color: #555;
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.news-detail-body p { margin-bottom: 16px; }
.news-detail-body ul { padding-left: 22px; margin: 10px 0 16px; }
.news-detail-body li { color: var(--blue); margin-bottom: 8px; }

.news-video-wrap {
  max-width: 680px;
  margin: 0 0 28px;
}

.news-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.news-detail-nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  gap: 20px;
}

.news-detail-nav a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.news-detail-nav a:hover { color: var(--blue-dark); text-decoration: underline; }
.news-detail-nav > div:last-child { text-align: right; }

/* Responsive news */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); padding: 0 30px; gap: 24px; }
}

@media (max-width: 600px) {
  .news-page-title { padding: 30px 20px 16px; }
  .news-tabs { padding: 0 20px 20px; flex-wrap: wrap; gap: 4px; }
  .news-tab { padding: 4px 14px; font-size: 0.9rem; }
  .news-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 20px; }
  .news-detail { padding: 30px 20px 40px; }
  .news-detail-title { font-size: 1.3rem; }
  .news-detail-meta { flex-direction: column; gap: 6px; align-items: center; }
  .news-detail-nav { flex-direction: column; gap: 14px; }
  .news-detail-nav > div:last-child { text-align: left; }
}

/* ===== WORLDWIDE GALLERY ===== */
.worldwide-section {
  width: 100%;
  padding-bottom: 60px;
}
.worldwide-header {
  text-align: center;
  padding: 50px 20px 30px;
}
.worldwide-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 10px;
}
.worldwide-header h2 span {
  color: var(--blue);
}
.worldwide-header p {
  color: #666;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.worldwide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.worldwide-item {
  position: relative;
  overflow: hidden;
  display: block;
  height: 310px;
}
.worldwide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.worldwide-item:hover img {
  transform: scale(1.05);
}
.worldwide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 82, 165, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.worldwide-item:hover .worldwide-overlay {
  opacity: 1;
}
.worldwide-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.worldwide-btn {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.worldwide-item:hover .worldwide-btn {
  background: rgba(255,255,255,0.45);
}

@media (max-width: 1024px) {
  .worldwide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .worldwide-grid { grid-template-columns: 1fr; }
  .worldwide-header h2 { font-size: 1.5rem; }
}

/* ===== HOME NEWS SECTION ===== */
.home-news-section {
  padding: 60px 60px 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.home-news-heading {
  text-align: center;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 40px;
}
.home-news-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.home-news-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 16px;
}
.home-news-col-label {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
}
.home-news-plus {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.home-news-plus:hover { border-color: var(--blue); color: var(--blue); }
.home-news-featured {
  display: block;
  margin-bottom: 16px;
  border: 2px solid #ddd;
  overflow: hidden;
}
.home-news-featured img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.home-news-featured:hover img { transform: scale(1.03); }
.home-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-news-list li { border-bottom: 1px solid #eee; }
.home-news-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  text-decoration: none;
  color: #444;
  font-size: 0.88rem;
}
.home-news-list-item:hover { color: var(--blue); }
.hn-bullet { color: #aaa; font-size: 0.55rem; flex-shrink: 0; }
.hn-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hn-date { color: #aaa; font-size: 0.85rem; flex-shrink: 0; }

@media (max-width: 900px) {
  .home-news-wrap { grid-template-columns: 1fr; gap: 40px; }
  .home-news-section { padding: 40px 24px 50px; }
}

@media (max-width: 600px) {
  .home-news-section { padding: 30px 16px 40px; }
  .home-news-heading { font-size: 1.5rem; margin-bottom: 24px; }
  .home-news-featured img { height: 180px; }
  .home-news-list-item { font-size: 0.83rem; }
  .hn-date { display: none; }
}

@media (max-width: 400px) {
  .home-news-featured img { height: 140px; }
}

/* ===== HOME FEATURED PRODUCTS ===== */
.home-products-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-product-card {
  position: relative;
  display: block;
  min-height: 300px;
  background: #888;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  overflow: hidden;
}

/* Background image — always present, fades out on hover */
.hpc-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  display: block;
  transition: opacity 0.35s ease;
  z-index: 0;
  mix-blend-mode: multiply;
}

.home-product-card:hover .hpc-bg-img {
  opacity: 0;
}

/* Normal state — text centered over image */
.hpc-normal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.home-product-card:hover .hpc-normal {
  opacity: 0;
}

.hpc-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hpc-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Hover state — blue overlay, centered text + button */
.hpc-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-product-card:hover .hpc-hover {
  opacity: 1;
}

.hpc-hover .hpc-name {
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-shadow: none;
}

.hpc-hover .hpc-sub {
  margin-bottom: 26px;
  text-shadow: none;
  color: rgba(255,255,255,0.85);
}

.hpc-btn {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  padding: 9px 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.hpc-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

@media (max-width: 900px) {
  .home-products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .home-products-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCTS LISTING PAGE ===== */
.products-page {
  background: #f0f3f7;
  min-height: 60vh;
  padding-bottom: 70px;
}

.products-page-header {
  text-align: center;
  padding: 50px 50px 30px;
}

.products-page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d2d2d;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 10px 50px 20px;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  border: 1px solid #ebebeb;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  border-color: #d0d8e6;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  transition: transform 0.35s;
}

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

.product-card-img--empty {
  background: #dde3ea;
}

.product-card-name {
  padding: 14px 14px 16px;
  font-size: 0.9rem;
  color: #3a3f4b;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  border-top: 1px solid #ebebeb;
}

.product-card:hover .product-card-name { color: var(--blue); }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 10px 30px 20px; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 10px 20px 20px; }
  .products-page-header { padding: 30px 20px 20px; }
  .products-page-header h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 60px;
}

.product-detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 50px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-gallery {
  border: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
}

.product-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  display: block;
}

.product-detail-info {}

.product-detail-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-detail-divider {
  border: none;
  border-top: 2px solid var(--blue);
  margin: 16px 0 24px;
  width: 60px;
}

.product-detail-body {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

.product-detail-body p { margin-bottom: 14px; }
.product-detail-body ul { padding-left: 20px; margin: 10px 0 14px; }
.product-detail-body li { margin-bottom: 6px; }

.product-detail-specs {
  margin-top: 28px;
}

.product-detail-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.product-detail-specs th,
.product-detail-specs td {
  padding: 9px 14px;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.product-detail-specs th {
  background: #f5f7fb;
  color: #444;
  font-weight: 600;
  width: 38%;
}

.product-detail-specs td { color: #555; }

.product-detail-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  border-top: 1px dashed #ddd;
  padding-top: 24px;
  gap: 20px;
}

.product-detail-nav a {
  color: var(--blue);
  text-decoration: none;
}

.product-detail-nav a:hover { text-decoration: underline; }
.product-detail-nav > div:last-child { text-align: right; }

.product-inquiry-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 36px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.product-inquiry-btn:hover {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 900px) {
  .product-detail-wrap { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px 40px; }
  .product-detail-nav { padding: 0 24px 20px; padding-top: 24px; }
  .product-detail-name { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  .product-detail-nav { flex-direction: column; gap: 14px; }
  .product-detail-nav > div:last-child { text-align: left; }
}

/* ===== PRODUCT DETAIL SECTIONS ===== */
.pd-sections-wrap {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 50px;
  gap: 0;
}

.pd-sidebar {
  width: 200px;
  flex-shrink: 0;
  border: 1px solid #ddd;
  background: #fafafa;
  position: sticky;
  top: 20px;
}

.pd-sidebar-header {
  background: #b8b8b8;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 18px;
  letter-spacing: 0.3px;
}

.pd-sidebar-link {
  display: block;
  padding: 13px 18px;
  border-bottom: 1px solid #e5e5e5;
  color: #666;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.pd-sidebar-link:last-child { border-bottom: none; }
.pd-sidebar-link:hover { color: var(--blue); }
.pd-sidebar-link.active { color: #cc0000; font-weight: 600; }

.pd-content {
  flex: 1;
  border: 1px solid #ddd;
  border-left: none;
}

.pd-section { border-bottom: 1px solid #ddd; }
.pd-section:last-child { border-bottom: none; }

.pd-section-header {
  background: #b8b8b8;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 20px;
  letter-spacing: 0.3px;
}

.pd-section-body {
  padding: 20px 24px;
  color: #555;
  font-size: 0.93rem;
  line-height: 1.8;
}

.pd-section-body p { margin-bottom: 12px; }

/* Related products grid */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
  padding: 0;
}

.pd-related-card {
  display: block;
  text-decoration: none;
  background: #fff;
  padding: 24px 16px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.pd-related-card:hover { box-shadow: inset 0 0 0 2px var(--blue); }

.pd-related-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pd-related-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.pd-related-name {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .pd-sections-wrap { flex-direction: column; padding: 0 20px; margin: 24px auto 40px; }
  .pd-sidebar { width: 100%; position: static; display: flex; flex-wrap: wrap; }
  .pd-sidebar-header { width: 100%; }
  .pd-sidebar-link { flex: 1; text-align: center; border-bottom: none; border-right: 1px solid #e5e5e5; }
  .pd-sidebar-link:last-child { border-right: none; }
  .pd-content { border-left: 1px solid #ddd; border-top: none; }
}

@media (max-width: 600px) {
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-sidebar-link { font-size: 0.78rem; padding: 10px 8px; }
}

@media (max-width: 400px) {
  .pd-related-grid { grid-template-columns: 1fr; }
}
