/* V393: 1-Column Mobile Course Cards, Student Testimonials Section, and Dynamic Google SEO FAQs */

/* ==========================================================================
   1. MOBILE COURSE CARDS (STRICT 1-PER-ROW STACK)
   ========================================================================== */
@media (max-width: 768px) {
  html body .ds-home #courses .ds-courses,
  html body .ds-courses,
  html body .ds-home-store-grid,
  html body #dsHomeCoursesGrid,
  html body .ds-course-cards,
  html body .course-grid,
  html body .courses-grid,
  html body .ds-ec-course-list,
  html body .ds-ec-store-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 20px !important;
    padding: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }

  html body .ds-home #courses .ds-course,
  html body .ds-courses > .ds-course,
  html body .ds-courses > .ds-course-card-v243,
  html body .ds-home-store-card,
  html body .ds-ec-course-card,
  html body .course-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e1e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(15, 35, 60, 0.08) !important;
    overflow: hidden !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    margin: 0 0 4px 0 !important;
  }

  /* Banner image frame inside course card */
  html body .ds-course-img,
  html body .ds-course-img-v243 {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0e2439, #1a3c5e) !important;
  }

  html body .ds-course-img img,
  html body .ds-course-img-v243 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Fallback art if no image */
  html body .ds-course-art-fallback {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #102a43, #243b53) !important;
    color: #ffffff !important;
  }
  html body .ds-course-art-fallback span {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #f6c83b !important;
  }
  html body .ds-course-art-fallback b {
    font-size: 18px !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0 14px !important;
  }

  /* Top category badge (MOCK TEST SERIES / LIVE / RECORDED) */
  html body .ds-type-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 4 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.22) !important;
    text-transform: uppercase !important;
  }
  html body .ds-type-badge.ds-badge-mock-test {
    background: #028a58 !important;
    color: #ffffff !important;
  }
  html body .ds-type-badge.ds-badge-live {
    background: #dc2626 !important;
    color: #ffffff !important;
  }
  html body .ds-type-badge.ds-badge-recorded {
    background: #1e40af !important;
    color: #ffffff !important;
  }

  /* Bottom title banner overlay on course image */
  html body .ds-course-banner-title {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 10px 14px !important;
    background: linear-gradient(180deg, transparent, rgba(10, 24, 40, 0.92)) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    z-index: 3 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
  }

  /* Course Card Body */
  html body .ds-course-body,
  html body .ds-course-body-v243 {
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 6px 4px !important;
    gap: 8px !important;
    background: transparent !important;
    color: #102a43 !important;
  }

  /* Title link */
  html body .ds-course-name-v243 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    color: #0f2742 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  html body .ds-course-name-v243 a {
    color: #102a43 !important;
    text-decoration: none !important;
  }

  /* Category Tag */
  html body .ds-course-category {
    display: inline-block !important;
    width: fit-content !important;
    background: #eef4fb !important;
    color: #1d4d77 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    margin: 2px 0 4px !important;
  }

  /* Validity & Medium info row */
  html body .ds-course-info-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    font-size: 13px !important;
    color: #486581 !important;
    margin: 4px 0 !important;
  }
  html body .ds-course-info-row span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }
  html body .ds-course-info-row b {
    color: #102a43 !important;
  }

  /* Price Row */
  html body .ds-course-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    margin: 6px 0 !important;
  }
  html body .ds-course-price-row strong {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #0f2742 !important;
  }
  html body .ds-course-price-row del {
    font-size: 14px !important;
    color: #829ab1 !important;
  }
  html body .ds-course-discount {
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  /* Action buttons: View Details & Buy Now side-by-side */
  html body .ds-course-actions-v243 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  html body .ds-course-actions-v243 .ds-course-btn {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  html body .ds-course-details-v243 {
    background: #f0f4f8 !important;
    color: #102a43 !important;
    border: 1px solid #bcccdc !important;
  }
  html body .ds-course-buy-v243 {
    background: #f7ca2e !important;
    color: #0f1f33 !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.25) !important;
  }
}

/* ==========================================================================
   2. STUDENT TESTIMONIALS SECTION (HOMEPAGE & REVIEWS)
   ========================================================================== */
.ds-home-testimonials-section {
  padding: 64px 20px;
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
  border-top: 1px solid #e2eaf2;
  position: relative;
}

.ds-home-testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ds-testimonials-head {
  text-align: center;
  margin-bottom: 38px;
}
.ds-testimonials-head .eyebrow {
  display: inline-block;
  color: #b38600;
  background: #fef8e7;
  border: 1px solid #fae69e;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ds-testimonials-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  color: #0f2742;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.25;
}
.ds-testimonials-head h2 span {
  color: #b38600;
}
.ds-testimonials-head p {
  color: #52677e;
  font-size: 15px;
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.6;
}

/* Testimonial Cards Grid */
.ds-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 980px) {
  .ds-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .ds-home-testimonials-section {
    padding: 42px 16px;
  }
  .ds-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* Individual Testimonial Card */
.ds-testimonial-card {
  background: #ffffff;
  border: 1px solid #e1e9f2;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 39, 66, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.ds-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 39, 66, 0.12);
  border-color: #cbdbe9;
}

/* Quote Icon Backdrop */
.ds-testimonial-card::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 72px;
  line-height: 1;
  color: #e6eef6;
  font-family: Georgia, serif;
  font-weight: 900;
  pointer-events: none;
}

.ds-testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ds-testimonial-avatar {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f6c83b;
  background: #0f2742;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6c83b;
  font-weight: 800;
  font-size: 20px;
}

.ds-testimonial-meta {
  flex: 1;
  min-width: 0;
}
.ds-testimonial-name {
  font-size: 16px;
  font-weight: 850;
  color: #0f2742;
  margin: 0 0 3px;
}
.ds-testimonial-badge {
  display: inline-block;
  background: #eef6ff;
  color: #194f7c;
  font-size: 11px;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.ds-testimonial-year {
  font-size: 11px;
  color: #829ab1;
  display: block;
}

.ds-testimonial-rating {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ds-testimonial-text {
  color: #334e68;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
  font-style: normal;
  flex: 1;
}

.ds-testimonial-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f4f8;
  padding-top: 12px;
  margin-top: auto;
  font-size: 11px;
  color: #627d98;
}
.ds-testimonial-verified {
  color: #028a58;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   3. DYNAMIC GOOGLE SEO FAQs ACCORDION (HOMEPAGE BOTTOM)
   ========================================================================== */
.ds-home-faq {
  padding: 64px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.ds-home-faq-inner {
  max-width: 920px;
  margin: 0 auto;
}

.ds-home-faq-head {
  text-align: center;
  margin-bottom: 34px;
}
.ds-home-faq-head .eyebrow {
  display: inline-block;
  color: #936b00;
  background: #fff8e6;
  border: 1px solid #f9e29f;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ds-home-faq-head h2 {
  font-size: clamp(25px, 3vw, 36px);
  color: #0f2742;
  font-weight: 900;
  margin: 0 0 10px;
}
.ds-home-faq-head h2 span {
  color: #936b00;
}
.ds-home-faq-head p {
  color: #627d98;
  font-size: 15px;
  margin: 0 auto;
  line-height: 1.6;
}

/* FAQ Accordion List */
.ds-home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ds-home-faq-item details {
  background: #ffffff;
  border: 1px solid #e1e9f2;
  border-radius: 14px;
  padding: 0 20px;
  box-shadow: 0 4px 14px rgba(15, 39, 66, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ds-home-faq-item details[open] {
  border-color: #cbdbe9;
  box-shadow: 0 8px 24px rgba(15, 39, 66, 0.08);
}

.ds-home-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 800;
  color: #102a43;
  user-select: none;
}
.ds-home-faq-item summary::-webkit-details-marker {
  display: none;
}
.ds-home-faq-item summary::after,
.ds-home-faq-list summary::after,
.ds-home-faq summary::after {
  content: none !important;
  display: none !important;
}

.ds-faq-toggle-icon {
  font-size: 22px;
  font-weight: 700;
  color: #936b00;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.ds-home-faq-item details[open] .ds-faq-toggle-icon {
  transform: rotate(45deg);
}

.ds-home-faq-answer {
  padding: 0 0 20px;
  color: #486581;
  font-size: 14.5px;
  line-height: 1.7;
  border-top: 1px solid #f0f4f8;
  margin-top: 2px;
  padding-top: 14px;
}

.ds-home-faq-answer p {
  margin: 0 0 10px;
}

.ds-faq-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1d4d77;
  background: #f0f7ff;
  border: 1px solid #d0e4ff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
  font-weight: 700;
}

/* Google Business Ranking Callout at FAQ bottom */
.ds-faq-business-callout {
  margin-top: 32px;
  background: linear-gradient(135deg, #0f2742, #183b60);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(15, 39, 66, 0.16);
}
.ds-faq-business-callout h4 {
  font-size: 18px;
  font-weight: 850;
  margin: 0 0 4px;
  color: #ffffff;
}
.ds-faq-business-callout p {
  font-size: 13px;
  color: #cbdbe9;
  margin: 0;
}
.ds-faq-business-callout .ds-cta-gold {
  background: #f7ca2e;
  color: #0f1f33;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 850;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

@media (max-width: 600px) {
  .ds-faq-business-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .ds-faq-business-callout .ds-cta-gold {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   4. ADMIN PORTAL TESTIMONIALS & FAQ MANAGER STYLES
   ========================================================================== */
.admin-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.admin-testimonial-item {
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(15, 35, 60, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.admin-testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.admin-testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e3b52e;
}
.admin-testimonial-details b {
  display: block;
  font-size: 15px;
  color: #102a43;
}
.admin-testimonial-details small {
  display: block;
  color: #627d98;
  font-size: 12px;
}
.admin-testimonial-body {
  font-size: 13px;
  color: #334e68;
  line-height: 1.55;
  margin-bottom: 12px;
  background: #f8fafc;
  padding: 10px;
  border-radius: 8px;
  border-left: 3px solid #e3b52e;
}
.admin-testimonial-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ==========================================================================
   MASTER PORTAL RESPONSIVE ARCHITECTURE: FULL-WIDTH & CLEAN HEADER (V394)
   Fixes empty left column in Admin/Teacher/Student portals when sidebar is
   collapsed or on mobile/tablet, and fixes congested mobile header layout.
   ========================================================================== */

/* 1. Global Reset of Legacy Injected / Duplicate Buttons */
.ds-admin-sidebar-toggle-btn,
.ds-portal-sidebar-toggle-btn {
  display: none !important;
}

/* 2. Sleek, Single-Line Uncongested Portal Topbar */
.portal-top,
.admin-portal-v165 .portal-top,
.student-app-shell-v164 .portal-top,
#app .portal-top {
  min-height: 58px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 16px !important;
  gap: 10px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(16, 42, 67, 0.04) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  box-sizing: border-box !important;
}

/* Mobile Hamburger Toggle */
.ds-portal-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  border: 1px solid #d9e2ec;
  background: #f4f7fb;
  color: #102a43;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.ds-portal-mobile-toggle:hover {
  background: #e2e8f0;
  border-color: #d4af37;
  color: #d4af37;
}

/* Desktop Sidebar Toggle */
.ds-portal-desktop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  border: 1px solid #d9e2ec;
  background: #f0f4f8;
  color: #102a43;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.ds-portal-desktop-toggle:hover {
  background: #102a43;
  color: #f4d068;
  border-color: #102a43;
}

/* Mobile Brand Mini Container */
.mobile-brand-mini {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}
.mobile-brand-mini .logo {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #102a43, #243b53) !important;
  color: #f4d068 !important;
  border: 1px solid #d4af37 !important;
  flex-shrink: 0 !important;
}

/* Title Box with Ellipsis */
.portal-header-title-box {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}
.portal-header-title-box .eyebrow {
  font-size: 9px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #627d98 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.1 !important;
}
.portal-header-title-box h2 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #102a43 !important;
  margin: 1px 0 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

/* Right Actions Container */
.mobile-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.student-header-name-v164 {
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #102a43 !important;
  white-space: nowrap !important;
}
@media (max-width: 640px) {
  .student-header-name-v164 {
    display: none !important;
  }
}

/* User Avatar in Header */
.ds-header-profile-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.18s ease !important;
  flex-shrink: 0 !important;
}
.ds-header-profile-btn:hover {
  transform: scale(1.06) !important;
}
.ds-portal-avatar-wrap {
  position: relative !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14) !important;
  border: 2px solid #d4af37 !important;
}

/* Clean, Non-Overflowing Logout Button */
.portal-header-logout {
  padding: 6px 12px !important;
  min-height: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fca5a5 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.18s ease !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.portal-header-logout:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}
@media (max-width: 480px) {
  .portal-header-logout {
    padding: 6px 9px !important;
  }
  .portal-header-logout .logout-text {
    display: none !important;
  }
}

/* 3. Mobile & Tablet (< 992px): ALWAYS 100% Full Width across ALL Portals */
@media (max-width: 991px) {
  .ds-portal-mobile-toggle {
    display: inline-flex !important;
  }
  .ds-portal-desktop-toggle {
    display: none !important;
  }

  /* Force 100% full-width on mobile with zero left margin */
  html body #app .portal-main,
  html body .portal-main,
  body .admin-portal-v165 .portal-main,
  body .student-app-shell-v164 .portal-main,
  .portal .portal-main,
  #app .portal-main,
  .portal-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    left: 0 !important;
  }

  /* Content fills full width without empty side space */
  html body #app .content,
  html body .portal .content,
  #app .content,
  .portal .content,
  .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 16px 14px 40px !important;
    box-sizing: border-box !important;
  }

  /* Mobile Sidebar as clean off-canvas drawer */
  html body #app .sidebar,
  html body .portal .sidebar,
  body .admin-portal-v165 .sidebar,
  body .student-app-shell-v164 .sidebar,
  .portal .sidebar,
  .sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: min(290px, 85vw) !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    transform: translateX(-105%) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.35) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body #app .sidebar.mobile-open,
  html body .portal .sidebar.mobile-open,
  body .admin-portal-v165 .sidebar.mobile-open,
  body .student-app-shell-v164 .sidebar.mobile-open,
  .portal .sidebar.mobile-open,
  .sidebar.mobile-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* 4. Desktop (>= 992px): Collapsed Sidebar -> 100% Full Width across ALL Portals */
@media (min-width: 992px) {
  body.ds-admin-sidebar-collapsed #app .sidebar,
  body.ds-admin-sidebar-collapsed .sidebar,
  body.ds-admin-sidebar-collapsed .portal .sidebar,
  body.ds-admin-sidebar-collapsed .admin-portal-v165 .sidebar {
    transform: translateX(-105%) !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.ds-admin-sidebar-collapsed #app .portal-main,
  html body.ds-admin-sidebar-collapsed .portal-main,
  body.ds-admin-sidebar-collapsed .admin-portal-v165 .portal-main,
  body.ds-admin-sidebar-collapsed .student-app-shell-v164 .portal-main,
  body.ds-admin-sidebar-collapsed .portal .portal-main,
  body.ds-admin-sidebar-collapsed #app .portal-main,
  body.ds-admin-sidebar-collapsed .portal-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
  }

  body.ds-admin-sidebar-collapsed #app .content,
  body.ds-admin-sidebar-collapsed .content {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* 5. Mobile Sidebar Backdrop Overlay */
.ds-mobile-sidebar-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(4, 18, 30, 0.5) !important;
  z-index: 99998 !important;
  backdrop-filter: blur(2px) !important;
  animation: dsFadeIn 0.2s ease !important;
}

/* ==========================================================================
   6. STUDENT 360° ALL-IN-ONE DOSSIER & COMPREHENSIVE PERFORMANCE CARD
   ========================================================================== */

/* Student Dashboard Performance Banner */
.student-performance-card-v394 {
  background: linear-gradient(135deg, #091726 0%, #11263d 60%, #163656 100%) !important;
  border: 1px solid rgba(244, 197, 66, 0.35) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  margin: 16px 0 22px !important;
  color: #ffffff !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  box-shadow: 0 10px 30px rgba(5, 18, 32, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
}

.student-performance-card-v394::before {
  content: '' !important;
  position: absolute !important;
  top: -40px !important;
  right: -40px !important;
  width: 140px !important;
  height: 140px !important;
  background: radial-gradient(circle, rgba(244, 197, 66, 0.18) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.student-performance-card-v394 .sp-left {
  flex: 1 !important;
  min-width: 0 !important;
}

.student-performance-card-v394 .sp-header-pill {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  color: #f6c83b !important;
  margin-bottom: 10px !important;
  display: inline-block !important;
  text-transform: uppercase !important;
}

.student-performance-card-v394 .sp-main-row {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 14px !important;
}

.student-performance-card-v394 .sp-score-circle {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  border-radius: 50% !important;
  border: 4px solid #f6c83b !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 20, 34, 0.7) !important;
  text-align: center !important;
}

.student-performance-card-v394 .sp-score-circle .sp-score-num {
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.student-performance-card-v394 .sp-score-circle small {
  font-size: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #94a3b8 !important;
}

.student-performance-card-v394 .sp-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.student-performance-card-v394 .sp-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  color: #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.student-performance-card-v394 .sp-chip b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.student-performance-card-v394 .sp-actions {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .student-performance-card-v394 {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px !important;
    gap: 14px !important;
  }
  .student-performance-card-v394 .sp-actions button {
    width: 100% !important;
  }
}

/* 360° Student Dossier Modal */
.student-dossier-modal {
  max-width: 960px !important;
  width: 94vw !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
}

.dossier-modal-head {
  background: linear-gradient(135deg, #091726, #122841) !important;
  color: #ffffff !important;
  padding: 18px 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  border-bottom: 2px solid rgba(244, 197, 66, 0.3) !important;
}

.dossier-head-identity {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.dossier-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 50% !important;
  background: #1e3a5f !important;
  color: #f6c83b !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #f6c83b !important;
  overflow: hidden !important;
}

.dossier-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.dossier-head-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.dossier-rank-pill {
  padding: 6px 14px !important;
  border-radius: 24px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  background: rgba(0, 0, 0, 0.3) !important;
  white-space: nowrap !important;
}

/* Dossier Navigation Tabs */
.dossier-nav-tabs {
  display: flex !important;
  gap: 4px !important;
  background: #0d1e31 !important;
  padding: 4px 16px 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  border-bottom: 1px solid #1e3550 !important;
}

.dossier-nav-tabs::-webkit-scrollbar {
  display: none !important;
}

.dossier-nav-tab {
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.dossier-nav-tab:hover {
  color: #ffffff !important;
}

.dossier-nav-tab.active {
  color: #f6c83b !important;
  border-bottom-color: #f6c83b !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px 8px 0 0 !important;
}

/* Dossier Hero Banner */
.dossier-hero-banner {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 18px !important;
}

.dossier-score-ring {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  border-radius: 50% !important;
  border: 5px solid #f59e0b !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #f8fafc !important;
}

.dossier-score-ring .ring-val {
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.dossier-score-ring .ring-lbl {
  font-size: 8px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
}

.dossier-hero-details {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Dossier Metrics Grid */
.dossier-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}

.dossier-metric-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

.dossier-metric-card:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

.dossier-metric-card .metric-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin-bottom: 8px !important;
}

.dossier-metric-card .metric-number {
  font-size: 22px !important;
  font-weight: 850 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
  margin-bottom: 4px !important;
}

/* Dossier Admission Form Details Grid */
.dossier-info-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

.dossier-info-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

.dossier-info-box.full {
  grid-column: 1 / -1 !important;
}

.dossier-info-box .box-lbl {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

.dossier-info-box b {
  font-size: 14px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  word-break: break-word !important;
}

@media (max-width: 820px) {
  .dossier-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dossier-info-grid {
    grid-template-columns: 1fr !important;
  }
  .dossier-hero-banner {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   7. GOOGLE MY BUSINESS (GMB) & AI LOCAL SEO SHOWCASE & ADMIN STYLES
   ========================================================================== */
.ds-gmb-contact-section {
  background: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid #e2e8f0;
}
.ds-gmb-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d5deea;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ds-gmb-icon-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #4285F4;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
}
.ds-gmb-star-rating {
  color: #d97706;
  font-weight: 800;
}
.ds-gmb-head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.ds-gmb-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  margin-top: 24px;
}
.ds-gmb-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ds-gmb-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.ds-gmb-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b2a4a, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ds-gmb-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.ds-gmb-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}
.ds-gmb-category-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.ds-gmb-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.ds-gmb-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ds-gmb-item-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ds-gmb-detail-item strong {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.ds-gmb-detail-item p {
  margin: 0;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.45;
}
.ds-gmb-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ds-gmb-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
  min-height: 380px;
}

/* ADMIN GMB & AI SEO SUITE */
.gmb-admin-banner {
  background: linear-gradient(135deg, #0b2a4a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 24px;
  border-radius: 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 10px 25px rgba(11, 42, 74, 0.15);
}
.gmb-admin-banner h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: #fff;
}
.gmb-admin-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  max-width: 650px;
  line-height: 1.5;
}
.gmb-score-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 20px;
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.gmb-score-badge strong {
  display: block;
  font-size: 28px;
  color: #facc15;
  font-weight: 900;
  line-height: 1;
}
.gmb-score-badge span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e2e8f0;
}
.gmb-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.gmb-tab-btn {
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  background: none;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.gmb-tab-btn.active {
  color: #0b2a4a;
  border-bottom-color: #f59e0b;
}
.gmb-tab-btn:hover:not(.active) {
  color: #1e293b;
  background: #f1f5f9;
  border-radius: 8px 8px 0 0;
}
.gmb-preview-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  max-width: 520px;
}
.gmb-preview-google-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #475569;
}
.gmb-preview-google-header .g-logo {
  font-weight: 900;
  font-size: 16px;
  color: #4285F4;
}
.gmb-preview-title {
  color: #1a0dab;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  cursor: pointer;
  line-height: 1.3;
}
.gmb-preview-stars {
  color: #e37400;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.gmb-preview-snippet {
  font-size: 13px;
  color: #4d5156;
  line-height: 1.45;
  margin: 0;
}
.gmb-ai-tool-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.gmb-audit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  gap: 14px;
}
.gmb-audit-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}
.gmb-audit-status.pass {
  background: #dcfce7;
  color: #16a34a;
}
.gmb-audit-status.warn {
  background: #fef9c3;
  color: #ca8a04;
}

@media (max-width: 900px) {
  .ds-gmb-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   V394: HIGH-CONTRAST WHITE & GOLDEN YELLOW TYPOGRAPHY FOR ALL BLUE & BLACK BOXES
   Ensures 100% crisp readability across heroes, cards, banners, stats, tabs, sidebars & footers
   ========================================================================== */

/* 1. Hero Sections & Director Showcase */
.ds-hero,
.ds-home-hero-v233,
.hero,
.hero-card,
.mock-hero,
.mock-brand-hero,
.student-hero,
.student-hero-v160,
.student-test-hero,
.faculty-hero,
.blog-hero,
.lead-hero,
.fee-hero,
.expense-hero,
.learning-hero,
.student-welcome-v161,
.ds-director-hero-showcase,
.ds-director-card-frame,
.ds-director-profile-overlay {
  color: #ffffff !important;
}

.ds-home-hero-v233 h1,
.ds-home-hero-v233 h2,
.ds-home-hero-v233 h3,
.ds-director-name,
.hero-card h1,
.hero-card h2,
.hero-card h3,
.hero-card h4,
.student-hero h1,
.student-hero h2,
.student-hero h3,
.student-hero h4,
.mock-hero h1,
.mock-hero h2,
.mock-hero h3,
.mock-hero h4,
.faculty-hero h1,
.faculty-hero h2,
.faculty-hero h3 {
  color: #ffffff !important;
}

.ds-home-hero-v233 h1 span,
.ds-home-hero-v233 h1 strong,
.ds-home-hero-eyebrow-v233,
.ds-director-role-tag,
.ds-pill-sparkle,
.eyebrow,
.hero .eyebrow,
.portal-main .eyebrow {
  color: #f3b72c !important;
}

.ds-home-hero-subtext-v233,
.hero-card p,
.student-hero p,
.mock-hero p,
.faculty-hero p,
.lead-hero p {
  color: #f8fafc !important;
}

.ds-home-hero-badges-v233 span,
.ds-home-hero-trust-v233 span,
.ds-director-spec-badge {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(243, 183, 44, 0.35) !important;
}

.ds-home-hero-trust-v233 i {
  background: #f3b72c !important;
}

/* 2. Proof Strip, Statistics & Metrics */
.ds-proof-strip,
.ds-stats,
.stat-card,
.metric-card,
.stat-box,
.counter-box {
  color: #ffffff !important;
}

.ds-proof strong,
.ds-stat b,
.stat-card strong,
.metric-card strong,
.stat-box strong {
  color: #f3b72c !important;
}

.ds-proof span,
.ds-stat span,
.stat-card span,
.metric-card span {
  color: #ffffff !important;
}

.ds-proof b,
.ds-stat-icon {
  color: #f3b72c !important;
}

/* 3. Course Cards & Dark Image Headers */
.ds-course-img,
.ds-course-img-v243,
.ds-course-art-fallback,
.ds-course-banner-title,
.ds-course-title,
.ds-ec-store-image,
.ds-ec-course-thumb,
.public-course-image,
.course-cover,
.student-course-cover-v160 {
  color: #ffffff !important;
}

.ds-course-img .ds-course-banner-title,
.ds-course-img-v243 .ds-course-banner-title,
.ds-course-art-fallback b,
.ds-course-title,
.ds-ec-store-image strong,
.ds-ec-course-thumb strong {
  color: #f3b72c !important;
}

.ds-course-art-fallback span,
.ds-ec-store-image span,
.ds-ec-course-thumb span,
.ds-course-img span:not(.ds-type-badge) {
  color: #ffffff !important;
}

.ds-type-badge.ds-badge-recorded {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ds-type-badge.ds-badge-mock-test {
  background: #047857 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ds-type-badge.ds-badge-live {
  background: #b91c1c !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ds-home-store-pill-badge {
  background: #0b233a !important;
  color: #f3b72c !important;
  border: 1px solid rgba(243, 183, 44, 0.4) !important;
}

.ds-home-store-bottom-cta {
  background: linear-gradient(135deg, #091c30 0%, #102e50 100%) !important;
  border: 1px solid rgba(243, 183, 44, 0.35) !important;
}

.ds-home-store-bottom-cta-copy strong {
  color: #f3b72c !important;
  font-size: 17px !important;
}

.ds-home-store-bottom-cta-copy span {
  color: #f8fafc !important;
  font-size: 14px !important;
}

.ds-store-banner-cta,
.ds-store-banner-cta * {
  color: #ffffff !important;
}

/* 4. Why Choose Us Section */
.ds-home .ds-why .ds-why-card.ds-why-card-premium,
.ds-why-card,
.ds-why-copy,
.ds-why-image {
  background: linear-gradient(155deg, #0d1e33 0%, #06111f 100%) !important;
  border-color: rgba(243, 183, 44, 0.3) !important;
  color: #ffffff !important;
}

.ds-why-copy h4,
.ds-home .ds-why .ds-why-copy h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ds-why-copy p,
.ds-home .ds-why .ds-why-copy p {
  color: #f1f5f9 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.ds-why-icon,
.ds-home .ds-why .ds-why-icon {
  background: #f3b72c !important;
  color: #0b1a2e !important;
}

/* 5. Director Quote Section */
.ds-quote,
.ds-quote-inner {
  background: linear-gradient(135deg, #091a2d 0%, #0e2743 100%) !important;
  color: #ffffff !important;
}

.ds-quote blockquote {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.ds-quote-meta {
  color: #e2e8f0 !important;
}

.ds-quote-meta strong {
  color: #ffffff !important;
}

.ds-quote b {
  color: #f3b72c !important;
}

.ds-quote small {
  color: #e2e8f0 !important;
}

/* 6. Free Resources Interactive Blue Box & Tiles */
.ds-free-resources-box {
  background: linear-gradient(135deg, #0a2038 0%, #123e6b 100%) !important;
  border: 1px solid rgba(243, 183, 44, 0.3) !important;
  color: #ffffff !important;
}

.ds-fr-title {
  color: #ffffff !important;
}

.ds-fr-subtitle {
  color: #f8fafc !important;
}

.ds-fr-badge {
  background: rgba(243, 183, 44, 0.2) !important;
  border: 1px solid #f3b72c !important;
  color: #f3b72c !important;
}

.ds-fr-tile {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.ds-fr-tile:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #f3b72c !important;
}

.ds-fr-tile-title {
  color: #ffffff !important;
}

.ds-fr-tile-desc {
  color: #e2e8f0 !important;
}

.ds-fr-tile-icon {
  color: #f3b72c !important;
}

.ds-fr-tile.is-active {
  background: #ffffff !important;
  color: #0b2a4a !important;
}

.ds-fr-tile.is-active .ds-fr-tile-title {
  color: #0b2a4a !important;
}

.ds-fr-tile.is-active .ds-fr-tile-desc {
  color: #475569 !important;
}

/* 7. Active Category Buttons & Tabs */
#dsStoreTabs button.active,
.ds-ec-store-toolbar button.active,
.ds-home-store-tabs .ds-tab-btn.is-active,
.ds-tab-btn.is-active,
.ds-ec-store-tab.active {
  background: #0b2a4a !important;
  color: #ffffff !important;
  border-color: #f3b72c !important;
  box-shadow: 0 4px 14px rgba(11, 42, 74, 0.35) !important;
}

#dsStoreTabs button.active span,
.ds-ec-store-toolbar button.active span,
.ds-home-store-tabs .ds-tab-btn.is-active span,
.ds-tab-btn.is-active span {
  color: #ffffff !important;
}

.ds-tab-count,
.ds-home-store-tabs .ds-tab-btn.is-active .ds-tab-count {
  background: #f3b72c !important;
  color: #0b2a4a !important;
  font-weight: 800 !important;
}

/* 8. FAQ Callouts & GMB Sections */
.ds-faq-business-callout {
  background: linear-gradient(135deg, #091c30 0%, #123356 100%) !important;
  border: 1px solid rgba(243, 183, 44, 0.35) !important;
  color: #ffffff !important;
}

.ds-faq-business-callout h3,
.ds-faq-business-callout h4,
.ds-faq-business-callout strong {
  color: #ffffff !important;
}

.ds-faq-business-callout p,
.ds-faq-business-callout span:not(.ds-cta-gold) {
  color: #f8fafc !important;
}

.ds-testimonial-avatar {
  background: #0f2742 !important;
  color: #f3b72c !important;
}

/* 9. Footers Across Theme & Store */
.ds-footer,
.ds-store-footer,
.site-footer,
.footer {
  background: #071526 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(243, 183, 44, 0.25) !important;
}

.ds-footer strong,
.ds-store-footer strong,
.ds-footer span,
.ds-store-footer span {
  color: #ffffff !important;
}

.ds-footer div,
.ds-store-footer div,
.ds-footer p,
.ds-store-footer p {
  color: #e2e8f0 !important;
}

.ds-footer a,
.ds-store-footer a,
.site-footer a {
  color: #f3b72c !important;
  text-decoration: none !important;
}

.ds-footer a:hover,
.ds-store-footer a:hover,
.site-footer a:hover {
  color: #ffffff !important;
}

/* 10. Student & Admin Portals (Sidebars, Performance Banners, Exam Shells, Modals) */
.sidebar,
.admin-sidebar,
.dsedu-sidebar,
.course-sidebar,
.side-brand,
.side-brand .logo,
.mobile-brand-mini .logo {
  background: linear-gradient(180deg, #091726, #0e2439) !important;
  color: #ffffff !important;
}

.sidebar .nav-item,
.sidebar-nav a,
.side-nav a,
.sidebar-link {
  color: #e2e8f0 !important;
}

.sidebar .nav-item.active,
.sidebar .nav-item:hover,
.sidebar-nav a.active,
.sidebar-nav a:hover,
.sidebar-link.active,
.sidebar-link:hover {
  color: #f3b72c !important;
  background: rgba(243, 183, 44, 0.12) !important;
}

.sidebar-profile,
.sidebar-profile b,
.sidebar-profile strong {
  color: #ffffff !important;
}

.sidebar-profile small,
.sidebar-profile .badge {
  color: #f3b72c !important;
}

.student-performance-card-v394 {
  background: linear-gradient(135deg, #091726 0%, #11263d 60%, #163656 100%) !important;
  border: 1px solid rgba(243, 183, 44, 0.3) !important;
  color: #ffffff !important;
}

.student-performance-card-v394 h3,
.student-performance-card-v394 strong,
.student-performance-card-v394 b {
  color: #ffffff !important;
}

.student-performance-card-v394 p,
.student-performance-card-v394 span:not(.accent) {
  color: #f8fafc !important;
}

.student-performance-card-v394 .accent,
.student-performance-card-v394 .score-gold {
  color: #f3b72c !important;
}

.exam-top,
.exam-shell,
.exam-backdrop,
.mtx-header,
.mtm-header {
  background: #091628 !important;
  color: #ffffff !important;
}

.exam-timer-wrap {
  background: #11233d !important;
  border: 1px solid rgba(243, 183, 44, 0.35) !important;
}

.exam-timer-wrap,
.exam-timer-wrap span,
.exam-timer-wrap strong {
  color: #f3b72c !important;
}

.kpi-blue,
.kpi-cyan,
.admin-kpi-card,
.gmb-admin-banner {
  color: #ffffff !important;
}

.kpi-blue strong,
.kpi-cyan strong,
.admin-kpi-card strong,
.kpi-value {
  color: #ffffff !important;
}

.kpi-blue small,
.kpi-cyan small,
.kpi-label {
  color: #f3b72c !important;
}

.modal-head,
.payment-modal-head,
.dossier-modal-head {
  background: linear-gradient(135deg, #091726 0%, #122841 100%) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(243, 183, 44, 0.3) !important;
}

.modal-head h3,
.payment-modal-head h3,
.dossier-modal-head h3 {
  color: #ffffff !important;
}

.modal-head .eyebrow,
.payment-modal-head .eyebrow {
  color: #f3b72c !important;
}

.payment-subtitle,
.modal-head p {
  color: #f1f5f9 !important;
}

.payment-summary {
  background: #0b1e33 !important;
  border: 1px solid rgba(243, 183, 44, 0.35) !important;
  color: #ffffff !important;
}

.payment-summary-copy span {
  color: #f3b72c !important;
}

.payment-summary-copy strong {
  color: #ffffff !important;
}

.payment-summary-copy small {
  color: #cbd5e1 !important;
}

.payment-total small {
  color: #e2e8f0 !important;
}

.payment-total strong {
  color: #f3b72c !important;
}

.auth-wrap,
.login-brand-panel {
  background: linear-gradient(135deg, #091726 0%, #112843 100%) !important;
  color: #ffffff !important;
}

.login-brand-panel h2,
.login-brand-panel h3,
.login-brand-panel strong {
  color: #ffffff !important;
}

.login-brand-panel p,
.login-brand-panel li {
  color: #f8fafc !important;
}

.login-brand-panel span {
  color: #f3b72c !important;
}

.ds-announcement-bar {
  background: #081524 !important;
  color: #ffffff !important;
}

.ds-announcement-bar a {
  color: #f3b72c !important;
}

/* 11. Universal High-Specificity Override for Any Container with Dark Blue or Black Background */
[class*="navy"],
[class*="dark-card"],
[class*="dark-box"],
[class*="black-box"],
[style*="background:#0"],
[style*="background: #0"],
[style*="background:#10"],
[style*="background: #10"],
[style*="background:#11"],
[style*="background: #11"],
[style*="background:#0b"],
[style*="background: #0b"],
[style*="background:#07"],
[style*="background: #07"],
[style*="background:#0e"],
[style*="background: #0e"],
[style*="background:#0f"],
[style*="background: #0f"],
[style*="background:#1a"],
[style*="background: #1a"],
[style*="background:#17"],
[style*="background: #17"],
[style*="background: linear-gradient(135deg, #0"],
[style*="background:linear-gradient(135deg,#0"] {
  color: #ffffff !important;
}

[class*="navy"] h1, [class*="navy"] h2, [class*="navy"] h3, [class*="navy"] h4, [class*="navy"] h5, [class*="navy"] h6,
[class*="dark-card"] h1, [class*="dark-card"] h2, [class*="dark-card"] h3, [class*="dark-card"] h4, [class*="dark-card"] h5,
[class*="dark-box"] h1, [class*="dark-box"] h2, [class*="dark-box"] h3, [class*="dark-box"] h4,
[class*="black-box"] h1, [class*="black-box"] h2, [class*="black-box"] h3, [class*="black-box"] h4,
[style*="background:#0"] h1, [style*="background:#0"] h2, [style*="background:#0"] h3, [style*="background:#0"] h4,
[style*="background: #0"] h1, [style*="background: #0"] h2, [style*="background: #0"] h3, [style*="background: #0"] h4,
[style*="background:#10"] h1, [style*="background:#10"] h2, [style*="background:#10"] h3, [style*="background:#10"] h4,
[style*="background: #10"] h1, [style*="background: #10"] h2, [style*="background: #10"] h3, [style*="background: #10"] h4,
[style*="background: linear-gradient(135deg, #0"] h1,
[style*="background: linear-gradient(135deg, #0"] h2,
[style*="background: linear-gradient(135deg, #0"] h3,
[style*="background: linear-gradient(135deg, #0"] h4 {
  color: #ffffff !important;
}

[class*="navy"] p,
[class*="dark-card"] p,
[class*="dark-box"] p,
[class*="black-box"] p,
[style*="background:#0"] p,
[style*="background: #0"] p,
[style*="background:#10"] p,
[style*="background: #10"] p,
[style*="background: linear-gradient(135deg, #0"] p {
  color: #f8fafc !important;
}

[class*="navy"] strong, [class*="navy"] b,
[class*="dark-card"] strong, [class*="dark-card"] b,
[class*="dark-box"] strong, [class*="dark-box"] b,
[class*="black-box"] strong, [class*="black-box"] b,
[style*="background:#0"] strong, [style*="background:#0"] b,
[style*="background: #0"] strong, [style*="background: #0"] b,
[style*="background:#10"] strong, [style*="background:#10"] b,
[style*="background: #10"] strong, [style*="background: #10"] b,
[style*="background: linear-gradient(135deg, #0"] strong,
[style*="background: linear-gradient(135deg, #0"] b {
  color: #f3b72c !important;
}

[class*="navy"] a,
[class*="dark-card"] a,
[class*="dark-box"] a,
[class*="black-box"] a,
[style*="background:#0"] a,
[style*="background: #0"] a,
[style*="background:#10"] a,
[style*="background: #10"] a,
[style*="background: linear-gradient(135deg, #0"] a {
  color: #f3b72c !important;
}
