@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

/* Override the Primary colour in Bootstrap */
:root {
  --bs-primary: #007fff;
  --bs-primary-rgb: 0, 127, 255;
  --bs-primary-hover: #0056b3;
  --bs-primary-active: #004e9e;

  --bs-success: #35bf2f;
  --bs-success-rgb: 68, 239, 59;
  --bs-success-hover: #44ef3b;
  --bs-success-active: #2ca628;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary-hover);
  --bs-btn-hover-border-color: var(--bs-primary-hover);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary-active);
  --bs-btn-active-border-color: var(--bs-primary-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-success);
  --bs-btn-border-color: var(--bs-success);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-success-hover);
  --bs-btn-hover-border-color: var(--bs-success-hover);
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-success-active);
  --bs-btn-active-border-color: var(--bs-success-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-success);
  --bs-btn-disabled-border-color: var(--bs-success);
}

.btn-success:hover {
  --bs-btn-hover-color: #007fff;
  --bs-btn-hover-bg: #fff007;
  --bs-btn-hover-border-color: #fff007;
}

.btn-light {
  --bs-btn-color: #007fff;
  --bs-btn-bg: var(--bs-light);
  --bs-btn-border-color: var(--bs-light);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-light-hover);
  --bs-btn-hover-border-color: var(--bs-light-hover);
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-light-active);
  --bs-btn-active-border-color: var(--bs-light-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-light);
  --bs-btn-disabled-border-color: var(--bs-light);
}

.btn-light:hover {
  --bs-btn-hover-color: #007fff;
  --bs-btn-hover-bg: #fff007;
  --bs-btn-hover-border-color: #fff007;
}

.btn-outline-success {
  --bs-btn-color: var(--bs-success);
  --bs-btn-border-color: var(--bs-success);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-success);
  --bs-btn-hover-border-color: var(--bs-success);
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-success);
  --bs-btn-active-border-color: var(--bs-success);
  --bs-btn-disabled-color: var(--bs-success);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--bs-success);
}

/* Custom warning button styles */
.btn-warning.custom-warning {
  --bs-btn-color: #007fff;
  --bs-btn-bg: #ffc107;
  --bs-btn-border-color: #ffc107;
  --bs-btn-hover-color: #007fff;
  --bs-btn-hover-bg: #fff007;
  --bs-btn-hover-border-color: #fff007;
  --bs-btn-focus-shadow-rgb: 255, 193, 7;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffdc35;
  --bs-btn-active-border-color: #ffdc35;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ffc107;
  --bs-btn-disabled-border-color: #ffc107;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-success {
  color: var(--bs-success) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-success {
  background-color: var(--bs-success) !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: var(--bs-primary-hover) !important;
}

a.text-success:hover,
a.text-success:focus {
  color: var(--bs-success-hover) !important;
}

.btn-outline-light:hover {
  color: #007fff;
  background-color: var(--bs-white);
  border-color: var(--bs-white);
}

:root {
  --bs-yellow: #fff007;
  --bs-yellow-rgb: 255, 240, 7;
}

.text-yellow {
  color: var(--bs-yellow) !important;
}

.bg-yellow {
  background-color: var(--bs-yellow) !important;
}

.btn-yellow {
  color: #000;
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
}

.btn-yellow:hover {
  color: #000;
  background-color: #ffef2c;
  border-color: #ffee21;
}

.btn-check:focus + .btn-yellow,
.btn-yellow:focus {
  color: #000;
  background-color: #ffef2c;
  border-color: #ffee21;
  box-shadow: 0 0 0 0.25rem rgba(217, 204, 6, 0.5);
}

.btn-check:checked + .btn-yellow,
.btn-check:active + .btn-yellow,
.btn-yellow:active,
.btn-yellow.active,
.show > .btn-yellow.dropdown-toggle {
  color: #000;
  background-color: #fff037;
  border-color: #ffee21;
}

.btn-check:checked + .btn-yellow:focus,
.btn-check:active + .btn-yellow:focus,
.btn-yellow:active:focus,
.btn-yellow.active:focus,
.show > .btn-yellow.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(217, 204, 6, 0.5);
}

.btn-yellow:disabled,
.btn-yellow.disabled {
  color: #000;
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
}

.btn-outline-yellow {
  color: var(--bs-yellow);
  border-color: var(--bs-yellow);
}

.btn-outline-yellow:hover {
  color: #000;
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
}

.btn-check:focus + .btn-outline-yellow,
.btn-outline-yellow:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 240, 7, 0.5);
}

.btn-check:checked + .btn-outline-yellow,
.btn-check:active + .btn-outline-yellow,
.btn-outline-yellow:active,
.btn-outline-yellow.active,
.btn-outline-yellow.dropdown-toggle.show {
  color: #000;
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
}

.btn-check:checked + .btn-outline-yellow:focus,
.btn-check:active + .btn-outline-yellow:focus,
.btn-outline-yellow:active:focus,
.btn-outline-yellow.active:focus,
.btn-outline-yellow.dropdown-toggle.show:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 240, 7, 0.5);
}

.btn-outline-yellow:disabled,
.btn-outline-yellow.disabled {
  color: var(--bs-yellow);
  background-color: transparent;
}

.alert-yellow {
  color: #999004;
  background-color: #fffccd;
  border-color: #fffbb6;
}

.alert-yellow .alert-link {
  color: #7a7303;
}

.border-yellow {
  border-color: var(--bs-yellow) !important;
}

a.text-yellow:hover,
a.text-yellow:focus {
  color: #ccc006 !important;
}

.text-bg-yellow {
  color: #000 !important;
  background-color: RGBA(
    var(--bs-yellow-rgb),
    var(--bs-bg-opacity, 1)
  ) !important;
}

/* General Styles */
h1,
h2,
h3,
h4,
h5,
h6,
h7,
h8 {
  font-family: "Inter", sans-serif;
  color: #007fff;
  margin-bottom: 0;
}

:root {
  --bs-light: #f4f2ee;
  --bs-light-rgb: 244, 242, 238; /* RGB values for #f4f2ee */
}

body {
  font-family: "Inter", sans-serif;
  color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-justify: auto;
  padding-top: 60px;
}

/* May not use these:
.bodyloggedout {
  background-color: #f4f2ee;
}

.bodyloggedin {
  background-color: #f4f2ee;
}
*/

.text-bodyloggedin {
  color: #f2f2f2;
}

/* Header */
.custom-navbar {
  background-color: #ffffff;
}

.custom-navbar .nav-link {
  color: #007fff;
}

.custom-navbar .dropdown-item {
  color: #007fff;
}

.custom-navbar .nav-link:hover {
  text-decoration: underline;
}

.dropdown-toggle {
  text-decoration: none !important;
}

.dropdown-item .material-icons {
  margin-right: 10px;
  font-size: 18px;
}

.btn .material-icons {
  margin-right: 10px;
  font-size: 18px;
}

.material-icons {
  margin: 0; /* Reset margins */
  padding: 0; /* Reset paddings */
}

.d-flex {
  padding: 0; /* Ensuring no padding is affecting the centering */
  margin: 0; /* Ensuring no margin is affecting the centering */
}

.nav-item {
  margin-right: 10px;
}

.navbar-brand {
  height: 50px;
}

.navbar-logo {
  height: 45px;
  width: auto;
}

.nav-link {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar-nav {
    align-items: center;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }
}

.offcanvas .navbar-nav .nav-item {
  display: block !important; /* Ensures all items show in hamburger menu */
}

/* Hamburger Menu/Sidebar */
.offcanvas.custom-sidebar {
  background-color: #007fff;
  color: #ffffff;
}

/* Hamburger Menu/Sidebar */
.custom-sidebar {
  background-color: #007fff;
  color: #ffffff;
}

.sidebar {
  background-color: #007fff;
  color: white;
  min-width: 200px;
}

/* Main Content Area */
.main-content {
  color: #000000;
  background-color: #ffffff;
}

.main-content .left-column {
  /*background-color: rgba(0, 127, 255, 0.20);*/
  min-width: 250px;
}

/* Removes the caret added by bootstrap to show the dropdown has a link*/
.dropdown-toggle .material-icons {
  font-size: 24px;
  /* Adjust to your preference */
  text-decoration: none !important;
}

/* Logged Out Menu */
.navbar.logged-out {
  color: #007fff;
  background-color: #ffffff;
}

/* Modal */
.modal {
  /* Bootstrap default styles are suitable for modals */
}

.modal-backdrop.show {
  background-color: #007fff;
  /* Change to your desired color */
}

/* Footer */
.custom-footer {
  background-color: #007fff;
}

/* Footer */
.footer {
  background-color: #007fff;
  color: #ffffff;
}

.social-icons a {
  text-decoration: none;
}

/* Logo */
.logo {
  /* Style depends on the type of logo (text/image) */
}

/* If the screen width is less than 900px (200px + 250px + 450px), hide the right column and make the left one full width */
@media screen and (max-width: 899px) {
  .main-content .right-column {
    display: none;
  }

  .main-content .left-column {
    width: 100%;
  }
}

/* If the viewport width is between 900px and 991px, make the left column full width. */
@media screen and (min-width: 900px) and (max-width: 991px) {
  .main-content .left-column {
    width: 100%;
  }
}

/* Explainer section */
.explainer-section {
  font-family: inherit;
  color: inherit;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  /*background-color: #f8f9fa;*/
}

.explainer-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.explainer-section p {
  font-size: 1rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.explainer-section p.clamped {
  /* styles for when the text is clamped */
  -webkit-line-clamp: 2;
}

.explainer-section p.full-text {
  /* styles for when the text is not clamped */
  -webkit-line-clamp: initial;
}

.explainer-section .btn {
  font-size: 1rem;
}

.explainer-section .btn-primary {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.explainer-content {
  display: flex;
  flex-direction: column;
}

#explainerText {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#explainerText.clamped {
  -webkit-line-clamp: 2;
}

#explainerText.full-text {
  -webkit-line-clamp: none;
}

/* Card Styles */
.card {
  /* Removes the default card border */
  border: 0;
  transition: transform 0.2s;
  /* Animation for hover effect */
}

.card .card-header {
  border-width: 0;
}

.card .card-footer {
  border-width: 0;
}

.hover-card:hover {
  transform: scale(1.02);
  /* Slightly enlarge the card on hover */
}

/* Modal Styles */
.btn-close-white {
  --bs-close-icon-color: white;
}

/* Classes for unstyled links */
.link-unstyled {
  color: inherit;
  text-decoration: none;
}

.link-unstyled:hover,
.link-unstyled:focus,
.link-unstyled:visited {
  color: inherit;
  text-decoration: none;
}

/* A style for a tags which are meant to make entire boxes clickable */
.full-link {
  cursor: pointer !important;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 100;
}

.full-link,
.full-link * {
  cursor: pointer !important;
}

/* Text Colour our Blue */
.text-blue {
  color: #007fff;
}

/* Text Colour very light grey */
.text-our-light-grey {
  color: #adaaaa;
}

/* Hide the 'expand less' icon by default */
.expand-less {
  display: none;
}

/* Show the 'expand less' icon when the parent link has the 'collapsed' class removed */
a:not(.collapsed) .expand-less {
  display: inline-block;
}

/* Hide the 'expand more' icon when the parent link has the 'collapsed' class removed */
a:not(.collapsed) .expand-more {
  display: none;
}

.btn-fixed-width {
  width: 180px; /* or any specific width */
}
/* Landing page CSS */
.hero-section {
  background-color: #007fff;
}
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-image-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .hero-section h2 {
    font-size: calc(1.525rem + 3.3vw); /* Responsive font size */
  }
}

.journey-timeline {
  position: relative;
  padding: 20px 0;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background: #007bff;
  z-index: -1;
}

@media (max-width: 767.98px) {
  .journey-timeline::before {
    left: 20px;
  }
}

.journey-item-container {
  margin: 100px auto;
  position: relative;
}

.journey-content {
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .journey-item {
    padding-left: 40px;
  }

  .journey-item::after {
    left: 10px;
  }
}

/* Timeline on Landing Pages */

.timeline-container {
  position: relative;
  margin: auto;
}

/* His Container */
.timeline-item-container {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  opacity: 1;
}

/* His Textbox */
.timeline-item {
  padding: 10px 50px;
  position: relative;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #007fff;
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -1;
}

.left-container {
  left: 0;
}

.right-container {
  left: 50%;
}

.timeline-item-container .circle-element {
  position: absolute;
  width: 40px;
  height: 40px;
  right: -20px;
  top: 32px;
  z-index: 10;
  background-color: white;
  border: 2px solid #007fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #007fff;
  font-size: 20px;
}

.timeline-item-container small {
  display: inline-block;
  margin-bottom: 15px;
}

.right-container .circle-element {
  left: -20px;
}

.left-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #ffffff;
  right: -14px;
}

.right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #ffffff;
  left: -14px;
}

.start-element-outside {
  margin-left: auto;
  margin-right: auto;
  width: 90px;
  height: 40px;
  z-index: 10;
  background-color: white;
  border: 2px solid #007fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #007fff;
  font-size: 20px;
}

.final-step-container .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    var(--bg-success) 0%,
    var(--bg-success) 60%,
    rgba(25, 135, 84, 0.4) 100%
  );
}

.final-step-container .position-relative {
  z-index: 1;
}

@media screen and (max-width: 650px) {
  .start-element-outside {
    margin-left: 0;
    left: -9px;
    width: 90px;
    height: 40px;
    z-index: 10;
    background-color: #ffffff;
    border: 2px solid #007fff;
    border-radius: 20px;
    display: flex;
    font-weight: bold;
    color: #007fff;
    font-size: 20px;
  }

  .timeline-container {
    margin: auto;
  }
  .timeline-container::after {
    left: 40px;
  }
  .timeline-item-container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }

  .timeline-item {
    font-size: 13px;
  }
  .timeline-item small {
    margin-bottom: 10px;
  }
  .right-container {
    left: 0;
  }
  .left-container .circle-element,
  .right-container .circle-element {
    left: 19px;
  }
  .right-container-arrow {
    border-right: 15px solid #ffffff;
    border-left: 0;
    left: -15px;
  }
  .left-container-arrow {
    border-right: 15px solid #007fff;
    border-left: 0;
    left: -15px;
  }
}

/* Hide the asterisk for required fields globally across all form types */
.asteriskField {
  display: none;
}

/* Target all Bootstrap form labels globally */
.form-label,              /* Standard inputs (text, select, etc.) */
.form-check-label,        /* Checkboxes, radios, switches */
.form-floating > label {
  /* Floating labels */
  color: #007fff; /* Your custom Bootstrap primary color */
  font-weight: 500; /* Slightly bold for readability */
  font-size: 1rem; /* Standard size for consistency */
}

/* Specific adjustments for floating labels in default state (inside input) */
.form-floating > label {
  opacity: 0.8; /* Slightly faded for placeholder-like effect */
  transition: all 0.2s ease-in-out; /* Smooth transition for floating effect */
}

/* Specific adjustments for floating labels when floating (active state) */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: #007fff; /* Stays primary color when floating */
  font-size: 0.85rem; /* Slightly smaller when floating */
  font-weight: bold; /* Bolder when floating for emphasis */
}

/* Optional: Style check/radio/switch labels when checked */
.form-check-input:checked + .form-check-label {
  font-weight: bold; /* Bolder when checked, matches floating active state */
}

/* To correct for multi-=line text height */
.textarea-tall {
  min-height: 120px !important;
}

/* Loading Indicator */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline;
}
.htmx-request.htmx-indicator {
  display: inline;
}

/* For the pulse border */
.animated-pulse-border {
  position: relative; /* Needed for absolute positioning of the pseudo-element */
  z-index: 0; /* Establishes a stacking context */
  overflow: hidden; /* Ensures the pseudo-element respects the parent's border-radius */
  /* Your existing padding (p-4 p-lg-5), background (bg-white),
     and border-radius (rounded-5) will be applied by Bootstrap classes */
}

.animated-pulse-border::before {
  content: "";
  position: absolute;
  z-index: -1; /* Places the pseudo-element behind the section's content */

  /* Make the pseudo-element slightly larger than the parent to create the border effect */
  /* This creates a 3px thick border. Adjust as needed. */
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;

  /* The animated gradient for the pulse effect */
  /* This gradient creates a "comet" or "pulse" of yellow followed by a blue trail */
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    /* Majority is transparent, showing parent's bg or what's under it if no bg */
      transparent 270deg,
    /* Up to 3/4 of the circle is transparent */ rgba(255, 240, 7, 0.9) 285deg,
    /* #fff007 (bright yellow) - Head of the pulse */ rgba(0, 127, 255, 0.7)
      330deg,
    /* #007fff (primary blue) - Trail of the pulse */ transparent 360deg
      /* Fades back to transparent */
  );

  /* Inherit the border-radius from the parent section (which has rounded-5) */
  border-radius: inherit;

  /* Animation */
  animation: rotate-pulse-border 4s linear infinite;
}

/* Keyframes for the rotation animation */
@keyframes rotate-pulse-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Styles for Nav Menu */

/* Custom styles for the special buttons to set their default state */
.btn-politics {
  background-color: #00005bd9;
  color: white;
}
.btn-investors {
  background-color: #198754d9;
  color: white;
}
.btn-politics .material-icons,
.btn-investors .material-icons {
  color: white;
}

/* Hover states for special buttons - same as other nav buttons */
.btn-politics:hover,
.btn-investors:hover {
  background-color: var(--bs-yellow); /* Yellow background */
  color: var(--bs-primary); /* Bootstrap primary text */
}

.btn-politics:hover .material-icons,
.btn-politics:hover img,
.btn-investors:hover .material-icons {
  color: var(--bs-primary); /* Bootstrap primary for icons */
}

.btn-outline-muted {
  border-color: var(--bs-gray-300);
}

/* Custom border color utility classes for How page */
.border-purple {
  border-color: #6f42c1 !important;
}
.text-purple {
  color: #6f42c1 !important;
}
.bg-purple-subtle {
  background-color: #f4f0f9 !important;
} /* A light purple */

/* NEW: Direct CSS Media Query for Responsive Corners.
  This is a more robust way to handle the rounded corners if utility classes are failing.
  It applies the square corners only on screens 992px and wider.
*/
@media (min-width: 992px) {
  .lg-rounded-start-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  .lg-rounded-end-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* How Page Level and Stage styles */
.binding-section .nav-pills .nav-link {
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--bs-primary);
  background-color: var(--bs-light);
  border: 1px solid var(--bs-border-color);
}

.binding-section .nav-pills .nav-link.active {
  color: white;
  background-color: var(--bs-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.status-card {
  border-left: 5px solid;
}

/* Custom rating button hover and selected states */
.custom-rating-btn:hover {
  background-color: #fff007 !important;
  color: #007fff !important;
  border-color: #fff007 !important;
}

.btn-check:checked + .custom-rating-btn {
  background-color: #007fff !important;
  color: white !important;
  border-color: #007fff !important;
}

/* Hide recaptcha */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* --- Video container: aspect ratio + positioning --- */
.video-shell {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-shell > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Fix video-player-container extra height */
.video-player-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0 !important; /* Remove min-height */
}

/* Remove outlines/borders/shadows around Plyr wrapper & media */
.no-outline-video .plyr,
.no-outline-video .plyr *:focus,
.no-outline-video .plyr:focus,
.no-outline-video .plyr:focus-visible,
.no-outline-video .plyr__video-wrapper,
.no-outline-video .plyr__video-embed,
.no-outline-video video,
.no-outline-video iframe {
  outline: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Flatten controls background & remove gradient fade */
:root {
  --plyr-video-controls-background: transparent;
  --plyr-video-control-background-hover: rgba(0, 0, 0, 0.08);
  --plyr-tooltip-background: rgba(0, 0, 0, 0.85);
  --plyr-tooltip-color: #fff;
}

.plyr--video .plyr__controls {
  background: transparent !important;
}

.no-outline-video .plyr--video {
  background: #000;
}

.plyr,
.plyr__video-wrapper {
  border-radius: 1.5rem !important;
  overflow: hidden !important;
}

/* Ensure proper aspect ratio on mobile */
@media (max-width: 576px) {
  .video-shell {
    aspect-ratio: 16 / 9;
  }
}

/* Carusels on main landing */
.scrolling-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.scrolling-inner {
  display: flex;
  width: calc(
    300px * 10
  ); /* Card width * number of cards (5 original + 5 duplicates) */
  animation: scroll 30s linear infinite;
}
.scrolling-card {
  flex: 0 0 300px; /* Do not grow, do not shrink, base width 300px */
  margin: 0 10px;
  padding: 2rem;
  background-color: #f8f9fa; /* bg-light */
  border-radius: 0.75rem; /* rounded-4 */
  text-align: center;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.scrolling-card i {
  font-size: 3rem;
  color: #198754; /* text-success */
  margin-bottom: 0.5rem;
}
.scrolling-card p {
  font-size: 1.1rem;
  margin-bottom: 0;
}
.scrolling-wrapper:hover .scrolling-inner {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 5));
  } /* Scroll by the width of the 5 original cards */
}
