@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --color-primary: #2d5a27;      /* Deep Forest Green */
  --color-primary-light: #f1f8f0;/* Soft Green Tint */
  --color-secondary: #c28c38;    /* Warm Amber/Earth */
  --color-accent: #0f8b8d;       /* Vibrant Teal */
  --color-dark: #1f2d24;         /* Charcoal Forest */
  --color-light: #f7f9f6;        /* Cool Ash White */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* Header & Nav */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--color-secondary);
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover .logo-img {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.nav-link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-cta {
  background: var(--color-primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn-cta:hover {
  background: #23461e;
  transform: translateY(-2px);
}

/* Footer styling */
footer {
  background: var(--color-dark);
  color: #fff;
  padding: 3rem 2rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-info h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-info p {
  color: #a4b3a8;
  font-size: 0.95rem;
}

.footer-links-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links-col ul {
  list-style: none;
}

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

.footer-links-col ul li a {
  color: #a4b3a8;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-links-col ul li a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #a4b3a8;
  font-size: 0.85rem;
}

/* Layout utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(31, 45, 36, 0.9), rgba(45, 90, 39, 0.8)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=1600&auto=format&fit=crop') no-repeat center center/cover;
  padding: 8rem 2rem;
  text-align: center;
  color: white;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.9);
}

.hero-cta {
  background: var(--color-secondary);
  color: var(--color-dark);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s, background 0.3s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #db9e3f;
}

/* About segment styling */
.about-segment {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.about-content {
  flex: 1;
  padding: 3rem;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-secondary);
  margin-top: 0.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  color: #555;
}

.about-image {
  flex: 1;
  height: 450px;
  background: url('https://images.unsplash.com/photo-1541614101331-1a5a3a194e92?q=80&w=900&auto=format&fit=crop') no-repeat center center/cover;
}

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

.pillar-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.3s;
  border-top: 4px solid var(--color-primary);
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.pillar-card p {
  color: #666;
}

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

.post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.post-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.95rem;
}

/* Newsletter CTA */
.newsletter-section {
  background: var(--color-primary-light);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(45, 90, 39, 0.03);
}

.newsletter-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-section p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: #555;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-form input[type='email'] {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ccc;
  border-radius: 30px;
  outline: none;
}

.newsletter-form button {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #23461e;
}

/* Contact page styling */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* FAQ accordion style */
.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.faq-answer {
  padding: 1.25rem;
  color: #555;
  background: var(--color-light);
}

/* Article Page Custom Styling */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.article-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem 0;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem 0;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.1rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.1rem;
}

/* Blog Index Page */
.blog-index-hero {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.88), rgba(31, 45, 36, 0.92)), url('https://images.unsplash.com/photo-1487216949271-6fc4c58a8f5e?q=80&w=1400&auto=format&fit=crop') no-repeat center center/cover;
  padding: 7rem 2rem 5rem;
  text-align: center;
  color: white;
}

.blog-index-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.blog-index-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.blog-index-hero h1 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.blog-index-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .about-segment {
    flex-direction: column;
  }
  .about-image {
    height: 300px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
