.trans-head-font {
  font-family: "American Typewriter", Georgia, 'Arial Narrow', Arial, sans-serif;
  color: #212529;
  line-height: 1.2;
  font-size: 2.8rem;
  margin-bottom: 2.2rem;
}

.trans-menu-item {
  color: #444 !important;
  font-size: 1.3rem;
}

/*.trans-menu-active::after {
      content: "\F231";
      font-family: "bootstrap-icons";
      vertical-align: middle;
  }*/

.trans-menu-active {
  font-weight: 650;
}

.trans-menu-toggle-button {
  /*color: #777 !important;*/
  font-size: 1.32rem;
  font-weight: 400 !important;
  font-family: "American Typewriter", 'Arial Narrow', Arial, sans-serif;
}

.trans-main-font {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
}

.trans-main-text {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  color: #656565;
}

.trans-small-text {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.0rem;
  color: #656565;
}

.trans-mid-text {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.15rem;
  color: #656565;
}

.trans-obj-ul {
  list-style-type: "-  ";
  line-height: 2.2rem;
}

.trans-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 2rem;
}

.trans-card {
  width: 85%;
  margin-left: 1rem;
  margin-top: 3rem;
  margin-bottom: 3rem;

  @media screen and (max-width: 576px) {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

.trans-ex-card {
  background-color: rgb(255, 251, 218);
}

.trans-pills .active {
  background: #444 !important;
  border: 1px solid #444;
  color: white !important;
}

button.trans-pills:hover {
  color: #656565 !important;
  text-decoration: underline;
}

button.active.trans-pills:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.feedback {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
}

.option-wrapper {
  margin-bottom: 15px;
  margin-left: 25px;
}

.form-check {
  padding: 10px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.form-check:hover {
  background-color: #f8f9fa;
}

/*w-sm-50 mx-sm-5 ps-lg-5 */

@keyframes slideInSteps {
  0% {
    transform: translateX(100%);
  }

  10% {
    transform: translateX(80%);
  }

  25% {
    transform: translateX(80%);
    /* longer pause */
  }

  35% {
    transform: translateX(60%);
  }

  45% {
    transform: translateX(60%);
    /* longer pause */
  }

  55% {
    transform: translateX(40%);
  }

  65% {
    transform: translateX(40%);
    /* longer pause */
  }

  75% {
    transform: translateX(20%);
  }

  85% {
    transform: translateX(20%);
    /* longer pause */
  }

  95% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(0);
  }
}

.wtwta-img-container {
  position: relative;
  overflow: hidden;
}

.trans-click {
  cursor: pointer;
}

.wtwta-img {
  opacity: 1;
  transform: translateX(100%);
}

.wtwta-img-container:hover .wtwta-img {
  animation: slideInSteps 3.5s steps(20, end) forwards;
}

.wtwta-img.animation-completed {
  transform: translateX(0);
}

.carousel-control-next {
  justify-content: end;
  opacity: .7;
}

.carousel-control-next-icon {
  width: 3rem !important;
  height: 3rem !important;
}

/* Updated Carousel Styling for Full Height Images */

/* Remove fixed height constraint on carousel items */
.carousel-item {
  height: auto;
  min-height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Update image styling to fill height */
.carousel-item>img {
  position: relative;
  /* Change from absolute to relative */
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  /* Limit height to viewport height */
  margin: 0 auto;
  /* Center images */
}

/* Make carousel container responsive */
#carousel {
  width: 100%;
  margin-bottom: 2rem;
}

/* Ensure images maintain aspect ratio */
.carousel-inner img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-item {
    min-height: auto;
  }

  .carousel-item>img {
    max-height: none;
    /* Remove height constraint on mobile */
  }
}

#nextarrow {
  padding: 1rem;
}

.card-back {
  border-width: 2px;
}

#hist,
#ideo,
#colo,
#pub {
  border-color: rgb(172, 194, 212);
  cursor: pointer;
}

.form-check-input[type=radio] {
  border-color: #aaaaaa;
}

/* Slide from left animation for the bookmarklist class */
@keyframes slideFromLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.bookmarklist {
  position: relative;
  margin-bottom: 15px;
  text-indent: -1.7em;
  padding-top: .25em;
  padding-left: 2em;
  animation: slideFromLeft 2.8s ease forwards;
}

/* Bookmark icon styling */
.bookmarklist:before {
  content: "\F583";
  color: #920e0e;
  font-weight: 900;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  margin-right: 15px;
  font-size: 1.4rem;
}

.slide-in {
  animation: slideFromLeft 1.5s ease forwards;
}

.slide-down {
  animation: slideDown 0.5s ease forwards;
}

/* Add slide in from right animation */
@keyframes slideFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Class to apply the slide-in-right animation */
.slide-in-right {
  animation: slideFromRight 1s ease forwards;
}

/* Hidden class to use before animation */
.hidden-right {
  opacity: 0;
  transform: translateX(100px);
}

/* INTRO ANIMATION STYLES */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.hidden-content {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 1s ease;
}

.reveal-content {
  opacity: 1;
  height: auto;
  overflow: visible;
}

/* Sequential bookmarks animation */
.hidden-bookmark {
  opacity: 0;
  transform: translateY(-20px);
}

.intro-title {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.intro-subtitle {
  opacity: 0;
}

.intro-paragraph {
  opacity: 0;
  transform: translateY(-20px);
}

.intro-button {
  opacity: 0;
}

/* Animation for WTWTA image stepping in like a giant's foot */
@keyframes giantStepIn {
  0% {
    transform: translateX(-100%) translateY(0);
    opacity: 0;
  }

  /* First step - lift foot */
  10% {
    transform: translateX(-90%) translateY(-15px);
    opacity: 1;
  }

  /* First step - heavy landing */
  20% {
    transform: translateX(-75%) translateY(0);
    opacity: 1;
    /* Add shake effect for impact */
  }

  /* Pause for impact */
  30% {
    transform: translateX(-75%) translateY(0);
    opacity: 1;
  }

  /* Second step - lift foot */
  40% {
    transform: translateX(-60%) translateY(-15px);
    opacity: 1;
  }

  /* Second step - land */
  50% {
    transform: translateX(-45%) translateY(0);
    opacity: 1;
  }

  /* Pause for impact */
  60% {
    transform: translateX(-45%) translateY(0);
    opacity: 1;
  }

  /* Third step - lift foot */
  70% {
    transform: translateX(-25%) translateY(-15px);
    opacity: 1;
  }

  /* Final heavy stomp into position */
  85% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }

  /* Slight bounce/settle from impact */
  92% {
    transform: translateX(0) translateY(5px) scale(1.02);
  }

  100% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}

/* Update the image styling to be invisible initially */
img[src="img/Trans/WTWTA no feet.png"] {
  animation: giantStepIn 3.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
  animation-delay: 3s;
  transform-origin: bottom center;
  will-change: transform, opacity;
  opacity: 0;
  /* Start with the image invisible */
}

/* Container styling to ensure proper animation display */
.wild-things-container {
  position: relative;
  perspective: 1000px;
}

/* Keep the hover effect */
/* Adjust the hover effect to work after animation completes */
img[src="img/Trans/WTWTA no feet.png"].animation-completed:hover {
  transform: scale(1.03) !important;
  /* Use !important to override the animation end state */
  transition: transform 0.4s ease;
  cursor: pointer;
}

img[src="img/Trans/WTWTA no feet.png"].animation-completed~.footprints-container {
  opacity: 0;
  pointer-events: none;
}

/* Base styles for the footprints */
.footprint {
  position: absolute;
  background-color: rgba(80, 70, 60, 0.15);
  border-radius: 40% 40% 45% 45%;
  transform: rotate(90deg);
}

/* Footprint sizes and positions */
.footprint-1 {
  width: 60px;
  height: 30px;
  top: 40%;
  right: 60%;
  animation: fadeFootprint 6s infinite 0s;
}

.footprint-2 {
  width: 60px;
  height: 30px;
  top: 40%;
  right: 45%;
  animation: fadeFootprint 6s infinite 1s;
}

.footprint-3 {
  width: 60px;
  height: 30px;
  top: 40%;
  right: 30%;
  animation: fadeFootprint 6s infinite 2s;
}

.footprint-4 {
  width: 60px;
  height: 30px;
  top: 40%;
  right: 15%;
  animation: fadeFootprint 6s infinite 3s;
}

/* Animation for the footprints */
@keyframes fadeFootprint {
  0% {
    opacity: 0;
    transform: rotate(90deg) scale(0.9);
  }

  20% {
    opacity: 0.7;
    transform: rotate(90deg) scale(1);
  }

  40%,
  100% {
    opacity: 0;
    transform: rotate(90deg) scale(1);
  }
}

/* Add a class to create a ground shake effect on each step */
@keyframes groundShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

.shake-on-step {
  animation: groundShake 0.5s ease-in-out;
}

.video-container {
  height: 85vh;
  /* 90% of viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

#bible-video {
  height: 100%;
  /* Take full height of container */
  width: 65%;
  /* Maintain natural width based on aspect ratio */
  max-width: 100%;

  /* Ensure it doesn't overflow horizontally */
  @media screen and (max-width: 576px) {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

.fade-in-on-hover {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s ease, visibility 0.5s ease;
}

/* When parent is hovered, show the element with fade-in-on-hover class */
.list-group-item:hover .fade-in-on-hover {
  opacity: 1;
  visibility: visible;
}

.text-types-activity {
  position: relative;
  padding: 15px 0;
}

.slide-container {
  position: relative;
  min-height: 300px;
}

.text-type-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.text-type-slide.active {
  display: block;
  opacity: 1;
}

.selection-option {
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #e9ecef;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.selection-option:hover {
  background-color: #eaecef;
  transform: translateX(3px);
}

.selection-option.selected {
  background-color: #e6f7ff;
  border-color: #b8daff;
  transform: translateX(5px);
}

.selection-option.selected[data-correct="true"] {
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.selection-option.selected[data-correct="false"] {
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.feedback-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.selection-option.selected .feedback-indicator {
  opacity: 1;
}

.selection-option.selected[data-correct="true"] .feedback-indicator::after {
  content: "✓";
  color: #28a745;
  font-weight: bold;
}

.selection-option.selected[data-correct="false"] .feedback-indicator::after {
  content: "✗";
  color: #dc3545;
  font-weight: bold;
}

.translation-summary {
  line-height: 1.6;
  padding: 10px 0;
  margin-top: 20px;
  border-top: 1px solid #e9ecef;
}

.completion-check {
  color: #28a745;
  font-weight: bold;
}

.slide-nav {
  margin-top: 20px;
}

.slide-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #dee2e6;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-dot.active {
  background-color: #198754;
  transform: scale(1.2);
}

.slide-nav-btn {
  transition: all 0.3s ease;
}

.slide-nav-btn:hover {
  transform: translateX(0);
}

.slide-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-completed .slide-dot {
  background-color: #28a745;
}

.d-none {
  display: none !important;
}

@media (min-width: 768px) {
  .slide-nav {
    display: none;
  }
}

.position-relative {
  position: relative;
  overflow: hidden;
}

.latin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.latin-overlay.show {
  transform: translateY(0);
}

/* Button transition */
#showLatinBtn {
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

#showLatinBtn.active i {
  transform: rotate(180deg);
}

.button-container {
  position: relative;
  z-index: 10;
}

/* Simple Custom Carousel Styles */
/* Updated Simple Custom Carousel Styles */
/* Updated Simple Custom Carousel Styles - Vertical Indicators Layout */
.simple-carousel {
  position: relative;
  max-width: 100%;
  margin: 0;

}

.simple-carousel-layout-column {
  padding-right: 5rem;
}

/* Main carousel container - uses flexbox to position content and right column */
.simple-carousel-container {
  background: white;
  border-left: 0px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  gap: 1rem;

}

.simple-carousel-slide {
  display: none;
  padding: 0;
  min-height: 400px;
  flex: 1;
}

.simple-carousel-slide.active {
  display: block;
}

/* Main content area that contains slides */
.simple-carousel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
      padding-right: 1.5rem;
}

/* Updated Top Navigation Bar - Only prev/next buttons, no indicators */
.simple-carousel-top-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 0px solid #dee2e6;
  gap: 1rem;
}

/* NEW: Vertical Indicators Column on the Right */
.simple-carousel-indicators-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem 3rem 0 2rem;
  border-left: 1px solid #dee2e6;
  gap: 0.75rem;
}

/* Updated Indicators for Vertical Layout */
.simple-carousel-dots {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.simple-carousel-indicator {
  padding: 0.5rem 1rem;
  background: #e9ecef;
  border: 0px solid #6c757d;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #6c757d;
  position: relative;
  width: 100%;
  border-radius: 6px;
  text-align: center;
}

.simple-carousel-indicator.active {
  background: #19875449;
  border-color: #198754;
  opacity: 1;
  transform: scale(1.05);
  color: #198754;
}

.simple-carousel-indicator:hover {
  opacity: 1;
  transform: scale(1.02);
  background: #dee2e6;
}

.simple-carousel-indicator.active:hover {
  background: #19875449;
}

/* Bottom Navigation Bar - Keep for mobile fallback */
.simple-carousel-indicators {
  display: none;
  /* Hidden by default - will show on mobile */
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  gap: 1rem;
}

.example-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 3px solid;
  margin-bottom: 0rem;
  margin-top: 3rem;
}

.example-content {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  color: #656565;
  line-height: 1.6;
  padding: 0 0.5rem;
}

.example-content p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  color: #656565;
  margin: 0;
}

.example-content .text-body-tertiary {
  font-style: italic;
  font-size: 1.15rem;
  color: #6c757d;
  margin: 0.5rem 0 1rem 2rem;
}

.example-content .text-end {
  text-align: right;
  font-size: 1.0rem;
  color: #656565;
  margin-top: 0.5rem;
  font-style: italic;
}

.example-content .fw-semibold {
  font-weight: 600;
}

.play-button {
  border: none;
  padding: 0rem !important;
}

.example-content .bg-primary.bg-opacity-10 {
  background-color: rgba(13, 110, 253, 0.1) !important;
  padding: 1px 3px;
  border-radius: 2px;
}

.why-it-matters {
  margin-top: 1rem;
}

.why-it-matters .fw-semibold {
  font-weight: 600;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 2px;
  display: inline-block;
}

.why-it-matters p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  color: #656565;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.carousel-author {
  margin: 0 0 1.2rem 0 !important;
}

.bottom-nav {
  opacity: .5;
}

/* Navigation Arrows - Made bigger */
.simple-carousel-nav {
  width: 60px;
  /* Increased from 40px */
  height: 60px;
  /* Increased from 40px */
  background: rgba(108, 117, 125, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
  /* Make arrows circular */
}

.simple-carousel-nav:hover {
  opacity: 1;
  background: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.4);
  transform: scale(1.05);
  /* Slight scale on hover */
}

.simple-carousel-nav:disabled {
  opacity: 0;
  cursor: not-allowed;
  background: rgba(108, 117, 125, 0.05);
}

.simple-carousel-nav:disabled:hover {
  background: rgba(108, 117, 125, 0.05);
  border-color: rgba(108, 117, 125, 0.2);
  transform: none;
}

.simple-carousel-nav i {
  font-size: 1.8rem;
  /* Increased from 1.2rem */
  color: #6c757d;
  transition: all 0.3s ease;
}

.simple-carousel-nav:hover:not(:disabled) i {
  color: #495057;
  transform: scale(1.1);
}

/* Add numbers to indicators using CSS counter or data attributes */
.simple-carousel-indicator:nth-child(1)::before {
  content: "ex 1";
}

.simple-carousel-indicator:nth-child(2)::before {
  content: "ex 2";
}

.simple-carousel-indicator:nth-child(3)::before {
  content: "ex 3";
}

.simple-carousel-indicator:nth-child(4)::before {
  content: "4";
}

.simple-carousel-indicator:nth-child(5)::before {
  content: "5";
}

.simple-carousel-indicator:nth-child(6)::before {
  content: "6";
}

.simple-carousel-indicator:nth-child(7)::before {
  content: "7";
}

.simple-carousel-indicator:nth-child(8)::before {
  content: "8";
}

.simple-carousel-indicator:nth-child(9)::before {
  content: "9";
}

.simple-carousel-indicator:nth-child(10)::before {
  content: "10";
}

/* Add "Next" text before the next arrow */
.simple-carousel-nav.simple-carousel-next {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  /* Allow width to adjust for text */
  padding: 0;
  border-radius: 30px;
  /* Make it more pill-shaped */
  background-color: #fff;
}

.simple-carousel-nav.simple-carousel-next::before {
  content: "Next";
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
  transition: color 0.3s ease;
}

.simple-carousel-nav.simple-carousel-next:hover::before {
  color: #495057;
}

.simple-carousel-nav.simple-carousel-next:disabled::before {
  color: #adb5bd;
}

/* Add "Previous" text after the previous arrow for consistency */
.simple-carousel-nav.simple-carousel-prev {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  padding: 0;
  border-radius: 30px;
  background-color: #fff;
}

.simple-carousel-nav.simple-carousel-prev::after {
  content: "Previous";
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
  transition: color 0.3s ease;
}

.simple-carousel-nav.simple-carousel-prev:hover::after {
  color: #495057;
}

.simple-carousel-nav.simple-carousel-prev:disabled::after {
  color: #adb5bd;
}

/* Mobile responsive behavior */
@media (max-width: 768px) {
  /* Switch to mobile layout */
  .simple-carousel-container {
    flex-direction: column;
    gap: 0;
  }

  .simple-carousel-content {
    padding-right: 0;
  }

  /* Hide right column on mobile */
  .simple-carousel-indicators-column {
    display: none;
  }

  /* Show top navigation on mobile */
  .simple-carousel-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    gap: 1rem;
    order: -1; /* Ensure it appears at the top */
  }

  /* Horizontal dots for mobile */
  .simple-carousel-top-nav .simple-carousel-dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }

  /* Mobile button styling - no text, circular */
  .simple-carousel-top-nav .simple-carousel-nav {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .simple-carousel-top-nav .simple-carousel-nav:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: scale(1.05);
  }

  .simple-carousel-top-nav .simple-carousel-nav:disabled {
    opacity: 0.3;
    transform: none;
  }

  /* Mobile indicator styling */
  .simple-carousel-top-nav .simple-carousel-indicator {
    width: auto;
    height: auto;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 4px;
    min-width: 35px;
  }
}

@media (max-width: 576px) {
  .simple-carousel-top-nav {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .simple-carousel-top-nav .simple-carousel-nav {
    width: 40px;
    height: 40px;
  }

  .simple-carousel-top-nav .simple-carousel-nav i {
    font-size: 1.2rem;
  }

  .simple-carousel-top-nav .simple-carousel-indicator {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    min-width: 30px;
  }
}

/* Hide text labels in mobile view for carousel navigation */
@media (max-width: 768px) {
  /* Hide "Previous" and "Next" text labels in mobile top navigation */
  .simple-carousel-top-nav .simple-carousel-nav.simple-carousel-next::before,
  .simple-carousel-top-nav .simple-carousel-nav.simple-carousel-prev::after {
    display: none;
  }

  /* Hide "ex 1", "ex 2", etc. text labels in mobile top navigation indicators */
  .simple-carousel-top-nav .simple-carousel-indicator::before {
    display: none;
  }

  /* Ensure mobile buttons remain circular and icon-only */
  .simple-carousel-top-nav .simple-carousel-nav {
    width: 45px;
    height: 45px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure mobile indicators show no text content */
  .simple-carousel-top-nav .simple-carousel-indicator {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    min-width: auto;
    font-size: 0;
  }

  .simple-carousel-top-nav .simple-carousel-indicator.active {
    background: #198754;
  }
}

@media (max-width: 576px) {
  /* Smaller button size for very small screens */
  .simple-carousel-top-nav .simple-carousel-nav {
    width: 40px;
    height: 40px;
  }

  .simple-carousel-top-nav .simple-carousel-nav i {
    font-size: 1.2rem;
  }

  /* Smaller dot indicators for very small screens */
  .simple-carousel-top-nav .simple-carousel-indicator {
    width: 10px;
    height: 10px;
  }
}