:root {
  --forest-dark: #0f362e;
  --forest-light: #184c41;
  --emerald: #10b981;
  --bg-light: #fbfbfa;
  --bg-gray: #f2f3f1;
  --text-dark: #1b2623;
  --text-muted: #53615c;
  --border-color: #e3e4e1;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
}

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

.grid-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid rgba(27, 38, 35, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.logo {
  text-decoration: none;
  font-family: var(--font-title);
  color: var(--text-dark);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
}

.logo-bold {
  font-weight: 600;
}

.logo-green {
  font-weight: 300;
  color: var(--emerald);
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--forest-dark);
}

.btn-inquiry {
  border: 1px solid var(--forest-light);
  color: var(--forest-light);
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.btn-inquiry:hover {
  background-color: var(--forest-light);
  color: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--forest-dark);
  background-image: linear-gradient(rgba(15, 54, 46, 0.7), rgba(15, 54, 46, 0.85)), url('../assets/752-hamilton-st.png');
  background-size: cover;
  background-position: center;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background-color: var(--emerald);
  color: #ffffff;
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ffffff;
  color: var(--forest-dark);
}

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

.section-light {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.section-gray {
  background-color: var(--bg-gray);
  border-bottom: 1px solid var(--border-color);
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 600;
}

.sec-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.intro-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.intro-text:last-child {
  margin-bottom: 0;
}

/* Stats Section */
.section-green {
  background-color: var(--forest-light);
  color: #ffffff;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

/* Programs Section */
.section-header {
  margin-bottom: 4rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.program-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 4px;
  transition: all 0.4s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald);
  box-shadow: 0 10px 30px rgba(15, 54, 46, 0.03);
}

.program-icon {
  color: var(--emerald);
  margin-bottom: 2rem;
}

.program-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.program-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Grant Application Inquiry */
.inquiry-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.inquiry-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.inquiry-form-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 4rem 3.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input, .form-textarea {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.9rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.form-textarea {
  height: 120px;
  resize: none;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background-color: #ffffff;
}

.btn-submit {
  background-color: var(--forest-light);
  color: #ffffff;
  font-family: var(--font-body);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  border-radius: 4px;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--emerald);
}

/* Success MSG */
.inquiry-success-msg {
  text-align: center;
  padding: 3rem 1rem;
}

.inquiry-success-msg h4 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--emerald);
  margin-bottom: 1rem;
}

.inquiry-success-msg p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--forest-dark);
  color: rgba(255, 255, 255, 0.4);
  padding: 3rem 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .grid-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .inquiry-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .section {
    padding: 5rem 0;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav {
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .btn-inquiry {
    padding: 0.4rem 0.8rem;
  }

  .inquiry-form-box {
    padding: 3rem 1.5rem;
  }

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

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

  .stat-item::after {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
