/* ============================================================================
   CSS Reset and Base Styles
   ============================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors - Green theme for St. Michael */
  --primary: #2c5e1a;
  --primary-dark: #1f4512;
  --primary-light: #3a7a23;
  --accent: #d4af37;
  --accent-light: #e6c75c;
  
  /* Neutral Colors */
  --light: #f8f9fa;
  --dark: #333;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  
  /* Kid-friendly Colors */
  --kid-blue: #4d8bf4;
  --kid-green: #4CAF50;
  --kid-orange: #ff9800;
  --kid-purple: #9c27b0;
  --kid-pink: #e91e63;
  --kid-yellow: #ffd54f;
  
  /* UI Variables */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  min-height: 100vh;
}

/* ============================================================================
   Layout Components
   ============================================================================ */

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="50" cy="50" r="2" fill="white"/></svg>') repeat;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-100px) translateX(50px); }
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
}

/* Navigation */
nav {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow: hidden;
}

.nav-links.active {
  display: flex;
  animation: slideDown 0.3s ease;
}

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

.nav-links a {
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transform: translateX(5px);
}

.nav-links a i {
  width: 20px;
  text-align: center;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--gray-light);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  display: none;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

section.active {
  display: block;
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

/* ============================================================================
   Typography
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  line-height: 1.3;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--kid-orange);
}

h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ============================================================================
   UI Components
   ============================================================================ */

/* Cards */
.card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
button, .btn-primary, .btn-secondary {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 94, 26, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Forms */
input, select, textarea {
  padding: 0.875rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 94, 26, 0.1);
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

th {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
}

tr:hover {
  background: #f8f9fa;
}

/* ============================================================================
   Kids Program Specific Styles
   ============================================================================ */

/* Header */
.kids-program-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--kid-blue), var(--kid-purple));
  color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.kids-program-header::before {
  content: '👦👧';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.2;
}

.kids-program-header h2 {
  color: white;
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.kids-program-header h2::after {
  display: none;
}

.kids-program-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

/* Navigation */
.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.month-nav-btn {
  background: var(--kid-blue);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
}

.month-nav-btn:hover {
  background: var(--kid-purple);
  transform: scale(1.1);
}

.current-month h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.4rem;
  text-align: center;
}

/* Week Navigation */
.week-nav {
  margin-bottom: 2rem;
}

.week-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.week-nav-btn {
  padding: 1rem 1.5rem;
  border: 3px solid var(--kid-blue);
  background: white;
  color: var(--kid-blue);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  min-width: 80px;
  font-size: 1rem;
}

.week-nav-btn:hover {
  background: var(--kid-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(77, 139, 244, 0.3);
}

.week-nav-btn.active {
  background: var(--kid-blue);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(77, 139, 244, 0.4);
}

/* Lesson Container */
.lesson-container {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.lesson-step {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.lesson-step.active {
  display: block;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--kid-green), var(--kid-blue));
  border-radius: 10px;
  transition: width 0.5s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.progress-text {
  text-align: center;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Step Header */
.step-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--gray-light);
}

.step-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.step-title {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.step-subtitle {
  color: var(--gray);
  margin: 0;
  font-size: 1.1rem;
}

/* Content Cards */
.content-card {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid;
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Specialized Card Types */
.theme-card {
  border-left-color: var(--kid-green);
  background: linear-gradient(135deg, #e8f5e8, #ffffff);
}

.memory-verse-card {
  border-left-color: var(--kid-orange);
  background: linear-gradient(135deg, #fff3e0, #ffffff);
}

.bible-story-card {
  border-left-color: var(--kid-blue);
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.prayer-card {
  border-left-color: var(--kid-purple);
  background: linear-gradient(135deg, #f3e5f5, #ffffff);
}

.mezmur-card {
  border-left-color: var(--kid-pink);
  background: linear-gradient(135deg, #fce4ec, #ffffff);
}

.liturgy-card {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, #fff8e1, #ffffff);
}

.quiz-card {
  border-left-color: var(--kid-yellow);
  background: linear-gradient(135deg, #fffde7, #ffffff);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}

.card-title {
  margin: 0;
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.card-content {
  line-height: 1.7;
  color: #555;
}

.card-content h4 {
  color: var(--primary);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
}

/* Step Navigation */
.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-light);
  gap: 1rem;
}

.nav-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  text-decoration: none;
  min-width: 140px;
  justify-content: center;
}

.nav-btn.prev {
  background: var(--gray-light);
  color: var(--dark);
}

.nav-btn.prev:hover:not(:disabled) {
  background: var(--gray);
  color: white;
  transform: translateX(-3px);
}

.nav-btn.next {
  background: var(--kid-green);
  color: white;
}

.nav-btn.next:hover:not(:disabled) {
  background: var(--kid-blue);
  transform: translateX(3px);
}

.nav-btn:disabled {
  background: #e0e0e0 !important;
  color: #9e9e9e !important;
  cursor: not-allowed;
  transform: none !important;
}

.step-indicator {
  color: var(--gray);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================================
   Special Elements
   ============================================================================ */

/* Verse of the Day */
.verse {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.verse::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  opacity: 0.2;
  font-family: serif;
}

.role {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.lang {
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.lang.geez {
  font-family: 'Nyala', 'Abyssinica SIL', serif;
  font-size: 1.3rem;
  line-height: 1.8;
}

.lang.ti {
  font-family: 'Nyala', 'Abyssinica SIL', serif;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.empty-state h3 {
  color: var(--gray);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.welcome-message {
  text-align: center;
  padding: 3rem 2rem;
}

.welcome-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Audio Players */
.audio-player-container {
  margin: 1.5rem 0;
}

.audio-player-container audio {
  width: 100%;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

/* Practice Areas */
.user-response-input {
  border: 3px solid var(--kid-blue);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.user-response-input:focus {
  border-color: var(--kid-purple);
  box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.response-feedback {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
  display: none;
}

/* ============================================================================
   Grid Layouts
   ============================================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

/* Tablet */
@media (min-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    width: auto;
    gap: 0.5rem;
  }
  
  .nav-links a {
    border: none;
    padding: 1.75rem 1rem;
    border-radius: 8px;
  }
  
  .hamburger {
    display: none;
  }
  
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .month-nav {
    padding: 2rem;
  }
  
  .current-month h3 {
    font-size: 1.6rem;
  }
  
  .week-buttons {
    gap: 1rem;
  }
  
  .week-nav-btn {
    min-width: 100px;
    padding: 1.2rem 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  main {
    padding: 3rem 2rem;
  }
  
  section {
    padding: 3rem;
  }
  
  .nav-container {
    padding: 1rem 2rem;
  }
  
  .nav-links a {
    padding: 1rem 1.5rem;
  }
  
  .kids-program-header {
    padding: 3rem;
  }
  
  .lesson-step {
    padding: 3rem;
  }
  
  .step-navigation {
    gap: 2rem;
  }
  
  .nav-btn {
    min-width: 160px;
    padding: 1.2rem 2.5rem;
  }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
  header {
    padding: 1.5rem 1rem;
  }
  
  header h1 {
    font-size: 1.6rem;
  }
  
  main {
    padding: 1rem;
  }
  
  section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .kids-program-header {
    padding: 0.1rem;
    margin-bottom: 1.5rem;
  }
  #kds-program{
    padding: 0;
  }
  .month-nav {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .month-nav-btn {
    width: 45px;
    height: 45px;
  }
  
  .current-month h3 {
    font-size: 1.2rem;
  }
  
  .week-nav-btn {
    padding: 0.8rem 1rem;
    min-width: 70px;
    font-size: 0.9rem;
  }
  
  .lesson-step {
    padding: 1.5rem;
  }
  
  .step-icon {
    font-size: 3rem;
  }
  
  .step-title {
    font-size: 1.4rem;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .step-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-btn {
    width: 100%;
    min-width: auto;
  }
  
  .step-indicator {
    order: -1;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.4rem;
  }
  
  header p {
    font-size: 1rem;
  }
  
  .kids-program-header h2 {
    font-size: 1.4rem;
  }
  
  .week-buttons {
    gap: 0.5rem;
  }
  
  .week-nav-btn {
    padding: 0.7rem 0.8rem;
    min-width: 60px;
    font-size: 0.8rem;
  }
  
  .lesson-step {
    padding: 0.5rem;
  }
  
  .step-header {
    margin-bottom: 1.5rem;
  }
  
  .step-icon {
    font-size: 2.5rem;
  }
  
  .step-title {
    font-size: 1.2rem;
  }
  
  .content-card {
    padding: 1.25rem;
  }
}

/* ============================================================================
   Utility Classes
   ============================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
  .nav-links,
  .hamburger,
  .month-nav-btn,
  .step-navigation {
    display: none !important;
  }
  
  section {
    box-shadow: none;
    break-inside: avoid;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary: #004400;
    --primary-dark: #002200;
    --primary-light: #006600;
  }
  
  .card {
    border: 2px solid var(--primary);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.mezmur-item {
    transition: all 0.3s ease;
}

.mezmur-item:hover {
    transform: translateY(-2px);
}

.mezmur-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Tewahdo Haymanot Dropdown Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--primary);
}

.dropdown-submenu-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1001;
}

.dropdown-submenu:hover .dropdown-submenu-content {
  display: block;
}

.dropdown-submenu-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.dropdown-submenu-content a:hover {
  background-color: #f8f9fa;
  color: var(--primary);
}

.dropdown-submenu-content a:last-child {
  border-bottom: none;
}

/* Tewahdo Content Styles */
.tewahdo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.pillar-header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.pillar-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
}

.pillar-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.pillar-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pillar-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.pillar-section:last-child {
    border-bottom: none;
}

.bible-references {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.mystery-list {
    list-style: none;
    padding: 0;
}

.mystery-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

.mystery-list li:last-child {
    border-bottom: none;
}

.mystery-list li strong {
    color: #2c5530;
}