/* ==========================================================================
   Page Structural Reset & Hero Layout Overhaul
   ========================================================================== */
body {
  background: #f8fafc;
  color: #334155;
  margin: 0;
}

.page-hero {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.page-hero-image {
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1469521669194-babb45599def?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
}

.page-hero-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-block;
  padding: 14px 32px;
  background-color: #1e70bf;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(30, 112, 191, 0.3);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-hero-btn:hover {
  background-color: #1d3d8c;
  transform: translate(-50%, -53%);
  box-shadow: 0 12px 24px rgba(29, 61, 140, 0.4);
}

/* ==========================================================================
   Page Heading Structure
   ========================================================================== */
.page-title-bar {
  background-color: #1d3d8c;
  padding: 36px 0;
  text-align: center;
  box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.title-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-title-bar h1 {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.title-accent-line {
  width: 60px;
  height: 4px;
  background-color: #f59e0b;
  margin: 0 auto;
  border-radius: 2px;
}

/* ==========================================================================
   Premium Multi-Item Testimonial Carousel Section
   ========================================================================== */
.temoignages-section {
  background-color: #ffffff;
  padding: 60px 0;
  position: relative;
  width: 100%;
}

.temoignages-viewport {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

.temoignages-track-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}

.temoignages-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Carousel Cards Overhaul */
.temoignage-card {
  background-color: #e5e7eb;
  border-radius: 4px;
  padding: 30px 30px 30px 50px;
  position: relative;
  min-height: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 calc((100% - 60px) / 3);
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

/* Offset Avatar Circle on the left */
.card-avatar {
  position: absolute;
  left: -25px;
  top: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  color: #94a3b8;
  font-size: 1.5rem;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card body content layout */
.card-body-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-author-header {
  margin-bottom: 15px;
}

.card-name {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.card-trek {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #475569;
}

.card-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Triangle pointer at the bottom center of the card */
.temoignage-card::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #e5e7eb;
  z-index: 5;
}

/* Navigation Arrow Overhaul */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  color: #1d3d8c;
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Navigation Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.carousel-dot:hover {
  border-color: #64748b;
}

.carousel-dot.active {
  background-color: #f59e0b;
  border-color: #f59e0b;
  transform: scale(1.2);
}

.no-testimonials {
  text-align: center;
  color: #64748b;
  font-family: 'Lato', sans-serif;
  grid-column: 1 / -1;
  width: 100%;
}

/* ==========================================================================
   Corporate Action Elements Strip
   ========================================================================== */
.share-banner {
  background-color: #1d3d8c;
  padding: 24px 0;
  text-align: center;
}

.share-banner p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
}

.social-strip {
  background-color: #0f172a;
  padding: 20px 0;
  text-align: center;
}

.social-strip-inner {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: #f59e0b;
  font-size: 1.1rem;
}

.social-strip-inner span.divider {
  display: inline-block;
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Responsive Adaptations & Layout Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .temoignages-viewport {
    padding: 0 44px;
  }
}

@media (max-width: 768px) {
  .temoignages-section {
    padding: 50px 0;
  }

  .temoignages-viewport {
    padding: 0 16px;
  }

  .carousel-arrow {
    display: none;
    /* Rely on dots and touch interactions on smaller layouts */
  }

  .page-title-bar h1 {
    font-size: 2rem;
  }

  .temoignage-card {
    padding: 28px 24px;
    min-height: 240px;
  }
}


@media (max-width: 480px) {
  .page-hero {
    height: 220px;
  }

  .page-title-bar {
    padding: 28px 0;
  }
}