/* Add glow effect to active navbar item for consistency with headers */
.navbar-nav .nav-link.active {
  color: #8f94fb !important;
  text-shadow: 0 0 12px #8f94fb, 0 0 20px #8f94fb;
}
/* Dark mode for nav-tabs */
.nav-tabs {
  background: #23272a;
  border-bottom: 1px solid #444;
  border-radius: 1rem 1rem 0 0;
}
.nav-tabs .nav-link {
  color: #8f94fb;
  background: transparent;
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  margin-right: 0.25rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:focus {
  background: #181a1b;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(143, 148, 251, 0.10);
}
.nav-tabs .nav-link:hover {
  background: #23272a;
  color: #fff;
}
/* Gradient button for forms (white text, purple gradient) */
.gradient-btn {
  background: linear-gradient(90deg, #8f94fb 0%, #4e54c8 100%);
  color: #fff !important;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 84, 200, 0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
}
/* .gradient-btn:hover, .gradient-btn:focus {  Removed mouseover effect for feedback modal */
/*  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%); */
/*  color: #fff; */
/*  box-shadow: 0 4px 16px rgba(79, 84, 200, 0.18); */
/*  transform: translateY(-2px) scale(1.03); */
/* } */
/* FAQ Accordion Chevron Color Customization */
.accordion-button::after {
  filter: none !important;
  background-image: none !important;
  content: '';
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-left: auto;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s, filter 0.2s;
  mask-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  background-color: #adb5bd; /* fallback */
}

.accordion-button.text-info::after {
  background-color: #8f94fb; /* matches text-info */
}
.accordion-button.text-light::after {
  background-color: #f1f3f4; /* matches text-light */
}
.accordion-button.collapsed::after {
  transform: rotate(-90deg);
  background-color: #f1f3f4; /* closed = text-light */
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
  background-color: #8f94fb; /* open = text-info */
}
/* FAQ Slide-in Panel */
.faq-slide-panel {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  max-width: 600px;
  height: 100vh;
  background: #181a1b;
  box-shadow: -8px 0 32px rgba(0,0,0,0.7);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-left: 2px solid #23272a;
}
.faq-slide-panel.open {
  right: 0;
}
/* FAQ Slide Panel - right side */
.faq-slide-panel.faq-slide-right {
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  max-width: 100vw;
  height: 100vh;
  background: #181a1b;
  box-shadow: -2px 0 16px rgba(0,0,0,0.4);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.faq-slide-panel.faq-slide-right.open {
  transform: translateX(0);
}
.faq-iframe {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  background: transparent;
}
.close-faq-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  border-radius: 0 0 0 1.5rem;
  margin: 0;
  border: none;
  background: #23272a;
  color: #f1f3f4;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: absolute;
  top: 12px;
  left: -80px;
  padding: 0.5em 1.2em;
  transition: background 0.2s, color 0.2s;
}
.close-faq-btn:hover {
  background: #4e54c8;
  color: #fff;
}
/* Contact Slide Panel - right side (fixed, matches FAQ) */
.contact-slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  max-width: 100vw;
  height: 100vh;
  background: #181a1b;
  box-shadow: -2px 0 16px rgba(0,0,0,0.4);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.contact-slide-panel.open {
  transform: translateX(0);
}
.contact-iframe {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  background: transparent;
}
.close-contact-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  border-radius: 0 0 0 1.5rem;
  margin: 0;
  border: none;
  background: #23272a;
  color: #f1f3f4;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 0.5em 1.2em;
  transition: background 0.2s, color 0.2s;
}
.close-contact-btn:hover {
  background: #4e54c8;
  color: #fff;
}


html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-content {
  flex: 1 0 auto;
}

.stylish-footer {
  background: #23272a;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 0.97em;
  line-height: 1.3;
  min-height: unset;
  margin-top: 1.5rem;
}
.footer-link {
  color: #8f94fb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.5em 1.2em;
  border-radius: 2em;
  background: linear-gradient(90deg, #232526 0%, #414345 100%);
  box-shadow: 0 2px 8px rgba(79, 84, 255, 0.12);
  margin: 0 0.2em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.footer-link:hover, .footer-link:focus {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(143, 148, 251, 0.25);
}
body {
  background-color: #181a1b;
  color: #f1f3f4;
}


h1, h3 {
  color: #f8fafb;
  margin-bottom: 2.2rem;
  margin-top: 1.5rem;
}

#videoGrid {
  margin-top: 1.5rem;
}

.card {
  background-color: #23272a;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

.btn-primary {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #232526 0%, #414345 100%);
}

::-webkit-scrollbar {
  width: 8px;
  background: #23272a;
}
::-webkit-scrollbar-thumb {
  background: #444950;
  border-radius: 4px;
}

/* Video grid: always 3 across on desktop */
#videoGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
#videoGrid .col-lg-4 {
  flex: 0 0 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  margin-bottom: 1rem;
  display: flex;
}
#videoGrid .card {
  width: 100%;
}
@media (max-width: 991px) {
  #videoGrid .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  #videoGrid {
    gap: 1rem;
  }
}

body {
  background-color: #181a1b;
  color: #f1f3f4;
}

h1, h3 {
  color: #f8fafb;
}

.card {
  background-color: #23272a;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

.btn-primary {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #232526 0%, #414345 100%);
}

::-webkit-scrollbar {
  width: 8px;
  background: #23272a;
}
::-webkit-scrollbar-thumb {
  background: #444950;
  border-radius: 4px;
}
#shared-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #181a1b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
