:root {
  --color-primary: #4caf50;
  --color-primary-dark: #2e7d32;
  --color-accent: #ffb300;
  --color-bg: #ffffff;
  --color-text: #1f2933;
  --color-muted: #7b8a93;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.07);
  --radius: 12px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Kanit', 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.page-home__content {
  display: block;
}

@media (max-width: 768px) {
  .gallery-photos{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0.7rem;
  }
}

.site-header {
  background: #0b6623;
  color: #fff;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 150;
  transition: all 0.4s ease-in-out;
}

.header-top {
  background: #0a5c1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.4s ease-in-out;
}

.header-top__contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.contact-item svg,
.contact-item i {
  font-size: 0.9rem;
}

.header-top__contacts a {
  color: #fff;
  text-decoration: none;
}

.header-top__contacts a:hover {
  text-decoration: underline;
}

.header-top__social {
  display: flex;
  gap: 0.75rem;
}

.header-top__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-top__social a:hover {
  background: #ffb300;
  color: #0b6623;
}

.header-top__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
}

.header-nav .language-switcher {
  margin-left: 0.75rem;
}

.language-switcher__trigger {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 61, 21, 0.85);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: 44px;
  white-space: nowrap;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.language-switcher__trigger:hover,
.language-switcher__trigger:focus-visible {
  transform: translateY(-1px);
  border-color: #c6ffc1;
}

.shadow-lg {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.language-switcher__flag {
  width: 22px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
}

.language-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 200px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 0;
  box-shadow: 0 25px 45px rgba(5, 30, 13, 0.2);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0ms linear 220ms;
  z-index: 200;
}

.language-switcher__menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0ms;
}

.language-switcher__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: #0f2a15;
  cursor: pointer;
  transition: background 0.2s ease;
}

.language-switcher__option--selected {
  background: rgba(76, 175, 80, 0.12);
}

.language-switcher__option:hover {
  background: rgba(76, 175, 80, 0.18);
}

.language-switcher__option-flag {
  width: 26px;
  height: 16px;
  border-radius: 999px;
  object-fit: cover;
}

.language-switcher__check {
  margin-left: auto;
  color: #16a34a;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.language-switcher__option--selected .language-switcher__check {
  opacity: 1;
}

.hidden {
  display: none !important;
}

.language-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  padding: 8px 0;
  min-width: 180px;
  z-index: 200;
}

@media (max-width: 900px) {
  .language-switcher__menu {
    top: auto;
    bottom: calc(100% + 6px);
  }
}

.language-switcher__option {
  padding: 8px 16px;
  font-weight: 500;
  color: #0f2e11;
  cursor: pointer;
}

.language-switcher__option[aria-selected="true"] {
  background: rgba(76, 175, 80, 0.12);
}

.language-switcher__option:hover {
  background: rgba(76, 175, 80, 0.2);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  gap: 1.25rem;
  transition: all 0.4s ease-in-out;
  flex-wrap: wrap;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 64px;
  width: auto;
  border-radius: 22px;
  border: 0px solid #fff;
  object-fit: contain;
  transition: transform 0.4s ease-in-out;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  font-weight: 700;
}

.logo-copy span {
  line-height: 1;
}

.logo-copy .logo-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
}

.logo-copy .logo-subtitle {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #cfead0;
  letter-spacing: 0.1em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-nav a {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header-nav a.active {
  background: #ffb300;
  color: #1a6e35;
}

.site-header.scrolled .header-top {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.site-header.scrolled .header-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0a5c1c;
  padding: 0.5rem 2.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled .logo-link img {
  transform: scale(0.92);
}

.site-header.scrolled .menu-toggle {
  top: 0.5rem;
  transform: none;
}

.header-ghost {
  height: 0;
  transition: height 0.4s ease-in-out;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  width: 50px;
  height: 50px;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  z-index: 210;
}

@media (max-width: 1100px) {
  .header-main {
    justify-content: flex-start;
  }
  .header-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
  }
  .header-nav a {
    flex: 1 1 auto;
    text-align: center;
  }
  .menu-toggle {
    order: 1;
    margin-left: auto;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .header-top {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 900px) {
  .header-main {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b6623;
    display: none;
    width: 100%;
    padding: 0.75rem 1rem 1rem;
  }

  .header-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0;
  }

  .header-nav.is-open a {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    position: sticky;
    top: 0;
  }
}

.hero {
  position: relative;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: -32px;
  padding: 120px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  overflow: hidden;
}

.slider--hero {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.slider--hero .slider__viewport {
  border-radius: 0;
}

.slider--hero .slider__heading {
  display: none;
}

.slider__track--hero {
  display: flex;
}

.slide--hero {
  min-height: 80vh;
  width: 100%;
  border-radius: 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.slide__meta--hero {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
  display: grid;
  gap: 12px;
}

.slide__meta--hero h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0;
}

.slide__meta--hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 2vw, 20px);
}

.slide__meta--hero .slider__tag {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding: 30px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  position: relative;
}

.page-hero .carousel {
  width: min(1300px, 100%);
}

.page-hero .carousel-inner {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-hero .carousel-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-hero .carousel-item img {
  height: 520px;
}

@media (max-width: 768px) {
  .about-hero .carousel-item img,
  .page-hero .carousel-item img {
    height: 250px;
  }
}

.hero-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 32px;
  border-radius: var(--radius);
  max-width: min(640px, 100%);
  box-shadow: var(--shadow-soft);
}

.timeline-roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: stretch;
}

.timeline-step {
  flex: 1 1 200px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-step p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .timeline-roadmap {
    flex-direction: column;
    align-items: center;
  }
}
.contact-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  text-align: center;
}

.contact-highlight {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.35));
  color: #0b6623;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.25);
  margin-top: 0px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: #ffb300;
  color: #2c1a00;
  box-shadow: 0 12px 30px rgba(199, 156, 51, 0.45);
  font-size: 1rem;
}

.btn.secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
}

.btn.outline {
  border: 2px solid rgba(76, 175, 80, 0.4);
  color: var(--color-primary);
}

.section {
  padding: 80px 0;
}

.contact-page {
  padding-top: 48px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(300px, 1.35fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .intro-row {
    display: flex;
    flex-direction: column;
  }
  .intro-text {
    order: 2;
  }
  .intro-image {
    order: 1;
  }
}

.intro-text h2,
.fruits h2,
.process h2,
.certs h2,
.reasons h2,
.news h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.intro-image {
  display: flex;
  justify-content: flex-end;
}

.intro-image img {
  width: min(660px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.fruit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
}

.card-media {
  width: 100%;
}

.card-body {
  padding: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.step {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.step .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto 0;
  font-size: 28px;
  margin-bottom: 16px;
}

.timeline .connector {
  display: none;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.story-slider {
  padding-top: 40px;
  padding-bottom: 40px;
}

.story-gallery {
  padding: 0 0 28px;
  margin-top: 0;
}

.story-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  width: min(1400px, 100%);
  margin-inline: auto;
  padding: 1.25rem;
  border-radius: 28px;
  background: #f5f5f5;
}

.gallery-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(180px, 0.55fr) minmax(520px, 1.45fr);
  align-items: center;
}

.gallery-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 280px;
.dragon-hero-panel {
  background: linear-gradient(135deg, #ff4d6d, #ff9bbd);
  border-radius: 28px;
  color: #fff;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(200px, 1fr);
  gap: 32px;
  box-shadow: 0 30px 60px rgba(255, 77, 109, 0.35);
  margin-bottom: 32px;
}

.dragon-hero__content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.dragon-hero__content ul {
  margin: 18px 0 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
  margin: 4px;
.dragon-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dragon-hero__stats .stat {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

.dragon-hero__stats .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.dragon-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.dragon-details article {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.dragon-details h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.dragon-details p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

  margin-inline: auto;
}

.gallery-text .slider__tag {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.gallery-text h2 {
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 16px;
}

.gallery-text p {
  color: rgba(15, 23, 42, 0.85);
  font-size: 0.85rem;
  line-height: 1.6;
}

.gallery-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.dragon-info-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.info-panel h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.info-panel dl {
  display: grid;
  gap: 8px;
}

.info-panel dt {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.info-panel dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

.info-panel ul {
  margin: 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-text);
}

.info-panel ul li {
  list-style: disc;
}

.photo-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  background: #f5f5f5;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* --- 2. Tablet (Tùy chọn: Khoảng giữa 760px và 1024px) --- */
/* Nếu không có đoạn này, màn hình iPad sẽ vẫn hiện 6 hình (rất bé) */
@media (max-width: 1024px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }
  
  .gallery-photos {
    /* Bạn có thể để 3 hoặc 4 hình ở đây cho đẹp mắt hơn */
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- 3. Mobile (Màn hình <= 760px) --- */
@media (max-width: 760px) {
  .gallery-photos {
    /* 2 hình 1 dòng theo yêu cầu */
    grid-template-columns: repeat(2, 1fr);
  }
}

.slider {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 28px;
}

.slider__heading h2 {
  font-size: clamp(32px, 3vw, 40px);
}

.slider__heading p {
  margin-top: 8px;
  color: var(--color-muted);
  max-width: 600px;
}

.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider__track {
  display: grid;
  grid-template-columns: repeat(3, 100%);
  gap: 24px;
  transition: transform 0.6s ease;
}

.slider__tag {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--color-primary-dark);
}

.slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.slider__button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.slider__button:hover,
.slider__button:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

.slider-hero {
  padding: 0;
}

.slider--hero {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: block;
}

.slider--hero .slider__heading {
  display: none;
}

.slider__viewport--hero {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.slider__track--hero {
  display: flex;
  gap: 0;
  width: min(640px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
  grid-template-columns: none;
}

.slider__track--hero > .slide--hero-slide {
  flex: 0 0 100%;
}
.slide--hero-slide {
  width: 100%;
  min-height: 80vh;
  border-radius: 0;
  display: flex;
}

.slide--hero-panel {
  width: 50%;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide--hero-panel--content {
  padding: 0 24px;
}

.slide__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.slide__hero-overlay--dim {
  background: rgba(0, 0, 0, 0.35);
}

.slide__meta--hero {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
  display: grid;
  gap: 14px;
}

.slide__meta--hero h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0;
}

.slide__meta--hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 2vw, 20px);
}

.slide__meta--hero .slider__tag {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .slider__track--hero {
    flex-direction: column;
  }

  .slide--hero-slide {
    width: 100%;
    min-height: 60vh;
    flex-direction: column;
  }

  .slide--hero-panel {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .slider {
    padding: 24px;
  }

  .slider__controls {
    justify-content: center;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
    max-width: 540px; /* Updated max-width for better responsiveness */
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-content img {
  max-height: 260px;
  margin-bottom: 12px;
}

.lightbox-content .close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.cert-item {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.04);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.reason {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.reason .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 18px;
}

.news-card img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}

.news-card__badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 179, 0, 0.2);
  color: #ffb300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.news-card h4 {
  margin: 0;
}

.news-card p {
  margin: 0;
  color: var(--color-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.news-detail {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}

.news-detail h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin-bottom: 12px;
}

.news-detail p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.news-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.news-detail__gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  min-height: 220px;
}

.contact-cta {
  background: rgba(76, 175, 80, 0.08);
  padding: 80px 0;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.form-grid input,
.form-grid textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #d32f2f;
}

.form-message {
  margin-top: 16px;
  font-size: 14px;
  color: #d32f2f;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.visible {
  opacity: 1;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.small {
  font-size: 14px;
  color: var(--color-muted);
}

.muted a {
  color: var(--color-primary);
}

.site-footer {
  background: #0f4c26;
  color: #f5f8fb;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col h3 {
  font-size: 1.1rem;
}

.footer-mission {
  margin: 0 0 1rem;
  color: rgba(245, 248, 251, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact a {
  color: #f5f8fb;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: #f5f8fb;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.contact-panel {
  padding: 80px 0;
}

.contact-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-panel__info {
  background: #1b7b3e;
  color: #f1f8ef;
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 35px 60px rgba(5, 45, 21, 0.35);
}

.contact-panel__info h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
}

.contact-panel__info .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: #f8f407;
}

.contact-panel__info .info-lead {
  color: rgba(241, 248, 239, 0.85);
  line-height: 1.7;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.info-list i {
  color: var(--color-accent);
  margin-top: 3px;
}

.contact-panel__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #1b502b;
  color: #f1f8ef;
  border: 1px solid rgba(241, 248, 239, 0.2);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
  background: #0f3c1f;
  transform: translateY(-1px);
}

.contact-panel__form {
  padding: 32px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.contact-panel__form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-highlight a {
  /* Khai báo màu vàng */
  color: yellow !important; 
  /* (Không bắt buộc) Xóa bỏ gạch chân */
  text-decoration: none !important;
}

/* 2. Đảm bảo tất cả các trạng thái đều tuân theo */
/* Quy tắc này là để đề phòng, nếu quy tắc trên chưa đủ mạnh */
.contact-info-highlight a:link,
.contact-info-highlight a:visited,
.contact-info-highlight a:hover,
.contact-info-highlight a:active {
  color: yellow !important;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.contact-panel__form input,
.contact-panel__form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 16px;
  font-family: inherit;
  background: #fdfdfd;
}

.contact-panel__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-panel__form input:focus,
.contact-panel__form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-message {
  margin: 0;
  font-size: 14px;
  color: #d32f2f;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.visible {
  opacity: 1;
}

.social-icons--stacked {
  margin-top: auto;
  gap: 14px;
}
.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.trust-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.74rem;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease;
  font-size: 16px;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link--fb {
  background: #1877f2;
}

.social-link--linkedin {
  background: #0a66c2;
}

.social-link--youtube {
  background: #ff0000;
}

.footer-email {
  font-weight: 600;
}

.site-footer .small {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.section-bg {
  background: #f9fafb;
}

main, .section {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    margin-top: 0;
    padding-top: 80px;
  }

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .section {
    padding: 60px 0;
  }
}