/* Homepage-specific styles */

.hero { position: relative; padding: 60px 0 60px; overflow: hidden; background: var(--navy) center/cover no-repeat; isolation: isolate; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,14,26,.94) 0%, rgba(10,14,26,.82) 35%, rgba(10,14,26,.4) 65%, rgba(10,14,26,0) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; }
.hero-copy h1 { font-size: 34px; color: #fff; max-width: 640px; }
.hero-sub { font-size: 17px; color: #eef1fb; font-weight: 500; margin-bottom: 14px; }
.hero-questions { margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.hero-questions li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #d3d7ec; }
.hero-questions li svg { flex-shrink: 0; color: #7fe0a3; }

@media (min-width: 900px) {
  .hero { min-height: 620px; padding: 40px 0; display: flex; align-items: center; }
  .hero-copy h1 { font-size: 44px; }
  .hero-grid { width: 100%; }
}

/* Steps */
.steps-section { padding: 70px 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #eaf7ef; color: var(--green); font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.step-card h3 { font-size: 17px; color: var(--navy); }
.step-card p { font-size: 14.5px; }
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

/* Documents */
.docs-section { padding: 70px 0; background: var(--bg); }
.docs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.docs-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.docs-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 16px; text-align: center; }
@media (min-width: 900px) { .docs-grid { grid-template-columns: repeat(3, 1fr); } }

/* Community */
.community-section { background: var(--navy); color: #fff; padding: 64px 0 48px; }
.community-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.community-copy h2 { color: #fff; font-size: 28px; }
.community-copy p { color: #b8bcd6; }
.community-copy .sihb-line-list li { color: #dde0f0; }
.community-cards { display: grid; gap: 14px; }
.community-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 10px; font-size: 14.5px; color: #fff; }
.community-card span strong { display: block; font-size: 16px; margin-bottom: 2px; }
.community-card.fb { background: #3457c9; }
.community-card.fb:hover { background: #2c49ab; }
.community-card.wa { background: var(--green); }
.community-card.wa:hover { background: var(--green-dark); }
/* brand-glyph badge: white circle, brand-coloured icon */
.community-card > svg { width: 46px; height: 46px; flex-shrink: 0; padding: 11px; background: #fff; border-radius: 50%; box-sizing: border-box; }
.community-card.fb > svg { color: #3457c9; }
.community-card.wa > svg { color: var(--green); }
@media (min-width: 900px) { .community-grid { grid-template-columns: 1.2fr .8fr; } }

/* University slider (infinite auto-scroll marquee, drag both directions) */
.uni-slider-section { padding: 70px 0 60px; }
.uni-slider-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.uni-slider-head h2 { font-size: 30px; color: var(--navy); margin: 0; text-align: left; text-wrap: balance; }
.uni-viewall { flex-shrink: 0; color: var(--green-dark); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.uni-viewall:hover { color: var(--green); }
.uni-marquee { overflow-x: auto; overflow-y: hidden; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
/* stop the browser from native-dragging card images/links (it hijacks the grab-swipe) */
.uni-marquee a { -webkit-user-drag: none; user-select: none; }
.uni-marquee img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.uni-marquee::-webkit-scrollbar { display: none; }
.uni-marquee.is-dragging { cursor: grabbing; }
.uni-marquee.is-dragging a { pointer-events: none; }
.uni-track { display: flex; gap: 18px; width: max-content; padding: 6px 4px; }
.uni-marquee .uni-card { position: relative; flex: 0 0 auto; width: 250px; height: 220px; border-radius: 8px; overflow: hidden; text-decoration: none; background: var(--navy); transition: box-shadow .15s ease, transform .15s ease; }
.uni-marquee .uni-card:hover { box-shadow: 0 8px 24px rgba(20,25,50,.14); transform: translateY(-3px); }
.uni-marquee .uni-card img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.uni-marquee .uni-card-fallback { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--green); }
.uni-marquee .uni-card::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,.97) 0%, rgba(0,0,0,.82) 26%, rgba(0,0,0,.42) 50%, rgba(0,0,0,.08) 72%, rgba(0,0,0,0) 88%); }
.uni-marquee .uni-card h3 { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 15px 20px; text-align: center; color: #fff; font-family: var(--font-body); font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@media (max-width: 600px) {
  .uni-slider-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .uni-slider-head h2 { font-size: 24px; }
  .hero { padding: 44px 0; }
  .hero-copy h1 { font-size: 28px; }
  .hero-sub { font-size: 15.5px; }
  .steps-section, .docs-section { padding: 48px 0; }
  .community-section { padding: 46px 0 40px; }
  .uni-slider-section { padding: 44px 0 36px; }
  .community-copy h2 { font-size: 23px; }
}
