/* Resources Page Styles */

/* Hero Section */
.resources-hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(20, 184, 166, 0.95)),
    url('../img/heroes20.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--color-white);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resources-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.resources-hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.resources-hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Resource Categories Section */
.resource-categories {
  padding: 60px 20px;
}

.thirty_one_day_card_wrapper_main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.thirty_one_day_card_wrapper {
  flex: 1;
  min-width: 210px;
  max-width: 210px;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 25px;
}

/* Category Card Title */
.category-card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-white);
  color: #000000;
  padding: 8px 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  width: 170px;
  z-index: 2;
}

.thirty_one_day_card_content3 {
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

/* Featured Resources */
.featured-resources {
  background-color: #f8fafc;
  padding: 60px 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.featured-card {
  background-color: var(--color-white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.featured-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-image-wrap img {
  transform: scale(1.05);
}

.featured-content {
  padding: 25px;
}

.featured-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.featured-description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-link {
  display: inline-block;
  color: #3b82f6;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Emergency Support Section */
.emergency-support {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(168, 85, 247, 0.85), rgba(236, 72, 153, 0.85));
  backdrop-filter: blur(10px);
  padding: 60px 20px;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.emergency-title {
  color: var(--color-white) !important;
}

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.emergency-card {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.emergency-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.emergency-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.emergency-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-white);
}

.emergency-card p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.emergency-button {
  display: inline-block;
  background-color: var(--color-white);
  color: #3b82f6;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emergency-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Downloadable Resources */
.downloadable-resources {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.05));
  border: 2px solid rgba(59, 130, 246, 0.2);
}

/* Tool Cards */
.tool-card {
  background-color: var(--color-white);
  margin-bottom: 25px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tool-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  cursor: pointer;
  transition: background 0.3s ease;
}

.tool-header:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15));
}

.tool-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.tool-header-text {
  flex: 1;
}

.tool-toggle {
  font-size: 20px;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.tool-card.active .tool-toggle {
  transform: rotate(180deg);
}

.tool-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 30px;
}

.tool-card.active .tool-body {
  max-height: 10000px;
  padding: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.download-card {
  background-color: var(--color-white);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #e2e8f0;
  cursor: pointer;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
}

.download-icon {
  font-size: 52px;
  margin-bottom: 15px;
}

.download-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.download-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.download-button {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.download-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Recommended Reading */
.recommended-reading {
  background-color: #f8fafc;
  padding: 60px 20px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.reading-item {
  background-color: var(--color-white);
  padding: 25px;
  border-radius: 25px;
  border-left: 4px solid #3b82f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reading-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.reading-category {
  display: inline-block;
  background-color: #eff6ff;
  color: #3b82f6;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
}

.reading-title {
  font-size: 17px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.reading-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .resources-hero {
    padding: 50px 15px;
    min-height: 300px;
  }

  .resources-hero-title {
    font-size: 32px;
  }

  .resources-hero-subtitle {
    font-size: 16px;
  }

  .resource-categories {
    padding: 40px 15px;
  }

  .thirty_one_day_card_wrapper_main {
    gap: 15px;
  }

  .thirty_one_day_card_wrapper {
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .featured-grid,
  .emergency-grid,
  .download-grid,
  .reading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .emergency-card,
  .download-card,
  .featured-card {
    padding: 25px;
  }

  .emergency-support {
    padding: 40px 15px;
  }

  .featured-resources,
  .downloadable-resources,
  .recommended-reading {
    padding: 40px 15px;
  }

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

@media (max-width: 520px) {
  .resources-hero {
    padding: 40px 12px;
    min-height: 250px;
  }

  .resources-hero-title {
    font-size: 24px;
  }

  .resources-hero-subtitle {
    font-size: 14px;
  }

  .thirty_one_day_card_wrapper_main {
    gap: 15px;
    padding: 0 5px;
  }

  .thirty_one_day_card_wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .featured-title,
  .emergency-card h3 {
    font-size: 18px;
  }

  .emergency-icon,
  .download-icon {
    font-size: 36px;
  }

  .emergency-card,
  .download-card,
  .featured-card {
    padding: 18px;
  }

  .emergency-support {
    padding: 30px 12px;
  }

  .featured-resources,
  .downloadable-resources,
  .recommended-reading {
    padding: 30px 12px;
  }

  .section-title {
    font-size: 22px;
  }

  .featured-description,
  .reading-excerpt {
    font-size: 13px;
  }

  .emergency-button,
  .download-button,
  .featured-link {
    font-size: 12px;
    padding: 10px 20px;
  }
}
  }

  .resources-hero-subtitle {
    font-size: 15px;
  }

  .featured-title {
    font-size: 20px;
  }

  .emergency-icon,
  .download-icon {
    font-size: 40px;
  }
}

/* Modal Styles */
.modal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: auto !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(5px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transform: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal.active {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--color-white);
  margin: 20px auto;
  padding: 0;
  border-radius: 25px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  padding: 15px 25px;
  z-index: 10;
  background-color: var(--color-white);
  border-radius: 0 25px 0 0;
  border: none;
  transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: #ef4444;
}

.modal-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin: 0;
  padding: 30px 40px 20px;
  border-bottom: 3px solid #3b82f6;
}

.modal-body {
  padding: 30px 40px 40px;
}

/* Freedom Roadmap Styles */
.roadmap-phase {
  margin-bottom: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  overflow: hidden;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  cursor: pointer;
  transition: background 0.3s ease;
}

.phase-header:hover {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

.phase-icon {
  font-size: 32px;
}

.phase-header h3 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  color: var(--color-text-dark);
}

.accordion-arrow {
  font-size: 14px;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.phase-header.active .accordion-arrow {
  transform: rotate(180deg);
}

.phase-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.phase-content.active {
  max-height: 1000px;
  padding: 20px;
}

.phase-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 15px;
}

.phase-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.phase-content li {
  font-size: 14px;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 8px;
}

.action-item {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  color: #92400e;
  margin-top: 15px;
}

/* Prayer Journal Styles */
.prayer-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.prayer-tab {
  flex: 1;
  min-width: 120px;
  padding: 12px 20px;
  background-color: #f1f5f9;
  border: 2px solid transparent;
  border-radius: 15px;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prayer-tab:hover {
  background-color: #e2e8f0;
}

.prayer-tab.active {
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: var(--color-white);
  border-color: #3b82f6;
}

.prayer-content {
  display: none;
}

.prayer-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.prayer-content h3 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.prayer-intro {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
}

.prayer-template {
  background-color: #f8fafc;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.prayer-template em {
  font-size: 15px;
  color: #475569;
  display: block;
  margin-bottom: 15px;
}

.prayer-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.prayer-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.prayer-prompts {
  background-color: #eff6ff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.prayer-prompts p {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 10px;
}

.prayer-prompts ul {
  margin-left: 20px;
}

.prayer-prompts li {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 6px;
}

.quick-prayers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.quick-prayers p {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 10px;
}

.quick-prayer-item {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--color-white);
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quick-prayer-item:hover {
  transform: scale(1.02);
}

.copy-button {
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Progress Tracker Styles */
.tracker-section {
  background-color: #f8fafc;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
}

.tracker-section h3 {
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 15px;
}

.streak-counter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.streak-input {
  width: 150px;
  padding: 15px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  border: 3px solid #3b82f6;
  border-radius: 15px;
  color: #3b82f6;
}

.streak-input:focus {
  outline: none;
  border-color: #2563eb;
}

.streak-counter label {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-text-dark);
}

.milestone-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 10px 20px;
  background-color: #e2e8f0;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  color: #64748b;
  transition: all 0.3s ease;
}

.badge.achieved {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--color-white);
  border-color: #10b981;
}

.trigger-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.trigger-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background-color: var(--color-white);
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--color-text-dark);
}

.trigger-item:hover {
  border-color: #3b82f6;
}

.trigger-check {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.victory-textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  min-height: 120px;
  resize: vertical;
  margin-bottom: 15px;
}

.victory-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.save-button {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-bottom: 20px;
}

.save-button:hover {
  transform: scale(1.05);
}

.victory-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.victory-entry {
  background-color: var(--color-white);
  padding: 15px;
  border-left: 4px solid #10b981;
  border-radius: 8px;
  position: relative;
}

.victory-entry-date {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 5px;
}

.victory-entry-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.victory-entry-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #ef4444;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.stat-card {
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #e2e8f0;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.reset-button {
  background-color: #ef4444;
  color: var(--color-white);
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.reset-button:hover {
  background-color: #dc2626;
}

/* Scripture Memory Styles */
.scripture-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.scripture-filter {
  padding: 10px 20px;
  background-color: #f1f5f9;
  border: 2px solid transparent;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scripture-filter:hover {
  background-color: #e2e8f0;
}

.scripture-filter.active {
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: var(--color-white);
}

.random-verse-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--color-white);
  border: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 25px;
  transition: transform 0.2s ease;
}

.random-verse-btn:hover {
  transform: scale(1.02);
}

.scripture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.scripture-card {
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
}

.scripture-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.scripture-card.flipped .scripture-card-inner {
  transform: rotateY(180deg);
}

.scripture-card-front,
.scripture-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scripture-card-front {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: var(--color-white);
}

.scripture-card-back {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: var(--color-white);
  transform: rotateY(180deg);
}

.scripture-category {
  font-size: 12px;
  font-weight: bold;
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  margin-bottom: 15px;
}

.scripture-situation {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}

.scripture-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.scripture-reference {
  font-size: 14px;
  font-weight: bold;
}

/* Accountability Guide Styles */
.guide-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.guide-tab {
  flex: 1;
  min-width: 150px;
  padding: 12px 16px;
  background-color: #f1f5f9;
  border: 2px solid transparent;
  border-radius: 15px;
  font-weight: 600;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-tab:hover {
  background-color: #e2e8f0;
}

.guide-tab.active {
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: var(--color-white);
}

.guide-content {
  display: none;
}

.guide-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.guide-content h3 {
  font-size: 26px;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.guide-content h4 {
  font-size: 18px;
  color: #1e40af;
  margin-bottom: 12px;
  margin-top: 20px;
}

.guide-section {
  margin-bottom: 25px;
}

.guide-section ul,
.question-list {
  margin-left: 20px;
}

.guide-section li,
.question-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 8px;
}

.example-text {
  background-color: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  color: #166534;
  font-style: italic;
  line-height: 1.6;
}

.guide-intro {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
}

.question-category {
  margin-bottom: 25px;
}

.redflag-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.redflag-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  border-radius: 10px;
}

.flag-icon {
  font-size: 24px;
}

.redflag-item h4 {
  font-size: 16px;
  color: #991b1b;
  margin: 0 0 5px 0;
}

.redflag-item p {
  font-size: 14px;
  color: #7f1d1d;
  margin: 0;
  line-height: 1.5;
}

.template-box {
  background-color: #f8fafc;
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
}

.template-box h4 {
  font-size: 20px;
  color: var(--color-text-dark);
  margin: 0 0 20px 0;
}

.template-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.template-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.template-section strong {
  display: block;
  font-size: 15px;
  color: #1e40af;
  margin-bottom: 8px;
}

.template-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Emergency Action Plan Styles */
.emergency-modal {
  border: 4px solid #ef4444;
}

.emergency-modal-title {
  color: #ef4444;
  border-bottom-color: #ef4444;
}

.emergency-subtitle {
  font-size: 16px;
  color: #7f1d1d;
  text-align: center;
  padding: 0 40px 20px;
  font-weight: 600;
  border-bottom: 2px solid #fee2e2;
}

.emergency-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background-color: #fef2f2;
  border-radius: 15px;
  border-left: 5px solid #ef4444;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.step-content h3 {
  font-size: 20px;
  color: #991b1b;
  margin: 0 0 15px 0;
}

.emergency-prayers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.emergency-prayer {
  background-color: #fee2e2;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #7f1d1d;
  border-left: 3px solid #ef4444;
}

.emergency-list {
  margin-left: 20px;
  margin-top: 10px;
}

.emergency-list li {
  font-size: 14px;
  color: #7f1d1d;
  line-height: 1.8;
  margin-bottom: 8px;
}

.emergency-verses {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.emergency-verse {
  background-color: #ecfdf5;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #10b981;
}

.emergency-verse strong {
  display: block;
  color: #065f46;
  font-size: 14px;
  margin-bottom: 8px;
}

.emergency-verse p {
  font-size: 14px;
  color: #064e3b;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.activity-item {
  background-color: #eff6ff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #1e40af;
  border: 2px solid #3b82f6;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.activity-item:hover {
  transform: scale(1.05);
}

.remember-section {
  background-color: #fef9c3;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #eab308;
}

.remember-section p {
  font-size: 14px;
  color: #713f12;
  margin-bottom: 10px;
  font-weight: 600;
}

.remember-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.remember-section li {
  font-size: 14px;
  color: #854d0e;
  line-height: 1.8;
  margin-bottom: 6px;
}

.reminder-text {
  font-size: 16px;
  color: #92400e;
  text-align: center;
  margin: 15px 0 0 0;
  padding-top: 15px;
  border-top: 2px solid #fde047;
}

.emergency-contacts {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.emergency-contacts h3 {
  color: var(--color-white);
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 22px;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.emergency-contact-btn {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: block;
  line-height: 1.4;
}

.emergency-contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
    margin: 10px auto;
  }

  .modal-title {
    font-size: 24px;
    padding: 20px 25px 15px;
  }

  .modal-body {
    padding: 20px 25px 30px;
  }

  .phase-icon {
    font-size: 24px;
  }

  .phase-header h3 {
    font-size: 16px;
  }

  .prayer-tabs,
  .guide-tabs {
    flex-direction: column;
  }

  .prayer-tab,
  .guide-tab {
    min-width: 100%;
  }

  .scripture-grid {
    grid-template-columns: 1fr;
  }

  .emergency-step {
    flex-direction: column;
    gap: 15px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .modal-close {
    font-size: 28px;
    padding: 10px 15px;
  }

  .modal-title {
    font-size: 20px;
    padding: 15px 20px 12px;
  }

  .modal-body {
    padding: 15px 20px 25px;
  }

  .streak-input {
    width: 100px;
    font-size: 24px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }
}

/* Font Awesome Icon Gradient Styles */
.phase-icon,
.download-icon,
.emergency-icon,
.activity-item,
.redflag-item .flag-icon {
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px !important;
}

/* Icon gradient for modals */
.modal i {
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px !important;
}

/* Icons in headers and section titles */
.tracker-section h3 i,
.guide-content h4 i,
.modal-title i,
.random-verse-btn i {
  margin-right: 8px;
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px !important;
}

/* Emergency contact icons */
.emergency-contact-btn i {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icon in example text */
.example-text i {
  margin-right: 8px;
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 45 Chapters Section */
.chapters-section {
  padding: 60px 20px;
  background-color: var(--color-white);
}

.chapters-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.chapter-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  padding: 25px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chapter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.chapter-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.chapter-card:hover::before {
  opacity: 1;
}

.chapter-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-white);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.chapter-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.chapter-preview {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Chapter card states */
.chapter-card.completed {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.chapter-card.completed .chapter-number {
  background: linear-gradient(135deg, #10b981, #059669);
}

.chapter-card.completed .chapter-number::after {
  content: '✓';
  position: absolute;
  font-size: 24px;
}

.chapter-card.in-progress {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.chapter-card.in-progress .chapter-number {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.chapter-card.locked {
  opacity: 0.6;
  pointer-events: none;
}

.chapter-card.locked .chapter-number {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Chapter Section Dividers */
.chapter-section-divider {
  grid-column: 1 / -1;
  margin: 50px 0 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 25px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.chapter-section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899);
  border-radius: 25px;
}

.chapter-section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 8px;
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.chapter-section-subtitle {
  font-size: 15px;
  color: #64748b;
  font-style: italic;
  margin: 0;
  font-weight: 500;
}

/* Responsive Chapters */
@media (max-width: 768px) {
  .chapters-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 0 10px;
  }

  .chapter-section-divider {
    margin: 35px 0 25px;
    padding: 20px 15px;
  }

  .chapter-section-title {
    font-size: 22px;
  }

  .chapter-section-subtitle {
    font-size: 13px;
  }

  .chapter-card {
    padding: 20px;
  }

  .chapter-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .chapter-title {
    font-size: 16px;
  }

  .chapter-preview {
    font-size: 12px;
  }

  .chapters-intro {
    font-size: 15px;
    padding: 0 10px;
  }
}

@media (max-width: 520px) {
  .chapters-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 5px;
  }

  .chapter-section-divider {
    margin: 30px 0 20px;
    padding: 15px 12px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 15px;
  }

  .chapter-section-title {
    font-size: 18px;
    margin-top: 4px;
  }

  .chapter-section-subtitle {
    font-size: 12px;
  }

  .chapter-card {
    padding: 15px;
  }

  .chapter-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .chapter-title {
    font-size: 14px;
  }

  .chapter-preview {
    font-size: 11px;
    line-height: 1.4;
  }

  .chapters-intro {
    font-size: 13px;
    line-height: 1.5;
  }
}


