/* ========================================
   blog.css - Calm & Professional Theme for MenteSpace
   Inspired by sage green, beige, soft light blue
   ======================================== */

/* ---------- GLOBAL RESET & VARIABLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sage: #9caf88;
  --sage-light: #eaf0e3;
  --beige: #faf7f2;
  --light-blue: #dbe9f0;
  --white: #ffffff;
  --text-dark: #3a4a3f;
  --text-soft: #5c6b5a;
  --border-radius-card: 28px;
  --border-radius-btn: 40px;
  --transition: all 0.25s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--beige);
  color: var(--text-dark);
  line-height: 1.6;
}
.blue{
  color: blue;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #2b3a2e;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- HEADER (sticky, soft blur) ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(156, 175, 136, 0.2);
  padding: 12px 0;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--text-dark);
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-dark);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
}

.nav-links a:hover {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

.nav-links a.active-link {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

.cta-btn {
  background-color: var(--sage);
  color: white !important;
  padding: 12px 28px;
  border-radius: var(--border-radius-btn);
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(156, 175, 136, 0.2);
  border: none;
  white-space: nowrap;
}

.cta-btn:hover {
  background-color: #7f9474;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(156, 175, 136, 0.25);
}
.anchor
{
  color: blue;;
}
.blog1 {
  max-width: 800px;     /* Controls width */
  margin: 40px auto;    /* Centers horizontally */
  padding: 20px;
}
.blog1 .image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px; /* optional */
}
/* ---------- BLOG PREVIEW SECTION (stacked cards) ---------- */
.blogs {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-preview {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 42px 48px;
  box-shadow: 0 12px 32px rgba(156, 175, 136, 0.06), 0 4px 12px rgba(0,0,0,0.02);
  transition: var(--transition);
  border: 1px solid rgba(156, 175, 136, 0.15);
}

.blog-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 40px rgba(156, 175, 136, 0.12);
}

.blog-preview h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #2b3a2e;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-preview p {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.seeMore {
  display: inline-block;
  background-color: transparent;
  color: var(--sage);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--sage);
  padding: 12px 38px;
  border-radius: 50px;
  margin-top: 16px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.seeMore:hover {
  background-color: var(--sage);
  color: white;
  border-color: var(--sage);
}

/* ---------- FOOTER (soft sage, rounded) ---------- */
footer {
  background-color: var(--sage-light);
  padding: 60px 0 20px;
  margin-top: 80px;
  border-radius: 48px 48px 0 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 40px;
}

footer h3 {
  font-size: 1.9rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

footer h4 {
  font-size: 1.3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2b3a2e;
}

.footer-desc {
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 260px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-soft);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--sage);
  padding-left: 6px;
}

footer p {
  color: var(--text-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  color: var(--sage);
  width: 24px;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.social-icons a {
  background-color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.social-icons a:hover {
  background-color: var(--sage);
  color: white;
  transform: scale(1.08);
}

.copyright {
  text-align: center;
  margin-top: 48px;
  color: var(--text-soft);
  border-top: 1px solid rgba(156, 175, 136, 0.3);
  padding-top: 28px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
  }

  nav {
    gap: 16px;
    justify-content: center;
  }

  .nav-links {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
  }

  footer p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .blog-preview {
    padding: 30px 24px;
  }

  .blog-preview h1 {
    font-size: 1.6rem;
  }

  .seeMore {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}