
.agoraphobia-article {
  color: #dfb459;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
}

.blog-card {
  list-style: none;
  background-color: #234da7;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  margin: 2rem auto;
  max-width: 800px;
  padding: 1.5rem;
  transition: transform 0.3s;
}


.blog-card h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: #dfb459;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-card:hover {
  transform: scale(1.01);
}

.blog-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.card-image {
  width: 30%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
  object-fit: cover;
}

.subtitle {
  font-style: italic;
  font-size: 1.1rem;
  color: #dfb459;
}

.blog-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.blog-list li {
  list-style: none;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
}

.blog-list li::before {
  content: "➤";
  color: #dfb459;
  position: absolute;
  left: 0;
}

.fact-highlight {
  background-color: #284d8c;
  color: #fffad1;
  border-left: 6px solid #dfb459;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #dfb459;
  margin: 1rem 0;
  padding-left: 1rem;
  color: #ffffff;
}

.back-home-btn {
  display: inline-block;
  margin-top: 1rem;
  color: #032775;
  background: #dfb459;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.back-home-btn:hover {
  background: #f2cc69;
  color: #032775;
}

@media (max-width: 600px) {
  .blog-card {
    padding: 1rem;
  }

  .card-image {
    border-radius: 8px;
  }
}

.blog_link a {
  color:#ffffff!important;
  text-decoration: none;
}
.blog_link a:hover {
  text-decoration: underline;
}


.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

.bpd-article h1 {
  color: white;
  margin-bottom: 10px;
}

.reading-time {
  color: #7f8c8d;
  font-style: italic;
  margin-bottom: 30px;
}

/* Widget Common Styles */
.bpd-widget {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid #3498db;
}

.bpd-widget h3 {
  color: white;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3em;
}

/* Symptom Checklist Widget */
.symptom-checklist {
  border-left-color: #e74c3c;
}

.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
}

.checklist-item input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #e74c3c;
}

.checklist-item label {
  cursor: pointer;
}

.checklist-submit {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.checklist-submit:hover {
  background: #c0392b;
}

/* Coping Strategies Widget */
.coping-strategies {
  border-left-color: #2ecc71;
}

.strategy-carousel {
  min-height: 120px;
  position: relative;
}

.strategy {
  display: none;
}

.strategy.active {
  display: block;
}

.strategy h4 {
  color: #27ae60;
  margin-bottom: 10px;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.carousel-controls button {
  background: #2ecc71;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: #27ae60;
}

/* Crisis Resources Widget */
.crisis-resources {
  border-left-color: #f39c12;
}

.resource-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.resource-btn {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.resource-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.resource-btn .icon {
  margin-right: 10px;
  font-size: 1.2em;
}

.emergency {
  background: #e74c3c;
}

.textline {
  background: #3498db;
}

.self-help {
  background: #2ecc71;
}

/* Treatment Options Widget */
.treatment-options {
  border-left-color: #9b59b6;
}

.treatment-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.treatment-card {
  background: white;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.treatment-card h4 {
  color: #9b59b6;
  margin-top: 0;
}

/* Progress Tracker Widget */
.progress-tracker {
  border-left-color: #3498db;
}

.tracker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.tracker-item {
  margin-bottom: 10px;
}

.tracker-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.progress-bar {
  height: 10px;
  background: #ecf0f1;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  width: calc(100% - 50px);
  vertical-align: middle;
}

.progress-fill {
  height: 100%;
  background: #3498db;
  border-radius: 5px;
}

.tracker-item span {
  display: inline-block;
  width: 40px;
  text-align: right;
  margin-left: 10px;
  font-weight: bold;
  color: #3498db;
}

.update-progress {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.update-progress:hover {
  background: #2980b9;
}

/* Responsive Design */
@media (min-width: 600px) {
  .checklist-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .treatment-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .resource-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .tracker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .treatment-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}




/* ADHD Blog Specific Styles */
.adhd-journey {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.adhd-hero {
  text-align: center;
  padding-bottom: 30px;
}

.adhd-hero h1 {
  font-size: 2.5em;
  color: #032775;
  margin-bottom: 10px;
}

.adhd-hero .subtitle {
  font-size: 1.1em;
  color: #555;
}

.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.adhd-block {
  margin-bottom: 40px;
}

.adhd-block h2 {
  color: #032775;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.adhd-block p {
  font-size: 1.05em;
  line-height: 1.75em;
  color: #333;
}



.blog-list {
  margin-top: 10px;
  padding-left: 20px;
  list-style: none;
}

.blog-list li::before {
  content: "👉 ";
  color: #dfb459;
  margin-right: 5px;
}

.adhd-quote blockquote {
  color:black;
  font-style: italic;
  background: #f0f4ff;
  border-left: 5px solid #3b5998;
  padding: 20px;
  margin: 30px 0;
  border-radius: 10px;
}

.adhd-quote cite {
  display: block;
  margin-top: 10px;
  text-align: right;
  color: #555;
}

.adhd-card, .adhd-highlight {
  background: #fff4d7;
  padding: 20px;
  border-left: 6px solid #dfb459;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.resources ul {
  color:black;
  list-style: none;
  padding-left: 0;
}

.resources a {
  color: #032775;
  font-weight: 600;
  text-decoration: none;
}

.resources a:hover {
  text-decoration: underline;
}

.closing-message {
  margin-top: 50px;
  text-align: center;
  font-size: 1.1em;
  color: #333;
}

.back-home-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #032775;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-home-btn:hover {
  background: #213b92;
}


/* 🌙 Dark Mode Overrides */
body.dark-mode {
  background-color: #0f172a; /* Deep slate/navy */
  color: #f1f5f9; /* Light slate for body text */
}

body.dark-mode .adhd-hero h1,
body.dark-mode .adhd-hero .subtitle {
  color: #facc15; /* Yellow subtitle in hero */
}

body.dark-mode .adhd-card {
  background-color: #1e293b; /* Soft dark blue-gray */
  color: #e2e8f0; /* Light text */
  border: 1px solid #334155;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

body.dark-mode .adhd-card h2,
body.dark-mode .adhd-card p ,
body.dark-mode .adhd-block p{
  color: #f1f5f9 !important;
}

body.dark-mode .adhd-card img {
  border: 2px solid #475569;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
}

body.dark-mode blockquote {
  background-color: #1f2937;
  color: #f1f5f9;
  border-left: 4px solid #dfb459;
  box-shadow: 0 1px 5px rgba(255, 255, 255, 0.05);
}

body.dark-mode .resource-button {
  background-color: #3b5998;
  color: #fff;
  border: 1px solid #64748b;
}

body.dark-mode a {
  color: #dfb459;
}

body.dark-mode a:hover {
  color: #facc15;
  text-decoration: underline;
}


.blog-linka a {
  color: black!important ; /* Light color for links in dark mode */
  text-decoration: none;
}



/* PTSD Article Styles */
.ptsd-article {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  line-height: 1.7;
}

.ptsd-article h1,
.ptsd-article h2 {
  color: #032775;
  margin-bottom: 15px;
}

.ptsd-article .subtitle {
  font-size: 1.2em;
  font-style: italic;
  margin-bottom: 25px;
  color: #3b5998;
}

.ptsd-card {
  background-color: #f8f8f8;
  border-left: 5px solid #dfb459;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin: 30px 0;
  padding: 25px 30px;
  border-radius: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ptsd-card img.card-image,
.ptsd-article .hero-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 15px;
}

.ptsd-article blockquote {
  background: rgba(3, 39, 117, 0.05);
  border-left: 5px solid #3b5998;
  padding: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #444;
}

.ptsd-article blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #032775;
}

.ptsd-card.closing-thought,
.ptsd-card.crisis-box {
  background-color: #fff9ea;
  border-left: 5px solid #dfb459;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Dark mode compatibility */
body.dark-mode .ptsd-article {
  color: #f4f4f4;
}

body.dark-mode .ptsd-card {
  background-color: #121b3a;
  border-left-color: #dfb459;
  color: #f4f4f4;
}

body.dark-mode .ptsd-article h1,
body.dark-mode .ptsd-article h2 {
  color: #F9CC48;
}

body.dark-mode .ptsd-card.closing-thought,
body.dark-mode .ptsd-card.crisis-box {
  background-color: #1a263f;
}

body.dark-mode .ptsd-article blockquote {
  background-color: #1c2d57;
  color: #ddd;
  border-left-color: #dfb459;
}
