/* IMAGE CAROUSEL */
.carousel-item .carousel-bg-img {
  height: 800px;
  border-radius: 64px;
  object-fit: cover;
  object-position: center;
  filter: brightness(75%);
  transition: filter 0.4s ease;
}

.carousel-item .carousel-caption {
  backdrop-filter: blur(40px);
  border: 2px solid var(--divider);
}

.carousel-item .target-audience-img-wrapper img {
  max-height: 500px;
}

/* styling the carousel indicators (the 3 bars at the bottom of each slide) */
.carousel-indicators [data-bs-target] {
  width: 40px; height: 12px;
  background-color: var(--divider);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.carousel-indicators .active {
  background-color: var(--color-primary);
  opacity: 1;
}

/* styling the tooltips that pops up when hovering on the target audience images */
.tooltip {
  --bs-tooltip-bg: var(--elevated-surface);
  --bs-tooltip-color: var(--text-primary);
  --bs-tooltip-opacity: 1;
  --bs-tooltip-padding-x: 0.75rem;
  --bs-tooltip-padding-y: 0.5rem;
  --bs-tooltip-arrow-width: 1.4rem;
  --bs-tooltip-arrow-height: 0.8rem;
  --bs-tooltip-max-width: 240px;
  z-index: 999;
}

/* TIMELINE SECTION */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* vertical line running through timeline */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  z-index: 1;
}

/* individual timeline items */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-left: 2rem;
}

.timeline-item img {
  width: 100%; height: 400px;
  object-fit: cover;
}

/* timeline year circles */
.timeline-year {
  background-color: var(--color-primary);
  flex-shrink: 0;
  margin-left: -70px;
  box-shadow: 0 0 0 4px var(--dark-surface);
}

/* timeline content cards */
.timeline-content {
  margin-top: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-2px);
}

/* content headings */
.timeline-content h4 {
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* content paragraphs */
.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* tag container */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* base badge styling */
.timeline-tags .badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* responsive design for mobile */
@media (max-width: 768px) {
  .timeline-container::before {
    display: none;
  }
}

/* FAQ SECTION */
/* icons on the left of each FAQ item */
.tech-icon {
  font-size: 2rem;
}

.accordion-item {
  background-color: var(--elevated-surface);
  border: 1px solid var(--divider);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-size: 2.2rem;
  background-color: var(--elevated-surface);
}

.accordion-body {
  font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-primary);
}

.accordion-body {
  background-color: var(--dark-surface);
  color: var(--text-secondary);
}

/* FAQ icon (V arrow) animation */
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button::after {
  display: none;
}

.accordion-button:not(.collapsed) .faq-icon {
  transform: rotate(180deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}