.elementor-764 .elementor-element.elementor-element-d8bcd5d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-764 .elementor-element.elementor-element-8260a9a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for text-editor, class: .elementor-element-c04a6df */.twf-programs-page {
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fcfb;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(28,166,123,0.15);
  padding: 32px 24px;
  color: #03543f;
  line-height: 1.6;
  transition: box-shadow 0.3s ease;
}
.twf-programs-page:hover {
  box-shadow: 0 10px 48px rgba(28,166,123,0.25);
}

.twf-page-title {
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 38px;
  letter-spacing: 0.05em;
  color: #0e4f41;
  user-select: none;
}
.twf-page-title span {
  color: #1ca67b;
}

.twf-program-block {
  margin-bottom: 52px;
  padding: 24px 18px;
  border-radius: 14px;
  transition: background-color 0.25s ease, transform 0.3s ease;
  cursor: default;
}
.twf-program-block:hover {
  background-color: #e0f4ef;
  transform: translateY(-6px);
}

.twf-block-accent {
  background-color: #d2f0e3;
  border-left: 5px solid #169372;
}

.twf-program-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.highlight-green {
  color: #18875e;
}
.highlight-blue {
  color: #086f80;
}

.twf-highlight-bold {
  color: #0f4c3e;
  font-weight: 700;
  background: #d4efe7;
  padding: 1px 6px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.twf-highlight-bold:hover {
  background: #1ca67b;
  color: #fff;
  cursor: pointer;
}

.twf-program-list {
  list-style: inside disc;
  margin-left: 0;
  padding-left: 14px;
  font-size: 1.1rem;
  color: #0e5240;
}

.twf-quran, .twf-hadith {
  background: #dff9f2;
  border-left: 6px solid #14a075;
  color: #054d42;
  font-size: 1.15rem;
  font-style: normal;
  margin: 18px 0 14px 0;
  padding: 20px 22px;
  border-radius: 8px;
  box-shadow: 0 2px 12px #c2f0e8a6;
  line-height: 1.5;
  transition: background 0.3s ease;
  font-family: 'Amiri', serif, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.twf-quran:hover, .twf-hadith:hover {
  background: #c6f0df;
  color: #0b6353;
}

.twf-quran-ar, .twf-hadith-ar {
  font-size: 1.25rem;
  font-family: "Amiri", serif;
  color: #0e5c45;
  direction: rtl;
  text-align: right;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.twf-quran-en, .twf-hadith-en {
  font-size: 1.1rem;
  font-style: italic;
  color: #0b4e42;
}

.twf-quran-ref, .twf-hadith-ref {
  color: #116b57;
  font-weight: 700;
  display: inline-block;
  margin-top: 6px;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .twf-programs-page { padding: 26px 14px; }
  .twf-page-title { font-size: 2rem; margin-bottom: 28px; }
  .twf-program-title { font-size: 1.6rem; margin-bottom: 14px; }
  .twf-program-list { font-size: 1rem; }
  .twf-quran-ar, .twf-hadith-ar { font-size: 1.05rem; }
  .twf-quran-en, .twf-hadith-en { font-size: 1rem; }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-6d454cb */.twf-programs-carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 30px 16px 20px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(120deg, #f0faf7 60%, #e8f9f5 120%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(28, 166, 123, 0.18);
  margin-bottom: 40px;
}

.twf-programs-carousel::-webkit-scrollbar {
  height: 8px;
}
.twf-programs-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #18875e, #1ca67b);
  border-radius: 6px;
}
.twf-programs-carousel::-webkit-scrollbar-track {
  background: #e0f2f1;
  border-radius: 6px;
}

.twf-program-card {
  flex: 0 0 300px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(18, 120, 96, 0.15);
  padding: 28px 22px 20px 22px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.twf-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.twf-program-card:hover::before {
  left: 100%;
}

.twf-program-card:hover, 
.twf-program-card:focus {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(16, 110, 76, 0.3);
  border-color: #1ca67b;
}

.twf-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  filter: drop-shadow(2px 4px 6px rgba(28, 166, 123, 0.3));
  transition: transform 0.3s ease;
}

.twf-program-card:hover .twf-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.twf-program-card-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  user-select: none;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.twf-program-card-desc {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #166843;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 18px;
}

.twf-card-link {
  background: linear-gradient(135deg, #1ca67b 0%, #128966 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(28, 166, 123, 0.3);
}

.twf-card-link:hover {
  background: #0e7c59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28, 166, 123, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .twf-programs-carousel {
    padding: 20px 12px;
    gap: 16px;
  }
  .twf-program-card {
    flex: 0 0 85vw;
    padding: 24px 18px;
  }
  .twf-card-icon {
    font-size: 2.5rem;
  }
  .twf-program-card-title {
    font-size: 1.3rem;
  }
}/* End custom CSS */