/* ==========================================================================
   Flyonix Global — styles
   Palette: burgundy #800020 + gold #d0a944, taken from the logo
   Approved mockup: mockup-theme-burgundy-homepage.svg
   ========================================================================== */

:root {
  /* Brand — sampled from the logo (phoenix #800020, globe #d0a944) */
  --burgundy-deep: #5c0017;
  --burgundy: #800020;
  --burgundy-mid: #8a0a26;
  --burgundy-tint: #f3dce2;
  --gold-deep: #6b4a0f;
  --gold: #d0a944;
  --gold-btn: #d0a944;
  --gold-light: #e9d5a4;
  --gold-soft: #f7e9c9;
  --gold-pale: #fbe9bc;
  --clay: #ffd9d2;

  /* Neutrals */
  --ink: #141414;
  --body: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e7e3da;
  --white: #ffffff;
  --sand: #f9f2e7;
  --beige: #eee8dd;
  --cream: #f7f5f0;
  --black: #0e0e0e;

  --font: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif;
  --container: 1280px;
  --radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

section { padding: 110px 0; scroll-margin-top: 20px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: "//"; }

.section-title {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--burgundy-deep);
  margin-top: 14px;
}
.lead { font-size: 16px; color: var(--body); margin-top: 18px; }
.center { text-align: center; }
.center .lead { max-width: 680px; margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-btn); color: var(--ink); }
.btn-gold:hover { background: #bf9838; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: var(--white); padding: 7px 16px; font-size: 12.5px; font-weight: 500; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--body);
  font-size: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--burgundy-deep);
  border-bottom: 2px solid var(--burgundy-deep);
  transform: rotate(-45deg);
}

/* Image frames — show a soft warm placeholder until the real image exists */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #efe3cd, #d8b98a);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame.is-missing img { visibility: hidden; }
.img-frame.is-missing::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 12px 10px 12px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.tone-1 { background: linear-gradient(135deg, #efe4d3, #cdbba2); }
.tone-2 { background: linear-gradient(135deg, #efe1d6, #c9a98f); }
.tone-3 { background: linear-gradient(135deg, #f0e2df, #c9b3b0); }
.tone-4 { background: linear-gradient(135deg, #f4eadb, #d6be9b); }

/* ==========================================================================
   Header / Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 820px;
  padding: 0;
  color: var(--white);
  background: linear-gradient(135deg, #5c0017 0%, var(--burgundy-mid) 55%, #b07a33 100%);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: transparent;
}
.hero-media img { object-position: 70% center; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(46, 0, 12, 0.55) 0%, rgba(46, 0, 12, 0) 140px),
    linear-gradient(90deg, rgba(92, 0, 23, 0.92) 0%, rgba(122, 10, 36, 0.68) 38%, rgba(122, 10, 36, 0) 65%);
  pointer-events: none;
}
.nav-links a { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 24px;
}
.logo { display: inline-flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo img { height: 72px; width: auto; }
.footer .logo img { height: 84px; }
.logo-word { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; }
.logo-sub { font-size: 9px; font-weight: 600; letter-spacing: 0.45em; opacity: 0.8; margin-top: 4px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  position: relative;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: 1.2px solid currentColor;
  border-radius: 50%;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-links .nav-contact { display: none; }
.nav-links a.active { font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: auto;
  background: currentColor;
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 120px 0 120px;
}
.hero-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  opacity: 0.85;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 15px;
  font-weight: 500;
}
.hero-pill .arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-btn);
  color: var(--ink);
}
.hero-text { margin-top: 26px; font-size: 15.5px; color: #fbf4e8; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.scroll-down {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: 36px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  color: var(--white);
}

/* ==========================================================================
   Introduction
   ========================================================================== */
.intro { position: relative; overflow: hidden; }
.intro .float {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.float-1 { width: 150px; height: 110px; left: 9%; top: 110px; }
.float-2 { width: 210px; height: 158px; left: 6%; top: 440px; }
.float-3 { width: 150px; height: 130px; right: 13%; top: 90px; z-index: 1; }
.float-4 { width: 175px; height: 220px; right: 6%; top: 170px; }

.intro-inner { position: relative; z-index: 2; max-width: 680px; margin-inline: auto; }
.intro-inner .lead + .lead { margin-top: 12px; }

.verticals-label {
  margin-top: 56px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.verticals { margin: 34px auto 0; max-width: 520px; text-align: left; }
.vertical {
  display: grid;
  grid-template-columns: 14px 32px 1fr;
  gap: 4px 6px;
  align-items: baseline;
  padding: 14px 0;
  color: #9b9b9b;
  transition: color 0.2s;
  cursor: default;
}
.vertical::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  align-self: start;
  margin-top: 0.85em;
}
.vertical .num { font-size: 13px; font-weight: 600; }
.vertical h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.vertical p { grid-column: 3; font-size: 13px; color: #b0b0b0; }
.vertical:hover,
.vertical.active { color: var(--ink); }
.vertical:hover h3,
.vertical.active h3 { font-weight: 600; }
.vertical:hover p,
.vertical.active p { color: var(--body); }
.intro .btn { margin-top: 34px; }

/* ==========================================================================
   Study in Malta
   ========================================================================== */
.malta { background: var(--sand); }
.malta-grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 60px;
  align-items: start;
}
.malta-photo { position: relative; height: 680px; border-radius: 20px; }
.malta-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
}
.malta-chip small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.malta-chip strong { font-size: 17px; font-weight: 600; }
.malta h3.subtitle { font-size: 30px; font-weight: 400; color: var(--burgundy-deep); letter-spacing: -0.015em; margin-top: 6px; }
.malta h4 { font-size: 18px; font-weight: 600; margin: 30px 0 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); }

.services-card {
  margin-top: 30px;
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-head h4 { margin: 0; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-gold { background: var(--gold-soft); color: var(--gold-deep); }
.badge-solid { background: var(--gold-btn); color: var(--ink); }
.services-card ul { columns: 2; column-gap: 24px; }
.services-card li { break-inside: avoid; font-size: 13.5px; }
.note { font-size: 11.5px; font-style: italic; color: var(--muted); margin-top: 8px; }
.malta .btn { margin-top: 28px; }

/* ==========================================================================
   Courses
   ========================================================================== */
.courses { background: var(--beige); }
.courses-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.courses-head .section-title { font-size: clamp(28px, 3.2vw, 36px); }
.courses-head .lead { max-width: 760px; margin-top: 12px; }
.link-arrow { font-size: 14px; font-weight: 600; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.course-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 10px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07); }
.course-card .img-frame { height: 150px; border-radius: 6px; }
.course-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.tag-malta { background: var(--gold-soft); color: var(--gold-deep); }
.tag-english { background: var(--gold-pale); color: #6b5a12; }
.tag-finishing { background: var(--burgundy-tint); color: #800020; }
.tag-skill { background: var(--clay); color: #8a3b2a; }

.course-body { display: flex; flex-direction: column; flex: 1; padding: 16px 10px 8px; }
.course-cat { font-size: 11px; font-weight: 500; color: var(--muted); }
.course-body h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.dot-list { margin-top: 12px; }
.dot-list li {
  position: relative;
  padding-left: 13px;
  font-size: 12.5px;
  color: var(--body);
  line-height: 1.7;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--burgundy);
}
.course-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.course-foot span { font-size: 13px; font-weight: 600; }
.course-body .dot-list { margin-bottom: 20px; }
/* Short lead paragraph on cards that need to state audience or positioning */
.course-intro {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--body);
}
/* Conditions line, e.g. placement assistance terms */
.course-note {
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--burgundy-deep);
}

.course-cta {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}
.course-cta .eyebrow { color: var(--gold); margin-bottom: 26px; }
.course-cta h3 { font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.course-cta p { margin-top: 20px; font-size: 14px; color: #bdbdbd; }
.course-cta .btn { margin-top: auto; align-self: flex-start; }
.courses .disclaimer { margin-top: 44px; text-align: center; font-size: 13px; font-style: italic; color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */
.service-group { margin-top: 64px; }
.service-group + .service-group { margin-top: 56px; }
.group-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 26px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 26px 24px 28px;
  border-radius: 14px;
  background: #faf8f4;
  border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
}
.service-card:hover { background: var(--white); border-color: var(--gold-light); }
.service-card .num { font-size: 30px; font-weight: 300; color: var(--burgundy); letter-spacing: -0.03em; }
.service-card h3 { font-size: 16px; font-weight: 600; margin-top: 18px; line-height: 1.3; }
.service-card p { font-size: 13px; color: var(--body); margin-top: 8px; }
.service-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: 14px;
  background: var(--gold-btn);
}
.service-cta h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.service-cta a { font-size: 14px; font-weight: 600; margin-top: 30px; }

/* ==========================================================================
   Specialities
   ========================================================================== */
.specialities { border-top: 1px solid var(--line); }
.specialities .intro-line { font-size: 14px; color: var(--body); margin-top: 10px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 32px;
  margin-top: 72px;
}
.spec .qmark { font-family: Georgia, "Times New Roman", serif; font-size: 48px; font-weight: 700; line-height: 0.6; color: var(--burgundy); }
.spec .qmark small { font-family: var(--font); }
.spec .qmark small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; vertical-align: top; }
.spec blockquote {
  margin: 22px 0 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
}
.spec mark { padding: 1px 2px; color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-yellow { background: var(--gold-pale); }
.hl-gold { background: var(--gold-soft); }
.hl-rose { background: var(--burgundy-tint); }
.spec-author { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; font-weight: 600; }
.spec-author span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--burgundy-deep);
  font-size: 12px;
  font-weight: 700;
}
.commitment { padding: 28px 24px; border-radius: 16px; background: var(--beige); align-self: start; }
.commitment small { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.commitment p { margin-top: 14px; font-size: 15px; font-weight: 500; line-height: 1.55; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { background: var(--beige); }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.partner {
  padding: 18px 18px 26px;
  border-radius: 14px;
  background: var(--white);
}
.partner-logo {
  display: grid;
  place-items: center;
  height: 80px;
  border-radius: 10px;
  background: #f4f2ec;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--burgundy-deep);
  overflow: hidden;
}
.partner-logo img { max-height: 56px; width: auto; object-fit: contain; }
.partner h3 { font-size: 15px; font-weight: 600; line-height: 1.35; margin-top: 22px; }
.partner p { font-size: 12.5px; color: var(--body); margin-top: 8px; }

.admission-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}
.admission-left { display: flex; flex-direction: column; padding: 22px 14px 14px; }
.admission-left h3 { font-size: 18px; font-weight: 600; }
.admission-left p { font-size: 13.5px; color: var(--body); margin-top: 10px; }
.admission-left .btn { margin-top: auto; align-self: flex-start; }
.admission-right { padding: 24px; border-radius: 14px; background: #f5f5f2; }
.admission-right ul { columns: 2; column-gap: 16px; }
.admission-right li { break-inside: avoid; font-size: 13px; }
.partners .disclaimer { margin-top: 26px; text-align: center; font-size: 12px; font-style: italic; color: var(--muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy p.lead { font-size: 15px; margin-top: 14px; }
.about-copy .lead:first-of-type { margin-top: 30px; }
.about-photo { height: 240px; border-radius: 14px; margin-top: 30px; }
.about-panel { padding: 20px; border-radius: 20px; background: var(--cream); }
.about-card { padding: 26px; border-radius: 14px; background: var(--white); }
.about-card + .about-card { margin-top: 16px; }
.about-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.about-card p { font-size: 14px; color: var(--body); }
.values { padding: 26px 6px 6px; }
.values h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.values .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
}
.chip.gold { background: var(--gold-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  padding: 90px 0 0;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.footer-mark {
  position: absolute;
  right: max(24px, calc((100% - var(--container)) / 2 + 40px));
  top: 90px;
  width: 340px;
  height: calc(100% - 186px);
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; max-width: 820px; }
.footer .logo { display: flex; width: fit-content; }
.footer .logo-sub { color: #8a8a8a; opacity: 1; letter-spacing: 0.3em; margin-top: 8px; }
.footer .logo-word { font-size: 44px; }
.footer .eyebrow { display: block; color: var(--gold); margin: 64px 0 14px; }
.footer h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.footer-text { margin-top: 18px; font-size: 15px; color: #bdbdbd; max-width: 640px; }

.enquiry { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.enquiry input {
  flex: 0 1 360px;
  min-width: 0;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #363636;
  background: #1c1c1c;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}
.enquiry input::placeholder { color: #777; }
.enquiry input:focus { outline: none; border-color: var(--gold-btn); }
.enquiry .btn { height: 50px; padding-inline: 28px; }
.form-msg { width: 100%; font-size: 13px; color: var(--gold); min-height: 1em; }

.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr 0.9fr;
  gap: 32px;
  margin-top: 56px;
  padding: 56px 0 64px;
  border-top: 1px solid #262626;
}
.footer-cols h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 20px; }
.footer-cols li { margin-bottom: 8px; font-size: 14px; color: #a3a3a3; }
.footer-cols a:hover { color: var(--white); }
.footer-cols .strong { color: var(--white); font-weight: 600; }
.footer-cols .phone { color: var(--gold); font-weight: 600; margin-top: 14px; }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 30px;
  border-top: 1px solid #262626;
  font-size: 13px;
  color: #7a7a7a;
}
.to-top { display: inline-flex; align-items: center; gap: 12px; color: #a3a3a3; }
.to-top .circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  color: var(--white);
}
.footer-legal { display: flex; gap: 40px; }
.footer-legal a:hover { color: var(--white); }

/* Floating WhatsApp */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.whatsapp:hover { transform: scale(1.06); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .logo img { height: 60px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .float { display: none; }
  .malta-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .malta-photo { height: 620px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-mark { opacity: 0.5; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute;
    top: 98px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    border-radius: 16px;
    background: #4a0013;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    display: none;
  }
  .nav { z-index: 10; }
  .nav-links a { opacity: 1; text-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-contact { display: block; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0 12px 16px; font-size: 15px; }
  .course-grid,
  .service-grid,
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .malta-grid,
  .about-grid { grid-template-columns: 1fr; }
  .malta-photo { height: 460px; }
  .admission-box { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-mark { display: none; }

  /* Hero: photo sits behind all the text, so darken it evenly for readability */
  .hero { min-height: 0; }
  .hero-media img { object-position: 72% center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(74, 0, 19, 0.74) 0%, rgba(98, 6, 30, 0.64) 50%, rgba(74, 0, 19, 0.82) 100%);
  }
  .hero-content { padding: 90px 0 110px; }
  .scroll-down { display: none; }
  .malta h3.subtitle { font-size: 24px; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .container { width: calc(100% - 40px); }
  .section-title { font-size: 30px; }
  .lead { font-size: 15px; }

  .nav { padding-top: 20px; }
  .logo img { height: 50px; }
  .footer .logo img { height: 58px; }
  .nav-links { top: 80px; }

  .hero-content { padding: 56px 0 72px; }
  .hero-tagline { font-size: 11px; letter-spacing: 0.2em; }
  .hero h1 { font-size: 42px; margin-top: 16px; }
  .hero-pill { margin-top: 24px; padding: 6px 6px 6px 16px; gap: 10px; font-size: 13px; line-height: 1.35; }
  .hero-pill .arrow { flex-shrink: 0; width: 32px; height: 32px; }
  .hero-text { font-size: 14.5px; margin-top: 20px; }
  .hero-ctas { margin-top: 26px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .verticals-label { margin-top: 44px; }
  .verticals { margin-top: 20px; }
  .vertical { grid-template-columns: 12px 28px 1fr; padding: 12px 0; }
  .vertical h3 { font-size: 20px; }

  .malta-photo { height: 360px; border-radius: 16px; }
  .malta h3.subtitle { font-size: 20px; }
  .tag { font-size: 12.5px; padding: 6px 14px 6px 11px; }
  .services-card { padding: 22px 20px; }
  .services-card ul,
  .admission-right ul { columns: 1; }
  .malta .btn,
  .admission-left .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }

  /* Courses: swipeable row instead of 12 stacked cards */
  .courses-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .course-grid {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding: 4px 20px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .course-grid::-webkit-scrollbar { display: none; }
  .course-card,
  .course-cta { flex: 0 0 82%; scroll-snap-align: start; }
  .course-card:hover { transform: none; box-shadow: none; }
  .courses .swipe-hint { display: flex; }
  .courses .disclaimer { margin-top: 20px; }

  .service-group { margin-top: 44px; }
  .group-title { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; padding: 20px; }
  .service-card .num { grid-row: span 2; font-size: 24px; line-height: 1.1; }
  .service-card h3 { margin-top: 0; font-size: 15.5px; }
  .service-cta { padding: 22px 20px; }
  .service-cta h3 { font-size: 20px; }
  .service-cta a { margin-top: 14px; }

  .spec-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .spec blockquote { font-size: 15.5px; margin-top: 14px; }

  .partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .partner { padding: 12px 12px 18px; }
  .partner-logo { height: 60px; font-size: 18px; }
  .partner h3 { font-size: 14px; margin-top: 14px; }
  .partner p { font-size: 12px; }
  .admission-box { padding: 12px; margin-top: 32px; }
  .admission-left { padding: 14px 10px 10px; }
  .admission-left .btn { margin-top: 20px; }
  .admission-right { padding: 18px; }
  .admission-right .card-head { flex-wrap: wrap; }

  .about-grid { gap: 40px; }
  .about-photo { height: 200px; }
  .about-panel { padding: 12px; }
  .about-card { padding: 22px 20px; }
  .values { padding: 22px 8px 8px; }

  .footer { padding-top: 64px; }
  .footer .logo-word { font-size: 36px; }
  .footer .eyebrow { margin-top: 44px; }
  .footer-text { font-size: 14.5px; }
  .enquiry input { flex: 1 1 100%; }
  .enquiry .btn { width: 100%; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; margin-top: 44px; padding: 44px 0 48px; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .footer-cols h4 { margin-bottom: 14px; }
  .footer-cols li { font-size: 13.5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 90px; }
  .footer-legal { gap: 20px; }

  .whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .partner-grid { grid-template-columns: 1fr; }
}

/* Swipe hint (mobile only) */
.swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
