/* ============================================
   TRANE FAMILY FOUNDATION — Shared Stylesheet
   ============================================ */

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

:root {
  --navy:       #1a3a5c;
  --navy-dark:  #122840;
  --gold:       #c9a84c;
  --gold-light: #e8d08a;
  --white:      #ffffff;
  --light-gray: #f5f7fa;
  --mid-gray:   #e2e8f0;
  --text:       #2d3748;
  --text-light: #718096;
  --success:    #276749;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,0.09);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4.5rem 0; }
section:nth-child(even) { background: var(--light-gray); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---- Navigation ---- */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  height: 68px;
}

.nav-logo {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--white); font-weight: normal; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity var(--transition);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
  opacity: 1 !important;
  border-bottom: none !important;
  font-weight: bold;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy-dark) !important; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4d7a 100%);
  color: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section-header .divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---- Focus Area Cards ---- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.focus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.focus-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.focus-card h3 {
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.focus-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ---- Process Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  font-family: 'Georgia', serif;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-light); font-size: 0.93rem; }

/* ---- Quote / Callout ---- */
.callout {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}
.callout blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}
.callout cite {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy-dark);
  padding: 3rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--gold);
  font-family: 'Georgia', serif;
}
.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- About Page ---- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.values-list { list-style: none; padding: 0; }
.values-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mid-gray);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.values-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ---- Application Form ---- */
.form-section { max-width: 820px; margin: 0 auto; }

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

label {
  display: block;
  font-size: 0.92rem;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

label .required { color: #c53030; margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

textarea { min-height: 130px; resize: vertical; }

.form-hint {
  font-size: 0.83rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-section-title {
  font-size: 1.15rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 1.5rem;
}

.checkbox-group { display: flex; flex-direction: column; gap: 0.6rem; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: normal;
  font-size: 0.97rem;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.submit-area {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  text-align: center;
}

.submit-area p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.25rem; }

.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  padding: 0.85rem 3rem;
  font-size: 1.05rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-weight: bold;
  transition: all var(--transition);
  display: inline-block;
}
.btn-submit:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

/* ---- Eligibility Checklist ---- */
.eligibility-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.eligibility-box h3 { color: var(--gold); margin-bottom: 1rem; }
.eligibility-box ul { list-style: none; padding: 0; }
.eligibility-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}
.eligibility-box li:last-child { border-bottom: none; }
.eligibility-box li::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---- Alert / Notice ---- */
.notice {
  background: #fffbea;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand { }
.footer-brand h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

.footer-nav h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }

.footer-contact p { font-size: 0.88rem; margin-bottom: 0.4rem; }

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .hero { padding: 4rem 1.5rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
