/*!
Theme Name: Hailebang Theme
Theme URI: http://hailebang.com/
Author: Muleme Richard
Author URI: http://hailebang.com/
Description: Custom Theme for Hailebang website
Version: 1.0.0
Text Domain: hailebang-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


:root {
        --primary: #c8102e; /* brand red */
        --primary-dark: #a10c24;
        --header-height: 80px;
        --hb-primary: #c8102e;
        --hb-primary-dark: #a30d25;
        --brand-red-dark:#c4171c;
        --brand-red:#E31E24;
        --brand-red-dark:#c4171c;
        --soft:#f6f7fb;
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html, body {
        height: 100%;
        margin: 0;         
      }


      body {
        font-family: "Bai Jamjuree", sans-serif !important;
        color: #fff;
        min-height: 100vh;
      }

      .site {
        min-height: 100vh;   /* Full viewport height */
        display: flex;
        flex-direction: column;
      }

      .site-content {
        flex: 1 0 auto;             /* Take up remaining space, pushes footer down */
      }


	  ul{list-style: none;}

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

      button {
        border: none;
        background: none;
        cursor: pointer;
        font: inherit;
      }
   

      /* Header */
      #site-header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 50;
        transition: background-color 0.3s ease;
        background-color: transparent;
      }

      #site-header.scrolled {
        background-color: var(--primary);
      }

      .header-inner {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        align-items: center;
        height: var(--header-height);
      }

      #site-header.other-page{
        background-color: var(--primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 8px rgba(0,0,0,0.22);
        backdrop-filter: blur(6px);
      }

       #site-header.other-page .logo-box{
        padding: 1px 32px 10px;
      }

      .logo-box {
        background-color: var(--primary);
        padding: 2px 32px 10px;
      }

      .logo-box img{
        width:300px;
        height: 60px;
      }

      @media(max-width: 1025px){
        .logo-box img{
          width:210px;
          height: 50px;
        }
      }

      .logo-text a {
        color: #fff;
        font-size: 40px;
        font-weight: 700;
        letter-spacing: 0.08em;
		text-decoration: none;
        white-space: nowrap;
      }

      .nav {
        display: none;
      }

      .nav a {
        font-size: 16px;
        font-weight: 500;
        color: #fff;
        margin-left: 32px;
        position: relative;
      }

      .nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background-color: #fff;
        transition: width 0.2s ease;
      }

      .nav a:hover::after {
        width: 100%;
      }

      .header-right {
        display: flex;
        align-items: center;
        gap: 54px;
        margin-right: 5%;
      }

      

	#site-header .nav ul,
	#site-header .nav li {
	margin: 0;
	padding: 0;
	list-style: none;      /* removes bullets */
	}

	/* WordPress primary menu behaves like your old inline links */
	#site-header .nav > ul.primary-menu {
	display: flex;
	align-items: center;
	 /* gap: 1rem;            adjust spacing between items */
	}

	/* Links inside the primary menu */
	#site-header .nav > ul.primary-menu > li > a {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	position: relative;
	padding-bottom: 4px;
	}

  @media(max-width: 1025px){
      #site-header .nav > ul.primary-menu > li > a{font-size: 13px;}
  }

      .search-btn {
        color: #fff;
        transition: opacity 0.2s ease;
      }

      .search-btn:hover {
        opacity: 0.8;
      }

      .lang-btn {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: 2px solid #fff;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        background-color: transparent;
      }

      .lang-btn:hover {
        background-color: #fff;
        color: var(--primary);
      }

      /* Show nav on large screens */
      @media (min-width: 992px) {
        .nav {
          display: flex;
        }
      }

      @media(max-width: 900px){
        .logo-box img{
          width:160px;
          height: 40px;
        }
        #site-header.other-page .logo-box {
            padding: 1px 10px 5px;
        }
        #site-header .nav > ul.primary-menu > li > a {
            font-size: 10px;
        }
      }

      @media(max-width: 768px){
        .logo-box img{
          width:240px;
          height: 40px;
        }
        #site-header.other-page .logo-box {
            padding: 20px 10px 5px;
        }
      }

    /* --- SEARCH OVERLAY --- */
    .search-overlay {
      position: fixed;
      inset: 0;                      /* full screen */
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding-top: 65px;             /* drop a bit below header */

      background: rgba(0, 0, 0, 0.7);/* darker backdrop */

      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);  /* slide from top */
      transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0s linear 0.35s;  /* hide after animation */
      z-index: 999;
    }

    .search-overlay.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0s;              /* show immediately */
    }

    .search-overlay-inner {
      position: relative;
      width: 100%;
      /*max-width: 1200px;
      padding: 0 20px;*/
    }

    /* Red panel that looks like your screenshot */
    .search-panel {
      width: 100%;
      background-color: var(--primary);
      padding: 40px 24px 60px;
      border-bottom-left-radius: 32px;
      border-bottom-right-radius: 32px;
    }

    /* Close button – far top-right, away from the bar */
    .search-close {
      position: absolute;
      top: 18px;
      right: 40px;

      background: none;
      border: none;
      font-size: 26px;
      color: #fff;
      cursor: pointer;
    }

    /* Search box wrapper */
    .search-box {
      width: 100%;
      margin-top: 20px;

      background: rgba(255, 255, 255, 0.15);
      border-radius: 12px;
      padding: 16px 20px;

      display: flex;
      align-items: center;
    }

    /* Make the form fill the search-box and behave like an input + icon bar */
    .search-overlay-form {
      display: flex;
      align-items: center;
      width: 100%;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 0 0 0 1.25rem;  /* left padding for text, none on right (button touches edge) */
      box-sizing: border-box;
    }

    /* Input */
    .search-overlay-form .search-input {
      flex: 1;
      border: none;
      background: transparent;
      color: #fff;
      font-size: 18px;
      outline: none;
    }

    /* Placeholder color tweak (optional) */
    .search-input::placeholder {
      color: rgba(255, 255, 255, 0.7);
    }

    /* Search icon button */
    .search-overlay-form .search-submit {
      background: none;
      border: none;
      width: 45px;
      height: 45px;
      color: #fff;
      cursor: pointer;
    }


    /* Hamburger base (hidden by default, will show on mobile) */
    .mobile-menu-toggle{
      display: none;
      width: 32px;
      height: 24px;
      border: none;
      background: none;
      cursor: pointer;
      flex-direction: column;
      justify-content: space-between;
    }
    .mobile-menu-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background: #fff;
      border-radius: 2px;
    }

    /* --- MOBILE NAV DRAWER --- */

    /* --- MOBILE NAV BACKDROP --- */
    .mobile-nav-backdrop {
      position: fixed;

      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0s linear 0.3s;
      z-index: 90;
    }

    .mobile-nav-backdrop.active {
      opacity: 1;
      visibility: visible;
      transition: opacity 0.3s ease, visibility 0s;
    }

    /* --- MOBILE NAV PANEL (full width, slides from top) --- */
    .mobile-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;

      /*height: 70vh;*/
      background: #c8102e;           /* brand red */
      color: #ffffff;
      margin: 60px 30px;
      border-radius: 10px;
      z-index: 200;

      transform: translateY(-120%); /* Make the nav panel move above the header (disappear)*/
      transition: transform 0.3s ease;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .mobile-nav.open {
      transform: translateY(0);
    }

    /* inner wrapper (scrollable content) */
    .mobile-nav-inner {
      display: flex;
      flex-direction: column;
      height: 100%;
      padding: 16px;
      box-sizing: border-box;
      overflow-y: auto;
    }

    /* header row */
    .mobile-nav-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .mobile-nav-logo {
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .mobile-nav-close {
      border: none;
      background: none;
      color: #ffffff;
      cursor: pointer;
    }

    .mobile-nav-close i {
      font-size: 22px;
    }

    /* nav list from wp_nav_menu */
    .mobile-nav-links {
      margin-bottom: 18px;
    }

    .mobile-menu {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .mobile-menu > li > a {
      display: flex;
      align-items: center;
      justify-content: space-between;

      padding: 12px 14px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      background: rgba(255, 255, 255, 0.03);

      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
    }

    /* Chevron icon using Font Awesome */
    .mobile-menu > li > a::after {
      content: "\f105";               /* fa-chevron-right */
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      font-size: 16px;
      opacity: 0.9;
    }

    .mobile-menu > li > a:hover,
    .mobile-menu > li > a:focus-visible {
      background: rgba(255, 255, 255, 0.14);
    }

    /* Contact & language cards */
    .mobile-nav-quick {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    .mobile-nav-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      padding: 14px 10px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      background: rgba(255, 255, 255, 0.04);

      color: #ffffff;
      text-decoration: none;
      font-size: 13px;
    }

    .mobile-nav-card-icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: 1px solid #ffffff;

      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 6px;
    }

    .mobile-nav-card-icon i {
      font-size: 16px;
    }

    /* search bar at bottom */
    .mobile-nav-search {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      margin-top: auto;          /* pushes search to bottom */
    }

    .mobile-nav-search-input {
      flex: 1;
      border: none;
      background: transparent;
      color: #ffffff;
      font-size: 13px;
    }

    .mobile-nav-search-input::placeholder {
      color: rgba(255, 255, 255, 0.85);
    }

    .mobile-nav-search-input:focus {
      outline: none;
    }

    .mobile-nav-search-btn {
      border: none;
      background: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
    }

    .mobile-nav-search-btn i {
      font-size: 16px;
    }




    /* --- RESPONSIVE BEHAVIOUR --- */

    /* Desktop / large screens */
    @media (min-width: 1025px) {
      .nav {
        display: flex;
      }

      .search-btn {
        display: inline-flex;
      }

      .mobile-menu-toggle {
        display: none;
      }

      .mobile-nav,
      .mobile-nav-backdrop {
        display: none;
      }
    }

    /* Mobile screens */
    @media (max-width: 1025px) {
      /* hide desktop nav and search */
      .nav {
        display: none;
      }

      .search-btn {
        display: none;
      }

      /* header-right closer on small screens */
      .header-right {
        position: relative;
        gap: 8px;
        margin-right: 0;
        padding-right: 0;
        flex-wrap: nowrap;
      }

      /* show hamburger */
      .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        position: static;
        margin-right: 15px;
        z-index: 999;
      }
    }

    /*Font Awesome hamburger on mobile */
    @media (max-width: 1025px) {
      #mobile-menu-open.mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;

        flex-shrink: 0;
        z-index: 9999;
      }

      #mobile-menu-open.mobile-menu-toggle i {
        font-size: 30px !important;
        color: #ffffff !important;
        line-height: 1 !important;
        display: block !important;
        margin-right: 20px;
      }
    }

  

      main {
        /*padding-top: var(--header-height); */
      }

      /* Hero Slider */
      #hero-slider {
        position: relative;
        height: 100vh;
        overflow: hidden;
      }

      .slider-wrapper {
        position: relative;
        height: 100%;
      }

      .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.7s ease;
      }

      .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .slide-gradient {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
      }

      .slide.active {
        opacity: 1;
      }

      /* Slider navigation controls */
      .slider-nav {
        position: absolute;
        left: 0;
        top: 81%;
        transform: translateY(-50%);
        z-index: 10;
        display: flex;
        /*flex-direction: column;*/
        background-color: var(--primary);
      }

      .slider-nav button {
        width: 96px;
        height: 96px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: background-color 0.2s ease;
      }

      .slider-nav button + button {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
      }

      .slider-nav button:hover {
        background-color: #a30d25;
      }

      /* Hero content block */
      .hero-content-wrap {
        position: relative;
        width: 95%;
        margin-top: -140px;
        background-color: var(--primary);
        padding: 32px 16px 40px;
      }

      @media (min-width: 768px) {
        .hero-content-wrap {
          padding: 48px 64px;
        }
      }

      .hero-content-inner {
        max-width: 960px;
        margin: 0;
      }

      .hero-title {
        font-size: 28px;
        max-width: 550px;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 20px;
      }

      @media (min-width: 768px) {
        .hero-title {
          font-size: 40px;
        }
      }

      .hero-text {
        font-size: 16px;
        line-height: 1.5;
        text-align: justify;
        max-width: 720px;
      }

      @media (max-width: 1024px) {
        .logo-box{padding: 25px 20px 10px;}
        .logo-text{font-size: 30px;}
        .slider-nav{top: 71%;}

    }

    @media (max-width: 768px) {
        .hero-content-wrap{margin-top: -210px;}
        .logo-box{margin-top: -15px; padding: 10px;}   
    }
    @media (max-width: 600px) {
        .slider-nav{top: 68%;}
    }

    @media (max-width: 480px) {
        .hero-content-wrap{margin-top: -225px;}
        .slider-nav{top: 71%;}
    }
    @media (max-width: 375px) {
        .hero-content-wrap{margin-top: -150px;}
        .slider-nav{top: 75%;}
    }

/*===================================================================
                         FRANCHISE PAGE
=====================================================================*/
:root {
      --hb-red: #c8102e;
      --hb-red-dark: #a10c23;
      --hb-grey: #f4f4f4;
    }


    /* HERO SECTION */
    .hero-wrapper {
      position: relative;
      background-color: #000;
      overflow: visible;
      padding-bottom: 90px; /* space for overlapping cards */
    }

    .hero {
      position: relative;
      height: 600px;
      max-height: 75vh;
      background-image: url("assets/images/franchise-banner.png"); /* <- replace with your image */
      background-size: cover;
      background-position: center;
      color: #fff;
    }

    .hero::before {
      /* subtle dark overlay */
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.3)
      );
    }

    .hero-inner {
      position: relative;
      height: 100%;
      display: flex;
      align-items: flex-end;
      margin: 0 5%;
      justify-content: flex-start;
      padding: 40px 40px 70px;
    }


    .hero-title {
      font-size: 2rem;
      font-weight: 700;
    }

    /* SLIDER CARDS (overlapping) */
    .partner-slider-wrapper {
      position: absolute;
      left: 50%;
      bottom: -150px; /* how much they overlap the hero */
      transform: translateX(-50%);
      width: 100%;
      max-width: 1350px;
      padding: 0 40px;
    }

    .partner-slider {
      position: relative;
      display: flex;
      gap: 18px;
      padding: 12px 0 12px 2px;
      overflow-x: auto;
      scroll-behavior: smooth;
    }

    .partner-slider::-webkit-scrollbar {
      height: 6px;
    }
    .partner-slider::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 3px;
    }

    .partner-card {
      min-width: 260px;
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    @media (min-width: 1200px) {
      .partner-card {
        width: 300px;
        min-width: 300px;
      }
    }

    @media (min-width: 1600px) {
      .partner-card {
        width: 340px;
        min-width: 340px;
      }
    }

    .partner-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
    }

    .partner-card img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      display: block;
    }

    .partner-card-title {
      padding: 10px 16px 14px;
      text-align: center;
      font-weight: 600;
      font-size: 0.98rem;
      color: #555;
    }

    /* Slider arrow */
    .slider-arrow {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: none;
      background: var(--hb-red);
      color: #fff;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    }

    .slider-arrow:active {
      background: var(--hb-red-dark);
    }

    /* CONTENT SECTION BELOW */
    .content-section {
      background: var(--primary);
      color: #fff;
      padding: 120px 40px 60px; /* extra top padding to clear overlap */
    }

    .content-section h2 {
      font-size: 1.8rem;
      margin-bottom: 16px;
    }

    .content-section p {
      max-width: 1200px;
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .franchise-content{
      margin: 0 5%;
    }

    /* Decorative globe image block */
    .globe-block {
      margin-top: -50px;
      text-align: center;
    }

    .globe-block img {
      /*max-width: 280px;*/
      width: 60%;
      height: auto;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .site-header {
        padding: 10px 16px;
      }

      .site-nav {
        display: none; /* keep it simple for static demo */
      }

      .hero-inner {
        padding: 30px 16px 60px;
      }

      .hero-title {
        font-size: 1.6rem;
      }

      .partner-slider-wrapper {
        padding: 0 16px;
      }

      .partner-card {
        min-width: 70vw;
      }

      .content-section {
        padding: 110px 16px 40px;
      }
    }

    @media(max-width: 1024px){
      .globe-block{margin-top: -20px;}
      .globe-block img{width: 88%;}
    }

    @media(min-width: 1500px){
      .hero-inner{margin: 0 15%}
      .franchise-content{margin: 0 12%}
    }

/*===================================================================
                HOMEPAGE CAR BRANDS SECTION
=====================================================================*/
.brand-carousel-wrapper {
      /*max-width: 1100px;*/
      margin: 0 5%;
      padding: 25px 0;
    }

    /* Title & breadcrumb */
    .page-title {
      font-weight: 700;
      color: #d22228;
    }
    .breadcrumb-custom a {
      text-decoration: none;
      color: #777;
    }
    .breadcrumb-custom span.current {
      color: #777;
    }

    /* === SLIDER STRUCTURE === */
    .brand-slider {
      position: relative;
      overflow: hidden;          /* hides overflowing cards */
      margin-top: 10px;
    }

    .brand-track {
      display: flex;
      column-gap: 16px;
      transition: transform 0.4s ease;
      will-change: transform;
    }

    /* Each brand card */
    .brand-slide-card {
      position: relative;
      flex: 0 0 calc(25% - 12px);  /* 4 cards visible */
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(0,0,0,0.15);
      /*aspect-ratio: 16 / 9;*/
      aspect-ratio: 4/3;
      background: #000;
    }

    /* Background car image */
    .brand-slide-card img.brand-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      z-index: 0;
    }

    /* Red overlay */
    .brand-slide-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(184, 0, 0, 0.35);
      z-index: 1;
    }

    /* Circular logo badge top-left */
    .brand-logo-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 18px rgba(0,0,0,0.25);
      z-index: 2;
    }

    .brand-logo-badge img {
      width: 65%;
      height: auto;
      object-fit: contain;
    }

    /* Red navigation button sitting over the rightmost card */
    .brand-next-btn {
      position: absolute;
      right: 5px;
      top: 50%;
      transform: translateY(-50%);
      width: 72px;
      height: 72px;
      border-radius: 22px;
      border: none;
      background: #d22228;
      color: #ffffff;
      font-size: 2rem;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 24px rgba(0,0,0,0.35);
      cursor: pointer;
      z-index: 5;   /* above everything */
    }
    .brand-next-btn:hover {
      background: #b71b21;
    }
    .brand-next-btn:focus {
      outline: none;
    }

    @media (max-width: 991.98px) {
      .brand-slide-card {
        flex: 0 0 calc(50% - 10px);  /* 2 visible on tablets */
      }
    }
    @media (max-width: 575.98px) {
      .brand-slide-card {
        flex: 0 0 100%;              /* 1 per view on small phones */
      }
      .brand-logo-badge {
        width: 56px;
        height: 56px;
      }
      .brand-next-btn {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 1.6rem;
      }
    }

/*===================================================================
                 WHY US SECTION
===================================================================*/
    .why-us {
      position: relative;
      padding: 3rem 0;        /* vertical breathing space around the red panel */
      margin-top: 50px;
    }

    /* Red background block behind the sections */
    .why-us::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;

      /* make it narrower than viewport and centered */
      width: 90%;             /* or use max-width: 1200px; width:100%; */
      left: 0;
      transform: translateX(-20%);

      background-color: var(--hb-primary);
      border-radius: 0 0 0 0; /* add rounding if you want */
      z-index: 0;
    }

    /* Make sure the sections sit above the red panel */
    .why-us > section {
      position: relative;
      z-index: 1;
    }


    

    .section-primary {
      /*background-color: var(--hb-primary);*/
      color: #fff;
    }

    .object-fit-cover {
      object-fit: cover;
    }

    /* Hero heading / text */
    .hero-heading {
      font-weight: 700;
      line-height: 1.1;
    }

    .hero-text {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    /* HERO CAROUSEL */
    .hero-carousel {
      position: relative;
    }

    .hero-overlay {
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    }

    .hero-title {
      font-size: 1.75rem;
    }

    @media (min-width: 768px) {
      .hero-title {
        font-size: 2rem;
      }
    }

    .hero-dots {
      top: -2.5rem;
      left: 0;
      display: flex;
      gap: 0.5rem;
    }

    .hero-dot {
      display: inline-block;
      height: 4px;
      width: 32px;
      background-color: rgba(255,255,255,0.5);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: width 0.2s ease, background-color 0.2s ease;
    }

    .hero-dot.active {
      width: 48px;
      background-color: #fff;
    }

    .hero-nav-btn {
      width: 3rem;
      height: 3rem;
      border: none;
      border-radius: 0;
      background-color: var(--hb-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    .hero-nav-btn:hover {
      background-color: var(--hb-primary-dark);
    }

    .hero-nav {
      top: -10%;
      right: 7rem;
      transform: translateY(-50%) translateX(100%);
      display: flex;
      gap: 0.5rem;
    }

    /* “Who works with us” header tag box */
    .tag-box {
      display: inline-block;
      background-color: #fff;
      padding: 1rem 2rem;
      border-top-left-radius: 1.5rem;
    }

    .tag-box h2 {
      margin: 0;
      color: var(--hb-primary);
      font-weight: 700;
    }

    /* Breadcrumb */
    .breadcrumb-custom {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: rgba(255,255,255,0.85);
    }

    .breadcrumb-custom a {
      color: #fff;
      text-decoration: none;
    }

    .breadcrumb-custom a:hover {
      text-decoration: underline;
    }

    .breadcrumb-separator {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* Business cards */
    .business-card {
      position: relative;
      overflow: hidden;
      border-radius: 1.25rem;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background-color: #000;
    }

    .business-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    }

    .business-card img {
      transition: transform 0.5s ease;
    }

    .business-card:hover img {
      transform: scale(1.1);
    }

    .business-card-gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.3),
        transparent
      );
    }

    .business-card-title {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 1.25rem;
      z-index: 2;
      background: rgba(255, 255, 255, 0.65);
      /*backdrop-filter: blur(4px);*/
    }

    .business-card-title h3 {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 700;
      color: #b30000; /* red like original */
    }

    /* Arrow button next to grid */
    .cards-arrow {
      position: absolute;
      top: 50%;
      right: 3rem;
      transform: translateY(-50%) translateX(100%);
    }

    .cards-arrow-btn {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      border: none;
      background-color: var(--hb-primary);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.2s ease;
      box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    }

    .cards-arrow-btn:hover {
      background-color: var(--hb-primary-dark);
    }

        /* Fixed-height frame so the image always has space */
    .hero-frame {
      position: relative;
      width: 100%;
      height: 260px;        /* base height for small screens */
    }

    @media (min-width: 768px) {
      .hero-frame {
        height: 320px;
      }
    }

    @media (min-width: 1200px) {
      .hero-frame {
        height: 380px;
      }
    }

    /* The actual image */
    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Make overlay cover the frame exactly */
    .hero-overlay {
      position: absolute;
      inset: 0; /* top:0 right:0 bottom:0 left:0 */
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    }

    @media (max-width: 768px) {
      .business-card-title h3{font-size: 15px;}
      .business-card-title {
          padding: .45rem;
          justify-items: center;
      }  
    }


/*-----------------------Homepage Who works with Us slider ----------------------------*/
.business-slider-wrapper {
  overflow: hidden;
}

.business-slider {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

/* Each slide width depending on screen size */
.business-slide {
  /*min-width: 80%;*/ /* Mobile: show 1.25 cards */
  flex: 0 0 100%;  /* Mobile: 1 card per view */
}

/*@media (min-width: 768px) {
  .business-slide {
    min-width: 45%; /* Tablet: show 2 cards 
  }
}

@media (min-width: 1200px) {
  .business-slide {
    min-width: 25%; /* Desktop: show all 4 but still slider for animation 
  }
}*/

/* Tablet: 2 cards per view */
@media (min-width: 768px) {
  .business-slide {
    flex: 0 0 50%;
  }
}

/* Desktop: 4 cards per view, no slider needed */
@media (min-width: 950px) {
  .business-slide {
    flex: 0 0 23.7%;
  }
}
@media (min-width: 1200px) {
  .business-slide {
    flex: 0 0 24%;
  }
}
/* Keep your existing card styling */
.business-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 1200px){
  .business-card-title h3 {font-size: 1rem;}
}


    /* =============================================================================== 
                                  FOOTER
    ================================================================================= */
    .cta-section{
      background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
      color:#fff;
      padding: 54px 0;
    }
    .kpi-card{
      background:#fff5f5;
      border:1px solid #ffe4e6;
      border-radius:1rem;
    }
    .testimonial-cta{
      background: linear-gradient(180deg, var(--brand-red) 0%, var(--hb-primary-dark) 100%);
      box-shadow: 0 16px 40px rgba(227,30,36,.25);
    }

    /* ====== FOOTER ====== */
    .footer-logo{
      height:48px; width:auto;
    }
    .footer-link{
      color: rgba(255,255,255,.7);
      text-decoration:none;
      transition: color .15s ease;
    }
    .footer-link:hover{ color:#fff }
    .border-white-10{ border-color: rgba(255,255,255,.12)!important }
    .footer-socials {
        flex-wrap: wrap;
    }

    .footer-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
        border-radius: 8px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .footer-social-link img {
        width: 24px;
        height: 24px;
        display: block;
        object-fit: contain;
    }

    .footer-social-link:hover {
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.35);
        transform: translateY(-1px);
    }
    .footer-contact-icon {
        font-size: 15px;
        color: rgba(255,255,255,0.7);
        margin-top: 3px; /* aligns icon with text baseline */
    }
    .footer-icon-box {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: all .2s ease;
    }

    .footer-icon-box i {
        color: rgba(255,255,255,0.8);
        font-size: 14px;
    }

    .footer-icon-box:hover {
        background: #ffffff;
        border-color: #ffffff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.35);
        transform: translateY(-1px);
    }

    .footer-icon-box:hover i {
        color: #0b0d12; /* dark background color so icon stays visible */
    }

    @media(max-width: 1025px){
        .footer-logo{ height: 32px;}
    }



    /* =============================================================================== 
                                 PRODUCTS PAGE
    ================================================================================= */
    :root {
      --hb-primary: #c8102e;   /* Hailebang red */
      --header-height: 72px;
    }

    /* Products banner */
    .products-hero {
      position: relative;
      overflow: hidden;
      margin-top: var(--header-height);
    }

    .products-hero-img {
      width: 100%;
      height: min(480px, 65vh);
      object-fit: cover;
      display: block;
    }

    .products-hero-overlay {
      position: absolute;
      inset: 0;
      /* subtle dark overlay so text is readable */
      background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.1),
        transparent
      );
    }

    .products-hero-content {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
    }

    .products-hero-text {
      max-width: 640px;
      color: #fff;
    }

    .products-hero-label {
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.9;
    }

    .products-hero-offer {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      text-decoration: underline;
    }

    .products-hero-heading {
      font-weight: 800;
      line-height: 1.05;
      font-size: clamp(2.2rem, 3.2vw + 1.2rem, 3.8rem);
      margin-bottom: 1.25rem;
    }

    .products-hero-subtext {
      font-size: 1rem;
      margin-bottom: 1.75rem;
      opacity: 0.95;
    }

    .products-hero-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.9rem 2.3rem;
      border-radius: 0.25rem;
      border: none;
      background-color: #fff;
      color: #000;
      font-weight: 700;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      cursor: pointer;
    }

    .products-hero-btn span.arrow {
      font-size: 1.1rem;
      color: var(--hb-primary);
    }

    @media (max-width: 768px) {
      .products-hero-content {
        align-items: flex-end;
        padding-bottom: 2.5rem;
      }

      .products-hero-text {
        max-width: 100%;
      }
    }

  /* ------------------------------------------------------- */
  /*              Products content and sidebar               */
  /* ------------------------------------------------------- */

.products-wrapper {
      border-radius: 12px;
      padding: 2rem;
      margin-top: 2.5rem;
      margin-bottom: 3rem;
    }

    .products-search-panel {
      /*background-color: rgba(135, 41, 41, .5);*/
      background-color: #872929;
      border-radius: 10px;
      padding: 1.75rem 1.75rem 1.25rem;
    }

    .products-search-panel h6 {
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .products-search-panel .form-control {
      border-radius: 999px 0 0 999px;
      border: none;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    .products-search-panel .btn-search {
      border-radius: 0 999px 999px 0;
      font-weight: 600;
      padding-inline: 1.75rem;
    }

    .products-section{
      margin: 2.5rem 5%;
    }

    /* Sidebar / filter list */
    .filter-card {
      background-color: #872929;
      border-radius: 12px;
      border: 1px solid #344c69;
      overflow: hidden;
    }

    .filter-card-header {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid #344c69;
      font-weight: 700;
      letter-spacing: 0.05em;
      font-size: 0.9rem;
      text-transform: uppercase;
    }

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

    .filter-list li {
      border-bottom: 1px solid #314666;
    }

    .filter-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.85rem 1.25rem;
      color: #f5f7fb;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .filter-link small {
      opacity: 0.7;
      font-size: 0.8rem;
    }

    .filter-link:hover,
    .filter-link.active {
      background-color: #1f3551;
      color: #39c4a5;
    }

    /* Products */
    .results-header {
      font-size: 0.9rem;
      color: #000;
      margin-bottom: 1rem;
      opacity: 0.85;
    }

    .product-card {
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #872929;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      height: 100%;
    }

    .product-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.35);
    }

    .product-card-img {
      padding: 1.5rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 180px;
    }

    .product-card-img img {
      max-height: 150px;
      max-width: 100%;
      object-fit: contain;
    }

    .product-card-body {
      background-color: #872929;
      color: #f7f7f7;
      padding: 0.9rem 1rem 1.1rem;
      text-align: center;
    }

    .product-title {
      font-size: 0.95rem;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 0.2rem;
    }

    .product-oem {
      font-size: 0.8rem;
      opacity: 0.85;
    }

    /* Pagination */
    .pagination .page-link {
      background-color: #152842;
      border-color: #1f3551;
      color: #f5f7fb;
    }

    .pagination .page-link:hover {
      background-color: #243a5a;
      border-color: #243a5a;
    }

    .pagination .page-item.active .page-link {
      background-color: #f04b3e;
      border-color: #f04b3e;
      color: #ffffff;
    }

    /* MOBILE OFFCANVAS FOR SPARE-PART TYPES */
    .offcanvas-spareparts {
      --bs-offcanvas-width: 85vw;    /* 85% of viewport width */
    }

    .offcanvas-spareparts .offcanvas-header {
      border-bottom: 1px solid #e5e5e5;
    }

    .offcanvas-spareparts .offcanvas-title {
      font-weight: 600;
    }

    .offcanvas-spareparts .btn-close {
      filter: none;
      opacity: 1;
    }

    /* make filter card flush to offcanvas edges on mobile */
    .offcanvas-spareparts .filter-card {
      border-radius: 0;
      border: 0;
    }

    @media (max-width: 767.98px) {
      .products-wrapper {
        padding: 1.5rem 1rem;
      }
      .products-section{margin: 0}

      .products-search-panel {
        padding: 1.25rem;
      }
    }


  /* =============================================================================== 
                                 CONTACT US PAGE
  ================================================================================= */
   :root {
      --primary: #c8102e;

      --primary-light: #fbe4e9;
      --card-red: #b60f29;          
      --hb-dark: #17171b;
      --hb-muted: #6f6f76;
      --hb-light: #f7f7f9;
      --hb-light-red: #f6a9b1;    /* light red for inputs */
    }

    /* HEADER (already styled in your main CSS) */
    .hb-header {
      position: sticky;
      top: 0;
      z-index: 1030;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
    }

    .hb-header .navbar-brand span {
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .hb-header .nav-link {
      font-weight: 500;
      color: #f9fafb;
    }

    .hb-header .nav-link:hover,
    .hb-header .nav-link.active {
      color: var(--hb-red);
    }

    /* HERO / BANNER */
    .contact-hero {
      position: relative;
      margin-top: 3rem;
      height: 260px;
      color: #ffffff;
      display: flex;
      align-items: flex-end;
      padding-bottom: 40px;
      overflow: hidden;
    }

    .contact-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("https://images.pexels.com/photos/3807519/pexels-photo-3807519.jpeg?auto=compress&cs=tinysrgb&w=1600");
      background-size: cover;
      background-position: center;
      filter: brightness(0.4);
      transform: scale(1.03);
    }

    .contact-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.15)
      );
    }

    .contact-hero-content {
      position: relative;
      z-index: 1;
    }

    .contact-hero-title {
      font-size: clamp(2.4rem, 3vw, 3rem);
      font-weight: 700;
      margin-bottom: 0.1rem;
    }

    .contact-hero-breadcrumb a {
      color: #e5e7eb;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .contact-hero-breadcrumb i {
      font-size: 0.75rem;
      margin: 0 0.35rem;
    }

    .contact-hero-breadcrumb a:hover {
      color: #ffffff;
    }

    /* MAIN SECTION */
    .contact-section {
      padding: 60px 0 80px;
      background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
      color: #ffffff;
    }

    .section-label {
      font-size: 0.8rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--primary-light);
      font-weight: 600;
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 1.9rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      color: #ffffff;
    }

    .section-lead {
      color:  rgba(255, 255, 255, 0.78);
      font-size: 0.98rem;
      max-width: 480px;
    }

    .contact-info-item {
      display: flex;
      gap: 14px;
      margin-top: 22px;
      align-items: flex-start;
    }

    .contact-info-icon {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.18);
      color: #ffffff;
      flex-shrink: 0;
    }

    .contact-info-title {
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #ffffff;
      margin-bottom: 4px;
    }

    .contact-info-text {
      font-size: 0.95rem;
      color: var(--primary-light);
    }

    .contact-info-text a {
      color: #ffffff;
      text-decoration: none;
    }

    .contact-info-text a:hover {
      color: #ffe5e9;
    }

    .social-links {
      display: flex;
      gap: 10px;
      margin-top: 12px;
    }

    .social-links a {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      text-decoration: none;
      transition: all 0.2s ease;
      background: transparent;
    }

    .social-links a:hover {
      border-color: #ffffff;
      background: #ffffff;
      color: var(--primary);
      transform: translateY(-1px);
    }

    /* SIMPLE QUOTE FORM CARD (new design) */
    .contact-form-card {
      background: var(--card-red);
      border-radius: 24px;
      padding: 32px 28px 28px;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
      text-align: center;
    }

    .quote-avatar {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      border: 2px solid #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 32px;
    }

    .quote-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .quote-subtitle {
      font-size: 0.9rem;
      color: var(--primary-light);
      margin-bottom: 24px;
    }

    .quote-form-fields {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 22px;
    }

    .simple-input,
    .simple-textarea {
      width: 100%;
      background: var(--hb-light-red);
      border-radius: 15px;
      border: none;
      padding: 0.85rem 1.1rem;
      font-size: 0.95rem;
      color: #ffffff;
      outline: none;
      transition: background 0.2s ease, box-shadow 0.2s ease;
    }

    .simple-textarea {
      border-radius: 18px;
      resize: vertical;
      min-height: 120px;
    }

    .simple-input::placeholder,
    .simple-textarea::placeholder {
      color: #b55c6b;
    }

    .simple-input:focus,
    .simple-textarea:focus {
      background: #f597a1;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .btn-quote {
      border-radius: 15px;
      border: none;
      padding: 0.85rem 1.2rem;
      font-weight: 600;
      font-size: 0.98rem;
      letter-spacing: 0.06em;
      text-transform: none;
      background: #ffffff;
      color: var(--primary);
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
    }

    .btn-quote:hover {
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .btn-quote span.arrow {
      font-size: 1rem;
    }

    .quote-note {
      font-size: 0.78rem;
      color: var(--primary-light);
      margin-top: 6px;
      text-align: left;
    }

    @media (max-width: 991.98px) {
      .contact-section {
        padding: 40px 0 60px;
      }

      .contact-form-card {
        margin-top: 20px;
      }
    }

    @media (max-width: 575.98px) {
      .contact-hero {
        height: 220px;
        padding-bottom: 30px;
      }

      .contact-form-card {
        padding: 24px 20px 22px;
      }
    }

/* =============================================================================== 
                                 ABOUT US PAGE
================================================================================= */

:root {
      --who-bg: #fdf3f3;       /* light, subtle background */
      --who-heading: #b0101b;  /* Hailebang red (adjust if needed) */
      --who-text: #444444;
      --who-accent: #b0101b;
    }

    /* Full-width hero image */
    .about-hero-banner {
      width: 100%;
      height: 680px;
      background-image: url('assets/images/hero-banner-1.jpg');
      background-size: cover;
      background-position: center;
    }

    /* Red content section */
    .about-hero-content {
      width: 90%;
      background: var(--primary); /* Hailebang red */
      color: #ffffff;
      padding: 3.5rem 8vw;
      margin-top: -60px; /* slight overlap on the banner */
      box-shadow: 0 -8px 20px rgba(0,0,0,0.15);
      position: relative;
      z-index: 5;
    }

    .about-hero-content h1 {
      margin: 0 0 1.5rem;
      font-size: 2.4rem;
      font-weight: 700;
    }

    .about-hero-content p {
      max-width: 900px;
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 1.4rem;
    }

    @media (max-width: 768px) {
      .about-hero-banner {
        height: 320px;
      }

      .about-hero-content {
        padding: 2.8rem 6vw;
      }

      .about-hero-content h1 {
        font-size: 2rem;
      }
    }

    /*-------------- Who we are ------------------------------*/
    .who-we-are {
      padding: 4rem 6vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3rem;
      margin-top: 3rem;
    }

    .who-we-are__content {
      max-width: 520px;
      flex: 1 1 0;
    }

    .who-we-are__eyebrow {
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--who-text);
      margin-bottom: 0.75rem;
    }

    .who-we-are__eyebrow::after {
      content: "";
      display: block;
      width: 60px;
      height: 2px;
      background: var(--who-heading);
      margin-top: 0.5rem;
    }

    .who-we-are__title {
      font-size: clamp(2.1rem, 3vw + 1rem, 2.8rem);
      line-height: 1.1;
      color: var(--who-heading);
      margin: 0 0 1.5rem;
    }

    .who-we-are__title span {
      display: block;
    }

    .who-we-are__text {
      font-size: 1rem;
      line-height: 1.7;
      color: var(--who-text);
      margin-bottom: 2rem;
      max-width: 460px;
    }

    .who-we-are__meta-label {
      font-size: 0.85rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--who-text);
      margin-bottom: 0.4rem;
    }

    .who-we-are__meta-value {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--who-accent);
    }

    /* Image side */
    .who-we-are__media {
      position: relative;
      flex: 1 1 0;
      min-width: 0;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding-right: 3%;
    }

    /* MAIN IMAGE (tall card on the right) */
    .who-we-are__main-img {
      position: relative;
      width: 60%;
      border-radius: 0 50px;
      overflow: hidden;
      box-shadow: 0 26px 50px rgba(0, 0, 0, 0.16);
    }

    .who-we-are__main-img img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* OVERLAY IMAGE (in front) */
    .who-we-are__overlay-img {
      position: absolute;
      left: 20%;
      /* bottom: -16%; */   /* Uncomment if you want it to hang below the main card */
      width: 40%;
      border-radius: 0 50px;
      overflow: hidden;
      border: 6px solid var(--who-bg);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
      z-index: 2;
    }

    .who-we-are__overlay-img img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Responsive tweaks */
    @media (max-width: 900px) {
      .who-we-are {
        flex-direction: column;
      }

      .who-we-are__media {
        margin-top: 2.5rem;
        justify-content: center;
      }

      .who-we-are__main-img {
        width: 80%;
      }

      .who-we-are__overlay-img {
        left: 5%;
        bottom: -12%;
        width: 60%;
      }
    }

    @media (max-width: 600px) {
      .who-we-are__main-img {
        width: 85%;
      }

      .who-we-are__overlay-img {
        left: 8%;
        bottom: -10%;
        width: 65%;
      }
    }

    .hv-mission-vision {
    background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 1rem;
  }

  .hv-mv-inner {
    margin: 5%;
  }

  .hv-mv-header {
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .hv-mv-header h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
  }

  .hv-mv-header p {
    margin: 0;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.7;
    color: #f9f9fb;
  }

  .hv-mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }

  .hv-mv-card {
    background: rgba(255, 94, 121, 0.25);
    border-radius: 10px;
    padding: 1.8rem 1.9rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #ffffff;
  }

  .hv-mv-card h3 {
    margin: 0 0 0.9rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
  }

  .hv-mv-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #f9f9fb;
  }

  @media (max-width: 768px) {
    .hv-mv-grid {
      grid-template-columns: 1fr;
    }

    .hv-mv-header {
      text-align: left;
    }
  }

/* =============================================================================== 
                                 CAR BRANDS PAGE
================================================================================= */
.car-brands-section{ background:var(--primary); padding: 3rem 2rem; }
.brands-wrapper {
  max-width: 900px;
  margin: 5rem auto;
}

/* Search bar */
.brand-search {
  border-radius: 999px;
  background-color: #f8c5c7;
  border: none;
  padding-left: 20px;
  padding-right: 40px;
  height: 50px;
  color: #333;
}

.brand-search::placeholder {
  color: #ffffff;
  opacity: 0.9;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 0.9rem;
  pointer-events: none;
}

/* Grid cards */
.brand-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  background-color: #f5f5f5;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-card-inner {
  aspect-ratio: 1 / 1;
}

/* Logo overlay */
.brand-logo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 212, 212, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.brand-logo-overlay img {
  max-width: 70%;
  max-height: 70%;
  background: rgba(252, 251, 251, .65);
  border-radius: 50%;
  padding: 5px;
  object-fit: contain;
}

.brand-card:hover .brand-logo-overlay {
  opacity: 1;
}

/* Pagination styling */
.navigation.pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 2px;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #ffedf0;
  text-decoration: none;
}

.navigation.pagination .page-numbers.current {
  background-color: #e53935;
  border-color: #e53935;
  color: #fff;
}

/* =============================================================================== 
                               SINGLE CAR BRAND
================================================================================= */
.hb-brand-single {
  background: var(--primary-dark);
  margin-top: 2rem;
  padding: 3rem 0 4rem;
}

.hb-brand-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hb-brand-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hb-brand-logo-wrap {
  flex: 0 0 120px;
}

.hb-brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hb-brand-title-area {
  flex: 1;
}

.hb-brand-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hb-brand-meta {
  font-size: 0.95rem;
  color: #6f6f76;
  margin-bottom: 0.25rem;
}

.hb-brand-meta-label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.hb-brand-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
}

.hb-brand-main,
.hb-brand-sidebar {
  background: rgba(255, 94, 121, 0.25);
  border: 1px solid rgba(241, 241, 241, 0.25);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.hb-brand-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hb-brand-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #333;
}

.hb-brand-hero-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.hb-brand-cta-card h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.hb-brand-cta-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(241, 241, 241, 0.25);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary, #c8102e);
  color: #fff;
}

/*--------- Other car brands -----------------*/
.hb-brand-related {
  margin-top: 3rem;
}

.hb-brand-related-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hb-brand-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.hb-brand-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 1.1rem 1rem;
  border-radius: 18px;
  background: rgba(255, 94, 121, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hb-brand-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.12);
}

.hb-brand-related-image-wrap {
  width: 80px;
  height: 80px;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hb-brand-related-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hb-brand-related-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.hb-brand-related-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* =============================================================================== 
                            COMPLIANCE PAGES
================================================================================= */
.compliance-wrapper{
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 2rem 0;
}

.compliance-page {
  background:  linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0 5rem;
}

/* Card-style container for the article */
.compliance-page .compliance-wrapper .container {
  max-width: 960px;
}

.compliance-page .compliance-article {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem 2.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  color: #111827; /* override global white text */
}

/* -----------------------------
   Hero area
   ----------------------------- */
.compliance-page .compliance-hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.compliance-page .compliance-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e53935; /* brand red */
  margin-bottom: 0.6rem;
}

.compliance-page .compliance-title {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.compliance-page .compliance-updated {
  font-size: 0.9rem;
  color: #6b7280;
}

/* -----------------------------
   Body typography
   ----------------------------- */
.compliance-page .compliance-body {
  font-size: 1rem;
  line-height: 1.8;
}

.compliance-page .compliance-content p {
  margin-bottom: 1rem;
  color: #111827;
}

/* First intro paragraph block */
.compliance-page .compliance-content p:first-of-type {
  margin-top: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(229, 57, 53, 0.04);
}

/* Headings inside the content (Gutenberg blocks) */
.compliance-page .compliance-content h2,
.compliance-page .compliance-content h3 {
  font-weight: 600;
  margin-top: 2.4rem;
  margin-bottom: 0.85rem;
  color: #111827;
  scroll-margin-top: 120px; /* nicer anchor jump if you ever link to sections */
}

/* Fancy left accent for main sections (h2) */
.compliance-page .compliance-content h2 {
  font-size: 1.4rem;
  position: relative;
  padding-left: 0.9rem;
}

.compliance-page .compliance-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 4px;
  height: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e53935, #ff9800);
}

/* Sub-section headings (h3) */
.compliance-page .compliance-content h3 {
  font-size: 1.1rem;
}

/* Lists */
.compliance-page .compliance-content ul,
.compliance-page .compliance-content ol {
  padding-left: 1.2rem;
  margin-bottom: 1.1rem;
}

.compliance-page .compliance-content li {
  margin-bottom: 0.35rem;
}

/* Gutenberg separators */
.compliance-page .compliance-content hr.wp-block-separator {
  border: 0;
  height: 1px;
  margin: 2rem 0 1.75rem;
  background: linear-gradient(
    90deg,
    rgba(229, 57, 53, 0.7),
    rgba(229, 57, 53, 0)
  );
}

/* Links */
.compliance-page .compliance-content a {
  color: #e53935;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.compliance-page .compliance-content a:hover {
  text-decoration-thickness: 2px;
}

/* -----------------------------
   Responsive tweaks
   ----------------------------- */
@media (max-width: 991.98px) {
  .compliance-page {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .compliance-page .compliance-article {
    padding: 2rem 1.75rem;
    border-radius: 14px;
  }
}

@media (max-width: 575.98px) {
  .compliance-page .compliance-article {
    padding: 1.75rem 1.3rem;
  }

  .compliance-page .compliance-title {
    font-size: 1.7rem;
  }
}

/* =============================
   Back To Top Button (Compliance Pages)
   ============================= */
.back-to-top {
  position: fixed;
  /*right: 25px;*/  /*Move button to right corner*/
  left:2%;
  bottom: 25px;
  width: 48px;
  height: 48px;
  background: #e53935;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  z-index: 9999;
}

/* Show when active */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Hover effect */
.back-to-top:hover {
  background: #c62828;
  transform: translateY(-3px);
}

/* ==============================================================================
                                    TRUST 
=============================================================================== */
    .home-trust-section{
      padding: 2rem 0;
    }
    .kpi-card{
      background:#fff5f5;
      border:1px solid #ffe4e6;
      border-radius:1rem;
    }
    .testimonial-cta{
      background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
      box-shadow: 0 16px 40px rgba(227,30,36,.25);
    }

  /* ====== BRANDS ====== */
    .home-brands-section{
      padding: 2rem 0;
    }
    .brand-card{
      background:#fff;
      border:1px solid #eef1f6;
      transition:box-shadow .2s ease, transform .2s ease;
      border-radius:1rem;
    }
    .brand-card:hover{
      box-shadow:0 12px 30px rgba(16,24,40,.08);
      transform:translateY(-2px);
    }

/*===================================================================
                NEWS AND INSIGHTS
=====================================================================*/

:root {
  /* Adjust these if you already have brand variables */
  --hb-brand-red: #f0525a;
  --hb-brand-red-soft: #ffe7ea;
  --hb-brand-dark: #0b0d12;
  --hb-text-main: #1a2230;
}

/* Page wrapper */
.hb-news-archive {
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Header / intro */
.hb-news-header .hb-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--hb-brand-red);
}

.hb-news-header .hb-news-title {
  color: var(--hb-text-main);
}

.hb-news-header .hb-news-intro {
  color: rgba(11, 13, 18, 0.7);
}

/* Cards */
.hb-news-card .card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(11, 13, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
  background: #ffffff;
}

.hb-news-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(11, 13, 18, 0.13);
  border-color: rgba(240, 82, 90, 0.4);
}

/* Thumbnail area */
.hb-news-thumb img {
  display: block;
  object-fit: cover;
  max-height: 220px;
}

/* Category badge */
.hb-news-badge {
  background: var(--hb-brand-red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* Meta */
.hb-news-meta {
  color: rgba(11, 13, 18, 0.5);
}

/* Title + excerpt */
.hb-news-title a {
  color: var(--hb-text-main);
  text-decoration: none;
}

.hb-news-title a:hover {
  color: var(--hb-brand-red);
}

.hb-news-excerpt {
  font-size: 0.9rem;
  color: rgba(11, 13, 18, 0.75);
}

/* Read more button */
.hb-btn-readmore {
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--hb-brand-red);
  background: var(--hb-brand-red-soft);
  color: var(--hb-brand-red);
  font-weight: 500;
  padding-inline: 1.25rem;
  padding-block: 0.4rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.2s ease;
}

.hb-btn-readmore:hover,
.hb-btn-readmore:focus {
  background: var(--hb-brand-red);
  color: #fff;
  box-shadow: 0 10px 20px rgba(240, 82, 90, 0.4);
  transform: translateY(-1px);
}

/* Pagination */
.hb-news-pagination .pagination {
  gap: 0.25rem;
}

.hb-news-pagination .page-item .page-link {
  border-radius: 999px;
  min-width: 2.5rem;
  text-align: center;
  border: 1px solid rgba(11, 13, 18, 0.12);
  color: var(--hb-text-main);
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}

.hb-news-pagination .page-item .page-link:hover {
  border-color: var(--hb-brand-red);
  color: var(--hb-brand-red);
  box-shadow: 0 6px 14px rgba(11, 13, 18, 0.08);
}

.hb-news-pagination .page-item.active .page-link {
  background: var(--hb-brand-red);
  border-color: var(--hb-brand-red);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(240, 82, 90, 0.45);
}

/* Make prev/next icons align nicely */
.hb-news-pagination .page-link i {
  font-size: 0.8rem;
}

/* Small screen tweaks */
@media (max-width: 767.98px) {
  .hb-news-header .hb-news-title {
    font-size: 1.75rem;
  }

  .hb-news-archive {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* ----------------------------------------------------------
   Hailebang – Single Post Styling
   ------------------------------------------------------- */

:root {
  /* If these already exist in your CSS, keep only one set */
  --hb-brand-red: #f0525a;
  --hb-brand-red-soft: #ffe7ea;
  --hb-brand-dark: #0b0d12;
  --hb-text-main: #1a2230;
}

/* Wrapper */
.hb-single-post {
  margin-top: 3rem;
  background: #f5f7fb;
}

.hb-single-article {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 18px 40px rgba(11, 13, 18, 0.08);
}

/* Header */
.hb-single-header {
  border-bottom: 1px solid rgba(11, 13, 18, 0.06);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

/* Category chips */
.hb-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  text-decoration: none;
}

.hb-chip--category {
  background: var(--hb-brand-red-soft);
  border-color: rgba(240, 82, 90, 0.4);
  color: var(--hb-brand-red);
}

.hb-chip--category:hover {
  background: var(--hb-brand-red);
  color: #fff;
}

/* Tag chips (used bottom + sidebar) */
.hb-chip--tag {
  background: #eef3ff;
  border-color: transparent;
  color: var(--hb-text-main);
  font-weight: 500;
}

.hb-chip--tag:hover {
  background: var(--hb-brand-red);
  color: #fff;
}

/* Title + meta */
.hb-single-title {
  font-weight: 700;
  color: var(--hb-text-main);
}

.hb-single-meta {
  color: rgba(11, 13, 18, 0.6);
}

.hb-single-meta a {
  color: inherit;
  text-decoration: none;
}

.hb-single-meta a:hover {
  color: var(--hb-brand-red);
}

/* Featured image */
.hb-single-thumb img {
  max-height: 460px;
  object-fit: cover;
}

/* Content body */
.hb-single-content {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(11, 13, 18, 0.9);
}

.hb-single-content p {
  margin-bottom: 1.1rem;
}

.hb-single-content h2,
.hb-single-content h3,
.hb-single-content h4 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--hb-text-main);
}

.hb-single-content a {
  color: var(--hb-brand-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hb-single-content a:hover {
  color: var(--hb-brand-dark);
}

/* Tags + share row */
.hb-single-bottom {
  border-top: 1px solid rgba(11, 13, 18, 0.06);
  border-bottom: 1px solid rgba(11, 13, 18, 0.06);
  padding: 1.5rem 0;
}

.hb-single-label {
  color: rgba(11, 13, 18, 0.6);
}

/* Share buttons */
.hb-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(11, 13, 18, 0.08);
  color: rgba(11, 13, 18, 0.75);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hb-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(11, 13, 18, 0.16);
}

/* Individual network accents */
.hb-share-btn--x:hover        { background: #000; color: #fff; }
.hb-share-btn--facebook:hover { background: #1877f2; color: #fff; }
.hb-share-btn--linkedin:hover { background: #0a66c2; color: #fff; }
.hb-share-btn--pinterest:hover{ background: #e60023; color: #fff; }

/* Prev/next navigation */
.hb-single-nav {
  padding-top: 2rem;
}

.hb-single-nav-item {
  max-width: 48%;
}

.hb-single-nav-label {
  display: block;
  margin-bottom: 0.25rem;
}

.hb-single-nav-title a {
  color: var(--hb-text-main);
  text-decoration: none;
}

.hb-single-nav-title a:hover {
  color: var(--hb-brand-red);
}

/* Sidebar */
.hb-single-sidebar {
  position: sticky;
  top: 6rem;
}

.hb-widget {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 14px 30px rgba(11, 13, 18, 0.06);
}

.hb-widget + .hb-widget {
  margin-top: 1.25rem;
}

.hb-widget-title {
  font-weight: 600;
  margin-bottom: 1.1rem;
  color: var(--hb-text-main);
}

/* Search form inside widget */
.hb-widget--search .search-form,
.hb-widget--search form {
  display: flex;
  gap: 0.4rem;
}

.hb-widget--search input[type="search"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(11, 13, 18, 0.14);
  padding: 0.5rem 0.9rem;
}

.hb-widget--search input[type="submit"] {
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.95rem;
  background: var(--hb-brand-red);
  color: #fff;
  font-weight: 500;
}

/* Latest posts */
.hb-widget-post {
  align-items: center;
}

.hb-widget-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.hb-widget-post-title a {
  color: var(--hb-text-main);
  text-decoration: none;
}

.hb-widget-post-title a:hover {
  color: var(--hb-brand-red);
}

/* Categories list */
.hb-widget--categories .hb-widget-list li + li {
  margin-top: 0.35rem;
}

.hb-widget--categories a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(11, 13, 18, 0.8);
}

.hb-widget--categories a:hover {
  color: var(--hb-brand-red);
}

.hb-cat-count {
  color: rgba(11, 13, 18, 0.5);
}

/* Tags cloud */
.hb-widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Comments (optional but makes the area look modern) */
#comments {
  margin-top: 3rem;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 14px 30px rgba(11, 13, 18, 0.06);
}

#comments h2,
#comments h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment-list .comment {
  border-bottom: 1px solid rgba(11, 13, 18, 0.06);
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.comment-meta a {
  color: rgba(11, 13, 18, 0.6);
  font-size: 0.85rem;
}

/* Comment form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(11, 13, 18, 0.14);
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.75rem;
}

.comment-form input[type="submit"] {
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.5rem;
  background: var(--hb-brand-red);
  color: #fff;
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hb-single-article {
    padding: 1.75rem 1.5rem;
  }

  .hb-single-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .hb-single-nav-item {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hb-single-article {
    padding: 1.5rem 1.2rem;
  }

  .hb-single-title {
    font-size: 1.6rem;
  }
}



/*==========================================================================================
                   GTRANSLATE LANGUAGE SWITCHER
============================================================================================*/
/* Position the floating wrapper in the header */
    #gt_float_wrapper {
        position: fixed !important;
        top: 19px !important;
        right: 50px !important;   /* tweak this to move left/right */
        z-index: 1100 !important;
        margin: 0 !important;
    }

    /* Remove default pill styling */
    #gt_float_wrapper .gt_float_switcher {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        transform: none !important;
    }

    /* circular flag ONLY on the main button (not on dropdown rows) */
    #gt_float_wrapper .gt_float_switcher > .gt-selected {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        border: 2px solid #ffffff !important;
        padding: 0 !important;
    }

    /* flag inside the circle */
    #gt_float_wrapper .gt_float_switcher > .gt-selected img {
        width: 26px !important;
        height: 26px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* hide text + arrow only inside the main button */
    #gt_float_wrapper .gt_float_switcher > .gt-selected .gt-current-lang span,
    #gt_float_wrapper .gt_float_switcher > .gt-selected .gt-lang-code,
    #gt_float_wrapper .gt_float_switcher > .gt-selected .gt_float_switcher-arrow {
        display: none !important;
    }

    /* Position the dropdown list under the circle */
    #gt_float_wrapper .gt_float_switcher .gt_options .gt-open {
        right: 0 !important;
        margin-top: 6px !important;
    }

    /* Slightly reduce logo to give breathing room */
    .hellper-logo img {
        width: 220px;
    }
    
    /* dropdown panel: solid background, shadow, etc. */
    #gt_float_wrapper .gt_float_switcher .gt_options.gt-open {
        background: #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25) !important;
        padding: 4px 0 !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* each language row */
    #gt_float_wrapper .gt_float_switcher .gt_options.gt-open .nturl {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 6px 12px !important;
        color: #051d36 !important;          /* Hellper navy-ish */
        font-size: 13px !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    /* flags inside dropdown list */
    #gt_float_wrapper .gt_float_switcher .gt_options.gt-open .nturl img {
        width: 20px !important;
        height: 14px !important;
        border-radius: 2px !important;
        object-fit: cover !important;
    }

    /* show text again inside dropdown rows (override any "display:none") */
    #gt_float_wrapper .gt_float_switcher .gt_options.gt-open .nturl span {
        display: inline !important;
    }

    /* hover / active state */
    #gt_float_wrapper .gt_float_switcher .gt_options.gt-open .nturl:hover {
        background: rgba(5, 29, 54, 0.06) !important;
    }

    @media(max-width:1025px){
      #gt_float_wrapper{
        right: 100px !important;
      }
    }

    @media(max-width:768px){
      #gt_float_wrapper{
        right: 80px !important;
      }
    }
    @media(max-width:550px){
      #gt_float_wrapper{
        right: 70px !important;
      }
    }

/*==========================================================================================
                             SEARCH RESULTS PAGE
============================================================================================*/
.hb-search-main--unified {
  background: var(--primary-dark);
  color: #fff;
}

.hb-search-hero.hb-search-hero--dark {
  margin-top: 2rem;
  padding: 4.5rem 0 2.5rem;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hb-search-title {
  font-size: clamp(2.2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hb-search-meta {
  font-size: 0.95rem;
  opacity: 0.8;
}

.hb-search-results-section {
  padding: 2.5rem 0 4rem;
}

.hb-search-form-wrapper {
  margin-top: 1.75rem;
}

.hb-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 620px;
}

.hb-search-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.hb-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hb-search-input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hb-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: none;
  background: #c8102e; /* brand red */
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.hb-search-submit:hover {
  background: #f2313f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.hb-search-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 576px) {
  .hb-search-form {
    flex-direction: column;
  }
}
/*================== No products found section =================*/

.hb-search-no-results {
  min-height: 55vh; 
  background: rgba(255, 94, 121, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hb-search-sad-icon {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

/* Title & text */
.hb-search-no-results h2 {
  font-size: 1.7rem;
  font-weight: 700;
}

.hb-search-no-results p {
  max-width: 480px;
}

.hb-search-no-results .hb-search-form-wrapper {
  width: 100%;
  max-width: 480px;
}

.hb-search-no-results .hb-search-form {
  width: 100%;
}

/* Buttons row */
.hb-search-no-results .btn {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
}

.hb-search-no-results .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.hb-search-no-results .btn-outline-secondary:hover {
  background: rgba(0, 0, 0, 0.25);
}

.hb-search-no-results .btn.btn-link {
  color: #fff;
  text-decoration: underline;
  padding: 0.7rem 1.2rem;
}

/* Tip line at the bottom */
.hb-search-tip {
  color: #f1f1f1;
  opacity: 0.7;
}

/*================== Cards layout when there are results =================*/
.hb-search-results-list {
  display: grid;
  gap: 1.5rem;
}

/* Card shell */
.hb-search-card {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  overflow: hidden;
}

.hb-search-thumb-link,
.hb-search-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-search-card .card-body {
  padding: 1.25rem 1.4rem 1.3rem;
}

.hb-search-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  margin-bottom: 0.5rem;
}

.hb-search-card-title a {
  color: #fff;
  text-decoration: none;
}

.hb-search-card-title a:hover {
  text-decoration: underline;
}

.hb-search-excerpt {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hb-search-read-more {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

/* Pagination */
.hb-search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  margin: 0 0.15rem;
  border: 1px solid transparent;
  color: #fff;
}

.hb-search-pagination .page-numbers.current {
  background: #c8102e;
  border-color: #c8102e;
}

.hb-search-pagination .page-numbers:not(.current):hover {
  border-color: rgba(255, 255, 255, 0.35);
}


/*==========================================================================================
                      404 PAGE
============================================================================================*/
:root {
      --hb-red: #e53935;
      --hb-dark: #111827;
      --hb-muted: #6b7280;
      --hb-bg: #f6f7fb;
    }

    .hb-404-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 4rem;
      padding: 3rem 1.5rem;
    }

    .hb-404-card {
      background: #ffffff;
      border-radius: 1.25rem;
      box-shadow: 0 15px 45px rgba(15, 23, 42, 0.12);
      padding: 3rem 2.5rem;
      max-width: 900px;
      width: 100%;
      position: relative;
      overflow: hidden;
    }

    .hb-404-badge {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--hb-red);
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .hb-404-code {
      font-size: clamp(4rem, 8vw, 5.5rem);
      font-weight: 800;
      color: var(--hb-dark);
      line-height: 1;
    }

    .hb-404-subtitle {
      font-size: 1.25rem;
      font-weight: 600;
      margin-top: 0.75rem;
      color: var(--hb-dark);
    }

    .hb-404-text {
      color: var(--hb-muted);
      margin-top: 0.75rem;
      max-width: 30rem;
    }

    .hb-404-actions {
      margin-top: 1.75rem;
      gap: 0.75rem;
    }

    .hb-btn-primary {
      background: var(--hb-red);
      border-color: var(--hb-red);
      font-weight: 600;
      padding-inline: 1.5rem;
      border-radius: 999px;
    }

    .hb-btn-primary:hover {
      background: #c62828;
      border-color: #c62828;
    }

    .hb-btn-ghost {
      border-radius: 999px;
      font-weight: 500;
      border-color: rgba(148, 163, 184, 0.7);
      color: var(--hb-dark);
      background: #f9fafb;
    }

    .hb-404-tagline {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #9ca3af;
      margin-top: 2rem;
    }

    .hb-404-illustration {
      position: absolute;
      inset: auto -40px 0 auto;
      width: 220px;
      opacity: 0.35;
      pointer-events: none;
    }

    .hb-404-gear {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 3px solid rgba(229, 57, 53, 0.65);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      color: var(--hb-red);
      margin-bottom: 1.25rem;
      background: #fff;
      box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    }

    .hb-404-search {
      max-width: 360px;
      margin-top: 1.5rem;
    }

    footer.hb-footer {
      padding: 1rem 0;
      font-size: 0.875rem;
      color: #9ca3af;
      text-align: center;
    }

    @media (max-width: 767.98px) {
      .hb-404-card {
        padding: 2.25rem 1.75rem;
      }
      .hb-404-illustration {
        position: static;
        display: block;
        margin: 2rem auto 0;
        opacity: 0.45;
        width: 180px;
      }
      .hb-404-tagline {
        margin-top: 1.5rem;
      }
    }

/*==========================================================================================
                         CATALOGS PAGE
============================================================================================*/
.hb-hero {
      position: relative;
      height: 360px;
      background: url("https://placehold.co/1600x600") center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 0 20px 20px;
      overflow: hidden;
    }

    .hb-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(200, 16, 46, 0.8),
        rgba(15, 23, 42, 0.75)
      );
    }

    .hb-hero-content {
      position: relative;
      z-index: 2;
      color: #fff;
      text-align: center;
      max-width: 700px;
      padding: 0 1rem;
    }

    .hb-hero-title {
      font-size: 2.3rem;
      font-weight: 700;
    }

    .hb-hero-text {
      font-size: 1rem;
      opacity: 0.9;
      margin-top: 0.4rem;
    }

    /* =============== CATALOG CARDS =============== */
    .hb-catalog-card {
      border-radius: 14px;
      background: #ffffff;
      border: 1px solid #e5e7eb;
      overflow: hidden;
      transition: 0.18s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .hb-catalog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
      border-color: rgba(200, 16, 46, 0.4);
    }

    .hb-thumb {
      height: 160px;
      background-position: center;
      background-size: cover;
      background-color: #e5e7eb;
    }

    .hb-card-body {
      padding: 1rem 1.1rem;
      flex-grow: 1;
    }

    .hb-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
      color: #111827;
    }

    .hb-desc {
      font-size: 0.86rem;
      color: #6b7280;
      margin-bottom: 0.8rem;
    }

    .hb-card-footer {
      padding: 0 1.1rem 1rem;
    }

    /* =============== BUTTONS =============== */
    .btn-hb-primary {
      background-color: var(--hb-primary);
      border-color: var(--hb-primary);
      color: #ffffff;
    }

    .btn-hb-primary:hover {
      background-color: #a30d25;
      border-color: #a30d25;
      color: #ffffff;
    }

    .btn-hb-outline {
      border-color: var(--hb-primary);
      color: var(--hb-primary);
      background-color: #ffffff;
    }

    .btn-hb-outline:hover {
      background-color: rgba(200, 16, 46, 0.06);
      color: #a30d25;
      border-color: #a30d25;
    }

    .hb-card-footer .btn {
      font-size: 0.8rem;
      padding: 0.35rem 0.9rem;
      border-radius: 20px;
    }

/*==========================================================================================
                         STICKY SOCIAL MEDIA ICONS(Desktop)
============================================================================================*/  
/* Sticky social bar (desktop) */
.hb-social-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .hb-social-bar {
    top: 40%;
  }
}

/* Hide on tablets/phones 
@media (max-width: 991.98px) {
  .hb-social-bar {
    display: none;
  }
}*/

/* Base icon style */
.hb-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  border-radius: 0 999px 999px 0;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* On hover → background turns white, icon turns to brand color */
.hb-social-link:hover {
  background: #ffffff;
  transform: translateX(4px);
}

/* ===== Brand Colors (default) & Hover Icon Colors ===== */

/* Facebook */
.hb-social-facebook { background-color: #1877f2; }
.hb-social-facebook:hover i { color: #1877f2; }

/* Instagram */
.hb-social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.hb-social-instagram:hover i { color: #d6249f; }

/* LinkedIn */
.hb-social-linkedin { background-color: #0a66c2; }
.hb-social-linkedin:hover i { color: #0a66c2; }

/* WhatsApp */
.hb-social-whatsapp { background-color: #25d366; }
.hb-social-whatsapp:hover i { color: #25d366; }

/* YouTube */
.hb-social-youtube { background-color: #ff0000; }
.hb-social-youtube:hover i { color: #ff0000; }

/* TikTok */
.hb-social-tiktok {
  background-color: #000000;
}
.hb-social-tiktok:hover i {
  color: #000000;
}

/*==========================================================================================
                         FLOATING BUTTONS (WhatsApp & WeChat)
============================================================================================*/ 
/* Floating Buttons Wrapper */
.hb-floating-contacts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Button Base Style */
.hb-contact-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* WhatsApp Styling */
.hb-whatsapp {
    background: #25D366;
}
.hb-whatsapp:hover {
    background: #fff;
    color: #25D366;
}

/* WeChat Styling */
.hb-wechat {
    background: #09b83e;
}
.hb-wechat:hover {
    background: #fff;
    color: #09b83e;
}

/* WeChat Modal */
.hb-wechat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.hb-wechat-modal.active {
    display: flex;
}

.hb-wechat-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    animation: fadeUp .3s ease;
}

.hb-wechat-content img {
    width: 200px;
    height: 200px;
}

/* Popup animation */
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
