/* ===== Variables ===== */
:root {
  --navy: #0a2d5c;
  --navy-dark: #061e3d;
  --navy-light: #1a4a7a;
  --green: #2d6a3f;
  --green-light: #3d8a55;
  --green-bright: #4caf50;
  --teal: #1a7a8c;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --gray-100: #e8edf2;
  --gray-200: #c5d0db;
  --gray-600: #5a6a7a;
  --gray-800: #2d3748;
  --gold: #d4a017;
  --silver: #8a9baa;
  --bronze: #cd7f32;
  --shadow-sm: 0 2px 8px rgba(10, 45, 92, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 45, 92, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 45, 92, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.org-logos {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.org-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.org-logo-img {
  height: 44px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}

.org-logo-img--wide {
  max-width: 88px;
  height: 40px;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.mobile-brand {
  display: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.member-buttons .btn-ghost {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--gray-200);
}

.member-buttons .btn-ghost:hover:not(:disabled) {
  background: var(--gray-100);
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a3d6c;
}

.hero-bg__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(10, 45, 92, 0.62) 0%, rgba(26, 122, 140, 0.38) 45%, rgba(45, 106, 63, 0.42) 100%),
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(6, 30, 61, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.title-blue {
  color: #a8d4f0;
  display: block;
}

.title-green {
  color: #7dd87d;
  display: block;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  background: rgba(10, 45, 92, 0.6);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.deadline-badge i {
  font-size: 1rem;
  line-height: 1;
}

.deadline-badge strong {
  color: #ffd54f;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header-center {
  text-align: center;
}

.section-label {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-label-blue {
  background: var(--navy);
}

.section-label-green {
  background: var(--green);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  font-weight: 700;
}

/* ===== Themes (Poster Style) ===== */
.themes {
  background: var(--white);
  padding-top: 3.5rem;
}

.themes-poster-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.themes-banner {
  display: inline-block;
  padding: 0.5rem 2rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(45, 106, 63, 0.25);
}

.theme-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.theme-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.25rem;
}

.theme-icon-circle {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.theme-item:hover .theme-icon-circle {
  transform: scale(1.06);
}

.theme-icon-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

.theme-connector {
  width: 0;
  height: 28px;
  border-left: 2px dashed var(--gray-200);
  margin: 0.5rem 0;
}

.theme-item h3 {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.theme-item p {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.45;
  max-width: 180px;
}

/* ===== Eligibility ===== */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.eligibility-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eligibility-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.eligibility-content .lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.eligibility-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.check-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-800);
  font-weight: 500;
}

.check-list li i {
  color: var(--green);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ===== Prizes (Poster Style) ===== */
.prizes {
  background: var(--off-white);
}

.prize-poster {
  max-width: 900px;
  margin: 0 auto;
}

.prize-table-banner {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0;
}

.prize-table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.prize-table {
  width: 100%;
  border-collapse: collapse;
}

.prize-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.prize-table thead th:last-child {
  border-right: none;
}

.prize-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
}

.prize-table tbody tr:last-child {
  border-bottom: none;
}

.prize-table tbody td {
  padding: 1.1rem 1rem;
  vertical-align: middle;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.prize-position {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
}

.prize-position strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.prize-trophy-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.prize-trophy-icon--gold { color: #d4a017; }
.prize-trophy-icon--silver { color: #8a9baa; }
.prize-trophy-icon--bronze { color: #cd7f32; }

.prize-table .prize-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

.prize-table .prize-recognition {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.45;
  text-align: center;
}

.prize-notes {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prize-notes li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.prize-check {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ===== Official Poster ===== */
.poster-section {
  background:
    linear-gradient(135deg, rgba(10, 45, 92, 0.04) 0%, rgba(45, 106, 63, 0.06) 100%),
    var(--off-white);
  overflow: hidden;
}

.poster-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.poster-copy .section-label {
  margin-bottom: 0.85rem;
}

.poster-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.poster-copy > p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.poster-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.poster-meta li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.poster-meta i {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(10, 45, 92, 0.08);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.poster-actions .btn i {
  margin-right: 0.4rem;
}

.btn-poster-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-poster-secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.poster-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.poster-mat {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 0.85rem;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(6, 30, 61, 0.14);
  display: block;
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.poster-mat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(6, 30, 61, 0.18);
}

.poster-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ===== Submit ===== */
.submit {
  background: var(--navy-dark);
  color: var(--white);
}

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

.submit-intro {
  margin-bottom: 2.5rem;
  text-align: center;
}

.submit-intro-text {
  max-width: 640px;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.proposal-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(10, 45, 92, 0.08);
}

.form-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(10, 45, 92, 0.04) 0%, rgba(45, 106, 63, 0.06) 100%),
    var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}

.form-panel-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.form-panel-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0;
}

.form-panel-deadline {
  text-align: right;
  flex-shrink: 0;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.form-panel-deadline-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.15rem;
}

.form-panel-deadline strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.proposal-form {
  color: var(--gray-800);
  padding: 1.75rem 2rem 2rem;
}

.form-section {
  margin-bottom: 1.75rem;
  padding: 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.form-step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.4rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-section h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.25rem;
  letter-spacing: -0.015em;
}

.form-section .optional {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  background: var(--gray-100);
  vertical-align: middle;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.required {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  max-width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8a97a8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 106, 63, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a7a' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}

.member-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
}

.member-count-label {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.member-count-label strong {
  color: var(--navy);
  font-weight: 700;
}

.member-buttons {
  display: flex;
  gap: 0.5rem;
}

.member-fieldset {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 0.85rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.member-fieldset--leader {
  border-color: rgba(10, 45, 92, 0.22);
  box-shadow: 0 0 0 1px rgba(10, 45, 92, 0.04), var(--shadow-sm);
}

.member-fieldset legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  padding: 0 0.35rem;
}

.member-badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
}

.member-badge--optional {
  background: var(--gray-100);
  color: var(--gray-600);
}

.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border: 2px dashed rgba(45, 106, 63, 0.35);
  border-radius: 12px;
  cursor: pointer;
  color: var(--gray-600);
  background: linear-gradient(180deg, #fbfefc 0%, #f3f8f5 100%);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.file-upload-label:hover {
  border-color: var(--green);
  background: rgba(45, 106, 63, 0.06);
  box-shadow: inset 0 0 0 1px rgba(45, 106, 63, 0.08);
}

.file-upload.has-file .file-upload-label {
  border-style: solid;
  border-color: var(--green);
  background: rgba(45, 106, 63, 0.06);
}

.file-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(45, 106, 63, 0.12);
  color: var(--green);
  flex-shrink: 0;
  font-size: 1.35rem;
}

.file-upload-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.file-upload-copy strong {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
}

.file-upload-copy small {
  color: var(--gray-600);
  font-size: 0.82rem;
}

.form-section--declaration {
  background: rgba(10, 45, 92, 0.03);
  border-color: rgba(10, 45, 92, 0.12);
  margin-bottom: 1.25rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.55;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--green);
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-status--error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.form-submit-note {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.45;
  max-width: 28rem;
}

.btn-submit {
  flex-shrink: 0;
  min-width: 12.5rem;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(45, 106, 63, 0.25);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.footer-wave {
  line-height: 0;
  margin-top: -1px;
}

.footer-wave svg {
  width: 100%;
  height: 40px;
}

.footer-content {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-contact h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.email-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.email-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.email-links a:hover {
  color: #7dd87d;
}

.email-sep {
  color: rgba(255, 255, 255, 0.4);
}

.footer-motto {
  text-align: right;
}

.footer-motto p {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.motto-highlight {
  color: #7dd87d;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.85rem;
}

.back-to-top:hover {
  color: #7dd87d;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header-inner {
    padding: 0.65rem 1rem;
  }

  .org-logo-img {
    height: 36px;
    max-width: 48px;
  }

  .org-logo-img--wide {
    max-width: 72px;
    height: 34px;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .theme-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.5rem 1.25rem 1rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: min(100vh, 900px);
    padding-top: 72px;
  }

  .hero-content {
    padding: 3rem 1rem 5rem;
  }

  .hero-title {
    letter-spacing: 0.02em;
  }

  .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .eligibility-visual {
    order: -1;
  }

  .eligibility-image {
    max-width: 100%;
  }

  .poster-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .poster-copy {
    text-align: center;
  }

  .poster-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .poster-meta {
    align-items: center;
  }

  .poster-meta li {
    justify-content: center;
  }

  .poster-actions {
    justify-content: center;
  }

  .poster-mat {
    width: min(100%, 380px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .prize-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .prize-table {
    min-width: 560px;
  }

  .prize-table-banner {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-motto {
    text-align: center;
  }

  .email-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .org-logos {
    display: none;
  }

  .mobile-brand {
    display: inline-flex;
    align-items: center;
  }

  .header-inner {
    min-height: 56px;
  }

  .nav {
    top: 56px;
    max-height: calc(100vh - 56px);
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-content {
    padding: 2.5rem 0.75rem 4.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
    margin-bottom: 1.1rem;
  }

  .hero-subtitle {
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
  }

  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .deadline-badge {
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .wave-divider svg {
    height: 40px;
  }

  .section {
    padding: 3rem 0;
  }

  .themes-banner {
    font-size: 0.8rem;
    padding: 0.45rem 1.35rem;
  }

  .theme-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .theme-icon-circle,
  .theme-icon-img {
    width: 76px;
    height: 76px;
  }

  .theme-item p {
    max-width: none;
    font-size: 0.72rem;
  }

  .form-panel-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem 1.15rem 1.15rem;
  }

  .form-panel-deadline {
    text-align: left;
    width: 100%;
  }

  .proposal-form {
    padding: 1.15rem;
  }

  .form-section {
    padding: 1.1rem;
  }

  .form-submit-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    width: 100%;
  }

  .member-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .member-buttons {
    width: 100%;
  }

  .member-buttons .btn {
    flex: 1;
    justify-content: center;
  }

  .member-fieldset {
    padding: 1rem;
  }

  .poster-mat {
    width: min(100%, 340px);
    padding: 0.65rem;
  }

  .poster-actions {
    width: 100%;
  }

  .poster-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 140px;
  }

  .btn-submit {
    min-height: 48px;
  }

  .footer-content {
    padding: 2.25rem 0 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .email-links {
    flex-direction: column;
    gap: 0.65rem;
  }

  .email-sep {
    display: none;
  }
}

@media (max-width: 640px) {
  .prize-table-wrap {
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .prize-table {
    min-width: 0;
    width: 100%;
  }

  .prize-table thead {
    display: none;
  }

  .prize-table,
  .prize-table tbody,
  .prize-table tr,
  .prize-table td {
    display: block;
    width: 100%;
  }

  .prize-table tbody tr {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
    padding: 1rem 0.85rem;
    box-shadow: var(--shadow-sm);
  }

  .prize-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .prize-table tbody td {
    padding: 0.45rem 0.25rem;
    text-align: center;
    border: none;
  }

  .prize-table tbody td::before {
    display: block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
  }

  .prize-table tbody td:nth-child(1)::before {
    content: 'Position';
  }

  .prize-table tbody td:nth-child(2)::before {
    content: 'Cash Award (BDT)';
  }

  .prize-table tbody td:nth-child(3)::before {
    content: 'Additional Recognition';
  }

  .prize-table .prize-amount {
    font-size: 1.35rem;
  }

  .prize-table .prize-recognition {
    text-align: center;
  }

  .prize-table-banner {
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
  }

  .prize-poster {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .theme-row {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .theme-icon-circle,
  .theme-icon-img {
    width: 88px;
    height: 88px;
  }

  .theme-item h3 {
    font-size: 0.95rem;
  }

  .theme-item p {
    font-size: 0.8rem;
  }

  .file-upload-label {
    flex-direction: column;
    text-align: center;
    padding: 1.15rem 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-label {
    font-size: 0.85rem;
  }

  .poster-actions {
    flex-direction: column;
  }

  .poster-actions .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .themes-banner {
    letter-spacing: 0.06em;
  }

  .deadline-badge {
    border-radius: 14px;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 2rem 1rem 3rem;
  }

  .nav {
    max-height: calc(100vh - 56px);
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
