/* ============================================================
   Helix Build Technologies — Custom Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------- */
:root {
  --hb-green:        #1b3a2d;
  --hb-green-mid:    #2a5c45;
  --hb-green-light:  #3a7a5e;
  --hb-amber:        #e8a020;
  --hb-amber-hover:  #c98818;
  --hb-light:        #f4f9f6;
  --hb-white:        #ffffff;
  --hb-gray-100:     #f8f9fa;
  --hb-gray-200:     #e9ecef;
  --hb-gray-500:     #6b7280;
  --hb-gray-700:     #495057;
  --hb-gray-900:     #212529;
  --hb-text:         #1a1a1a;
  --hb-text-muted:   #6b7280;
  --hb-shadow-sm:    0 2px 8px rgba(27,58,45,.10);
  --hb-shadow-md:    0 6px 24px rgba(27,58,45,.14);
  --hb-shadow-lg:    0 12px 40px rgba(27,58,45,.18);
  --hb-radius:       .625rem;
  --hb-radius-lg:    1rem;
  --hb-transition:   .28s ease;
  --hb-font:         'Poppins', sans-serif;

  /* Legacy aliases kept for any inline styles that still reference nb- vars */
  --nb-navy:         #1b3a2d;
  --nb-navy-mid:     #2a5c45;
  --nb-navy-light:   #2a5c45;
  --nb-blue:         #e8a020;
  --nb-blue-dark:    #c98818;
  --nb-blue-light:   #f0b84a;
  --nb-teal:         #3a7a5e;
  --nb-white:        #ffffff;
  --nb-off-white:    #f4f9f6;
  --nb-gray-100:     #f8f9fa;
  --nb-gray-200:     #e9ecef;
  --nb-gray-500:     #6b7280;
  --nb-gray-700:     #495057;
  --nb-gray-900:     #212529;
  --nb-text:         #1a1a1a;
  --nb-shadow-sm:    0 2px 8px rgba(27,58,45,.10);
  --nb-shadow-md:    0 6px 24px rgba(27,58,45,.14);
  --nb-shadow-lg:    0 12px 40px rgba(27,58,45,.18);
  --nb-radius:       .625rem;
  --nb-radius-lg:    1rem;
  --nb-transition:   .28s ease;
  --nb-font:         'Poppins', sans-serif;
}

/* ----------------------------------------------------------
   2. Global Reset / Base
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hb-font);
  color: var(--hb-text);
  background-color: var(--hb-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--hb-green);
}

a {
  color: var(--hb-green-mid);
  text-decoration: none;
  transition: color var(--hb-transition);
}

a:hover {
  color: var(--hb-amber);
}

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

/* ----------------------------------------------------------
   3. Utility Classes
   ---------------------------------------------------------- */
.text-green   { color: var(--hb-green) !important; }
.text-amber   { color: var(--hb-amber) !important; }
.bg-green     { background-color: var(--hb-green) !important; }
.bg-light-hb  { background-color: var(--hb-light) !important; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-amber);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--hb-green);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--hb-gray-500);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--hb-amber), var(--hb-green-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.divider-left {
  margin: 0 0 1.5rem;
}

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */
.btn-nb-primary {
  background: linear-gradient(135deg, var(--hb-amber) 0%, var(--hb-amber-hover) 100%);
  color: var(--hb-white);
  border: none;
  padding: .7rem 1.8rem;
  border-radius: var(--hb-radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition), filter var(--hb-transition);
  display: inline-block;
}

.btn-nb-primary:hover,
.btn-nb-primary:focus {
  color: var(--hb-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,160,32,.40);
  filter: brightness(1.08);
}

.btn-nb-outline {
  background: transparent;
  color: var(--hb-white);
  border: 2px solid rgba(255,255,255,.7);
  padding: .65rem 1.75rem;
  border-radius: var(--hb-radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--hb-transition), border-color var(--hb-transition), color var(--hb-transition), transform var(--hb-transition);
  display: inline-block;
}

.btn-nb-outline:hover,
.btn-nb-outline:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--hb-white);
  color: var(--hb-white);
  transform: translateY(-2px);
}

.btn-nb-outline-dark {
  background: transparent;
  color: var(--hb-green-mid);
  border: 2px solid var(--hb-green-mid);
  padding: .55rem 1.4rem;
  border-radius: var(--hb-radius);
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--hb-transition), color var(--hb-transition), transform var(--hb-transition);
  display: inline-block;
}

.btn-nb-outline-dark:hover,
.btn-nb-outline-dark:focus {
  background: var(--hb-green-mid);
  color: var(--hb-white);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   5. Navbar
   ---------------------------------------------------------- */
.navbar-nb {
  background-color: var(--hb-green);
  padding: 1rem 0;
  transition: padding var(--hb-transition), box-shadow var(--hb-transition);
}

.navbar-nb.scrolled {
  padding: .55rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.navbar-nb .navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.navbar-nb .brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--hb-amber), var(--hb-amber-hover));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.navbar-nb .brand-text {
  line-height: 1.15;
}

.navbar-nb .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hb-white);
  display: block;
}

.navbar-nb .brand-tagline {
  font-size: .65rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}

.navbar-nb .nav-link {
  color: rgba(255,255,255,.8) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .45rem .9rem !important;
  border-radius: 6px;
  transition: color var(--hb-transition), background var(--hb-transition);
}

.navbar-nb .nav-link:hover,
.navbar-nb .nav-link.active {
  color: var(--hb-white) !important;
  background: rgba(255,255,255,.08);
}

.navbar-nb .nav-cta {
  background: var(--hb-amber);
  color: var(--hb-white) !important;
  border-radius: 6px;
  padding: .4rem 1.1rem !important;
  margin-left: .5rem;
  transition: background var(--hb-transition), transform var(--hb-transition);
}

.navbar-nb .nav-cta:hover {
  background: var(--hb-amber-hover) !important;
  transform: translateY(-1px);
}

.navbar-nb .navbar-toggler {
  border-color: rgba(255,255,255,.3);
  padding: .35rem .6rem;
}

.navbar-nb .navbar-toggler-icon {
  filter: invert(1);
}

/* ----------------------------------------------------------
   6. Hero Section
   ---------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--hb-green) 0%, var(--hb-green-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,160,32,.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(58,122,94,.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,160,32,.18);
  border: 1px solid rgba(232,160,32,.40);
  color: #f0b84a;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: .7rem;
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-heading .accent {
  background: linear-gradient(90deg, var(--hb-amber), #f0c060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-mockup-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--hb-radius-lg);
  padding: 1.5rem;
  color: white;
}

.hero-mockup-card .card-header-nb {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.hero-mockup-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hb-amber), var(--hb-amber-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-mockup-card .card-title-nb {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.hero-mockup-card .card-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

.progress-item {
  margin-bottom: .9rem;
}

.progress-item .p-label {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .3rem;
}

.progress-nb {
  height: 6px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  overflow: hidden;
}

.progress-nb .bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hb-amber), #f0c060);
}

.floating-badge {
  position: absolute;
  background: var(--hb-white);
  border-radius: var(--hb-radius);
  padding: .6rem .9rem;
  box-shadow: var(--hb-shadow-lg);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--hb-green);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-1 {
  top: -16px;
  right: -10px;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: -16px;
  left: -10px;
  animation-delay: 2s;
}

.floating-badge .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--hb-amber), var(--hb-amber-hover));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ----------------------------------------------------------
   7. Feature Cards (Home)
   ---------------------------------------------------------- */
.features-section {
  padding: 5rem 0;
  background: var(--hb-light);
}

.feature-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--hb-gray-200);
  box-shadow: var(--hb-shadow-sm);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hb-amber), var(--hb-green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hb-transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hb-shadow-lg);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(232,160,32,.12), rgba(42,92,69,.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--hb-green-mid);
  margin-bottom: 1.25rem;
  transition: background var(--hb-transition);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--hb-green-mid), var(--hb-green-light));
  color: var(--hb-white);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--hb-gray-500);
  margin: 0;
}

/* ----------------------------------------------------------
   8. Stats / Why Choose Us
   ---------------------------------------------------------- */
.why-section {
  padding: 5rem 0;
  background: var(--hb-white);
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .stat-icon {
  font-size: 2.2rem;
  color: var(--hb-amber);
  margin-bottom: .75rem;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hb-green);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-card .stat-text {
  font-size: .88rem;
  color: var(--hb-gray-500);
  font-weight: 500;
}

/* ----------------------------------------------------------
   9. Testimonials
   ---------------------------------------------------------- */
.testimonials-section {
  padding: 5rem 0;
  background: var(--hb-light);
}

.testimonial-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--hb-gray-200);
  box-shadow: var(--hb-shadow-sm);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow-md);
}

.testimonial-card .stars {
  color: var(--hb-amber);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: .93rem;
  color: var(--hb-gray-700);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hb-green-mid), var(--hb-green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--hb-green);
  margin: 0;
}

.author-info .role {
  font-size: .77rem;
  color: var(--hb-gray-500);
  margin: 0;
}

/* Trusted-by logos strip */
.trusted-section {
  padding: 3rem 0;
  background: var(--hb-green);
}

.trusted-section .trusted-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.5rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trusted-logo-item {
  color: rgba(255,255,255,.35);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  transition: color var(--hb-transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.trusted-logo-item:hover {
  color: rgba(255,255,255,.7);
}

/* ----------------------------------------------------------
   10. About Page
   ---------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--hb-green) 0%, var(--hb-green-mid) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(232,160,32,.12), transparent);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--hb-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 540px;
}

.breadcrumb-nb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-nb .breadcrumb-item {
  font-size: .82rem;
}

.breadcrumb-nb .breadcrumb-item a {
  color: rgba(255,255,255,.55);
}

.breadcrumb-nb .breadcrumb-item.active {
  color: rgba(255,255,255,.85);
}

.breadcrumb-nb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.35);
}

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background: var(--hb-white);
}

.mission-img-placeholder {
  background: linear-gradient(135deg, var(--hb-green) 0%, var(--hb-green-mid) 100%);
  border-radius: var(--hb-radius-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.4);
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.mission-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,160,32,.18), transparent);
}

.mission-img-placeholder span {
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.mission-img-placeholder i {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.3);
}

/* Team */
.team-section {
  padding: 5rem 0;
  background: var(--hb-light);
}

.team-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hb-gray-200);
  box-shadow: var(--hb-shadow-sm);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hb-shadow-lg);
}

.team-avatar {
  background: linear-gradient(135deg, var(--hb-green) 0%, var(--hb-green-mid) 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 3px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,.6);
}

.team-info {
  padding: 1.4rem;
}

.team-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.team-info .role {
  font-size: .8rem;
  color: var(--hb-amber);
  font-weight: 600;
  margin-bottom: .6rem;
}

.team-info p {
  font-size: .83rem;
  color: var(--hb-gray-500);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: .6rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--hb-gray-100);
  color: var(--hb-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  transition: background var(--hb-transition), color var(--hb-transition);
}

.team-social a:hover {
  background: var(--hb-amber);
  color: white;
}

/* Values */
.values-section {
  padding: 5rem 0;
  background: var(--hb-white);
}

.value-card {
  padding: 1.75rem;
  border-left: 4px solid var(--hb-amber);
  background: var(--hb-light);
  border-radius: 0 var(--hb-radius) var(--hb-radius) 0;
  height: 100%;
  transition: border-color var(--hb-transition), transform var(--hb-transition);
}

.value-card:hover {
  border-color: var(--hb-green-mid);
  transform: translateX(4px);
}

.value-card .v-icon {
  font-size: 1.6rem;
  color: var(--hb-amber);
  margin-bottom: .75rem;
}

.value-card h5 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.value-card p {
  font-size: .85rem;
  color: var(--hb-gray-500);
  margin: 0;
}

/* Timeline */
.timeline-section {
  padding: 5rem 0;
  background: var(--hb-light);
}

.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--hb-amber), var(--hb-green-light));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2rem);
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.1rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hb-amber);
  border: 3px solid var(--hb-white);
  box-shadow: 0 0 0 2px var(--hb-amber);
  z-index: 1;
}

.timeline-content {
  background: var(--hb-white);
  border-radius: var(--hb-radius);
  padding: 1.25rem 1.5rem;
  max-width: 320px;
  box-shadow: var(--hb-shadow-sm);
  border: 1px solid var(--hb-gray-200);
}

.timeline-content .year {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-amber);
  margin-bottom: .3rem;
}

.timeline-content h5 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.timeline-content p {
  font-size: .83rem;
  color: var(--hb-gray-500);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 14px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 2.5rem;
  }
  .timeline-dot {
    left: 14px;
  }
}

/* ----------------------------------------------------------
   11. Products Page
   ---------------------------------------------------------- */
.products-section {
  padding: 5rem 0;
}

.products-section:nth-child(even) {
  background: var(--hb-light);
}

.products-section:nth-child(odd) {
  background: var(--hb-white);
}

.product-category-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-category-badge.construction {
  background: rgba(42,92,69,.10);
  color: var(--hb-green-mid);
  border: 1px solid rgba(42,92,69,.25);
}

.product-category-badge.medical {
  background: rgba(232,160,32,.12);
  color: var(--hb-amber-hover);
  border: 1px solid rgba(232,160,32,.28);
}

.product-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--hb-gray-200);
  box-shadow: var(--hb-shadow-sm);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hb-shadow-lg);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.product-card-icon.construction {
  background: linear-gradient(135deg, rgba(42,92,69,.15), rgba(27,58,45,.15));
  color: var(--hb-green-mid);
}

.product-card-icon.medical {
  background: linear-gradient(135deg, rgba(232,160,32,.15), rgba(201,136,24,.15));
  color: var(--hb-amber-hover);
}

.product-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.product-card .product-version {
  font-size: .72rem;
  color: var(--hb-gray-500);
  font-weight: 500;
  margin-bottom: .75rem;
}

.product-card p {
  font-size: .88rem;
  color: var(--hb-gray-700);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-features li {
  font-size: .82rem;
  color: var(--hb-gray-700);
  padding: .2rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.product-features li i {
  color: var(--hb-green-mid);
  font-size: .7rem;
  flex-shrink: 0;
}

/* Construction product features use green check */
.product-card-icon.construction ~ ul.product-features li i {
  color: var(--hb-green-mid);
}

/* Medical product features use amber check */
.product-card-icon.medical ~ ul.product-features li i {
  color: var(--hb-amber);
}

/* ----------------------------------------------------------
   12. Contact Page
   ---------------------------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background: var(--hb-light);
}

.contact-form-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--hb-shadow-md);
  border: 1px solid var(--hb-gray-200);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.contact-form-card .form-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--hb-gray-700);
  margin-bottom: .3rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
  font-family: var(--hb-font);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--hb-green-mid);
  box-shadow: 0 0 0 3px rgba(42,92,69,.12);
  outline: none;
}

.contact-info-card {
  background: var(--hb-green);
  border-radius: var(--hb-radius-lg);
  padding: 2.5rem;
  color: white;
  height: 100%;
}

.contact-info-card h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: .4rem;
}

.contact-info-card .sub {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232,160,32,.2);
  border: 1px solid rgba(232,160,32,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-amber);
  font-size: .9rem;
  flex-shrink: 0;
}

.contact-info-item .ci-text .label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .15rem;
}

.contact-info-item .ci-text .value {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  margin: 0;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--hb-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  gap: .5rem;
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
}

.map-placeholder i {
  font-size: 2rem;
  color: rgba(255,255,255,.2);
}

.contact-map-section {
  height: 380px;
  background: var(--hb-gray-200);
  position: relative;
  overflow: hidden;
}

.contact-map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(.3);
}

.map-overlay-text {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,45,.65), rgba(27,58,45,.35));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  pointer-events: none;
}

/* Form feedback */
#form-alert {
  display: none;
  margin-top: 1rem;
  border-radius: var(--hb-radius);
}

/* ----------------------------------------------------------
   13. Footer
   ---------------------------------------------------------- */
.footer {
  background: var(--hb-green);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--hb-amber), var(--hb-amber-hover));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  margin-bottom: .75rem;
}

.footer-brand .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: .2rem;
}

.footer-brand .brand-tag {
  font-size: .73rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .05em;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  margin: 1rem 0 1.25rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: .6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background var(--hb-transition), color var(--hb-transition), transform var(--hb-transition);
}

.footer-social a:hover {
  background: var(--hb-amber);
  color: white;
  transform: translateY(-2px);
}

.footer h6 {
  color: white;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .55rem;
}

.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  transition: color var(--hb-transition), padding-left var(--hb-transition);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.footer-links a:hover {
  color: var(--hb-amber);
  padding-left: 4px;
}

.footer-links a i {
  font-size: .6rem;
  flex-shrink: 0;
}

.footer-newsletter input {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--hb-radius) 0 0 var(--hb-radius);
  color: white;
  font-size: .85rem;
  padding: .55rem 1rem;
  transition: border-color var(--hb-transition);
  font-family: var(--hb-font);
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,.3);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--hb-amber);
  background: rgba(255,255,255,.09);
  box-shadow: none;
}

.footer-newsletter .btn-subscribe {
  background: var(--hb-amber);
  color: white;
  border: none;
  border-radius: 0 var(--hb-radius) var(--hb-radius) 0;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--hb-transition);
  white-space: nowrap;
}

.footer-newsletter .btn-subscribe:hover {
  background: var(--hb-amber-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  transition: color var(--hb-transition);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,.7);
}

/* ----------------------------------------------------------
   14. Scroll Animations
   ---------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }

/* ----------------------------------------------------------
   15. CTA Banner
   ---------------------------------------------------------- */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--hb-green) 0%, var(--hb-green-mid) 60%, #2a5c45 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,160,32,.18), transparent);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
}

/* ----------------------------------------------------------
   16. Misc / Helpers
   ---------------------------------------------------------- */
.section-padding {
  padding: 5rem 0;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--hb-amber);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--hb-shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--hb-transition), transform var(--hb-transition), background var(--hb-transition);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--hb-amber-hover);
}

/* Loading spinner */
.spinner-nb {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------
   17. Responsive Tweaks
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-visual {
    margin-top: 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .navbar-nb .nav-cta {
    margin-left: 0;
    margin-top: .25rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 6rem 0 3rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

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

  .footer-bottom-links {
    justify-content: center;
    margin-top: .5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 1.9rem;
  }

  .hero-card-stack {
    max-width: 320px;
  }

  .floating-badge {
    display: none;
  }

  .timeline-content {
    max-width: 100%;
  }
}
