/*
Theme Name: CamLoc Education
Theme URI: https://camloceducation.com.au
Author: CamLoc Education
Description: Premium WordPress theme prototype for CamLoc Education.
Version: 0.1.25
Text Domain: camloc-education
*/

:root {
  --camloc-blue: #0a5da8;
  --camloc-navy: #14365d;
  --camloc-light: #eaf5ff;
  --camloc-mist: #f5faff;
  --camloc-gold: #d8a93b;
  --camloc-ink: #172033;
  --shadow-soft: 0 18px 45px rgba(20, 54, 93, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--camloc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}
.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-logo { height: 58px; width: auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #dbe3ef; border-radius: 999px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 999px; background: var(--camloc-navy); }
.nav, .nav ul { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; color: #475569; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav a:hover { color: var(--camloc-blue); }

.nav a.nav-highlight-koobits {
  color: #f97316;
  font-weight: 950;
}
.nav a.nav-highlight-koobits:hover {
  color: #ea580c;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 14px;
}
.btn-primary { background: var(--camloc-blue); color: #fff; box-shadow: var(--shadow-soft); }
.btn-secondary { border: 1px solid rgba(10, 93, 168, 0.22); background: #fff; color: var(--camloc-navy); }

.hero { padding: 76px 0 38px; background: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; align-items: center; gap: 48px; }
.eyebrow { color: var(--camloc-blue); text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; font-weight: 900; }
.hero h1 { margin: 18px 0 0; font-size: clamp(42px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.04em; }
.lead { margin: 24px 0 0; color: #526179; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.image-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--camloc-light);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.trust-strip { border-block: 1px solid #e2e8f0; background: var(--camloc-mist); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 18px 0; }
.trust-pill { border-radius: 999px; background: #fff; padding: 13px 16px; text-align: center; color: var(--camloc-navy); font-weight: 800; font-size: 13px; box-shadow: 0 4px 18px rgba(20, 54, 93, 0.06); }

.section { padding: 72px 0; }
.trial-home-section { padding: 42px 0 0; }
.trial-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  border: 1px solid #dbe7f3;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(10, 93, 168, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 42px);
}
.trial-copy h2 { margin: 8px 0 0; color: var(--camloc-navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.035em; }
.trial-copy p:not(.eyebrow) { color: #526179; line-height: 1.7; }
.trial-copy .trial-date {
  display: inline-flex;
  margin: 18px 0 6px;
  border-radius: 999px;
  background: var(--camloc-blue);
  color: #fff !important;
  padding: 9px 14px;
  font-weight: 900;
}
.trial-copy ul { margin: 14px 0 18px; padding-left: 20px; color: #526179; line-height: 1.65; }
.trial-image {
  overflow: hidden;
  border: 1px solid #dbe7f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 54, 93, 0.12);
}
.trial-image img { width: 100%; height: auto; }
.timetable-trial-card { margin-bottom: 28px; }
.timetable-home-section { padding: 32px 0 0; }
.timetable-home-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #dbe7f3;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f1f8ff 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 38px);
}
.timetable-home-card h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.025em; }
.timetable-home-card p:not(.eyebrow) { margin: 12px 0 0; max-width: 720px; color: #64748b; line-height: 1.65; }
.section.mist { background: var(--camloc-mist); }
.page-hero { padding: 78px 0 54px; background: linear-gradient(180deg, #fff 0%, var(--camloc-mist) 100%); }
.page-hero h1 { margin: 14px 0 0; max-width: 880px; font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.page-hero p { max-width: 820px; }
.section-header { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-header h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; }
.section-header p { color: #64748b; font-size: 18px; line-height: 1.7; }
.program-container { width: min(100% - 40px, 1640px); }
.program-container.program-count-1 { width: min(100% - 40px, 460px); }
.program-container.program-count-2 { width: min(100% - 40px, 980px); }
.feature-grid, .program-grid, .educator-grid, .detail-grid, .contact-grid, .list-grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.program-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.educator-grid { grid-template-columns: repeat(3, 1fr); }
.detail-grid { grid-template-columns: repeat(2, 1fr); }
.contact-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
.list-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 54, 93, 0.05);
  overflow: hidden;
}
.feature-card { padding: 26px; }
.feature-icon { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: var(--camloc-light); color: var(--camloc-blue); font-weight: 900; }
.card h3 { margin: 18px 0 0; color: var(--camloc-ink); }
.card p { color: #64748b; line-height: 1.65; }
.program-image { aspect-ratio: 4 / 3; background: var(--camloc-light); }
.program-image img { width: 100%; height: 100%; object-fit: cover; }
.program-body { padding: 22px; display: flex; min-height: 250px; flex-direction: column; }
.program-year { color: var(--camloc-blue); font-weight: 900; font-size: 13px; }
.program-body .btn { align-self: flex-start; margin-top: auto; }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge { border-radius: 999px; background: var(--camloc-light); color: var(--camloc-navy); padding: 7px 10px; font-size: 12px; font-weight: 800; }
.educator-photo { min-height: 0; display: grid; place-items: center; margin: 18px 18px 0; overflow: visible; border: 1px solid #dbe7f3; border-radius: 16px; background: linear-gradient(180deg, #f8fbff, #eef7ff); padding: 14px; }
.educator-photo img { width: auto; max-width: 100%; height: auto; max-height: 190px; }
.educator-body, .detail-card, .contact-card { padding: 24px; }
.educator-body { padding-top: 18px; }
.detail-card ul, .contact-card ul { margin: 16px 0 0; padding-left: 18px; color: #64748b; line-height: 1.75; }
.form-card { width: min(100%, 940px); margin-inline: auto; border: 1px solid #e2e8f0; border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.form-grid label { display: grid; gap: 8px; color: var(--camloc-navy); font-size: 13px; font-weight: 900; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #dbe3ef; border-radius: 14px; padding: 12px 14px; color: var(--camloc-ink); font: inherit; }
.form-grid textarea { resize: vertical; }
.span-2 { grid-column: span 2; }
.form-note { color: #64748b; }
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -4px 0 20px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.terms-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--camloc-blue); }
.terms-check a { color: var(--camloc-blue); text-decoration: underline; text-underline-offset: 3px; }

.acceptance-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.acceptance-side-card {
  position: sticky;
  top: 108px;
}
.acceptance-box {
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: var(--camloc-mist);
  margin: -2px 0 22px;
  padding: 20px;
}
.acceptance-box h2 {
  margin: 0 0 8px;
  color: var(--camloc-navy);
  font-size: 22px;
}
.acceptance-box p {
  color: #526179;
  line-height: 1.65;
}
.success-card {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  margin-bottom: 18px;
}
.map-embed { min-height: 420px; overflow: hidden; border: 1px solid #dbe7f3; border-radius: 22px; box-shadow: var(--shadow-soft); background: var(--camloc-light); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.program-hero-card { display: grid; grid-template-columns: 1fr 0.75fr; gap: 42px; align-items: center; }
.program-hero-image { aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); }
.program-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.koobits-hero { background: linear-gradient(180deg, #fff 0%, #f0f8ff 100%); }
.koobits-visual {
  border-radius: 28px;
  background: linear-gradient(135deg, #0a5da8 0%, #14365d 58%, #0f172a 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 42px);
  min-height: 360px;
  display: grid;
  place-items: center;
}
.koobits-logo-card {
  width: min(100%, 430px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  padding: 18px;
}
.koobits-logo-card img { width: 100%; height: auto; border-radius: 18px; }
.price-card strong { color: var(--camloc-blue); font-size: 24px; }
.koobits-media-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr); gap: 34px; align-items: center; }
.koobits-media-grid h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.koobits-media-grid p { color: #526179; line-height: 1.7; }
.video-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe7f3;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #eaf5ff 100%);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  text-align: center;
}
.video-placeholder p:first-child { color: var(--camloc-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; }
.video-placeholder h3 { color: var(--camloc-navy); font-size: 24px; letter-spacing: -0.02em; }
.left-header { margin-inline: 0; text-align: left; }

.koobits-video-card {
  overflow: hidden;
  border: 1px solid #dbe7f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.koobits-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.seo-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.seo-keyword-strip {
  border-block: 1px solid #e2e8f0;
  background: #fff;
}
.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
}
.seo-keywords span {
  border-radius: 999px;
  background: var(--camloc-light);
  color: var(--camloc-navy);
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
}
.seo-card-grid .detail-card h2,
.faq-grid .detail-card h2 { margin: 0; color: var(--camloc-navy); font-size: 23px; letter-spacing: -0.015em; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.seo-related-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
  border: 1px solid #dbe7f3;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff 0%, #f1f8ff 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 38px);
}
.seo-related-card h2 { margin: 8px 0 0; color: var(--camloc-navy); font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.025em; }
.seo-related-card p:not(.eyebrow) { color: #64748b; line-height: 1.65; }
.seo-link-list { display: grid; gap: 10px; }
.seo-link-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-link-list a {
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #fff;
  color: var(--camloc-navy);
  padding: 13px 15px;
  font-weight: 900;
}
.seo-link-list a:hover { color: var(--camloc-blue); border-color: rgba(10, 93, 168, 0.35); }
.seo-internal-section { padding-top: 28px; }



.terms-container {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.terms-summary {
  position: sticky;
  top: 108px;
}
.terms-summary .btn { margin-top: 12px; }
.terms-document {
  border: 1px solid #dbe7f3;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 42px);
}
.terms-intro {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
  padding-bottom: 24px;
}
.terms-intro h2, .terms-section h2 {
  margin: 0;
  color: var(--camloc-navy);
  letter-spacing: -0.02em;
}
.terms-intro p {
  margin: 14px 0 0;
  color: #526179;
  line-height: 1.75;
}
.terms-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 26px;
  margin-top: 26px;
}
.terms-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.terms-section ol {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.terms-section li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  color: #526179;
  line-height: 1.7;
}
.terms-section li strong {
  color: var(--camloc-blue);
  font-weight: 900;
}

.scope-container { width: min(100% - 32px, 1380px); }
.primary-scope-stack { display: grid; gap: 28px; }
.scope-poster {
  border: 1px solid #dbe7f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 3vw, 34px);
}
.scope-poster-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 22px;
}
.scope-poster-header h3 { margin: 8px 0 0; color: var(--camloc-navy); font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.scope-poster-header > p {
  max-width: 660px;
  margin: 0;
  border-radius: 18px;
  background: var(--camloc-mist);
  padding: 16px;
  color: #526179;
  font-size: 14px;
  line-height: 1.65;
}
.term-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.term-card {
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  padding: 18px;
}
.term-card > p { margin: 0; color: var(--camloc-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; }
.term-card h4 { margin: 10px 0 0; color: var(--camloc-navy); font-size: 17px; line-height: 1.3; }
.term-card ul { margin: 14px 0 0; padding-left: 18px; color: #526179; font-size: 14px; line-height: 1.6; }
.term-card li + li { margin-top: 7px; }

.secondary-scope-panel {
  border: 1px solid #dbe7f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 3vw, 34px);
}
.secondary-scope-header {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.45fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
}
.secondary-scope-header h3 { margin: 0; color: var(--camloc-navy); font-size: 28px; letter-spacing: -0.025em; }
.secondary-scope-header p { max-width: 760px; color: #64748b; line-height: 1.65; }
.scope-legend { display: grid; gap: 8px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fbff;
  padding: 9px 12px;
  color: #475569;
  font-size: 12px;
}
.legend-item em { color: #94a3b8; font-style: normal; }
.scope-dot { width: 10px; height: 10px; border-radius: 999px; flex: 0 0 auto; }
.secondary-year-stack { display: grid; gap: 20px; margin-top: 26px; }
.secondary-year-card { border: 1px solid #e2e8f0; border-radius: 22px; background: var(--camloc-mist); padding: 18px; }
.secondary-year-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.secondary-year-heading h3 { margin: 0; color: var(--camloc-navy); font-size: 24px; }
.secondary-year-heading p { margin: 0; max-width: 820px; color: #64748b; font-size: 14px; line-height: 1.6; }
.secondary-term-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.secondary-term-card { border: 1px solid rgba(255,255,255,0.9); border-radius: 18px; background: rgba(255,255,255,0.86); padding: 12px; }
.secondary-term-card h4 {
  margin: 0;
  border-radius: 12px;
  background: var(--camloc-blue);
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
}
.secondary-term-card div { display: grid; gap: 8px; margin-top: 10px; }
.scope-topic {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 11px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.level-stage4 { border-color: #cbd5e1 !important; background: #fff !important; color: #172033 !important; }
.scope-dot.level-stage4 { background: #172033 !important; }
.level-stage5 { border-color: #f0abfc !important; background: #fdf4ff !important; color: #a21caf !important; }
.scope-dot.level-stage5 { background: #c026d3 !important; }
.level-advanced { border-color: #93c5fd !important; background: #eff6ff !important; color: #1d4ed8 !important; }
.scope-dot.level-advanced { background: #2563eb !important; }
.level-extension1 { border-color: #f9a8d4 !important; background: #fdf2f8 !important; color: #db2777 !important; }
.scope-dot.level-extension1 { background: #ec4899 !important; }
.scope-note {
  margin: 24px 0 0;
  border-radius: 18px;
  background: var(--camloc-light);
  padding: 18px;
  color: var(--camloc-navy);
  font-weight: 800;
  line-height: 1.6;
}

.timetable-container { width: min(100% - 32px, 1480px); }
.timetable-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.timetable-toolbar h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.timetable-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.timetable-panel {
  border: 1px solid #dbe7f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 36px);
}
.timetable-section-heading { margin-bottom: 18px; text-align: center; }
.timetable-section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; }
.timetable-section-heading p { margin: 10px 0 0; color: #64748b; }
.secondary-heading { margin-top: 32px; }
.timetable-grid { display: grid; gap: 12px; }
.timetable-primary-grid { grid-template-columns: repeat(8, minmax(132px, 1fr)); }
.timetable-secondary-grid { grid-template-columns: repeat(6, minmax(170px, 1fr)); }
.timetable-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  min-height: 100%;
}
.timetable-card-header {
  padding: 13px 12px;
  text-align: center;
  color: #071b3d;
  background: #dbeafe;
}
.timetable-card-header h3 { margin: 0; font-size: 16px; }
.accent-rose .timetable-card-header { background: linear-gradient(135deg, #fecdd3, #fb7185); }
.accent-amber .timetable-card-header { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.accent-lemon .timetable-card-header { background: linear-gradient(135deg, #fef08a, #84cc16); }
.accent-mint .timetable-card-header { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.accent-sky .timetable-card-header { background: linear-gradient(135deg, #bae6fd, #0ea5e9); }
.accent-teal .timetable-card-header { background: linear-gradient(135deg, #99f6e4, #14b8a6); }
.accent-indigo .timetable-card-header { background: linear-gradient(135deg, #c7d2fe, #6366f1); }
.accent-violet .timetable-card-header { background: linear-gradient(135deg, #ddd6fe, #8b5cf6); }
.accent-plum .timetable-card-header { background: linear-gradient(135deg, #f5d0fe, #a21caf); }
.accent-coral .timetable-card-header { background: linear-gradient(135deg, #fed7aa, #f97316); }
.accent-grape .timetable-card-header { background: linear-gradient(135deg, #e9d5ff, #7e22ce); }
.accent-azure .timetable-card-header { background: linear-gradient(135deg, #bfdbfe, #2563eb); }
.accent-navy .timetable-card-header { background: linear-gradient(135deg, #93c5fd, #1e3a8a); color: #fff; }
.accent-olive .timetable-card-header { background: linear-gradient(135deg, #d9f99d, #65a30d); }
.timetable-card-body { display: grid; gap: 10px; padding: 10px; }
.timetable-block {
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fbfdff;
  padding: 12px 10px;
  text-align: center;
}
.timetable-block h4 { margin: 0 0 8px; color: var(--camloc-navy); font-size: 13px; line-height: 1.35; }
.timetable-block p { margin: 4px 0; color: #071b3d; font-size: 12px; font-weight: 750; line-height: 1.45; }
.timetable-block span { display: inline-block; margin-top: 6px; color: var(--camloc-blue); font-size: 11px; font-weight: 850; line-height: 1.35; }
.competition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.competition-card {
  border: 1px solid #f8c7d5;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb, #eff6ff);
  padding: 18px;
  text-align: center;
}
.competition-card h3 { margin: 0; color: var(--camloc-navy); font-size: 16px; }
.competition-card p { margin: 10px 0 0; color: #071b3d; font-weight: 850; }
.timetable-footer-strip {
  margin-top: 24px;
  border-radius: 18px;
  background: var(--camloc-light);
  padding: 18px;
  text-align: center;
}
.timetable-footer-strip p { margin: 0 auto 12px; max-width: 860px; color: #526179; line-height: 1.65; }
.timetable-footer-strip div { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; color: var(--camloc-navy); font-weight: 850; }

.environment { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; padding-top: 0; }
.cta { padding: 58px 0; background: var(--camloc-navy); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: #dbeafe; }
.site-footer { background: var(--camloc-navy); color: #fff; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 42px; }
.footer-logo-wrap { display: inline-flex; border-radius: 18px; background: #fff; padding: 12px; }
.footer-logo-wrap img { height: 64px; width: auto; }
.site-footer p, .site-footer a { color: #dbeafe; line-height: 1.7; }
.footer-bottom { margin-top: 42px; border-top: 1px solid rgba(255,255,255,0.12); padding: 20px; text-align: center; color: #dbeafe; font-size: 14px; }

@media (max-width: 980px) {
  .hero-grid, .environment, .footer-grid, .contact-grid, .program-hero-card { grid-template-columns: 1fr; }
  .trial-card { grid-template-columns: 1fr; }
  .terms-container, .acceptance-container, .koobits-media-grid, .seo-related-card, .faq-grid, .seo-link-list-wide { grid-template-columns: 1fr; }
  .terms-summary, .acceptance-side-card { position: static; }
  .feature-grid, .program-grid, .educator-grid, .detail-grid, .list-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-poster-header, .secondary-year-heading { align-items: flex-start; flex-direction: column; }
  .term-grid, .secondary-term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secondary-scope-header { grid-template-columns: 1fr; }
  .timetable-home-card, .timetable-toolbar { align-items: flex-start; flex-direction: column; }
  .timetable-primary-grid, .timetable-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .koobits-mini-grid { grid-template-columns: 1fr; }
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; order: 3; }
  .header-inner > .btn { display: none; }
  .nav { display: none; position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; border: 1px solid #dbe3ef; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); padding: 16px; }
  .menu-open .nav { display: block; }
  .nav ul { display: grid; gap: 4px; }
  .nav a { display: block; border-radius: 12px; padding: 12px 14px; color: var(--camloc-navy); }
  .nav a:hover { background: var(--camloc-light); }
}
@media (max-width: 620px) {
  .header-inner { min-height: 76px; }
  .brand-logo { height: 48px; }
  .feature-grid, .program-grid, .educator-grid, .detail-grid, .list-grid, .trust-grid, .form-grid { grid-template-columns: 1fr; }
  .terms-section li { grid-template-columns: 1fr; gap: 2px; }
  .term-grid, .secondary-term-grid { grid-template-columns: 1fr; }
  .timetable-primary-grid, .timetable-secondary-grid, .competition-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .educator-photo img { max-height: 180px; }
  .hero { padding-top: 48px; }
}
