:root {
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-blue: #2c3e50;
  --accent-orange: #e67e22;
  --accent-hover: #d35400;

  --content-width: 1200px;
  --image-width: 1200px;
}

/* ========== GLOBAL STYLES ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== CENTERED PAGE WRAPPER ========== */
.centered-page {
  max-width: var(--image-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

/* ========== PAGE CONTENT ========== */
.page-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

/* ========== BLOG WRAPPER ========== */
.blog-wrapper {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.0);
  padding: 40px;
  text-align: left;
}

/* ========== BLOG HEADER ========== */
.blog-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.blog-meta {
  max-width: var(--image-width);
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-author,
.blog-date {
  margin: 0;
}

/* ========== BLOG IMAGE ========== */
.blog-header img.blog-feature-image {
  max-width: var(--image-width);
  width: 100%;
  height: auto;
  margin: 0 0 2rem 0;
  display: block;
  border-radius: 8px;
}

/* ========== BLOG CONTENT SECTIONS ========== */
.blog-intro,
.blog-image,
.blog-section,
.blog-cta,
.test-banner,
.benefits-list,
.branding-footer {
  margin-bottom: 3rem;
}

.blog-intro p,
.blog-section p,
.blog-section ul,
.benefits-list {
  max-width: var(--content-width);
  margin: 0 0 1.5rem 0;
  text-align: left;
  font-size: 1.1rem;
}

/* ========== BLOG IMAGE WRAPPER ========== */
.blog-image {
  clear: both;
  position: relative;
  z-index: 1;
}

.blog-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-image figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  text-align: left;
}

/* ========== BLOG SECTION ========== */
.blog-section {
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.blog-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--text-dark);
}

/* ========== LIST STYLING ========== */
.blog-section ul,
.benefits-list ul {
  list-style: none;
  padding-left: 0;
}

.blog-section ul li,
.benefits-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-align: left;
}

.blog-section ul li::before {
  content: "✅ ";
  font-weight: bold;
  color: #007bff;
}

.benefits-list li::before {
  content: "✅ ";
  font-weight: bold;
  color: green;
}

/* ========== CTA SECTION ========== */
.blog-cta {
  background: var(--bg-light);
  padding: 1rem;
  border-left: 4px solid var(--accent-orange);
  text-align: left;
}

.blog-cta a {
  color: var(--accent-orange);
  text-decoration: underline;
  font-weight: 500;
}

.blog-cta a:hover {
  text-decoration: none;
}

/* ========== BENEFITS LIST ========== */
.benefits-list {
  background: #f0f8f5;
  padding: 1.5rem;
  border-radius: 6px;
}

/* ========== CONTACT SECTION ========== */
.get-in-touch {
  background-color: var(--bg-white);
  padding: 60px 20px;
}

.touch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.touch-info {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.touch-info h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.touch-info .highlight {
  color: var(--accent-orange);
}

.touch-info p,
.touch-info ul,
.touch-info li {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-muted);
  text-align: left;
}

.touch-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.touch-form input,
.touch-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.touch-form button {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.touch-form button:hover {
  background-color: var(--accent-hover);
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--accent-blue);
  color: white;
  text-align: center;
  padding: 20px;
}

/* ========== QUOTE POPUP (HIDDEN ON BLOGS) ========== */
.popup-overlay {
  display: none;
  justify-content: center;
}

/* ========== FAQ SECTION ========== */
.blog-faq {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-left: 4px solid var(--accent-orange);
  border-radius: 6px;
}

.blog-faq h2 {
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.blog-faq-item {
  margin-bottom: 1.2rem;
}

.blog-faq-item h3 {
  font-size: 1.1rem;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.blog-faq-item p {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0;
}

/* ========== RELATED BLOGS ========== */
.related-blogs {
  margin-top: 3rem;
  background: #f5f8fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.related-blogs h2 {
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.related-blogs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-blogs li {
  margin-bottom: 0.8rem;
}

.related-blogs a {
  color: var(--accent-orange);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s;
}

.related-blogs a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .page-content,
  .blog-wrapper {
    padding: 20px;
  }

  .touch-container {
    flex-direction: column;
    padding: 20px;
  }

  .blog-header h1 {
    font-size: 1.8rem;
  }

  .blog-section h2 {
    font-size: 1.3rem;
  }

  .blog-header img.blog-feature-image {
    max-width: 100%;
  }

  .blog-meta,
  .blog-intro p,
  .blog-section p,
  .blog-section ul,
  .blog-section li,
  .blog-cta,
  .blog-cta a,
  .benefits-list,
  .touch-info,
  .touch-form {
    text-align: left !important;
  }
}
