/* PayMyStudent – orange and black theme (stronger contrast) */
:root {
  --pms-primary: #ff6b00;
  --pms-primary-dark: #e55f00;
  --pms-black: #1a1a1a;
  --pms-black-soft: #2d2d2d;
  --pms-accent: #ffecd6;
  --pms-warm: #ffe8d4;
  --pms-dark: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

/* Buttons – orange primary */
.btn-primary {
  background-color: var(--pms-primary);
  border-color: var(--pms-primary);
}
.btn-primary:hover {
  background-color: var(--pms-primary-dark);
  border-color: var(--pms-primary-dark);
}
.btn-outline-primary {
  color: var(--pms-primary);
  border-color: var(--pms-primary);
}
.btn-outline-primary:hover {
  background-color: var(--pms-primary);
  border-color: var(--pms-primary);
  color: #fff;
}

/* Navbar – black border */
.navbar {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}
.navbar-brand img {
  max-height: 44px;
  width: auto;
}
.nav-link {
  font-weight: 500;
  color: var(--pms-black) !important;
}
.nav-link:hover {
  color: var(--pms-primary) !important;
}

/* Hero – light orange tint */
.hero {
  background: linear-gradient(135deg, var(--pms-warm) 0%, var(--pms-accent) 100%) !important;
  padding-top: 2rem;
}
.hero h1 {
  color: var(--pms-black);
}
.hero .lead {
  color: var(--pms-black-soft) !important;
}
.hero-img {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Check icon on feature cards */
.card-check,
.store-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Section rhythm */
.hero,
.bursary,
.store,
.pcard,
.integrations,
.trust,
.testimonials,
.clients,
.contact {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Bursary – black headings, orange accents */
.bursary h2,
.bursary h3 {
  color: var(--pms-black);
}
.bursary .card {
  border-left: 4px solid var(--pms-primary);
  background: #fff;
}
.bursary .card-body {
  color: var(--pms-dark);
}
.bursary a:not(.btn) {
  color: var(--pms-primary);
  font-weight: 500;
}
.bursary a:not(.btn):hover {
  color: var(--pms-primary-dark);
}

/* Online Store – orange and black, equal-height feature cards */
.store {
  background-color: var(--pms-accent) !important;
}
.store h2 {
  color: var(--pms-black);
}
.store-feature-cards {
  align-items: stretch;
}
.store-feature-cards > [class*="col-"] {
  display: flex;
}
.store-feature-card {
  min-height: 4.5rem;
  flex: 1;
  width: 100%;
  border-color: var(--pms-primary) !important;
  color: var(--pms-black-soft);
}
.store-feature-card span {
  flex: 1;
  text-align: center;
}
.store a:not(.btn) {
  color: var(--pms-primary);
}

/* PCard – black headings, orange accents */
.pcard h2 {
  color: var(--pms-black);
}
.pcard .card {
  border-top: 4px solid var(--pms-primary);
  background: #fff;
}
.pcard a:not(.btn) {
  color: var(--pms-primary);
}
.pcard-image-wrap {
  max-width: 100%;
}
.pcard-visa-logo {
  bottom: 0.75rem;
  right: 0.75rem;
  height: 2rem;
  width: auto;
  object-fit: contain;
}

/* Integrations */
.integrations {
  background-color: #fff !important;
}
.integrations h2 {
  color: var(--pms-black);
}
.integrations .card {
  border-left: 4px solid var(--pms-primary);
}
.integrations a {
  color: var(--pms-primary);
  font-weight: 500;
}

/* Trust / Compliance – black and orange */
.trust {
  background: var(--pms-accent) !important;
}
.trust h2 {
  color: var(--pms-black);
}
.trust .p-4 {
  background: #fff !important;
  border: 2px solid var(--pms-primary);
  color: var(--pms-black-soft);
  font-weight: 600;
}

/* Testimonials – modern card style */
.testimonials {
  background-color: var(--pms-accent) !important;
}
.testimonials h2 {
  color: var(--pms-black);
}
.testimonial-card {
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border-left: 4px solid var(--pms-primary);
  background: #fff;
}
.testimonial-logo {
  min-height: 48px;
}
.testimonial-logo-img {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
.testimonial-college {
  color: var(--pms-black);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pms-black-soft);
  border: none;
  padding: 0;
  margin: 0;
}
.testimonial-footer {
  font-size: 0.8125rem;
  color: var(--pms-black-soft);
  opacity: 0.9;
  letter-spacing: 0.02em;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.testimonials .carousel-control-prev-icon,
.testimonials .carousel-control-next-icon {
  background-color: var(--pms-primary);
}

/* Clients */
.clients h2 {
  color: var(--pms-black);
}
.clients .client-logo {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.clients .client-logo-img {
  max-height: 3.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--pms-warm) 0%, #fff 50%) !important;
}
.contact h2 {
  color: var(--pms-black);
}
.contact .card {
  border-left: 4px solid var(--pms-primary);
}
.contact a:not(.btn) {
  color: var(--pms-primary);
  font-weight: 500;
}

/* Footer – black */
.footer {
  background: var(--pms-black) !important;
  color: #fff !important;
}
.footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}
.footer a:hover {
  color: #fff !important;
}

/* Carousel controls – orange */
.carousel-control-prev,
.carousel-control-next {
  filter: none;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--pms-primary);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
}

/* Accessibility: focus states */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--pms-primary);
  outline-offset: 2px;
}
.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 2px var(--pms-primary);
}

/* Skip link – orange */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 1050;
  padding: 0.5rem 1rem;
  background: var(--pms-primary);
  color: #fff;
  border-radius: 0.25rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0.5rem;
}
