/* Fix ValidMind logo size and alignment */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/static/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* This breaks Font Awesome and all the icons we use — DO NOT UNCOMMENT */
/* Now set via mainfont: Inter in _quarto.yml */
/* body, * {
  font-family: 'Inter', sans-serif !important;
  -webkit-font-smoothing: auto;
}*/

html {
  scroll-padding-top: 150px;
  scroll-behavior: smooth;
}

body {
  color: #1A202C;
}




.navbar-brand img {
  height: 100%;
  margin-top: -5px;
}

.navbar {
  border-bottom: 1px solid #dee2e6;
  padding: 15px;
}

.navbar-nav .dropdown-menu {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  border: 1px solid #222425;
  padding-left: 10px;
  padding-bottom: 10px !important;
}

.sidebar-navigation .sidebar-divider {
  margin-top: 1rem;
}

.sidebar-item {
  color: #747678;
  padding-top: .3rem;
  line-height: 1.3;
}

.sidebar-item-container .active {
  position: relative;
}

.sidebar-item-container .active::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.5rem;
  bottom: -0.5rem;
  width: 3px;
  background-color: #de257e;
  margin-left: -0.7rem;
}

div.callout.callout {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #083E44;
  border-left-width: 5px;
  background: #FAFBFB;
}

.callout-title-container {
  color: #083E44;
  margin-bottom: 10px;
}

.card {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  border: 1px solid #DE257E;
}

.card-title {
  padding-bottom: 0.2rem;
  font-size: 100%;
  font-weight: bold;
  color: #DE257E;
}

.card:hover {
  border: 1px solid #083E44;
  background-color: #B5B5B510;
}

.quarto-grid-item .card-text {
  font-size: .8em;
}

.video-js {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #083E44;
}



.hero {
  position: relative;
  margin-top: 10px;
  margin-bottom: 60px;
  color: EDF9FA;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center top;
  background-size: 1000px;
  z-index: -1;
  width: 100%;
  background-size: contain;
}

.get-started {
  background-color: #EDF9FA;
  background-position: left 20px top 40px, right 20px bottom 40px;
  background-size: auto; /* Or specify the size if needed */
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  margin-bottom: 20px;
}

.training {
  /* margin-top: 25px; */
  padding: 50px;
  padding-bottom: 25px;
  padding-top: 25px;
  margin-bottom: 40px;
}

.overview {
  padding-top: 25px;
  padding-right: 50px;
  padding-left: 50px;
  margin-top: 15px;
  /* margin-bottom: 40px; */
}

.tour {
  padding-right: 50px;
  padding-left: 50px;
  margin-top: 15px;
  background-image: url('assets/img/inputoutput-pink.svg');
  background-repeat: no-repeat;
  background-position: bottom center;
  height: 375px;
  margin-bottom: 40px;
}

.releases {
  position: relative;
  margin-top: -35px;
  padding: 75px;
  margin-bottom: -80px;
  padding-bottom: 25px;
  color: white;
  background-color: #083E44 !important;
  background: url('assets/img/hero-dots.png') no-repeat;
  background-position: left 0px top 0px;
}

.nav-item {
  padding-right: 20px;
}

.navbar-logo {
  padding-right: 20px;
}

.alert, .alert-primary {
  background-color: #44969f;
}

.quarto-announcement-content, .quarto-announcement-action:before {
  color: white !important;
  padding: 5px;
}


.smallcaps {
  font-weight: bold;
  font-size: larger;
}

.smallercaps {
  font-weight: bold;
  font-size: smaller;
  font-variant: small-caps;
  position: relative;
  top: -5px;
}

input[type="checkbox"] {
  width: 1em;
  height: 1rem;
}

input[type="checkbox"][disabled][checked] {
  filter: invert(100%) hue-rotate(18deg) brightness(5);
}

input[type="checkbox"][checked] {
  accent-color: #083E44;
}

.attn {
  margin-top: 20px;
  margin-bottom: 40px;
  border: 2px solid #083E44;
  border-left-width: 0px;
  border-right-width: 0px;
  padding-top: 40px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 40px;
}

.attn h2 {
  color: #083E44;
}

.highlights {
  margin-top: 20px;
  margin-bottom: 40px;
  border: 5px double #3E6C69;
  /* background-color: #EAF8FA; */
  border-left-width: 0px;
  border-right-width: 0px;
  padding-top: 40px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 40px;
}

.highlights h2 {
  color: #042426;
}

.screenshot,
div.quarto-post .thumbnail img {
  border: 1px solid #083E44;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.grow {
  transition: all .2s ease-in-out;
}

.grow:hover {
  transform: scale(1.05);
}

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

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeUp 25s infinite;
}

.image-container img:nth-child(1) {
  animation-delay: 0s;
}

.image-container img:nth-child(2) {
  animation-delay: 5s;
}

.image-container img:nth-child(3) {
  animation-delay: 10s;
}

.image-container img:nth-child(4) {
  animation-delay: 15s;
}

.image-container img:nth-child(5) {
  animation-delay: 20s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 0;
  }
}

figcaption {
  text-align: center;
}


.dropdown-menu.dropdown-menu-end.show {
  padding-top: 0.5rem; /* Adjust the value as needed */
}

.video, iframe[src*="youtube.com"] {
  box-shadow: 5px 5px 5px #ccc;
  border-radius: 5px;
  border: 1px solid #196972;
}

#listing-validmind-academy .thumbnail-image.card-img {
  object-fit: cover;
  object-position: top;
  height: 100%;
  width: 100%;
}

#listing-validmind-academy .no-anchor.listing-title {
  text-align: center;
}

#listing-validmind-academy .listing-subtitle {
  font-size: smaller;
  text-align: center;
}

.green-bg {
  background-color: #bbe1afff;
  padding: 5px;
  border-radius: 3px;
  color: #0f3b02ff;
  font-size: smaller;
}

.red-bg {
  background-color: #f7bdbaff;
  padding: 5px;
  border-radius: 3px;
  color: #560501ff;
  font-size: smaller;
}

.yellow-bg {
  background-color: #ffe7b7ff;
  padding: 5px;
  border-radius: 3px;
  color: #b67a16ff;
  font-size: smaller;
}

.pink {
  color: #DE257E;
}

.accent {
  color: #073E44;
}

.green {
  color: green;
}

.red {
  color: #92130cff;
}

.bubble {
  border: 1px solid #222222;
  padding: 5px;
  border-radius: 15px;
  font-size: smaller;
  line-height: 2.5em;
}

.listing-author {
  margin-top: -25px;
  color: #083E44;
}

.quarto-listing-default .no-anchor.listing-title a {
  font-size: 18px;
  color: #DE257E;
  font-weight: bold;
}

.quarto-listing-default {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #DE257E;
}

.quarto-listing-default .listing-author {
  margin-top: 0px;
  font-weight: bold;
}

.sidebar-item .menu-text {
  text-transform: uppercase;
  color: #196972;
}


/*.sidebar-item- .sidebar-item-toggle*/
.sidebar-item-container .sidebar-item-toggle {
  cursor: pointer;
  color: #083E44;
}

hr.sidebar-divider.hi {
  border-top: 1px solid #196972 !important;
}

nav#TOC {
  padding: 13px;
  background-color: white;
  border: 1px solid #bdc1c4;
  /* border-bottom: 2px solid #196972;
  border-right: 2px solid #196972; */
  border-radius: 3px;
  background-color: #FAFBFB;
}

nav#TOC h2#toc-title {
  font-weight: bold;
  color: #196972;
}


#quarto-sidebar.sidebar {
  background-color: #FAFBFB;
}


.feature {
  color: #3E6C69;
  padding: 15px;
  padding-bottom: 0px;
  background-image: url('favicon.svg');
  background-size: 5%;
  background-position: right 5px top 10px;
  background-repeat: no-repeat;
  border-top: 2px solid #DE257E;
  text-align: justify;
}

.feature strong, .feature b, .feature dt {
  color: #3E6C69;
  font-weight: bolder;
}

.gclose.gbtn {
  background-color: #083E44;
  border: 3px solid #de257e;
}

.gclose.gbtn:hover {
  background-color: #DE257E;
}

.gclose.gbtn svg path {
  fill: #de257e;
}

.gclose.gbtn:hover svg path {
  fill: white;
}

.glightbox-clean .gdesc-inner {
  background-color: #083E44;
}

.gslide-description .gslide-title {
  background-color: #083E44 !important;
  color: white !important;
}

.gnext.gbtn, .gprev.gbtn {
  background-color: #083E44;
}

.gnext.gbtn:hover, .gprev.gbtn:hover {
  background-color: #3E6C69;
}

.gnext.gbtn svg path, .gprev.gbtn svg path {
  fill: white;
}

h2, .h2 {
  border-bottom: 1px solid #196972;
}

.video-cap {
  padding-bottom: 0.2rem;
  font-size: 100%;
  font-weight: bold;
  color: #196972;
}

button.aa-DetachedSearchButton:hover svg path {
  /* fill: #AF1A62 !important; */
  display: none !important;
}

.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 5rem;
  font-weight: bold;
  color: rgba(200, 200, 200, 0.5); /* Adjust transparency */
  z-index: 1000;
  pointer-events: none; /* Prevent interaction */
  white-space: nowrap;
}

body::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 4vw;
  font-weight: bold;
  color: rgba(222, 37, 126, 0.10);
  z-index: 999;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.5;
}

/* Announcement banner (EU AI Act Compliance) */
.quarto-announcement {
  background-color: #44969f !important;
  color: #fff !important;
  border-radius: 0 !important;
  min-height: 36px;
  padding: 0 24px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.quarto-announcement-content {
  color: #fff !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}


.quarto-announcement-action {
  display: none; /* Hide the default close button if not needed */
}

/* Added for the new footer */
.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  background: #4e868b;
  color: #fff;
}

.footer-logo-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 200px;
  min-width: 200px;
  max-width: 400px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 0.15em;
}

.footer-logo-column {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 0.25em;
}

.footer-company-info {
  font-size: 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0.25em;
}

.footer-company-info > * {
  margin: 0;
  padding: 0;
  white-space: normal;
  max-width: 100%;
}


.footer-company-legal {
  font-size: 1em !important;
}


.cookie-preferences-link {
  font-size: 1em !important;
  min-height: 0px;
}

#custom-cookie-preferences {
  display: block;
  margin-top: 0.5em;
  text-align: left;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.footer-heading {
  font-weight: bold;
  font-size: 1.2em;
}

.footer-section ul {
  list-style: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


.footer-user-guides {
  flex: 4 1 0;       /* Make center section much wider */
  min-width: 300px;
  max-width: 600px;
}

.footer-user-guides-columns {
  display: flex;
  gap: 1rem;
}

.footer-user-guides-column-1 {
  min-width: 125px;
  flex: 1;
}

.footer-user-guides-column-2 {
  min-width: 160px;
  flex: 1;
}

.footer-user-guides-column-3 {
  min-width: 125px;
  flex: 1;
}

.page-footer ul,
.page-footer ul li {
  list-style: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
}

/* Make Quarto's footer slots align at the top and reduce spacing */
.nav-footer {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100%;
  padding: 20px 0px;
  background: #26818B;
}

/* Remove default padding/margin from slot containers */
.nav-footer-left, .nav-footer-center, .nav-footer-right {
  margin: 0.5rem !important;
  padding: 0.5rem !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  min-width: 0;
  margin-right: 0.25rem;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.nav-footer-center .nav-item {
  margin-right: 1.5rem;
}

.nav-footer-center .nav-item:last-child {
  margin-right: 0;
}

/* Remove extra spacing from the User Guides section since it handles its own internal spacing */
.nav-footer-center .nav-item:first-child {
  margin-right: 0;
}

/* Remove any extra margin from User Guides section */
.footer-user-guides {
  margin-right: -0.5rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #fff;
}

.footer-section,
.footer-section ul,
.footer-section li,
.footer-section a,
.footer-heading {
  text-align: left !important;
}

/* Responsive: stack footer columns and allow full width on small screens */
@media (max-width: 1124px) {
  .nav-footer-center,
  .nav-footer-right {
    display: none !important;
  }
}

@media (min-width: 1125px) {
  .nav-footer-center,
  .nav-footer-right {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  
  .navbar {
    padding: 10px;
  }
  
  .navbar-nav .dropdown-menu {
    width: 100%;
    position: static;
    box-shadow: none;
    border: none;
  }
  
  .navbar-brand img {
    max-height: 20px;
  }
  

  .search-shortcut {
    display: none !important;
  }
  .page-footer,
  .quarto-nav-footer {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .nav-footer-left,
  .nav-footer-center,
  .nav-footer-right {
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .nav-footer-center,
  .nav-footer-right {
    display: none;
  }

  .footer-logo-info,
  .footer-user-guides,
  .footer-section {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 1.5em;
  }

  .footer-company-info {
    font-size: 1em;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.25em;
  }
  
  .footer-company-info > * {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit;
    white-space: normal;
  }

  .footer-user-guides-columns {
    flex-direction: column;
    gap: 0.5em;
  }
}
