/* GLOBAL REUSABLE COMPONENTS SYSTEM */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(5, 75, 36, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 75, 36, 0.35);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 4px 14px rgba(229, 160, 13, 0.25);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 160, 13, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-outline-secondary, .btn-outline-yellow, .btn-cta-outline, .btn-outline-gold {
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-outline-secondary:hover, .btn-outline-yellow:hover, .btn-cta-outline:hover, .btn-outline-gold:hover {
  background-color: var(--color-secondary);
  color: #ffffff !important;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 160, 13, 0.45);
}

.btn-link {
  padding: 0;
  background: none;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 0;
}

.btn-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 75, 36, 0.2);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--color-light);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-img-wrapper img {
  transform: var(--image-hover-scale);
}

/* Service Card Component */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card .service-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.service-card .service-desc {
  font-size: 0.925rem;
  color: var(--color-muted);
  flex: 1;
  margin-bottom: 16px;
}

/* Image & Overlay System */
.img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.overlay-dark {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

.overlay-green {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-green);
}

/* Work Gallery Component */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-row {
  display: contents;
}

.portfolio-mobile-nav {
  display: none;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  color: var(--color-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.eyebrow-portfolio {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(217, 119, 6, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* Portfolio Showcase Header */
.portfolio-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.portfolio-header-content {
  max-width: 720px;
  margin: 0 auto;
}

.portfolio-header-content h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.portfolio-header-content p {
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  color: var(--color-body);
  margin: 0;
  line-height: 1.5;
}

/* Header Circular Arrow Controls */
.portfolio-header-nav {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.portfolio-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
  user-select: none;
}

.portfolio-prev {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #083B32;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.portfolio-prev:hover {
  border-color: #083B32;
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 59, 50, 0.12);
}

.portfolio-next {
  background: #083B32;
  border: 1.5px solid #083B32;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(8, 59, 50, 0.25);
}

.portfolio-next:hover {
  background: #0C4D41;
  border-color: #0C4D41;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 59, 50, 0.35);
}

.portfolio-nav-btn:active {
  transform: scale(0.94);
}

.portfolio-nav-btn.disabled,
.portfolio-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Portfolio Slider Wrapper & Horizontal Track */
.portfolio-slider-wrapper {
  position: relative;
  width: 100%;
}

.portfolio-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px 18px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.portfolio-slider-track::-webkit-scrollbar {
  display: none;
}

.portfolio-slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.portfolio-slider-track .gallery-item {
  flex: 0 0 270px;
  width: 270px;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  background: #f1f5f3;
}

.portfolio-slider-track .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.portfolio-slider-track .gallery-item:hover img {
  transform: scale(1.1);
}

.portfolio-slider-track .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

/* Progress Bar Line Indicator */
.portfolio-progress-bar {
  width: 100%;
  max-width: 520px;
  height: 4px;
  background: #E8ECE9;
  border-radius: 9999px;
  margin: 28px auto 0;
  position: relative;
  overflow: hidden;
}

.portfolio-progress-fill {
  height: 100%;
  background: #083B32;
  border-radius: 9999px;
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  transform: translateX(0);
  transition: width 0.15s ease-out, transform 0.08s linear;
  will-change: transform, width;
}

/* Responsive Overrides for Showcase Header & Track */
@media (max-width: 900px) {
  .portfolio-header {
    align-items: flex-start;
    text-align: left;
  }
  .portfolio-header-content {
    margin: 0;
    max-width: 100%;
    padding-right: 110px;
  }
  .portfolio-header-nav {
    bottom: auto;
    top: 4px;
  }
  .portfolio-slider-track .gallery-item {
    flex: 0 0 240px;
    width: 240px;
    height: 170px;
  }
}

@media (max-width: 640px) {
  .portfolio-header {
    align-items: center;
    text-align: center;
  }
  .portfolio-header-content {
    padding-right: 0;
  }
  .portfolio-header-nav {
    position: static;
    margin-top: 16px;
    justify-content: center;
  }
  .portfolio-slider-track .gallery-item {
    flex: 0 0 210px;
    width: 210px;
    height: 150px;
  }
  .portfolio-progress-bar {
    max-width: 280px;
    margin-top: 20px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Smooth zoom effect inside to outside within fixed container */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Remove hover overlay text */
.gallery-overlay {
  display: none !important;
}

/* Lightbox Modal & Navigation Arrows */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  user-select: none;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gallery-lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 14px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.gallery-lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 100001;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 100001;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.12);
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

@media (max-width: 768px) {
  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .gallery-lightbox-prev {
    left: 10px;
  }
  .gallery-lightbox-next {
    right: 10px;
  }
  .gallery-lightbox-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .gallery-lightbox-img {
    max-width: 95vw;
    max-height: 75vh;
  }
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-body);
}

.data-table tr:nth-child(even) {
  background-color: var(--color-light);
}

.data-table tr:hover {
  background-color: var(--color-primary-light);
}

/* Specification Accordion Grid - 4 per row with Full-Width Drawer */
.spec-accordion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}

/* Individual Compact Card Button */
.spec-grid-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: all var(--transition-fast);
  gap: 8px;
  width: 100%;
}

.spec-grid-card:hover {
  border-color: rgba(5, 75, 36, 0.45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  background-color: #fafcfb;
}

.spec-grid-card.active {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(5, 75, 36, 0.15);
  position: relative;
}

/* Indicator arrow for active state */
.spec-grid-card.active::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-primary);
  z-index: 2;
}

.spec-model-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-model-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.spec-model-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(5, 75, 36, 0.09);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Charger Cards: Consistent stacked layout (badge below model heading) */
.charger-tab-content .spec-model-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.charger-tab-content .spec-grid-card {
  min-height: 66px;
  padding: 10px 14px;
}

.spec-card-arrow {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.spec-grid-card:hover .spec-card-arrow {
  background: rgba(5, 75, 36, 0.1);
  color: var(--color-primary);
}

.spec-grid-card.active .spec-card-arrow {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: var(--color-white);
}

/* Full-Width Specification Detail Drawer Panel */
.spec-detail-panel {
  grid-column: 1 / -1;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(5, 75, 36, 0.1);
  display: none;
  margin: 6px 0;
}

.spec-detail-panel.is-open {
  display: block;
  animation: specPanelSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes specPanelSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spec-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.spec-detail-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.spec-detail-model {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
}

.spec-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(5, 75, 36, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.spec-detail-subtitle {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.spec-detail-close {
  background: var(--color-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.spec-detail-close:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  transform: rotate(90deg);
}

/* 6-Column Specification Cell Grid */
.spec-detail-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.spec-detail-cell {
  background: #fbfdfb;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color var(--transition-fast);
}

.spec-detail-cell:hover {
  border-color: rgba(5, 75, 36, 0.3);
}

.spec-detail-label {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.spec-detail-value {
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

/* Charger Category Tabs */
.charger-tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.charger-tab-btn {
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.charger-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fafcfb;
}

.charger-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(5, 75, 36, 0.22);
}

.charger-tab-btn svg {
  transition: transform var(--transition-fast);
}

.charger-tab-btn.active svg {
  stroke: #ffffff;
}

.charger-tab-content {
  display: none;
}

.charger-tab-content.active {
  display: block;
  animation: tabFadeIn 0.28s ease forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Section: Our Journey / Milestones (Landscape Winding Road Timeline)
   ========================================================================== */
.ht-journey-sec {
  --ht-primary: var(--color-primary);
  --ht-secondary: #083B32;
  --ht-text-color: var(--color-body);
  --ht-hint-text: var(--color-muted);
  --ht-bg-warm: #FAFAF7;
  --ht-bg-section: #EEF6F1;
  --ht-heading-color: var(--color-dark);
  --ht-title-color: var(--color-primary);
  --ht-accent: var(--color-secondary);
  --ht-border-color: #DCE5E1;
  --ht-white: #FFFFFF;
  --ht-font-serif: var(--font-heading);
  --ht-font-sans: var(--font-body);

  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 75px 0 65px 0;
  background: url('../assets/images/journey_bg.webp') center center / cover no-repeat;
  overflow: hidden;
}

.ht-journey-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0.88) 0%, rgba(238, 246, 241, 0.85) 50%, rgba(245, 249, 247, 0.92) 100%);
  z-index: 1;
}

.ht-journey-sec .hi-tech-container,
.hi-tech-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Centered Top Header (Above Timeline) */
.ht-journey-top-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.ht-journey-top-header .ht-badge {
  display: inline-block;
  font-family: var(--ht-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ht-hint-text);
  margin-bottom: 12px;
}

.ht-journey-top-header .ht-heading-lg {
  font-family: var(--ht-font-serif);
  font-size: clamp(2.2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ht-heading-color);
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
  text-align: center;
}

.ht-journey-top-header .ht-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-family: var(--ht-font-sans);
  font-size: 0.95rem;
  color: var(--ht-text-color);
  line-height: 1.6;
  text-align: center;
}

/* Bottom Right Script Text */
.ht-journey-bottom-wrap {
  display: flex;
  justify-content: flex-end;
  max-width: 1240px;
  margin: 28px auto 0 auto;
  padding-right: 15px;
}

.ht-journey-bottom-wrap .ht-journey-script-header {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  letter-spacing: -0.01em;
  text-align: right;
}

.ht-btn-journey {
  background-color: transparent;
  color: var(--ht-primary);
  border: 1.5px solid var(--ht-primary);
  padding: 12px 26px;
  font-family: var(--ht-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ht-btn-journey:hover {
  background-color: var(--ht-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 93, 59, 0.25);
}

.ht-btn-journey i {
  transition: transform 0.3s ease;
}

.ht-btn-journey:hover i {
  transform: translateX(4px);
}

/* Timeline Wrapper (Full Width) */
.ht-curved-timeline-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 0px;
}

.ht-journey-path-svg {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
  pointer-events: none;
}

.ht-curved-milestones-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.ht-curved-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ht-curved-node-item:hover {
  transform: translateY(-6px);
}

/* Staggered Vertical Offsets for Curved Road Path Effect */
.node-pos-1 { margin-top: 30px; }
.node-pos-2 { margin-top: 0px; }
.node-pos-3 { margin-top: 35px; }
.node-pos-4 { margin-top: 5px; }
.node-pos-5 { margin-top: 25px; }

/* Circular Nodes & Rings */
.ht-node-circle-outer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(11, 93, 59, 0.25);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.ht-curved-node-item:hover .ht-node-circle-outer {
  border-color: var(--ht-primary);
  box-shadow: 0 10px 24px rgba(11, 93, 59, 0.2);
}

.ht-node-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ht-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(11, 93, 59, 0.3);
}

.node-accent .ht-node-circle-icon,
.icon-accent {
  background: #083B32;
  box-shadow: 0 4px 12px rgba(8, 59, 50, 0.4);
}

.ht-node-year {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.ht-node-title {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.ht-node-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-body);
  margin: 0;
  line-height: 1.5;
  max-width: 150px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (DESKTOP & MOBILE)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 998;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: #20ba59;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.whatsapp-float-btn:active {
  transform: scale(0.96);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

/* Subtle breathing pulse ring */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Desktop Tooltip Pill */
.whatsapp-float-tooltip {
  position: absolute;
  right: 68px;
  background-color: #1e293b;
  color: #ffffff;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1e293b;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-float-tooltip {
    display: none !important;
  }
}



