/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

[id] {
  scroll-margin-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

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

.navbar-menu {
  display: flex;
  gap: 5px;
}

.nav-link {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ecc31f;
  background: rgba(236, 195, 31, 0.1);
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 15px;
}

a.lang-btn {
  text-decoration: none;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #666;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Roboto', Arial, sans-serif;
}

.lang-btn:hover {
  color: #d4a800;
  border-color: #d4a800;
}

.lang-btn.active {
  background: #ecc31f;
  color: #000;
  border-color: #ecc31f;
}

.lang-sep {
  color: #555;
  font-size: 14px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  margin-top: 70px;
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.slide-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.slide-text {
  flex: 11;
}

.slide-text h2,
.slide-text-full h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
}

.slide-text p,
.slide-text-full p {
  color: #fff;
  font-size: 14px;
  margin-top: 35px;
  line-height: 1.5;
}

.slide-image {
  flex: 9;
  text-align: center;
}

.slide-image img {
  width: 300px;
  border-radius: 0;
}

.slide-text-full {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.slide2-cols {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.slide2-col {
  flex: 1;
}

.slide2-col p {
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 0;
}

/* Slider Navigation */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #ecc31f;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

/* ===== SECTION 01 - FOUR FEATURES ===== */
.sec01 {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
}

.sec01-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000000, rgba(0, 0, 0, 0.20));
}

.sec01-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.sec01-title {
  color: #ecc31f;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(0.5);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ecc31f;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
}

/* ===== TABS SECTION ===== */
.tabs-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
}

.tabs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.tabs-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
  font-family: 'Roboto', Arial, sans-serif;
}

.tab-btn:hover,
.tab-btn.active {
  background: #ecc31f;
  border-color: #ecc31f;
  color: #000;
}

.tab-btn i {
  margin-right: 8px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  gap: 25px;
}

.tab-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.tab-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  color: #fff;
}

.tab-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.tab-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ecc31f;
}

.tab-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
}

.btn-learn-more {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 40px;
  background: #000;
  color: #ecc31f;
  border: 2px solid #ecc31f;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-learn-more:hover {
  background: #ecc31f;
  color: #000;
}

/* Tab 3 - Aligner */
.tab-grid-aligner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.aligner-image img {
  width: 100%;
  border-radius: 8px;
}

.aligner-info {
  color: #fff;
}

.aligner-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ecc31f;
  margin-bottom: 15px;
}

.aligner-intro {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 25px;
}

.aligner-feature {
  margin-bottom: 20px;
}

.aligner-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ecc31f;
  margin-bottom: 8px;
}

.aligner-feature p {
  font-size: 13px;
  line-height: 1.7;
  color: #ccc;
}

/* ===== SOFTWARE FEATURE DETAIL ===== */
.software-detail {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px;
}

.software-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.software-detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.section-gold-title {
  color: #ecc31f;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 15px;
}

.section-subtitle {
  color: #fff;
  font-size: 22px;
  text-align: center;
  margin-bottom: 10px;
}

.section-desc {
  color: #ccc;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.software-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.software-features-list ul {
  list-style: none;
}

.software-features-list ul li {
  color: #fff;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 20px;
}

.software-features-list ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ecc31f;
}

.software-features-desc p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.software-gallery {
  border-radius: 8px;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-track img {
  width: 100%;
  height: 250px;
  border-radius: 6px;
  object-fit: cover;
}

/* ===== PRODUCTION LINE DETAIL ===== */
.production-detail {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  padding: 60px 20px;
  overflow: hidden;
}

.production-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}


.production-detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.production-rows {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.prod-row-reverse {
  direction: rtl;
}

.prod-row-reverse > * {
  direction: ltr;
}

.prod-row-text h3 {
  color: #ecc31f;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.prod-row-text p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.prod-row-text ul {
  margin-top: 10px;
}

.prod-row-text ul li {
  font-size: 14px;
  line-height: 1.8;
  color: #ecc31f;
}

.prod-row-img img {
  width: 100%;
  border-radius: 8px;
  filter: brightness(1.15) contrast(1.1) saturate(1.1);
  -webkit-filter: brightness(1.15) contrast(1.1) saturate(1.1);
}

/* ===== ALL-ON-X ===== */
.allonx-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px;
}

.allonx-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.allonx-page {
  margin-top: 70px;
}

.allonx-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.allonx-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.allonx-hero-text h2 {
  color: #ecc31f;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.allonx-hero-text p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
}

.allonx-hero-image {
  text-align: center;
}

.allonx-hero-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}

.allonx-hero-image .zoomable-wrap {
  display: block;
  text-align: center;
}

.allonx-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.allonx-feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
}

.allonx-feature img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.allonx-feature h3 {
  color: #ecc31f;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.allonx-feature p {
  color: #ccc;
  font-size: 13px;
  line-height: 1.7;
}

.allonx-cta {
  text-align: center;
}

.allonx-cta p {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #fff;
  color: #333;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  color: #333;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.footer-col {
  text-align: center;
}

.footer-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.footer-logo-col {
  text-align: center;
}

.footer-logo {
  width: 120px;
}

.footer-contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-contact-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: opacity 0.3s;
}

.footer-contact-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-contact-icons a:hover {
  color: #ecc31f;
}

.footer-contact-icons a:hover img {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #999;
}

/* ===== DENTURE PAGE ===== */
.denture-hero {
  position: relative;
  margin-top: 70px;
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.denture-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.denture-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.denture-hero h1 {
  color: #ecc31f;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.denture-hero p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
}

.denture-products {
  position: relative;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.denture-products-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.denture-products-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Showcase Grid */
.denture-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ecc31f, rgba(236, 195, 31, 0.2));
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 195, 31, 0.3);
  box-shadow: 0 12px 30px rgba(236, 195, 31, 0.1);
}

.showcase-card:hover::before {
  opacity: 1;
}

.showcase-img {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.showcase-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(236, 195, 31, 0.12), rgba(255, 255, 255, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(236, 195, 31, 0.25);
  border-radius: 10px;
}

.showcase-placeholder i {
  font-size: 40px;
  color: rgba(236, 195, 31, 0.3);
}

/* When real image is used, replace placeholder with: */
/* <div class="showcase-img"><img src="images/xxx.jpg" alt=""></div> */
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card as link */
.showcase-card-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.showcase-link-label {
  margin-top: 14px;
  color: #ecc31f;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.showcase-card-link:hover .showcase-link-label {
  gap: 12px;
}

.showcase-content h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase-zh {
  color: #ecc31f;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.showcase-desc {
  color: #aaa;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showcase-tags span {
  background: rgba(236, 195, 31, 0.12);
  color: #ecc31f;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(236, 195, 31, 0.2);
}

.denture-cta {
  text-align: center;
}

.denture-cta p {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== FAQ ===== */
.faq-section {
  background: #f8f8f8;
  padding: 60px 20px;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  color: #333;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 50px 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: left;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #ecc31f;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #bbb;
  transition: transform 0.3s, color 0.3s;
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
  color: #ecc31f;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq-answer p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* ===== ADDRESS LINK ===== */
.address-link {
  color: #555;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s;
}

.address-link:hover {
  color: #ecc31f;
}

/* ===== MAP DIALOG ===== */
.map-dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.map-dialog.active {
  display: flex;
}

.map-dialog-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 70vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-dialog-close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.map-dialog-content iframe {
  flex: 1;
}

.map-open-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: #ecc31f;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s;
}

.map-open-btn:hover {
  background: #d4a800;
}

/* ===== LIGHTBOX ===== */
.zoomable-wrap {
  position: relative;
  display: inline-block;
}

.zoomable-wrap::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.zoomable-wrap:hover::after {
  opacity: 1;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s;
}

.zoomable:hover {
  transform: scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-grid.three-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .software-detail-grid {
    grid-template-columns: 1fr;
  }

  .prod-row {
    grid-template-columns: 1fr;
  }

  .prod-row-reverse {
    direction: ltr;
  }


  .denture-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-grid-aligner {
    grid-template-columns: 1fr;
  }

  .allonx-hero {
    grid-template-columns: 1fr;
  }

  .allonx-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero-slider {
    height: 400px;
  }

  .slide-row {
    flex-direction: column;
    text-align: center;
  }

  .slide-text h2,
  .slide-text-full h2 {
    font-size: 22px;
  }

  .slide-image img {
    width: 200px;
  }

  .slide2-cols {
    flex-direction: column;
  }

  .sec01-title {
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
  }

  .tab-grid.three-cols {
    grid-template-columns: 1fr;
  }

  .section-gold-title {
    font-size: 22px;
  }

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

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .denture-hero h1 {
    font-size: 28px;
  }

  .denture-showcase {
    grid-template-columns: 1fr;
  }
}
