.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-2807 .elementor-element.elementor-element-d8d75b2{--display:flex;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}/* Start custom CSS for html, class: .elementor-element-8cf99bf *//* 
  ========================================================================
  HOURAD MAFI BUSINESS ACADEMY - COMPONENT-SPECIFIC PRE-STYLINGS
  Prefix: .hm- (Prevents any CSS conflicts when embedded inside WordPress!)
  ========================================================================
*/

:root {
  --hm-red: #9d151c;
  --hm-red-hover: #b91c1c;
  --hm-red-light: rgba(157, 21, 28, 0.08);
  --hm-stone-50: #fafaf9;
  --hm-stone-100: #f5f5f4;
  --hm-stone-200: #e7e5e4;
  --hm-stone-300: #d6d3d1;
  --hm-stone-400: #a8a29e;
  --hm-stone-500: #78716c;
  --hm-stone-600: #57534e;
  --hm-stone-700: #44403c;
  --hm-stone-800: #292524;
  --hm-stone-900: #1c1917;
  --hm-stone-950: #0c0a09;
  
  --hm-font-sans: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hm-font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

/* Base resets inside the namespace widget if necessary, styled for HTML container */
.hm-wrapper {
  direction: rtl;
  text-align: right;
  font-family: var(--hm-font-sans);
  background-color: var(--hm-stone-50);
  color: var(--hm-stone-905);
  overflow-x: hidden;
  position: relative;
}

.hm-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease;
}

/* Animations */
@keyframes hmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.95); }
}

@keyframes hmPing {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes hmFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hmScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.hm-animate-pulse {
  animation: hmPulse 1.5s infinite;
}

.hm-animate-ping {
  position: relative;
}
.hm-animate-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: currentColor;
  animation: hmPing 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ------------------ NAVBAR ------------------ */
.hm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(12, 10, 9, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-b: 1px solid var(--hm-stone-900);
  color: #fff;
}

.hm-navbar.scrolled {
  background-color: rgba(12, 10, 9, 0.95);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(157, 21, 28, 0.35);
}

.hm-navbar-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem; /* Larger initial */
}

.hm-navbar.scrolled .hm-navbar-content {
  height: 3.5rem; /* Smaller on scroll */
}

.hm-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.hm-logo-box {
  background-color: var(--hm-red);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(157, 21, 28, 0.3);
}

.hm-logo-text {
  font-weight: 900;
  font-size: 1.1rem;
}

.hm-logo-text span {
  color: var(--hm-red);
}

.hm-desktop-menu {
  display: none;
}

@media (min-width: 1024px) {
  .hm-desktop-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}

.hm-menu-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--hm-stone-300);
  text-decoration: none;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hm-menu-link:hover {
  color: #ef4444;
}

.hm-dot-indicator {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: #ef4444;
}

.hm-app-btn {
  background-color: var(--hm-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(157, 21, 28, 0.2);
}

.hm-app-btn:hover {
  transform: scale(1.05);
  background-color: var(--hm-red-hover);
}

.hm-mobile-toggle {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
}

@media (min-width: 1024px) {
  .hm-mobile-toggle {
    display: none;
  }
}

.hm-mobile-menu {
  display: none;
  background-color: var(--hm-stone-950);
  border-top: 1px solid var(--hm-stone-900);
  padding: 0.5rem 1rem 1rem;
}

.hm-mobile-menu.open {
  display: block;
}

.hm-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  color: var(--hm-stone-200);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 0.375rem;
}

.hm-mobile-link:hover {
  background-color: var(--hm-stone-900);
  color: #ef4444;
}


/* ------------------ HERO SLIDER ------------------ */
.hm-hero {
  position: relative;
  min-height: 800px;
  background-color: var(--hm-stone-950);
  overflow: hidden;
  padding-top: 185px;
  padding-bottom: 3.5rem;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hm-hero {
    min-height: 520px;
    height: 75vh;
    padding-top: 0;
    padding-bottom: 3rem;
  }
}

.hm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hm-slide.active {
  opacity: 1;
  z-index: 10;
}

.hm-slide-bg {
  display: none;
}

@media (min-width: 768px) {
  .hm-slide-bg {
    display: block;
    position: absolute;
    inset: 0;
  }
  .hm-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hm-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.95) 45%, rgba(0,0,0,0.85) 60%, transparent 100%);
    z-index: 20;
  }
}

.hm-hero-container {
  width: 100%;
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 30;
}

.hm-hero-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hm-hero-grid {
    grid-template-cols: repeat(12, 1fr);
  }
}

.hm-hero-text {
  order: 2;
}

@media (min-width: 768px) {
  .hm-hero-text {
    grid-column: span 7;
    order: 1;
  }
}

.hm-hero-card {
  background-color: rgba(28, 25, 22, 0.6);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .hm-hero-card {
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
  }
}

.hm-badge-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(157, 21, 28, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 0.65rem;
  font-weight: bold;
  margin-bottom: 0.85rem;
}

.hm-hero-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

@media (min-width: 1024px) {
  .hm-hero-title {
    font-size: 2.2rem;
  }
}

.hm-hero-desc {
  color: var(--hm-stone-300);
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

@media (min-width: 768px) {
  .hm-hero-desc {
    font-size: 0.85rem;
  }
}

.hm-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hm-btn-group {
    flex-direction: row;
  }
}

.hm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--hm-red);
  color: #fff;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.hm-btn-primary:hover {
  background-color: var(--hm-red-hover);
  transform: scale(1.02);
}

.hm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.hm-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hm-hero-graphic-col {
  order: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hm-hero-graphic-col {
    grid-column: span 5;
    order: 2;
    display: none;
  }
}

@media (max-width: 767px) {
  .hm-hero-graphic-box {
    width: 100%;
    max-width: 320px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--hm-stone-800);
    background-color: var(--hm-stone-900);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    aspect-ratio: 4/3;
    position: relative;
  }
  .hm-hero-graphic-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hm-hero-graphic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--hm-stone-950) 10%, transparent);
    z-index: 10;
  }
}

.hm-arrow-svg {
  width: 1rem;
  height: 1rem;
  transform: scaleX(-1);
}

.hm-nav-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background-color: rgba(28, 25, 24, 0.6);
  border: 1px solid var(--hm-stone-800);
  color: var(--hm-stone-300);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hm-nav-chevron:hover {
  background-color: var(--hm-red);
  color: #fff;
}

.hm-nav-chevron.prev { left: 1rem; }
.hm-nav-chevron.next { right: 1rem; }

.hm-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 0.65rem;
}

.hm-dot-btn {
  height: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  width: 0.5rem;
}

.hm-dot-btn.active {
  width: 2rem;
  background-color: var(--hm-red);
}


/* ------------------ BIOGRAPHY / STATS ------------------ */
.hm-section-intro {
  padding: 6rem 0;
  background-color: var(--hm-stone-100);
  position: relative;
}

.hm-intro-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-intro-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .hm-intro-grid {
    grid-template-cols: repeat(12, 1fr);
  }
}

.hm-intro-text-col {
  text-align: right;
}

@media (min-width: 1024px) {
  .hm-intro-text-col {
    grid-column: span 7;
  }
}

.hm-section-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.hm-tag-line {
  height: 1px;
  width: 2rem;
  background-color: var(--hm-red);
}

.hm-tag-text {
  color: var(--hm-red);
  font-weight: bold;
  font-size: 0.75rem;
}

.hm-intro-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--hm-stone-900);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hm-intro-title {
    font-size: 1.8rem;
  }
}

.hm-intro-title underline {
  text-decoration: underline;
  text-decoration-color: var(--hm-stone-300);
}

.hm-intro-p {
  color: var(--hm-stone-700);
  line-height: 1.8;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.hm-features-intro {
  display: grid;
  grid-template-cols: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hm-features-intro {
    grid-template-cols: 1fr 1fr;
  }
}

.hm-feat-item {
  display: flex;
  gap: 0.75rem;
}

.hm-feat-icon {
  color: var(--hm-red);
  background-color: #fff;
  padding: 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hm-stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 2.5rem;
  width: 2.5rem;
}

.hm-feat-detail h4 {
  font-weight: bold;
  color: var(--hm-stone-900);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.hm-feat-detail p {
  color: var(--hm-stone-500);
  font-size: 0.75rem;
  line-height: 1.5;
}

.hm-quote-banner {
  padding: 1.5rem;
  border-right: 4px solid var(--hm-red);
  background-color: #fff;
  border-radius: 0.75rem 0 0 0.75rem;
}

.hm-quote-text {
  color: var(--hm-stone-800);
  font-size: 0.8rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
}

.hm-quote-author {
  display: block;
  color: var(--hm-red);
  font-weight: bold;
  font-size: 0.7rem;
  margin-top: 0.5rem;
  text-align: left;
}

.hm-bio-card-col {
  position: relative;
}

@media (min-width: 1024px) {
  .hm-bio-card-col {
    grid-column: span 5;
  }
}

.hm-bio-card-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(157, 21, 28, 0.08);
  border-radius: 1.5rem;
  transform: rotate(3deg) scale(1.02);
  z-index: 1;
}

.hm-bio-card {
  position: relative;
  z-index: 2;
  background-color: var(--hm-stone-900);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--hm-stone-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  color: var(--hm-stone-200);
}

.hm-bio-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: var(--hm-red);
  background-color: rgba(157, 21, 28, 0.1);
  padding: 0.65rem;
  border-radius: 50%;
  border: 1px solid rgba(157, 21, 28, 0.2);
  display: flex;
}

.hm-bio-name {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  margin-bottom: 0.25rem;
}

.hm-bio-subtitle {
  color: var(--hm-red);
  font-weight: bold;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-family: var(--hm-font-mono);
}

.hm-bio-list {
  list-style: none;
  margin-bottom: 2rem;
}

.hm-bio-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hm-bio-list li svg {
  color: var(--hm-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hm-bio-footer {
  border-top: 1px solid var(--hm-stone-800);
  padding-top: 1.5rem;
  color: var(--hm-stone-400);
  font-size: 0.7rem;
  line-height: 1.6;
}

/* Statistics Grid */
.hm-stats-grid {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .hm-stats-grid {
    grid-template-cols: repeat(4, 1fr);
  }
}

.hm-stat-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(231, 229, 228, 0.8);
  text-align: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.hm-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background-color: transparent;
}

.hm-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.hm-stat-card:hover::after {
  background-color: var(--hm-red);
}

.hm-stat-num {
  font-size: 1.75rem;
  font-weight: 950;
  color: var(--hm-stone-900);
  margin-bottom: 0.5rem;
}

.hm-stat-num span {
  color: var(--hm-red);
}

.hm-stat-label {
  color: var(--hm-stone-500);
  font-size: 0.75rem;
  font-weight: 600;
}


/* ------------------ WINNER CLUB BLOCK ------------------ */
.hm-club-block {
  background-color: var(--hm-stone-900);
  color: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--hm-stone-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  display: grid;
  grid-template-cols: 1fr;
}

@media (min-width: 1024px) {
  .hm-club-block {
    grid-template-cols: repeat(12, 1fr);
  }
}

.hm-club-details {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .hm-club-details {
    grid-column: span 8;
    padding: 3rem;
  }
}

.hm-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(157, 21, 28, 0.2);
  color: var(--hm-red-hover);
  border: 1px solid rgba(157, 21, 28, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hm-club-details h3 {
  font-size: 1.25rem;
  font-weight: 950;
  margin-bottom: 0.75rem;
}

.hm-club-intro-p {
  color: var(--hm-stone-400);
  font-size: 0.8rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hm-benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.hm-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--hm-stone-300);
  margin-bottom: 0.75rem;
}

.hm-bullet-inline {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--hm-red);
  flex-shrink: 0;
}

.hm-club-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--hm-stone-950);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hm-stone-800);
}

.hm-alert-star {
  color: #fbbf24;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
}

.hm-alert-text p {
  font-size: 0.7rem;
  color: var(--hm-stone-400);
}

.hm-alert-text h5 {
  font-size: 0.75rem;
  font-weight: bold;
}

.hm-club-action-card {
  background-color: var(--hm-stone-950);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .hm-club-action-card {
    grid-column: span 4;
    border-right: 1px solid var(--hm-stone-800);
    padding: 3rem;
  }
}

.hm-club-action-card h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.hm-club-action-card p {
  color: var(--hm-stone-400);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hm-full-width-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background-color: var(--hm-red);
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.hm-full-width-btn:hover {
  background-color: var(--hm-red-hover);
}


/* ------------------ COURSES SECTION ------------------ */
.hm-courses-sec {
  padding: 6rem 0;
  background-color: #fff;
}

.hm-courses-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hm-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: var(--hm-red);
  font-size: 0.65rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.hm-main-title {
  font-size: 1.5rem;
  font-weight: 950;
  color: var(--hm-stone-900);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hm-main-title {
    font-size: 2.22rem;
  }
}

.hm-main-desc {
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: 0.8rem;
  color: var(--hm-stone-500);
  line-height: 1.7;
}

.hm-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.hm-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: bold;
  font-size: 0.75rem;
  border: none;
  cursor: pointer;
  background-color: var(--hm-stone-100);
  color: var(--hm-stone-600);
}

.hm-tab-btn:hover {
  background-color: var(--hm-stone-200);
}

.hm-tab-btn.active-all {
  background-color: var(--hm-stone-900);
  color: #fff;
}

.hm-tab-btn.active-paid {
  background-color: var(--hm-red);
  color: #fff;
}

.hm-tab-btn.active-free {
  background-color: var(--hm-stone-950);
  color: #fff;
}

.hm-courses-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hm-courses-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-courses-grid {
    grid-template-cols: repeat(3, 1fr);
  }
}

.hm-course-card {
  background-color: var(--hm-stone-50);
  border-radius: 1rem;
  border: 1px solid var(--hm-stone-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hm-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(157, 21, 28, 0.2);
}

.hm-course-img-box {
  position: relative;
  height: 12rem;
  background-color: var(--hm-stone-100);
  overflow: hidden;
}

.hm-course-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-course-card:hover .hm-course-img-box img {
  transform: scale(1.08);
}

.hm-course-badge-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.hm-badge-tag {
  color: #fff;
  font-weight: bold;
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.hm-badge-tag.free { background-color: var(--hm-stone-900); }
.hm-badge-tag.paid { background-color: var(--hm-red); }

.hm-course-len {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(0,0,0,0.6);
  border-radius: 0.5rem;
  color: #fff;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  backdrop-filter: blur(4px);
}

.hm-course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hm-course-stars {
  display: flex;
  justify-content: flex-end;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.hm-course-stars span {
  font-size: 0.65rem;
  color: var(--hm-stone-500);
  margin-right: 0.25rem;
}

.hm-star-icon {
  width: 0.85rem;
  height: 0.85rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.hm-course-card-title {
  font-weight: 850;
  font-size: 0.95rem;
  color: var(--hm-stone-900);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.hm-course-card:hover .hm-course-card-title {
  color: var(--hm-red);
}

.hm-course-card-desc {
  font-size: 0.72rem;
  color: var(--hm-stone-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hm-course-footer {
  border-top: 1px solid rgba(231, 229, 228, 0.8);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hm-price-label {
  display: block;
  font-size: 0.6rem;
  color: var(--hm-stone-400);
}

.hm-price-val {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--hm-stone-900);
}

.hm-price-val.free-text {
  color: var(--hm-accent-green, #10b981);
}

.hm-syllabus-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  background-color: var(--hm-stone-900);
  color: #fff;
  font-weight: bold;
  font-size: 0.68rem;
  border: none;
  cursor: pointer;
}

.hm-syllabus-btn:hover {
  background-color: var(--hm-red);
}


/* ------------------ MOBILE APP PROMOTION ------------------ */
.hm-app-sec {
  padding: 6rem 0;
  background-color: var(--hm-stone-950);
  color: #fff;
  position: relative;
}

.hm-app-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-app-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hm-app-grid {
    grid-template-cols: repeat(12, 1fr);
  }
}

.hm-app-preview-col {
  position: relative;
}

@media (min-width: 1024px) {
  .hm-app-preview-col {
    grid-column: span 5;
  }
}

.hm-app-preview-glow {
  position: absolute;
  inset: -0.375rem;
  border-radius: 2.2rem;
  background: linear-gradient(to top right, var(--hm-red), var(--hm-stone-800));
  opacity: 0.75;
  filter: blur(8px);
}

.hm-app-preview-box {
  position: relative;
  background-color: var(--hm-stone-900);
  border-radius: 2rem;
  padding: 1rem;
  border: 1px solid var(--hm-stone-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.hm-app-preview-box img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  display: block;
}

.hm-app-tag-stat {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  background-color: var(--hm-red);
  color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.hm-app-tag-stat svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hm-app-tag-stat h5 {
  font-size: 0.85rem;
  font-weight: bold;
}

.hm-app-tag-stat p {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
}

.hm-app-info-col {
  text-align: right;
}

@media (min-width: 1024px) {
  .hm-app-info-col {
    grid-column: span 7;
  }
}

.hm-app-p {
  color: var(--hm-stone-400);
  font-size: 0.8rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hm-app-feat-bullets {
  display: grid;
  grid-template-cols: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hm-app-feat-bullets {
    grid-template-cols: 1fr 1fr;
  }
}

.hm-app-bullet-item {
  display: flex;
  gap: 0.75rem;
}

.hm-app-bullet-icon {
  background-color: rgba(157, 21, 28, 0.1);
  border: 1px solid rgba(157, 21, 28, 0.2);
  color: var(--hm-red-hover);
  padding: 0.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
}

.hm-app-bullet-text h4 {
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hm-app-bullet-text p {
  font-size: 0.68rem;
  color: var(--hm-stone-400);
  line-height: 1.5;
}

.hm-app-downloads {
  border-top: 1px solid var(--hm-stone-800);
  padding-top: 1.5rem;
}

.hm-app-downloads p {
  font-size: 0.7rem;
  color: var(--hm-stone-400);
  margin-bottom: 0.75rem;
}

.hm-app-down-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}


/* ------------------ PODCAST / PLAYLIST ------------------ */
.hm-podcast-sec {
  padding: 6rem 0;
  background-color: var(--hm-stone-50);
  border-y: 1px solid var(--hm-stone-200);
}

.hm-podcast-container {
  max-w: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-playlist-box {
  background-color: #fff;
  border: 1px solid var(--hm-stone-200);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.hm-playlist-item {
  padding: 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--hm-stone-100);
}

.hm-playlist-item:last-child {
  border-bottom: none;
}

.hm-playlist-item:hover {
  background-color: rgba(245, 245, 244, 0.3);
}

.hm-playlist-item.active {
  background-color: rgba(245, 245, 244, 0.8);
  border-right: 3px solid var(--hm-red);
}

.hm-p-item-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hm-p-item-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hm-p-control-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.hm-playlist-item.active .hm-p-control-btn {
  background-color: var(--hm-red);
  color: #fff;
}

.hm-p-control-btn {
  background-color: var(--hm-stone-100);
  color: var(--hm-stone-600);
}

.hm-p-meta h4 {
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--hm-stone-800);
}

.hm-playlist-item.active .hm-p-meta h4 {
  color: var(--hm-red);
}

.hm-p-meta p {
  font-size: 0.6rem;
  color: var(--hm-stone-500);
  margin-top: 0.15rem;
}

.hm-p-length-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hm-p-len-span {
  font-size: 0.65rem;
  color: var(--hm-stone-400);
}

.hm-wave-holder {
  display: flex;
  gap: 0.125rem;
  height: 1rem;
  align-items: center;
}

.hm-wave-bar {
  width: 2px;
  background-color: var(--hm-red);
  border-radius: 1px;
}

@keyframes hmBounceWave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.hm-wave-bar.b1 { animation: hmBounceWave 0.8s infinite 0.1s; }
.hm-wave-bar.b2 { animation: hmBounceWave 0.8s infinite 0.2s; }
.hm-wave-bar.b3 { animation: hmBounceWave 0.8s infinite 0.3s; }

/* Expanded Player controls panel */
.hm-player-exp {
  border-top: 1px solid var(--hm-stone-200);
  padding-top: 1rem;
  margin-top: 0.85rem;
}

.hm-player-exp-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: rgba(245, 245, 244, 0.6);
  padding: 0.75rem;
  border-radius: 0.75rem;
  flex-direction: column;
}

@media (min-width: 640px) {
  .hm-player-exp-flex {
    flex-direction: row;
  }
}

.hm-seek-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hm-seek-container {
    flex: 1;
  }
}

.hm-seek-time {
  font-size: 0.65rem;
  color: var(--hm-stone-500);
  font-family: var(--hm-font-mono);
}

.hm-seek-slider {
  flex: 1;
  height: 4px;
  border-radius: 9999px;
  background-color: var(--hm-stone-300);
  appearance: none;
  cursor: pointer;
}

.hm-seek-slider::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--hm-red);
}

.hm-vol-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  width: auto;
}

.hm-vol-mute-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hm-stone-500);
  display: flex;
}

.hm-vol-slider {
  width: 4rem;
  height: 2px;
  background-color: var(--hm-stone-300);
  appearance: none;
  cursor: pointer;
}

.hm-vol-slider::-webkit-slider-thumb {
  appearance: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hm-stone-600);
}


/* ------------------ TESTIMONIALS SLIDER ------------------ */
.hm-test-sec {
  padding: 6rem 0;
  background-color: var(--hm-stone-900);
  color: #fff;
  position: relative;
}

.hm-test-container {
  max-w: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.hm-test-stages {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.hm-test-item {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--hm-stone-800);
  background-color: var(--hm-stone-950);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.hm-test-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 20;
  pointer-events: auto;
  box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.15);
}

.hm-test-stars {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.hm-test-stars svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.hm-test-quote {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--hm-stone-200);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hm-test-quote {
    font-size: 0.95rem;
  }
}

.hm-test-footer {
  border-top: 1px solid var(--hm-stone-800);
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hm-test-company {
  font-size: 0.65rem;
  color: var(--hm-stone-500);
}

.hm-test-author-details {
  text-align: right;
}

.hm-test-author-name {
  font-size: 0.8rem;
  font-weight: bold;
}

.hm-test-author-role {
  font-size: 0.65rem;
  color: var(--hm-stone-400);
  margin-top: 0.15rem;
}

.hm-test-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hm-test-nav-btn {
  background-color: var(--hm-stone-950);
  border: 1px solid var(--hm-stone-800);
  color: var(--hm-stone-400);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hm-test-nav-btn:hover {
  background-color: var(--hm-stone-900);
  color: #fff;
}


/* ------------------ CONTACT & MAP ------------------ */
.hm-contact-sec {
  padding: 6rem 0;
  background-color: var(--hm-stone-100);
}

.hm-contact-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hm-contact-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hm-contact-grid {
    grid-template-cols: repeat(12, 1fr);
  }
}

.hm-contact-details-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hm-contact-details-col {
    grid-column: span 6;
  }
}

.hm-contacts-sub-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .hm-contacts-sub-grid {
    grid-template-cols: 1fr 1fr;
  }
}

.hm-contact-info-card {
  background-color: #fff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hm-stone-200);
  display: flex;
  gap: 1rem;
}

.hm-contact-info-icon {
  background-color: var(--hm-red-light);
  color: var(--hm-red);
  padding: 0.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
}

.hm-contact-info-texts h4 {
  font-size: 0.75rem;
  font-weight: bold;
}

.hm-contact-info-texts p {
  font-size: 0.65rem;
  color: var(--hm-stone-500);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.hm-sim-map {
  height: 15rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--hm-stone-200);
  background-color: var(--hm-stone-300);
  position: relative;
}

.hm-map-pin-btn {
  background-color: var(--hm-red);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hm-map-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.15);
  color: #fff;
  z-index: 10;
}

.hm-map-content h4 {
  font-weight: bold;
  font-size: 0.8rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hm-map-content p {
  font-size: 0.6rem;
  color: var(--hm-stone-200);
  margin-top: 0.25rem;
}

.hm-coaching-box {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--hm-stone-200);
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hm-coaching-box {
    grid-column: span 6;
  }
}

.hm-coaching-box h3 {
  font-size: 1.25rem;
  font-weight: 950;
  margin-bottom: 0.5rem;
}

.hm-coaching-p {
  font-size: 0.75rem;
  color: var(--hm-stone-550);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hm-bullet-checks {
  background-color: var(--hm-stone-50);
  border: 1px solid var(--hm-stone-200);
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.hm-check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--hm-stone-700);
  margin-bottom: 0.75rem;
}

.hm-check-row:last-child {
  margin-bottom: 0;
}

.hm-check-row svg {
  color: var(--hm-red);
  flex-shrink: 0;
}


/* ------------------ FOOTER ------------------ */
.hm-footer {
  background-color: var(--hm-stone-950);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hm-footer-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(157, 21, 28, 0.45), transparent);
}

.hm-footer-glow {
  position: absolute;
  right: -12rem;
  bottom: -12rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(157, 21, 28, 0.05);
  border-radius: 50%;
  filter: blur(120px);
}

.hm-footer-container {
  max-w: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.hm-footer-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid var(--hm-stone-800);
  padding-bottom: 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hm-footer-grid {
    grid-template-cols: repeat(12, 1fr);
    text-align: right;
  }
}

.hm-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hm-footer-brand {
    grid-column: span 5;
    align-items: flex-start;
  }
}

.hm-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hm-brand-row span {
  font-weight: 900;
  font-size: 1.15rem;
}

.hm-brand-row span span {
  color: var(--hm-red);
}

.hm-footer-badges {
  display: flex;
  gap: 0.5rem;
}

.hm-soc-badge {
  background-color: rgba(28,25,23,0.8);
  border: 1px solid var(--hm-stone-800);
  color: var(--hm-stone-300);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
}

.hm-soc-badge:hover {
  background-color: var(--hm-red);
  color: #fff;
}

.hm-footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hm-footer-links-col {
    grid-column: span 3;
    align-items: flex-start;
  }
}

.hm-footer-col-title {
  font-size: 0.75rem;
  color: var(--hm-stone-300);
  border-right: 3px solid var(--hm-red);
  padding-right: 0.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hm-footer-ul {
  list-style: none;
}

.hm-footer-ul li {
  margin-bottom: 0.75rem;
}

.hm-footer-ul a {
  font-size: 0.75rem;
  color: var(--hm-stone-400);
  text-decoration: none;
}

.hm-footer-ul a:hover {
  color: #ef4444;
}

.hm-footer-contacts-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hm-footer-contacts-col {
    grid-column: span 4;
    align-items: flex-start;
  }
}

.hm-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hm-f-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--hm-stone-900);
  border: 1px solid var(--hm-stone-800);
  color: var(--hm-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-f-contact-details {
  text-align: right;
}

.hm-f-contact-details span.f-sm {
  display: block;
  font-size: 0.55rem;
  color: var(--hm-stone-550);
}

.hm-f-contact-details span.f-v {
  font-size: 0.7rem;
  color: var(--hm-stone-300);
}

.hm-footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  color: var(--hm-stone-500);
}

@media (min-width: 640px) {
  .hm-footer-bottom {
    flex-direction: row;
  }
}


/* ------------------ REGISTRATION MODAL ------------------ */
.hm-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hm-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hm-modal-window {
  background-color: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--hm-stone-200);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  max-width: 32rem;
  width: 100%;
  animation: hmScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hm-modal-header {
  background-color: var(--hm-stone-900);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.hm-modal-header h4 {
  font-size: 1rem;
  font-weight: 850;
}

.hm-modal-close {
  background: none;
  border: none;
  color: var(--hm-stone-400);
  cursor: pointer;
  display: flex;
}

.hm-modal-close:hover {
  color: #fff;
}

.hm-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.hm-modal-footer {
  padding: 1.25rem 1.75rem;
  background-color: var(--hm-stone-50);
  border-top: 1px solid var(--hm-stone-200);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hm-input-group {
  margin-bottom: 1.25rem;
  text-align: right;
}

.hm-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--hm-stone-700);
  margin-bottom: 0.5rem;
}

.hm-input-field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--hm-stone-300);
  font-size: 0.8rem;
  outline: none;
}

.hm-input-field:focus {
  border-color: var(--hm-red);
  box-shadow: 0 0 0 2px rgba(157, 21, 28, 0.1);
}

/* Success layout generated code */
.hm-success-box {
  text-align: center;
  padding: 1rem 0;
}

.hm-success-icon {
  color: var(--hm-primary, var(--hm-red));
  margin-bottom: 1rem;
  animation: hmScaleIn 0.4s ease;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
}

.hm-success-box h5 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--hm-stone-900);
  margin-bottom: 0.5rem;
}

.hm-success-box p {
  font-size: 0.75rem;
  color: var(--hm-stone-550);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hm-code-display-card {
  background-color: var(--hm-stone-950);
  border: 1px solid rgba(157, 21, 28, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.hm-code-label {
  font-size: 0.55rem;
  color: var(--hm-stone-400);
  margin-bottom: 0.25rem;
}

.hm-code-val {
  font-family: var(--hm-font-mono);
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.1em;
}

.hm-copy-btn {
  background-color: var(--hm-stone-800);
  color: #fff;
  border: none;
  font-size: 0.65rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
}

.hm-copy-btn:hover {
  background-color: var(--hm-stone-700);
}


/* ------------------ TOAST POPUPS ------------------ */
.hm-toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.hm-toast {
  background-color: var(--hm-stone-950);
  border: 1px solid var(--hm-stone-850);
  border-right-width: 4px;
  border-right-color: var(--hm-red);
  border-radius: 0.75rem;
  color: #fff;
  padding: 1rem;
  width: 18rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  animation: hmFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
}

.hm-toast-bell {
  color: var(--hm-red);
  background-color: rgba(157, 21, 28, 0.1);
  padding: 0.35rem;
  border-radius: 0.375rem;
  height: 1.75rem;
  width: 1.75rem;
  display: flex;
  align-items: center;
}

.hm-toast-content {
  text-align: right;
}

.hm-toast-content h5 {
  font-size: 0.7rem;
  color: var(--hm-stone-400);
  font-weight: bold;
}

.hm-toast-content p {
  font-size: 0.7rem;
  color: var(--hm-stone-200);
  margin-top: 0.25rem;
  line-height: 1.5;
}


/* ------------------ FLOATING BUTTONS ------------------ */
.hm-scroll-top {
  position: fixed;
  bottom: 6rem;
  left: 1.5rem;
  z-index: 40;
  background-color: rgba(157, 21, 28, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.hm-scroll-top:hover {
  background-color: rgba(157, 21, 28, 0.95);
  transform: translateY(-3px);
}

.hm-scroll-top.show {
  display: flex;
}/* End custom CSS */