/* =========================================================
   SIA WEBSITE — SHARED STYLESHEET
   Sugar Industry Authority of Jamaica
   ========================================================= */

:root {
  --sia-green: #1f7a3a;
  --sia-green-dark: #15582a;
  --sia-gold: #f2b705;
  --sia-gold-dark: #d99b00;
  --sia-red: #c8102e;
  --sia-black: #111111;
  --sia-charcoal: #2a2a2a;
  --sia-grey: #6b6b6b;
  --sia-light: #f5f5f3;
  --sia-white: #ffffff;
  --sia-accent-blue: #2a9fd6;

  --font-display: 'Poppins', Georgia, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sia-charcoal);
  background: var(--sia-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--sia-black); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background: var(--sia-white);
  color: var(--sia-black);
  padding: 10px 0;
  position: relative;
}
.top-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sia-green) 0%, var(--sia-green) 50%, var(--sia-gold) 50%, var(--sia-gold) 100%);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-bar .ministry,
.top-bar .gov {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.top-bar .tb-crest {
  height: 44px;
  width: auto;
  display: inline-block;
}
.top-bar .tb-flag {
  height: 40px;
  width: auto;
  display: inline-block;
}

/* =========================================================
   HEADER / NAV (with dropdowns) — BLACK WITH WHITE TEXT
   ========================================================= */
.site-header {
  background: var(--sia-black);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img {
  height: 60px;
  width: auto;
  background: var(--sia-white);
  border-radius: 8px;
  padding: 4px 8px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--sia-white); }

.main-nav > ul {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--sia-white);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active,
.main-nav > ul > li:hover > a {
  color: var(--sia-gold);
  background: rgba(255,255,255,0.08);
}
.main-nav .has-dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.main-nav .has-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--sia-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--sia-green);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 101;
}
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { width: 100%; }
.dropdown a {
  display: block;
  padding: 10px 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--sia-charcoal);
  border-left: 3px solid transparent;
}
.dropdown a:hover,
.dropdown a.active {
  background: rgba(31,122,58,0.06);
  border-left-color: var(--sia-gold);
  color: var(--sia-green-dark);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold { background: var(--sia-gold); color: var(--sia-black); }
.btn-gold:hover { background: var(--sia-gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--sia-black); border: 2px solid var(--sia-black); }
.btn-outline:hover { background: var(--sia-black); color: var(--sia-white); }
.btn-green { background: var(--sia-green); color: var(--sia-white); }
.btn-green:hover { background: var(--sia-green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =========================================================
   HOMEPAGE — HERO (now a slideshow)
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--sia-white);
  overflow: hidden;
  border-bottom-left-radius: 50% 80px;
  border-bottom-right-radius: 50% 80px;
}

/* Slideshow layer — all slides stacked, fade between */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 21s infinite;
  transform: scale(1.05);
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.2) 100%);
}
/* 3 slides — each visible for ~7 seconds with a 1s crossfade */
.hero-slide:nth-child(1) { background-image: url('../images/home/hero-canefield.jpg'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('../images/home/hero-2.jpg'); animation-delay: 7s; }
.hero-slide:nth-child(3) { background-image: url('../images/home/hero-3.jpg'); animation-delay: 14s; }

@keyframes heroFade {
  0%       { opacity: 0; transform: scale(1.05); }
  5%       { opacity: 1; transform: scale(1.05); }
  29%      { opacity: 1; transform: scale(1.10); }
  33%      { opacity: 0; transform: scale(1.10); }
  100%     { opacity: 0; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; transform: none; }
  .hero-slide:nth-child(2),
  .hero-slide:nth-child(3) { opacity: 0; }
}

.hero > .container {
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 800px; padding: 100px 0; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--sia-white);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  line-height: 1.15;
}
.hero p {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  margin-bottom: 32px;
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* =========================================================
   PAGE BANNER (subpages)
   ========================================================= */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sia-white);
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('../images/banners/page-banner-cane.jpg');
  background-size: cover;
  background-position: center;
}
.page-banner h1 {
  color: var(--sia-white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 40px 20px;
}
.breadcrumb {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.breadcrumb a { color: var(--sia-gold); font-weight: 600; }
.breadcrumb a:hover { color: var(--sia-white); }

/* =========================================================
   WELCOME SECTION
   ========================================================= */
.welcome { padding: 80px 0; background: var(--sia-white); }
.welcome-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.welcome-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background-image: url('../images/home/welcome-agritech.jpg');
  background-size: cover;
  background-position: center;
}
.welcome-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
}
.welcome-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}
.welcome-copy h2::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 60px; height: 3px; background: var(--sia-gold);
}
.welcome-copy p { margin-bottom: 16px; color: var(--sia-charcoal); }
.welcome-copy .btn { margin-top: 12px; }

/* When welcome is on its own page without heading */
.welcome.standalone .welcome-copy h2 { display: none; }

/* =========================================================
   MISSION / VISION
   ========================================================= */
.mv-band {
  position: relative;
  padding: 90px 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('../images/home/mission-vision-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.mv-band.plain {
  background: var(--sia-white);
  padding: 90px 0 120px;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  padding: 56px 44px;
  border-radius: var(--radius-md);
  color: var(--sia-white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}
.mv-card:hover { transform: translateY(-6px); }
.mv-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 26px;
}
.mv-card h3 {
  color: var(--sia-white);
  font-size: 1.9rem;
  margin-bottom: 16px;
}
.mv-card p { font-size: 1.05rem; line-height: 1.7; }
.mv-mission { background: var(--sia-green); }
.mv-vision { background: var(--sia-gold); color: var(--sia-black); }
.mv-vision h3 { color: var(--sia-black); }
.mv-vision .icon { background: rgba(0,0,0,0.1); color: var(--sia-black); }

/* =========================================================
   MANDATES & OBJECTIVES
   ========================================================= */
.mandates { padding: 90px 0; background: var(--sia-white); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 20px;
}
.section-title::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 3px; background: var(--sia-gold);
}
.mandates-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mandate-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: start;
}
.mandate-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sia-accent-blue);
  color: var(--sia-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(42,159,214,0.35);
}
.mandate-item h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--sia-black); }
.mandate-item p { color: var(--sia-charcoal); }
.mandate-item p strong { color: var(--sia-green-dark); }

/* =========================================================
   HISTORY SECTION
   ========================================================= */
.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.history-copy {
  background: var(--sia-red);
  color: var(--sia-white);
  padding: 72px 72px 72px calc((100vw - var(--container)) / 2 + 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.history-copy h2 {
  color: var(--sia-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}
.history-copy h3 {
  color: var(--sia-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: var(--font-body);
  opacity: 0.95;
}
.history-copy p { margin-bottom: 14px; font-size: 0.98rem; line-height: 1.7; }
.history-copy p strong { color: var(--sia-white); }
.history-copy .btn {
  align-self: flex-start;
  margin-top: 16px;
  background: var(--sia-white);
  color: var(--sia-red);
}
.history-copy .btn:hover { background: var(--sia-gold); color: var(--sia-black); }
.history-image {
  background-image: url('../images/home/history-cane.jpg');
  background-size: cover;
  background-position: center;
}
.history-image.palms {
  background-image: url('../images/home/history-palms.jpg');
}

/* =========================================================
   CURRENT STATE
   ========================================================= */
.current-state { padding: 90px 0; background: var(--sia-light); }
.current-state .content {
  max-width: 880px;
  margin: 0 auto;
}
.current-state h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}
.current-state h2::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 3px; background: var(--sia-gold);
}
.current-state p { margin-bottom: 18px; }
.current-state h3 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sia-gold);
  display: inline-block;
}
.initiative { margin-bottom: 24px; }
.initiative strong { display: block; color: var(--sia-green-dark); font-size: 1.05rem; margin-bottom: 4px; }

/* =========================================================
   BOARD MEMBERS
   ========================================================= */
.board { padding: 90px 0; background: var(--sia-white); }
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.board-member {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--sia-light);
  transition: all 0.3s ease;
}
.board-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.board-member .avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--sia-green);
  color: var(--sia-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  border: 4px solid var(--sia-gold);
}
.board-member .avatar i { font-size: 2.8rem; }
.board-member h3 { font-size: 1.2rem; margin-bottom: 8px; }
.board-member p { font-size: 0.9rem; color: var(--sia-grey); line-height: 1.5; }

/* =========================================================
   INDUSTRY ASSOCIATES
   ========================================================= */
.associates {
  position: relative;
  padding: 90px 0;
  color: var(--sia-white);
  text-align: center;
  background-image:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/home/associates-palms.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.associates h2 {
  color: var(--sia-white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 40px;
}
.associates-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.associates-logos .logo-placeholder {
  width: 140px; height: 80px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; opacity: 0.7;
}

/* =========================================================
   GENERIC PAGE CONTENT
   ========================================================= */
.page-content { padding: 80px 0; }
.page-content.lighter { background: var(--sia-light); }
.page-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 14px;
}
.page-content h2::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 60px; height: 3px; background: var(--sia-gold);
}
.page-content h3 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--sia-green-dark); }
.page-content p { margin-bottom: 16px; }
.page-content ul { margin: 0 0 20px 20px; }
.page-content ul li { margin-bottom: 8px; }
.page-content .intro { max-width: 880px; margin: 0 auto 48px; }
.page-content .wrap { max-width: 980px; margin: 0 auto; }

/* =========================================================
   CARD GRID (generic)
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--sia-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--sia-light) center/cover no-repeat;
  position: relative;
}
.card-thumb.cane {
  background-image:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)),
    url('../images/banners/page-banner-cane.jpg');
}
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--sia-green);
  color: var(--sia-white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-badge.gold { background: var(--sia-gold); color: var(--sia-black); }
.card-badge.red { background: var(--sia-red); color: var(--sia-white); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body .meta {
  font-size: 13px; color: var(--sia-grey);
  margin-bottom: 10px;
  display: flex; gap: 12px;
}
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--sia-black); }
.card-body p { font-size: 0.95rem; margin-bottom: 16px; color: var(--sia-charcoal); flex: 1; }
.card-body .card-link {
  color: var(--sia-green-dark);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-body .card-link:hover { color: var(--sia-gold-dark); gap: 10px; }

/* Division card — lighter theme */
.division-card {
  padding: 36px 28px;
  text-align: center;
  background: var(--sia-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sia-green);
  transition: all 0.3s ease;
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--sia-gold); }
.division-card .icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(31,122,58,0.1);
  color: var(--sia-green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.division-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.division-card p { font-size: 0.95rem; color: var(--sia-grey); margin-bottom: 18px; }

/* =========================================================
   SIATI — COURSE CARDS & STREAM SECTIONS
   ========================================================= */
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--sia-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  text-align: left;
  transition: all 0.3s ease;
  color: var(--sia-charcoal);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sia-green);
}
.course-card .course-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sia-green-dark), var(--sia-green));
  color: var(--sia-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.course-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--sia-black);
  line-height: 1.3;
}
.course-card p {
  font-size: 0.92rem;
  color: var(--sia-grey);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.55;
}
.course-card .course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sia-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}
.course-card:hover .course-link { gap: 10px; color: var(--sia-gold-dark); }

.stream-section {
  background: var(--sia-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.stream-header {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.stream-header .stream-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sia-gold), var(--sia-gold-dark));
  color: var(--sia-black);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.stream-header h3 {
  font-size: 1.6rem;
  margin: 0 0 4px;
  color: var(--sia-black);
}
.stream-header p {
  margin: 0;
  color: var(--sia-grey);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .stream-section { padding: 28px 20px; }
  .stream-header { flex-direction: column; text-align: center; gap: 12px; }
  .stream-header .stream-icon { margin: 0 auto; }
}

/* =========================================================
   STAFF / TEAM CARDS
   ========================================================= */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.staff-card {
  background: var(--sia-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  padding-bottom: 24px;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.staff-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--sia-light);
  background-size: cover;
  background-position: 50% 15% !important;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  position: relative;
}
.staff-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sia-green) 0%, var(--sia-green-dark) 100%);
  color: var(--sia-white);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
}
.staff-card h3 { font-size: 1.15rem; margin-bottom: 4px; padding: 0 16px; }
.staff-card .role { font-size: 0.9rem; color: var(--sia-green-dark); font-weight: 600; margin-bottom: 12px; padding: 0 16px; }
.staff-card .bio { font-size: 0.88rem; color: var(--sia-charcoal); padding: 0 16px; margin-bottom: 14px; line-height: 1.55; }
.staff-card .contact { font-size: 0.85rem; color: var(--sia-grey); padding: 0 16px; }
.staff-card .contact a { color: var(--sia-green-dark); }
.staff-card .contact div { margin-bottom: 4px; }

/* =========================================================
   TABLES
   ========================================================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sia-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.data-table thead { background: var(--sia-green); color: var(--sia-white); }
.data-table th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(31,122,58,0.04); }
.data-table .price { font-weight: 700; color: var(--sia-green-dark); }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* =========================================================
   DOCUMENT LIST
   ========================================================= */
.doc-list { list-style: none; margin: 0; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--sia-white);
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.doc-item:hover { border-color: var(--sia-green); background: rgba(31,122,58,0.02); }
.doc-item .doc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--sia-red);
  color: var(--sia-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.doc-item .doc-icon.xls { background: #107c41; }
.doc-item .doc-icon.doc { background: #2b579a; }
.doc-item .doc-icon.img { background: var(--sia-gold); color: var(--sia-black); }
.doc-item .doc-info { flex: 1; }
.doc-item .doc-info h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 2px; color: var(--sia-black); }
.doc-item .doc-info p { font-size: 0.85rem; color: var(--sia-grey); margin: 0; }
.doc-item .doc-btn {
  background: var(--sia-green);
  color: var(--sia-white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.doc-item .doc-btn:hover { background: var(--sia-green-dark); }

/* Course meta pills (on course detail pages) */
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.course-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--sia-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sia-charcoal);
}
.course-meta-pill i { color: var(--sia-green-dark); }

/* =========================================================
   FORMS
   ========================================================= */
.form-wrap {
  background: var(--sia-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
}
.form-wrap h2,
.form-wrap h3,
.form-wrap label,
.form-wrap p {
  font-family: var(--font-body);
}
.form-wrap h2 {
  font-family: var(--font-display);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--sia-charcoal);
  font-family: var(--font-body);
}
.form-group label .req { color: var(--sia-red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--sia-charcoal);
  background: var(--sia-white);
  transition: border 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--sia-green);
  box-shadow: 0 0 0 3px rgba(31,122,58,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--sia-grey); margin-top: 20px; }

/* Vertical radio/checkbox groups for professional layout */
.form-group .option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.form-group .option-list label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.form-group .option-list label:hover {
  border-color: var(--sia-green);
  background: rgba(31,122,58,0.03);
}
.form-group .option-list input[type="checkbox"],
.form-group .option-list input[type="radio"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--sia-green);
}
.form-group .option-list.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}

/* Form section header */
.form-section-title {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sia-gold);
  font-size: 1.25rem !important;
  color: var(--sia-green-dark);
}
.form-section-title:first-of-type { margin-top: 0; }
.form-section-title .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--sia-green);
  color: var(--sia-white);
  border-radius: 50%;
  font-size: 14px;
  margin-right: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}

/* Required field legend */
.required-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--sia-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--sia-charcoal);
  margin-bottom: 32px;
}
.required-legend .req { color: var(--sia-red); font-weight: 700; }

/* Form feedback (success / error) */
.form-feedback {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}
.form-feedback.success {
  background: rgba(31,122,58,0.08);
  border-left: 4px solid var(--sia-green);
  color: var(--sia-green-dark);
}
.form-feedback.error {
  background: rgba(200,16,46,0.06);
  border-left: 4px solid var(--sia-red);
  color: var(--sia-red);
}
.form-feedback.loading {
  background: rgba(242,183,5,0.1);
  border-left: 4px solid var(--sia-gold);
  color: var(--sia-charcoal);
}

/* =========================================================
   INFO BOXES
   ========================================================= */
.info-box {
  background: var(--sia-light);
  border-left: 4px solid var(--sia-green);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.info-box h4 { font-family: var(--font-body); font-size: 1rem; color: var(--sia-green-dark); margin-bottom: 8px; }
.info-box p { margin: 0; font-size: 0.95rem; }
.info-box.gold { border-left-color: var(--sia-gold); }
.info-box.red { border-left-color: var(--sia-red); }

/* =========================================================
   CONTACT BLOCKS
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.contact-item .ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sia-green);
  color: var(--sia-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 4px; color: var(--sia-black); }
.contact-item p { margin: 0; font-size: 0.95rem; color: var(--sia-charcoal); }
.contact-item a { color: var(--sia-green-dark); }
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  background: var(--sia-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--sia-grey);
  font-style: italic;
  border: 1px solid #eee;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   TABS / SECTION SWITCHER
   ========================================================= */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.tab-nav a {
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--sia-charcoal);
  border-radius: var(--radius-sm);
  background: var(--sia-light);
  transition: all 0.2s ease;
}
.tab-nav a:hover, .tab-nav a.active {
  background: var(--sia-green);
  color: var(--sia-white);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--sia-white);
  border-top: 4px solid var(--sia-green);
  padding: 64px 0 0;
  color: var(--sia-charcoal);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-green-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.95rem; }
.footer-col a:hover { color: var(--sia-green); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sia-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--sia-charcoal);
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--sia-green); color: var(--sia-white); transform: translateY(-2px); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #e5e5e3;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sia-grey);
}
.footer-bottom .footer-logo { height: 48px; margin: 0 auto 10px; }
.footer-bottom a { color: var(--sia-green-dark); font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1400px) {
  .main-nav a { padding: 9px 7px; font-size: 12px; }
}
@media (max-width: 1280px) {
  .main-nav a { font-size: 11px; padding: 8px 5px; gap: 3px; }
  .main-nav .has-dropdown > a::after { font-size: 9px; }
  .logo img { height: 52px; }
}
@media (max-width: 1100px) {
  .main-nav a { font-size: 10.5px; padding: 7px 4px; }
  .logo img { height: 48px; }
  .site-header .container { gap: 8px; }
}
@media (max-width: 1000px) {
  .main-nav a { font-size: 10px; padding: 6px 3px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; font-size: 26px; z-index: 1002; position: relative; }
  .nav-toggle i { transition: transform 0.25s ease; }

  /* Drawer slides from right */
  .main-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--sia-black);
    box-shadow: -8px 0 30px rgba(0,0,0,0.35);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 70px;
    max-height: none;
  }
  .main-nav.open { transform: translateX(0); }

  /* Overlay behind the drawer */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 1000;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  /* Close button inside drawer */
  .nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.08);
    color: var(--sia-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }
  .nav-close:hover { background: rgba(255,255,255,0.16); }

  .main-nav > ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 12px 16px 24px;
  }
  .main-nav > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--sia-white);
    border-radius: 8px;
    font-weight: 600;
  }
  .main-nav a:hover { background: rgba(255,255,255,0.06); }
  .main-nav > ul > li > a.active { background: rgba(242,183,5,0.18); color: var(--sia-gold); }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: 0;
    border-left: 3px solid var(--sia-gold);
    margin: 4px 0 8px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 4px 0;
    background: rgba(255,255,255,0.04);
    border-radius: 0 8px 8px 0;
  }
  .dropdown a {
    color: rgba(255,255,255,0.85);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
  }
  .dropdown a:hover, .dropdown a.active {
    background: rgba(242,183,5,0.15);
    color: var(--sia-gold);
  }
  .has-dropdown.open .dropdown { display: block; }

  .main-nav .has-dropdown > a::after {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.25s ease;
  }
  .main-nav .has-dropdown.open > a::after { transform: rotate(180deg); }

  /* Prevent body scroll when menu is open */
  body.nav-open { overflow: hidden; }
}
}
@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    display: flex;
    flex-direction: column;
  }
  /* On mobile: heading + text shows FIRST, image SECOND (visual break before next section) */
  .welcome-grid .welcome-copy { order: 1; }
  .welcome-grid .welcome-image {
    order: 2;
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }
  .mv-grid, .history, .board-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .history-copy { padding: 56px 24px; }
  .mv-band, .associates { background-attachment: scroll; }
  .hero { min-height: 90svh; min-height: 90vh; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    border-radius: 0 0 30px 30px;
  }
  .hero-content { padding: 60px 0; }
  .welcome { padding: 60px 0; }
  .mandate-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .mandate-num { width: 40px; height: 40px; font-size: 1rem; }
  .board-grid { grid-template-columns: 1fr; }
  .page-banner { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .doc-item { flex-wrap: wrap; }
  .top-bar { padding: 8px 0; }
  .top-bar .tb-crest { height: 32px; }
  .top-bar .tb-flag { height: 28px; }
  .logo img { height: 48px; }
}


/* =========================================================
   SCROLL FADE-IN ANIMATIONS
   ========================================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="fade"] { transform: none; }
[data-animate="left"] { transform: translateX(-32px); }
[data-animate="left"].is-visible { transform: translateX(0); }
[data-animate="right"] { transform: translateX(32px); }
[data-animate="right"].is-visible { transform: translateX(0); }
[data-animate="scale"] { transform: scale(0.94); }
[data-animate="scale"].is-visible { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   HOMEPAGE STAT BLOCK
   (sits above the Welcome section)
   ========================================================= */
.stat-block {
  background: var(--sia-white);
  padding: 56px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  margin-top: -1px;
}
.stat-block .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-item {
  position: relative;
  padding: 0 16px;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 20%;
  height: 60%;
  width: 1px;
  background: #e5e5e3;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--sia-green-dark);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sia-charcoal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stat-block { padding: 40px 0; }
  .stat-block .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .stat-item:nth-child(2n)::after { display: none; }
  .stat-label { font-size: 11px; letter-spacing: 0.5px; }
}

/* =========================================================
   HERO SLIDESHOW (3 images, smooth crossfade)
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--sia-white);
  overflow: hidden;
  border-bottom-left-radius: 50% 80px;
  border-bottom-right-radius: 50% 80px;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 21s infinite;
  transform: scale(1.05);
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
}
/* 3 slides — 7-second cycle each. Total cycle 21s. */
.hero-slide:nth-child(1) {
  background-image: url('../images/home/hero-canefield.jpg');
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  background-image: url('../images/home/hero-2.jpg');
  animation-delay: 7s;
}
.hero-slide:nth-child(3) {
  background-image: url('../images/home/hero-3.jpg');
  animation-delay: 14s;
}

@keyframes heroFade {
  0%       { opacity: 0; transform: scale(1.05); }
  4%       { opacity: 1; transform: scale(1.05); }
  29%      { opacity: 1; transform: scale(1.12); }
  33%      { opacity: 0; transform: scale(1.12); }
  100%     { opacity: 0; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-slide:nth-child(2),
  .hero-slide:nth-child(3) { opacity: 0; }
}

.hero > .container {
  position: relative;
  z-index: 2;
}

/* Hero entrance animation — text fades up on load */
.hero h1, .hero p, .hero .btn {
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out forwards;
}
.hero h1 { animation-delay: 0.1s; }
.hero p  { animation-delay: 0.35s; }
.hero .btn { animation-delay: 0.6s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p, .hero .btn { opacity: 1; animation: none; }
}

/* =========================================================
   PRINT STYLES
   ========================================================= */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body { font-family: Georgia, 'Times New Roman', serif; font-size: 11pt; line-height: 1.5; }

  /* Hide chrome */
  .top-bar,
  .site-header,
  .hero-bg,
  .nav-toggle,
  .footer-social,
  .site-footer .footer-grid,
  .tab-nav,
  .btn,
  .doc-btn,
  .construction-banner,
  .form-feedback,
  iframe,
  [data-animate] { opacity: 1 !important; transform: none !important; }

  .top-bar,
  .site-header,
  .nav-toggle,
  .footer-social,
  .site-footer .footer-grid,
  .tab-nav,
  .btn,
  .doc-btn,
  .construction-banner,
  iframe { display: none !important; }

  /* Print-friendly layout */
  .page-banner {
    min-height: auto;
    padding: 12pt 0;
    border-bottom: 1pt solid #000;
  }
  .page-banner h1 { color: #000 !important; font-size: 20pt; padding: 0; }
  .breadcrumb { display: none; }

  .hero {
    min-height: auto;
    border-radius: 0;
    border-bottom: 1pt solid #000;
    padding: 12pt 0;
  }
  .hero h1 { font-size: 20pt; color: #000 !important; }
  .hero p { font-size: 12pt; }

  .container { max-width: 100% !important; padding: 0 !important; }
  .page-content { padding: 12pt 0 !important; }

  h1, h2, h3, h4 { page-break-after: avoid; color: #000 !important; }
  p, li { orphans: 3; widows: 3; }

  /* Show link URLs after the link text */
  .page-content a[href^="http"]::after,
  .page-content a[href^="mailto:"]::after,
  .page-content a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }

  /* Site footer minimal */
  .site-footer { border-top: 1pt solid #000; padding: 12pt 0; }
  .footer-bottom { padding: 0; }
  .footer-bottom .footer-logo { display: none; }
}


/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55);
}
.whatsapp-float i { line-height: 1; }
.whatsapp-float .wa-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--sia-black);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float .wa-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--sia-black);
}
.whatsapp-float:hover .wa-label { opacity: 1; }

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 27px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float .wa-label { display: none; }
}

@media print {
  .whatsapp-float { display: none !important; }
}


/* =========================================================
   APP ICON TRAY (mobile quick-nav)
   ========================================================= */
.app-tray {
  background: linear-gradient(180deg, var(--sia-light) 0%, var(--sia-white) 100%);
  padding: 32px 0;
  border-bottom: 1px solid #e8e8e6;
}
.app-tray h2 {
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  margin-bottom: 6px;
  color: var(--sia-black);
}
.app-tray .tray-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--sia-grey);
  margin-bottom: 24px;
}
.app-tray .tray-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 8px;
  background: var(--sia-white);
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid #ececec;
  transition: all 0.25s ease;
  text-align: center;
  min-height: 110px;
  position: relative;
}
.app-tile:hover,
.app-tile:focus {
  transform: translateY(-4px);
  border-color: var(--sia-green);
  box-shadow: 0 10px 24px rgba(31,122,58,0.12);
  text-decoration: none;
}
.app-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sia-green) 0%, var(--sia-green-dark) 100%);
  color: var(--sia-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(31,122,58,0.25);
  transition: transform 0.25s ease;
}
.app-tile:hover .app-tile-icon,
.app-tile:focus .app-tile-icon { transform: scale(1.08); }

.app-tile-icon.gold {
  background: linear-gradient(135deg, var(--sia-gold) 0%, var(--sia-gold-dark) 100%);
  color: var(--sia-black);
  box-shadow: 0 4px 10px rgba(242,183,5,0.35);
}
.app-tile-icon.dark {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--sia-black) 100%);
  color: var(--sia-white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.app-tile-icon.whatsapp {
  background: #25D366;
  color: var(--sia-white);
  box-shadow: 0 4px 10px rgba(37,211,102,0.4);
}

.app-tile-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sia-charcoal);
  line-height: 1.25;
}

@media (max-width: 900px) {
  .app-tray .tray-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .app-tile { padding: 16px 6px; min-height: 100px; border-radius: 14px; }
  .app-tile-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 8px; }
  .app-tile-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .app-tray { padding: 24px 0; }
  .app-tray .tray-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
