/* Canada Greener Homes Initiative - Clean CSS */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #374151;
  background-color: #ffffff;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.advertorial-banner {
  background-color: #f3f4f6;
  padding: 8px;
  text-align: center;
  font-size: 16px;
  color: #000000;
  font-weight: 500;
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #6b7280;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #059669;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  padding: 4rem 1rem;
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #374151;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.hero-disclaimer {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #059669;
  color: white;
}

.btn-primary:hover {
  background: #047857;
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.hero-image {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Features Section */
.features {
  padding: 4rem 1rem;
  background: white;
}

.features-container {
  max-width: 80rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #059669;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: #6b7280;
}

/* Programs Section */
.programs {
  padding: 5rem 1rem;
  background: #f9fafb;
}

.programs-container {
  max-width: 80rem;
  margin: 0 auto;
}

.section-header {
  text-center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.program-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f3f4f6;
}

.program-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.program-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.program-icon.blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.program-icon.orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.program-icon.yellow { background: linear-gradient(135deg, #eab308, #f59e0b); }
.program-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.program-icon.purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

.program-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.program-description {
  color: #6b7280;
  margin-bottom: 1rem;
}

.program-benefit {
  display: flex;
  align-items: center;
  color: #059669;
  font-weight: 600;
}

/* Form Section */
.form-section {
  padding: 5rem 1rem;
  background: white;
}

.form-container {
  max-width: 64rem;
  margin: 0 auto;
}

.form-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.progress-bar {
  margin-bottom: 2rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.progress-step {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}

.step-number.active {
  background: #059669;
  color: white;
}

.step-number.inactive {
  background: #e5e7eb;
  color: #6b7280;
}

.step-line {
  height: 2px;
  flex: 1;
  margin: 0 0.5rem;
  background: #e5e7eb;
}

.form-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* CTA Section */
.cta {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #059669, #10b981);
}

.cta-container {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.25rem;
  color: #d1fae5;
  margin-bottom: 2rem;
}

.cta .btn {
  background: white;
  color: #059669;
}

.cta .btn:hover {
  background: #f3f4f6;
}

/* Disclaimers */
.disclaimers {
  padding: 2rem 1rem;
  background: #f3f4f6;
}

.disclaimers-container {
  max-width: 64rem;
  margin: 0 auto;
}

.disclaimers-content {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
}

.disclaimers-content p {
  margin-bottom: 0.5rem;
}

.disclaimers-content strong {
  color: #374151;
}

/* Footer */
.footer {
  background: #111827;
  color: #d1d5db;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  font-size: 0.875rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #10b981;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Content Pages */
.content-page {
  padding: 6rem 1rem 4rem;
  max-width: 64rem;
  margin: 0 auto;
}

.content-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}

.content-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 2rem 0 1rem;
}

.content-page p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utility Classes */
.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;
}

.text-center { text-align: center; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; }