/* ==========================================================================
   Charisma Heals - Global Design System & Styles
   Brand Colors: Deep Royal Blue (#18204F), Radiant White (#FFFFFF), Warm Gold (#D4AF37)
   ========================================================================== */

:root {
  --bg-primary: #FAF6F0;
  --bg-secondary: #F3ECE2;
  --accent-primary: #18204F;      /* Deep Royal Navy Blue */
  --accent-secondary: #C5A880;    /* Warm Champagne Gold */
  --accent-tertiary: #D4AF37;     /* Luminous Gold */
  --accent-blue-light: #EBF1FF;   /* Soft Celestial Blue */
  --text-main: #2C2640;
  --text-muted: #5F5B6B;
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(212, 175, 55, 0.25);
  --glass-shadow: 0 20px 50px rgba(24, 32, 79, 0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 10% 15%, rgba(24, 32, 79, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(235, 241, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--accent-primary);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-tertiary);
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Glass Card System */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.glass-card:hover {
  box-shadow: 0 25px 60px rgba(24, 32, 79, 0.12);
  transform: translateY(-3px);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  transition: all 0.3s ease;
}

.nav-brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent-tertiary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-tertiary);
  transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-primary), #2A3875);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(24, 32, 79, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 32, 79, 0.3);
  background: linear-gradient(135deg, #101538, #18204F);
}

/* ==========================================================================
   Hero Section Animations & Layers (Home Page)
   ========================================================================== */

@keyframes clouds-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(5%, 5%) scale(1.08); }
  100% { transform: translate(-5%, -5%) scale(1); }
}

@keyframes rays-rotate {
  0%   { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.6; }
  50%  { opacity: 0.85; }
  100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.6; }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 60px 20px;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('past_life_stairs.jpg') center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

.hero-rays-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0) 10deg,
    rgba(255, 255, 255, 0.25) 15deg,
    rgba(255, 255, 255, 0) 20deg
  );
  z-index: 2;
  mix-blend-mode: screen;
  animation: rays-rotate 35s infinite linear;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 70%);
}

.hero-clouds-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.5) 0%, transparent 50%);
  z-index: 3;
  opacity: 0.85;
  filter: blur(15px);
  animation: clouds-drift 18s infinite ease-in-out alternate;
  pointer-events: none;
  mix-blend-mode: overlay;
}

#fireflies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(24, 32, 79, 0.15) 0%, transparent 70%);
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}

.orb-3 {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(235, 241, 255, 0.6) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 45px 40px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(24, 32, 79, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-sizing: border-box;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-tertiary);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 30px auto;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #2A3875);
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(24, 32, 79, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 32, 79, 0.35);
  background: linear-gradient(135deg, #101538, #18204F);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-primary) !important;
  border: 2px solid var(--accent-secondary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.btn-outline:hover {
  background: var(--accent-secondary);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-swiper {
  padding-bottom: 45px !important;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 35px 30px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-main);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-secondary);
  text-align: right;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* About Page Hero & Content */
.about-hero-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem) !important;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-primary);
}

.about-img-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 30px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-secondary);
  box-shadow: 0 10px 30px rgba(24, 32, 79, 0.15);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Blog Article Container & Layout
   ========================================================================== */

.article-section {
  padding-top: 130px;
  padding-bottom: 80px;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 55px 50px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(24, 32, 79, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-sizing: border-box;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
}

.article-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  background: rgba(197, 168, 128, 0.12);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(197, 168, 128, 0.25);
}

.article-title {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  line-height: 1.28;
  color: var(--accent-primary);
  margin-bottom: 18px;
  font-family: var(--font-serif);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.article-featured-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
  margin: 15px 0 35px 0;
  box-shadow: 0 12px 35px rgba(24, 32, 79, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.article-content {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #2D2B3F;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  color: var(--accent-primary);
  margin: 45px 0 18px 0;
  line-height: 1.35;
  font-family: var(--font-serif);
  border-left: 4px solid var(--accent-tertiary);
  padding-left: 15px;
}

.article-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: #2B3075;
  margin: 32px 0 14px 0;
  line-height: 1.4;
  font-family: var(--font-serif);
}

.article-content ul, .article-content ol {
  margin: 20px 0 28px 25px;
  padding-left: 10px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.75;
}

.article-content blockquote {
  background: rgba(24, 32, 79, 0.03);
  border-left: 4px solid var(--accent-secondary);
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin: 35px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-primary);
  line-height: 1.7;
}

/* Highlight Boxes */
.key-takeaways {
  background: linear-gradient(135deg, rgba(24, 32, 79, 0.04), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 30px 32px;
  margin: 35px 0;
}

.key-takeaways h4 {
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.key-takeaways ul {
  margin: 0;
  padding-left: 20px;
}

.key-takeaways li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.clinical-case-box {
  background: rgba(240, 245, 255, 0.85);
  border-left: 4px solid var(--accent-primary);
  border-radius: 16px;
  padding: 30px 32px;
  margin: 35px 0;
  border: 1px solid rgba(43, 48, 117, 0.15);
}

.clinical-case-box h4 {
  color: var(--accent-primary);
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}

/* FAQs */
.article-faq-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px dashed rgba(24, 32, 79, 0.15);
}

.article-faq-section h2 {
  border-left: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.article-faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 22px 26px;
  box-shadow: 0 4px 15px rgba(24, 32, 79, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 32, 79, 0.08);
}

.article-faq-item h3 {
  font-size: 1.15rem;
  color: var(--accent-primary);
  margin: 0 0 10px 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

.article-faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  gap: 25px;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  margin: 50px 0 20px 0;
  box-shadow: 0 12px 35px rgba(24, 32, 79, 0.06);
  border: 1px solid var(--glass-border);
}

.author-bio-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-secondary);
  flex-shrink: 0;
}

.author-bio-info h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--accent-primary);
}

.author-bio-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.author-bio-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Article CTA Box */
.article-cta-box {
  background: linear-gradient(135deg, var(--accent-primary), #2A3875);
  color: white;
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 15px 40px rgba(24, 32, 79, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.article-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 25px auto;
  font-size: 1.05rem;
}

.btn-cta-gold {
  display: inline-block;
  background: var(--accent-tertiary);
  color: #18204F !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-cta-gold:hover {
  background: #F3E5AB;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* Floating Action Button */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fab:hover {
  transform: scale(1.08);
}

.fab-whatsapp {
  background: #25D366;
}



/* Footer */
footer {
  background: #101538;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px 0;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: rgba(255, 255, 255, 0.85);
}

footer a:hover {
  color: var(--accent-tertiary);
}

/* ==========================================================================
   Mobile & Responsive Optimizations (Core Web Vitals & Mobile UX)
   ========================================================================== */

@media (max-width: 992px) {
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-brand img {
    height: 38px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 15px 40px 15px;
    min-height: auto;
  }

  .hero-content-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .article-container {
    padding: 30px 20px;
    border-radius: 18px;
    margin: 0 10px;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-content {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .key-takeaways {
    padding: 22px 20px;
  }

  .clinical-case-box {
    padding: 22px 20px;
  }

  .author-bio-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 15px;
  }

  .article-cta-box {
    padding: 35px 20px;
  }

  .glass-card {
    padding: 25px 18px;
    border-radius: 18px;
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
  }

  .fab {
    width: 50px;
    height: 50px;
  }

  .fab img {
    width: 28px !important;
    height: 28px !important;
  }

  
}

@media (max-width: 480px) {
  .article-container {
    padding: 24px 16px;
    margin: 0 6px;
  }

  .article-title {
    font-size: 1.55rem;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }
}
