/* ==========================================================================
   VCE Trial Exams — same design system as pages/selective-entry-program/style.css
   (tokens, container, buttons, rail-section, hero) so this page reads as one
   consistent, professional system with the rest of the site. Section labels
   use the sitewide .bottom-line convention (assets/css/main.css) rather than
   a page-specific eyebrow badge.
   ========================================================================== */

:root {
  --primary-text-color: #7c55c5;
  --primary-bg-secondary-light-color: #f1ecfa;

  --ink: #211c2c;
  --ink-soft: rgba(33, 28, 44, 0.66);
  --ink-faint: rgba(33, 28, 44, 0.46);
  --border: #e8e2f2;
  --border-strong: #d9cdef;
  --paper: #fff5f1;
  --surface: #ffffff;
  --surface-tint: #faf7fd;

  --shadow-sm: 0 1px 3px rgba(33, 20, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(33, 20, 61, 0.08);
  --shadow-lg: 0 20px 48px rgba(33, 20, 61, 0.12);

  --container: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.section-heading-center {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading-center h2 {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-heading-center p {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.accent-text {
  color: #ff723a;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 8px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: #ff723a;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 114, 58, 0.28);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  box-shadow: 0 10px 22px rgba(255, 114, 58, 0.36);
  background: #e6652e;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--primary-bg-color);
  color: var(--primary-bg-color);
}

/* ==========================================================================
   RAIL SECTION — the sticky-label + content layout used across the page
   ========================================================================== */
.rail-section {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 96px) 0;
}

.rail-section:first-of-type {
  border-top: none;
}

.rail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.rail-label h2 {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.rail-label p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.rail-content {
  min-width: 0;
}

@media (min-width: 980px) {
  .rail-grid {
    grid-template-columns: 300px 1fr;
    gap: 64px;
  }

  .rail-label-inner {
    position: sticky;
    top: 32px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: rgb(124, 85, 197);
  padding: 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-grid .hero-copy {
  max-width: none;
  margin: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .hero-grid .hero-copy {
    text-align: left;
  }

  .hero-grid .hero-actions {
    margin: 0;
    max-width: none;
    justify-content: flex-start;
  }

}

.hero-copy h1 {
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero-copy h1 span {
  color: var(--third-text-color, #f6a9fe);
}

.hero-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .hero-actions {
    flex-direction: row;
    max-width: none;
  }
}

.hero-facts-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-facts-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts-table tr:last-child {
  border-bottom: none;
}

.hero-facts-table th,
.hero-facts-table td {
  padding: 12px 18px;
  font-size: 13.5px;
  text-align: left;
}

.hero-facts-table th {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  width: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts-table td {
  font-weight: 700;
  color: #fff;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #845fc8;
  border: 1px solid var(--border);
  
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-chips {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-text-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 980px) {
  .hero-banner {
    height: 300px;
  }
}

/* ==========================================================================
   WHAT WE OFFER — rail with a framed image panel
   ========================================================================== */
.offer-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #845fc8;
}

.offer-panel img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  transition: transform .35s ease;
}

.offer-panel:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   SAMPLE REPORT CAROUSEL — placeholder cards until real screenshots land
   ========================================================================== */
.report-carousel .item {
  padding: 8px 12px;
}

.report-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-tint);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Branded owl-carousel nav/dots (no owl theme css is loaded, so style from scratch) */
.report-carousel {
  position: relative;
  padding: 0 6px;
}

/* main.css sets a hardcoded `.owl-nav { position: absolute; left: -330px; ... }` for the
   site's other carousels — neutralise it here so our own left/right button offsets are
   relative to .report-carousel instead of that mispositioned container. */
.report-carousel .owl-nav {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
}

.report-carousel .owl-nav button {
  position: absolute;
  top: 42%;
  margin: 0;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff !important;
  color: var(--primary-text-color) !important;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.report-carousel .owl-nav button.owl-prev {
  left: -35px;
}

.report-carousel .owl-nav button.owl-next {
  right: -35px;
}

/* Below ~1240px the .container is edge-to-edge with the viewport (no outside
   margin to absorb a -35px overflow), so keep the buttons inside the card
   there instead — only float them outside once there's room either side. */
@media (max-width: 1240px) {
  .report-carousel .owl-nav button.owl-prev {
    left: 6px;
  }

  .report-carousel .owl-nav button.owl-next {
    right: 6px;
  }
}

@media (max-width: 700px) {
  .report-carousel .owl-nav button {
    width: 34px;
    height: 34px;
  }
}

.report-carousel .owl-nav button svg {
  display: block;
}


/* Real report screenshots */
.report-card-image {
  height: 320px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.report-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.report-card-caption {
  padding: 16px 14px;
}

.report-card-caption h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 4px;
}

.report-card-caption p {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
}

.report-carousel-note {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

/* ==========================================================================
   WHO CAN SIT ONE — feature strip
   ========================================================================== */
.feature-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--primary-bg-secondary-light-color);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.feature-strip-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
}

.feature-strip h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px;
}

.feature-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

@media (max-width: 600px) {
  .feature-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   SUBJECTS OFFERED — colour-coded icon cards, grouped by discipline
   ========================================================================== */
.subject-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.subject-card {
  --tile-accent: var(--primary-text-color);
  --tile-accent-tint: var(--primary-bg-secondary-light-color);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 18px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.subject-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--tile-accent);
}

.subject-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tile-accent-tint);
  color: var(--tile-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background .2s ease, color .2s ease;
}

.subject-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.subject-card-category {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tile-accent);
}

.subject-card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.subject-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.subject-card:hover .subject-card-icon {
  background: var(--tile-accent);
  color: #fff;
}

.subject-card--english {
  --tile-accent: #2f6fed;
  --tile-accent-tint: #e8f0fe;
}

.subject-card--maths {
  --tile-accent: #0d9488;
  --tile-accent-tint: #e3f6f4;
}

.subject-card--science {
  --tile-accent: #16a34a;
  --tile-accent-tint: #e7f7ec;
}

.subject-card--commerce {
  --tile-accent: #d97706;
  --tile-accent-tint: #fdf1de;
}

@media (max-width: 480px) {
  .subject-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 560px) {
  .subject-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   UPCOMING TRIAL EXAM SESSION — flagship-band pattern
   ========================================================================== */
.flagship-band {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.flagship-ribbon {
  position: absolute;
  top: 16px;
  right: -34px;
  transform: rotate(45deg);
  background: #ff723a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 40px;
  box-shadow: 0 4px 10px rgba(255, 114, 58, 0.35);
  z-index: 2;
}

.flagship-band-top {
  background: var(--primary-bg-color);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.flagship-band-top .tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 50px;
}


.flagship-band-top h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 0;
  width: 100%;
  color: #fff;
}

.flagship-band-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.session-detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.session-detail-row .label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-text-color);
}

.session-detail-row .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.session-cta-line {
  font-size: 14px;
  color: var(--ink-soft);
  margin: -4px 0 0;
}

.flagship-band-body .btn {
  align-self: flex-start;
}


/* ==========================================================================
   STANDOUT BENEFITS
   ========================================================================== */
.benefit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-card-icon {
  margin-bottom: 18px;
}

.benefit-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-bg-secondary-light-color);
}

.benefit-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FAQ — accordion restyled with the same tokens
   ========================================================================== */
.vce-faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vce-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-left-color: var(--primary-text-color);
  box-shadow: var(--shadow-md);
}

.vce-faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: none;
}

.vce-faq-accordion .accordion-button.collapsed:hover {
  background: var(--surface-tint);
}

.vce-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-text-color);
}

.vce-faq-accordion .accordion-button::after {
  display: none;
}

.vce-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.faq-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-bg-secondary-light-color);
  color: var(--primary-text-color);
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}

.accordion-button:not(.collapsed) .faq-num {
  background: var(--primary-text-color);
  color: #fff;
}

.faq-question-text {
  flex: 1;
  min-width: 0;
}

.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  transition: background .2s ease, border-color .2s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-text-color);
  transform: translate(-50%, -50%);
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
  transition: opacity .2s ease;
}

.accordion-button:not(.collapsed) .faq-toggle {
  background: var(--primary-text-color);
  border-color: var(--primary-text-color);
}

.accordion-button:not(.collapsed) .faq-toggle::before,
.accordion-button:not(.collapsed) .faq-toggle::after {
  background: #fff;
}

.accordion-button:not(.collapsed) .faq-toggle::after {
  opacity: 0;
}

.vce-faq-accordion .accordion-body {
  padding: 0 22px 22px 66px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 560px) {
  .vce-faq-accordion .accordion-body {
    padding-left: 22px;
  }
}

/* ==========================================================================
   CLOSING CTA BANNER — a floating card, not flush with the footer below it
   ========================================================================== */
.closing-cta-section {
  padding: clamp(20px, 3vw, 32px) 0 clamp(40px, 6vw, 64px);
}

.closing-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--primary-bg-color) 0%, #8a63d6 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5.5vw, 52px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.closing-cta::before {
  content: '🎓';
  position: absolute;
  font-size: 160px;
  top: -30px;
  right: -10px;
  opacity: 0.1;
  transform: rotate(15deg);
  pointer-events: none;
}

@media (max-width: 600px) {
  .closing-cta::before {
    font-size: 90px;
  }
}

.closing-cta-inner {
  position: relative;
  z-index: 1;
}

.closing-cta h3 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.01em;
  margin: 0;
}

.closing-cta-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.closing-cta-contact a {
  position: relative;
  z-index: 10;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  cursor: pointer;
}

.closing-cta-contact a:hover {
  text-decoration: underline;
}

@media (min-width: 860px) {
  .closing-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
