/* Custom styles for Red Ackee Software branding */

.site-title .red-word {
  color: #d32f2f;
  font-weight: bold;
}
.site-title .ackee-word {
  color: #111;
  font-weight: bold;
}
.site-title .software-word {
  color: #FFD700;
  font-weight: bold;
  -webkit-text-stroke: 1px #111;
  text-stroke: 1px #111; /* For future compatibility */
}

/* Navbar site title */
.navbar-brand {
  color: #d32f2f !important; /* Red shade */
  font-weight: bold;
  font-family: 'Montserrat', 'Arial', sans-serif;
  display: none !important;
}
.navbar-brand .red-word {
  color: #d32f2f;
  font-weight: bold;
}
.navbar-brand .ackee-word {
  color: #111;
  font-weight: bold;
}
.navbar-brand .software-word {
  color: #FFD700;
  font-weight: bold;
  -webkit-text-stroke: 1px #111;
  text-stroke: 1px #111; /* For future compatibility */
}

/* Main page title (h1) */
[...existing code...]
[...existing code...]
/* Voice Feedback Microphone Avatar Styles */
.voice-feedback-avatar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #eef9f2 0%, #dff4e6 100%);
  box-shadow: 0 8px 20px rgba(23, 77, 43, 0.14);
  border: 2px solid #2ecc40;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.voice-feedback-avatar:hover,
.voice-feedback-avatar:focus-visible {
  border-color: #d4a514;
  box-shadow: 0 12px 26px rgba(44, 204, 64, 0.18);
  transform: translateY(-2px);
}

.voice-feedback-avatar::after {
  content: attr(data-state);
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 42px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #14311f;
  color: #f6fbf8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.voice-feedback-avatar[data-state="idle"]::after {
  content: "ready";
}

.voice-feedback-avatar[data-state="loading"]::after {
  content: "loading";
  background: #8b6f17;
}

.voice-feedback-avatar[data-state="recording"]::after {
  content: "rec";
  background: #8d1f1f;
}

.voice-feedback-avatar[data-state="processing"]::after {
  content: "working";
  background: #214f8a;
}

#mic-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.voice-feedback-avatar.active {
  animation: voice-feedback-pulse 1.2s ease-in-out infinite;
}

.voice-feedback-avatar.active #mic-avatar-img {
  transform: scale(1.04);
  filter: saturate(1.15);
}

.voice-feedback-hint {
  margin: 12px auto 0;
  max-width: 22rem;
  color: #2f4235;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}

.voice-feedback-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 31, 20, 0.45);
  z-index: 9999;
}

.voice-feedback-modal[hidden] {
  display: none;
}

.voice-feedback-modal__panel {
  width: min(560px, 100%);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(180deg, #fbfdf9 0%, #eff8f1 100%);
  box-shadow: 0 18px 48px rgba(11, 37, 21, 0.22);
}

.voice-feedback-modal__message,
.voice-feedback-modal__meta,
.voice-feedback-modal__transcript,
.voice-feedback-modal__label {
  color: #1d3424;
}

.voice-feedback-modal__label {
  margin: 18px 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-feedback-modal__transcript {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(46, 89, 58, 0.15);
  min-height: 72px;
}

.voice-feedback-modal__meta {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.voice-feedback-modal__close {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #174d2b;
  color: #ffffff;
  cursor: pointer;
}

#voice-feedback-version {
  position: fixed;
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  border-radius: 8px;
  z-index: 10000;
  pointer-events: none;
}

@keyframes voice-feedback-pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(23, 77, 43, 0.14);
  }

  50% {
    box-shadow: 0 10px 28px rgba(141, 31, 31, 0.28);
  }
}

@media (min-width: 900px) {
  #voice-feedback-avatar {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3000;
  }

  #voice-feedback-hint {
    position: fixed;
    left: 50%;
    bottom: 108px;
    transform: translateX(-50%);
    width: min(420px, calc(100vw - 32px));
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(248, 252, 249, 0.94);
    box-shadow: 0 12px 30px rgba(11, 37, 21, 0.12);
    z-index: 2999;
  }
}
h1, .page-title {
  color: #d32f2f;
}

/* Make .page-heading look like .page-title */
.page-heading {
  color: #d32f2f;
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.page-heading .red-word {
  color: #d32f2f;
  font-weight: bold;
}
.page-heading .ackee-word {
  color: #111;
  font-weight: bold;
}
.page-heading .software-word {
  color: #FFD700;
  font-weight: bold;
  -webkit-text-stroke: 1px #111;
  text-stroke: 1px #111; /* For future compatibility */
}

/* Footer site title, if present */
.footer .site-title {
  color: #d32f2f;
  font-weight: bold;
}

/* Hide default page title if custom one is present */
.page-title + .page-title, h1 + .page-title, h1.page-title + h1.page-title {
  display: none;
}

/* Hide default page header if custom page title is present */
.page-title + .page-heading, h1 + .page-heading, h1.page-title + h1.page-heading {
  display: none;
}

/* Header overlay for dimming/fading banner image */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.35); /* semi-transparent white */
  z-index: 1;
  pointer-events: none;
}
.intro-header {
  position: relative;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.intro-header .container-md, .intro-header .row, .intro-header .col-xl-8, .intro-header .col-lg-10 {
  position: relative;
  z-index: 2;
}
body {
  padding-top: 0 !important;
}
