/* Minimal Custom Stylesheet for Aardvark Pest Management */
/* This replaces the 321KB Bootstrap + custom styles with essential styles only */

/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  letter-spacing: normal;
}

/* Font Definitions */
@font-face {
    font-family: 'Lato';
    src: url('/static/assets/css/fonts/Lato-Regular.woff2') format('woff2'),
         url('/static/assets/css/fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/assets/css/fonts/Lato-Bold.woff2') format('woff2'),
         url('/static/assets/css/fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/static/assets/css/fonts/Roboto-Regular.woff2') format('woff2'),
         url('/static/assets/css/fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/static/assets/css/fonts/Roboto-Bold.woff2') format('woff2'),
         url('/static/assets/css/fonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
  --primary-color: #00ACCE;
  --secondary-color: #190F3C;
  --body-font: 'Lato', sans-serif;
  --heading-font: 'Roboto', sans-serif;
  --light-bg: #F6F6F6;
  --sky-bg: #F8FBFF;
  --transition: all ease 0.4s;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1 { font-size: 2.5rem; color: #008BB3; }
h2 { font-size: 2rem;   color: #009FC7; }
h3 { font-size: 1.75rem; color: #00ACCE; }
h4 { color: #33C1DB; }
h5 { color: #66D6E8; }
h6 { color: #99E9F2; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ============================================================================
   BLOG STYLES - Modern Design Inspired by Tailwind/shadcn
   ============================================================================ */

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2a1b5c 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Category Filter */
.category-filter {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: white;
  border: 2px solid #e2e8f0;
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.filter-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 172, 206, 0.15);
}

.filter-pill.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Blog Listing */
.blog-listing {
  background: white;
}

/* Blog Card - Modern Card Design */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f5f9;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #e2e8f0;
}

.blog-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__categories {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
  opacity: 0.9;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card__title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__excerpt {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  color: var(--primary-color);
  background: rgba(0, 172, 206, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: auto;
  transition: all 0.2s ease;
}

.blog-card__read-more:hover {
  gap: 0.75rem;
  color: var(--secondary-color);
}

.blog-card__read-more svg {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__read-more svg {
  transform: translateX(2px);
}

/* Empty State */
.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.empty-state p {
  color: #64748b;
  font-size: 1.125rem;
}

/* ============================================================================
   BLOG POST PAGE STYLES - Modern Typography & Reading Experience
   ============================================================================ */

/* Blog Post Header */
.blog-post__header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 3rem 0 2rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.breadcrumb-nav a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: #cbd5e1;
}

.post-categories {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Featured Image */
.blog-post__featured-image {
  padding: 2rem 0;
  background: white;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Blog Post Content */
.blog-post__content {
  background: white;
  padding: 3rem 0;
}

.prose {
  max-width: none;
  color: #374151;
  line-height: 1.7;
  font-size: 1.125rem;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.prose h1 { color: #008BB3; }
.prose h2 { color: #009FC7; }
.prose h3 { color: #00ACCE; }
.prose h4 { color: #33C1DB; }
.prose h5 { color: #66D6E8; }
.prose h6 { color: #99E9F2; }

.prose h2 {
  font-size: 1.875rem;
  /* Remove border that looked like an <hr> */
  border-bottom: none;
  padding-bottom: 0;
}

.prose h3 {
  font-size: 1.5rem;
}

.prose h4 {
  font-size: 1.25rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #f8fafc;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 8px 8px 0;
}

.prose code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--secondary-color);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.prose pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.prose img {
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prose a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

.prose a:hover {
  color: var(--secondary-color);
}

/* Post Tags */
.post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.post-tags h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Related Posts */
.related-posts {
  background: var(--light-bg);
}

.related-posts h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.related-posts p {
  color: #64748b;
  font-size: 1.125rem;
}

/* Post Navigation */
.post-navigation {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid #f1f5f9;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: all 0.2s ease;
}

.back-to-blog:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 172, 206, 0.25);
}

.back-to-blog svg {
  transition: transform 0.2s ease;
}

.back-to-blog:hover svg {
  transform: translateX(-2px);
}

/* Blog Integration Styles */
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 172, 206, 0.3);
  gap: 0.75rem;
}

.btn-outline-primary svg {
  transition: transform 0.2s ease;
}

.btn-outline-primary:hover svg {
  transform: translateX(2px);
}

/* ============================================================================
   PAGINATION STYLES - Modern Design
   ============================================================================ */

.pagination-nav {
  margin-top: 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-item {
  display: flex;
}

.page-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: white;
  color: #64748b;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 44px;
  justify-content: center;
}

.page-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 172, 206, 0.25);
}

.page-item.active .page-link {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 172, 206, 0.3);
}

.page-item.active .page-link:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-link svg {
  transition: transform 0.2s ease;
}

.page-link:hover svg {
  transform: translateX(2px);
}

.page-link:has(svg:first-child):hover svg {
  transform: translateX(-2px);
}

@media (max-width: 768px) {
  .pagination {
    gap: 0.25rem;
    flex-wrap: wrap;
  }
  
  .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    min-width: 40px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-hero p {
    font-size: 1rem;
  }
  
  .filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .blog-card__content {
    padding: 1rem;
  }
  
  .blog-card__meta {
    gap: 0.5rem;
  }
  
  /* Blog Post Mobile Styles */
  .blog-post__header {
    padding: 2rem 0 1.5rem;
  }
  
  .post-title {
    font-size: 1.75rem;
  }
  
  .post-meta {
    gap: 1rem;
  }
  
  .featured-image {
    height: 250px;
  }
  
  .blog-post__content {
    padding: 2rem 0;
  }
  
  .prose {
    font-size: 1rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
  
  .breadcrumb-nav {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .post-navigation {
    padding: 1.5rem 0;
  }
}

a:hover {
  color: #008bb3;
  text-decoration: none;
}

/* Grid System - Minimal Bootstrap Grid */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-full {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1320px;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Column Classes */
.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 1400px) {
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.333333%; }
}

/* Utility Classes */
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.text-lg-start { text-align: left !important; }
.text-lg-end { text-align: right !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
}

@media (min-width: 1200px) {
  .d-xl-block { display: block !important; }
}

/* Spacing */
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-xl-5 { margin-top: 3rem !important; }
.ms-auto { margin-left: auto !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.p-0 { padding: 0 !important; }

.h-auto { height: auto !important; }
.h-100 { height: 100% !important; }

.gy-4 > * { margin-top: 1.5rem; }
.gy-4 { margin-top: -1.5rem; }

@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
}

@media (min-width: 1200px) {
  .mb-xl-0 { margin-bottom: 0 !important; }
}

/* Background Classes */
.light-bg { background-color: var(--light-bg) !important; }
.sky-bg { background-color: var(--sky-bg) !important; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  color: white;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 24px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.btn:hover {
  color: white;
  background-color: #008bb3;
  border-color: #008bb3;
}

.btn-white {
  color: var(--primary-color);
  background-color: white;
  border-color: white;
}

.btn-white:hover {
  color: white;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Custom Components */
.top-bar {
  background: var(--secondary-color);
  color: white;
  padding: 10px 0;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar.hidden {
  display: none;
}

.contact-top {
  display: flex;
  gap: 30px;
  align-items: center;
}

.connect {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
}

.time-sign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.time-sign a {
  color: white;
  text-decoration: none;
}

.time-sign a:hover {
  color: var(--primary-color);
}

/* Navigation */
.navbar-container {
  background: white;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  position: relative;
}

.navbar-container.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.navbar-brand img {
  transition: all 0.3s ease;
  max-height: 85px;
  width: auto;
}

.navbar-container.scrolled .navbar-brand img {
  max-height: 40px;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 48px;
  transform: translateY(-5px);
}

.nav-link:hover {
  color: #008bb3;
}

.navbar-container.scrolled .nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  min-height: 40px;
}

.navbar-container.scrolled .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-height: 40px;
  transform: translateY(-3px);
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-toggler-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #212529;
  margin: 3px 0;
  transition: var(--transition);
}

.navbar-collapse {
  flex-basis: auto;
  flex-grow: 1;
  align-items: center;
  display: flex;
  justify-content: center;
}

.navbar-collapse.collapse {
  display: flex;
}

.navbar-collapse.collapse.show {
  display: flex;
}

@media (max-width: 1199px) {
  .navbar-collapse {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  
  .navbar-collapse.collapse {
    display: none;
  }
  
  .navbar-collapse.collapse.show {
    display: block;
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Responsive Navigation */
@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    margin-left: 0;
  }
  
  .navbar-expand-xl .navbar-toggler {
    display: none;
  }
  
  .navbar-expand-xl .btn {
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0;
    transform: translateY(-5px);
  }
}

@media (max-width: 1199px) {
  .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 1399px) {
  .navbar-container .btn {
    font-size: 0.875rem;
    padding: 8px 16px;
  }
  
  .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.95rem;
  }
}

.hero-banner {
  position: relative;
  min-height: 600px;
  background-size: cover !important;
  background-position: center !important;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.5;
  z-index: -1;
}

.hero-banner h1 {
  color: white;
  margin-bottom: 10px;
}

.hero-banner p {
  color: white;
  font-size: 16px;
}

.btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}

.feature-block-outer {
  margin-top: -60px;
  position: relative;
  margin-bottom: 60px;
}

.feature-block {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 100%;
}

.feature-block .icon {
  display: block;
  margin-bottom: 20px;
}

.feature-block .icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-block:hover .icon svg {
  color: #008bb3;
  transform: scale(1.1);
}

.feature-block h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.feature-block p {
  color: #666;
  line-height: 1.6;
}

/* Image + Content Section */
.img-content {
  padding: 60px 0;
}

.img-content + .img-content {
  padding-top: 0;
}

.img-content.light-bg {
  background-color: var(--light-bg);
}

.img-content .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.img-content .imgTag,
.img-content .info {
  flex: 1;
}

.img-content .imgTag img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.img-content .info h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.img-content .info p {
  color: #5d5d5d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.img-content .btn {
  border-radius: 30px;
}

@media (max-width: 992px) {
  .img-content .container {
    flex-direction: column;
    text-align: center;
  }

  .img-content .info {
    width: 100%;
  }

  .img-content .info h2 {
    margin-bottom: 15px;
  }

  .img-content .info .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Image Wrapper with Overlap Effect */
.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* Overlapping Layout for Image-Text Sections */
@media (min-width: 992px) {
  .section-space .row.align-items-center {
    position: relative;
  }
  
  /* Normal layout: text left, image right */
  .section-space .row.align-items-center .col-lg-6:first-child:not(.order-lg-2) {
    z-index: 2;
    position: relative;
    margin-right: -100px;
  }
  
  .section-space .row.align-items-center .col-lg-6:last-child:not(.order-lg-1) {
    z-index: 1;
    position: relative;
  }
  
  .section-space .row.align-items-center .col-lg-6:last-child:not(.order-lg-1) .img-wrapper {
    margin-left: 0px;
  }
  
  /* Reversed layout: image left, text right */
  .section-space .row.align-items-center .col-lg-6.order-lg-1 {
    z-index: 1;
    position: relative;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-2 {
    z-index: 2;
    position: relative;
    margin-left: -100px;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-1 .img-wrapper {
    margin-right: 0px;
  }
}

/* Dark Blue Callout Box */
.callout-box {
  background: #1a1a3e;
  color: white;
  padding: 50px;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 3;
}

.callout-box h2 {
  color: white;
  font-family: var(--heading-font);
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 20px;
}

.callout-box p {
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.callout-box .btn {
  background-color: #00bcd4;
  border-color: #00bcd4;
  color: white;
  font-weight: 600;
  border-radius: 25px;
  padding: 12px 24px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.callout-box .btn:hover {
  background-color: #00acc1;
  border-color: #00acc1;
  color: white;
}

/* Text Callout Box (for the two-column text sections) */
.text-callout-box {
  background: #1a1a3e;
  color: white;
  padding: 40px;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-callout-box h3 {
  color: white;
  font-family: var(--heading-font);
  font-weight: bold;
  margin-bottom: 20px;
}

.text-callout-box p {
  color: white;
  line-height: 1.6;
  margin-bottom: 15px;
}

.text-callout-box a {
  color: #00bcd4;
  text-decoration: underline;
}

.text-callout-box a:hover {
  color: #00acc1;
}

.text-callout-section .bedbug-block {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

.text-callout-section .bedbug-block h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.text-callout-section .bedbug-block p {
  color: #5d5d5d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.text-callout-section .bedbug-block p:last-child {
  margin-bottom: 0;
}

.text-callout-section .bedbug-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.text-callout-section .bedbug-block a:hover {
  color: #008bb3;
}

.text-callout-section + .text-callout-section {
  padding-top: 0;
}

.text-callout-section + .text-callout-section .container {
  padding-top: 20px;
}

@media (max-width: 992px) {
  .text-callout-section .bedbug-block {
    text-align: center;
  }
}

.section-space {
  padding: 80px 0;
}

.sm-tl {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

/* Testimonials */
.testimonial-block {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 20px;
}

.testimonial-block .user {
  margin-bottom: 20px;
}

.testimonial-block .user img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-block p {
  font-style: italic;
  margin-bottom: 20px;
  color: #666;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 20px 0;
}

.rating img {
  width: 16px;
  height: 16px;
}

.name {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.position {
  color: #666;
  font-size: 14px;
}

/* Blog */
.single-blog {
  margin-bottom: 30px;
}

.single-blog .imgtag {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}

.single-blog .imgtag img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.single-blog .imgtag:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 0 10px;
}

.blog-content h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.blog-content p {
  color: #666;
  margin-bottom: 15px;
}

.writer-date {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #666;
}

.writer-date li {
  position: relative;
}

.writer-date li:not(:last-child)::after {
  content: "•";
  margin-left: 15px;
  color: #ccc;
}

.writer-date a {
  color: var(--primary-color);
  text-decoration: none;
}

.writer-date a:hover {
  text-decoration: underline;
}

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

.read-more:hover {
  text-decoration: underline;
}

/* Logo Section */
.logo-sect {
  padding: 60px 0;
  background: #f8f9fa;
}

.logo-sect img {
  max-height: 80px;
  margin: 0 20px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-sect img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Documents Section */
.doc-list {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.doc-list .icon {
  flex-shrink: 0;
}

.doc-list .icon img {
  width: 20px;
  height: 20px;
}

.our-client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.our-client-logo img {
  max-height: 100px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.our-client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: white;
}

.footer-top {
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 8, 36, 0.9);
  z-index: 1;
}

.footer-top .container {
  position: relative;
  z-index: 2;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-link ul {
  list-style: none;
  padding: 0;
}

.footer-link a {
  color: #ccc;
  text-decoration: none;
  line-height: 2;
}

.footer-link a:hover {
  color: white;
}

.social-here ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
}

/* Footer Contact Icon Alignment */
.footer-top .connect {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-top .connect .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-top .connect .info {
  flex: 1;
  line-height: 1.4;
}

.footer-top .connect .info a {
  color: #ccc;
  text-decoration: none;
}

.footer-top .connect .info a:hover {
  color: white;
}

.copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.copyright-inner p {
  margin: 0;
}

.sitemap-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
}

.sitemap-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-banner {
    min-height: 400px;
    padding: 40px 0;
  }
  
  .hero-banner h1 {
    font-size: 2rem;
  }
  
  .btns {
    flex-direction: column;
    align-items: center;
  }
  
  .section-space {
    padding: 40px 0;
  }
  
  .feature-block-outer {
    margin-top: -30px;
  }
  
  .callout-box {
    padding: 30px;
  }
  
  .text-callout-box {
    padding: 30px;
  }
  
  .img-wrapper img {
    height: 300px;
  }
  
  /* Remove overlap effect on mobile */
  .section-space .row.align-items-center .col-lg-6:first-child:not(.order-lg-2) {
    margin-right: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6:last-child:not(.order-lg-1) .img-wrapper {
    margin-left: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-2 {
    margin-left: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-1 .img-wrapper {
    margin-right: 0;
  }
  
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-top {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .time-sign {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }
  
  .our-client-logo {
    gap: 20px;
  }
  
  .our-client-logo img {
    max-height: 50px;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
  }
  
  .feature-block-outer {
    margin-top: -30px;
  }
  
  .logo-sect img {
    margin: 10px;
    max-height: 100px;
  }
  
  /* Remove overlap effect on tablets */
  .section-space .row.align-items-center .col-lg-6:first-child:not(.order-lg-2) {
    margin-right: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6:last-child:not(.order-lg-1) .img-wrapper {
    margin-left: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-2 {
    margin-left: 0;
  }
  
  .section-space .row.align-items-center .col-lg-6.order-lg-1 .img-wrapper {
    margin-right: 0;
  }
}

/* Swiper Styles for Testimonial Slider */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  bottom: 10px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

/* ============================================================
   Scroll-reveal animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed,
[data-reveal-child].revealed {
  opacity: 1;
  transform: translateY(0);
}

.img-loading {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.img-revealed {
  opacity: 1;
}

/* ============================================================
   Blog post & index refinements
   ============================================================ */
.blog-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2a1b5c 100%);
  color: white;
  padding: 60px 0 50px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin: 0 auto;
  max-width: 600px;
}

.blog-listing {
  padding: 50px 0 80px;
}

.blog-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog-card__title a {
  color: var(--dark-color);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.blog-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-card__tags .tag {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 500;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: auto;
}

.blog-card__read-more:hover {
  gap: 10px;
}

/* Blog post detail */
.blog-post__header {
  background: #f3f6f9;
  padding: 50px 0 40px;
}

.breadcrumb-nav {
  display: flex;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-nav span {
  color: #999;
}

.post-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.post-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.25;
  margin: 0 0 14px;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #888;
}

.blog-post__featured-image {
  margin-top: -20px;
  margin-bottom: 40px;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post__content {
  padding-bottom: 60px;
}

.blog-post__content .section-space {
  padding: 0;
}

.blog-post__content .section-space > .container {
  padding: 0;
}

.blog-post__featured-image {
  padding-bottom: 0;
}

.blog-post__content .prose {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}

.blog-post__content .prose p {
  margin-bottom: 1.4em;
}

.blog-post__content .prose h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 2em 0 0.8em;
  color: var(--dark-color);
}

.blog-post__content .prose h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 1.8em 0 0.6em;
  color: var(--dark-color);
}

.blog-post__content .prose img {
  border-radius: 8px;
  margin: 1.5em 0;
}

.blog-post__content .prose a {
  color: var(--primary-color);
  text-decoration: underline;
}

.post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8ecf0;
}

.post-tags h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 12px;
}

.tags-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tags-list .tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f3f6f9;
  border-radius: 20px;
  font-size: 13px;
  color: #555;
}

/* ============================================================
   CMS block styles for public pages
   ============================================================ */
.cms-prose {
  padding: 40px 0;
}

.cms-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1em;
}

.cms-prose h2,
.cms-prose h3 {
  color: var(--dark-color);
  margin-top: 1.5em;
}

.cms-callout {
  background: #f0f7ff;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
}

.cms-cta {
  background: var(--primary-color);
  color: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 24px 0;
  text-align: center;
}

.cms-cta h3 {
  color: #fff;
  font-size: 24px;
}

.cms-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.cms-cta-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  border-radius: 30px;
  background: #fff;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.cms-cta-button:hover {
  transform: translateY(-2px);
}

.cms-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.cms-feature-card {
  background: #f8fafc;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 24px;
}

.cms-feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0 0 8px;
}

.cms-feature-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cms-faq {
  margin: 30px 0;
}

.cms-faq-item {
  border-bottom: 1px solid #e8ecf0;
  padding: 20px 0;
}

.cms-faq-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0 0 8px;
}

.cms-faq-item p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.cms-quote {
  margin: 30px 0;
  padding: 30px 36px;
  background: #f8fafc;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
}

.cms-quote blockquote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.cms-quote-author {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  font-style: normal;
}

.cms-comparison,
.cms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.cms-comparison th,
.cms-table th {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.cms-comparison td,
.cms-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8ecf0;
  color: #555;
}

.cms-comparison tr:nth-child(even) td,
.cms-table tr:nth-child(even) td {
  background: #f8fafc;
}

.cms-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.cms-price-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  background: #fff;
}

.cms-price-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.cms-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.cms-price-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.cms-price-features li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 14px;
}

.cms-logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}

.cms-logo img {
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.cms-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.cms-gallery-wrap {
  margin: 30px 0;
}

.cms-gallery-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cms-gallery--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.cms-gallery-item img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.cms-gallery-item figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
  text-align: center;
}

@media (max-width: 768px) {
  .cms-feature-grid {
    grid-template-columns: 1fr;
  }
  .post-title {
    font-size: 26px;
  }
  .blog-hero h1 {
    font-size: 28px;
  }
  .cms-comparison,
  .cms-table {
    font-size: 13px;
  }
  .cms-comparison th,
  .cms-comparison td,
  .cms-table th,
  .cms-table td {
    padding: 8px 10px;
  }
  .cms-cta {
    padding: 28px 20px;
  }
  .cms-gallery--grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cms-faq-item:last-child {
  border-bottom: none;
}

.cms-callout-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0 0 8px;
}

.cms-callout-body {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   Visual Fixes — Homepage & Footer
   ============================================= */

/* Fix 1: Spacing between stacked image-content containers */
.img-content .container + .container {
  margin-top: 60px;
}

.img-content .imgTag {
  max-width: 480px;
  flex-shrink: 0;
}

.img-content .imgTag img {
  max-height: 380px;
  object-fit: cover;
}

@media (max-width: 992px) {
  .img-content .container + .container {
    margin-top: 40px;
  }

  .img-content .imgTag {
    max-width: 100%;
  }

  .img-content .imgTag img {
    max-height: 300px;
    width: 100%;
  }
}

/* Fix 2: Footer logo size constraint */
.footer-top .brand img {
  max-width: 220px;
  height: auto;
}

/* Fix 3: Logo band centering */
.logo-sect .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logo-sect .container img {
  margin: 0; /* override original .logo-sect img margin when flex gap is used */
}
