@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --hg-navy: #060c1f;
  --hg-navy-light: #0d1630;
  --hg-navy-surface: #111c3d;
  --hg-amber: #ffaa00;
  --hg-amber-light: #ffc130;
  --hg-blue: #2f6aff;
  --hg-blue-light: #4d82ff;
  --hg-text-main: #060c1f;
  --hg-text-muted: #64748b;
  --hg-gray-bg: #f8fafc;
  --hg-white: #ffffff;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--hg-white);
  color: var(--hg-text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--hg-amber) var(--hg-navy);
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--hg-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--hg-amber);
  border-radius: 4px;
}

.font-heading {
  font-family: var(--font-heading);
}

/* ========================================================
   1. STICKY TOP NAVBAR
   ======================================================== */
.hg-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eef2f6;
}

.hg-nav-container {
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

@media (max-width: 1280px) {
  .hg-nav-container {
    padding: 0 16px;
    height: 64px;
    gap: 8px;
  }
}

/* Far Left: Brand & Badges Group */
.hg-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .hg-nav-left {
    gap: 8px;
  }
}

/* Brand */
.hg-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.hg-nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .hg-nav-logo {
    height: 34px;
  }
}

.hg-nav-brand:hover .hg-nav-logo {
  transform: scale(1.06);
}

.hg-nav-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .hg-nav-title {
    font-size: 16.5px;
  }
}

.hg-nav-title .brand-hive {
  color: #2575d6;
  background: linear-gradient(135deg, #4aa7eb 0%, #2575d6 60%, #0a52b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hg-nav-title .brand-genius,
.hg-nav-title span {
  color: #ffbe1a;
  background: linear-gradient(135deg, #ffbe1a 0%, #f09000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* Top Badges (Beside Logo at far left) */
.hg-nav-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .hg-nav-badges {
    gap: 5px;
  }
}

@media (max-width: 768px) {
  .hg-nav-badges .hg-nav-badge.blue {
    display: none; /* Keep primary amber Global Leader badge on mobile */
  }
}

@media (max-width: 520px) {
  .hg-nav-badges {
    display: none;
  }
}

.hg-nav-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1.2;
}

@media (max-width: 1280px) {
  .hg-nav-badge {
    font-size: 10px;
    padding: 3px 8px;
    gap: 4px;
  }
}

.hg-nav-badge.amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.hg-nav-badge.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

/* Nav Links & Dropdowns (Center Section) */
.hg-nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  margin: 0 auto;
  flex-shrink: 1;
}

@media (max-width: 1280px) {
  .hg-nav-menu {
    gap: 8px;
  }
}

@media (max-width: 1180px) {
  .hg-nav-menu {
    display: none;
  }
}

.hg-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
}

.hg-nav-link:hover {
  color: #2563eb;
}

.hg-nav-link.active {
  color: #2563eb;
}

.hg-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #2563eb;
  border-radius: 2px;
}

.hg-nav-dropdown-item {
  position: relative;
  white-space: nowrap;
}

.hg-nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 2px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.hg-nav-dropdown-trigger:hover,
.hg-nav-dropdown-item.open .hg-nav-dropdown-trigger {
  color: #2563eb;
}

.hg-nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.hg-nav-dropdown-item.open .hg-nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.hg-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background-color: var(--hg-white);
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  z-index: 1050;
  animation: fadeIn 0.2s ease-out;
}

.hg-nav-dropdown-item.open .hg-nav-dropdown-menu {
  display: block;
}

.hg-nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.hg-nav-dropdown-menu a:hover {
  background-color: #f1f5f9;
  color: #2563eb;
  padding-left: 22px;
}

/* Nav Actions (Far Right Corner - strictly one line) */
.hg-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 10px;
}

@media (max-width: 1280px) {
  .hg-nav-actions {
    gap: 6px;
  }
}

.hg-btn-login {
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .hg-btn-login {
    padding: 6px 12px;
    font-size: 12px;
  }
}

.hg-btn-login:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.hg-btn-trial {
  background-color: var(--hg-amber);
  color: #060c1f;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 170, 0, 0.28);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .hg-btn-trial {
    padding: 6px 14px;
    font-size: 12px;
  }
}

.hg-btn-trial:hover {
  background-color: var(--hg-amber-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 170, 0, 0.38);
  color: #060c1f;
}

/* Mobile Toggle */
.hg-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .hg-mobile-toggle {
    display: block;
  }
}

.hg-mobile-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

@media (max-width: 600px) {
  .hg-nav-container {
    padding: 0 14px;
    height: 62px;
  }
  .hg-nav-logo {
    height: 36px;
  }
  .hg-nav-title {
    font-size: 18px;
  }
  .hg-nav-actions {
    gap: 6px;
  }
  .hg-btn-login {
    padding: 6px 10px;
    font-size: 12.5px;
  }
  .hg-btn-trial {
    padding: 6px 12px;
    font-size: 12.5px;
  }
}

/* Mobile Nav Drawer */
.hg-mobile-nav {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid #eef2f6;
  padding: 18px 20px 24px;
}

.hg-mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hg-mobile-nav a {
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hg-mobile-nav a:hover {
  color: #2563eb;
}

.hg-mobile-nav .hg-btn-trial {
  text-align: center;
  justify-content: center;
  margin-top: 10px;
  padding: 12px 20px;
}

/* ========================================================
   2. HERO SLIDER
   ======================================================== */
.hg-hero-slider {
  position: relative;
  width: 100%;
  height: 560px;
  background: linear-gradient(135deg, #f8faff 0%, #edf4fe 50%, #e5f0fd 100%);
  overflow: hidden;
}

@media (min-width: 992px) {
  .hg-hero-slider {
    height: 600px;
  }
}

/* Decorative SVG Background Accents */
.hg-hero-bg-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hg-hex {
  position: absolute;
  pointer-events: none;
}

.hg-hex-blue {
  top: 28px;
  left: 8%;
  width: 48px;
  height: 55px;
}

.hg-hex-amber {
  top: 18px;
  left: 47%;
  width: 52px;
  height: 60px;
}

.hg-dots-grid {
  position: absolute;
  bottom: 50px;
  left: 4%;
  pointer-events: none;
}

/* Hero Slides */
.hg-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  pointer-events: none;
  z-index: 2;
}

.hg-hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hg-hero-container {
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 10;
}

.hg-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.hg-hero-content {
  flex: 1 1 54%;
  max-width: 580px;
  padding: 20px 0;
  z-index: 12;
}

.hg-hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hg-hero-pill {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  line-height: 1.2;
}

.hg-hero-pill.amber {
  background-color: var(--hg-amber);
  color: #060c1f;
}

.hg-hero-pill.blue {
  background-color: #2563eb;
  color: #ffffff;
}

.hg-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.16;
  color: #060c1f;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

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

@media (min-width: 1200px) {
  .hg-hero-title {
    font-size: 48px;
  }
}

.hg-blue-highlight {
  color: #2563eb;
}

.hg-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 28px 0;
  max-width: 500px;
}

@media (min-width: 768px) {
  .hg-hero-sub {
    font-size: 17.5px;
  }
}

.hg-hero-btn-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hg-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--hg-amber);
  color: #060c1f;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.32);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.hg-hero-cta:hover {
  background-color: var(--hg-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 170, 0, 0.42);
  color: #060c1f;
}

.hg-hero-media {
  flex: 1 1 46%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  max-height: 480px;
}

.hg-hero-img-mask {
  width: 100%;
  height: 420px;
  position: relative;
  border-radius: 16px;
}

.hg-hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 10%, black 26%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 10%, black 26%);
  transition: transform 6s ease-out;
}

.hg-hero-slide.active .hg-hero-slide-img {
  transform: scale(1.02);
}

/* Floating Social Proof Badges */
.hg-floating-badge {
  position: absolute;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(6, 12, 31, 0.16), 0 2px 6px rgba(6, 12, 31, 0.06);
  padding: 10px 16px;
  border-radius: 14px;
  animation: floatBadge 4s ease-in-out infinite alternate;
  pointer-events: auto;
}

.hg-floating-badge .badge-icon {
  font-size: 22px;
  line-height: 1;
}

.hg-floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #060c1f;
  line-height: 1.2;
}

.hg-floating-badge span {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.hg-floating-badge.badge-top-right {
  top: 24px;
  right: 24px;
  animation-delay: 0s;
}

.hg-floating-badge.badge-bottom-left {
  bottom: 24px;
  left: 36px;
  animation-delay: 1.5s;
}

.hg-floating-badge.badge-top-left {
  top: 24px;
  left: 36px;
  animation-delay: 0.8s;
}

.hg-floating-badge.badge-bottom-right {
  bottom: 24px;
  right: 24px;
  animation-delay: 2.2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

@media (max-width: 992px) {
  .hg-hero-grid {
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .hg-hero-content {
    flex: 1 1 100%;
    max-width: 100%;
    padding-top: 40px;
  }
  .hg-hero-media {
    display: none;
  }
}

/* Slider Controls */
.hg-hero-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 25;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.hg-hero-arrow svg {
  pointer-events: none;
  display: block;
}

.hg-hero-arrow:hover {
  background-color: var(--hg-amber);
  color: #060c1f;
  border-color: var(--hg-amber);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.4);
}

.hg-hero-arrow.prev,
.hg-hero-arrow.hg-hero-prev {
  left: 20px;
}

.hg-hero-arrow.next,
.hg-hero-arrow.hg-hero-next {
  right: 20px;
}

.hg-hero-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 28;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hg-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hg-hero-dot:hover {
  background-color: #ffffff;
  transform: scale(1.15);
}

.hg-hero-dot.active {
  width: 28px;
  background-color: var(--hg-amber);
  box-shadow: 0 2px 6px rgba(255, 170, 0, 0.45);
}

/* ========================================================
   3. FLOATING STATS CARD (MATCHING REFERENCE IMAGE)
   ======================================================== */
.hg-stats-wrapper {
  max-width: 1200px;
  margin: -46px auto 36px;
  padding: 0 24px;
  position: relative;
  z-index: 35;
}

.hg-stats-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef2f6;
  padding: 24px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.hg-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hg-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hg-stat-icon svg {
  display: block;
}

.hg-stat-icon.blue {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.hg-stat-icon.amber {
  background: #ffaa00;
  color: #060c1f;
  box-shadow: 0 6px 16px rgba(255, 170, 0, 0.28);
}

.hg-stat-icon.green {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
}

.hg-stat-icon.purple {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.hg-stat-info {
  display: flex;
  flex-direction: column;
}

.hg-stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2px;
}

.hg-stat-item:nth-child(1) .hg-stat-num {
  color: #2563eb;
}

.hg-stat-item:nth-child(2) .hg-stat-num {
  color: #d97706;
}

.hg-stat-item:nth-child(3) .hg-stat-num {
  color: #059669;
}

.hg-stat-item:nth-child(4) .hg-stat-num {
  color: #7c3aed;
}

.hg-stat-label {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .hg-stats-wrapper {
    margin-top: 20px;
  }
  .hg-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding: 20px 24px;
  }
}

@media (max-width: 540px) {
  .hg-stats-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 20px;
  }
}

/* ========================================================
   COMMON SECTION HEADERS
   ======================================================== */
.hg-section {
  padding: 84px 20px;
}

.hg-section.bg-gray {
  background-color: var(--hg-gray-bg);
}

.hg-section.bg-white {
  background-color: var(--hg-white);
}

.hg-section.bg-dark {
  background-color: var(--hg-navy);
}

.hg-section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hg-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.hg-badge-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hg-badge-pill.blue {
  background: rgba(37, 117, 214, 0.12);
  color: #2575d6;
  border: 1px solid rgba(37, 117, 214, 0.25);
}

.hg-badge-pill.amber {
  background: rgba(255, 190, 26, 0.15);
  color: #d97706;
  border: 1px solid rgba(255, 190, 26, 0.35);
}

.hg-section.bg-dark .hg-badge-pill.blue {
  background: rgba(74, 167, 235, 0.18);
  color: #60a5fa;
  border-color: rgba(74, 167, 235, 0.3);
}

.hg-section.bg-dark .hg-badge-pill.amber {
  background: rgba(255, 190, 26, 0.2);
  color: #ffbe1a;
  border-color: rgba(255, 190, 26, 0.4);
}

.hg-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--hg-navy);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hg-section-title {
    font-size: 38px;
  }
}

.hg-section.bg-dark .hg-section-title {
  color: var(--hg-white);
}

.hg-section-desc {
  font-size: 15.5px;
  color: var(--hg-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.hg-section.bg-dark .hg-section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.hg-section-divider {
  width: 64px;
  height: 4px;
  background-color: var(--hg-amber);
  border-radius: 9999px;
  margin: 18px auto 0;
}

/* ========================================================
   4. PROGRAMS SECTION (FILTER TABS & CARDS)
   ======================================================== */
.hg-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 36px auto;
  max-width: 900px;
}

.hg-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hg-filter-btn:hover {
  border-color: #2575d6;
  color: #2575d6;
  transform: translateY(-1px);
}

.hg-filter-btn.active {
  background: linear-gradient(135deg, #2575d6 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 117, 214, 0.35);
}

.hg-programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hg-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .hg-programs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.hg-program-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, opacity 0.25s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.hg-program-card.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.hg-program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 117, 214, 0.4);
  box-shadow: 0 18px 36px -6px rgba(37, 117, 214, 0.15);
}

/* Program Ribbon Badge */
.hg-program-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  line-height: 1.2;
}

.hg-program-ribbon.blue {
  background: rgba(37, 117, 214, 0.12);
  color: #2575d6;
}

.hg-program-ribbon.amber {
  background: rgba(255, 190, 26, 0.2);
  color: #b45309;
}

.hg-program-ribbon.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #7e22ce;
}

.hg-program-ribbon.green {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.hg-program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}

.hg-program-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.hg-program-card:hover .hg-program-icon-badge {
  transform: scale(1.08);
}

.hg-program-icon-badge.blue {
  background: linear-gradient(135deg, rgba(74, 167, 235, 0.18) 0%, rgba(37, 117, 214, 0.24) 100%);
  color: #2575d6;
}

.hg-program-icon-badge.amber {
  background: linear-gradient(135deg, rgba(255, 218, 128, 0.25) 0%, rgba(255, 190, 26, 0.3) 100%);
  color: #d97706;
}

.hg-program-icon-badge.purple {
  background: linear-gradient(135deg, rgba(216, 180, 254, 0.22) 0%, rgba(168, 85, 247, 0.28) 100%);
  color: #9333ea;
}

.hg-program-icon-badge.green {
  background: linear-gradient(135deg, rgba(167, 243, 208, 0.25) 0%, rgba(16, 185, 129, 0.3) 100%);
  color: #059669;
}

.hg-program-icon-badge.red {
  background: linear-gradient(135deg, rgba(254, 202, 202, 0.3) 0%, rgba(239, 68, 68, 0.25) 100%);
  color: #dc2626;
}

.hg-program-icon-badge.teal {
  background: linear-gradient(135deg, rgba(153, 246, 228, 0.3) 0%, rgba(20, 184, 166, 0.28) 100%);
  color: #0d9488;
}

.hg-program-age-pill {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 9999px;
}

.hg-program-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--hg-navy);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.hg-program-desc {
  font-size: 13px;
  color: var(--hg-text-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex: 1;
}

.hg-program-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hg-tag {
  font-size: 11px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
}

.hg-program-action {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #2575d6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.hg-program-card:hover .hg-program-action {
  color: #1d4ed8;
  gap: 8px;
}

/* ========================================================
   5. CLASSES SECTION (FORMATS & CHECKLISTS)
   ======================================================== */
.hg-classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hg-classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hg-class-card {
  background-color: var(--hg-white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.hg-class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 117, 214, 0.35);
}

.hg-class-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.hg-class-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hg-class-card:hover .hg-class-img {
  transform: scale(1.05);
}

.hg-class-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #2575d6;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hg-class-badge.amber {
  background-color: #ffbe1a;
  color: #060c1f;
}

.hg-class-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hg-class-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hg-class-type {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--hg-navy);
  margin: 0;
}

.hg-class-pill {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.hg-class-pill.blue {
  background: rgba(37, 117, 214, 0.12);
  color: #2575d6;
}

.hg-class-pill.amber {
  background: rgba(255, 190, 26, 0.2);
  color: #b45309;
}

.hg-class-desc {
  font-size: 14.5px;
  color: var(--hg-text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.hg-class-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hg-class-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.45;
}

.hg-class-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.hg-class-cta-wrap {
  margin-top: auto;
}

.hg-class-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #2575d6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(37, 117, 214, 0.25);
}

.hg-class-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 117, 214, 0.38);
  color: #ffffff;
}

/* Ratio Callout Banner */
.hg-ratio-banner {
  background: linear-gradient(135deg, #0a1435 0%, #060c1f 100%);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  border: 1px solid rgba(255, 190, 26, 0.3);
  box-shadow: 0 12px 30px rgba(6, 12, 31, 0.25);
  margin-top: 36px;
}

@media (min-width: 768px) {
  .hg-ratio-banner {
    flex-direction: row;
    text-align: left;
    gap: 24px;
  }
}

.hg-ratio-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2575d6 0%, #4aa7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(37, 117, 214, 0.4);
}

.hg-ratio-info {
  flex: 1;
}

.hg-ratio-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.hg-ratio-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.hg-ratio-desc strong {
  color: #ffbe1a;
}

.hg-ratio-cta {
  background: linear-gradient(135deg, #ffbe1a 0%, #f09000 100%);
  color: #060c1f;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 190, 26, 0.3);
}

.hg-ratio-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 190, 26, 0.45);
  color: #060c1f;
}

/* ========================================================
   6. FACILITIES SECTION (DYNAMIC BENTO GRID)
   ======================================================== */
.hg-facilities-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hg-facilities-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hg-facilities-bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .hg-bento-card.bento-hero {
    grid-column: span 2;
  }
}

.hg-bento-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hg-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(74, 167, 235, 0.4);
}

.hg-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.75;
}

.hg-bento-card:hover .hg-bento-img {
  transform: scale(1.06);
  opacity: 0.9;
}

.hg-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 31, 0.94) 0%, rgba(6, 12, 31, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.hg-bento-badge {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 190, 26, 0.2);
  color: #ffbe1a;
  border: 1px solid rgba(255, 190, 26, 0.4);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.hg-bento-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.hg-bento-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

/* Facilities Highlights Bar */
.hg-facilities-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .hg-facilities-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px 28px;
  }
}

.hg-fbar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================================
   7. SCHOOL PARTNERS (TICKER & CARDS)
   ======================================================== */
.hg-ticker-wrap {
  overflow: hidden;
  padding: 8px 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hg-ticker-row {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hg-ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.hg-ticker-track.reverse {
  animation: tickerReverse 38s linear infinite;
}

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

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

.hg-school-pill {
  flex-shrink: 0;
  background-color: var(--hg-white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--hg-navy);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Partnership 3 Pillars */
.hg-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .hg-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hg-pillar-card {
  background-color: var(--hg-gray-bg);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #eef2f6;
  transition: all 0.25s ease;
}

.hg-pillar-card:hover {
  border-color: rgba(255, 170, 0, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.hg-pillar-icon {
  font-size: 34px;
  margin-bottom: 16px;
  line-height: 1;
}

.hg-pillar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--hg-navy);
  margin: 0 0 10px 0;
}

.hg-pillar-desc {
  font-size: 14px;
  color: var(--hg-text-muted);
  line-height: 1.6;
  margin: 0;
}

.hg-center-btn-wrap {
  text-align: center;
}

.hg-btn-partner {
  display: inline-block;
  background-color: var(--hg-navy);
  color: var(--hg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 34px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hg-btn-partner:hover {
  background-color: var(--hg-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 12, 31, 0.25);
  color: var(--hg-white);
}

/* ========================================================
   8. COMPETITIONS SECTION (HALL OF CHAMPIONS)
   ======================================================== */
.hg-champions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .hg-champions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hg-champions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.hg-champ-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.hg-champ-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 190, 26, 0.4);
}

.hg-champ-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #1e293b;
}

.hg-champ-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hg-champ-card:hover .hg-champ-img {
  transform: scale(1.08);
}

.hg-champ-medal {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
}

.hg-champ-medal.gold {
  background: linear-gradient(135deg, #ffbe1a 0%, #f09000 100%);
  color: #060c1f;
}

.hg-champ-medal.silver {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
  color: #0f172a;
}

.hg-champ-medal.trophy {
  background: linear-gradient(135deg, #60a5fa 0%, #2575d6 100%);
  color: #ffffff;
}

.hg-champ-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hg-champ-event {
  font-size: 11.5px;
  font-weight: 700;
  color: #2575d6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hg-champ-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--hg-navy);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.hg-champ-desc {
  font-size: 13px;
  color: var(--hg-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.hg-champ-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.hg-champ-tag {
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Champions Stats Bar */
.hg-champ-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, #0a1435 0%, #060c1f 100%);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(74, 167, 235, 0.2);
  box-shadow: 0 10px 28px rgba(6, 12, 31, 0.2);
}

@media (min-width: 768px) {
  .hg-champ-stats-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 36px;
  }
}

.hg-champ-stat {
  text-align: center;
}

.hg-champ-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffbe1a 0%, #4aa7eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hg-champ-stat span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hg-btn-outline-amber {
  display: inline-block;
  border: 2px solid var(--hg-amber);
  color: var(--hg-amber);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hg-btn-outline-amber:hover {
  background-color: var(--hg-amber);
  color: var(--hg-navy);
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
  transform: translateY(-2px);
}

/* ========================================================
   9. TESTIMONIALS SECTION
   ======================================================== */
.hg-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .hg-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hg-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.hg-testimonial-card {
  background-color: var(--hg-navy-light);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.hg-testimonial-card:hover {
  border-color: rgba(255, 170, 0, 0.4);
  transform: translateY(-4px);
}

.hg-stars {
  color: var(--hg-amber);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hg-quote {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  margin: 0 0 20px 0;
  flex: 1;
}

.hg-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hg-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hg-amber);
}

.hg-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--hg-white);
  margin-bottom: 2px;
}

.hg-author-branch {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================================
   10. LATEST NEWS & EVENTS
   ======================================================== */
.hg-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .hg-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hg-news-card {
  background-color: var(--hg-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
}

.hg-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.hg-news-img-wrap {
  height: 180px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.hg-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hg-news-card:hover .hg-news-img {
  transform: scale(1.06);
}

.hg-news-body {
  padding: 20px;
}

.hg-news-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--hg-amber);
  margin-bottom: 8px;
}

.hg-news-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--hg-navy);
  line-height: 1.4;
  margin: 0 0 14px 0;
}

.hg-news-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--hg-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hg-news-card:hover .hg-news-link {
  color: var(--hg-amber);
}

/* ========================================================
   11. DUAL CTA BLOCK
   ======================================================== */
.hg-dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hg-dual-cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hg-dual-card {
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hg-dual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hg-dual-card.light {
  background: #ffffff;
  color: var(--hg-navy);
}

.hg-dual-card.dark {
  background: linear-gradient(145deg, #0e1c45 0%, #060c1f 100%);
  border: 1px solid rgba(74, 167, 235, 0.35);
  color: #ffffff;
}

.hg-dual-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hg-dual-tag.blue {
  background: rgba(37, 117, 214, 0.12);
  color: #2575d6;
}

.hg-dual-tag.amber {
  background: rgba(255, 190, 26, 0.2);
  color: #ffbe1a;
  border: 1px solid rgba(255, 190, 26, 0.3);
}

.hg-dual-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hg-dual-icon-wrap.blue {
  background: rgba(37, 117, 214, 0.1);
}

.hg-dual-icon-wrap.amber {
  background: rgba(255, 190, 26, 0.15);
}

.hg-dual-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.hg-dual-card.light .hg-dual-title {
  color: var(--hg-navy);
}

.hg-dual-card.dark .hg-dual-title {
  color: #ffffff;
}

.hg-dual-desc {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px 0;
}

.hg-dual-card.light .hg-dual-desc {
  color: var(--hg-text-muted);
}

.hg-dual-card.dark .hg-dual-desc {
  color: rgba(255, 255, 255, 0.72);
}

.hg-dual-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.hg-dual-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
}

.hg-dual-card.light .hg-dual-perks li {
  color: #334155;
}

.hg-dual-card.dark .hg-dual-perks li {
  color: rgba(255, 255, 255, 0.85);
}

.hg-dual-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-top: auto;
  width: 100%;
}

.hg-dual-btn.primary {
  background: linear-gradient(135deg, #2575d6 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 117, 214, 0.35);
}

.hg-dual-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 117, 214, 0.45);
  color: #ffffff;
}

.hg-dual-btn.secondary {
  background: linear-gradient(135deg, #ffbe1a 0%, #f09000 100%);
  color: #060c1f;
  box-shadow: 0 4px 16px rgba(255, 190, 26, 0.3);
}

.hg-dual-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 190, 26, 0.45);
  color: #060c1f;
}

/* ========================================================
   12. RICH FOOTER
   ======================================================== */
.hg-footer {
  position: relative;
  background-color: #08112b;
  background-image: 
    radial-gradient(ellipse 75% 45% at 50% -10%, rgba(37, 117, 214, 0.42), transparent 70%),
    radial-gradient(circle at 10% 85%, rgba(10, 82, 184, 0.35), transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(255, 190, 26, 0.15), transparent 40%),
    linear-gradient(180deg, #0c1739 0%, #071026 50%, #040918 100%);
  color: var(--hg-white);
  border-top: 1px solid rgba(74, 167, 235, 0.3);
  padding: 76px 20px 32px;
  overflow: hidden;
}

.hg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #0a52b8 15%, 
    #2575d6 35%, 
    #4aa7eb 50%, 
    #ffbe1a 75%, 
    #f09000 90%, 
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(74, 167, 235, 0.8), 0 2px 10px rgba(37, 117, 214, 0.5);
  pointer-events: none;
  z-index: 2;
}

.hg-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(74, 167, 235, 0.1) 1.5px, transparent 1.5px),
    radial-gradient(rgba(255, 190, 26, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.hg-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hg-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hg-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hg-footer-cols {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
  }
}

.hg-footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hg-footer-col h5::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #4aa7eb, #2575d6);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(74, 167, 235, 0.5);
}

.hg-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hg-footer-brand .hg-nav-title {
  font-size: 24px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

.hg-footer-brand .hg-nav-title .brand-hive {
  background: linear-gradient(135deg, #4aa7eb 0%, #2575d6 60%, #0a52b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #4aa7eb;
  font-weight: 900;
  filter: drop-shadow(0 0 18px rgba(74, 167, 235, 0.6));
  display: inline-block;
}

.hg-footer-brand .hg-nav-title .brand-genius {
  background: linear-gradient(135deg, #ffbe1a 0%, #f09000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffbe1a;
  font-weight: 900;
  filter: drop-shadow(0 0 18px rgba(255, 190, 26, 0.45));
  display: inline-block;
}

.hg-footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 320px;
}

.hg-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hg-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.hg-footer-contact-item:hover {
  color: #4aa7eb;
  transform: translateX(4px);
}

.hg-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 117, 214, 0.15);
  border: 1px solid rgba(74, 167, 235, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4aa7eb;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

a.hg-footer-contact-item:hover .hg-contact-icon {
  background: linear-gradient(135deg, #4aa7eb 0%, #2575d6 100%);
  border-color: #4aa7eb;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(74, 167, 235, 0.6);
  transform: scale(1.08);
}

.hg-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hg-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hg-social-badge svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hg-social-badge:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.hg-social-badge:hover svg {
  transform: scale(1.1);
}

.hg-social-badge.is-instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.25), rgba(131, 58, 180, 0.25));
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.25);
}

.hg-social-badge.is-tiktok:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(37, 244, 238, 0.6);
  box-shadow: 0 4px 14px rgba(37, 244, 238, 0.25);
}

.hg-social-badge.is-youtube:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.hg-social-badge.is-facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);
}

.hg-social-badge.is-linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
  border-color: rgba(10, 102, 194, 0.5);
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.25);
}

.hg-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hg-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hg-footer-links a svg {
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hg-footer-links a:hover {
  color: var(--hg-amber);
  transform: translateX(4px);
}

.hg-footer-links a:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

/* Footer Bottom Bar */
.hg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
  .hg-footer-bottom {
    flex-direction: row;
  }
}

.hg-footer-bottom-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hg-bottom-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.hg-bottom-badge.amber {
  background: rgba(255, 170, 0, 0.12);
  border: 1px solid rgba(255, 170, 0, 0.35);
  color: #fcd34d;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.1);
}

.hg-bottom-badge.blue {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.hg-scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hg-scroll-top:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hg-scroll-top svg {
  transition: transform 0.2s ease;
}

.hg-scroll-top:hover svg {
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
