/* ─── AGENDOFY — SHARED INSTITUTIONAL STYLES ─── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #3563E9;
  --brand-dark: #2348C4;
  --brand-light: #EEF3FF;
  --brand-glow: rgba(53,99,233,0.35);
  --accent: #F97316;
  --accent-light: #FFF3E9;
  --green: #10B981;
  --green-light: #D1FAE5;
  --dark: #060A14;
  --dark2: #0D1525;
  --dark3: #141E33;
  --mid: #64748B;
  --muted: #94A3B8;
  --light: #F8FAFF;
  --border: rgba(0,0,0,0.07);
  --border-dark: rgba(255,255,255,0.08);
  --white: #ffffff;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow: 0 8px 32px rgba(53,99,233,0.12);
  --shadow-lg: 0 16px 56px rgba(53,99,233,0.18);
  --shadow-dark: 0 24px 64px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── UTILITIES ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 16px;
}

.tag.white {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--dark);
}

h2.section-title.white { color: var(--white); }

p.section-sub {
  font-size: 17px; font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 540px;
}

p.section-sub.white { color: rgba(255,255,255,0.55); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ─── NAV ─── */
.inst-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.inst-nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.inst-nav-inner {
  max-width: 1140px; width: 100%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.inst-nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}

.inst-nav-logo img {
  height: 28px; width: auto;
}

.inst-nav-logo span { color: var(--brand); }

.inst-nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.inst-nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  padding: 6px 14px; border-radius: 8px;
  transition: all 0.2s;
}

.inst-nav-links a:hover { color: var(--dark); background: var(--light); }
.inst-nav-links a.active { color: var(--brand); }

.inst-btn-nav {
  background: var(--brand) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.inst-btn-nav:hover { background: var(--brand-dark) !important; }

.inst-nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--dark); padding: 4px;
}

/* Mobile nav */
.inst-nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px 24px 24px;
  z-index: 199;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.inst-nav-mobile.open { display: flex; }

.inst-nav-mobile a {
  font-size: 15px; font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.inst-nav-mobile a:last-child { border-bottom: none; }
.inst-nav-mobile a:hover { color: var(--dark); }

.inst-btn-nav-mobile {
  margin-top: 12px;
  background: var(--brand) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  text-align: center;
  padding: 13px 0 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-bottom: none !important;
}

/* ─── FOOTER ─── */
.inst-footer {
  background: var(--dark);
  padding: 64px 24px 32px;
}

.inst-footer-top {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.inst-footer-brand {}

.inst-footer-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: block; margin-bottom: 14px;
}

.inst-footer-logo span { color: var(--brand); }

.inst-footer-tagline {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 20px;
}

.inst-footer-email {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}

.inst-footer-email:hover { color: var(--white); }

.inst-footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}

.inst-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.inst-footer-col ul li a {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.inst-footer-col ul li a:hover { color: var(--white); }

.inst-footer-bottom {
  max-width: 1140px; margin: 0 auto;
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
}

.inst-footer-copy {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.25);
}

.inst-footer-legal {
  display: flex; gap: 20px;
}

.inst-footer-legal a {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.inst-footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 120px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(53,99,233,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.page-header-inner {
  max-width: 760px; margin: 0 auto;
  position: relative; z-index: 1;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 16px 24px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
}

.breadcrumb a {
  font-size: 13px; color: var(--mid);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb span {
  font-size: 13px; color: var(--muted);
}

.breadcrumb-sep {
  color: var(--muted); font-size: 11px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(53,99,233,0.35);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(53,99,233,0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .inst-nav-links { display: none; }
  .inst-nav-hamburger { display: flex; align-items: center; justify-content: center; }

  .inst-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .inst-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .inst-footer-top { grid-template-columns: 1fr; }
}
