.mindset-section {
  background: #1c1c1c;
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.mindset-container {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.mindset-container::before,
.mindset-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 20;
  pointer-events: none;
}

.mindset-container::before {
  left: 0;
  background: linear-gradient(to right, #1c1c1c 0%, rgba(28, 28, 28, 0) 100%);
}

.mindset-container::after {
  right: 0;
  background: linear-gradient(to left, #1c1c1c 0%, rgba(28, 28, 28, 0) 100%);
}

.section-title {
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0%;
  font-family: var(--font-code);
  font-size: 3.2rem;
  color: #3dcfb6;
  margin-bottom: 20px;
}

.mindset-slider {
  width: 100%;
  min-height: 362px;
  margin: 0 auto;
  overflow: hidden;
}

.mindset-track {
  position: relative;
  height: 450px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mindset-card {
  position: absolute;
  width: 600px;
  max-width: 80%;
  min-width: 600px;
  background: rgba(61, 207, 183, 0.349);
  border: 1px solid #3dcfb6;
  min-height: 350px;
  border-radius: 30px;
  padding: 90px 20px 30px 20px;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease,
    z-index 0s 0.3s;
}

.pos-left {
  transform: translateX(-105%) scale(0.85);
  opacity: 0.3;
  z-index: 1;
}

.pos-center {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
  border-color: #3dcfb6;
  box-shadow: 0 0 30px rgba(61, 207, 182, 0.2);
}

.pos-right {
  transform: translateX(105%) scale(0.85);
  opacity: 0.3;
  z-index: 1;
}

.no-transition {
  transition: none !important;
  opacity: 0 !important;
}

.mindset-text {
  font-family: var(--font-main);
  font-size: 1.8rem;
  line-height: 1.2;
  color: white;
}

.mindset-card:hover {
  border-color: #3dcfb6;
  box-shadow: 0 0 30px rgba(61, 207, 182, 0.1);
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -55px;
  font-size: 80px;
  color: #ffffff;
  font-family: serif;
  background: transparent;
  padding: 0 10px;
}

.quote-icon img {
  width: 89px;
  height: 64px;
  display: block;
}

.mindset-card .quote-icon {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}

.mindset-card.pos-center .quote-icon {
  opacity: 1;
  transform: translateY(0);
}

.mindset-footer {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.line {
  height: 1px;
  flex-grow: 1;
  background: #ffffff;
}

.mindset-tag {
  color: #ffffff;
  font-family: var(--font-code);
  font-size: 1.4rem;
  line-height: 1.2;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-nav .nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-nav .nav-btn img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.slider-nav .nav-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

.slider-nav .nav-dots .dot {
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  opacity: 0.7;
}

.slider-nav .nav-dots .dot img {
  width: 8px;
  height: 8px;
  filter: brightness(0) invert(1);
}

.slider-nav .nav-dots .dot.active {
  opacity: 1;
  transform: scale(1.3);
}

.slider-nav .nav-dots .dot.active img {
  filter: invert(30%) sepia(21%) saturate(1066%) hue-rotate(120deg)
    brightness(91%) contrast(88%);
}

/* Responsive Design */

@media (max-width: 1200px) {
  .pos-left,
  .pos-right {
    opacity: 1;
  }
  .mindset-card {
    height: 250px;
  }

  .mindset-text {
    font-family: var(--font-main);
    font-size: 1.8rem;
    line-height: 1.2;
    color: white;
  }
}

@media (hover: hover) {
  .slider-nav .nav-btn:hover img {
    transform: scale(1.2);
    filter: invert(30%) sepia(21%) saturate(1066%) hue-rotate(120deg)
      brightness(91%) contrast(88%);
  }
}

@media (max-width: 768px) {
  .mindset-container::before,
  .mindset-container::after {
    display: none;
  }

  .mindset-section {
    padding: 60px 20px;
  }

  .mindset-container {
    width: 100%;
    padding: 20px 0;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }

  .mindset-track {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .mindset-card {
    width: 80vw !important;
    min-width: 358px !important;
    height: 358px !important;
    max-width: 90vw;
    padding: 60px 20px;
    transform-origin: center center;
  }

  .pos-center {
    transform: translateX(0%) scale(1);
    opacity: 1;
    z-index: 10;
  }

  .pos-left {
    transform: translateX(-95%) scale(0.8);
    opacity: 0.4;
    z-index: 5;
  }

  .pos-right {
    transform: translateX(95%) scale(0.8);
    opacity: 0.4;
    z-index: 5;
  }

  .mindset-text {
    font-family: var(--font-main);
  }

  .slider-nav {
    gap: 15px;
  }

  .quote-icon {
    position: absolute;
    top: -10px;
    left: -15px;
  }

  .quote-icon img {
    width: 60px;
    height: 40px;
  }

  .nav-btn img {
    transition:
      transform 0.1s ease,
      opacity 0.1s ease;
  }

  .nav-btn :active {
    transform: scale(0.95) translateY(2px);
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .mindset-card {
    min-width: 300px !important;
    height: 300px !important;
  }
}
