/* ==========================================================================
   PROJECT: TOPPERS TUTORIAL CENTER — THEME & STYLES
   File: css/Topperstutorialcenter.css
   Tech Steward Digital AI — Joyce Yap Portfolio
   ========================================================================== */

/* Theme container accent when viewing Toppers Tutorial Center */
.theme-tutorial-center .pdetail-header-card::before {
  background: linear-gradient(90deg, #6366f1, #3b82f6, #00f2fe);
}

.theme-tutorial-center .pdetail-badge {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.45);
  color: #818cf8;
}

.theme-tutorial-center .pdetail-client-badge {
  border-color: rgba(99, 102, 241, 0.25);
}

.theme-tutorial-center .pdetail-spec-card h3 i {
  color: #818cf8;
}

.theme-tutorial-center .pdetail-feature-item i {
  color: #818cf8;
}

.theme-tutorial-center .pdetail-tool-chip {
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.06);
}

/* Academic conversion highlight */
.tutorial-conversion-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #818cf8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 14px;
}

/* ==========================================================================
   DEDICATED TOPPERS SHOWCASE SUITE — ROW 2 & 3 COMPONENTS
   ========================================================================== */

.toppers-pure-tools-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.toppers-ghl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 7px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.toppers-ghl-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.45);
}

.toppers-ghl-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   ROW 4: 3-COLUMN AUTO-SLIDING SHOWCASE GRID
   ========================================================================== */

.toppers-trio-showcase-section {
  position: relative;
  z-index: 2;
  margin-top: 36px;
  margin-bottom: 36px;
}

.toppers-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .toppers-trio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* INDIVIDUAL COLUMN CARD */
.trio-col-card {
  background: rgba(13, 27, 62, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(99, 102, 241, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.trio-col-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 28px rgba(99, 102, 241, 0.25);
}

/* CARD HEADER WITH TITLE & COMPACT CONTROLS */
.trio-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
}

.trio-col-title-wrap {
  flex: 1;
  min-width: 0;
}

.trio-col-title {
  font-family: var(--font-headline);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trio-col-title i {
  color: #818cf8;
  font-size: 0.88rem;
}

.trio-col-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.trio-slider-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.trio-ctrl-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trio-ctrl-btn:hover {
  background: #818cf8;
  color: #04091a;
  border-color: #818cf8;
  transform: scale(1.1);
}

/* SLIDER STAGE VIEWPORT & TRACK */
.trio-slider-stage {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: #030712;
  flex: 1;
}

@media (max-width: 768px) {
  .trio-slider-stage {
    height: 300px;
  }
}

.trio-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.trio-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030712;
  overflow: hidden;
}

.trio-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.trio-slider-stage:hover .trio-slide img {
  transform: scale(1.02);
}

/* SIDE OVERLAY ARROWS */
.trio-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(4, 9, 24, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  opacity: 0;
}

.trio-nav-arrow.arrow-left {
  left: 10px;
}

.trio-nav-arrow.arrow-right {
  right: 10px;
}

.trio-slider-stage:hover .trio-nav-arrow {
  opacity: 0.85;
}

.trio-nav-arrow:hover {
  opacity: 1 !important;
  background: #818cf8;
  color: #04091a;
  border-color: #818cf8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.6);
}

/* BOTTOM FOOTER BAR (CAPTION, DOTS, ZOOM TRIGGER) */
.trio-slider-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 15;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trio-caption-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.trio-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.45);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.trio-caption-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trio-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.trio-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trio-dot:hover {
  background: rgba(129, 140, 248, 0.6);
  transform: scale(1.2);
}

.trio-dot.active {
  width: 18px;
  background: #818cf8;
  border-color: #818cf8;
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.7);
}

.trio-zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.trio-zoom-btn:hover {
  background: #818cf8;
  color: #04091a;
  border-color: #818cf8;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
}

/* ==========================================================================
   ROW 5: AUTOPLAY SYSTEM VIDEO WALKTHROUGH CARD
   ========================================================================== */

.toppers-video-section {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(99, 102, 241, 0.15);
}

.theme-tutorial-center .toppers-video-section::before {
  background: linear-gradient(90deg, #6366f1, #3b82f6, #00f2fe);
}

.toppers-video-section .pdetail-video-title i {
  color: #818cf8;
}

.toppers-video-section .pdetail-video-badge {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}
