/* ==========================================================================
   UPGRADE STYLES - FULL PAGE PRODUCT DETAIL VIEW
   ========================================================================== */

/* Full Screen Page Overlay */
#product-detail-modal.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #f8fafc;
  z-index: 99999;
  display: none;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}

#product-detail-modal.modal-overlay.active {
  display: block;
}

#product-detail-modal .modal-card {
  max-width: 100% !important;
  width: 100% !important;
  min-height: 100vh;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fafc;
  overflow: visible;
  animation: none;
  border: none !important;
}

#product-detail-modal .modal-header {
  display: none !important;
}

#product-detail-modal .modal-body {
  padding: 0 !important;
}

/* Full Page Sticky Header Navigation */
.fullpage-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.fullpage-nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fullpage-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.fullpage-back-btn:hover {
  background: #1e293b;
  transform: translateX(-3px);
  color: #ffffff;
}

.fullpage-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fullpage-breadcrumb strong {
  color: var(--brand-navy);
}

.fullpage-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fullpage-close-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fullpage-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Full Page Content Container */
.fullpage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Full Page Hero Grid */
.fullpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
  .fullpage-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

/* Image Card Showcase */
.fullpage-image-card {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 400px;
}

.fullpage-image-card img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.fullpage-image-card:hover img {
  transform: scale(1.03);
}

.fullpage-offer-badge {
  display: none !important;
}

.fullpage-badge-lifting {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

/* Quick Contact Row Under Image */
.fullpage-contact-card {
  margin-top: 1.25rem;
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-quick-link:hover {
  color: var(--brand-blue);
}

/* Machine Info & Pricing Content */
.fullpage-info-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fullpage-brand-tag {
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.fullpage-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .fullpage-title {
    font-size: 1.65rem;
  }
}

.fullpage-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

/* Pricing Card Box */
.fullpage-price-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.35rem;
}

.fullpage-price-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.fullpage-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.fullpage-price-discount {
  font-size: 2.35rem;
  font-weight: 800;
  color: #065f46;
  font-family: var(--font-heading);
}

.fullpage-price-standard {
  font-size: 1.35rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.fullpage-price-savings {
  background: #dcfce7;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid #4ade80;
}

.fullpage-price-note {
  font-size: 0.8rem;
  font-weight: 700;
  color: #047857;
  margin-top: 0.35rem;
  display: block;
}

/* Quick Specifications Grid (2 Columns) */
.fullpage-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
  .fullpage-specs-grid {
    grid-template-columns: 1fr;
  }
}

.fullpage-spec-pill {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.fullpage-spec-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.fullpage-spec-val {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 0.2rem;
}

/* Action CTAs */
.fullpage-cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.fullpage-cta-group .btn {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Section Headings in Full Page */
.fullpage-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0 1rem;
}

.fullpage-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fullpage-section-title i {
  color: var(--brand-blue);
}

/* Complete Technical Specs Table */
.fullpage-table-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.fullpage-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.fullpage-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.fullpage-specs-table tr:last-child {
  border-bottom: none;
}

.fullpage-specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.fullpage-specs-table td {
  padding: 0.9rem 1.35rem;
  text-align: left;
}

.fullpage-specs-table td:first-child {
  font-weight: 700;
  color: var(--brand-navy);
  width: 32%;
  background: rgba(241, 245, 249, 0.4);
}

.fullpage-specs-table td:last-child {
  color: var(--text-secondary);
}

/* Bottom Full Page Banner */
.fullpage-bottom-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.fullpage-banner-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.fullpage-banner-info p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.fullpage-banner-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Product Card Price Display on Home page */
.product-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.product-card-price-offer {
  font-size: 1.15rem;
  font-weight: 800;
  color: #065f46;
}

.product-card-price-std {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card-price-save {
  font-size: 0.7rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

/* ==========================================================================
   GALLERY LIGHTBOX POPUP MODAL
   ========================================================================== */
.lightbox-overlay,
#gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active,
#gallery-lightbox.active {
  display: flex !important;
  opacity: 1 !important;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: lightbox-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightbox-pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

#lightbox-img {
  max-width: 82vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #0b1120;
}

.lightbox-caption {
  margin-top: 1.15rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100002;
}

.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100002;
}

.lightbox-arrow:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

@media (max-width: 600px) {
  .lightbox-prev {
    left: 0.5rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-next {
    right: 0.5rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

.gallery-item {
  cursor: pointer;
}

/* Ensure Gallery grid centers the last orphan item */
.gallery-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
}

.gallery-grid .gallery-item {
  flex: 0 0 calc((100% - 3 * 1.5rem) / 4) !important;
  max-width: calc((100% - 3 * 1.5rem) / 4) !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  .gallery-grid .gallery-item {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .gallery-grid .gallery-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* 4 Products per Line on Desktop */
.products-section .container {
  max-width: 1400px !important;
}

.products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* Watch Me Video Demonstration Badge */
.watch-video-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: #ff0000 !important;
  color: #ffffff !important;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  padding: 0.32rem 0.65rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  animation: pulseWatchBtn 2.2s infinite !important;
}

.watch-video-btn:hover {
  background: #dc2626 !important;
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.watch-video-btn i {
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

.fullpage-image-card .watch-video-btn {
  top: 15px !important;
  right: 15px !important;
  font-size: 0.82rem !important;
  padding: 0.4rem 0.85rem !important;
}

/* ==========================================================================
   MULTI-PAGE ARCHITECTURE STYLES
   ========================================================================== */

/* Page Banner (Header for Products, About, Gallery, Contact) */
.page-banner {
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, #070d1e 0%, #0b152d 50%, #0f172a 100%);
  color: #ffffff;
  padding: 4.75rem 0 3.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.page-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.page-banner-tag.gold {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.15);
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-banner-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.page-breadcrumb a:hover {
  color: #ffffff;
}

.page-breadcrumb span {
  color: #ffffff;
  font-weight: 700;
}

/* Call to Action Bar across pages */
.cta-banner-section {
  background: linear-gradient(135deg, #0b152d 0%, #0f2347 50%, #0284c7 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-banner-text {
  max-width: 680px;
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.cta-banner-text p {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Section Preview Footer Buttons (View All Products / Gallery) */
.section-preview-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
}

/* Founder Profile Card (About Page) */
.founder-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 4.5rem;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: #f8fafc;
}

.founder-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 19, 41, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.founder-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--accent-gold);
}

.founder-badge span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.founder-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.founder-title-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.founder-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.founder-quote {
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--brand-navy);
  margin: 1.5rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Company Journey / Timeline (About Page) */
.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto 4.5rem;
  padding: 1.5rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent-gold) 100%);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  margin-bottom: 2.75rem;
  display: flex;
  align-items: center;
}

.timeline-node:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-card {
  width: 44%;
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
  border-color: var(--primary);
}

.timeline-year {
  display: inline-block;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-center-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
  z-index: 2;
}

/* Values Grid (About Page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Video Gallery Cards (Gallery Page) */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.video-demo-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.video-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.video-player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-demo-body {
  padding: 1.5rem;
}

.video-demo-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.video-demo-body p {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .founder-profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .timeline-track::before {
    left: 20px;
  }

  .timeline-node,
  .timeline-node:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-card {
    width: 100%;
  }

  .timeline-center-dot {
    left: 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .video-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   VIEW MORE BUTTONS ON FEATURED PRODUCT CARD (HOMEPAGE)
   ========================================================================== */
.top-view-more-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.65rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.top-view-more-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.65);
  color: #ffffff !important;
  text-decoration: none !important;
}

.top-view-more-btn i {
  font-size: 0.75rem;
}

.card-view-more-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(3, 105, 161, 0.14) 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  border-radius: 8px;
  color: var(--primary, #0284c7) !important;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.825rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card-view-more-strip:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.card-view-more-strip i {
  transition: transform 0.2s ease;
}

.card-view-more-strip:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   OFFICIAL TEAL NAVIGATION BAR (#3a8091) - EXACT MATCH TO ORIGINAL TEMPLATE
   ========================================================================== */
:root {
  --teal-nav-bg: #3a8091;
  --teal-nav-hover: #326f7e;
  --teal-nav-active-text: #3a8091;
}

.site-header {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  padding: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* ==========================================================================
   UNIFIED SINGLE-LINE HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.header-top-bar {
  padding: 10px 0 !important;
  background: #ffffff !important;
}

.header-top-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
}

.header-brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-brand-logo img,
.header-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.header-nav-wrap,
.header-nav-wrap.teal-nav-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  width: auto !important;
}

.teal-nav-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 5px 8px;
  background: linear-gradient(135deg, #1b4550 0%, #2b6d7d 100%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18), 0 3px 12px rgba(27, 69, 80, 0.22);
}

.teal-nav-item {
  position: relative;
}

.teal-nav-link {
  color: #e4f2f5 !important;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 6px 16px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 20px !important;
  cursor: pointer;
  border: none;
  background: transparent;
  user-select: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.teal-nav-link i {
  font-size: 0.85rem;
  opacity: 0.88;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.teal-nav-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.teal-nav-link:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Elevated White Pill for Active State */
.teal-nav-item.active>.teal-nav-link,
.teal-nav-link.active {
  background: #ffffff !important;
  color: #1b4550 !important;
  border-radius: 50px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

.teal-nav-item.active>.teal-nav-link i,
.teal-nav-link.active i {
  color: #1b4550 !important;
  opacity: 1;
}

.header-top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header-hotline-info {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none !important;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.header-hotline-info:hover {
  background: rgba(58, 128, 145, 0.08);
  color: var(--teal-nav-bg);
}

.header-hotline-info i {
  color: var(--teal-nav-bg);
  font-size: 0.95rem;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .teal-nav-link {
    padding: 5px 12px !important;
    font-size: 13px !important;
    gap: 4px;
  }

  .header-top-inner {
    gap: 0.75rem !important;
  }
}

/* Dropdown Menu */
.teal-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 235px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1200;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.teal-nav-item:hover>.teal-dropdown-menu,
.teal-nav-item:focus-within>.teal-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.teal-dropdown-item {
  display: block;
  padding: 8px 18px;
  color: #1e293b !important;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.teal-dropdown-item:hover {
  background-color: var(--teal-nav-bg) !important;
  color: #ffffff !important;
  padding-left: 22px;
}

/* Mobile Toggle in Header Top */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--teal-nav-bg);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}

.mobile-toggle:hover {
  background: rgba(58, 128, 145, 0.1);
}

/* Mobile Navigation Drawer Adjustments */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 310px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-drawer-header img {
  height: 38px;
  width: auto;
}

.mobile-close-btn {
  background: #f1f5f9;
  border: none;
  font-size: 1.1rem;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: #334155 !important;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.mobile-nav-link i {
  font-size: 1rem;
  color: var(--teal-nav-bg);
  width: 20px;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: var(--teal-nav-bg);
  color: #ffffff !important;
}

.mobile-nav-link.active i,
.mobile-nav-link:hover i {
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .teal-nav-bar {
    display: none;
  }

  .header-hotline-info {
    display: none !important;
  }
}

/* ==========================================================================
   HOMEPAGE COMPANY BRIEF SECTION (ABOVE PRODUCTS) - EXACT MATCH TO IMAGE
   ========================================================================== */
.home-about-brief-section {
  padding: 4.5rem 0 3.5rem;
  background: #ffffff;
}

.home-about-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 3.5rem;
  align-items: center;
}

.home-about-brief-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-about-brief-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.home-about-brief-img-wrap img:hover {
  transform: translateY(-3px);
}

.home-about-brief-content .brief-tag {
  color: var(--teal-nav-bg, #3a8091);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  display: inline-block;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif;
}

.home-about-brief-content h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.35rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.home-about-brief-content h4 {
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 1.25rem;
}

.home-about-brief-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.btn-teal-brief {
  background-color: var(--teal-nav-bg, #3a8091) !important;
  color: #ffffff !important;
  padding: 0.75rem 1.85rem !important;
  font-family: 'Nunito', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(58, 128, 145, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  cursor: pointer;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.btn-teal-brief:hover {
  background-color: #2f6977 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 128, 145, 0.5) !important;
  color: #ffffff !important;
}

.btn-teal-brief i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.btn-teal-brief:hover i {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .home-about-brief-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .home-about-brief-content h2 {
    font-size: 1.85rem;
  }
}

/* Developer Credit Link */
.developer-credit-link {
  color: var(--primary-light, #38bdf8);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.developer-credit-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Machine Model Dropdown & Other Specification Box */
select.form-control {
  cursor: pointer;
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 600;
  appearance: auto;
  -webkit-appearance: auto;
  line-height: 1.4;
}

select.form-control option {
  color: #0f172a;
  font-weight: 500;
  padding: 6px;
}

#modal-other-machine-group {
  animation: fadeIn 0.3s ease;
}

#modal-other-machine-group textarea.form-control {
  min-height: 72px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.925rem;
}