/* Custom CSS */
:root {
	--clr-maroon: #731513;
	--clr-vermilion: #E23B14;
	--clr-bone: #D9D3C3;
	--clr-rust: #934A27;
	--clr-peach: #F4A368;
	--clr-cinnamon: #B4532B;
	--clr-light: #dbd7c8; 
	--brown-rolhover: #e55636;
	--terracotta: #e03812; 
	--brand-subtitle: #172c3b;
	--light: #dbd7c8;  
	--white: #ffffff; 
}

@font-face {
    font-family: 'Acumin Pro';
    src: url('../vendor/acumin-pro-font/AcuminPro-Regular.eot');
    src: url('../vendor/acumin-pro-font/AcuminPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../vendor/acumin-pro-font/AcuminPro-Regular.woff2') format('woff2'),
        url('../vendor/acumin-pro-font/AcuminPro-Regular.woff') format('woff'),
        url('../vendor/acumin-pro-font/AcuminPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acumin Pro';
    src: url('../vendor/acumin-pro-font/AcuminPro-Bold.eot');
    src: url('../vendor/acumin-pro-font/AcuminPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('../vendor/acumin-pro-font/AcuminPro-Bold.woff2') format('woff2'),
        url('../vendor/acumin-pro-font/AcuminPro-Bold.woff') format('woff'),
        url('../vendor/acumin-pro-font/AcuminPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
  /* font-family: "Helvetica Neue", Arial, sans-serif; */
  font-family: "Acumin Pro",sans-serif;
  background: var(--white);
  color: #2b2b2b;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.color-gray {
  color: var(--brand-subtitle);
}
/* ===========================
   CUSTOM SCROLLBAR — REVERSED TERRACOTTA STYLE
=========================== */

/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--clr-vermilion);;        /* terracotta red background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #f6f1ea;        /* light cream thumb */
  border-radius: 10px;
  border: 2px solid var(--clr-vermilion);;  /* border to blend with track */
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;        /* brighter white on hover */
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #f6f1ea var(--clr-vermilion);; /* thumb | track */
}

/* Optional: Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* =========
   HEADER 
============ */

.main-header {
  background-color: var(--light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  position: sticky;
  top: 0;
}

.logo{
    width: 100%;
    max-width: 50px;
}
.logo {
  width: 48px;
  height: auto;
}
.brand-wrapper {
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.8rem;
  color: var(--brand-subtitle);
  margin-top: -2px;
}
/* =====================
   NAVBAR
====================== */
.menuBtn{
	color: var(--clr-maroon);
	font-size: 26px;
    font-weight: 900;
}
.menuBtn.active, .menuBtn.show, .menuBtn:first-child:active, :not(.btn-check)+.btn:active {
   color: var(--brand-subtitle);
}
.menuBtn.btn, .menuBtn.btn:hover, .menuBtn.btn:focus , .menuBtn.btn:active  {
    color: var(--clr-maroon);
	border:none;
}

.navbar {
	background-color: var(--light);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0.75rem 1.5rem;
	z-index: 1000;
	position: sticky;
	top: 0;
	transition: transform 0.3s ease;
}
.navbar-transparent {
	background-color: var(--white) !important;
}
.navbar-brand {
	color: var(--terracotta) !important;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0;
	display: block;
  margin-top: 5px;
}
.navbar-brand span {
  color: var(--clr-rust) !important;
}
.nav-link {
  font-weight: 600;
  color: #333 !important;
  margin-right: 1rem;

  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--terracotta) !important;
}


/* ===========================
   NAV LINK ACTIVE STATE (Underline + Color)
=========================== */

.navbar-nav {
  display: flex;
  gap: 0.2rem;
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 600;
  color: #333 !important;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brown-rolhover) !important;
  font-weight: 700;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--terracotta);
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
@media (max-width: 991.98px) {
  .navbar {
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }
}

/* ===========================
   DROPDOWN MENU
=========================== */
.dropdown-item-wrapper {
  position: relative;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--terracotta);
  border-radius: 0 0 6px 6px;
  display: none;
  flex-direction: column;
  padding: 0;
  min-width: 260px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.25s ease-in-out;
  border: 2px solid var(--clr-rust);
}

.dropdown-item-wrapper:hover .dropdown-menu-custom {
  display: flex;
}

.dropdown-menu-custom a {
  color: var(--white);
  padding: 0.65rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.dropdown-menu-custom a:last-child{
  border-bottom: none !important;
}

.dropdown-menu-custom a:last-child:hover {
  border-radius: 0px 0px 4px 4px;
}

.dropdown-menu-custom a:hover {
  background: var(--brown-rolhover);
}

.dropdown-menu-custom .active{
	background: var(--brown-rolhover);
}

/* Step icons */
.dropdown-menu-custom a::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--clr-rust);
  font-weight: 700;
  font-size: 0.8rem;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  margin-right: 10px;
  padding-top: 3px;
}

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

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 991.98px) {
  .navbar-nav {
    display: none !important;
  }

  /* .brand-subtitle {
    display: none; 
  }
 */
  .navbar-brand {
    font-size: 1rem;
  }

  .logo {
    max-width: 45px;
  }
}



/* ----------------------------
   Mobile Menu: BASE MENU STRUCTURE
---------------------------- */
.app-menu {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(225, 59, 23, 0.95), rgba(197, 40, 15, 0.92));
  backdrop-filter: blur(18px);
  color: var(--white);
  z-index: 1050;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.app-menu.active {
  right: 0;
}

/* ----------------------------
   Mobile Menu: MENU OVERLAY
---------------------------- */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ----------------------------
   Mobile Menu: HEADER
---------------------------- */
.menu-header {
  margin-bottom: 1.5rem;
}

.menu-header h4 {
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.6rem;
}

/* ----------------------------
   Mobile Menu: CLOSE BUTTON
---------------------------- */
.close-menu {
	position: absolute;
	top: 1rem;
	right: 1.2rem;
	background: rgba(255,255,255,0.15);
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	font-weight: bold;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	  padding-right: 6px;
	padding-top: 2px;
}

.close-menu:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

/* ----------------------------
   Mobile Menu: MENU LINKS (MAIN ITEMS)
---------------------------- */
.mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 40px;
}

.mobile-nav-list > li {
  margin-bottom: 0.5rem;
}

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li > a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
}

/* Remove number circle from top-level */
.mobile-nav-list > li > a::before {
  content: none !important;
}

/* ----------------------------
   Mobile Menu: SUBMENU WRAPPER
---------------------------- */
.has-submenu .submenu {
  list-style: none;
  margin-top: 0.4rem;
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.35s ease;
}

.has-submenu.open .submenu {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------
   Mobile Menu: SUBMENU ITEMS
---------------------------- */
.submenu li {
  margin-bottom: 0.4rem;
}

.submenu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.submenu li a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
}

/* Step Number Circle */
.submenu li a::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: #c53312;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  padding-top: 4px;
}

/* ----------------------------
   Mobile Menu: SUBMENU TOGGLE ARROW
---------------------------- */
.submenu-toggle::after {
  content: "▸";
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  margin-left: auto;
}

.has-submenu.open .submenu-toggle::after {
  transform: rotate(90deg);
}

/* ----------------------------
   Mobile Menu: FOOTER
---------------------------- */
.menu-footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.menu-footer p {
  margin: 0;
}

/* ----------------------------
   Mobile Menu: SCROLLBAR STYLING
---------------------------- */
.app-menu::-webkit-scrollbar {
  width: 6px;
}
.app-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.app-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.35);
}

/* ----------------------------
   Mobile Menu: MEDIA RESPONSIVE
---------------------------- */
@media (max-width: 480px) {
  .app-menu {
    width: 280px;
    padding: 1.2rem;
  }

  .close-menu {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }

  .mobile-nav-list > li > a {
    font-size: 0.95rem;
    padding: 0.65rem 0.8rem 0.4rem 0.8rem;
  }

  .submenu li a {
    font-size: 0.85rem;
  }
}
/* ----------------------------
   Mobile Menu: End
---------------------------- */

/* =====================
   SIDEBAR (Desktop)
====================== */
.sidebar {
	background: var(--clr-rust);
	color: var(--white);
	height: 100%;
	max-height: 93vh;
	padding: 1rem 1rem 2rem 1rem;
	position: fixed;
	top: 70px;
	left: 0;
	width: 280px;
	overflow-y: auto;
	z-index: 998;
}

.sidebar h6 {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar h4 {
  font-weight: 700;
  color: var(--white);
}
.settings-box img{
	box-shadow: 0px 0px 14px rgb(0 0 0 / 34%);
	margin-top:10px !important;
	margin-bottom:15px !important;
}
.progress-wrapper {
  position: relative;
  width: 100%;
  margin: 0.8rem 0 1.2rem 0;
  height: 10px;
}

.progress-bar-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--white);
  transition: width 0.5s ease;
}

.progress-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  top: -1px;
}

.progress-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgb(255 255 255);
	transition: background 0.4s ease, transform 0.4s ease;
	border: 2px solid var(--clr-peach);
}


.progress-dots .dot.filled {
	 background: var(--clr-peach);
	transform: scale(1.2);
	border: 2px solid var(--clr-peach);
}

/* --clr-maroon: #731513;
  --clr-vermilion: #E23B14;
  --clr-bone: #D9D3C3;
  --clr-rust: #934A27;
  --clr-peach: #F4A368;
  --clr-cinnamon: #B4532B;
  --clr-light: #dbd7c8;  */
  
.sidebar-stage1 {
	background: var(--clr-rust);
}

.progress-dots-stage1 .dot {
	background: var(--clr-rust);
	border: 2px solid var(--clr-light);
}
.progress-dots-stage1 .dot.filled {
	 background: var(--clr-light);
	transform: scale(1.2);
	border: 2px solid var(--clr-light);
}
.mobile-dots-stage1 .dot.filled {
  background: var(--clr-light);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage1 .list-item::before {
  background: var(--clr-rust) !important;
  color: var(--white);
}


.sidebar-stage2 {
	background: var(--clr-rust);
}
.progress-dots-stage2 .dot {
	background: var(--clr-light);
	border: 2px solid var(--clr-cinnamon);
}
.progress-dots-stage2 .dot.filled {
	 background: var(--clr-cinnamon);
	transform: scale(1.2);
	border: 2px solid var(--clr-cinnamon);
}
.mobile-dots-stage2 .dot.filled {
  background: var(--cinnamon);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage2 .list-item::before {
  background: var(--clr-rust) !important;
  color: var(--white);
}

.sidebar-stage3 {
	background: var(--clr-vermilion);
}
.progress-dots-stage3 .dot {
	background: var(--clr-vermilion);
	border: 2px solid var(--clr-light);
}
.progress-dots-stage3 .dot.filled {
	 background: var(--clr-light);
	transform: scale(1.2);
	border: 2px solid var(--clr-light);
}
.mobile-dots-stage3 .dot.filled {
  background: var(--clr-light);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage3 .list-item::before {
  background: var(--clr-vermilion) !important;
  color: var(--white);
}

.sidebar-stage4 {
	background: var(--clr-rust);
}
.progress-dots-stage4 .dot {
	background: var(--clr-rust);
	border: 2px solid var(--clr-light);
}
.progress-dots-stage4 .dot.filled {
	 background: var(--clr-light);
	transform: scale(1.2);
	border: 2px solid var(--clr-light);
}
.mobile-dots-stage4 .dot.filled {
  background: var(--light);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage4 .list-item::before {
  background: var(--clr-rust) !important;
  color: var(--white);
}

.sidebar-stage5 {
	background: var(--clr-rust);
}
.progress-dots-stage5 .dot {
	background: var(--clr-light);
	border: 2px solid var(--clr-cinnamon);
}
.progress-dots-stage5 .dot.filled {
	 background: var(--clr-cinnamon);
	transform: scale(1.2);
	border: 2px solid var(--clr-cinnamon);
}
.mobile-dots-stage5 .dot.filled {
  background: var(--clr-cinnamon);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage5 .list-item::before {
  background: var(--clr-rust) !important;
  color: var(--white);
}

.sidebar-stage6 {
	background: var(--clr-vermilion);
}
.progress-dots-stage6 .dot {
	background: var(--clr-vermilion);
	border: 2px solid var(--clr-light);
}
.progress-dots-stage6 .dot.filled {
	 background: var(--clr-light);
	transform: scale(1.2);
	border: 2px solid var(--clr-light);
}
.mobile-dots-stage6 .dot.filled {
  background: var(--clr-light);
  animation: dotPulse 0.6s ease-out;
}
.numbered-list-stage6 .list-item::before {
  background: var(--clr-vermilion) !important;
  color: var(--white);
}
.numbered-list-resource .list-item::before {
  background: var(--clr-vermilion) !important;
  color: var(--white);
}
/* ===========================
   DOT ANIMATION (Pulse + Smooth Fill)
=========================== */

/* Base transition for dot fill */
.progress-dots .dot,
.mobile-dots .dot {
  transition: background 0.4s ease, transform 0.4s ease;
}

/* For desktop dots */
.progress-dots .dot.filled {
  animation: dotPulse 0.6s ease-out;
}

/* For mobile dots */
.mobile-dots .dot.filled {
  background: var(--clr-maroon);
  animation: dotPulse 0.6s ease-out;
}

/* Pulse animation when filled */
@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-btn {
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  font-weight: 500;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step-btn::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease;
  padding-top: 2px;
}

.step-btn.active {
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-btn.active::before {
  background: var(--white);
  color: var(--clr-maroon);
}
/* ===========================
   SETTINGS BOX STYLE
=========================== */

.settings-text {
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
}

/* =====================
   MOBILE HEADER (Sticky)
====================== */
.navbar {
  background-color: var(--light);
  border-bottom: 0px;
  padding: 0.75rem 1.5rem;
  z-index: 1001;
  position: fixed; /* changed from sticky */
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.4s ease;
}

.navbar.hide {
  transform: translateY(-100%);
}
.mobile-stage {
  text-align: center;
  background:var(--light);
 /*  padding: 1rem 0 0.5rem 0; */
  position: sticky; /* ✅ sticky for mobile */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid #eee;
  transition: top 0.4s ease;
}

.mobile-stage.up {
  top: 0;
}

.mobile-stage .stageGroup{
	padding: 0.7rem;
}
.mobile-stage .stageImg{
	box-shadow: 0px 0px 9px 1px #b7b7b7;
    border-radius: 6px;
	padding-left:0px;
}
.mobile-stage .stageTitle{
	color: var(--clr-maroon);
	font-size:32px;
}
.mobile-stage .stageText{
	color: var(--brand-subtitle);
	font-size:14px;
}


.mobile-stage h6 {
  text-transform: uppercase;
  color: var(--clr-maroon);
  margin-bottom: 0.2rem;
}

.mobile-stage h5 {
  color: var(--clr-maroon);
  font-weight: 700;
}

.mobile-progress {
  position: relative;
  width: 80%;
  margin: 0.5rem 0.5rem 0.5rem 0rem;
  height: 10px;
}

.mobile-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-maroon);
  transform: translateY(-50%);
  border-radius: 4px;
  overflow: hidden;
}

.mobile-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--clr-maroon);
  transition: width 0.5s ease;
}

.mobile-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.mobile-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
	background: rgb(219 215 200);
	transition: background 0.4s ease, transform 0.4s ease;
	border: 1px solid var(--clr-maroon);
}

.mobile-dots .dot.filled {
  background: var(--clr-maroon);
  transform: scale(1.2);
}

.mobile-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr; /* makes equal widths automatically */
  gap: 0.1rem;
  padding: 0rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--white);
  border-bottom: 1px solid #ddd;
}

/* Make buttons auto grid based on count */
.mobile-scroll[data-count="1"] {
  grid-template-columns: 1fr;
}
.mobile-scroll[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}
.mobile-scroll[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.mobile-scroll[data-count="4"] {
  grid-template-columns: repeat(4, 1fr);
}
.mobile-scroll[data-count="5"] {
  grid-template-columns: repeat(5, 1fr);
}
.mobile-scroll[data-count="6"] {
  grid-template-columns: repeat(6, 1fr);
}


.mobile-scroll::-webkit-scrollbar {
  display: none; /* hide scrollbar on WebKit browsers */
}
.mobile-scroll.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-step {
	flex: 0 0 auto;
	color: var(--white);
	background: var(--clr-rust);
	border: none;
	padding: 0.7rem 1em 0.5rem 3rem;
	font-size: 0.85rem;
	font-weight: 600;
	min-width:200px;
	min-height: 50px;
	width:100%;
	line-height: 15px;
	text-align: left;

	touch-action: manipulation;
	transform: translateZ(0); /* creates GPU layer, prevents reflow */
	will-change: transform;
}

.mobile-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease;
  padding-top: 2px;
}

.mobile-scroll {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-step.active {
  background: var(--clr-maroon);
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .sidebar {
	display: none;
  }

}
@media (max-width: 332px) {
  .mobile-stage .col-auto {
	    text-align: left;
  }
}
/* =====================
   Home Page
====================== */
.home-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: var(--white);
}

.home-section .btn-danger {
  background-color: #A62B2B !important;
  border-color: #A62B2B !important;
  border-radius: 40px;
}

.home-section h1 {
  font-size: 3rem;
  color: var(--brown-rolhover);
  line-height: 1.1;
}
.home-section h1 span{
  font-size: 3rem;
  color: var(--clr-rust);
  line-height: 1.1;
}

.home-section p{
  font-size: 16px;
}
.home-section small{
  line-height:normal;
}

.home-section .brandBtn{
  background-color: var(--brown-rolhover);
  border-radius:50px;
  color:var(--white);
  padding-top: 7px;
}
.home-section .brandBtn:hover{
  background-color: var(--brown-rolhover);
}

@media (max-width: 991.98px) {
  .img-fluid {
		max-width: 70%;
	}
}
/* =====================
   MAIN CONTENT
====================== */
.main-content .feedbackBtn, .main-content .feedbackBtn:active{
    background-color: var(--brown-rolhover);
    border-radius: 50px;
    color: var(--white);
    padding-top: 7px;
}
.main-content .form-control{
	 border-color: var(--brown-rolhover);
}
.main-content .form-control:focus {
  border-color: var(--brown-rolhover);
	box-shadow: none;
}
.main-content-home {
	margin-left: 0px;
	margin-top:60px;
}
.main-content {
	padding: 2.5rem 6rem 2rem 6rem;
	margin-left: 260px; /* compensate for fixed sidebar */
	margin-top:60px;
  min-height: calc(100vh - 4rem);
}

@media (max-width: 991.98px) {
	.main-content {
		margin-left: 0px;
		margin-top: 0px;
		padding: 2rem;
	}
	.main-content-resource {
		margin-top: 20px !important;
	}
}

.sectionVideoImg{
	width:60%;
	max-width:700px;
}

.hero-card {
  text-align: center;
}
.numbered-list {
  counter-reset: step-counter;
}
.numbered-list .list-item {
  position: relative;
  padding-left: 45px;
  counter-increment: step-counter;
}
.numbered-list .list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #7b3e2b; /* ASH brown */
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.section-block span{
	color: var(--clr-vermilion);
}
.section-block a{
	color: var(--clr-vermilion);
	text-decoration:underline;
}
/* .section-block {
  scroll-margin-top: 0px; 
}
@media (max-width: 992px) {
  .section-block {
    scroll-margin-top: 0px; 
  }
} */
/* =====================
   resource Page
====================== */
.resource-section {
  display: flex;
  align-items: center;
  background: var(--white);
}

.resource-section .settings-text {
  font-weight: 600;
  font-size: 12px;
  color:#000;
}
.resource-section h6 {
	color: var(--clr-vermilion);
}

.main-content-resource {
	margin-left: 0px;
	margin-top:90px;
}

iframe.video-player {
  aspect-ratio: 2;
}

iframe#login-iframe {
  width: 100%;
  height: 90vh;
  overflow-x: hidden;
}
.need-login {
  position: relative;
  padding: 20px;
}
.need-login::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  border-radius: 4px;
}
.need-login .login-content {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  color: var(--white);
}
.response {
  font-style: italic;
  color: var(--clr-rust);
  border: 1px solid var(--clr-rust);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
}
.custom-primary-btn {
  background-color: var(--brown-rolhover);
  border-radius: 50px;
  color: var(--white);
  padding: .6rem 1.5rem;
  line-height: normal;
}
.custom-primary-btn:hover, .custom-primary-btn:active, .custom-primary-btn:focus {
  background-color: var(--terracotta);
  color: var(--white);
}
.custom-secondary-btn {
  background-color: transparent;
  border-radius: 50px;
  color: var(--brown-rolhover);
  border: 1px solid var(--brown-rolhover);
  padding: .6rem 1.5rem;
  line-height: normal;
}
.custom-secondary-btn:hover, .custom-secondary-btn:active, .custom-secondary-btn:focus {
  background-color: var(--terracotta);
  color: var(--white);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  background: transparent;
  color: var(--terracotta);
  font-size: 3.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.back-to-top.show {
  display: flex;
  opacity: 1;
}
.contactLeft{
	background-color: #fdfdfd;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 20px;
}
.contact-section {
  min-height: calc(100vh - 7.5rem); 
  display: flex; 
  align-items: center;
}
div#wordCount{
  position: absolute;
  right: 0;
  font-size: 12px;
  color: #3d3d3d;
}
.next-stage {
  position: absolute;
  right: 0;
}
.login-next-stage {
  position: absolute;
  right: 1rem;
}

/* Video controls css */
.video-list {
  width: 100%;
}
.controlled-video {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 6px;
  background: var(--brand-subtitle);
}
