@keyframes officialDimBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.38);
    transform: scale(1);
  }
  50% {
    opacity: 0.60;
    box-shadow: 0 0 14px 3px rgba(13, 110, 253, 0.24);
    transform: scale(0.99);
  }
}

.min-fee-blink {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  letter-spacing: 0.2px;
  line-height: 1.25;
  max-width: 100%;
  animation: officialDimBlink 2.4s ease-in-out infinite;
}

.min-fee-blink-gold {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 6px;
  line-height: 1.25;
  animation: officialDimBlink 2.4s ease-in-out infinite;
}

/* Main Branch View Container */
.gbp-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 18px auto 56px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: inherit;
  color: #1e293b;
  overflow-x: hidden;
}
.gbp-wrap *, .gbp-wrap *::before, .gbp-wrap *::after {
  box-sizing: border-box;
}

.gbp-alert {
  padding: 13px 16px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Hero Banner */
.gbp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 235px;
  gap: 20px;
  align-items: center;
}
.gbp-hero-logo {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.gbp-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gbp-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.gbp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}
.gbp-pill-code { background: #f8fafc; color: #0f172a; }
.gbp-pill-verified { background: #16a34a; color: #ffffff; }
.gbp-pill-trusted { background: #f59e0b; color: #111827; }
.gbp-pill-rating { background: #e0f2fe; color: #0369a1; }

.gbp-hero-title {
  color: #ffffff !important;
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.25;
  word-break: break-word;
}
.gbp-hero-addr {
  color: #e2e8f0 !important;
  font-size: 14px;
  margin: 0 0 10px 0;
  line-height: 1.45;
  word-break: break-word;
}
.gbp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: #cbd5e1;
}
.gbp-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  width: 100%;
}
.gbp-hero-fee-box { text-align: right; width: 100%; }
.gbp-hero-fee-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #cbd5e1; margin-bottom: 4px; }
.gbp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 9px;
  background: #f59e0b;
  color: #111827 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.gbp-btn-gold:hover { background: #fbbf24; }
.gbp-btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
}
.gbp-btn-outline-light:hover { background: rgba(255, 255, 255, 0.22); }

/* 2-Column Main Layout */
.gbp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.gbp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 22px;
  overflow: hidden;
  width: 100%;
}
.gbp-card-head {
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.gbp-card-head h2 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.35;
}
.gbp-card-head-primary {
  background: linear-gradient(135deg, #0b5ed7 0%, #1e40af 100%);
  color: #ffffff;
  border-bottom: none;
}
.gbp-card-head-primary h2 { color: #ffffff !important; }
.gbp-card-body { padding: 18px 20px; }

/* =========================================================================
   COURSES WITH ATTRACTIVE OFFER RIBBON & PRICE CUT-OFF TAGS
   ========================================================================= */
.gbp-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gbp-course-item {
  position: relative;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gbp-course-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}
.gbp-course-item.is-lowest {
  border: 2px solid #0b5ed7;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}
.gbp-offer-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.28);
  align-self: flex-start;
}
.gbp-course-title {
  margin: 0 0 6px 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
.gbp-course-meta {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.gbp-course-bottom {
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.gbp-cutoff-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gbp-cutoff-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.gbp-old-price {
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
}
.gbp-save-tag {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}
.gbp-price {
  font-size: 20px;
  font-weight: 800;
  color: #0b5ed7;
  line-height: 1.2;
}
.gbp-discount-badge {
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.gbp-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid #0b5ed7;
  background: #0b5ed7;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.gbp-btn-sm:hover {
  background: #084298;
  border-color: #084298;
}
.gbp-btn-sm-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid #0b5ed7;
  background: #ffffff;
  color: #0b5ed7 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.gbp-btn-sm-outline:hover {
  background: #0b5ed7;
  color: #ffffff !important;
}

/* =========================================================================
   FIXED-SIZE BORDERED IMAGE SLIDER (WHOLE IMAGE VISIBLE + CLICK TO ENLARGE)
   ========================================================================= */
.gbp-slider-box {
  position: relative;
  width: 100%;
  height: 360px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  background: #0f172a;
  overflow: hidden;
  user-select: none;
}
.gbp-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gbp-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: zoom-in;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}
.gbp-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.gbp-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.gbp-slide-nav:hover { background: #0b5ed7; border-color: #ffffff; }
.gbp-slide-prev { left: 12px; }
.gbp-slide-next { right: 12px; }

.gbp-slide-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.gbp-slide-enlarge-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.gbp-thumbs-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gbp-thumb {
  flex: 0 0 88px;
  height: 60px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #0f172a;
  padding: 3px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.72;
  transition: all 0.2s;
}
.gbp-thumb.active, .gbp-thumb:hover {
  border-color: #0b5ed7;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.25);
}
.gbp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Lightbox Modal */
.gbp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  z-index: 99999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gbp-lightbox.active { display: flex; }
.gbp-lightbox img {
  max-width: 94vw;
  max-height: 78vh;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  object-fit: contain;
}
.gbp-lb-bar {
  color: #ffffff;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.gbp-lb-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.gbp-lb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #dc2626;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

/* Comparison Filters & Table */
.gbp-filter-bar {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 12px;
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  align-items: end;
}
.gbp-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 5px;
}
.gbp-input, .gbp-select, .gbp-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  font-family: inherit;
}
.gbp-btn-reset {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.gbp-table-wrap { width: 100%; }
.gbp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gbp-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  text-transform: uppercase;
}
.gbp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.compare-highlight-row {
  background-color: #eff6ff !important;
  border-left: 4px solid #0b5ed7;
}

/* SEO FAQ Accordion */
.gbp-faq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gbp-faq-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.gbp-faq-pill.active { background: #0b5ed7; color: #ffffff; border-color: #0b5ed7; }
details.gbp-faq-details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  overflow: hidden;
}
details.gbp-faq-details summary {
  list-style: none;
  padding: 13px 15px;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
details.gbp-faq-details summary::-webkit-details-marker { display: none; }
details.gbp-faq-details[open] summary { background: #eff6ff; color: #0b5ed7; border-bottom: 1px solid #dbeafe; }
.gbp-faq-course-tag { background: #dbeafe; color: #1e40af; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.gbp-faq-ans { padding: 14px 15px; font-size: 14px; color: #334155; line-height: 1.6; }

/* Reviews & Sidebar */
.gbp-review-item { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.gbp-review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 5px; }
.gbp-stars { color: #f59e0b; font-size: 14px; }
.gbp-review-form { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; margin-top: 16px; }
.gbp-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.gbp-field { margin-bottom: 12px; }
.gbp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 9px;
  background: #0b5ed7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
}
.gbp-btn-block { width: 100%; }
.gbp-sidebar { position: sticky; top: 85px; }
.gbp-fac-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gbp-fac-tag {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
  .gbp-layout { grid-template-columns: 1fr; }
  .gbp-sidebar { position: static; }
  .gbp-hero { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .gbp-hero-logo { width: 82px; height: 82px; }
  .gbp-hero-title { font-size: 22px; }
  .gbp-hero-actions { align-items: stretch; }
  .gbp-hero-fee-box { text-align: left; }
}

@media (max-width: 768px) {
  .gbp-wrap { padding: 0 12px; margin-top: 14px; }
  .gbp-card-head, .gbp-card-body { padding: 14px; }
  .gbp-courses-grid { grid-template-columns: 1fr; }
  .gbp-filter-bar { grid-template-columns: 1fr; padding: 14px; }
  .gbp-form-row-2 { grid-template-columns: 1fr; }
  .gbp-slider-box { height: 230px; }
  .gbp-slide-nav { width: 34px; height: 34px; font-size: 15px; }
  .gbp-slide-enlarge-hint { font-size: 11px; padding: 4px 8px; }

  .gbp-table thead { display: none; }
  .gbp-table, .gbp-table tbody, .gbp-table tr, .gbp-table td { display: block; width: 100%; }
  .gbp-table tr { border-bottom: 2px solid #e2e8f0; padding: 12px 14px; }
  .gbp-table td { padding: 6px 0; border: none; text-align: left !important; }
  .gbp-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    display: inline-block;
    margin-right: 6px;
  }
  .gbp-table td:last-child { margin-top: 6px; }
  .gbp-table td:last-child .gbp-btn-sm-outline { width: 100%; }
}