/* ==========================================================================
   TSLAS – Undergraduate landing page
   Desktop styles. Media queries live in responsive.css.
   ========================================================================== */

:root {
  /* Colours */
  --c-yellow: #ffd000;
  --c-yellow-soft: #fdf7db;
  --c-amber: #ffb200;
  --c-amber-text: #8a6d00;
  --c-cream: #fffbea;
  --c-sky: #d8efff;
  --c-black: #000;
  --c-ink: #111;
  --c-text: #1d1d1d;
  --c-muted: #8c8c8c;
  --c-step-num: #d4d4d4;
  --c-line: #545454;
  --c-line-light: #dedede;
  --c-border: #e6e6e6;
  --c-pill-bg: #f2f2f2;
  --c-white: #fff;
  --c-footer-text: #d9d9d9;
  --c-subscribe: #f26522;

  /* Fonts */
  --ff-base: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ff-footer: "Lato", var(--ff-base);

  /* Type scale (from the 1512px design) */
  --fs-hero: 58px;
  --fs-hero-eyebrow: 20px;
  --fs-title: 40px;
  --fs-eyebrow: 20px;
  --fs-global-title: 48px;
  --fs-global-eyebrow: 28px;
  --fs-feature: 30px;
  --fs-feature-num: 30px;
  --fs-step-num: 50px;
  --fs-step: 28px;
  --fs-cta: 40px;
  --fs-lead: 16px;
  --fs-body: 16px;
  --fs-small: 16px;
  --fs-xs: 13px;

  /* Layout */
  --shell-max: 1540px;
  --shell-pad: 15px;
  --frame-inset: 37px;
  --section-pad: 80px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 64px;
  --shadow-btn: 0 6px 14px rgba(255, 178, 0, 0.35);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.05);
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-base);
  color: var(--c-ink);
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--shell-max);
  padding-inline: var(--shell-pad);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--flush-bottom { padding-bottom: 0; }

.section--cream { background: var(--c-cream); }

/* Section heading: light eyebrow on top of a bold title */
.section-title {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-intro {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.55;
  color: var(--c-text);
  max-width: 700px;
}

.section-intro--wide { max-width: none; }

/* Heading on the left, action (button / tabs) on the right */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.section-head > .section-title { margin-bottom: 0; }
.section-head-text .section-title { margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--c-yellow);
  color: var(--c-black);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--c-amber);
  color: var(--c-black);
  transform: translateY(-1px);
}

.btn-pill--sm {
    min-height: 35px;
    padding: 12px 28px;
    text-transform: none;
    box-shadow: var(--shadow-btn);
}

.btn-pill--white { background: var(--c-white); }
.btn-pill--white:hover,
.btn-pill--white:focus-visible { background: var(--c-ink); color: var(--c-white); }

.btn-pill--lg {
  min-height: 45px;
  padding: 10px 40px;
  font-size: 20px;
}

/* ---------- Pill navigation (hero nav + program tabs) ---------- */
.pill-nav {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--c-pill-bg);
}

.pill-nav-link {
  display: inline-block;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--c-ink);
  font-family: var(--ff-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pill-nav-link:hover { background: rgba(255, 208, 0, 0.35); color: var(--c-ink); }

.pill-nav-link.is-active,
.pill-nav-link.active {
  background: var(--c-yellow);
  color: var(--c-ink);
}

.pill-nav--tabs .pill-nav-link { min-width: 58px; padding-inline: 16px; }

/* ---------- Hero ---------- */
.hero-shell {
  position: relative;
  /*  margin-inline: var(--frame-inset);*/
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  /* overflow: hidden; */
  background-color: var(--c-yellow);
  background-image:
    linear-gradient(90deg, rgba(255, 208, 0, 0.97) 0%, rgba(255, 208, 0, 0.92) 30%, rgba(255, 208, 0, 0.55) 50%, rgba(255, 208, 0, 0) 68%),
    url("../images/hero-student-painting.jpg");
  background-size: cover, cover;
  background-position: center, right center;
  height: 100vh;
}

.site-header { padding-top: 44px; }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img { width: 335px; filter: brightness(0) invert(1); }

.site-header .pill-nav { background: rgba(255, 255, 255, 0.85); }

.section--hero {padding: 0px 0 50px;}

.hero .row { min-height: 610px; }

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
  font-size: var(--fs-hero-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-contact { color: var(--c-ink); }
.hero-contact-label,
.hero-contact-mail { font-size: var(--fs-small); line-height: 1.6; }
.hero-contact-mail a { margin-left: 4px; }
.hero-contact-call { font-size: 22px; line-height: 1.4; }
.hero-contact-call a { text-decoration: none; }

.hero-aside {
  display: flex;
  justify-content: flex-end;
  align-items: start;
  z-index: 9999;
}

/* PLACEHOLDER box for the enquiry form widget */
.hero-form {
  width: 100%;
  max-width: 366px;
  /* min-height: 500px; */
  border-radius: var(--radius-md);
  background: var(--c-white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ---------- About ---------- */
.about-text p {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 27px;
}

.about-text { margin-bottom: 40px; }

.about-gallery { display: grid; gap: 10px; }

.about-gallery-row {
  display: flex;
  gap: 10px;
}

.about-gallery-row--top { align-items: flex-end; padding-left: 5%; }
.about-gallery-row--bottom { align-items: flex-start; }

.about-photo {
  min-width: 0;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-photo--cafe    { width: calc(50% - 5px); aspect-ratio: 287 / 298; }
.about-photo--studio  { width: calc(50% - 5px); aspect-ratio: 287 / 210; }
.about-photo--faculty { width: calc(58.5% - 5px); aspect-ratio: 354 / 210; }
.about-photo--music   { width: calc(41.5% - 5px); aspect-ratio: 250 / 239; }

/* ---------- Why (4Cs) ---------- */
.why .section-intro { margin-bottom: 70px; }

.feature-list { margin-bottom: 64px; }

.feature-item {
  margin-inline: 0;
  padding-block: 32px;
  border-bottom: 1px solid var(--c-line);
}

.feature-item:first-child { padding-top: 0; }

.feature-title {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-left: 10px;
  font-size: var(--fs-feature);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-num {
  color: var(--c-amber);
  font-size: var(--fs-feature-num);
  font-weight: 500;
}

.feature-text {
  font-weight: 400;
  line-height: 1.7;
}

/* ---------- Academics frame (yellow border around programs + eligibility) ---------- */
.academics-frame {
  margin-inline: var(--frame-inset);
  padding: 34px 36px 0;
  border-radius: var(--radius-xl);
  background: var(--c-yellow);
}

.programs {
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--c-white);
}

.programs .section-head { align-items: flex-end; }

.programs-photo {
  width: 100%;
  aspect-ratio: 520 / 413;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.programs-title {
  font-size: var(--fs-feature);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.programs-intro {
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 20px;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
}

.program-list li {
  padding: 10px 2px;
  border-bottom: 1px solid var(--c-line-light);
  line-height: 1.5;
}

.programs-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

/* ---------- Eligibility ---------- */
.eligibility-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.eligibility-lead {
  padding: 0 10px 14px;
  font-weight: 500;
}

.eligibility-list li {
  padding: 20px 10px;
  border-bottom: 1px solid var(--c-black);
  line-height: 1.45;
  color: var(--c-ink);
}

.eligibility-list li:last-child { border-bottom: 0; }

/* ---------- Admissions process ---------- */
.step-num {
  color: var(--c-step-num);
  font-size: var(--fs-step-num);
  font-weight: 500;
  line-height: 1;
  padding-left: 7px;
  margin-bottom: 18px;
}

.step-title {
  min-height: calc(2.5em + 18px);
  padding: 0 7px 18px;
  border-bottom: 5px solid var(--c-yellow);
  font-size: var(--fs-step);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 30px;
}

.step-text,
.step-list {
  padding-inline: 7px;
  font-weight: 300;
  line-height: 1.4;
}

.step-text strong { font-weight: 600; }
.step-list li::before { content: "- "; }

/* ---------- Scholarship ---------- */
.scholarship {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-white) 30%, var(--c-sky) 68%, var(--c-white) 100%);
}

.scholarship .section-intro { margin-bottom: 24px; }

.scholarship-caption {
  font-size: var(--fs-small);
  margin-bottom: 12px;
}

.scholarship-table-wrap {
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius-md);
  background: var(--c-white);
  margin-bottom: 32px;
}

.scholarship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.scholarship-table th {
  padding: 22px 14px;
  background: var(--c-yellow);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  vertical-align: middle;
}

.scholarship-table td {
  padding: 9px 14px;
  line-height: 1.4;
}

.scholarship-table tbody tr:first-child td { padding-top: 22px; }
.scholarship-table tbody tr:last-child td { padding-bottom: 22px; }

.scholarship-table th + th,
.scholarship-table td + td { border-left: 1px solid var(--c-line-light); }

.note {
  padding-left: 8px;
  border-left: 4px solid var(--c-amber);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.note strong { color: var(--c-amber); font-weight: 500; }

.scholarship-media { position: relative; }

.scholarship-photo {
  width: 100%;
  aspect-ratio: 476 / 640;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
}

.scholarship-btn {
  position: absolute;
  right: 28px;
  bottom: 28px;
  min-height: 40px;
  font-size: 18px;
  text-transform: uppercase;
}

.campus-image {
  width: 100%;
}

/* ---------- Global connect ---------- */
.global { overflow: hidden; }

.global-stage {
  position: relative;
  padding-top: 31%;
}

.global-orbit {
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 1200 / 640;
}

.global-arc {
  position: absolute;
  left: 50%;
  aspect-ratio: 1;
  border: 3px solid #ececec;
  border-radius: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 56%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 56%);
}

.global-arc--outer { top: 0; width: 100%; }
.global-arc--inner { top: 19.2%; width: 79.5%; }

.uni-list { position: absolute; inset: 0; }

.uni-badge {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  transform: translate(-50%, -40px);
  text-align: center;
}

.uni-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-white);
}

.uni-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.uni-name {
  margin-top: 8px;
  padding: 8px 15px;
  border: 1px solid var(--c-yellow);
  border-radius: 999px;
  background: var(--c-yellow-soft);
  color: var(--c-amber-text);
  font-size: var(--fs-small);
  line-height: 1.3;
}

/* Badge positions on the two arcs (as in the design), solved so nothing overlaps.
   Outer arc: 150°, 118° (+ mirrored)  ·  Inner arc: 134°, 102° (+ mirrored) */
.uni-badge--1 { left: 6.7%;  top: 46.9%; }  /* outer */
.uni-badge--2 { left: 26.5%; top: 11%; }    /* outer */
.uni-badge--3 { left: 22.4%; top: 40.1%; }  /* inner */
.uni-badge--4 { left: 41.7%; top: 20.8%; }  /* inner */
.uni-badge--5 { left: 58.3%; top: 20.8%; }  /* inner */
.uni-badge--6 { left: 77.6%; top: 40.1%; }  /* inner */
.uni-badge--7 { left: 73.5%; top: 11%; }    /* outer */
.uni-badge--8 { left: 93.3%; top: 46.9%; }  /* outer */

.global-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  padding-top: 10px;
  text-align: center;
}

.global-content::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  z-index: -1;
  background: url("../images/world-map.webp") center top / 100% auto no-repeat;
  opacity: 0.12;
}

.global-title {
  font-size: var(--fs-global-title);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.global-eyebrow {
  display: block;
  font-size: var(--fs-global-eyebrow);
  font-weight: 300;
  margin-bottom: 6px;
}

.global-text {
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.4;
}

/* ---------- Internships ---------- */
.logo-grid { row-gap: 30px; }

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 115px;
    padding: 10px 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-white);
}

.logo-card img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* ---------- Alumni slider ---------- */
.alumni { background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-white) 100%); }

.slider-track {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 44px;
  margin: -4px -4px -20px;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-slide {
  flex: 0 0 calc((100% - 24px) / 2);
  scroll-snap-align: start;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-line-light);
  transition: background-color 0.2s ease;
}

.slider-dot.is-active { background: var(--c-yellow); }

.slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-white);
}

.alumni-card {
  display: flex;
  gap: 32px;
  padding: 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

.alumni-photo {
  flex: 0 0 193px;
  width: 193px;
  height: 279px;
  object-fit: cover;
  border-radius: 12px;
}

.alumni-body { align-self: center; padding-right: 20px; }

.alumni-kicker {
  color: var(--c-amber);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.alumni-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.alumni-meta {
  color: var(--c-muted);
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 18px;
}

.alumni-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

/* ---------- CTA band ---------- */
.cta-band {
  margin-inline: var(--frame-inset);
  padding-block: 70px;
  border-radius: var(--radius-lg);
  background: var(--c-yellow);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-title {
  font-size: var(--fs-cta);
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 40px;
  background: var(--c-black);
  color: var(--c-footer-text);
  font-family: var(--ff-footer);
}

.footer-title {
  color: var(--c-white);
  font-family: var(--ff-footer);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 26px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact i { flex: 0 0 18px; color: var(--c-white); }

.footer-contact a,
.footer-links a { text-decoration: none; }

.footer-contact a:hover,
.footer-links a:hover { color: var(--c-yellow); }

.footer-links {
  padding-top: 18px;
  text-align: right;
  font-size: 18px;
}

.footer-links li { margin-bottom: 18px; }

.newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.newsletter-label {
  color: var(--c-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.newsletter-input {
  width: 100%;
  height: 38px;
  padding: 6px 14px;
  border: 0;
  border-radius: 4px;
  font-size: var(--fs-small);
}
.newsletter-btn {
  padding: 8px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--c-subscribe);
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: 700;
}
.newsletter-btn:hover { filter: brightness(1.08); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  font-size: 28px;
}
.footer-social a { color: var(--c-white); }
.footer-social a:hover { color: var(--c-yellow); }
.padding-section{
  padding-bottom: 0 !important;
}
.padding-top-section{
  padding-top: 0px !important;
}
.scholarship-card {
    background: #ffb200;
    width: 32px;
    display: flex;
    height: 32px;
    border-radius: 40px;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

