@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

/* FAQ Section Centering and Enhancement */
.faq-section {
    padding: 100px 0 80px 0;
    background: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-container {
    background: white;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 16px;
    width: 100%;
    max-width: 900px;
    transition: box-shadow 200ms ease, transform 200ms ease;
    cursor: pointer;
}
.faq-container:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.faq-question {
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 32px;
    display: block;
    pointer-events: auto;
}
.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 220ms ease;
    color: var(--primary);
}
.faq-container.open .faq-question::after { transform: translateY(-50%) rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms ease, opacity 220ms ease;
    opacity: 0;
    margin-top: 8px;
    display: block;
}
.faq-container.open .faq-answer {
    max-height: 1200px;
    opacity: 1;
}
.faq-container p { margin: 8px 0 0 0; }

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* Trust Badges Section */
.trust-badges-section {
    background: #fff;
    padding: 40px 0 20px 0;
    text-align: center;
}
.trust-badges-flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    flex-wrap: nowrap;
    margin: 0 auto;
    max-width: 900px;
}

@media (max-width: 900px) {
    .trust-badges-flex {
        flex-wrap: wrap;
        gap: 32px;
    }
}
.trust-badges-flex > div {
    background: linear-gradient(135deg, #f9fdfb 60%, #eaf6f4 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,95,93,0.07);
    padding: 32px 28px 20px 28px;
    min-width: 170px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.trust-badges-flex > div:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(44,95,93,0.13);
}
.trust-badge-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(44,95,93,0.08);
}
.trust-badge-label {
    font-size: 1.05rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    font-weight: 500;
}

/* General image constraints */
img, .mandala-icon {
    max-width: 100%;
    height: auto;
    display: block;
}
.mandala-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
    animation: float 4s ease-in-out infinite;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c5f5d;
    --primary-light: #4a8b87;
    --primary-lighter: #6eb5ad;
    --accent: #d4a574;
    --dark: #1a3635;
    --light: #f9fdfb;
    --gray: #5a6c7d;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 170px; /* account for larger navbar/logo height */
}
@media (max-width: 768px) {
    /* smaller nav and compact spacing on mobile */
    html { scroll-padding-top: 90px; }
} 

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Cursor Effects */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}
.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-lighter);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.22); /* more transparent pre-scroll */
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
    min-height: 80px; /* reduced navbar height */
    height: auto;
    padding: 8px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 36px rgba(0,0,0,0.06);
    transition: background 300ms ease, box-shadow 300ms ease, transform 280ms ease;
    will-change: transform;
}
nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 20px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
    filter: blur(8px);
    pointer-events: none;
    z-index: 1001;
    opacity: 0.9;
    transition: opacity 300ms ease, filter 400ms ease;
} 
nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 14px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.14), rgba(255,255,255,0));
    filter: blur(6px);
    pointer-events: none;
    z-index: 1001;
}
nav .logo img {
    height: 99px; /* larger logo size */
    width: auto;
    display: block;
    max-width: 220px;
    margin-top: 0; /* ensure top of logo sits within nav */
    transition: height 220ms ease, max-width 220ms ease, transform 220ms ease;
}
nav .logo {
    position: static; /* flow inside container */
    margin-right: 0; /* keep left aligned */
    margin-left: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
}
nav.scrolled .logo img { height: 69px; max-width: 160px; }
nav { overflow: visible; } 

/* Mobile adjustments: keep logo reasonable on small viewports */
@media (max-width: 768px) {
    nav { min-height: 70px; }
    nav .logo img { height: 69px; max-width: 160px; }
    nav.scrolled .logo img { height: 54px; max-width: 140px; }
}

/* Articles page carousel */
.articles-hero { padding: 90px 0 60px; text-align: center; background: linear-gradient(180deg, rgba(235,248,246,1), rgba(249,253,251,1)); }
.articles-hero .hero-content h1 { font-size: 42px; margin-bottom: 6px; }
.articles-section { padding: 48px 0 96px; }
.articles-carousel { display: flex; align-items: center; gap: 16px; position: relative; }
.carousel-viewport { overflow: hidden; width: 100%; }
.carousel-track { display: flex; gap: 28px; transition: transform 780ms cubic-bezier(.16,.8,.24,1); will-change: transform; }
.article-card { background: white; border-radius: 12px; box-shadow: 0 16px 60px rgba(16,46,44,0.08); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; min-width: 320px; max-width: 560px; transition: transform 220ms cubic-bezier(.16,.8,.24,1), box-shadow 220ms ease; }
.article-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.article-card:hover, .article-card:focus-within { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(12,32,30,0.12); }
.article-card:focus-visible { outline: 3px solid rgba(78,153,148,0.18); outline-offset: 4px; }

/* Fallback list styles */
#articles-list-inner ul li a { text-decoration: none; }
#articles-list-inner ul li:hover { transform: translateY(-4px); }
#articles-list-inner ul li { transition: transform 180ms ease, box-shadow 180ms ease; }
#articles-list-inner ul li a { color: var(--primary); }

.article-meta { padding: 18px; }
.article-meta h3 { margin: 0 0 8px; font-size: 20px; color: var(--primary); }
.article-meta .excerpt { color: var(--gray); margin: 0 0 12px; }
.carousel-control { background: rgba(255,255,255,0.92); border: 0; padding: 8px 12px; font-size: 28px; line-height: 1; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); cursor: pointer; }
.carousel-control.prev { margin-left: 8px; }
.carousel-control.next { margin-right: 8px; }

/* Featured article & multi-row sliders */
.articles-section { padding: 60px 0 110px; background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%); }
.featured-article { display: grid; grid-template-columns: minmax(300px, 1.1fr) 1fr; gap: 28px; align-items: center; margin: 36px auto 56px; max-width: 1200px; background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow-md); }
.featured-hero img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 36px rgba(12,32,30,0.12); }
.featured-body { padding: 6px 8px; }
.featured-title { font-family: 'Inter', sans-serif; font-size: 34px; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.featured-excerpt { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--gray); line-height: 1.8; max-width: 60ch; }
.featured-read { display: inline-block; margin-top: 18px; background: var(--primary); color: white; padding: 12px 20px; border-radius: 999px; text-decoration: none; }

.sliders { margin-top: 12px; display: flex; flex-direction: column; gap: 42px; }
.slider-row { max-width: 1200px; margin: 0 auto; }
.slider-header h3 { font-size: 20px; text-transform: uppercase; letter-spacing: 0.08em; margin: 8px 0 14px; color: var(--primary); }
.slider-row .articles-carousel { align-items: stretch; }
.slider-row .article-card { min-width: 260px; max-width: 320px; }
.slider-row .article-card img { height: 180px; }

/* Post page */
.post-article { width: 100%; max-width: none; margin: 0; padding: 40px 6vw 56px; background: white; border-radius: 0; box-shadow: none; }
.post-hero-banner { padding: 22px 0 12px; background: var(--light); filter: none; color: var(--dark); text-align: center; }
.post-hero-banner .hero-content { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.post-hero { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 40px rgba(12,32,30,0.08); margin: 0 auto 8px; display: none; }
.post-title { font-family: 'Inter', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; margin: 6px 0 6px; letter-spacing: -0.01em; color: var(--dark); }
.post-byline { font-size: 14px; letter-spacing: 0.02em; color: var(--gray); text-transform: uppercase; margin-bottom: 16px; }
.post-body { font-family: 'Source Serif 4', 'Merriweather', 'Georgia', serif; font-size: 18px; line-height: 1.92; color: #1b1b1b; max-width: none; margin-top: 18px; }
.post-body,
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6,
.post-body p,
.post-body li,
.post-body blockquote,
.post-body em,
.post-body strong {
    font-family: 'Source Serif 4', 'Merriweather', 'Georgia', serif !important;
}
.post-body h1, .post-body h2, .post-body h3 { font-family: 'Inter', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.post-body p { margin: 0 0 18px; }
.post-body blockquote { border-left: 4px solid var(--primary); padding-left: 16px; color: #3a3a3a; background: rgba(196,31,63,0.06); border-radius: 8px; margin: 18px 0; padding-top: 8px; padding-bottom: 8px; }
.post-body img { width: 100%; border-radius: 8px; margin: 18px 0; }

/* ========================================
   MODERN ARTICLE PAGE STYLES
   ======================================== */

.article-page {
  padding-top: 80px;
  min-height: 100vh;
  background: #fafafa;
}

.article-page .post-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

/* Article Header */
.article-header {
  margin-bottom: 48px;
}

.article-hero-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 40px;
  overflow: hidden;
}

.article-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

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

.article-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
}

.article-author {
  font-weight: 500;
  color: #444;
}

.article-date::before {
  content: '•';
  margin-right: 16px;
  color: #ccc;
}

/* Article Content - Clean, Modern Typography */
.article-content {
  padding: 0 24px;
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 28px;
}

.article-content p:first-of-type {
  font-size: 21px;
  color: #222;
}

.article-content h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 56px 0 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #2a2a2a;
  margin: 40px 0 16px;
}

.article-content h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 32px 0 12px;
}

.article-content strong {
  font-weight: 600;
  color: #1a1a1a;
}

.article-content em {
  font-style: italic;
}

.article-content a {
  color: var(--primary, #c41f3f);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: #a01830;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin: 0 0 28px;
  padding-left: 28px;
}

.article-content li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 12px;
}

.article-content ul li {
  list-style-type: disc;
}

.article-content ul li::marker {
  color: var(--primary, #c41f3f);
}

.article-content ol li {
  list-style-type: decimal;
}

/* Blockquotes */
.article-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8f8f8 0%, #f3f3f3 100%);
  border-left: 4px solid var(--primary, #c41f3f);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.article-content blockquote p {
  font-size: 18px;
  color: #444;
  margin-bottom: 0;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Code blocks */
.article-content code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  color: #c41f3f;
}

.article-content pre {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 28px 0;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: #e0e0e0;
}

/* Images in content */
.article-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Horizontal rules */
.article-content hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 48px 0;
}

/* Tables */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.article-content th,
.article-content td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.article-content th {
  font-weight: 600;
  background: #f8f8f8;
}

/* Article Footer */
.article-footer {
  padding: 48px 24px;
  margin-top: 64px;
  border-top: 1px solid #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.back-to-articles {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-articles:hover {
  color: var(--primary, #c41f3f);
}

/* Site Footer for Article Pages */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 48px 24px;
  margin-top: 0;
}

.site-footer .footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.site-footer .footer-logo {
  height: 50px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.site-footer .footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.site-footer .footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover {
  color: #fff;
}

.site-footer .footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
}

/* Mobile Responsive for Article Pages */
@media (max-width: 768px) {
  .article-page {
    padding-top: 70px;
  }

  .article-hero-image {
    height: 280px;
  }

  .article-header-content,
  .article-content,
  .article-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .article-date::before {
    display: none;
  }

  .article-content p {
    font-size: 17px;
  }

  .article-content p:first-of-type {
    font-size: 18px;
  }

  .article-content h2 {
    font-size: 24px;
    margin-top: 40px;
  }

  .article-content h3 {
    font-size: 20px;
  }

  .article-content li {
    font-size: 17px;
  }

  .site-footer .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 900px) {
    .featured-article { grid-template-columns: 1fr; padding: 0 18px; }
    .featured-hero img { height: 260px; }
    .slider-row .article-card { min-width: 240px; }
    .post-hero-banner { padding: 18px 0 10px; }
    .post-hero { height: 180px; }
}

/* Mobile improvements */
@media (max-width: 720px) {
  nav { min-height: 56px; padding: 8px 0; }
    nav .logo img { height: 53px; max-width: 160px; }
  html { scroll-padding-top: 70px; }
  .hero h1 { font-size: 36px; }
  .articles-hero .hero-content h1 { font-size: 32px; }
  .featured-title { font-size: 26px; }
  .featured-excerpt { font-size: 16px; }
  .carousel-track { gap: 18px; }
  .article-card { min-width: 220px; }
  .article-card img { height: 140px; }
    .post-article { margin: 0; padding: 24px 20px 40px; }
    .post-body { font-size: 17px; line-height: 1.85; }
  .primary-btn, .secondary-btn { padding: 12px 16px; }
  footer .footer-content { padding: 24px 16px; }

  /* Gallery styles for mobile */
  .post-gallery { margin-top: 18px; }
  .post-gallery .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .post-gallery figure img { width: 100%; height: auto; border-radius: 8px; }
  .post-gallery figcaption { font-size: 13px; color: var(--gray); margin-top: 6px; }
}

/* Desktop gallery */
.post-gallery { margin-top: 28px; }
.post-gallery .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-gallery figure { margin: 0; }
.post-gallery figure img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(12,32,30,0.06); }
.post-gallery figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }






/* Drop cap for first paragraph */


/* Content appear animation */
@keyframes content-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}


/* Improve link buttons and side actions */



/* Subtle vignette to focus reading area */

@media (max-width: 900px) {

}

@media (max-width: 900px) {



}
@media (max-width: 900px) {
    .article-card img { height: 160px; }
    .article-card { min-width: 260px; max-width: 420px; }
    .articles-hero { padding: 64px 0 36px; }
}
nav.scrolled {
    padding: 8px 0;
    box-shadow: 0 6px 36px rgba(0,0,0,0.12);
    background: rgba(255, 255, 255, 0.26); /* more transparent when scrolled */
    height: 70px; /* compact when scrolled */
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Shrink logo when nav is scrolled so it fits cleanly */
nav.scrolled .logo img {
    height: 56px;
    max-width: 120px;
    margin-top: 0;
}
nav.scrolled::after {
    opacity: 0.6;
    filter: blur(6px);
}
nav.scrolled::after {
    opacity: 0.8;
}
nav.scrolled .logo {
    margin-right: 0;
}
nav.scrolled .logo img {
    height: 90px; /* shrink when navbar is compact */
    max-width: 140px;
    margin-top: -6px;
}    

.nav-container {
    max-width: 1600px; /* wider across viewport */
    margin: 0 auto;
    padding: 0 48px; /* even padding both sides */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    gap: 18px;
}   

/* Ensure logo sits flush left inside the container and provides space to the menu */
.logo {
    margin-right: 48px; /* add spacing between logo and menu */
    margin-left: 0;
} 
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.logo:hover img {
    transform: scale(1.05) rotate(5deg);
}
.logo-light { display: none; }
.logo-dark { display: block; }
nav.scrolled .logo-light { display: none; }
nav.scrolled .logo-dark { display: block; }
.logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
}
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin-left: auto; /* push links and CTA to the right */
    align-items: center;
}
.nav-links a {
    color: #0f2b29; /* darker menu text for better contrast */
    text-decoration: none;
    font-weight: 600;
    font-size: 18px; /* increased for legibility */
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}  
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--primary-light);
}
.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 93, 0.3);
    position: relative;
    overflow: hidden;
}
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 360ms cubic-bezier(0.25,0.8,0.25,1), opacity 260ms;
    opacity: 0;
    pointer-events: none;
}
.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(44, 95, 93, 0.4);
}
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: all 0.3s ease;
}
.hamburger span::before, .hamburger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.active span {
    background: transparent;
}
.hamburger.active span::before {
    transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span::after {
    transform: rotate(-45deg) translate(8px, -8px);
}
@media (max-width: 900px) {
    nav { min-height: 75px; padding: 8px 0; }
    nav .logo img { height: 80px; max-width: 140px; }
    nav .logo { margin-right: auto; margin-left: 0; flex: 1 1 auto; min-width: 0; }
    .nav-container { padding: 0 12px; width: 100%; max-width: none; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: nowrap; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
        background: white;
        color: var(--dark);
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 14px 40px rgba(0,0,0,0.12);
        min-width: 0;
        z-index: 1080;
    }
    #navbar.nav-open .nav-links { display: flex; }
    .nav-links a { color: var(--dark); padding: 10px 14px; text-align: left; width: 100%; }
    .hamburger { display: inline-flex !important; margin-left: 0 !important; position: relative; right: 0; padding: 6px !important; flex-shrink: 0; order: 3; }
    /* compact CTA + hamburger on the same row */
    .nav-container { flex-wrap: nowrap !important; }
    .nav-container .cta-button {
        display: inline-flex !important;
        width: auto !important;
        margin: 0 6px 0 0 !important;
        padding: 7px 12px !important;
        font-size: 0.88rem !important;
        border-radius: 999px !important;
        position: static !important;
        order: 3;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .hamburger {
        position: static !important;
        transform: none !important;
        order: 4;
    }
    .hero { padding-top: 76px; padding-bottom: 36px; align-items: flex-start; }
} 

/* Hero Section with Particles */
.hero {
    min-height: calc(100vh - 64px); /* full viewport less navbar */
    background:
        linear-gradient(rgba(6, 15, 13, 0.28), rgba(6, 15, 13, 0.12)),
        linear-gradient(135deg, rgba(44,95,93,0.55) 0%, rgba(74,139,135,0.35) 50%, rgba(110,181,173,0.18) 100%),
        url('assets/pictures/02/3e3b3ea2-96e7-4fa6-94d1-d836b0e4ab47-2048x1536.png') center/cover no-repeat;
    background-blend-mode: normal, normal, normal;
    padding-top: 0; /* use flex centering instead */
    transition: transform 0.3s ease;
    display: flex; /* center vertically */
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
    color: white;
    text-align: center;
}
/* Make hero more compact on small viewports so it doesn't visually consume too much space */
@media (max-width: 768px) {
    .hero { min-height: 55vh; background-position: center top; padding-top: 20px; align-items: flex-start; padding-bottom: 28px; }
    .hero h1 { font-size: clamp(20px, 6vw, 28px); }
    .hero p { font-size: 0.95rem; }
}  
.hero h1, .hero p { text-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.hero p { color: rgba(255,255,255,0.95); }
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* bring particles above subtle pseudo shapes */
    pointer-events: none;
}
.global-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}
.global-particles .particle {
    background: radial-gradient(circle, rgba(212,165,116,0.55) 0%, rgba(44,95,93,0.25) 60%, rgba(255,255,255,0) 100%);
    filter: blur(0.2px);
}
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.18); /* slightly brighter */
    border-radius: 50%;
    animation: floatParticle 20s infinite;
    will-change: transform, opacity;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
}
.hero, header, main, footer, nav {
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 900px;
    padding: 0 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease;
    position: relative;
    gap: 24px;
    text-align: center;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carousel reveal & stagger */
.carousel-track .article-card { opacity: 0; transform: translateY(10px); transition: transform 420ms cubic-bezier(.16,.8,.24,1), opacity 420ms ease; }
.carousel-track.loaded .article-card { opacity: 1; transform: translateY(0); }

/* Make featured & sliders subtly breathe */
.featured-hero img { transition: transform 420ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms ease; }
.featured-hero img:hover { transform: scale(1.02) translateY(-6px); box-shadow: 0 28px 80px rgba(12,32,30,0.12); }

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.2;
    display: block;
    color: white;
    text-align: center;
} 
.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* Post page hero override: reduce height and drop background layers */
.post-hero-banner {
    min-height: 800px;
    background:
        linear-gradient(180deg, rgba(6, 15, 13, 0.38), rgba(6, 15, 13, 0.32)),
        url('assets/pictures/01/sage-friedman-HS5CLnQbCOc-unsplash-1-1-1600x800.jpg') center/cover no-repeat;
    color: white;
    padding: 18px 0 14px;
    filter: none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.post-hero-banner .post-title { text-shadow: 0 8px 20px rgba(0,0,0,0.45); }
.post-hero-banner::before,
.post-hero-banner::after { display: none; }
@media (max-width: 900px) {
    .post-hero-banner { min-height: 640px; padding: 14px 0 10px; }
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.primary-btn {
    background: white;
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, transparent, rgba(74, 139, 135, 0.18), transparent);
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.12);
    transform: translateX(-110%);
    transition: transform 360ms cubic-bezier(0.25,0.8,0.25,1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: none; /* non-interactive */
    will-change: transform;
}
.primary-btn:hover::before {
    transform: translateX(0);
} 
.secondary-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
    font-size: 30px;
    opacity: 0.7;
    cursor: pointer;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles with Parallax */
section {
    padding: 120px 50px 100px 50px;
    position: relative;
}
/* Reduce large section padding on small screens to avoid tall empty space */
@media (max-width: 768px) {
    section { padding: 60px 20px 60px 20px; }
} 
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-subtitle {
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}
.section-header.visible .section-title::after {
    opacity: 1;
}
.section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--light);
}
.about-image-flex { grid-column: 2 / 3; grid-row: 1 / 2; width: 100%; }
.about-image-flex img, .about-main-image {
    width: 100%;
    height: min(640px, 62vh); /* increased height for a taller image */
    max-height: 640px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    display: block;
}
/* Make the about text wider to balance the narrower image column */
.about-text { max-width: 1320px; padding-right: 24px; } /* expanded */
.about-text p { margin-bottom: 12px; }

@media (max-width: 768px) {
    .about-text { max-width: 100%; padding-right: 0; }
    .about-image-flex img, .about-main-image { height: auto; max-height: none; }
}

/* Mid-size cap so tall desktop image scales down cleanly */
@media (max-width: 1024px) {
    .about-image-flex img, .about-main-image { height: min(520px, 46vh); max-height: 520px; }
    .about-content { grid-template-columns: 1fr 1fr; }
} 
.about-content {
    display: grid;
    grid-template-columns: 1.9fr 1fr; /* widen text column, narrow image column */
    gap: 28px; /* spacing between text and image */
    row-gap: 36px;
    align-items: start; /* align top so taller image aligns visually */
}  
.about-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 25px;
}
.about-text p {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 20px;
}
.about-content { grid-auto-rows: auto; }
.benefit-side { grid-column: 2 / 3; grid-row: 2 / 3; padding-left: 24px; min-width: 320px; width: 100%; box-sizing: border-box; }
.benefits-grid { grid-column: 1 / 2; grid-row: 2 / 3; margin-top: 0; max-width: 720px; }
.benefits-grid .benefit-card { min-height: 260px; } 
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 32px;
    margin: 0;
    width: 100%; /* fill the left column of about-bottom */
    max-width: 828px; /* increased by 15% */
    align-items: stretch;
    align-content: start;
}   
.benefit-side {
    align-self: stretch;
    display: block;
    min-width: 320px; /* prevent it collapsing into a thin strip */
}
.benefit-side img {
    width: 100%;
    height: min(448px, 38vh); /* reduced to match about image (~33% smaller) */
    max-height: 448px;
    object-fit: cover; /* fill the column and crop elegantly */
    object-position: center center;
    border-radius: 12px;
    display: block;
}

/* New: about-bottom layout - benefits row above full-width image */
.about-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    grid-column: 1 / -1; /* span the full width of the parent about-content grid */
    position: relative; /* allow overlap positioning */
}

/* Desktop: show the benefits as a single row and place the image below spanning full width */
@media (min-width: 900px) {
    /* Ensure the image stays visually above the cards and cards sit below with a gap */
    .about-bottom .benefit-side {
        width: 100%;
        padding-left: 0;
        grid-column: 1 / -1;
        position: relative;
        z-index: 2; /* image above */
    }
    .about-bottom .benefit-side img {
        height: min(520px, 52vh);
        max-height: 520px;
        border-radius: 12px;
        box-shadow: 0 20px 60px rgba(16,46,44,0.12);
        display: block;
    }

    .about-bottom .benefits-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        gap: 28px;
        width: 100%;
        max-width: 1200px;
        margin: 24px auto 0 auto; /* sit directly below the image */
        align-items: stretch;
        grid-column: 1 / -1;
        grid-row: auto;
        position: relative;
        z-index: 1; /* beneath the image */
    }
    .about-bottom .benefit-card { min-height: 220px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
}

@media (max-width: 900px) {
    .about-content { grid-template-columns: 1fr !important; }
    .about-text, .about-image-flex, .about-bottom { width: 100% !important; max-width: 100% !important; }
    .about-image-flex { display: none !important; }
    .about-bottom .benefits-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    /* ensure the image does not sit above and obscure content on mobile */
    .about-bottom .benefit-side { display: none !important; }
}

@media (max-width: 1024px) {
    .benefit-side img { height: min(336px, 32vh); max-height: 336px; }
}

/* Ensure benefit image scales down on medium/smaller screens */
@media (max-width: 1024px) {
    .benefit-side img { height: min(680px, 60vh); max-height: 680px; }
}  
.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(74, 139, 135, 0.2);
}
.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
}
.benefit-card h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}
.benefit-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Services Section with Advanced Cards */
.services {
    background: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}
.service-card {
    background: linear-gradient(to bottom, white, var(--light));
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-lighter));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(74, 139, 135, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover::after {
    width: 400px;
    height: 400px;
}
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(74, 139, 135, 0.25);
}
.service-icon {
    font-size: 60px;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}
.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 5px 15px rgba(74, 139, 135, 0.4));
}
.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.service-card p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(74, 139, 135, 0.2);
    position: relative;
    z-index: 1;
}
.service-duration {
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
}
.service-price {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

/* How It Works with Progress Animation */
.how-it-works {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}
.progress-line {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #e5f0ed;
    z-index: 0;
}
.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary), var(--primary-lighter));
    transition: width 1.5s ease;
}
.progress-line.active::after {
    width: 100%;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}
.step.visible {
    opacity: 1;
    transform: scale(1);
}
.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(74, 139, 135, 0.3);
    transition: all 0.3s ease;
}
.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(74, 139, 135, 0.5);
}
.step h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}
.step p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Testimonials with Carousel Effect */
.testimonials {
    background: white;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin: 0 auto;
    max-width: 1200px;
}
.testimonial-card {
    background: var(--light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(74, 139, 135, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.3s ease;
}
.testimonial-card:hover::before {
    color: rgba(74, 139, 135, 0.25);
    transform: scale(1.2);
}
.testimonial-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}
.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
}
.author-info h5 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}
.rating {
    color: #f6c84f;
    font-size: 14px;
}

/* Special Offer with Pulse Animation */
.special-offer {
    background: linear-gradient(135deg, var(--accent) 0%, #c49463 100%);
    color: white;
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.special-offer::before {
    content: '';
    position: absolute;
    width: 320px; /* smaller so it doesn't dominate */
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: 44%; /* roughly behind the CTA */
    left: 50%;
    transform: translate(-50%, -44%);
    z-index: 0; /* behind content */
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

@media (max-width: 900px) {
    .special-offer::before { display: none; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}
.offer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* ensure it sits above the decorative oval */
}

.offer-content .primary-btn {
    display: inline-block;
    margin: 18px 0 26px; /* ensure gap between CTA and the paragraph below */
}
.offer-badge {
    display: inline-block;
    background: white;
    color: var(--accent);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: shake 2s ease-in-out infinite;
}
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}
.offer-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.offer-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Contact Section with Form Validation */
.contact {
    background: var(--light);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.contact-info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.contact-item:hover {
    transform: translateX(10px);
}
.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 139, 135, 0.4);
}
.contact-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s ease;
}
.contact-text a:hover {
    color: var(--primary-light);
}
.contact-text p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.social-icon:hover {
    transform: translateY(-8px) scale(1.15) rotate(360deg);
    box-shadow: 0 10px 30px rgba(74, 139, 135, 0.5);
}
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.contact-form:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.contact-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5f0ed;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(74, 139, 135, 0.1);
    transform: translateY(-2px);
}
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    animation: shake-error 0.5s;
}
@keyframes shake-error {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(74, 139, 135, 0.3);
    position: relative;
    overflow: hidden;
}
.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 139, 135, 0.4);
}
.submit-btn:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 50px 30px;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}
.footer-about h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-bottom: 20px;
}
.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer-logo {
    width: 50%;
    max-width: 140px; /* roughly half of the larger footer logo */
    height: auto;
    display: block;
    margin-bottom: 10px;
}
.footer-about img { /* ensure any img here respects the footer-logo sizing */
    max-width: 100%;
    height: auto;
}
.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(74, 139, 135, 0.4);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(74, 139, 135, 0.5);
}
@media (max-width: 900px) {
    .scroll-top {
        position: fixed !important;
        inset: auto 12px calc(86px + env(safe-area-inset-bottom)) auto !important;
        left: auto !important;
        right: 12px !important;
        transform: none !important;
        margin: 0 !important;
    }
    .sticky-cta {
        right: max(12px, env(safe-area-inset-right)) !important;
        left: auto !important;
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        max-width: calc(100vw - 24px) !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        transform: none !important;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}
.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .progress-line {
        display: none;
    }
    .cursor,
    .cursor-follower {
        display: none;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(24px, 7vw, 36px);
    }
    .section-title {
        font-size: 40px;
    }
    .nav-links {
        display: none;
    }
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    section {
        padding: 60px 20px;
    }
}

/* Articles List Modal Overlay */
.articles-list-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.articles-list-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.articles-list-modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    position: relative;
}

.articles-list-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--dark);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 200ms ease;
    z-index: 10;
}

.articles-list-modal .modal-close:hover {
    background: rgba(0,0,0,0.05);
}

.articles-list-modal h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--dark);
}

.articles-list-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.articles-list-modal li {
    background: var(--light);
    padding: 16px;
    border-radius: 10px;
    transition: all 200ms ease;
}

.articles-list-modal li:hover {
    background: rgba(196, 31, 63, 0.1);
    transform: translateX(4px);
}

.articles-list-modal li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.articles-list-modal li .excerpt {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .articles-list-modal {
        width: 95%;
        padding: 24px;
    }

    .articles-list-modal h2 {
        font-size: 22px;
    }
}

/* Professional polish overrides */
:root {
    --surface: #ffffff;
    --surface-muted: #f4f7f6;
    --ink: #0f1f1e;
    --shadow-sm: 0 6px 20px rgba(18, 28, 26, 0.08);
    --shadow-md: 0 18px 50px rgba(18, 28, 26, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

body {
    color: var(--ink);
    background: var(--surface);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

button, .btn, .cta-button, .primary-btn, .secondary-btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

button:hover, .btn:hover, .cta-button:hover, .primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(44, 95, 93, 0.35);
    outline-offset: 3px;
    border-radius: 10px;
}

nav {
    background: rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(44, 95, 93, 0.08);
    box-shadow: 0 8px 28px rgba(20, 30, 28, 0.05);
    position: fixed;
    top: 0;
    z-index: 2000;
}

.section-title {
    letter-spacing: -0.01em;
}

.section-description {
    color: var(--gray);
    max-width: 680px;
}

.articles-hero {
    background: linear-gradient(180deg, rgba(44,95,93,0.08), rgba(255,255,255,0));
}

.article-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card .article-meta h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
}
.article-card .article-meta .meta-line {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 8px;
}

.article-card .excerpt {
    color: var(--gray);
}

.carousel-control {
    background: var(--surface);
    border: 1px solid rgba(44, 95, 93, 0.2);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.carousel-control:hover {
    background: var(--primary);
    color: #fff;
}

footer {
    background: var(--dark);
    color: #fff;
}
footer .footer-about p,
footer .footer-section ul li a,
footer .footer-bottom {
    color: rgba(255,255,255,0.75);
}
footer .footer-section ul li a:hover {
    color: #fff;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: #fff;
    color: var(--dark);
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 2000;
    box-shadow: var(--shadow-sm);
}
.skip-link:focus {
    left: 12px;
}

/* Sticky mobile CTA */
.sticky-cta {
    position: fixed;
    /* respect device safe areas (iOS notch/home indicator, etc.) */
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(8px, env(safe-area-inset-right));
    z-index: 1200;
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    font-size: 0.98rem;
    max-width: calc(100vw - 24px);
    white-space: nowrap;
}
/* fallback for UAs that do not support env() */
@supports not (bottom: calc(16px + env(safe-area-inset-bottom))) {
    .sticky-cta { bottom: 16px; right: 16px; }
}
@media (min-width: 901px) {
    .sticky-cta { display: none; }
}
@media (max-width: 360px) {
    .sticky-cta { right: calc(10px + env(safe-area-inset-right)); padding: 8px 12px; font-size: 0.92rem; }
} 

/* Lead magnet section */
.lead-magnet {
    background: linear-gradient(135deg, rgba(44,95,93,0.08), rgba(212,165,116,0.12));
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.lead-magnet h3 { font-size: 28px; margin-bottom: 10px; }
.lead-magnet p { color: var(--gray); margin-bottom: 16px; }
.lead-magnet form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-magnet input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(44,95,93,0.2);
    min-width: 240px;
}
.lead-magnet-section {
    margin: 10px auto 60px;
}

/* Booking section styles */
.booking-section {
    max-width: 600px;
    margin: 48px auto 32px;
    background: #f8faf9;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(60,80,80,0.06);
    padding: 32px 20px 24px;
}
.booking-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: #2c5f5d;
}
.booking-subtitle {
    text-align: center;
    margin-bottom: 18px;
    color: #4a8b87;
}
.booking-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.booking-cta {
    font-size: 1.1rem;
    padding: 10px 28px;
    border-radius: 8px;
    background: #4a8b87;
    color: #fff;
    text-decoration: none;
    transition: background .2s;
}
.booking-calendar {
    margin: 0 auto;
    max-width: 420px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(60,80,80,0.07);
}
.booking-calendar iframe {
    border: 0;
    width: 100%;
    min-height: 340px;
    background: #fff;
}
.booking-note {
    font-size: 0.98rem;
    color: #6eb5ad;
    text-align: center;
    margin-top: 10px;
}

/* Newsletter block spacing */
.newsletter-block { margin-top: 16px; }
.newsletter-desc { margin: 8px 0 12px; }

/* FINAL mobile layout overrides (ensure on-screen positioning) */
@media (max-width: 900px) {
    nav {
        left: 0;
        right: 0;
        width: 100vw;
    }
    .nav-container {
        width: 100vw !important;
        margin: 0;
        padding: 0 12px;
        box-sizing: border-box;
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .logo { margin-left: 0 !important; order: 1; flex: 1 1 auto; min-width: 0; }
    .nav-container .cta-button { order: 2; flex-shrink: 0; }
    .hamburger { position: static !important; order: 3; flex-shrink: 0; transform: none !important; }
    .sticky-cta {
        position: fixed !important;
        inset: auto 12px calc(16px + env(safe-area-inset-bottom)) auto !important;
        left: auto !important;
        right: 12px !important;
        transform: none !important;
    }
    .scroll-top {
        position: fixed !important;
        inset: auto 12px calc(86px + env(safe-area-inset-bottom)) auto !important;
        left: auto !important;
        right: 12px !important;
        transform: none !important;
    }
    .about-content { grid-template-columns: 1fr !important; }
    .about-image-flex,
    .about-bottom .benefit-side { display: none !important; }
}

/* Press / credentials strip */
.press-strip {
    background: var(--surface-muted);
    padding: 28px 0;
    text-align: center;
}
.press-strip .press-logos {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* Testimonials slider */
.testimonials-slider {
    position: relative;
}
.testimonials-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}
.testimonials-track > * { scroll-snap-align: start; }
.testimonial-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px; }
.testimonial-card .name { font-weight: 600; margin-top: 10px; }
.testimonial-controls { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

/* Newsletter footer */
.newsletter { background: rgba(255,255,255,0.06); padding: 18px; border-radius: 14px; }
.newsletter input { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; }
.newsletter button { background: var(--primary-light); color: #fff; }

/* Author bio & related */
.author-bio { display: grid; grid-template-columns: 80px 1fr; gap: 16px; background: var(--surface-muted); padding: 20px; border-radius: var(--radius-md); margin-top: 24px; }
.author-bio img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.related-articles { margin-top: 36px; }
.related-articles .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-card { background: #fff; border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }

/* Articles hero image */
.articles-hero {
    background:
        linear-gradient(180deg, rgba(6,15,13,0.4), rgba(6,15,13,0.2)),
        url('assets/pictures/02/7db2a18f-6552-4937-a614-8fc37511b81f-2048x1365.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

/* Exit intent modal */
.exit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1300;
}
.exit-modal.open { display: flex; }
.exit-modal .exit-content {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px;
    max-width: 520px;
    width: 92%;
    box-shadow: var(--shadow-md);
}
.exit-modal .exit-content h3 { margin-bottom: 8px; }
.exit-modal .exit-content p { color: var(--gray); margin-bottom: 12px; }

/* Post page readability + wrapping */
.post-title,
.post-body,
.post-body p,
.post-body li,
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body blockquote {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.post-body pre,
.post-body code {
    white-space: pre-wrap;
    word-break: break-word;
}

.post-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body ul, .post-body ol {
    margin-left: 22px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .article-card .article-meta h3 {
        font-size: 16px;
    }
}