:root {
  --olive:       #3B4F23;
  --olive-mid:   #4E6530;
  --olive-light: #6B7F47;
  --tan:         #E8E2D0;
  --dark:        #1A2410;
  --muted:       #6B7059;
  --border:      #D0CCBB;
}

* { box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0,0,0,0.5) 100%),
    radial-gradient(ellipse at 85% 5%, rgba(140,180,70,0.14) 0%, transparent 40%),
    linear-gradient(rgba(10,20,6,0.70), rgba(12,24,8,0.74)),
    url('/images/background2.avif') center / cover fixed no-repeat;
}


/* ── HEADER ── */
.site-header {
  position: relative;
  z-index: 10;
  padding: 0;
}

.header-top {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ee 55%, #eaf2da 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(90,120,50,0.15);
  padding: 14px 0;
}

/* Header flex row: spread items to edges of the container */
.header-top .container > .d-flex {
  justify-content: space-between;
}

.year-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.card-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  opacity: 0.8;
}

.year-label {
  font-size: 8rem;
  font-weight: 900;
  color: var(--olive);
  letter-spacing: -3px;
  line-height: 1;
}

.study-label {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--olive);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1.1;
}

.study-label .tm {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  letter-spacing: 0;
}

.study-tags {
  font-size: 0.72rem;
  color: var(--olive-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* Inline logos inside the header bar */
.partner-logos-inline {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Inner wrapper: column that left-aligns label with first logo */
.partners-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.partners-label-inline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-mid);
  margin-bottom: 10px;
  align-self: center;
}

.partner-logos-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo-sm {
  height: 120px;
  width: 120px;
  object-fit: contain;
}

/* Decorative circle accents */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(90,130,40,0.06);
  pointer-events: none;
}
.ring-1 { width: 380px; height: 380px; top: -190px; right: -100px; }
.ring-2 { width: 200px; height: 200px; bottom: -100px; left: 4%; }


/* ── VALUE PILLARS ── */
.pillars-bar {
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.pillar {
  text-align: center;
  padding: 0 24px;
}

.pillar-title {
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
  font-weight: 300;
}

.pillar + .pillar {
  border-left: 1px solid rgba(255,255,255,0.1);
}


/* ── FORM AREA ── */
main {
  position: relative;
  z-index: 5;
}

.card-form {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.06),
    0 12px 40px rgba(0,0,0,0.22),
    0 32px 80px rgba(0,0,0,0.18);
}

.form-control, .form-select {
  font-size: 0.875rem;
  border-color: var(--border);
  border-radius: 8px;
  color: var(--dark);
  background-color: #F9F9F7;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--olive-mid);
  box-shadow: 0 0 0 3px rgba(78,101,48,0.15);
  background-color: #fff;
}

.form-check-input:checked {
  background-color: var(--olive);
  border-color: var(--olive);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(78,101,48,0.15);
}

.btn-submit {
  background: linear-gradient(135deg, var(--olive-mid) 0%, var(--dark) 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 8px;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.confidentiality-box {
  background: #F6F6F3;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 8px;
}

.section-label {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.title-input-group .btn-pick {
  background: var(--tan);
  border: 1px solid var(--border);
  border-left: none;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0 10px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.title-input-group .btn-pick:hover { background: var(--border); }


/* ── FOOTER ── */
.site-footer {
  position: relative;
  z-index: 5;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  padding: 20px 0;
  text-align: center;
  margin-top: 60px;
}

.site-footer a { color: rgba(255,255,255,0.65); }


/* ── NARROW DESKTOP / WRAP (< 1200px) ── */
@media (max-width: 1200px) {
  .d-flex.align-items-center.py-4.gap-4 {
    flex-direction: column;
    align-items: center !important;
    gap: 20px !important;
    padding: 24px 0 !important;
  }

  .year-block { align-items: center; text-align: center; }

  .partner-logos-inline {
    align-items: center;
    width: 100%;
  }

  .partners-inner { align-items: center; }
  .partners-label-inline { text-align: center; margin-block-start: 12px; }

  .partner-logos-grid { justify-content: center; }
}


/* ── TABLET (< 768px) ── */
@media (max-width: 768px) {
  .partner-logos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-items: center;
  }

  .partner-logo-sm {
    height: 64px;
    width: 130px;
  }

  .pillar + .pillar {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 12px;
    padding-top: 12px;
  }

  .card-form { padding: 24px 18px; border-radius: 12px; }
}


/* ── MOBILE (< 480px) ── */
@media (max-width: 480px) {
  .year-label { font-size: 4.5rem; }
  .study-label { font-size: 1.875rem; }
  .study-tags { display: none; }

  .partner-logos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .partner-logo-sm {
    height: 52px;
    width: 110px;
  }
}
