/* ============================================
   HELPING MINDS - Custom Design System
   A gentle, nurturing aesthetic for mental health
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Primary Colors - Calming Sage & Lavender */
  --hm-sage: #7BA089;
  --hm-sage-light: #A8C4AF;
  --hm-sage-dark: #5C7A64;
  --hm-lavender: #B8A9C9;
  --hm-lavender-light: #D4CAE0;
  --hm-lavender-dark: #8E7BA8;

  /* Neutral Colors */
  --hm-cream: #FAF8F5;
  --hm-cream-dark: #F2EDE6;
  --hm-white: #FFFFFF;
  --hm-text: #3D4A3E;
  --hm-text-light: #6B7A6C;
  --hm-text-muted: #9AA89B;

  /* Accent Colors */
  --hm-coral: #E8A598;
  --hm-sky: #9DC4D4;
  --hm-sun: #F4D35E;

  /* Golden Accent - Matches logo, used for warmth throughout */
  --hm-gold: #D4A520;
  --hm-gold-light: #E8C547;
  --hm-gold-glow: rgba(212, 165, 32, 0.15);
  --hm-cream-warm: #FBF7F0;

  /* Typography */
  --hm-font-display: 'Fraunces', Georgia, serif;
  --hm-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --hm-section-padding: 100px;
  --hm-section-padding-mobile: 60px;

  /* Border Radius */
  --hm-radius-sm: 8px;
  --hm-radius-md: 16px;
  --hm-radius-lg: 24px;
  --hm-radius-xl: 40px;
  --hm-radius-full: 9999px;

  /* Shadows */
  --hm-shadow-sm: 0 2px 8px rgba(61, 74, 62, 0.06);
  --hm-shadow-md: 0 4px 24px rgba(61, 74, 62, 0.08);
  --hm-shadow-lg: 0 8px 40px rgba(61, 74, 62, 0.12);
  --hm-shadow-xl: 0 16px 64px rgba(61, 74, 62, 0.16);

  /* Transitions */
  --hm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --hm-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.hm-body {
  font-family: var(--hm-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--hm-text);
  background-color: var(--hm-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hm-font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--hm-text);
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--hm-sage-dark);
  text-decoration: none;
  transition: var(--hm-transition);
}

a:hover {
  color: var(--hm-sage);
}

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

/* ============================================
   PRELOADER
   ============================================ */
.hm-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.hm-preloader-inner {
  text-align: center;
}

.hm-preloader-circle {
  width: 60px;
  height: 60px;
  border: 3px solid var(--hm-sage-light);
  border-top-color: var(--hm-sage);
  border-radius: 50%;
  animation: hm-spin 1s linear infinite;
  margin: 0 auto 20px;
}

.hm-preloader-text {
  font-family: var(--hm-font-display);
  font-size: 1.25rem;
  color: var(--hm-sage-dark);
  letter-spacing: 0.05em;
}

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

/* ============================================
   BACKGROUND BLOBS
   ============================================ */
.hm-bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: hm-float 20s ease-in-out infinite;
}

.hm-blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--hm-sage-light), var(--hm-lavender-light));
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.hm-blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--hm-lavender-light), var(--hm-sky));
  bottom: 20%;
  left: -100px;
  animation-delay: -7s;
}

.hm-blob-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--hm-coral), var(--hm-lavender-light));
  bottom: -100px;
  right: 20%;
  animation-delay: -14s;
}

@keyframes hm-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ============================================
   HEADER
   ============================================ */
.hm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--hm-transition);
}

.hm-header-scrolled {
  background: rgba(251, 247, 240, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(212, 165, 32, 0.06), var(--hm-shadow-sm);
  padding: 12px 0;
}

.hm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hm-logo img {
  height: 50px;
  width: auto;
  transition: var(--hm-transition);
  /* Transform golden logo to sage green */
  filter: hue-rotate(75deg) saturate(0.6) brightness(0.85);
}

/* Mobile sidebar */
.mobile-sidebar {
  z-index: 1100 !important;
  overflow-y: auto !important;
}

.mobile-sidebar .logos img {
  filter: hue-rotate(75deg) saturate(0.6) brightness(0.85);
  max-height: 50px;
  width: auto;
}

.hm-header-scrolled .hm-logo img {
  height: 42px;
}

.hm-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hm-nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hm-text);
  position: relative;
  padding: 8px 0;
}

.hm-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hm-sage);
  transition: var(--hm-transition);
}

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

.hm-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.hm-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hm-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hm-text);
  border-radius: 2px;
  transition: var(--hm-transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--hm-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--hm-radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--hm-transition);
  text-decoration: none;
}

.hm-btn i {
  font-size: 0.9em;
  transition: var(--hm-transition);
}

.hm-btn-primary {
  background: var(--hm-sage);
  color: var(--hm-white);
  border-color: var(--hm-sage);
}

.hm-btn-primary:hover {
  background: var(--hm-sage-dark);
  border-color: var(--hm-sage-dark);
  color: var(--hm-white);
  transform: translateY(-2px);
  box-shadow: var(--hm-shadow-md);
}

.hm-btn-primary:hover i {
  transform: translateX(3px);
}

.hm-btn-secondary {
  background: var(--hm-lavender);
  color: var(--hm-text);
  border-color: var(--hm-lavender);
}

.hm-btn-secondary:hover {
  background: var(--hm-lavender-dark);
  border-color: var(--hm-lavender-dark);
  color: var(--hm-white);
  transform: translateY(-2px);
}

.hm-btn-outline {
  background: transparent;
  color: var(--hm-sage-dark);
  border-color: var(--hm-sage);
}

.hm-btn-outline:hover {
  background: var(--hm-sage);
  color: var(--hm-white);
  transform: translateY(-2px);
}

.hm-btn-white {
  background: var(--hm-white);
  color: var(--hm-sage-dark);
  border-color: var(--hm-white);
}

.hm-btn-white:hover {
  background: var(--hm-cream);
  border-color: var(--hm-cream);
  color: var(--hm-sage-dark);
  transform: translateY(-2px);
}

.hm-btn-ghost {
  background: transparent;
  color: var(--hm-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--hm-white);
}

/* Golden Accent Button - For Donate/CTA actions */
.hm-btn-gold {
  background: linear-gradient(135deg, var(--hm-gold-light) 0%, var(--hm-gold) 100%);
  color: #3D3014;
  border-color: var(--hm-gold);
  box-shadow: 0 4px 20px var(--hm-gold-glow);
}

.hm-btn-gold:hover {
  background: linear-gradient(135deg, var(--hm-gold) 0%, #B8930E 100%);
  color: #2A2010;
  border-color: #B8930E;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 165, 32, 0.3);
}

.hm-btn-gold i {
  color: #5C4A18;
}

.hm-btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.hm-btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.hm-section {
  position: relative;
  padding: var(--hm-section-padding) 0;
  z-index: 1;
}

@media (max-width: 768px) {
  .hm-section {
    padding: var(--hm-section-padding-mobile) 0;
  }
}

.hm-section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hm-sage);
  margin-bottom: 16px;
}

.hm-section-label-light {
  color: rgba(255, 255, 255, 0.8);
}

.hm-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hm-section-desc {
  font-size: 1.1rem;
  color: var(--hm-text-light);
  max-width: 600px;
}

.hm-section-header {
  margin-bottom: 60px;
}

.hm-section-header.text-center .hm-section-desc {
  margin-left: auto;
  margin-right: auto;
}

.hm-text-accent {
  color: var(--hm-sage);
}

.hm-text-gold {
  color: var(--hm-gold);
}

/* Golden Sparkle Decoration - Use near key elements for warmth */
.hm-sparkle {
  position: relative;
}

.hm-sparkle::after {
  content: '✦';
  position: absolute;
  top: -8px;
  right: -20px;
  font-size: 1rem;
  color: var(--hm-gold);
  opacity: 0.7;
  animation: hm-twinkle 2s ease-in-out infinite;
}

@keyframes hm-twinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Golden accent line for section labels */
.hm-section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--hm-gold);
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.7;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hm-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hm-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(123, 160, 137, 0.08) 0%,
    rgba(184, 169, 201, 0.08) 50%,
    rgba(157, 196, 212, 0.08) 100%
  );
}

.hm-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--hm-sage-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hm-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--hm-white);
  border-radius: var(--hm-radius-full);
  box-shadow: var(--hm-shadow-sm);
  margin-bottom: 32px;
}

.hm-hero-badge i {
  color: var(--hm-sage);
  font-size: 1rem;
}

.hm-hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hm-text);
  letter-spacing: 0.02em;
}

.hm-hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hm-hero-title .hm-text-accent {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hm-hero-subtitle {
  font-size: 1.25rem;
  color: var(--hm-text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hm-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hm-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hm-stat {
  text-align: center;
}

.hm-stat-number {
  display: block;
  font-family: var(--hm-font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--hm-sage-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.hm-stat-label {
  font-size: 0.875rem;
  color: var(--hm-text-light);
  font-weight: 500;
}

.hm-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--hm-sage-light);
  opacity: 0.5;
}

/* Hero Values (alternative to stats) */
.hm-hero-values {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hm-value {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hm-value i {
  font-size: 1.75rem;
  color: var(--hm-sage);
  background: var(--hm-sage-light);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--hm-transition);
}

.hm-value:hover i {
  background: var(--hm-sage);
  color: var(--hm-white);
  transform: translateY(-3px);
}

.hm-value-label {
  font-family: var(--hm-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--hm-text);
  letter-spacing: 0.02em;
}

.hm-value-divider {
  width: 1px;
  height: 50px;
  background: var(--hm-sage-light);
  opacity: 0.5;
}

@media (max-width: 576px) {
  .hm-value-divider {
    display: none;
  }

  .hm-hero-values {
    flex-direction: column;
    gap: 24px;
  }
}

.hm-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hm-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--hm-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hm-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--hm-sage), transparent);
  animation: hm-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hm-scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.hm-about {
  background: var(--hm-white);
}

.hm-about-images {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}

.hm-about-img-main {
  position: relative;
  border-radius: var(--hm-radius-lg);
  overflow: hidden;
  box-shadow: var(--hm-shadow-lg);
}

.hm-about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.hm-about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  border-radius: var(--hm-radius-md);
  overflow: hidden;
  box-shadow: var(--hm-shadow-xl);
  border: 4px solid var(--hm-white);
}

.hm-about-img-accent img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center -20px;
}

.hm-about-float-card {
  position: absolute;
  top: 30px;
  right: 0;
  background: var(--hm-sage);
  color: var(--hm-white);
  padding: 16px 24px;
  border-radius: var(--hm-radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--hm-shadow-lg);
}

.hm-about-float-card i {
  font-size: 1.5rem;
}

.hm-about-float-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

.hm-about-content {
  padding-left: 40px;
}

@media (max-width: 991px) {
  .hm-about-content {
    padding-left: 0;
  }
  .hm-about-images {
    padding-right: 60px;
    margin-bottom: 40px;
  }
}

.hm-lead {
  font-size: 1.15rem;
  color: var(--hm-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hm-about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.hm-feature {
  display: flex;
  gap: 20px;
}

.hm-feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--hm-sage-light);
  border-radius: var(--hm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-sage-dark);
  font-size: 1.25rem;
}

.hm-feature-content h4 {
  font-family: var(--hm-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hm-feature-content p {
  font-size: 0.95rem;
  color: var(--hm-text-light);
  margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.hm-services {
  position: relative;
  background: var(--hm-cream);
}

.hm-services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--hm-white) 0%, var(--hm-cream) 100%);
  z-index: -1;
}

.hm-service-card {
  background: var(--hm-white);
  padding: 40px 32px;
  border-radius: var(--hm-radius-lg);
  height: 100%;
  transition: var(--hm-transition);
  border: 1px solid rgba(123, 160, 137, 0.1);
  position: relative;
  overflow: hidden;
}

.hm-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--hm-sage), var(--hm-lavender));
  opacity: 0;
  transition: var(--hm-transition);
}

.hm-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hm-shadow-lg);
}

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

.hm-service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--hm-sage-light), var(--hm-lavender-light));
  border-radius: var(--hm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--hm-sage-dark);
  margin-bottom: 24px;
  transition: var(--hm-transition);
}

.hm-service-card:hover .hm-service-icon {
  transform: scale(1.1);
}

.hm-service-title {
  font-family: var(--hm-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hm-service-desc {
  font-size: 0.95rem;
  color: var(--hm-text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.hm-service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hm-sage);
  background: var(--hm-sage-light);
  padding: 6px 14px;
  border-radius: var(--hm-radius-full);
  opacity: 0.8;
}

@media (max-width: 576px) {
  .hm-service-card {
    text-align: center;
  }

  .hm-service-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.hm-gallery {
  background: var(--hm-white);
}

.hm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hm-gallery-item {
  position: relative;
  border-radius: var(--hm-radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.hm-gallery-item.hm-gallery-large {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.hm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--hm-transition-slow);
}

.hm-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(123, 160, 137, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--hm-transition);
}

.hm-gallery-overlay i {
  font-size: 2rem;
  color: var(--hm-white);
  transform: scale(0.8);
  transition: var(--hm-transition);
}

.hm-gallery-item:hover img {
  transform: scale(1.1);
}

.hm-gallery-item:hover .hm-gallery-overlay {
  opacity: 1;
}

.hm-gallery-item:hover .hm-gallery-overlay i {
  transform: scale(1);
}

@media (max-width: 991px) {
  .hm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-gallery-item.hm-gallery-large {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .hm-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hm-gallery-item.hm-gallery-large {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }
}

/* ============================================
   TEAM SECTION
   ============================================ */
.hm-team {
  background: var(--hm-cream);
}

.hm-team-card {
  text-align: center;
  background: var(--hm-white);
  border-radius: var(--hm-radius-lg);
  padding: 20px 20px 28px;
  transition: var(--hm-transition);
  border: 1px solid rgba(123, 160, 137, 0.1);
  position: relative;
}

.hm-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--hm-sage), var(--hm-lavender));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: var(--hm-transition);
}

.hm-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(123, 160, 137, 0.15);
}

.hm-team-card:hover::before {
  opacity: 1;
}

.hm-team-photo {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--hm-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 74, 62, 0.1);
}

.hm-team-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(61, 74, 62, 0.03) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: var(--hm-transition);
}

.hm-team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: var(--hm-radius-md);
  background: linear-gradient(var(--hm-white), var(--hm-white)) padding-box,
              linear-gradient(135deg, var(--hm-sage-light), var(--hm-lavender-light)) border-box;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: var(--hm-transition);
}

.hm-team-card:hover .hm-team-photo::after {
  opacity: 1;
}

.hm-team-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  transition: var(--hm-transition-slow);
  filter: saturate(0.95);
}

.hm-team-card:hover .hm-team-photo img {
  transform: scale(1.03);
  filter: saturate(1);
}

.hm-team-social {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--hm-transition);
  z-index: 3;
}

.hm-team-social a {
  width: 38px;
  height: 38px;
  background: var(--hm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-sage);
  font-size: 0.9rem;
  transition: var(--hm-transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hm-team-social a:hover {
  background: var(--hm-sage);
  color: var(--hm-white);
  transform: translateY(-3px);
}

.hm-team-card:hover .hm-team-social {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hm-team-info {
  position: relative;
}

.hm-team-name {
  font-family: var(--hm-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--hm-text);
}

.hm-team-role {
  font-size: 0.85rem;
  color: var(--hm-sage);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Team Cards - Mobile Layout */
@media (max-width: 576px) {
  .hm-team .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hm-team .col-lg-3 {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    margin-bottom: 12px !important;
  }

  .hm-team-card {
    padding: 16px 12px 20px;
  }

  .hm-team-card::before {
    display: none;
  }

  .hm-team-card:hover {
    transform: none;
    box-shadow: var(--hm-shadow-sm);
  }

  .hm-team-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
    border-radius: 50%;
  }

  .hm-team-photo::after {
    border-radius: 50%;
    opacity: 1;
    border-width: 2px;
  }

  .hm-team-photo img {
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-position: center center;
  }

  .hm-team-social {
    display: none;
  }

  .hm-team-name {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .hm-team-role {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.hm-faq {
  position: relative;
  background: var(--hm-white);
}

.hm-faq-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--hm-sage-light) 0%, var(--hm-lavender-light) 100%);
  opacity: 0.1;
  border-radius: 0 0 0 200px;
}

.hm-faq-intro {
  position: sticky;
  top: 120px;
}

.hm-faq-intro p {
  font-size: 1.1rem;
  color: var(--hm-text-light);
  margin-bottom: 32px;
}

.hm-faq-contact p {
  font-size: 0.9rem;
  color: var(--hm-text-muted);
  margin-bottom: 8px;
}

.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hm-sage);
  font-weight: 600;
}

.hm-link:hover {
  color: var(--hm-sage-dark);
}

.hm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hm-faq-item {
  background: var(--hm-cream);
  border-radius: var(--hm-radius-md);
  overflow: hidden;
  transition: var(--hm-transition);
}

.hm-faq-item.active {
  background: var(--hm-white);
  box-shadow: var(--hm-shadow-md);
}

.hm-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: none;
  border: none;
  font-family: var(--hm-font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hm-text);
  cursor: pointer;
  text-align: left;
  transition: var(--hm-transition);
}

.hm-faq-question span {
  flex: 1;
  padding-right: 20px;
}

.hm-faq-question i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--hm-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-sage);
  font-size: 0.85rem;
  transition: var(--hm-transition);
}

.hm-faq-item.active .hm-faq-question i {
  background: var(--hm-sage);
  color: var(--hm-white);
  transform: rotate(45deg);
}

.hm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.hm-faq-item.active .hm-faq-answer {
  max-height: 300px;
}

.hm-faq-answer p {
  padding: 0 24px 24px;
  color: var(--hm-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* FAQ Mobile Styles */
@media (max-width: 576px) {
  .hm-faq-list {
    gap: 12px;
  }

  .hm-faq-question {
    padding: 16px;
    font-size: 0.95rem;
  }

  .hm-faq-question span {
    padding-right: 12px;
  }

  .hm-faq-question i {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .hm-faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .hm-faq-intro {
    margin-bottom: 32px;
  }

  .hm-faq-intro p {
    font-size: 1rem;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.hm-cta {
  position: relative;
  background: linear-gradient(135deg, var(--hm-sage-dark) 0%, var(--hm-sage) 50%, var(--hm-lavender-dark) 100%);
  padding: 120px 0;
  overflow: hidden;
}

.hm-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hm-cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hm-cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hm-cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hm-cta-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.hm-cta-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
}

.hm-cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hm-cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--hm-white);
  margin-bottom: 20px;
}

.hm-cta-title span {
  font-style: italic;
  font-weight: 400;
}

.hm-cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.hm-cta-form {
  margin-bottom: 40px;
}

.hm-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.hm-newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  font-family: var(--hm-font-body);
  font-size: 1rem;
  border: none;
  border-radius: var(--hm-radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--hm-white);
  backdrop-filter: blur(10px);
}

.hm-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hm-newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(212, 165, 32, 0.4);
}

.hm-form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

.hm-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hm-newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.hm-footer {
  background: var(--hm-text);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.hm-footer-main {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-footer-brand p {
  margin: 20px 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.hm-footer-logo img {
  height: 45px;
  width: auto;
  /* Transform golden logo to sage green */
  filter: hue-rotate(75deg) saturate(0.6) brightness(1.1);
}

.hm-footer-social {
  display: flex;
  gap: 12px;
}

.hm-footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--hm-transition);
}

.hm-footer-social a:hover {
  background: var(--hm-sage);
  color: var(--hm-white);
}

.hm-footer-links h5,
.hm-footer-contact h5 {
  color: var(--hm-white);
  font-family: var(--hm-font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.hm-footer-links li {
  margin-bottom: 12px;
}

.hm-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--hm-transition);
}

.hm-footer-links a:hover {
  color: var(--hm-sage-light);
  padding-left: 5px;
}

.hm-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hm-contact-item i {
  color: var(--hm-sage-light);
  font-size: 1rem;
}

.hm-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.hm-contact-item a:hover {
  color: var(--hm-sage-light);
}

.hm-footer-bottom {
  padding: 24px 0;
}

.hm-footer-bottom p {
  font-size: 0.9rem;
  margin: 0;
}

.hm-footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.hm-footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.hm-footer-legal a:hover {
  color: var(--hm-sage-light);
}

.hm-footer-legal span {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.hm-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--hm-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--hm-transition);
  z-index: 999;
  box-shadow: var(--hm-shadow-md);
}

.hm-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hm-scroll-top:hover {
  background: var(--hm-sage-dark);
  transform: translateY(-4px);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.hm-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--hm-white);
  padding: 20px 24px;
  border-radius: var(--hm-radius-lg);
  box-shadow: var(--hm-shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--hm-transition);
}

.hm-cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hm-cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.hm-cookie-content i {
  color: var(--hm-sage);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hm-cookie-content p {
  font-size: 0.9rem;
  color: var(--hm-text-light);
  margin: 0;
  line-height: 1.5;
}

.hm-cookie-content a {
  color: var(--hm-sage);
  text-decoration: underline;
}

/* ============================================
   MOBILE SIDEBAR OVERRIDES
   ============================================ */
.hm-mobile-sidebar {
  background: var(--hm-cream) !important;
}

.hm-mobile-contact {
  margin-top: 30px;
}

.hm-mobile-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hm-text);
  margin-bottom: 12px;
}

.hm-mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hm-sage-dark);
  font-size: 0.95rem;
}

.hm-mobile-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.hm-mobile-social a {
  width: 44px;
  height: 44px;
  background: var(--hm-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-sage-dark);
  font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hm-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hm-hero-stats {
    gap: 24px;
  }

  .hm-stat-number {
    font-size: 2rem;
  }

  .hm-hero-scroll {
    display: none;
  }

  .hm-about-float-card {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 20px;
    display: inline-flex;
  }

  .hm-faq-intro {
    position: static;
  }
}

@media (max-width: 576px) {
  .hm-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hm-stat-divider {
    display: none;
  }

  .hm-hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hm-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hm-footer-legal {
    justify-content: center;
  }
}
