/* ==========================================================================
   BRANDHIVE360 - Official 1:1 Theme & Background Stylesheet
   Matching live website: https://www.brandhive360.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Kanit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Unbounded:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Red Palette */
  --bh-primary: #B60B0B;
  --bh-primary-hover: #940707;
  --bh-primary-light: #FF3838;
  --bh-secondary: #C10909;
  --bh-gradient-red: linear-gradient(90deg, #B60B0B 0%, #FF3838 100%);
  --bh-gradient-red-hover: linear-gradient(90deg, #940707 0%, #d81e1e 100%);
  --bh-gradient-purple-pink: linear-gradient(90deg, #5956f0 0%, #ff50b8 100%);

  /* Background Palette */
  --bh-bg-main: #ffffff;
  --bh-bg-body: #ffffff;
  --bh-bg-surface: #f8fafc;
  --bh-bg-card: #ffffff;
  --bh-bg-card-hover: #ffffff;
  --bh-bg-dark: #00071A;
  --bh-bg-dark-surface: #070e24;

  /* Typography Colors */
  --bh-text-dark: #00071A;
  --bh-text-main: #4D515F;
  --bh-text-muted: #6B7280;
  --bh-text-dim: #9CA3AF;
  --bh-text-heading: #00071A;
  --bh-text-subheading: #2D3748;
  --bh-text-white: #ffffff;

  /* Borders & Shadows */
  --bh-border: #E5E7EB;
  --bh-border-light: #F1F5F9;
  --bh-border-focus: rgba(182, 11, 11, 0.4);

  /* Fonts */
  --bh-font-main: 'Inter', sans-serif;
  --bh-font-heading: 'Kanit', 'Unbounded', sans-serif;
  --bh-font-alt: 'Space Grotesk', sans-serif;
  --bh-font-kanit: 'Kanit', sans-serif;

  /* Transitions & Radii */
  --bh-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --bh-radius-sm: 8px;
  --bh-radius-md: 14px;
  --bh-radius-lg: 24px;
  --bh-radius-full: 9999px;

  /* Shadows & Glows */
  --bh-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --bh-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --bh-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --bh-glow: 0 10px 25px rgba(182, 11, 11, 0.35);
  --bh-glow-lg: 0 15px 35px rgba(182, 11, 11, 0.45);
}

/* ==========================================================================
   Reset & Base Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--bh-font-main);
  background-color: var(--bh-bg-main);
  color: var(--bh-text-main);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
  background: var(--bh-primary);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--bh-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bh-font-heading);
  color: var(--bh-text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--bh-transition);
}

a:hover {
  color: var(--bh-primary);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

::selection {
  background-color: var(--bh-primary);
  color: #ffffff;
}

/* ==========================================================================
   Page Preloader (Loading Screen on Page Reload)
   ========================================================================== */
.bh-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s ease;
}

.bh-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bh-preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.bh-preloader-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bh-preloader-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #F1F5F9;
  border-top-color: var(--bh-primary);
  border-right-color: var(--bh-primary-light);
  animation: preloaderSpin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.bh-preloader-logo {
  width: 48px;
  height: auto;
  object-fit: contain;
  animation: preloaderPulse 1.6s ease-in-out infinite alternate;
}

.bh-preloader-brand {
  font-family: var(--bh-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bh-text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.bh-preloader-brand span {
  color: var(--bh-primary);
}

.bh-preloader-text {
  font-family: var(--bh-font-alt);
  font-size: 0.82rem;
  color: var(--bh-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}

.bh-preloader-bar {
  width: 170px;
  height: 4px;
  background: #F1F5F9;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.bh-preloader-progress {
  width: 60%;
  height: 100%;
  background: var(--bh-gradient-red);
  border-radius: 99px;
  animation: preloaderBar 1.4s ease-in-out infinite;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.06); opacity: 1; }
}

@keyframes preloaderBar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(50%); }
  100% { transform: translateX(200%); }
}

/* ==========================================================================
   Typography & Shared Utilities
   ========================================================================== */
.font-unbounded { font-family: 'Unbounded', sans-serif; }
.font-space { font-family: var(--bh-font-alt); }
.font-kanit { font-family: var(--bh-font-kanit); }

.text-neon { color: var(--bh-primary) !important; }
.text-highlight {
  color: var(--bh-primary) !important;
}

.text-gradient-red {
  background: var(--bh-gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-neon { 
  background: var(--bh-gradient-red) !important; 
  color: #ffffff !important; 
}
.bg-dark-surface { background-color: var(--bh-bg-dark-surface); }
.bg-dark-card { background-color: var(--bh-bg-dark); }
.border-subtle { border: 1px solid var(--bh-border); }

/* Badges / Subtitle Tag */
.bh-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(182, 11, 11, 0.08);
  border: 1px solid rgba(182, 11, 11, 0.2);
  padding: 8px 18px;
  border-radius: var(--bh-radius-full);
  color: var(--bh-primary);
  font-family: var(--bh-font-alt);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bh-subtitle-tag img, .bh-subtitle-tag svg {
  width: 16px;
  height: 16px;
}

/* Buttons */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--bh-font-alt);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--bh-radius-full);
  transition: var(--bh-transition);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.bh-btn-primary {
  background: var(--bh-gradient-red);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(182, 11, 11, 0.35);
}

.bh-btn-primary:hover {
  background: var(--bh-gradient-red-hover);
  color: #ffffff !important;
  box-shadow: var(--bh-glow-lg);
  transform: translateY(-2px);
}

.bh-btn-outline {
  background: transparent;
  border-color: #D1D5DB;
  color: var(--bh-text-heading);
}

.bh-btn-outline:hover {
  border-color: var(--bh-primary);
  color: var(--bh-primary);
  background: rgba(182, 11, 11, 0.05);
  transform: translateY(-2px);
}

.bh-btn-outline-neon {
  background: transparent;
  border-color: var(--bh-primary);
  color: var(--bh-primary);
}

.bh-btn-outline-neon:hover {
  background: var(--bh-gradient-red);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: var(--bh-glow);
  transform: translateY(-2px);
}

.bh-btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bh-primary);
  font-size: 12px;
  transition: var(--bh-transition);
}

.bh-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
  background: #ffffff;
  color: var(--bh-primary-hover);
}

.bh-btn-outline:hover .btn-arrow,
.bh-btn-outline-neon:hover .btn-arrow {
  background: #ffffff;
  color: var(--bh-primary);
  transform: translateX(4px);
}

/* Section Headings */
.bh-section-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--bh-text-heading);
}

.bh-section-desc {
  font-size: 1.05rem;
  color: var(--bh-text-muted);
  max-width: 650px;
}

/* ==========================================================================
   Header & Navbar (Curved Floating White Navbar Matching Live Site)
   ========================================================================== */
.bh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.35s ease;
  background: transparent;
  padding: 0;
  pointer-events: none;
}

.bh-navbar-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 36px;
  background: #ffffff;
  border-radius: 0 0 50px 50px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
}

.bh-header.scrolled .bh-navbar-container {
  padding: 8px 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 45px 45px;
}

.bh-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bh-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.bh-nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.bh-nav-item {
  position: relative;
  list-style: none;
}

.bh-nav-link {
  font-family: var(--bh-font-alt);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bh-text-subheading);
  padding: 8px 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  white-space: nowrap;
  transition: var(--bh-transition);
}

.bh-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bh-primary);
  transition: var(--bh-transition);
}

.bh-nav-link:hover, .bh-nav-link.active {
  color: var(--bh-primary);
}

.bh-nav-link:hover::after, .bh-nav-link.active::after {
  width: 100%;
}

.bh-nav-link .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.bh-nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.bh-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: 14px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--bh-transition);
  z-index: 100;
}

.bh-nav-item:hover .bh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bh-dropdown-item {
  display: block;
  padding: 10px 24px;
  color: var(--bh-text-subheading);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--bh-font-alt);
  transition: var(--bh-transition);
  border-left: 2px solid transparent;
}

.bh-dropdown-item:hover {
  background: rgba(182, 11, 11, 0.05);
  color: var(--bh-primary);
  border-left-color: var(--bh-primary);
  padding-left: 28px;
}

.bh-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.bh-header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bh-font-alt);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bh-text-heading);
  white-space: nowrap;
}

.bh-header-phone .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(182, 11, 11, 0.08);
  color: var(--bh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--bh-transition);
}

.bh-header-phone:hover .icon-box {
  background: var(--bh-primary);
  color: #ffffff;
}

.bh-mobile-toggle {
  display: none;
  background: rgba(182, 11, 11, 0.06);
  border: 1px solid rgba(182, 11, 11, 0.15);
  color: var(--bh-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--bh-radius-sm);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--bh-transition);
}

.bh-mobile-toggle:hover {
  background: var(--bh-primary);
  color: #ffffff;
}

/* ==========================================================================
   Mobile Off-Canvas Drawer (Clean White Background)
   ========================================================================== */
.bh-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--bh-border);
  z-index: 2000;
  padding: 30px 24px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.bh-mobile-drawer.open {
  right: 0;
}

.bh-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--bh-transition);
}

.bh-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.bh-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bh-border);
}

.bh-drawer-close {
  background: rgba(182, 11, 11, 0.08);
  border: 1px solid rgba(182, 11, 11, 0.15);
  color: var(--bh-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--bh-transition);
}

.bh-drawer-close:hover {
  background: var(--bh-primary);
  color: #ffffff;
}

.bh-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bh-drawer-link {
  font-family: var(--bh-font-alt);
  font-weight: 600;
  font-size: 1rem;
  color: var(--bh-text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--bh-transition);
}

.bh-drawer-link:hover {
  color: var(--bh-primary);
  padding-left: 6px;
}

.bh-drawer-submenu {
  display: none;
  padding-left: 14px;
  margin: 6px 0;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid rgba(182, 11, 11, 0.2);
}

.bh-drawer-submenu.show {
  display: flex;
}

.bh-drawer-submenu a {
  color: var(--bh-text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--bh-transition);
}

.bh-drawer-submenu a:hover {
  color: var(--bh-primary);
  padding-left: 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.bh-hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 80px;
  background-color: #ffffff;
  background-image: url('../images/hero-2-bg-img-1.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

/* Hero Right Shape Overlay */
.bh-hero-shape-backdrop {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 50%;
  max-width: 750px;
  background: linear-gradient(135deg, rgba(193, 9, 9, 0.75) 0%, rgba(182, 11, 11, 0.85) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

/* Left Hero Floating Social Dock */
.bh-hero-social-dock {
  position: absolute;
  top: 50%;
  left: 2vw;
  z-index: 10;
  transform: translateY(-50%);
}

.bh-hero-social-dock ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.bh-hero-social-dock .dock-text {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 3px;
  writing-mode: vertical-lr;
  margin-bottom: 25px;
  position: relative;
  color: var(--bh-text-subheading);
  font-family: var(--bh-font-alt);
}

.bh-hero-social-dock .dock-text::after {
  position: absolute;
  width: 1px;
  height: 35px;
  background-color: var(--bh-primary);
  content: "";
  left: 50%;
  bottom: -40px;
}

.bh-hero-social-dock li a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 56, 56, 0.12);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  width: 44px;
  height: 38px;
  color: var(--bh-primary);
  font-size: 14px;
  transition: var(--bh-transition);
}

.bh-hero-social-dock li a:hover {
  background: var(--bh-primary);
  color: #ffffff;
  transform: scale(1.15);
}

.bh-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--bh-text-heading);
}

.bh-hero-title span.text-highlight {
  color: var(--bh-primary);
  display: inline-block;
}

.bh-hero-text {
  font-size: 1.12rem;
  color: var(--bh-text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.bh-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bh-hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--bh-border);
}

.bh-stat-number {
  font-family: var(--bh-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bh-primary);
  line-height: 1;
}

.bh-stat-label {
  font-size: 0.85rem;
  color: var(--bh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 4px;
}

.bh-hero-img-wrap {
  position: relative;
  text-align: center;
  z-index: 2;
}

.bh-hero-img-wrap .hero-main-img {
  position: relative;
  z-index: 2;
  border-radius: var(--bh-radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: heroFloat 6s ease-in-out infinite;
}

.bh-hero-circle-badge {
  position: absolute;
  bottom: -30px;
  left: 15%;
  z-index: 3;
  width: 130px;
  height: 130px;
  animation: spinSlow 20s linear infinite;
}

/* Animations */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Partners & Client Marquee (1:1 with brandhive360.com)
   ========================================================================== */
.bh-partners-section {
  background: #ffffff;
  border-top: 1px solid var(--bh-border-light);
  border-bottom: 1px solid var(--bh-border-light);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.bh-partners-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.bh-partners-label {
  background: linear-gradient(135deg, #B60B0B 0%, #E62A00 50%, #FF3838 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 44px;
  flex-shrink: 0;
  z-index: 3;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.bh-partners-label h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--bh-font-kanit), 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.bh-partners-marquee-container {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 18px 0;
  position: relative;
}

.bh-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.bh-marquee-track:hover {
  animation-play-state: paused;
}

.bh-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  flex-shrink: 0;
}

.bh-marquee-item img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: var(--bh-transition);
}

.bh-marquee-item:hover img {
  transform: scale(1.12);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .bh-partners-wrapper {
    flex-direction: column;
  }
  .bh-partners-label {
    padding: 14px 20px;
    justify-content: center;
    width: 100%;
  }
  .bh-partners-label h3 {
    font-size: 1.3rem;
  }
  .bh-partners-marquee-container {
    padding: 14px 0;
  }
  .bh-marquee-item img {
    height: 30px;
    padding: 0 20px;
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.bh-about-section {
  padding: 100px 0;
  position: relative;
  background-color: #ffffff;
  background-image: url('../images/about-2-img-2.png'), url('../images/about-2-bg-shape-1.png');
  background-position: top left, top right;
  background-repeat: no-repeat, no-repeat;
}

.bh-about-img-box {
  position: relative;
}

.bh-about-img-box img {
  border-radius: var(--bh-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.bh-about-badge-card {
  position: absolute;
  bottom: -24px;
  right: 20px;
  background: #ffffff;
  border: 1px solid var(--bh-border);
  padding: 22px 28px;
  border-radius: var(--bh-radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.bh-about-badge-card .num {
  font-family: var(--bh-font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--bh-primary);
  line-height: 1;
}

.bh-about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.bh-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--bh-border);
  padding: 14px 18px;
  border-radius: var(--bh-radius-md);
  font-family: var(--bh-font-alt);
  font-weight: 600;
  color: var(--bh-text-heading);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--bh-transition);
}

.bh-feature-pill:hover {
  background: rgba(182, 11, 11, 0.04);
  border-color: rgba(182, 11, 11, 0.3);
  transform: translateY(-2px);
}

.bh-feature-pill img, .bh-feature-pill .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.bh-services-section {
  padding: 100px 0;
  background-color: #f8fafc;
  background-image: url('../images/services-bg-img-1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.bh-service-card {
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--bh-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.bh-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bh-gradient-red);
  opacity: 0;
  transition: var(--bh-transition);
}

.bh-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(182, 11, 11, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.bh-service-card:hover::before {
  opacity: 1;
}

.bh-service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--bh-radius-md);
  background: rgba(182, 11, 11, 0.08);
  border: 1px solid rgba(182, 11, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bh-primary);
  margin-bottom: 24px;
  transition: var(--bh-transition);
}

.bh-service-card:hover .bh-service-icon {
  background: var(--bh-gradient-red);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.bh-service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--bh-text-heading);
}

.bh-service-desc {
  font-size: 0.95rem;
  color: var(--bh-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bh-service-img-preview {
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  height: 160px;
}

.bh-service-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bh-service-card:hover .bh-service-img-preview img {
  transform: scale(1.06);
}

.bh-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bh-font-alt);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bh-primary);
  margin-top: auto;
}

.bh-service-link i {
  transition: transform 0.3s ease;
}

.bh-service-card:hover .bh-service-link i {
  transform: translateX(6px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.bh-why-section {
  padding: 100px 0;
  position: relative;
  background-color: #ffffff;
  background-image: url('../images/choose-2-shape-1.png');
  background-repeat: no-repeat;
  background-position: right bottom;
}

.bh-why-card {
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  padding: 30px;
  transition: var(--bh-transition);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.bh-why-card:hover {
  border-color: rgba(182, 11, 11, 0.3);
  transform: translateX(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.bh-why-card .card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.bh-why-card .card-head h4 {
  color: var(--bh-text-heading);
}

.bh-why-card .icon-circ {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(182, 11, 11, 0.1);
  color: var(--bh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ==========================================================================
   Testimonials Slider (Midnight Navy Background)
   ========================================================================== */
.bh-testimonial-section {
  padding: 110px 0;
  background-color: #00071A;
  background-image: url('../images/testimonial-2-bg-img.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  color: #ffffff;
}

.bh-testimonial-section .bh-section-title {
  color: #ffffff;
}

.bh-testimonial-section .bh-section-desc {
  color: #BAC1D4;
}

.bh-testi-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bh-radius-lg);
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bh-testi-card::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 32px;
  background: url('../images/qt1-compress.png') no-repeat center;
  background-size: contain;
  opacity: 0.25;
}

.bh-testi-stars {
  color: #FFB800;
  font-size: 16px;
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.bh-testi-quote {
  font-size: 1.05rem;
  color: #E2E8F0;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
}

.bh-testi-user {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bh-testi-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bh-primary);
}

.bh-testi-name {
  font-family: var(--bh-font-alt);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.bh-testi-role {
  font-size: 0.85rem;
  color: #94A3B8;
}

.bh-testimonial-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.4;
}

.bh-testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--bh-primary);
  opacity: 1;
  width: 24px;
  border-radius: 6px;
}

/* ==========================================================================
   Call To Action (CTA) Banner
   ========================================================================== */
.bh-cta-section {
  padding: 80px 0;
}

.bh-cta-box {
  background-color: #00071A;
  background-image: linear-gradient(135deg, rgba(0, 7, 26, 0.94) 0%, rgba(182, 11, 11, 0.25) 100%), url('../images/cta-2-img.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 1px solid rgba(182, 11, 11, 0.3);
  border-radius: var(--bh-radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.bh-cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.bh-blog-section {
  padding: 100px 0;
  background: #f8fafc;
}

.bh-blog-card {
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  transition: var(--bh-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.bh-blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(182, 11, 11, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bh-blog-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.bh-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bh-blog-card:hover .bh-blog-thumb img {
  transform: scale(1.08);
}

.bh-blog-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ffffff;
  border: 1px solid var(--bh-border);
  padding: 6px 14px;
  border-radius: var(--bh-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bh-primary);
  font-family: var(--bh-font-alt);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bh-blog-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bh-blog-date {
  font-size: 0.85rem;
  color: var(--bh-text-muted);
  margin-bottom: 10px;
}

.bh-blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.bh-blog-title a {
  color: var(--bh-text-heading);
}

.bh-blog-title a:hover {
  color: var(--bh-primary);
}

.bh-blog-excerpt {
  font-size: 0.92rem;
  color: var(--bh-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bh-footer {
  background-color: #00071A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 30px;
  position: relative;
  color: #BAC1D4;
}

.bh-footer-logo {
  margin-bottom: 24px;
}

.bh-footer-logo img {
  height: 44px;
  width: auto;
}

.bh-footer-text {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 340px;
}

.bh-footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.bh-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--bh-primary);
}

.bh-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bh-footer-links a {
  color: #BAC1D4;
  font-size: 0.92rem;
  font-family: var(--bh-font-alt);
  transition: var(--bh-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bh-footer-links a:hover {
  color: var(--bh-primary-light);
  transform: translateX(6px);
}

.bh-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: #BAC1D4;
}

.bh-footer-contact-item i {
  color: var(--bh-primary);
  margin-top: 4px;
}

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

.bh-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--bh-transition);
}

.bh-social-btn:hover {
  background: var(--bh-gradient-red);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--bh-glow);
}

.bh-newsletter-form {
  position: relative;
  margin-top: 16px;
}

.bh-newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 120px 14px 18px;
  border-radius: var(--bh-radius-full);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--bh-transition);
}

.bh-newsletter-input:focus {
  border-color: var(--bh-primary);
  box-shadow: 0 0 15px rgba(182, 11, 11, 0.3);
}

.bh-newsletter-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--bh-gradient-red);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  border-radius: var(--bh-radius-full);
  font-family: var(--bh-font-alt);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--bh-transition);
}

.bh-newsletter-btn:hover {
  background: var(--bh-gradient-red-hover);
}

.bh-footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: #64748B;
}

/* ==========================================================================
   Floating Action Badges (WhatsApp & Back-to-Top)
   ========================================================================== */
.bh-floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--bh-transition);
  animation: pulseGreen 2s infinite;
}

.bh-floating-whatsapp:hover {
  transform: scale(1.12);
  color: #ffffff;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.bh-back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bh-primary);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--bh-transition);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(182, 11, 11, 0.4);
}

.bh-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.bh-back-to-top:hover {
  background: var(--bh-primary-hover);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--bh-glow-lg);
}

/* ==========================================================================
   Page Inner Hero & Breadcrumbs
   ========================================================================== */
.bh-page-hero {
  padding: 70px 0 50px;
  background-color: #f8fafc;
  background-image: url('../images/hero-2-bg-img-1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-bottom: 1px solid var(--bh-border-light);
  text-align: center;
  position: relative;
}

.bh-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bh-font-alt);
  font-size: 0.9rem;
  color: var(--bh-text-muted);
  margin-top: 14px;
}

.bh-breadcrumbs a {
  color: var(--bh-text-subheading);
}

.bh-breadcrumbs a:hover {
  color: var(--bh-primary);
}

.bh-breadcrumbs .separator {
  color: var(--bh-primary);
}

/* ==========================================================================
   Form Controls
   ========================================================================== */
.bh-form-group {
  margin-bottom: 20px;
}

.bh-form-label {
  display: block;
  font-family: var(--bh-font-alt);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bh-text-heading);
  margin-bottom: 8px;
}

.bh-form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: 14px 18px;
  color: var(--bh-text-heading);
  font-size: 0.95rem;
  font-family: var(--bh-font-main);
  outline: none;
  transition: var(--bh-transition);
}

.bh-form-control:focus {
  border-color: var(--bh-primary);
  box-shadow: 0 0 15px rgba(182, 11, 11, 0.2);
  background: #ffffff;
}

textarea.bh-form-control {
  min-height: 140px;
  resize: vertical;
}

/* Contact Box */
.bh-contact-info-card {
  background: #ffffff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Responsive Breakpoints & Layout Adaptations
   ========================================================================== */
@media (max-width: 1360px) {
  .bh-navbar-container {
    max-width: 1240px;
    padding: 10px 24px;
  }
  .bh-nav-menu {
    gap: 16px;
  }
  .bh-nav-link {
    font-size: 0.88rem;
  }
  .bh-header-phone span {
    font-size: 0.85rem;
  }
}

@media (max-width: 1199px) {
  .bh-navbar-container {
    border-radius: 0 0 30px 30px;
    padding: 10px 20px;
    max-width: 100%;
  }
  .bh-nav-menu {
    display: none !important;
  }
  .bh-mobile-toggle {
    display: flex !important;
  }
  .bh-hero-social-dock {
    display: none !important;
  }
  .bh-hero-shape-backdrop {
    width: 60%;
  }
  .bh-header-phone span {
    display: none;
  }
  .bh-header-phone .icon-box {
    margin: 0;
  }
}

@media (max-width: 991px) {
  .bh-hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .bh-hero-shape-backdrop {
    display: none;
  }
  .bh-about-badge-card {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 76px;
  }
  .bh-navbar-container {
    border-radius: 0 0 24px 24px;
    padding: 8px 16px;
  }
  .bh-logo img {
    height: 38px;
  }
  .bh-header-actions .bh-btn {
    display: none !important;
  }
  .bh-hero-title {
    font-size: 2.2rem;
  }
  .bh-section-title {
    font-size: 1.85rem;
  }
  .bh-cta-box {
    padding: 36px 20px;
  }
  .bh-floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .bh-back-to-top {
    bottom: 80px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
