
.frame {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
}

.carousel-container {
  width: 100%;
  text-align: center;
}

.carousel-container h1 {
  font-size: 36px;
  color: #1d1d1f;
  margin-bottom: 40px;
  font-weight: 600;
}

.carousel-tabs {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #e0e0e0;
  position: relative; /* For positioning progress bars absolutely to it if needed, but they are relative to buttons */
}

.tab-button {
  background-color: transparent;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  position: relative;
  outline: none;
  font-weight: 500;
}

.tab-button .progress-bar {
  position: absolute;
  bottom: -1px; /* Sits on the border-bottom of .carousel-tabs */
  left: 0;
  height: 3px;
  background-color: #4f46e5;
  width: 0;
  transition: none; /* JS will handle transitions for progress */
}

.tab-button.active {
  color: #4f46e5;
  font-weight: 600;
}

.carousel-content {
  margin-top: 20px;
}

.feature-panel {
  display: none;
  flex-direction: row;
  text-align: left;
      margin: 0 auto;
    width: 80%;
    margin-bottom: 65px;
}

.feature-panel.active {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-text {
  flex: 1;
  margin-right: 80px;
}

.feature-text h2 {
  font-size: 48px;
  color: #1d1d1f;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Heebo-Regular';
}

.feature-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.learn-more-btn {
  background-color: #4f46e5;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #4338ca;
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.placeholder-visual {
  width: 100%;
  height: 300px;
  background-color: #e9ecef;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #6c757d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Accessibility: Visual Focus Indicator */
.tab-button:focus-visible,
.learn-more-btn:focus-visible {
  outline: 3px solid #005fcc; /* A distinct focus color */
  outline-offset: 2px;
  box-shadow: 0 0 0 1px #ffffff; /* Inner contrast for outlines on dark backgrounds */
}
/* Fallback for browsers not supporting focus-visible, or if always desired */
.tab-button:focus,
.learn-more-btn:focus {
  /* Consider if you want this for mouse clicks too, :focus-visible is often preferred */
  /* outline: 3px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px #ffffff; */
}

.feature-text .btn {
    display: inline-flex
;
    font-family: Heebo-Regular;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    padding: 8px 25px !important;
}

.feature-text .btn img {
    margin-left: 15px;
}