/* === site.css (consolidated) === */

/* ============================================= */
/* Haio Navigation Menu Styles                  */
/* ============================================= */

/* Global Body */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  --blue: #1a237e;
  --light-blue: #3949ab;
  --purple: #6366f1;
  --green: #00c853;
}

.bg-primary-custom {
  background: linear-gradient(135deg, var(--blue) 0%, var(--light-blue) 100%);
}

/* ============================================= */
/* NAVBAR BASE STYLES                           */
/* ============================================= */
.navbar {
  height: 80px; /* Fixed height */
  padding: 0 1rem;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1050;
  transition: background 0.3s ease, height 0.3s ease;
  box-sizing: border-box;
}

/* Logo Styles */
.logo-circle {
  width: 32px;
  height: 32px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle-dark{
  width: 32px;
  height: 32px;
  background-color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  color: var(--blue);
  font-weight: bold;
  font-size: 16px;
}

.logo-text-dark {
  color: white;
  font-weight: bold;
  font-size: 16px;
}


.brand-text {
  font-weight: 600;
  font-size: 16px;
}

/* Brand Logo */
.navbar-brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* For Home Page Bigger Logo */
.home-page .navbar-brand img {
  height: 80px;
}

/* ============================================= */
/* NAV LINKS                                    */
/* ============================================= */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  height: 80px;
  line-height: 80px;
  padding: 0 1rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Underline Hover Effect */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00c853;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}


/* ============================================= */
/* MEGA MENU (Desktop)                          */
/* ============================================= */

/* Caret Icon (Enhanced for Vertical Centering) */
.caret-icon {
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
  line-height: 1; /* Match link line-height */
  vertical-align: middle; /* Fallback for inline alignment */
}

/* Navbar Alignment Fixes (Keep as Is, but Ensure No Conflicts) */
.navbar-collapse {
  display: flex;
  align-items: center; /* Vertically center all content within the collapse container */
}

.navbar-nav {
  display: flex;
  align-items: center; /* Vertically center the navigation links */
}

.navbar-nav .nav-link:hover {
  color: white !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 0.5rem; /* Standardize top padding for alignment with links */
  padding-bottom: 0.5rem; /* Standardize bottom padding */
  margin: 0; /* Remove any default margins that could cause offset */
}

.dropdown {
    margin: 0rem !important;
}

.megamenu-item:hover .caret-icon,
.megamenu-item.show .caret-icon {
  transform: rotate(180deg);
}

/* Megamenu Styles */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  width: 600px;
  max-width: 90vw;
  background: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
}

.megamenu.show {
  opacity: 1;
  visibility: visible;
}

/* Megamenu Caret */
.megamenu-caret {
  position: absolute;
  top: -8px;
  left: 60px;
  transform: none;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* Megamenu Content */
.megamenu-title {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.megamenu-item {
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

/* Megamenu: make whole tile clickable & remove underlines */
.dropdown-menu.megamenu .megamenu-item{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  width:100%;
  padding:.6rem .8rem;
  border-radius:.5rem;
  color:inherit;
  text-decoration:none;            /* no underline */
  transition:background .15s ease, box-shadow .15s ease;
}
.dropdown-menu.megamenu .megamenu-item:hover{
  background-color: #d0ecdb ;  /* Explicitly set to white to prevent any color shift */
  text-decoration:none;            /* keep no-underline on hover */
}
.dropdown-menu.megamenu .megamenu-item:focus-visible{
  outline:2px solid rgba(13,110,253,.6);
  outline-offset:2px;
}
.dropdown-menu.megamenu .megamenu-item-title{
  font-weight:600;
  margin-bottom:.125rem;
}
.dropdown-menu.megamenu .megamenu-icon{
  font-size:1.1rem;
  width:1.75rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:inherit;
}

/* Navbar Link Hover (Darker Blue Background) */
.navbar-nav .nav-link:hover {
    color: white !important;
  border-radius: 8px;
  background-color: #000;  /* Darker blue shade (Hedera's primary blue); adjust hex if needed for a deeper tone, e.g., #0f1563 */
}

/* Mega Menu Item Hover (White or No Change) */
.megamenu .megamenu-item:hover {
  background-color: #d0ecdb ;  /* Explicitly set to white to prevent any color shift */
}

/* Mega Menu (Adjust Padding) */
.megamenu .megamenu-item {
  padding: 0.5rem !important;
}

.megamenu-icon {
  color: #00c853 !important;
  font-size: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.megamenu-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.megamenu-item-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Hover Effect for Megamenu (Desktop Only) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .megamenu {
        opacity: 1;
        visibility: visible;
        display: block; /* Ensures the menu is displayed on hover, overriding any hidden states */
    }

    /* Optional: Smooth positioning to prevent layout jumps */
    .nav-item.dropdown:hover .megamenu {
        margin-top: 0.5rem; /* Matches your existing margin for consistency */
    }

    /* Caret rotation on hover for visual feedback */
    .nav-item.dropdown:hover .caret-icon {
        transform: rotate(180deg);
    }
}
/* ============================================= */
/* HOME VS INNER NAVBAR COLOR                   */
/* ============================================= */
.home-page .scroll-navbar {
  background-color: transparent;
}

.home-page .scroll-navbar.scrolled {
  background: transparent;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar:not(.home-page) {
  background-color: #0a0a0a !important;
}

.navbar:not(.home-page) .nav-link {
  color: #fff !important;
}

/* ============================================= */
/* RESPONSIVE (Mobile)                          */
/* ============================================= */

.logo-mobile {
  height: 50px;
  object-fit: contain;
}

/* Ensure no overlap with content */
@media (max-width: 991px) {
  body {
    padding-top: 48PX; /* space for fixed mobile navbar */
  }
}

@media (max-width: 992px) {
  .dropdown-mega {
    position: static;
    width: 100%;
    padding: 1rem;
    border-top: none;
  }

  .mega-inner {
    flex-direction: column;
    padding: 0;
  }

  .mega-menu-left {
    flex-direction: column;
  }

  .navbar {
    height: auto;
    flex-wrap: wrap;
  }

  .navbar-nav .nav-link {
    height: auto;
    line-height: 1.5;
    padding: 0.75rem 1rem;
  }
}

/* Mobile Menu Styling */
#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
}

/* Active class to show menu */
#mobileMenu.active {
  transform: translateX(0);
}

/* Close button */
#mobileMenu button {
  border: none;
  background: none;
}

/* Rotate accordion arrow only when open */
.accordion-button:not(.collapsed)::after {
  transform: rotate(90deg);
}


/* ============================================= */
/* BODY PADDING FOR INNER PAGES                 */
/* ============================================= */
body.inner-page {
  padding-top: 100px;
}

/* === body (cleaned) === */
.text-success {
color: var(--green) !important;
}
.bg-primary {
background-color: var(--blue) !important;
}
.bg-darker {
background-color: #071427;
}
h2.display-5 {
font-size: 2.5rem;
}
.shadow-sm {
transition: transform 0.2s ease;
}
.shadow-sm:hover {
transform: translateY(-4px);
}
.object-fit-cover {
object-fit: cover;
  object-position: center;
}
.text-primary {
color: var(--blue) !important;
}
.border-secondary {
border-color: var(--green) !important;
}
.bg-1 {
background-color: #bbe1f2;
}
.bg-2 {
background-color: #0A143C;
}
.bg-neon {
background-color: #bcffbc;
}
.bg-cta {
background: linear-gradient(to right, #32cd32, #0cbf61); 
  color: #fff;
}
.bg-9 {
background: linear-gradient(to right, #ffffff 0%, #d6eff3 100%);
}
@media (max-width: 767.98px) {
.bg-why {
    min-height: 300px;
}
}

.display-5 {
font-size: 5rem !important;
}
.custom-accordion-body {
background-color: #e9f4ff;
  padding: 1.25rem;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.learn-more {
padding-top: 0.5rem;
  font-weight: 500;
}
.learn-more a {
color: #0038cc;
  text-decoration: none;
}
.learn-more a:hover {
text-decoration: underline;
}
.hero-section {
height: 70vh;
  overflow: hidden;
  position: relative;
  background-color: #000;
}
.hero-video {
position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); 
  padding: 2rem;
}
.shadow:hover {
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}
input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
input.form-control:focus {
border-color: #ffffff;
  outline: none;
  box-shadow: none;
}
.btn-center-fix {
display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;  
  height: 45px;             
  line-height: 1;           
  font-weight: 600;
  border-radius: 0.5rem;
}
.btn-success {
background: linear-gradient(to right, #32cd32, #0cbf61) !important;
  border: none !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(50, 205, 50, 0.4);
}
.btn-success:hover {
background: linear-gradient(to right, #2bb52b, #0aa954) !important;
  box-shadow: 0 0 12px rgba(44, 187, 44, 0.6);
}
.btn-float {
animation: floatButton 2s ease-in-out infinite;
}
@keyframes floatButton {
0%, 100% { transform: translateY(0);
}
50% {
box-shadow: 0 0 12px rgba(50,205,50, 0.8);
}
}

.btn-glow {
animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
0% { box-shadow: 0 0 0px rgba(50,205,50, 0.4);
}
100% {
box-shadow: 0 0 0px rgba(50,205,50, 0.4);
}
}




.help-flex {
display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 20px;
}
.help-wrapper {
background-color: #fff;
}
.help-inner-box {
background-color: #071427;
  border-radius: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.help-inner-box h2 {
color: #fff;
  font-size: 1.5rem;      
  font-weight: normal;    
  margin-bottom: 1rem;
}
.help-inner-box p.text-muted {
color: #aaa !important;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.help-card {
background-color: transparent;
  border: 1px solid #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left; 
  height: 200px;          
  width: 180px;           
  padding: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.help-card p {
color: #fff;
  font-size: 0.8rem;    
  margin-bottom: auto;
}
.help-card:hover {
background-color: rgba(255, 255, 255, 0.05);
  border-color: #0aa954;  
  transform: scale(1.03);
}
.select-link {
color: #0aa954;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: normal;
  text-decoration: none;
  transition: color 0.3s ease;
}
.select-link:hover {
color: #08c043; 
  text-decoration: none;
}
@media (max-width: 768px) {
.help-card {
    width: 48%;
}
}

@media (max-width: 576px) {
.help-card {
    width: 100%;
}
}


.footer-dark {
background-color: #071427;
  font-size: 0.8rem;
}
.footer-dark h6 {
font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.footer-link {
color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.footer-link:hover {
color: #0aa954;
}
.footer-dark .social-icons a {
color: #bbb;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.footer-dark .social-icons a:hover {
color: #0aa954;
}
.footer-dark hr {
opacity: 0.2;
}
.footer-dark .list-inline a {
color: #bbb;
}
.footer-dark .list-inline a:hover {
color: #0aa954;
}
.footer-dark .col-with-border {
border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
}
.breadcrumb-section {
margin-top: 0;
  padding: 0.5rem 1rem;
  background: #fff;
}
.breadcrumb-wrapper {
display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0.5rem 1rem;
  font-size: 14px;
}
@media (max-width: 576px) {
.floating-buttons {
    flex-direction: column !important;
}
.breadcrumb-wrapper .breadcrumb-item {
display: inline-block;
}
.breadcrumb-wrapper a {
text-decoration: none;
    color: #00c853;
}
}


.custom-breadcrumb .breadcrumb-item {
font-size: 0.6rem; 
  font-weight: 500;
  color: #333;
}
.custom-breadcrumb .breadcrumb-item a {
text-decoration: none;
  color: #333;
}
.custom-breadcrumb .breadcrumb-item a:hover {
color: #0a1628;
}
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
content: "›"; 
  color: #999;
  font-size: 0.6rem;
  padding: 0 0.4rem;
}
.about-section {
background: #fff;
  color: #111;
  font-family: 'Poppins', sans-serif;
}
.main-title {
font-size: 2.5rem;
  color: #32cd32;
}
.sub-title {
font-size: 1.3rem;
  font-weight: 400;
  color: #333;
}
.divider {
width: 50px;
  height: 3px;
  background: #111;
  border: none;
  margin: 1rem 0;
}
.description {
max-width: 900px;
  text-align: left;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}
.info-card {
background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1rem;
  border-left: 4px solid #32cd32; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.info-card h3 {
font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.info-card p {
font-size: 0.95rem;
  color: #666;
}
.cta-section {
background-color: #0a1628;
}
.cta-section h2 {
font-size: 2rem;
  line-height: 1.3;
}
.cta-section .btn {
font-size: 1rem;
  transition: all 0.3s ease;
}
.cta-section .btn:hover {
opacity: 0.85;
}
.products-section {
background: #fff;
}
.section-title {
font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
}
.section-divider {
width: 60px;
  height: 3px;
  background: #000;
  border: none;
  margin: 1rem 0;
}
.section-intro {
max-width: 800px;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}
.service-card {
position: relative;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.service-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.service-card .icon {
color: #c00;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.service-card h5 {
margin-bottom: 0.25rem;
}
.service-card p {
font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.service-card .arrow {
position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #c00;
  font-size: 1.2rem;
  font-weight: bold;
}
.image-box {
background: #ffcc00;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-box img {
max-width: 100%;
  height: auto;
}
.step {
animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px);
}
to {
opacity: 1; transform: translateY(0);
}
}



#gstResult {
position: relative;
  background: #fff;
  overflow: hidden;
}
#gstResult::before {
content: "GST Draft Computation by HAIO 56 PTE LTD  •  GST Draft Computation by HAIO 56 PTE LTD  •  GST Draft Computation by HAIO 56 PTE LTD  •  GST Draft Computation by HAIO 56 PTE LTD  •  ";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  transform: rotate(-30deg);
  font-size: 24px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.12); 
  white-space: pre-wrap;
  line-height: 50px; 
  z-index: 999; 
  pointer-events: none;
}
#gstResult .watermark {
position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  background: url('assets/logo.png') no-repeat center;
  background-size: 200px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
#gstResult table,
#gstResult h6,
#gstResult p {
position: relative;
  z-index: 1;
}
.intro-section {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

.intro-underline {
width: 60px;
  height: 4px;
  background: #10b981;
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}
.intro-title {
font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.intro-underline-bottom {
width: 40px;
  height: 3px;
  background: #10b981;
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}
.intro-description {
font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.counter {
color: var(--green);
}
.counter-sub {
font-size: 0.8rem;   
  font-weight: 500;     
  color: #555;          
  margin-top: 0.5rem;
}
.service-title {
font-weight: 600;
  color: #002b5c;
}
.service-desc {
font-size: 0.95rem;
  color: #555;
}
.service-link {
color: #28a745; 
  font-weight: bold;
  text-decoration: none;
}
.service-link:hover {
transform: translateX(5px);
}
.service-box {
background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}
.service-box:hover {
background: #e9f5f0;
  transform: translateY(-5px);
}
.service-icon img {
filter: grayscale(20%);
}
.family-lead {
font-size: 0.85rem;
  letter-spacing: 0.5px;
}


/* Top-align the two columns */
.intro-section .row { align-items: start !important; }

/* Timeline (refined) */
.intro-section .hc-timeline{
  /* tune these to taste */
  --tl-gutter: 64px;   /* space for bar + dot column */
  --dot-col:   32px;   /* dot column width */
  --bar-w:       8px;  /* bar thickness */
  --year-w:     74px;
  --year-h:     32px;
  --dot-size:   16px;

  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 0 8px var(--tl-gutter);
}

/* ✅ Bar centered under the dots (includes gutter in the math) */
.intro-section .hc-timeline::before{
  content: "";
  position: absolute;
  left: calc(var(--tl-gutter) + var(--dot-col)/2 - var(--bar-w)/2);
  top: 0; bottom: 0;
  width: var(--bar-w);
  border-radius: var(--bar-w);
  background: linear-gradient(180deg,#1f3aa6 0%, #28a745 100%);
}

.intro-section .hc-tl-item { margin: 22px 0; }

.intro-section .hc-tl-text .tl-link{
  text-decoration: none;
  color: #1f3aa6;
  font-weight: 700;
}
.intro-section .hc-tl-text .tl-link:hover,
.intro-section .hc-tl-text .tl-link:focus-visible{
  color: #22c55e;
  text-decoration: none;
}

/* [dot | year | text] */
.intro-section .hc-tl-row{
  display: grid;
  grid-template-columns: var(--dot-col) var(--year-w) 1fr;
  align-items: center;
  column-gap: 16px;
}

/* Dot */
.intro-section .hc-tl-dot{
  position: relative;       /* make it a stacking context */
  z-index: 2;               /* lift above the bar */
  justify-self: center;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #fff;
  border: 4px solid #28a745;
  box-shadow: 0 0 0 4px rgba(40,167,69,.18);
}

/* Year pill */
.intro-section .hc-tl-year{
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--year-w); height: var(--year-h);
  font-weight: 700; white-space: nowrap;
  color:#1f3aa6; background:rgba(31,58,166,.08);
  border:1px solid rgba(31,58,166,.18); border-radius:999px;
}

/* Text */
.intro-section .hc-tl-text{ color:#5f6b7a; line-height:1.6; }

/* Desktop + Mobile use the same structure */
@media (max-width: 991.98px){
  .intro-section .hc-timeline{
    --tl-gutter: 16px;   /* smaller gutter for mobile */
    padding: 16px 0 16px var(--tl-gutter);
  }
  .intro-section .hc-timeline::before{
    left: calc(var(--tl-gutter) + var(--dot-col)/2 - var(--bar-w)/2);
    transform: none; /* keep aligned to left, not centered */
  }
  .intro-section .hc-tl-row{
    grid-template-columns: var(--dot-col) var(--year-w) 1fr;
    text-align: left;
    row-gap: 0;
  }
  .intro-section .hc-tl-dot{ justify-self: center; }
  .intro-section .hc-tl-year{ margin: 0; }
}

/* ================================
   SERVICES (scoped to .svc)
   ================================ */

.svc {
  /* quick theming */
  --radius: 16px;
  --pad: 16px;
  --elev: 0 6px 24px rgba(16,24,40,.08);
  --elev-hover: 0 10px 30px rgba(16,24,40,.14);

  /* chip */
  --chip-bg: rgba(255,255,255,.92);
  --chip-fg: #0b2149;
  --chip-bg-hover: #22c55e;
  --chip-fg-hover: #fff;
}

/* Base card (works for <a> or <div>) */
.svc .svc-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--elev);
  transition: box-shadow .25s ease;
}
@media (min-width: 992px){
  .svc .svc-card{ min-height: 320px; }
}
.svc .svc-card:hover{ box-shadow: var(--elev-hover); } /* no translate jump */

/* Common children */
.svc .svc-content{
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  color: #fff;
  z-index: 2;
}
.svc .svc-content h3,
.svc .svc-content h5{ font-weight: 700; margin: 0 0 .25rem; }

.svc img.object-fit-cover{ object-fit: cover; width: 100%; height: 100%; }

/* ---------- IMAGE VARIANT ---------- */
.svc .svc-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 100%);
  transition: opacity .25s ease;
  z-index: 1;
}
.svc .svc-card:hover .svc-overlay{ opacity: .9; }

/* ---------- COLOR VARIANT ---------- */
.svc .svc-card.svc-color{
  isolation: isolate; /* keep pseudo elements inside */
  background: linear-gradient(135deg, var(--from, #1f3aa6), var(--to, #22c55e));
}
.svc .svc-card.svc-color > img,
.svc .svc-card.svc-color .svc-overlay{ display: none !important; }

/* Accent glow */
.svc .svc-card.svc-color::after{
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 360px at -10% -10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(720px 280px at 120% 120%, rgba(0,0,0,.12), transparent 60%);
}

/* Optional MONOGRAM (only when data-mono is present) */
.svc .svc-card.svc-color[data-mono]::before{
  content: attr(data-mono);
  position: absolute; z-index: 1; pointer-events: none;
  left: var(--mono-x, 1rem);
  top:  var(--mono-y, .5rem);
  transform: rotate(var(--mono-rot, -8deg));
  font-weight: 900; text-transform: uppercase; letter-spacing: .08em; line-height: .85;
  font-size: clamp(80px, 12vw, 180px);
  color: rgba(255,255,255,.10);
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  white-space: nowrap;
}

/* ---------- MINI GRID & CHIPS ---------- */
.svc .svc-nxgn .svc-content{ bottom: var(--pad); }

.svc .svc-minigrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 991.98px){
  .svc .svc-minigrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px){
  .svc .svc-minigrid{ grid-template-columns: 1fr 1fr; gap: 6px; }
}

.svc .svc-mini{
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; text-align: center; white-space: normal;
  font-weight: 700; font-size: .92rem; line-height: 1.1;
  padding: 10px 12px; border-radius: 12px;
  background: var(--chip-bg); color: var(--chip-fg);
  box-shadow: 0 6px 18px rgba(16,24,40,.12);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.svc .svc-mini:hover,
.svc .svc-mini:focus-visible{
  background: var(--chip-bg-hover); color: var(--chip-fg-hover);
  box-shadow: 0 8px 22px rgba(34,197,94,.35);
  outline: none;
}
@media (max-width: 575.98px){
  .svc .svc-mini{ font-size: .85rem; padding: 9px 10px; }
}

/* ---------- ACCESSIBILITY / PREFERS ---------- */
@media (prefers-reduced-motion: reduce){
  .svc .svc-card,
  .svc .svc-overlay,
  .svc .svc-mini{ transition: none !important; }
}


/* NEW DELETE BELOW */
/* Prominent left label */
.eyebrow-prominent{
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1rem;           /* make it stand out more */
  color: var(--blue);               /* darker than body text */
}

/* Right block: smaller, right-aligned headline */
.purpose{
  line-height: 1.15;
}
.purpose-strong{
  font-weight: 700;
  font-size: clamp(1.35rem, 1.6vw + 0.9rem, 2.05rem);  /* smaller than a display */
  color: var(--green);
}
.purpose-muted{
  margin-top: .25rem;
  font-weight: 400;
  color: rgba(0,0,0,.45);     /* lighter grey like the reference */
  font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.6rem);   /* clearly smaller than the main line */
}

/* Optional tighter top/bottom spacing on mobile */
@media (max-width: 575.98px){
  .haio-about{ padding-top: 2rem; padding-bottom: 2rem; }
}

.wwd-eyebrow{
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1rem;           /* make it stand out more */
  color: var(--blue);               /* darker than body text */
}

/* Large headline on the left */
.wwd-headline{
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  /* Big but not oversized; tweak the clamp if needed */
  font-size: clamp(1.75rem, 3.2vw + .5rem, 3.2rem);
  color: #111;
}

/* Right explainer + icon */
.wwd-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 36px; height: 36px;
  border-radius: 999px;
  color: rgba(0,0,0,.55);
  border: 1px solid rgba(0,0,0,.12);
}
.wwd-aside{
  color: rgba(0,0,0,.55);
  max-width: 28rem;              /* keep narrow like the reference */
}

/* =========================
   THEME TOKENS (tweak freely)
   ========================= */
:root{
  --hc-accent: #22c55e;           /* Haio green */
  --hc-ink: #111;
  --hc-muted: rgba(0,0,0,.6);
  --hc-surface: #fff;
  --hc-soft: rgba(34,197,94,.08); /* soft green tint */
}

/* ============== HERO ============== */
.hero-up{
  position: relative;
  border-radius: 1.25rem;
  background:
    radial-gradient(1200px 600px at 80% -20%, var(--hc-soft), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.hero-up .eyebrow{ letter-spacing:.06em; color:var(--hc-muted); }

/* ============== PERKS ============== */
.perk{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, #fff, #fff) padding-box,
    radial-gradient(120% 120% at 0% 0%, rgba(34,197,94,.12), transparent 40%) border-box;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.perk:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  border-color: rgba(34,197,94,.25);
}
.perk-icon{
  width: 44px; height: 44px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 16px rgba(34,197,94,.12), inset 0 0 0 6px rgba(34,197,94,.08);
  margin-bottom:.5rem;
  font-size: 1.2rem;
  color: #2a7f4a;
}

/* ============== SECTION HEADINGS ============== */
.section-heading{
  display:flex; align-items:center; gap:.6rem;
  font-weight:700;
}
.section-heading::before{
  content:""; width:12px; height:12px; border-radius:3px; background:var(--hc-accent);
  box-shadow: 0 0 0 6px rgba(34,197,94,.15);
}

/* ============== SPECS TABLE CARD ============== */
.spec-wrap{
  border-radius: 1rem;
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  background:#fff;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}
.spec-table thead th{
  border-bottom:1px solid rgba(0,0,0,.08)!important;
}
.spec-table tbody tr{
  position:relative;
}
.spec-table tbody tr::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:transparent;
  transition:background .2s ease;
}
.spec-table tbody tr:hover::before{
  background: var(--hc-accent);
}
.spec-table tbody td{ vertical-align:middle; }
.spec-table tbody td:first-child{
  display:flex; align-items:center; gap:.5rem; white-space:nowrap;
}

/* SVG container icons (from earlier message) */
.co-icon{ line-height:0; display:inline-flex; align-items:center; }
.co-icon svg{ height:24px; width:auto; display:block; }     /* 20' & 40' same height */
.co-icon--hc svg{ height:28px; }                             /* 40HC taller */
.co-body{ fill:#e9f0ff; stroke:#2f6fed; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.co-lines rect{ fill:#c5d6ff; }

/* ============== CTA BAND ============== */
.cta-band{
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--hc-accent), #16a34a);
  color:#fff;
  box-shadow: 0 10px 30px rgba(34,197,94,.35);
}
.cta-band .btn-light{
  --bs-btn-color:#111;
}

/* Use height-only so width keeps the correct aspect ratio */
.brand-sms .brand-logo,
.brand-logo{
  height: 44px;          /* mobile/SM */
  width: auto;           /* keep aspect ratio */
  object-fit: contain;   /* safety */
  vertical-align: middle;
}

@media (min-width: 992px){
  .brand-sms .brand-logo,
  .brand-logo{
    height: 56px;        /* larger on LG+ */
  }
}
