:root {
  --primary: #ff5722; /*#4f8cff*/
  --secondary: #23272f;
  --light-bg: #f8f9fa;
  --dark-bg: #181a1b;
  --card-radius: 1.25rem;
}
[data-bs-theme="dark"] {
  --bs-body-bg: var(--dark-bg);
  --bs-body-color: #f8f9fa;
  --bs-card-bg: #23272f;
  --bs-card-color: #f8f9fa;
}
[data-bs-theme="light"] {
  --bs-body-bg: var(--light-bg);
  --bs-body-color: #23272f;
  --bs-card-bg: #fff;
  --bs-card-color: #23272f;
}
body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}
.bg-gradient {
  background: linear-gradient(135deg, #23272f 0%, #4f8cff 100%);
}

.nav-link:hover {
  color: #198754 !important;
  /* font-weight: bold; */
}

.hero-app-img-wrapper {
  display: inline-block;
  border-radius: 1.5rem;
  /* border: 6px solid rgba(255,255,255,0.45); */
  box-shadow:
    0 0 0 10px rgba(255,87,34,0.35),
    0 8px 40px 12px rgba(255,87,34,0.75),
    0 1.5px 16px 0 rgba(255,255,255,0.12) inset;
  /* background: rgba(255,255,255,0.09); */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s, border 0.3s;
  /* padding: 0.5rem; */
}
.hero-app-img {
  border-radius: 1.5rem !important;
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-carousel img {
  height: 120px;
  margin: 0 20px;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s;
  cursor: pointer;
}
.screenshot-carousel img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

#scrollUp {
  color: var(--primary);
  background-color: white;
  border: 1px solid var(--primary);
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: inline-block;
  position: fixed;
}

#scrollUp:hover {
  background-color: var(--primary);
  border: 1px solid white;
  color: #fff;
}

.screenshot-carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pricing-card {
  border-radius: var(--card-radius);
}
.team-card {
  border-radius: var(--card-radius);
}
.feature-card {
  border-radius: var(--card-radius);
}
.feature-detail-card {
  border-radius: var(--card-radius);
}
.feedback-card {
  border-radius: var(--card-radius);
  min-width: 320px;
  max-width: 350px;
  margin: 0 10px;
}
.feedback-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
}
.school-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}
#scrollUp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: none;
}
.navbar {
  border-radius: 0 0 1rem 1rem;
  background: #181a1b !important;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.navbar .navbar-brand span {
  font-size: 1.5rem;
  font-weight: 700;
}
.navbar .navbar-nav {
  margin-left: auto;
  margin-right: auto;
}
#theme-toggle {
  margin-left: 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#theme-toggle-mobile {
  margin-left: 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

[data-bs-theme="light"] #theme-toggle:hover {
  background-color: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

[data-bs-theme="dark"] #theme-toggle:hover {
  background-color: white;
  color: var(--primary);
}

[data-bs-theme="light"] #theme-toggle-mobile:hover {
  background-color: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

[data-bs-theme="dark"] #theme-toggle-mobile:hover {
  background-color: white;
  color: var(--primary);
}

#theme-toggle .bi {
  font-size: 1.3rem;
}
.card {
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(79,140,255,0.12);
}
::-webkit-scrollbar {
  height: 8px;
  background: #23272f;
}
::-webkit-scrollbar-thumb {
  background: #0dcaf0; /*#4f8cff*/ /*rgb(25, 135, 84)*/ /*#0dcaf0*/
  border-radius: 4px;
}

/* Hero section gradient */
#hero.bg-gradient {
  background: radial-gradient(ellipse at 60% 0%, #23272f 60%, #181a1b 100%);
  border: none;
}
#hero .container {
  border: none !important;
  box-shadow: none !important;
}

/* Hero app image full width */
.hero-app-img {
  width: 100%;
  max-width: 1200px;
  margin-left: 0;
  margin-right: 0;
  display: block;
}

/* Screenshot carousels same size as hero-app-img */
.screenshot-carousel {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2rem;
  gap: 2rem;
  padding: 0.5rem 0;
  background: #181a1b;
}
.screenshot-carousel img {
  height: 320px;
  width: auto;
  border-radius: 2rem;
  margin: 0 1.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
@media (max-width: 1200px) {
  .screenshot-carousel, .hero-app-img { max-width: 100vw; }
  .screenshot-carousel img { height: 180px; }
}
@media (max-width: 768px) {
  .screenshot-carousel img { height: 100px; margin: 0 0.5rem; }
}

/* Feedback revert: image left, name above role, feedback below, dots centered */
.feedback-card .card-body {
  display: flex;
  align-items: flex-start;
  text-align: left;
  flex-direction: row;
  flex-wrap: wrap;
}
.feedback-card img {
  margin-bottom: 0;
  margin-right: 0;
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.feedback-card .feedback-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feedback-card h6 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}
.feedback-card .text-muted.small {
  font-size: 0.95rem;
}
.feedback-card p {
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
}
.feedback-carousel .slick-dots {
  position: static;
  margin-top: 2rem;
  text-align: center;
}
.feedback-carousel .slick-dots li button:before {
  font-size: 1.1rem;
  color: var(--primary);
  opacity: 0.5;
}
.feedback-carousel .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--primary);
}
.feedback-carousel .slick-dots li {
  margin: 0 6px;
}
.feedback-carousel .slick-dots li button {
  background: none;
  border: none;
}
.feedback-carousel .slick-dots li button:after {
  display: none;
}

/* Pricing table margins */
.pricing-table .table-section-heading td {
  padding-left: 15px !important;
}
.pricing-table td.text-start:not(.table-section-heading) {
  padding-left: 30px !important;
  white-space: nowrap;
}

/* Enrolled schools section */
.school-logos {
  width: 70%;
  margin: 0 auto;
  overflow: hidden !important;
  position: relative;
  white-space: nowrap;
}
.school-logos .school-logo {
  display: inline-block;
  margin: 0 2.5rem;
}

/* Light mode fixes */
[data-bs-theme="light"] {
  --bs-body-bg: #f8f9fa;
  --bs-body-color: #181a1b;
  --bs-card-bg: #fff;
  --bs-card-color: #181a1b;
  --bs-secondary: #e9ecef;
}
[data-bs-theme="light"] .bg-gradient,
[data-bs-theme="light"] #hero.bg-gradient {
  background: radial-gradient(ellipse at 60% 0%, #e9ecef 60%, #f8f9fa 100%) !important;
}
[data-bs-theme="light"] .table-dark {
  background-color: #fff !important;
  color: #181a1b !important;
}
[data-bs-theme="light"] .bg-secondary {
  background-color: #e9ecef !important;
  color: #181a1b !important;
}
[data-bs-theme="light"] .text-light {
  color: #181a1b !important;
}

[data-bs-theme="light"] .text-light2 {
  color: #fff !important;
}

[data-bs-theme="dark"] .text-light2 {
  color: #fff !important;
}

.modern-faq {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

/* Webkit scrollbar styles (for Chrome, Edge, Safari) */
.modern-faq::-webkit-scrollbar {
  width: 6px;
}

.modern-faq::-webkit-scrollbar-track {
  background: transparent;
}

.modern-faq::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.modern-faq::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.pill {
  display: inline-flex;
  align-items: center;
  background-color: #4CAF50; /* Green */
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: sans-serif;
}
.pill i {
  margin-right: 8px;
}

[data-bs-theme="light"] .nav-light {
  color: black;
}

[data-bs-theme="dark"] .nav-light {
  color: #fff;
}

[data-bs-theme="light"] .navbar {
  background: #fff !important;
}
[data-bs-theme="light"] .card {
  background: #fff;
  color: #181a1b;
}
[data-bs-theme="light"] .feature-card,
[data-bs-theme="light"] .feature-detail-card {
  background: #f8f9fa;
  color: #181a1b;
}
[data-bs-theme="light"] .feedback-card {
  background: #fff;
  color: #181a1b;
}
[data-bs-theme="light"] .school-logo {
  background: #fff;
}

/*carousel features*/
#streamer .row.align-items-center {
    margin-bottom: 2.5rem;
  }
  #streamer .display-4 {
    font-weight: 700;
    line-height: 1.1;
  }
  .streamer-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem !important;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
  }
  .streamer-card {
    min-width: 500px;
    max-width: 500px;
    border-radius: 1.5rem;
    background: #181a1b;
    color: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    transition: box-shadow 0.2s;
    margin-bottom: 0;
  }
  .streamer-card .card-body {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
  .streamer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 0.75rem;
  }
  .streamer-card .fw-bold {
    font-size: 1.1rem;
  }
  .streamer-card .text-muted.small {
    font-size: 0.97rem;
  }
  .streamer-card .text-light {
    color: #f8f9fa;
    font-size: 1.05rem;
    margin-top: 0.7rem;
  }
  @media (max-width: 900px) {
    .streamer-card { min-width: 260px; max-width: 320px; }
    .streamer-card .card-body { padding: 1.2rem 1rem 1rem 1rem; }
  }
  @media (max-width: 600px) {
    .streamer-scroll { gap: 1rem; }
    .streamer-card { min-width: 210px; max-width: 90vw; }
  }
  /* Remove carousel dot styles for streamer */
  .streamer-carousel .slick-dots { display: none !important; }
/*carousel features ends*/

/* Feedback section redesign */
#feedback .row.align-items-center {
  margin-bottom: 2.5rem;
}
#feedback .display-4 {
  font-weight: 700;
  line-height: 1.1;
}
.feedback-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}
.feedback-card {
  min-width: 340px;
  max-width: 370px;
  border-radius: 1.5rem;
  background: #181a1b;
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.feedback-card .card-body {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.feedback-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 0.75rem;
}
.feedback-card .fw-bold {
  font-size: 1.1rem;
}
.feedback-card .text-muted.small {
  font-size: 0.97rem;
}
.feedback-card .text-light {
  color: #f8f9fa;
  font-size: 1.05rem;
  margin-top: 0.7rem;
}
@media (max-width: 900px) {
  .feedback-card { min-width: 260px; max-width: 320px; }
  .feedback-card .card-body { padding: 1.2rem 1rem 1rem 1rem; }
}
@media (max-width: 600px) {
  .feedback-scroll { gap: 1rem; }
  .feedback-card { min-width: 210px; max-width: 90vw; }
}
/* Remove carousel dot styles for feedback */
.feedback-carousel .slick-dots { display: none !important; }

/* Features section redesign */
#features .display-4 {
  font-weight: 700;
  line-height: 1.1;
}
.feature-tile {
  background: transparent;
  border-radius: 1.5rem;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: none;
  min-height: 220px;
}
.feature-tile:hover {
  background: rgba(79,140,255,0.07);
  box-shadow: 0 2px 16px rgba(79,140,255,0.08);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  /* background: #181a1b; */
  border: 2px solid #ff5722;
  color: #ff5722;
  font-size: 2rem;
  margin: 0 auto;
}
.feature-tile .fw-bold {
  font-size: 1.13rem;
}
.feature-tile .text-muted {
  font-size: 1rem;
}
@media (max-width: 991px) {
  .feature-tile { min-height: 200px; }
}
@media (max-width: 767px) {
  .feature-tile { min-height: 180px; }
  #features .display-4 { font-size: 2.1rem; }
}
@media (max-width: 600px) {
  .feature-tile { min-height: 140px; padding: 1.2rem 0.5rem; }
  .icon-circle { width: 40px; height: 40px; font-size: 1.3rem; }
}

/* Enrolled schools scroll section (no cards) */
.schools-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 3rem;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  justify-content: center;
}
.school-item {
  min-width: 110px;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.school-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}
.school-item .fw-bold {
  font-size: 1.05rem;
  color: #fff;
}
@media (max-width: 900px) {
  .school-item { min-width: 80px; max-width: 100px; }
  .school-logo { height: 40px; width: 40px; }
}

@media (max-width: 768px) {
  .best_pos {
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 991px) {
  .best_pos {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.tr-highlight {
  background-color: #1a73e8 !important;
  color: #fff !important;
}

.modern-faq {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  background: #181818;
  border-radius: 16px;
  margin-bottom: 10px; /*20px*/
  transition: border 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: none;
  overflow: hidden;
}
.faq-item.active {
  border: 2px solid #ff6600;
  background: #181818;
  box-shadow: 0 0 0 2px #ff660033;
}
.faq-question {
  cursor: pointer;
  padding: 10px 32px; /*24px 32px*/
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
}
.faq-answer {
  padding: 0 32px 17px 32px; /*0 32px 24px 32px*/
  color: #ccc;
  font-size: 1.05rem;
  display: none;
  animation: fadeIn 0.3s;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-chevron {
  transition: transform 0.3s;
  font-size: 1.5rem;
  color: #fff;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #ff6600;
}
@media (max-width: 600px) {
  .faq-question, .faq-answer { padding-left: 16px; padding-right: 16px; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Navbar toggler icon color for theme switching */
[data-bs-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-bs-theme="light"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33,37,41,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .navbar-toggler {
  border-color: rgba(255,255,255,0.55);
}
[data-bs-theme="light"] .navbar-toggler {
  border-color: rgba(33,37,41,0.3);
}

.streamer-scroll,
.feedback-scroll,
.schools-scroll {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}