html, body {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #e8ddbb;
  color: #222;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

nav .logo {
  height: 50px;
  margin-right: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start; /* left justify */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
}
.nav-links a.active {
  color: #f4a300; /* gold color */
}


.hero {
  position: relative;
  height: 200px;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  padding-top: 40px; /* adjust if needed */
  padding-left: 40px;
  padding-right: 40px;
  text-shadow: 1px 1px 4px black;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}


/* Hero overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.bg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(0px);
  transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
  z-index: 0;
}

.bg-layer.active {
  opacity: 1;
  filter: blur(1px); /* Optional: creates a subtle soft-focus polish */
}

.main-content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

a {
  color: #b38600;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.5rem;
}

blockquote {
  color: #555;
  font-style: italic;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

.modular-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.modular-image {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

/* Highlight Blocks */
.highlight-block {
  background: #fff7e6;
  border-left: 6px solid #b38600;
  padding: 1.5rem;
  margin: 3rem 0;
  border-radius: 8px;
}
.highlight-block.green {
  background: #e6fbe6;
  border-left: 6px solid #2d7d2d;
}
.highlight-image {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 2rem;
  background: #eee;
  border-radius: 12px;
}
.final-cta .cta-image {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Grid Columns Section */
.grid-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 2rem;
  align-items: stretch;
}

.grid-block {
  flex: 1 1 300px;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease;
  max-width: 350px;
  min-height: 520px;
  max-height: 520px;
}

.grid-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.grid-block img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: fill;
  border-radius: 6px;
  display: block;
}

.grid-block h3 {
  margin-top: 0;
  color: #333;
}

.grid-block a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #b38600;
  font-weight: bold;
  text-decoration: none;
}

.grid-block a:hover {
  text-decoration: underline;
}

.grid-columns.centered {
  justify-content: center;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.wide-card {
  flex: 2 1 700px;
  max-width: none;
}

.solar-benefits {
  margin-top: 4rem;
  padding: 2rem;
  background: #fefcf7;
  text-align: center;
}
.solar-benefits h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #fffdf9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  flex: 1 1 280px;
  max-width: 340px;
  text-align: left;
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: #b38600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}
.buffett-container img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .buffett-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .buffett-container img {
    margin-bottom: 1rem;
  }

  .buffett-text {
    margin-top: 0;
    text-align: center;
  }

  .buffett-text blockquote {
    font-size: 1.2rem;
  }
}

.buffett-quote-card {
  background: #fffdf7;
  border: 3px solid #d4af37; /* gold frame */
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  max-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buffett-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.buffett-quote-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.wisdom-label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #b38600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-section {
  background: #fffdf7;
  padding: 3rem 2rem;
  border-radius: 12px;
  max-width: 700px;
  margin: 4rem auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-form input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background-color: #b38600;
  color: white;
  border: none;
  padding: 0.9rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
}

.contact-form button:hover {
  background-color: #8a6700;
}

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

.contact-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  color: white;
  text-shadow: 1px 1px 4px black;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero .bg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(0px);
  transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
  z-index: 0;
}

.contact-hero .bg-layer.active {
  opacity: 1;
  filter: blur(1px);
}

.contact-hero .hero-content {
  position: relative;
  z-index: 1;
}

.contact-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fefcf7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-card {
  flex: 1 1 60%;
}

.info-card {
  flex: 1 1 35%;
  background: #fffdf9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.info-card h3 {
  color: #b38600;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.contact-message {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fffdf9;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.contact-message h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-message textarea {
  width: 100%;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-height: 150px;
  background: #fcfcfc;
}

@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }
}

