/* CSS for tshpcl-php (PHP 7 + MySQL) */
:root {
  --background: #103c2f;
  --foreground: #ffffff;
  --primary: #103c2f;
  --forest: #103c2f;
  --deep: #092b22;
  --orange: #ff903e;
  --ink: #e0ece4;
  --border: #1a4a3b;
  --font-sans: 'Manrope', 'Noto Sans Thai', 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 155px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--forest);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.4;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, background 0.2s, transform 0.25s;
}

button {
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s, transform 0.25s;
}

.topline {
  background: var(--forest);
  color: #ffffff;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding 0.3s ease, font-size 0.3s ease, background 0.3s ease;
}

.topline-brand-short {
  display: none;
}

.topline a {
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0;
  color: #dcece3;
  font-weight: 600;
}

.topline a:hover {
  color: var(--orange);
}

.topline-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch a {
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.lang-switch a.active, .lang-switch a:hover {
  background: var(--orange);
  color: var(--deep);
  font-weight: 800;
}

@media (max-width: 768px) {
  .topline {
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 0;
    gap: 6px;
    flex-wrap: nowrap !important;
  }
  .topline-brand-full {
    display: none;
  }
  .topline-brand-short {
    display: inline;
    font-size: 10px;
    font-weight: 800;
  }
  .email-text {
    display: none;
  }
  .topline-right {
    gap: 8px;
  }
  .lang-switch {
    padding: 1px 6px;
    font-size: 10px;
  }
  .lang-switch a {
    padding: 1px 4px;
  }
}

.mobile-only {
  display: none;
}

.topline a {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
}

.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.header {
  min-height: 110px;
  padding: 16px 5%;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
  border-bottom: 1px solid #1c4d3e;
  transition: min-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.logo {
  height: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.logo:hover {
  transform: scale(1.04);
}

/* Sticky Scrolled State (Reduced by 40%) */
.site-header-wrapper.scrolled .topline {
  padding: 4px 5%;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-wrapper.scrolled .header {
  min-height: 66px;
  padding: 8px 5%;
  background: rgba(11, 43, 34, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.site-header-wrapper.scrolled .logo {
  height: 48px;
  max-width: 192px;
}

.site-header-wrapper.scrolled .nav {
  gap: 18px;
}

.site-header-wrapper.scrolled .nav > a.nav-contact {
  padding: 6px 14px !important;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.nav > a {
  color: #ffffff;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav > a:hover {
  color: var(--orange);
  text-shadow: 0 0 10px rgba(255, 144, 62, 0.6);
}

.nav-contact {
  background: var(--orange) !important;
  color: var(--deep) !important;
  padding: 8px 18px !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 144, 62, 0.35);
  text-shadow: none !important;
  transition: all 0.25s ease;
}

.nav > a.nav-contact:hover {
  background: #ffffff !important;
  color: var(--deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  color: #00a04b;
  font-size: 28px;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.menu-toggle svg {
  display: block;
  pointer-events: none;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: transparent;
  color: #ffffff;
  border: none;
  outline: none;
  transform: scale(1.06);
}

.hero-slideshow {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  min-height: 590px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 43, 34, 0.75);
  padding: 4px 10px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  z-index: 12;
}

.slide-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  padding: 0;
}

.slide-btn:hover {
  background: var(--orange);
  color: var(--deep);
  border-color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 144, 62, 0.5);
}

.slide-btn svg {
  display: block;
}

.hero {
  grid-template-columns: minmax(420px, 0.8fr) minmax(0, 1.35fr);
  background: var(--forest);
  padding: 28px 3% 28px 6%;
  gap: 3%;
  color: #fff;
  min-height: 590px;
  position: relative;
}

.hero.slide-item {
  display: none !important;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero.slide-item.active {
  display: grid !important;
  opacity: 1;
  animation: heroFadeIn 0.8s ease-in-out forwards;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.99);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  padding: 38px 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #a14b0e;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow:before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.eyebrow.white {
  color: #c0d5c9;
}

.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 66px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -1.8px;
  max-width: 620px;
  white-space: pre-line;
}

.hero-english {
  color: var(--orange);
  font-size: clamp(17px, 1.7vw, 25px);
  letter-spacing: 1px;
  font-weight: 500;
  margin-top: 16px;
}

.hero-desc {
  color: #c0d3c7;
  font-size: 16px;
  line-height: 1.95;
  max-width: 450px;
  margin-top: 21px;
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 32px;
}

.red-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--orange);
  color: var(--deep);
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  min-height: 54px;
  border: none;
}

.red-button:hover {
  background: #ffac6d;
  transform: translateY(-2px);
}

.hero-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #f5f8f5;
  font-size: 14px;
  border-bottom: 1px solid #729084;
  padding: 12px 0;
}

.hero-signature {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid #426357;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: #a8c3b4;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  align-self: center;
  overflow: hidden;
  border-radius: 16px 16px 100px 16px;
  background: #0a2f26;
}

.hero-photo {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual:after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #082d23cb);
  pointer-events: none;
}

.hero-image-label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 10;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.2px;
  pointer-events: none;
}

.hero-image-label .image-caption,
.hero-image-label .image-index {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 6%;
  background: var(--deep);
  color: #dae7df;
  margin-bottom: 30px;
}

.capability-strip a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  border-right: 1px solid #35564a;
  font-size: 15px;
}

.capability-strip a:first-child {
  padding-left: 0;
}

.capability-strip a:last-child {
  border: 0;
}

.capability-strip span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.capability-strip a:hover {
  color: var(--orange);
}

.section {
  padding: 0 6%;
  max-width: 1600px;
  margin: auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

h2 {
  font-size: clamp(30px, 3.15vw, 46px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.5;
}

.muted {
  color: #a8c4b4;
}

.section-intro {
  color: #b8cfc2;
  line-height: 1.9;
  font-size: 16px;
  border-left: 2px solid var(--orange);
  padding-left: 22px;
  max-width: 380px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-category-home-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-category-home-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-category-home-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-group-heading {
  margin: 0 0 20px;
  font-size: 21px;
  font-weight: 600;
  color: #fff;
}

.product-featured-heading {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1c4d3e;
}

.product-grid.featured-without-heading {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1c4d3e;
}

@media (max-width: 960px) {
  .product-category-home-grid.columns-3,
  .product-category-home-grid.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .product-category-home-grid.columns-2,
  .product-category-home-grid.columns-3,
  .product-category-home-grid.columns-4 { grid-template-columns: 1fr; }
}

.product-card {
  border: 1px solid #1c4d3e;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
  background: #0d3529;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.product-img {
  height: 280px;
  position: relative;
  background: #07221b;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 43, 34, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.product-info {
  padding: 24px 26px 27px;
}

.card-kicker {
  color: var(--orange);
  font-size: 14px;
  margin: 0 0 10px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 600;
  min-height: 62px;
  color: #ffffff;
}

.product-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #1a473a;
  font-size: 13px;
  color: #a3c4b2;
}

.products-page {
  padding-top: 72px;
  padding-bottom: 90px;
  min-height: 65vh;
}

.global-site-section {
  padding: 32px max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #1c4d3e;
}
.global-site-section h2 { font-size: clamp(22px, 2.2vw, 34px); }
.global-site-section > p { max-width: 600px; color: #b8cfc2; }
@media (max-width: 720px) { .global-site-section { display: block; } }

.products-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 32px;
}

.products-page-heading h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.25;
}

.product-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1c4d3e;
}

.product-category-filter a {
  padding: 9px 18px;
  border: 1px solid #315f50;
  border-radius: 999px;
  color: #c6ddd1;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}

.product-category-filter a:hover,
.product-category-filter a.active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.products-empty {
  padding: 60px 20px;
  text-align: center;
  color: #a8c4b4;
  border: 1px dashed #315f50;
  border-radius: 14px;
}

@media (max-width: 720px) {
  .products-page-heading { display: block; }
  .products-page-heading .section-intro { margin-top: 18px; }
}

.about {
  margin: 0;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  background: #0d3529;
  border: 1px solid #1c4d3e;
  border-radius: 20px;
}

.about-photo {
  position: relative;
  min-height: 440px;
  border-radius: 12px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.about-text {
  padding: 32px 28px 32px 0;
  align-self: center;
}

.about-text h2 {
  font-size: clamp(30px, 2.8vw, 42px);
  color: #ffffff;
}

.english-quote {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--orange);
  margin: 20px 0;
}

.body-text {
  white-space: pre-line;
  color: #b8cfc2;
  font-size: 16px;
  line-height: 2;
  margin: 25px 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.development-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.development-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.development-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: transparent;
}

.dev-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-in-out, visibility 0.4s ease;
  pointer-events: none;
}

.dev-preview-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.development-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 22px;
  border-bottom: 1px solid rgba(28, 77, 62, 0.6);
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.development-row:last-child {
  border-bottom: none;
}

.development-row:hover,
.development-row.active {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 107, 0, 0.4);
  transform: translateX(8px);
}

.development-row > span {
  color: var(--orange);
  font-size: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.development-row:hover > span,
.development-row.active > span {
  transform: translateX(6px);
}

.development-row h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease;
}

.development-row:hover h3,
.development-row.active h3 {
  color: var(--orange);
}

.development-row p {
  font-size: 14.5px;
  color: #a8c4b4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}

.sustainability {
  display: flex;
  flex-direction: column;
  gap: 55px;
  background: #092b22;
  padding: 70px 6%;
  color: white;
  position: relative;
  border-radius: 16px;
  border: 1px solid #1c4d3e;
  margin: 0 6% 30px;
}

.sustainability-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sustainability:before {
  content: '';
  height: 5px;
  width: 100px;
  background: var(--orange);
  position: absolute;
  top: 0;
  left: 6%;
}

.sustainability h2 {
  font-size: clamp(29px, 3vw, 42px);
  color: #ffffff;
}

.sustainability p:not(.eyebrow) {
  color: #b9cfc1;
  margin-top: 22px;
}

.policies {
  align-self: center;
}

.policies a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(28, 77, 62, 0.7);
  border-radius: 12px;
  font-size: 15.5px;
  color: #c8dbd0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.policies a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 107, 0, 0.4);
  transform: translateX(6px);
}

.policy-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8c4b4;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policies a:hover .policy-icon-badge,
.footer-policy-list a:hover .policy-icon-badge {
  background: var(--orange, #ff6b00);
  border-color: var(--orange, #ff6b00);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.45);
}

.policies > .text-link {
  border: 0;
  padding-top: 25px;
  padding-left: 14px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Sustainability Reports inside Box */
.sustainability-reports-wrapper {
  border-top: 1px solid #1c4d3e;
  padding-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sustainability-reports-header {
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sustainability-reports-header .eyebrow {
  justify-content: center;
}

.sustainability-reports-header h3 {
  font-size: clamp(20px, 2vw, 26px);
  color: #ffffff;
  font-weight: 600;
  margin-top: 4px;
  text-align: center;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.report-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #0d3529;
  border: 1px solid #1c4d3e;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.report-book-wrapper {
  width: 100%;
  aspect-ratio: 577 / 814;
  border-radius: 8px;
  overflow: hidden;
  background: #061d17;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-book-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.report-card:hover .report-book-wrapper img {
  transform: scale(1.055);
}

.report-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.35;
}

.report-subtitle {
  font-size: 12px;
  color: #a8c4b4;
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.report-card .text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
}

/* News Section Framed Box */
.news-section {
  background: #092b22;
  padding: 65px 6%;
  color: white;
  position: relative;
  border-radius: 16px;
  border: 1px solid #1c4d3e;
  margin: 0 6% 30px;
}

.news-section:before {
  content: '';
  height: 5px;
  width: 100px;
  background: var(--orange);
  position: absolute;
  top: 0;
  left: 6%;
}

.news-section .section-heading {
  margin-bottom: 35px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  background: #0d3529;
  border: 1px solid #1c4d3e;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.news-card .news-img,
.news-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 200px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  background: #061d17;
  position: relative;
  display: block;
}

.news-card .news-img img,
.news-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: transparent;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-img img,
.news-card:hover > img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card h3 {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 14px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.news-card .card-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card .text-link {
  font-size: 13px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: transform 0.25s ease, color 0.2s ease;
}

.news-card:hover .text-link {
  transform: translateX(4px);
}

.news-section-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 28px;
}

.news-all-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.28);
  transition: all 0.25s ease;
  text-decoration: none;
}

.news-all-link:hover {
  background: var(--orange);
  color: var(--deep) !important;
  border-color: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.news-all-link .arrow-icon {
  transition: transform 0.25s ease;
}

.news-all-link:hover .arrow-icon {
  transform: translateX(4px);
}

.sec-light-theme .news-all-link {
  color: #c2410c !important;
  background: rgba(194, 65, 12, 0.08);
  border-color: rgba(194, 65, 12, 0.28);
}

.sec-light-theme .news-all-link:hover {
  background: var(--orange);
  color: #ffffff !important;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 0 6% 30px;
  padding: 55px 60px;
  background: #0d3529;
  border-radius: 20px;
  border: 1px solid #1c4d3e;
}

.contact-info h3 {
  font-size: 23px;
  margin-bottom: 22px;
  font-weight: 600;
  color: #ffffff;
}

/* Modern White SVG Icon Badges */
.info-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.info-icon-badge svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}

.contact-info p, .contact-info > a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #dcece3;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-top: 16px;
  font-size: 15px;
}

.contact-info p:first-of-type {
  align-items: flex-start;
}

.contact-info > a:hover {
  color: #ffffff;
}

.contact-info > a:hover .info-icon-badge {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 144, 62, 0.35);
}

.contact-info > a:hover .info-icon-badge svg {
  stroke: #092b22;
}

.site-footer {
  display: block;
  background: var(--deep);
  color: #b9cfc1;
  padding: 0;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(110px, 0.45fr) minmax(360px, 1.4fr) minmax(340px, 1.35fr);
  gap: clamp(24px, 3.5vw, 48px);
  padding: 58px 6% 48px;
}

.site-footer h2 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 20px;
}

.footer-company h2 {
  font-size: 22px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.footer-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.footer-company > p {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
  margin-top: 14px;
  font-size: 14px;
  color: #dcece3;
}

.footer-company > p:first-of-type {
  align-items: flex-start;
}

.footer-company a {
  color: #dcece3;
  transition: color 0.2s ease;
}

.footer-company a:hover {
  color: #ffffff;
}

.footer-company > p:hover .info-icon-badge {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 144, 62, 0.35);
}

.footer-company > p:hover .info-icon-badge svg {
  stroke: #092b22;
}

.ext-icon-svg {
  flex-shrink: 0;
  stroke: #a0c4b2;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.footer-link-grid a:hover .ext-icon-svg,
.footer-policy-list a:hover .ext-icon-svg {
  stroke: var(--orange);
  transform: translate(2px, -2px);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #c8dbd0;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-policy-list {
  display: flex;
  flex-direction: column;
}

.footer-policy-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #1c4235;
  color: #c8dbd0;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-policy-list a:hover {
  color: #fff;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.footer-link-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #1f473a;
  border-radius: 8px;
  color: #c8dbd0;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.footer-link-grid a:hover {
  color: #fff;
  background: #174b3a;
  border-color: #356754;
}

.ext-icon {
  font-size: 11px;
  color: #799d8b;
  flex-shrink: 0;
}

/* Homepage Certifications & Awards Section */
.cert-section {
  margin: 0 6% 30px;
  padding: 55px 60px;
  background: #0d3529;
  border-radius: 20px;
  border: 1px solid #1c4d3e;
  max-width: none;
  box-sizing: border-box;
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.cert-card-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 260px;
  max-width: 520px;
  flex: 1 1 320px;
  transition: transform 0.25s ease;
  backdrop-filter: none;
  box-shadow: none;
}

.cert-card-item:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: translateY(-3px);
}

.cert-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.cert-badge-link img {
  display: block;
  max-width: 100%;
  max-height: 174px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.cert-badge-link:hover img {
  transform: scale(1.02);
}

.cert-card-caption {
  margin-top: 14px;
  padding-top: 8px;
  border-top: none;
  width: 100%;
}

.cert-card-caption h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
  line-height: 1.4;
}

.cert-card-caption p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* Light Theme overrides when section background is light */
.sec-light-theme .cert-section {
  background: transparent;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.sec-light-theme .cert-card-item {
  background: transparent;
  border: none;
  box-shadow: none;
}

.sec-light-theme .cert-card-item:hover {
  background: transparent;
  border: none;
  box-shadow: none;
}

.sec-light-theme .cert-card-caption {
  border-top: none;
}

.sec-light-theme .cert-card-caption h4 {
  color: #0f172a;
}

.sec-light-theme .cert-card-caption p {
  color: #64748b;
}

.sec-light-theme .cert-badge-link img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

@media (max-width: 768px) {
  .cert-section {
    margin: 0 4% 25px;
    padding: 35px 20px;
    border-radius: 16px;
  }
  .cert-card-item {
    padding: 12px 10px;
    min-width: 100%;
  }
  .cert-badge-link img {
    max-height: 137px;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 6%;
  border-top: 1px solid #315346;
  font-size: 12px;
}

.footer-bottom > div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Detail Page */
.detail {
  max-width: 1150px;
  margin: auto;
  min-height: 75vh;
  padding: 60px 6% 90px;
}

.detail h1 {
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 35px;
  font-weight: 600;
}

.detail-image {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: transparent;
  display: block;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.detail-image.contain {
  object-fit: cover;
  background: transparent;
}

/* Admin UI */
.admin-shell, body.admin-shell {
  background: #f1f5f2 !important;
  color: #1e293b !important;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  border-bottom: 1px solid #dce6df;
  border-top: 5px solid var(--forest);
  padding: 12px 5%;
  color: #1e293b !important;
}

.admin-header span {
  color: #0f172a !important;
  font-weight: 600;
}

.admin-header img {
  width: 100px;
  height: 46px;
  object-fit: contain;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.admin-main {
  max-width: 1280px;
  padding: 48px 30px 80px;
  margin: auto;
  color: #1e293b !important;
}

.admin-shell .eyebrow {
  color: #059669 !important;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-title h1 {
  font-size: 34px;
  margin-bottom: 8px;
  color: #0f172a !important;
  font-weight: 700;
}

.admin-title p {
  color: #475569 !important;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 25px 0 30px;
}

.admin-stats > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 20px 22px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.admin-stats span {
  color: #64748b !important;
  font-size: 13px;
  font-weight: 600;
}

.admin-stats strong {
  grid-column: 2;
  font-size: 32px;
  line-height: 1;
  color: #103c2f !important;
  font-weight: 800;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.admin-tabs a {
  font-size: 14px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e293b !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.admin-tabs a:hover {
  background: #e2e8f0;
  color: #0f172a !important;
  border-color: #94a3b8;
}

.admin-tabs a.active {
  background: #103c2f !important;
  color: #fff !important;
  font-weight: 700;
  border-color: #103c2f !important;
}

.content-table {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.table-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0;
}

.table-title span {
  color: #64748b !important;
  font-size: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  background: #f8fafc;
  color: #0f172a !important;
  border-bottom: 2px solid #e2e8f0;
}

.admin-table td {
  padding: 16px 24px;
  font-size: 14px;
  text-align: left;
  color: #1e293b !important;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.admin-table tr:hover td {
  background: #f8fafc;
}

.admin-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-item strong {
  color: #0f172a !important;
  font-weight: 700;
}

.admin-item span, .admin-item p {
  color: #475569 !important;
}

.admin-item img {
  width: 55px;
  height: 50px;
  object-fit: contain;
  background: #f1f5f9;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: #94a3b8;
}

.btn-primary {
  background: #103c2f !important;
  color: #ffffff !important;
  border-color: #103c2f !important;
}

.btn-primary:hover {
  background: #ff903e !important;
  color: #092b22 !important;
  border-color: #ff903e !important;
}

.btn-dark {
  background: #092b22 !important;
  color: #ffffff !important;
  border-color: #092b22 !important;
}

.btn-dark:hover {
  background: #ff903e !important;
  color: #092b22 !important;
  border-color: #ff903e !important;
}

.btn-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fca5a5 !important;
}

.btn-danger:hover {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a !important;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-control:focus {
  outline: none;
  border-color: #103c2f;
  box-shadow: 0 0 0 3px rgba(16, 60, 47, 0.15);
}

.pdf-box {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #1e293b !important;
}

.pdf-box p, .pdf-box label, .pdf-box span {
  color: #334155 !important;
}

.success {
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #86efac !important;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
}

.gate {
  max-width: 440px;
  margin: 70px auto;
  padding: 42px 36px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #1e293b !important;
}

.gate h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a !important;
  margin: 12px 0 24px;
}

.gate .error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 18px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .header {
    min-height: 70px;
    padding: 10px 5%;
  }
  .logo {
    height: 45px;
    max-width: 180px;
  }
  .site-header-wrapper.scrolled .header {
    min-height: 50px;
    padding: 6px 5%;
  }
  .site-header-wrapper.scrolled .logo {
    height: 32px;
    max-width: 130px;
  }
  .footer-certifications {
    justify-content: center;
    padding: 10px 6% 30px;
  }
  .footer-certifications img {
    margin: 0 auto;
  }
  .about-photo img, .development-visual {
    margin: 0 auto;
  }
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 5% 38px;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
    min-height: 320px;
    margin: 0 auto;
  }
  .hero-photo {
    margin: 0 auto;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px 6%;
    background: #092b22;
    border-bottom: 2px solid var(--orange);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
    pointer-events: none;
    z-index: 99;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .product-grid, .news-grid, .development-grid, .sustainability-content, .about, .contact-section {
    grid-template-columns: 1fr;
  }
  .reports-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  .sustainability, .news-section {
    gap: 40px;
    padding: 45px 5%;
  }
  .about {
    gap: 30px;
    padding: 24px;
    margin: 0;
  }
  .about-photo {
    min-height: 300px;
    max-height: 400px;
  }
  .about-photo img {
    margin: 0 auto;
  }
  .development-visual {
    width: 100%;
    aspect-ratio: 16 / 10.5;
    height: auto;
    margin: 0 auto;
  }
  .product-img img {
    margin: 0 auto;
  }
  .news-card > img {
    margin: 0 auto 22px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-company > p, .footer-company > a {
    justify-content: center;
  }
  .footer-certifications {
    justify-content: center;
    padding: 15px 5% 30px;
  }
  .footer-certifications img {
    margin: 0 auto;
    width: min(100%, 360px);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .footer-bottom > div {
    justify-content: center;
  }
  .capability-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .capability-strip a {
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid #35564a;
    padding: 16px 20px;
  }
  .capability-strip a:last-child {
    border-bottom: none;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-image-label {
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-size: 11px;
  }
  .hero-image-label .image-caption {
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-controls {
    padding: 3px 6px;
    gap: 4px;
  }
  .slide-btn {
    width: 28px;
    height: 28px;
  }
  .slide-btn svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 480px) {
  .footer-certifications img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Floating Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(9, 43, 34, 0.35);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.scroll-top-btn:hover {
  background: var(--orange);
  color: var(--deep);
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(255, 144, 62, 0.45);
  transform: translateY(-3px);
}

/* Quill Alignment & Typography Classes for Frontend Content */
.ql-align-center { text-align: center !important; }
.ql-align-right { text-align: right !important; }
.ql-align-justify { text-align: justify !important; }
.ql-align-left { text-align: left !important; }

/* Rich Text Body Content Formatting (.body-text) */
.detail h1,
.detail h2,
.detail h3,
.detail h4,
.detail h5,
.detail h6 {
  color: #ffffff !important;
}

.body-text {
  font-size: 16.5px;
  line-height: 1.85;
  color: #e2f0e8 !important;
  margin-top: 20px;
}
.body-text p,
.body-text span,
.body-text li,
.body-text div {
  color: #e2f0e8 !important;
}
.body-text p {
  margin-bottom: 1.1rem;
}
.body-text p:last-child {
  margin-bottom: 0;
}
.body-text strong, 
.body-text b,
.body-text strong *,
.body-text b * {
  font-weight: 700;
  color: #ffffff !important;
}
.body-text em, .body-text i {
  font-style: italic;
}
.body-text u {
  text-decoration: underline;
}
.body-text s, .body-text strike {
  text-decoration: line-through;
}
.body-text h2,
.body-text h2 * {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff !important;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.35;
}
.body-text h3,
.body-text h3 * {
  font-size: 20px;
  font-weight: 700;
  color: #6ee7b7 !important;
  margin-top: 22px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.body-text h4,
.body-text h4 * {
  font-size: 17px;
  font-weight: 600;
  color: #a7f3d0 !important;
  margin-top: 18px;
  margin-bottom: 8px;
}
.body-text ul, .body-text ol {
  padding-left: 28px;
  margin-top: 10px;
  margin-bottom: 16px;
}
.body-text ul {
  list-style-type: disc;
}
.body-text ol {
  list-style-type: decimal;
}
.body-text li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.body-text li::marker {
  color: var(--orange);
}
.body-text blockquote {
  border-left: 4px solid var(--orange);
  padding: 10px 18px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 8px 8px 0;
  color: #ffffff !important;
  font-style: italic;
}
.body-text blockquote * {
  color: #ffffff !important;
}
.body-text a,
.body-text a * {
  color: #38bdf8 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.body-text a:hover,
.body-text a:hover * {
  color: var(--orange) !important;
}
.body-text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 12px;
}

/* Admin Quill Editor Custom Styling */
.ql-toolbar.ql-snow {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-color: #cbd5e1 !important;
  background: #f8fafc;
  font-family: 'Manrope', 'Noto Sans Thai', sans-serif;
  padding: 10px 12px !important;
}
.ql-container.ql-snow {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-color: #cbd5e1 !important;
  font-family: 'Manrope', 'Noto Sans Thai', sans-serif;
  font-size: 15px;
  background: #ffffff;
}
.ql-editor {
  min-height: 220px;
  line-height: 1.75;
  color: #1e293b;
  font-size: 15px;
}
.ql-editor.ql-blank::before {
  color: #94a3b8;
  font-style: normal;
}

/* Dynamic Homepage Section Wrappers & Light Contrast Adaptation */
.homepage-section-wrap {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  transition: background 0.3s ease;
}

.homepage-section-wrap[style*="background"] {
  padding: 30px 0;
}

.sec-light-theme {
  color: #1e293b !important;
}
.sec-light-theme h2,
.sec-light-theme h3,
.sec-light-theme .section-heading h2 {
  color: #0f172a !important;
}
.sec-light-theme .section-intro,
.sec-light-theme .muted,
.sec-light-theme p:not(.eyebrow) {
  color: #334155 !important;
}
.sec-light-theme .development-row h3 {
  color: #0f172a !important;
}
.sec-light-theme .development-row p {
  color: #475569 !important;
}
.sec-light-theme .body-text {
  color: #334155 !important;
}
.sec-light-theme .english-quote {
  color: #64748b !important;
}
.sec-light-theme .policy-item-title {
  color: #0f172a !important;
}
.sec-light-theme .policy-item-row {
  border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}
.sec-light-theme .policy-icon-badge {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}
.sec-light-theme .sustainability-reports-header h3 {
  color: #0f172a !important;
}
.sec-light-theme .contact-info h3,
.sec-light-theme .contact-info span,
.sec-light-theme .contact-info a {
  color: #0f172a !important;
}
.sec-light-theme .info-icon-badge {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}
.sec-light-theme .eyebrow.white {
  color: #047857 !important;
}

/* PDF Attachments Box in Content Detail Page */
.pdf-attachments-box {
  background: var(--deep, #092b22) !important;
  border: 1px solid #1c4d3e !important;
  border-radius: 14px !important;
  padding: 24px 28px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  margin: 30px 0 !important;
}

.pdf-attachments-box h3 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.pdf-attachments-box h3 svg {
  color: var(--orange, #ff903e) !important;
  stroke: var(--orange, #ff903e) !important;
}
