/* ============================================================
   Xello Tuition — Textbook Solutions Platform Styles
   Extends ../styles.css brand variables
   ============================================================ */

:root {
  --primary-color: #BBE03A;
  --primary-dark: #9BC422;
  --secondary-color: #559BDB;
  --accent-color: #BBE03A;
  --whatsapp-color: #25d366;
  --bg-color: #3b2a75;
  --card-bg: #4c3b93;
  --card-border: #6d5ab5;
  --text-main: #ffffff;
  --text-muted: #CBD5E1;
  --nav-bg: rgba(59, 42, 117, 0.97);
  --gradient-primary: linear-gradient(135deg, #BBE03A, #9BC422);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ts-answer-bg: rgba(187, 224, 58, 0.12);
  --ts-ml-bg: rgba(85, 155, 219, 0.12);
  --ts-step-bg: rgba(76, 59, 147, 0.8);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; }

/* ============= NAVBAR ============= */
.ts-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0.9rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.ts-nav .nav-logo img { height: 42px; width: auto; }
.ts-nav-links { display: flex; gap: 1.8rem; align-items: center; }
.ts-nav-links a {
  font-size: 0.9rem; font-weight: 500; color: #d4d0f0;
  border-radius: 6px; padding: 0.3rem 0.6rem;
}
.ts-nav-links a:hover, .ts-nav-links a.active { color: var(--primary-color); }
.ts-nav-cta {
  background: var(--gradient-primary);
  color: #1a1040 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(187,224,58,0.3);
  transition: var(--transition);
}
.ts-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(187,224,58,0.45); }
.ts-hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: #fff; }

/* ============= BREADCRUMB ============= */
.ts-breadcrumb {
  background: rgba(76, 59, 147, 0.5);
  padding: 0.8rem 5%;
  margin-top: 70px;
  font-size: 0.82rem;
  color: #b0a9d8;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.ts-breadcrumb a { color: #b0a9d8; }
.ts-breadcrumb a:hover { color: var(--primary-color); }
.ts-breadcrumb .sep { color: #6d5ab5; }
.ts-breadcrumb .current { color: var(--primary-color); font-weight: 500; }

/* ============= PAGE LAYOUT ============= */
.ts-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.ts-page-body { padding: 2rem 5% 5rem; max-width: 1200px; margin: 0 auto; }
.ts-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }

/* ============= SEARCH BAR ============= */
.ts-hero {
  padding: 4rem 5% 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(76,59,147,0.6) 0%, transparent 100%);
}
.ts-hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.25; }
.ts-hero h1 span { color: var(--primary-color); }
.ts-hero p { color: #c4bed8; font-size: 1.05rem; margin-bottom: 2rem; }
.ts-search-wrap {
  max-width: 640px; margin: 0 auto;
  display: flex; gap: 0;
  background: #4c3b93;
  border: 2px solid var(--card-border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.ts-search-wrap:focus-within { border-color: var(--primary-color); box-shadow: 0 8px 30px rgba(187,224,58,0.2); }
.ts-search-wrap input {
  flex: 1; border: none; background: transparent;
  padding: 0.9rem 1.4rem;
  color: #fff; font-size: 0.95rem; font-family: 'Poppins', sans-serif;
  outline: none;
}
.ts-search-wrap input::placeholder { color: #8a80b8; }
.ts-search-wrap button {
  background: var(--gradient-primary);
  border: none; cursor: pointer;
  padding: 0 1.4rem;
  color: #1a1040; font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.ts-search-wrap button:hover { background: linear-gradient(135deg, #d4f542, #b5d620); }

/* ============= FILTER CHIPS ============= */
.ts-filters {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
  justify-content: center; margin: 1.5rem 0;
}
.ts-chip {
  padding: 0.45rem 1.1rem;
  border-radius: 50px; border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: #c4bed8; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.ts-chip:hover, .ts-chip.active {
  background: var(--primary-color);
  color: #1a1040; border-color: var(--primary-color);
}

/* ============= CLASS GRID CARDS ============= */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
  margin: 2.5rem 0;
}
.ts-class-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: block; color: inherit;
  position: relative; overflow: hidden;
}
.ts-class-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.ts-class-card:hover::before { transform: scaleX(1); }
.ts-class-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.ts-class-num {
  font-size: 2.2rem; font-weight: 700; color: var(--primary-color);
  font-family: 'Poppins', sans-serif; line-height: 1;
}
.ts-class-label { font-size: 0.82rem; color: #a09cc4; margin-top: 0.2rem; }
.ts-class-subjects {
  margin-top: 0.8rem; display: flex; flex-wrap: wrap;
  gap: 0.4rem; justify-content: center;
}
.ts-sbadge {
  font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 20px;
  background: rgba(85,155,219,0.15); color: var(--secondary-color);
  border: 1px solid rgba(85,155,219,0.25);
}

/* ============= CHAPTER LIST ============= */
.ts-chapter-list { display: flex; flex-direction: column; gap: 1rem; }
.ts-chapter-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px; padding: 1.4rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  cursor: pointer; transition: var(--transition); text-decoration: none; color: inherit;
}
.ts-chapter-card:hover {
  border-color: var(--primary-color);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.ts-chapter-num {
  min-width: 42px; height: 42px; border-radius: 10px;
  background: rgba(187,224,58,0.12); color: var(--primary-color);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.ts-chapter-info { flex: 1; }
.ts-chapter-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.ts-chapter-info p { font-size: 0.8rem; color: #a09cc4; }
.ts-chapter-meta { display: flex; align-items: center; gap: 1rem; }
.ts-ex-count {
  font-size: 0.78rem; background: rgba(85,155,219,0.12);
  color: var(--secondary-color); padding: 0.25rem 0.7rem;
  border-radius: 20px; border: 1px solid rgba(85,155,219,0.2);
}
.ts-arrow { color: #6d5ab5; transition: var(--transition); }
.ts-chapter-card:hover .ts-arrow { color: var(--primary-color); transform: translateX(4px); }

/* ============= EXERCISE TABLE ============= */
.ts-ex-section { margin-top: 2rem; }
.ts-ex-header {
  background: rgba(76,59,147,0.8); border: 1px solid var(--card-border);
  border-radius: 12px 12px 0 0; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.ts-ex-header h3 { font-size: 1rem; font-weight: 600; }
.ts-ex-header span { font-size: 0.78rem; color: #a09cc4; }
.ts-q-list { border: 1px solid var(--card-border); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.ts-q-row {
  display: flex; align-items: center; padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(109,90,181,0.3);
  transition: var(--transition); text-decoration: none; color: inherit;
  gap: 1rem;
}
.ts-q-row:last-child { border-bottom: none; }
.ts-q-row:hover { background: rgba(187,224,58,0.06); }
.ts-q-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-color); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 600; color: var(--primary-color);
  flex-shrink: 0;
}
.ts-q-text { flex: 1; font-size: 0.88rem; color: #c4bed8; }
.ts-q-difficulty {
  font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 20px;
}
.ts-q-difficulty.easy { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.ts-q-difficulty.medium { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.ts-q-difficulty.hard { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.ts-q-row .ts-arrow { color: #6d5ab5; margin-left: 0.5rem; }
.ts-q-row:hover .ts-arrow { color: var(--primary-color); transform: translateX(3px); }

/* ============= QUESTION PAGE SPECIFIC ============= */
.ts-question-title {
  font-size: 1.7rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 0.5rem;
}
.ts-q-meta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.ts-tag {
  font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 20px;
  background: rgba(76,59,147,0.8); border: 1px solid var(--card-border); color: #b0a9d8;
}

/* Quick Answer Box */
.ts-quick-answer {
  background: var(--ts-answer-bg);
  border: 1.5px solid rgba(187,224,58,0.35);
  border-radius: 14px; padding: 1.4rem 1.8rem;
  margin: 1.5rem 0;
  position: relative; overflow: hidden;
}
.ts-quick-answer::before {
  content: '✓ Quick Answer';
  display: block; font-size: 0.72rem; font-weight: 700;
  color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.ts-quick-answer p { font-size: 1.05rem; font-weight: 500; color: #fff; }

/* Step Cards */
.ts-steps { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.ts-step {
  background: var(--ts-step-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1.4rem 1.5rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.ts-step-badge {
  min-width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-primary); color: #1a1040;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0; margin-top: 2px;
}
.ts-step-content h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; }
.ts-step-content p { font-size: 0.88rem; color: #c4bed8; line-height: 1.65; }
.ts-step-content .ts-math {
  background: rgba(0,0,0,0.25); border-radius: 8px; padding: 0.6rem 1rem;
  margin-top: 0.5rem; font-family: 'Courier New', monospace;
  font-size: 0.95rem; color: var(--primary-color); border-left: 3px solid var(--primary-color);
}

/* Malayalam Explanation */
.ts-ml-section {
  background: var(--ts-ml-bg);
  border: 1.5px solid rgba(85,155,219,0.3);
  border-radius: 14px; padding: 1.6rem 1.8rem;
  margin: 1.5rem 0;
}
.ts-ml-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; color: var(--secondary-color);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
  background: rgba(85,155,219,0.15); padding: 0.25rem 0.75rem; border-radius: 20px;
}
.ts-ml-text { font-size: 0.92rem; color: #c4bed8; line-height: 1.8; }
.ts-ml-text strong { color: #fff; }

/* Final Answer Highlight */
.ts-final-answer {
  background: linear-gradient(135deg, rgba(187,224,58,0.18), rgba(187,224,58,0.08));
  border: 2px solid var(--primary-color);
  border-radius: 14px; padding: 1.6rem 1.8rem;
  margin: 1.5rem 0; text-align: center;
}
.ts-final-answer .label {
  font-size: 0.72rem; font-weight: 700; color: var(--primary-color);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.ts-final-answer .value { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.ts-final-answer .sub { font-size: 0.85rem; color: #a09cc4; margin-top: 0.3rem; }

/* Easy/Detailed Toggle */
.ts-toggle-wrap { display: flex; gap: 0; margin: 1.5rem 0; background: var(--card-bg); border-radius: 10px; padding: 0.3rem; width: fit-content; border: 1px solid var(--card-border); }
.ts-toggle-btn {
  padding: 0.5rem 1.2rem; border-radius: 8px; cursor: pointer;
  font-size: 0.83rem; font-weight: 500; border: none; background: transparent;
  color: #a09cc4; font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.ts-toggle-btn.active { background: var(--gradient-primary); color: #1a1040; }
.ts-content-panel { display: none; }
.ts-content-panel.active { display: block; }

/* FAQ Block */
.ts-faq { margin: 2rem 0; }
.ts-faq-item { border-bottom: 1px solid var(--card-border); }
.ts-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer; font-size: 0.95rem; font-weight: 500; gap: 1rem;
}
.ts-faq-q i { color: var(--primary-color); transition: var(--transition); flex-shrink: 0; }
.ts-faq-item.open .ts-faq-q i { transform: rotate(45deg); }
.ts-faq-a { font-size: 0.88rem; color: #c4bed8; line-height: 1.75; padding-bottom: 1rem; display: none; }
.ts-faq-item.open .ts-faq-a { display: block; }

/* Related Questions */
.ts-related { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1rem; }
.ts-related-link {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 0.9rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.88rem; color: #c4bed8; transition: var(--transition);
}
.ts-related-link:hover {
  border-color: var(--secondary-color); color: #fff;
  transform: translateX(3px);
}
.ts-related-link i { color: var(--secondary-color); flex-shrink: 0; }

/* ============= CTA BLOCK ============= */
.ts-cta-block {
  background: linear-gradient(135deg, #4c3b93, #3b2a75);
  border: 1px solid var(--card-border);
  border-radius: 20px; padding: 2.5rem; text-align: center;
  margin: 2rem 0;
  position: relative; overflow: hidden;
}
.ts-cta-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary);
}
.ts-cta-block h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.ts-cta-block h3 span { color: var(--primary-color); }
.ts-cta-block p { font-size: 0.9rem; color: #a09cc4; margin-bottom: 1.5rem; }
.ts-cta-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.ts-cta-primary {
  background: var(--gradient-primary); color: #1a1040 !important;
  padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 700;
  font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(187,224,58,0.35); transition: var(--transition);
}
.ts-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(187,224,58,0.5); }
.ts-cta-whatsapp {
  background: #25d366; color: #fff !important;
  padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.3); transition: var(--transition);
}
.ts-cta-whatsapp:hover { transform: translateY(-3px); background: #1ead54; }

/* Sidebar CTA */
.ts-sidebar-cta {
  background: linear-gradient(160deg, #4c3b93, #3b2a75);
  border: 1px solid var(--card-border); border-radius: 16px;
  padding: 1.8rem 1.5rem; text-align: center; position: sticky; top: 90px;
}
.ts-sidebar-cta .emoji { font-size: 2rem; margin-bottom: 0.8rem; }
.ts-sidebar-cta h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.ts-sidebar-cta h4 span { color: var(--primary-color); }
.ts-sidebar-cta p { font-size: 0.8rem; color: #a09cc4; margin-bottom: 1.2rem; line-height: 1.6; }
.ts-review {
  background: rgba(0,0,0,0.2); border-radius: 10px; padding: 0.9rem;
  margin-bottom: 1rem; font-size: 0.78rem; color: #c4bed8; text-align: left;
}
.ts-review .stars { color: #f59e0b; font-size: 0.75rem; margin-bottom: 0.3rem; }
.ts-review strong { display: block; color: #fff; margin-top: 0.3rem; font-size: 0.8rem; }

/* Sticky Mobile Bottom Bar */
.ts-mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(30,20,70,0.97);
  border-top: 1px solid var(--card-border);
  padding: 0.8rem 1.2rem;
  backdrop-filter: blur(15px);
  gap: 0.7rem;
}
.ts-mobile-bar a {
  flex: 1; text-align: center; padding: 0.7rem 0.5rem;
  border-radius: 12px; font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.ts-mobile-bar .mb-primary { background: var(--gradient-primary); color: #1a1040; }
.ts-mobile-bar .mb-wa { background: #25d366; color: #fff; }

/* Section Headings */
.ts-section-title {
  font-size: 1.25rem; font-weight: 700; margin: 2rem 0 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.ts-section-title i { color: var(--secondary-color); font-size: 1rem; }
.ts-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--card-border);
}

/* USP Strip */
.ts-usp-strip {
  display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
  margin: 2rem 0; padding: 1.5rem;
  background: rgba(76,59,147,0.4); border-radius: 12px;
  border: 1px solid var(--card-border);
}
.ts-usp-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.83rem; color: #c4bed8;
}
.ts-usp-item i { color: var(--primary-color); }

/* Page Title Block */
.ts-page-title {
  padding: 2rem 0 1rem;
}
.ts-page-title h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.ts-page-title h2 span { color: var(--primary-color); }
.ts-page-title p { color: #a09cc4; font-size: 0.92rem; }
.ts-subject-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(85,155,219,0.15); color: var(--secondary-color);
  padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 0.78rem;
  font-weight: 600; border: 1px solid rgba(85,155,219,0.25); margin-bottom: 0.8rem;
}

/* FOOTER */
.ts-footer {
  background: rgba(30,20,60,0.9);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 5%;
  text-align: center; margin-top: 4rem;
}
.ts-footer p { font-size: 0.82rem; color: #6d5ab5; }
.ts-footer a { color: #8a80b8; }
.ts-footer a:hover { color: var(--primary-color); }
.ts-footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
  .ts-two-col { grid-template-columns: 1fr; }
  .ts-sidebar-cta { display: none; }
  .ts-mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 768px) {
  .ts-nav-links { display: none; }
  .ts-hamburger { display: block; }
  .ts-hero h1 { font-size: 1.7rem; }
  .ts-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .ts-mobile-bar { display: flex; }
}
@media (max-width: 480px) {
  .ts-hero h1 { font-size: 1.45rem; }
  .ts-question-title { font-size: 1.3rem; }
  .ts-chapter-card { flex-wrap: wrap; }
  .ts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.ts-class-card, .ts-chapter-card, .ts-step, .ts-q-row {
  animation: fadeUp 0.4s ease both;
}
.ts-class-card:nth-child(1) { animation-delay: 0.05s; }
.ts-class-card:nth-child(2) { animation-delay: 0.1s; }
.ts-class-card:nth-child(3) { animation-delay: 0.15s; }
.ts-class-card:nth-child(4) { animation-delay: 0.2s; }
.ts-class-card:nth-child(5) { animation-delay: 0.25s; }
.ts-class-card:nth-child(6) { animation-delay: 0.3s; }
.ts-class-card:nth-child(7) { animation-delay: 0.35s; }
.ts-class-card:nth-child(8) { animation-delay: 0.4s; }
.ts-class-card:nth-child(9) { animation-delay: 0.45s; }
.ts-class-card:nth-child(10) { animation-delay: 0.5s; }
