/* Course Detail Page Styles */

/* Course Hero Section */
.course-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1a1a 0%, #0d2d2a 50%, #1a0f0a 100%);
}

.course-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.course-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 61, 58, 0.95) 0%,
      rgba(18, 109, 94, 0.92) 50%,
      rgba(183, 75, 2, 0.9) 100%);
  z-index: 2;
}

.course-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
  width: 100%;
}

.course-hero-content {
  color: #ffffff;
  max-width: 100%;
}

.course-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.course-hero-title {
  font-size: 72px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.05;
  letter-spacing: -3px;
  font-family: var(--tsc-font-heading);
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.course-hero-subtitle {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--tsc-font-body);
}

.course-hero-mentor-wrapper {
  margin: 0 0 32px;
}

.course-hero-mentor {
  font-size: 20px;
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 500;
}

.course-hero-mentor strong {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.mentor-credentials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

.mentor-credentials span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.mentor-credentials span:nth-child(even) {
  opacity: 0.6;
  margin: 0 4px;
}

.course-hero-price-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  flex-wrap: wrap;
}

.course-hero-price-original {
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  letter-spacing: -0.5px;
}

.course-hero-price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
  letter-spacing: -1px;
}

.course-hero-price-discount {
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 14px;
  background: #ff4444;
  color: #ffffff;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
}

.course-hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-feature {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.course-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.course-hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.course-enroll-btn,
.course-know-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tsc-color-primary);
  border: none;
  color: var(--tsc-color-bg);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 16px 32px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.course-enroll-btn:hover,
.course-know-more-btn:hover {
  background: var(--tsc-color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Image Section */
.course-hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.05) contrast(1.1);
}

.hero-image-glow {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(255, 215, 0, 0.3) 0%,
      rgba(18, 109, 94, 0.3) 50%,
      rgba(183, 75, 2, 0.3) 100%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 6px;
}

/* Course Overview */
.course-overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.course-overview-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--tsc-color-ink-muted);
  margin: 0 0 24px;
}

.course-overview-text:last-child {
  margin-bottom: 0;
}

.course-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--tsc-color-bg-soft);
  border-radius: 16px;
}

.highlight-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.highlight-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
}

.highlight-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tsc-color-ink-muted);
  margin: 0;
}

/* What You'll Learn */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.learn-item {
  padding: 32px;
  background: var(--tsc-color-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(8, 61, 58, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(8, 61, 58, 0.12);
}

.learn-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tsc-color-primary);
  color: var(--tsc-color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--tsc-font-heading);
}

.learn-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
}

.learn-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tsc-color-ink-muted);
  margin: 0;
}

/* Mentor Spotlight */
.mentor-spotlight {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.mentor-image {
  position: sticky;
  top: 100px;
}

.mentor-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8, 61, 58, 0.15);
}

.mentor-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tsc-color-primary);
  margin-bottom: 24px;
  font-family: var(--tsc-font-body);
}

.mentor-name {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
  letter-spacing: -1px;
  line-height: 1.3;
}

.mentor-bio {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tsc-color-ink-muted);
  margin: 0 0 20px;
}

.mentor-bio:last-of-type {
  margin-bottom: 32px;
}

.mentor-achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievement-item {
  font-size: 16px;
  color: var(--tsc-color-ink-strong);
  font-weight: 500;
}

/* Course Structure */
.structure-timeline {
  max-width: 900px;
  margin: 48px auto 0;
  position: relative;
}

.structure-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--tsc-color-stroke);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tsc-color-primary);
  color: var(--tsc-color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  font-family: var(--tsc-font-heading);
  box-shadow: 0 4px 12px rgba(8, 61, 58, 0.2);
}

.timeline-content {
  flex: 1;
  padding-top: 8px;
}

.timeline-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tsc-color-ink-muted);
  margin: 0;
}

/* Special Opportunity */
.opportunity-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg,
      rgba(8, 61, 58, 0.05) 0%,
      rgba(183, 75, 2, 0.05) 100%);
  border-radius: 24px;
  border: 2px solid var(--tsc-color-accent);
}

.opportunity-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.opportunity-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
}

.opportunity-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--tsc-color-ink-muted);
  margin: 0 0 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.opportunity-text:last-child {
  margin-bottom: 0;
}

/* Foundation vs Accelerator Comparison Table */
.table-responsive {
  margin-top: 48px;
  overflow-x: auto;
}

.tsc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--tsc-color-bg);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(8, 61, 58, 0.08);
}

.tsc-table thead th {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--tsc-font-heading);
  color: var(--tsc-color-ink-strong);
  background: var(--tsc-color-bg-soft);
  border-bottom: 2px solid var(--tsc-color-stroke);
}

.tsc-table th:first-child,
.tsc-table td:first-child {
  text-align: left;
}

.tsc-table th:nth-child(2),
.tsc-table th:nth-child(3),
.tsc-table td:nth-child(2),
.tsc-table td:nth-child(3) {
  text-align: center;
}

.tsc-table tbody td {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tsc-color-ink-muted);
  border-bottom: 1px solid var(--tsc-color-stroke);
}

.tsc-table tbody tr:last-child td {
  border-bottom: none;
}

.tsc-table tbody tr:nth-child(even) {
  background: var(--tsc-color-bg-soft);
}

.tsc-table tbody tr:hover {
  background: rgba(8, 61, 58, 0.04);
}

.tsc-table tbody tr.no-hover:hover {
  background: transparent !important;
}

.tsc-table tbody tr.no-hover .btn:hover {
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.tsc-table tbody td:first-child {
  font-weight: 600;
  color: var(--tsc-color-ink-strong);
}

/* Course Learn Section */
.course-learn {
  background: var(--tsc-color-bg-soft);
}

/* Course Structure Section */
.course-structure {
  background: var(--tsc-color-bg-soft);
}

/* CTA Section */
.course-cta {
  padding: 80px 0;
  background: var(--tsc-color-primary);
  color: var(--tsc-color-bg);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--tsc-color-bg);
  font-family: var(--tsc-font-heading);
}

.cta-text {
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  border: none;
  color: var(--tsc-color-bg);
}

.cta-button:hover {
  background: #20BA5A;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--tsc-color-bg);
  color: var(--tsc-color-bg);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Curriculum Overview */
.course-curriculum {
  background: var(--tsc-color-bg);
}

.curriculum-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--tsc-color-ink-muted);
  margin: 16px 0 48px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.curriculum-accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.curriculum-module {
  margin-bottom: 16px;
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 12px;
  background: var(--tsc-color-bg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.curriculum-module:hover {
  box-shadow: 0 4px 12px rgba(8, 61, 58, 0.08);
}

.curriculum-module.active {
  border-color: var(--tsc-color-primary);
  box-shadow: 0 4px 16px rgba(8, 61, 58, 0.12);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.module-header:hover {
  background: var(--tsc-color-bg-soft);
}

.curriculum-module.active .module-header {
  background: var(--tsc-color-bg-soft);
}

.module-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  background: var(--tsc-color-bg-soft);
  border-radius: 8px;
}

.curriculum-module.active .module-icon {
  background: var(--tsc-color-primary);
  color: var(--tsc-color-bg);
}

.module-info {
  flex: 1;
}

.module-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--tsc-color-ink-strong);
  font-family: var(--tsc-font-heading);
}

.module-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tsc-color-ink-muted);
  margin: 0;
}

.module-toggle {
  font-size: 20px;
  color: var(--tsc-color-ink-muted);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curriculum-module.active .module-toggle {
  transform: rotate(180deg);
  color: var(--tsc-color-primary);
}

.module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--tsc-color-bg);
}

.curriculum-module.active .module-content {
  max-height: 5000px;
}

.module-segment {
  padding: 20px 28px;
  border-top: 1px solid var(--tsc-color-stroke);
  transition: background-color 0.2s ease;
}

.module-segment:hover {
  background: var(--tsc-color-bg-soft);
}

.segment-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.segment-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--tsc-color-primary);
  background: rgba(8, 61, 58, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
  font-family: var(--tsc-font-heading);
}

.segment-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--tsc-color-ink-strong);
  flex: 1;
}

.segment-assignment {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tsc-color-ink-muted);
  padding-left: 56px;
  margin-top: 8px;
}

.segment-assignment strong {
  color: var(--tsc-color-ink-strong);
  font-weight: 600;
}

.segment-assignment a {
  color: var(--tsc-color-primary);
  text-decoration: underline;
}

.segment-assignment a:hover {
  color: var(--tsc-color-accent);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .course-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentor-spotlight {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mentor-image {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .course-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 0 60px;
  }

  .course-hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-image-wrapper {
    max-width: 350px;
  }

  .course-hero-title {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .course-hero {
    min-height: auto;
    padding: 40px 0;
  }

  .course-hero-grid {
    padding: 60px 0 40px;
    gap: 32px;
  }

  .course-hero-content {
    padding: 0;
  }

  .course-hero-title {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .course-hero-subtitle {
    font-size: 20px;
  }

  .course-hero-price-wrapper {
    gap: 12px;
  }

  .course-hero-price-original {
    font-size: 1.4rem;
  }

  .course-hero-price-current {
    font-size: 2rem;
  }

  .course-hero-price-discount {
    font-size: 0.85rem;
    padding: 5px 12px;
  }

  .hero-image-wrapper {
    max-width: 280px;
  }

  .course-hero-features {
    gap: 12px;
  }

  .hero-feature {
    font-size: 14px;
    padding: 6px 12px;
  }

  .course-hero-cta {
    justify-content: center;
  }

  .course-hero-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .mentor-credentials {
    font-size: 12px;
    gap: 8px;
  }

  .course-hero-subtitle {
    font-size: 20px;
  }

  .course-hero-features {
    flex-direction: column;
    gap: 12px;
  }

  .course-hero-cta {
    flex-direction: column;
  }

  .course-enroll-btn,
  .btn-secondary {
    width: 100%;
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .structure-timeline::before {
    left: 25px;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-item {
    gap: 24px;
  }

  .opportunity-card {
    padding: 40px 24px;
  }

  .opportunity-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button,
  .btn-outline-light {
    width: 100%;
  }

  .module-header {
    padding: 20px 24px;
    gap: 16px;
  }

  .module-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .module-title {
    font-size: 18px;
  }

  .module-segment {
    padding: 16px 24px;
  }

  .segment-assignment {
    padding-left: 0;
    font-size: 14px;
  }

  .module-description {
    font-size: 14px;
  }

  .segment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Table Responsiveness */
  .table-responsive {
    overflow-x: visible; /* Disable scroll if it fits */
  }

  .tsc-table {
    min-width: 100%;
    font-size: 13px;
    table-layout: fixed;
  }

  .tsc-table thead th,
  .tsc-table tbody td {
    padding: 12px 6px;
    word-break: break-word;
  }

  .tsc-table thead th {
    font-size: 14px;
  }

  .tsc-table td:first-child {
    width: 40%;
  }

  .tsc-table th:nth-child(2),
  .tsc-table th:nth-child(3),
  .tsc-table td:nth-child(2),
  .tsc-table td:nth-child(3) {
    width: 30%;
  }

  .tsc-table .btn {
    padding: 10px 4px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }
}

/* Info Button & Tooltip */
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--tsc-color-primary);
  color: var(--tsc-color-bg);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  margin-left: 6px;
  position: relative;
  vertical-align: middle;
  line-height: 1;
}

.info-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 14px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.info-btn::before {
  content: '';
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(14px); /* Moved down from box bottom */
  border-width: 6px;
  border-style: solid;
  border-color: #1a1a1a transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  pointer-events: none;
}

.info-btn:hover::after,
.info-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

.info-btn:hover::after {
  transform: translateX(-50%) translateY(0);
}

.info-btn:hover::before {
  transform: translateX(-50%) translateY(6px);
}

@media (max-width: 768px) {
  .info-btn::after {
    white-space: normal;
    width: 200px;
    bottom: 180%;
  }
}