/* Section Note Support */
.section-note-support {
  text-align: center;
  color: #198754;
  font-size: 1.05rem;
  margin-top: 1.7rem;
  letter-spacing: 0.01em;
}

.crisis-support-simple {
  background: #fff3f3;
  border-radius: 1.2rem;
  padding: 2rem 1rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 12px rgba(220,53,69,0.08);
}

/* Crisis Support Section */
.crisis-support-title {
  color: #b8002e;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.crisis-support-desc {
  text-align: center;
  color: #333;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}
.crisis-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.crisis-card {
  background: #fff;
  border: 2px solid #b8002e;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 1px 6px rgba(220,53,69,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.crisis-card-title {
  color: #b8002e;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}
.crisis-card-text {
  color: #333;
  font-size: 1rem;
  text-align: center;
}
.crisis-card-btn {
  font-size: 1rem;
}
.crisis-support-note {
  text-align: center;
  color: #555;
  font-size: 0.98rem;
  margin-top: 1.5rem;
}
@media (max-width: 767.98px) {
  .crisis-cards {
    flex-direction: column;
    gap: 1rem;
  }
  .crisis-card {
    min-width: 0;
    max-width: 100%;
  }
}
.hero-section {
  background: url('../images/hero-ma.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 94, 91, 0.13);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Footer */
.footer {
  background-color: #fff;
  color: #4a90a4;
  padding: 2.2rem 0 1.2rem 0;
  text-align: center;
  font-size: 1.08rem;
  border-top: 2.5px solid #e0e7ff;
  box-shadow: 0 -2px 24px 0 rgba(74,144,164,0.08);
  position: relative;
}
.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a90a4;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand-icon {
  color: #4a90a4;
  font-size: 1.7rem;
}
.footer-copyright {
  margin-bottom: 0.2rem;
  color: #4a90a4;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
}
.footer-urgent {
  color: #4a90a4;
  margin-bottom: 0.2rem;
  font-size: 1.03rem;
}
.footer-phone-icon {
  color: #4a90a4;
}
.footer-urgent-link {
  color: #4a90a4;
  text-decoration: underline;
  font-weight: 600;
}
.footer-urgent-note {
  color: #888;
}
.footer-kindness {
  margin-top: 1.2rem;
}
.footer-kindness span {
  color: #4a90a4;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
.footer a, .footer a:visited {
  color: #4a90a4;
  text-decoration: underline;
  font-weight: 600;
}
.footer a:focus, .footer a:hover {
  color: #1746a0;
  outline: 2px solid #1746a0;
  outline-offset: 2px;
  background: #e0e7ff;
  border-radius: 2px;
}

.resource-card-general {
  background: linear-gradient(120deg, #f8fafd 70%, #e0e7ff 100%);
  border-radius: 1.2rem;
}
.resource-card-title-general {
  color: #4b3ca7;
  font-weight: 700;
}
.resource-card-list {
  font-size: 1.07rem;
}
.resource-card-nd {
  background: linear-gradient(120deg, #e0ffe7 70%, #e0e7ff 100%);
  border-radius: 1.2rem;
}
.resource-card-title-nd {
  color: #198754;
  font-weight: 700;
}
.resource-card-specialist {
  background: linear-gradient(120deg, #fffbe7 70%, #e0e7ff 100%);
  border-radius: 1.2rem;
}
.resource-card-title-specialist {
  color: #b8860b;
  font-weight: 700;
}

.tip-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  display: block;
}
@media (max-width: 575.98px) {
  .tip-card-img {
    height: 90px;
  }
}

.brand-custom {
  color: #035e5b;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-icon {
  color: #035e5b;
  font-size: 1.7rem;
}
.hero-custom-height {
  min-height: 380px;
  height: 48vh;
  max-height: 520px;
}
.section-title-custom {
  color: #035e5b;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px #e0e7ff;
}
.emoji-large {
  font-size: 2.3rem;
  vertical-align: middle;
}
.section-desc-custom {
  color: #035e5b;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.2rem auto;
  letter-spacing: 0.01em;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}
h2, .section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  padding-bottom: 1rem;
}
h2::after, .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a90a4, #8fbc8f, #dda0dd);
  border-radius: 2px;
}
p {
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
  color: #4a90a4 !important;
}

.nav-link {
  font-weight: 600;
  color: #4a90a4 !important;
}

.nav-link:hover, .nav-link.active {
  color: #4a90a4 !important;
}

.hero-section {
  background: url('../images/hero-ma.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: #fff !important;
  font-weight: 700;
}
.hero-section p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff !important;
}
.hero-section .lead {
  font-size: 1.25rem;
}
.hero-section .btn {
  background-color: #4a90a4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-section .btn:hover {
  background-color: #3a7a8c;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
}
.btn-primary, .btn {
  background-color: #4a90a4;
}
.btn-primary:hover, .btn:hover {
  background-color: #3a7a8c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
}
.btn-secondary {
  background-color: #8fbc8f;
}
.btn-secondary:hover {
  background-color: #7fb07f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(143, 188, 143, 0.3);
}
.btn-success {
  background-color: #dda0dd;
}
.btn-success:hover {
  background-color: #d896d8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(221, 160, 221, 0.3);
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  border-top: 4px solid #4a90a4;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.card-body {
  padding: 2rem;
}
@media (max-width: 575.98px) {
  .card-body {
    padding: 1.1rem 0.8rem 1rem 0.8rem;
  }
}
.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4a90a4;
}
.card-text {
  color: #2c2c2c;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.card-teal {
  border-top-color: #4a90a4;
}
.card-teal .card-title {
  color: #4a90a4;
}
.card-green {
  border-top-color: #8fbc8f;
}
.card-green .card-title {
  color: #8fbc8f;
}
.card-lavender {
  border-top-color: #dda0dd;
}
.card-lavender .card-title {
  color: #dda0dd;
}

/* Emergency Card */
.emergency-card {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  border: 2px solid #f44336;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2);
}
.emergency-card .card-header {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  padding: 1.5rem;
  border: none;
}
.emergency-card .card-body {
  padding: 2rem;
  background: white;
}
.emergency-card a {
  color: #d32f2f;
  font-weight: 600;
  text-decoration: none;
}
.emergency-card a:hover {
  color: #b71c1c;
  text-decoration: underline;
}

/* Tip Items */
.tip-item {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.tip-item h5 {
  color: #333;
  margin-bottom: 0.5rem;
}

/* MindAware Custom Styles */
.navbar .nav-link,
.navbar .nav-link.active {
  color: #035e5b !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #1746a0 !important;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6, .section-title {
  color: #035e5b !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

/* Accordion  */
.accordion-item {
  border: none;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, #e0e7ff 0%, #dda0dd 100%);
  box-shadow: 0 2px 8px rgba(74,144,164,0.08);
}
.accordion-header,
.accordion-button {
  text-align: center;
  justify-content: center;
}
.accordion-button {
  background: linear-gradient(90deg, #4a90a4 0%, #dda0dd 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
}

.accordion-body {
  background: #fffbe7;
  color: #035e5b;
  text-align: center;
  font-size: 1rem;
  padding: 1.2rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
}

/* Section backgrounds between hero and footer */
  .tips-section,
  .affirmations-section,
  .info-section,
  .resources-section,
  #common-issues {
    background: linear-gradient(135deg, #f8fdff 0%, #f0f8f0 50%, #faf0fa 100%);
    padding: 4rem 0;
  }
@media (max-width: 575.98px) {
  .tips-section,
  .affirmations-section,
  .info-section,
  .resources-section,
  #common-issues {
    padding: 2.2rem 0;
  }
}

/* Accordion resource and affirmation lists: remove bullets and center text */
.resources-section .accordion-body ul.resource-links,
.affirmations-section .accordion-body ul.affirmation-list {
  list-style: none !important;
  padding-left: 0 !important;
  text-align: center;
}
.resources-section .accordion-body ul.resource-links li,
.affirmations-section .accordion-body ul.affirmation-list li {
  margin-bottom: 0.7rem;
}
