/* Homepage. Layout and styling follow skujytutorials.com: a light hero with
   honey and leaf glows, rounded portrait frames, pill eyebrows, rounded cards. */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 72px;
  margin-top: -88px; /* sit under the floating header */
  padding-top: 144px;
  background: linear-gradient(180deg, #f4f8ef 0%, #faf9f3 55%, #ffffff 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 36rem; height: 36rem;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { left: -12rem; top: 6rem; color: rgba(245, 220, 180, 0.45); background-image: radial-gradient(closest-side, currentColor, transparent); }
.hero::after { right: -10rem; top: -8rem; color: var(--leaf-100); background-image: radial-gradient(closest-side, currentColor, transparent); }
.hero-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(42, 104, 52, 0.15) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 620px) 1fr;
  grid-template-areas: "left copy right";
  align-items: center;
  gap: 32px;
}
.hero-copy { grid-area: copy; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; }
.hero-copy > p { margin: 22px auto 0; max-width: 46ch; font-size: 1.05rem; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Rounded portrait frames with a tinted back and white ring */
.hero-photos { position: relative; height: 420px; }
.hero-photos.left { grid-area: left; }
.hero-photos.right { grid-area: right; }
.frame { position: absolute; border-radius: 999px; }
.frame::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7), 0 30px 60px -30px rgba(28, 31, 29, 0.45); }
.frame.f-honey { background: var(--honey-200); }
.frame.f-leaf { background: var(--leaf-100); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: inherit; object-fit: cover; object-position: center 22%; }
.f-a { left: 4%; top: 10px; width: 176px; height: 230px; transform: rotate(-4deg); }
.f-b { right: 0; bottom: 6px; width: 150px; height: 150px; transform: rotate(3deg); }
.f-c { right: 6%; top: 0; width: 200px; height: 270px; transform: rotate(3deg); }

.float-card {
  position: absolute;
  left: 0; bottom: 8px;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35);
  animation: bob 6s ease-in-out infinite;
}
.float-card .badge { justify-self: start; margin-bottom: 4px; }
.float-card b { font-family: var(--display); color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.float-card > span:not(.badge) { font-size: 0.82rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1080px) {
  .hero { padding-top: 128px; padding-bottom: 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "left right"; gap: 36px 16px; }
  .hero-photos { height: 250px; }
  .f-a { left: auto; right: 34%; width: 136px; height: 178px; }
  .f-b { right: 2%; bottom: 0; width: 110px; height: 110px; }
  .f-c { right: auto; left: 8%; width: 150px; height: 200px; }
  .float-card { left: auto; right: 0; bottom: -6px; max-width: 190px; padding: 12px 14px; }
}
@media (max-width: 560px) {
  .hero-grid { gap: 28px 8px; }
  .hero-photos { height: 220px; }
  .f-a { right: 30%; width: 118px; height: 154px; }
  .f-b { width: 92px; height: 92px; }
  .f-c { left: 4%; width: 128px; height: 172px; }
  .float-card { display: none; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */

.trust { padding: 8px 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-grid > div { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: var(--leaf-50); font-weight: 600; font-size: 0.88rem; color: var(--ink); line-height: 1.35; }
.trust-grid .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #fff; color: var(--leaf-700); box-shadow: var(--shadow); }
.trust-grid > div > span { min-width: 0; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .trust-grid > div { padding: 14px 12px; font-size: 0.82rem; align-items: flex-start; } .trust-grid .i { width: 36px; height: 36px; padding: 9px; } }
@media (max-width: 340px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */

.section { position: relative; padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.section-head p { margin-top: 14px; font-size: 1.04rem; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* ---------- Scholarship cards ---------- */

.program {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--paper-line);
}
.program + .program { margin-top: 20px; }
.program-side {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 460px;
  padding: 40px 40px 0;
  background: linear-gradient(135deg, var(--leaf-600), var(--leaf-700) 50%, var(--leaf-800));
  color: #fff;
  overflow: hidden;
}
.program-side::after { content: ""; position: absolute; right: -5rem; bottom: -6rem; z-index: -1; width: 18rem; height: 18rem; border-radius: 50%; color: rgba(226, 178, 87, 0.3); background-image: radial-gradient(closest-side, currentColor, transparent); }
/* Second colour for another scholarship: honey, as on skujytutorials.com */
.program-side.side-blue, .program-side.side-lime, .program-side.side-navy { background: linear-gradient(135deg, var(--honey-300), var(--honey-400) 50%, var(--honey-500)); color: var(--ink); }
.program-side.side-blue::after, .program-side.side-lime::after, .program-side.side-navy::after { color: rgba(255, 255, 255, 0.4); }
.program-side.side-blue h3, .program-side.side-lime h3, .program-side.side-navy h3 { color: var(--leaf-800); }
.program-side.side-blue .crest, .program-side.side-lime .crest, .program-side.side-navy .crest { background: rgba(255, 255, 255, 0.4); color: var(--leaf-700); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.program-side.side-blue .badge, .program-side.side-lime .badge, .program-side.side-navy .badge { background: rgba(255, 255, 255, 0.85); color: var(--leaf-700); }
.program-side .crest { margin: 28px 0 22px; }
.program-side h3 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 14ch; }
.program-side p { margin-top: 10px; font-weight: 500; font-size: 0.9rem; opacity: 0.8; max-width: 58%; }
.side-arch {
  position: absolute;
  right: -24px; bottom: -40px;
  width: 210px; height: 260px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.25);
}
/* Photos fill their frame; object-position keeps faces in view */
.side-arch img, .arch img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 22%; }
.program-main { padding: 40px; display: flex; flex-direction: column; }
.program-main .lead { font-size: 1.02rem; color: var(--text); }
.facts { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts b { display: block; font-family: var(--display); color: var(--ink); font-size: 0.9rem; }
.facts span:not(.chip) { font-size: 0.86rem; line-height: 1.45; }
.chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.chip .i { width: 19px; height: 19px; }
.chip.lime, .chip.coral { background: var(--leaf-50); color: var(--leaf-700); }
.chip.blue, .chip.navy { background: var(--honey-100); color: var(--honey-600); }
.program-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: auto; }

.program-soon {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px dashed var(--paper-line);
  border-radius: 24px;
  background: rgba(250, 248, 242, 0.6);
}
.program-soon > div:nth-child(2) { flex: 1; }
.program-soon h3 { color: var(--ink); font-size: 1.05rem; font-weight: 700; }
.program-soon p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 860px) {
  .program { grid-template-columns: 1fr; border-radius: 28px; }
  .program-side { min-height: 340px; padding: 28px 24px 0; }
  .side-arch { width: 84px; height: 84px; top: 24px; right: 24px; bottom: auto; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.35); }
  .program-side { padding-bottom: 28px; min-height: 0; }
  .side-arch img { object-position: center 30%; }
  .side-arch img[src*="photo-card"] { object-position: 62% 80%; }
  .program-side h3, .program-side p { max-width: none; }
  .program-main { padding: 26px 22px; }
  .facts { grid-template-columns: 1fr; }
  .program-actions .btn { width: 100%; }
  .program-soon { flex-wrap: wrap; padding: 18px; }
}

/* ---------- How it works ---------- */

.lime-band { background: var(--paper); overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 28px 24px; box-shadow: var(--shadow); }
.steps .num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--leaf-50); color: var(--leaf-700); font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; }
.steps li:nth-child(even) .num { background: var(--honey-100); color: var(--honey-600); }
.steps h3 { color: var(--ink); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 0.92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Eligibility ---------- */

.elig { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.elig .section-head { margin-bottom: 0; }
.pills { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 0.85rem; }
.p-lime, .p-coral, .p-navy { background: var(--leaf-50); color: var(--leaf-700); }
.p-blue, .p-yellow { background: var(--honey-100); color: var(--honey-600); }
.elig-lists { display: grid; gap: 16px; }
.list { padding: 26px 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--paper-line); }
.list.yes { background: rgba(241, 248, 239, 0.7); border-color: var(--leaf-100); }
.list h3 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.list.yes h3 { color: var(--leaf-700); }
.list h3 .i { width: 32px; height: 32px; padding: 7px; border-radius: 50%; stroke-width: 3; }
.list.yes h3 .i { background: var(--leaf-600); color: #fff; }
.list.no h3 .i { background: rgba(123, 131, 126, 0.2); color: var(--text); }
.list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 20px; font-size: 0.95rem; }
.list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf-500); }
.list.no li::before { background: var(--muted); }
@media (max-width: 900px) { .elig { grid-template-columns: 1fr; gap: 28px; } .list { padding: 22px 20px; } }

/* ---------- Get ready ---------- */

.ready { padding: 0 0 96px; }
.ready-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 48px; border: 1px solid var(--paper-line); border-radius: 36px;
  background: linear-gradient(135deg, rgba(251, 239, 214, 0.7), #fff 50%, var(--leaf-50));
}
.ready .container.ready-grid { width: calc(100% - 2 * var(--gutter)); }
.ready-copy h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.ready-copy > p { margin-top: 12px; }
.ready-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ready-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); font-weight: 500; font-size: 0.9rem; line-height: 1.4; color: var(--ink); }
.ready-list .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--leaf-50); color: var(--leaf-700); margin-top: 0; }
.ready-note { margin: 18px 0 28px; font-size: 0.9rem; color: var(--muted); }
.ready-art { position: relative; align-self: stretch; min-height: 440px; }
.stripes { display: none; }
.arch {
  position: absolute; top: 50%; left: 50%; width: 76%; max-width: 320px; height: 92%;
  transform: translate(-50%, -50%) rotate(3deg);
  border-radius: 999px; background: var(--leaf-100); overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7), 0 30px 60px -30px rgba(28, 31, 29, 0.45);
}
@media (max-width: 900px) {
  .ready-grid { grid-template-columns: 1fr; gap: 8px; padding: 28px 20px; border-radius: 28px; }
  .ready-list { grid-template-columns: 1fr; }
  .ready-art { min-height: 380px; order: -1; }
  .arch { width: min(70%, 280px); }
}

/* ---------- FAQ ---------- */

#faq { background: var(--paper); padding-bottom: 110px; }
.faq-wrap { max-width: 820px; }
.faq-card { display: grid; gap: 12px; }
.faq details { padding: 4px 22px; border: 1px solid var(--paper-line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); transition: box-shadow 0.2s ease; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--leaf-50); color: var(--leaf-700);
  font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 20px 0; color: var(--text); }
@media (max-width: 600px) { .faq details { padding: 2px 18px; } .faq details p { padding-right: 0; } }
