/* Root Variables */
:root {
  --primary-color: #0056b3;
  --donate-bg: #e63946;
  --donate-hover: #c72636;
  --text-color: #111;
  --bg-color: #ffffff;
  --card-bg: #f9f9f9;
  --accent: #ffb703;
  --section-bg: #f5f7fa;
  --inset-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--primary-color);
}


.card {
  border: none;
  border-radius: 12px;
  background-color: var(--card-bg);
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.card-footer {
  background: transparent;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #888;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.alert-warning {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 20px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.text-center {
  text-align: center;
}

/* Responsive spacing */
@media (max-width: 768px) {

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

/* Fade In Animation */
.card {
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pagination Custom */
.pagination .page-link {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin: 0 3px;
  transition: var(--transition);
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Custom active tab styling */
#prayerTabs .nav-link.active {
    background-color: #28a745 !important; /* Bootstrap green */
    color: #fff !important; /* White text */
    border-radius: 50px; /* Makes pill more rounded */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Subtle shadow */
    transition: all 0.3s ease-in-out;
}

/* Hover effect for inactive tabs */
#prayerTabs .nav-link {
    color: #28a745;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}
#prayerTabs .nav-link:hover {
    background-color: #e8f5e9;
    color: #28a745;
}

/* Gradient heading */
.text-gradient {
    background: linear-gradient(90deg, #ff9800, #ffc107, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Prayer cards */
.prayer-box {
    background: #fff;
    border-radius: 15px;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Icons */
.prayer-box .icon {
    font-size: 1.4rem;
}

/* Hover effect */
.prayer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    background: linear-gradient(135deg, #fff3cd, #fff);
}


/* Prayer main card */
.prayer-card {
    background: linear-gradient(135deg, #fff9e6, #fff);
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.3);
}

/* Video cards */
.video-card {
    border-radius: 15px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.video-caption {
    background: #fffdf5;
    border-top: 1px solid #f5e6c5;
}
.video-caption h6 {
    color: #ff9800;
}
