:root {
  --esabaq-green: #0f7a4c;
  --esabaq-dark: #0b3d2e;
  --esabaq-gold: #c9a227;
}

/* Traced sabaq.pk logo. The word follows the surface; orange stays orange. */
.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none !important;
  color: #161515;
}
.brand-logo--dark,
.main-footer .brand-logo,
.split-auth .brand-pane .brand-logo {
  color: #ffffff;
}
.brand-logo .esabaq-logo {
  display: block;
  height: 48px;
  width: auto;
}
.brand-logo .logo-word { fill: currentColor; }
@media (max-width: 1140px) {
  .brand-logo .esabaq-logo { height: 40px; }
}

/* Keep content cards usable with theme */
body, .esabaq-site { font-family: 'Lexend', sans-serif; }
.hero-esabaq {
  background: linear-gradient(135deg, rgba(11,61,46,.92), rgba(15,122,76,.85)),
              url('../images/main-slider/1.jpg') center/cover no-repeat;
  color: #fff; min-height: 78vh; display: flex; align-items: center;
}
.hero-esabaq h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.section-title { font-weight: 700; color: var(--esabaq-dark); }
.feature-box, .course-card, .scholar-card, .price-card {
  background: #fff; border: 0; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11,61,46,.08); height: 100%;
}
.feature-box h1,
.feature-box h2,
.feature-box h3,
.feature-box h4,
.feature-box h5,
.feature-box h6 {
  color: #0b3d2e;
  line-height: 1.35;
  margin: 1.35rem 0 0.45rem;
}
.feature-box h1:first-child,
.feature-box h2:first-child,
.feature-box h3:first-child,
.feature-box h4:first-child,
.feature-box h5:first-child,
.feature-box h6:first-child {
  margin-top: 0;
}
.feature-box p,
.feature-box li {
  color: #254636;
  line-height: 1.75;
}
.feature-box ul,
.feature-box ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.feature-box li { margin-bottom: 0.35rem; }
.feature-box strong { color: #0b3d2e; }
.page-banner {
  background: linear-gradient(135deg, #0b3d2e, #0f7a4c); color: #fff;
  padding: 70px 0 50px; margin-bottom: 40px;
}
.split-auth { min-height: 100vh; }
.split-auth .brand-pane {
  background: linear-gradient(160deg, #0b3d2e 0%, #0f7a4c 55%, #1aa36a 100%),
              url('../images/main-slider/2.jpg') center/cover;
  color: #fff;
}
.admin-shell { min-height: 100vh; background: #f3f6f4; }
.admin-sidebar { width: 260px; background: #0b3d2e; min-height: 100vh; }
.admin-sidebar a { color: #d7ece3; text-decoration: none; display: block; padding: .65rem 1rem; border-radius: 8px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { flex: 1; }
.table thead th { background: #e8f5ef; }
.btn-success { background: #0f7a4c; border-color: #0f7a4c; }
.btn-success:hover { background: #0b3d2e; border-color: #0b3d2e; }

/* Header nav readability over theme styles */
.esabaq-header .navigation > li > a {
  font-family: 'Lexend', sans-serif;
}
.esabaq-header .header-upper {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.esabaq-header .outer-box {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.esabaq-header .header_button-box {
  display: block !important;
  height: auto !important;
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}
.esabaq-header .header_button-box .theme-btn {
  white-space: nowrap;
  padding: 12px 16px;
  overflow: hidden;
}
.esabaq-header .header_button-box .btn-wrap {
  float: none;
  overflow: hidden;
  display: block;
}
.esabaq-header .navigation > li.esabaq-join-item {
  display: none;
}
.mobile-menu .navigation > li.esabaq-join-item {
  display: block !important;
  padding: 8px 20px 16px;
}

@media (max-width: 991px) {
  .admin-sidebar { width: 100%; min-height: auto; }
  .cta-two_heading { font-size: 24px !important; line-height: 1.35 !important; }
}

/* Homepage slider: keep text readable on light photo areas */
.slider-one_image-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 61, 46, 0.72) 0%, rgba(11, 61, 46, 0.45) 48%, rgba(11, 61, 46, 0.28) 100%);
  pointer-events: none;
}
.slider-one .swiper-slide {
  min-height: 520px;
}
.slider-one_content {
  z-index: 2;
}
.mobile-nav-toggler {
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--esabaq-dark, #0b3d2e);
}
@media (min-width: 992px) {
  .mobile-nav-toggler { display: none; }
}

/* Equal-height + centered card rows */
.esabaq-eq-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.esabaq-eq-row > [class*="col-"] {
  display: flex;
  float: none;
}
.esabaq-eq-row .course-block_one-inner,
.esabaq-eq-row .institute-block_one-inner,
.esabaq-eq-row .price-block_one-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.esabaq-eq-row .course-block_one-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.esabaq-eq-row .course-block_one-text,
.esabaq-eq-row .institute-block_one-text,
.esabaq-eq-row .price-block_one-list {
  flex: 1;
}
.esabaq-eq-row .course-block_one-buttons,
.esabaq-eq-row .price-block_one-button {
  margin-top: auto;
  padding-top: 18px;
}
.esabaq-eq-row .price-block_one-list {
  flex: 1 1 auto;
  min-height: 150px;
}
.esabaq-eq-row .course-block_one-image {
  height: 180px;
  overflow: hidden;
}
.esabaq-eq-row .course-block_one-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esabaq-eq-row .institute-block_one-heading {
  min-height: 3.2em;
}
.esabaq-eq-row .institute-block_one-inner {
  min-height: 280px;
}

/* Al-Quran courses listing (course-block_two) */
.esabaq-eq-row .course-block_two-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(11, 61, 46, 0.08);
}
.esabaq-eq-row .course-block_two-image {
  height: 210px;
  overflow: hidden;
}
.esabaq-eq-row .course-block_two-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esabaq-eq-row .course-block_two-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.esabaq-eq-row .course-block_two-heading {
  min-height: 2.6em;
  padding-right: 48px;
}
.esabaq-eq-row .course-block_two-lower {
  margin-top: auto;
}
.course-block_two-lower {
  display: block;
}
.course-block_two-price--full {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
}
.course-block_two-price--full span {
  display: inline !important;
  margin-left: 4px;
}
.course-block_two-price--full:hover {
  color: var(--color-nine, #1b1b1b);
  filter: brightness(0.97);
}
.course-block_two-join {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}

/* Equal-height testimonials on About */
.testimonial-two_carousel .swiper-wrapper {
  align-items: stretch;
}
.testimonial-two_carousel .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial-two_carousel .testimonial-block_two {
  display: flex;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}
.testimonial-two_carousel .testimonial-block_two-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.testimonial-two_carousel .testimonial-block_two-text {
  flex: 1 1 auto;
}
.testimonial-two_carousel .testimonial-block_two-author {
  margin-top: auto;
}
.course-block_two-study {
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 16px;
  line-height: 1.2;
}
.course-detail_image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.course-detail_text {
  line-height: 1.75;
}

/* Pricing cards — same family as Why Choose Us (institute blocks), larger */
.esabaq-pricing-institute .esabaq-price-card {
  text-align: center;
  min-height: 420px;
  padding: 42px 28px 32px !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.esabaq-pricing-institute .esabaq-price-card:hover {
  transform: translateY(-6px);
}
.esabaq-pricing-institute .esabaq-price-card.is-featured {
  box-shadow: 0 18px 40px rgba(15, 122, 76, 0.16);
}
/* Keep content above theme hover gradient (::before) */
.esabaq-pricing-institute .esabaq-price-card > * {
  position: relative;
  z-index: 2;
}
.esabaq-price-card-amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 110px;
  padding: 12px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f5c542;
  border: 3px solid #1b1b1b;
  color: #1b1b1b;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.esabaq-price-card-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f5c542;
  color: #1b1b1b;
  font-size: 0.85rem;
  font-weight: 700;
}
.esabaq-price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.esabaq-price-features li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  color: #2f3d37;
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
  transition: color .35s ease;
}
.esabaq-price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--esabaq-green, #0f7a4c);
  transition: background .35s ease;
}
.esabaq-price-card-btn {
  margin-top: auto;
  padding-top: 22px;
}
.esabaq-pricing-institute .institute-block_one-heading {
  min-height: auto;
  margin-bottom: 10px;
  font-size: 1.35rem;
  color: #1b1b1b;
  transition: color .35s ease;
}
.esabaq-pricing-institute .institute-block_one-text {
  color: #4b5c56;
  transition: color .35s ease;
}
/* Hover: green overlay — force readable light text (list items had fixed dark color) */
.esabaq-pricing-institute .esabaq-price-card:hover .institute-block_one-heading,
.esabaq-pricing-institute .esabaq-price-card:hover .institute-block_one-heading a,
.esabaq-pricing-institute .esabaq-price-card:hover .institute-block_one-text,
.esabaq-pricing-institute .esabaq-price-card:hover .esabaq-price-features li {
  color: #ffffff !important;
}
.esabaq-pricing-institute .esabaq-price-card:hover .esabaq-price-features li::before {
  background: #f5c542;
}
.esabaq-pricing-institute .esabaq-price-card:hover .esabaq-price-card-amount,
.esabaq-pricing-institute .esabaq-price-card:hover .esabaq-price-card-badge {
  color: #1b1b1b;
}
.esabaq-eq-row .esabaq-price-card .institute-block_one-text {
  flex: 1;
}

/* Stats section rebuild */
.esabaq-stats .esabaq-stats-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px !important;
  padding: 48px 40px !important;
  background: linear-gradient(135deg, #0b3d2e 0%, #0f7a4c 55%, #1aa36a 100%) !important;
  border: 0;
}
.esabaq-stats .students-one_pattern {
  opacity: .18;
  pointer-events: none;
}
.esabaq-stat-icon i {
  line-height: 1;
}
.esabaq-stats-intro {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}
.esabaq-stats-intro .students-one_title {
  margin: 0 0 12px;
  color: #fff;
}
.esabaq-stats-intro .students-one_text {
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,.9);
}
.esabaq-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}
.esabaq-stat-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  min-height: 100%;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.esabaq-stat-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f3faf6 100%);
  border: 1px solid rgba(15,122,76,.12);
}
.esabaq-stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--esabaq-dark);
  background: #f0d56a;
  margin-bottom: 14px;
}
.esabaq-stat-value {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--esabaq-dark);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.esabaq-stat-label {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #456;
}
.esabaq-stat-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 78px;
  border-radius: 16px;
  background: #f0d56a;
  color: #1a1a1a;
  margin-bottom: 14px;
  font-size: 1.55rem;
  font-weight: 800;
}
.esabaq-stat-badge-green {
  background: var(--esabaq-green);
  color: #fff;
}
.esabaq-stat-stars {
  font-size: .75rem;
  letter-spacing: .08em;
  line-height: 1;
  margin-bottom: 2px;
}
.esabaq-stat-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--esabaq-dark);
  margin: 0 0 8px;
}
.esabaq-stat-copy {
  margin: 0;
  color: #5b6b66;
  line-height: 1.55;
  font-size: .95rem;
}

@media (max-width: 991px) {
  .esabaq-stats .esabaq-stats-panel { padding: 36px 22px !important; }
  .esabaq-stats-grid { grid-template-columns: 1fr; }
}

/* Prayer times page */
.esabaq-prayer-page {
  padding-top: 70px !important;
  padding-bottom: 80px !important;
  background:
    radial-gradient(circle at top right, rgba(243, 184, 21, 0.12), transparent 40%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 45%, #f3f8f5 100%);
}
.esabaq-prayer-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.esabaq-prayer-hero__copy,
.esabaq-prayer-next-card,
.esabaq-prayer-controls {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11, 61, 46, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11, 61, 46, 0.08);
}
.esabaq-prayer-hero__copy {
  padding: 28px 30px;
}
.esabaq-prayer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f7a4c;
  margin-bottom: 10px;
}
.esabaq-prayer-page .prayer-time_title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}
.esabaq-prayer-page .prayer-time_content {
  max-width: none;
  padding: 0 !important;
  margin: 0 0 14px;
  background: none !important;
  box-shadow: none !important;
  color: #4d5f58;
  line-height: 1.7;
}
.esabaq-prayer-meta {
  color: #6b7c74;
  font-size: 0.92rem;
}
.esabaq-prayer-error {
  margin-top: 10px;
  color: #b42318;
  font-size: 0.92rem;
}
.esabaq-prayer-next-card {
  padding: 26px 24px;
  height: 100%;
  background:
    linear-gradient(145deg, rgba(15, 122, 76, 0.95), rgba(11, 61, 46, 0.98)),
    #0b3d2e;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.esabaq-prayer-next-label {
  opacity: 0.8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.esabaq-prayer-next-name {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 6px 0 18px;
}
.esabaq-prayer-next-card .time-countdown {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.esabaq-prayer-next-card .counter-column {
  min-width: 72px;
  text-align: center;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 10px;
}
.esabaq-prayer-next-card .count {
  font-size: 1.55rem;
  font-weight: 700;
  display: block;
  color: #fff !important;
}
.esabaq-prayer-next-card .count_title,
.esabaq-prayer-next-card .time-countdown_subtitle {
  color: rgba(255,255,255,0.82) !important;
}
.esabaq-prayer-next-card .time-countdown_subtitle {
  margin-top: 14px;
  font-size: 0.92rem;
}
.esabaq-prayer-controls {
  padding: 22px;
  margin-bottom: 28px;
}
.esabaq-prayer-controls__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.esabaq-prayer-field .form-label {
  font-weight: 600;
  color: #234;
  margin-bottom: 6px;
}
.esabaq-prayer-field .form-select {
  min-height: 48px;
  border-radius: 10px;
  border-color: rgba(11, 61, 46, 0.12);
}
.esabaq-prayer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.esabaq-prayer-actions .theme-btn {
  margin: 0;
}
.esabaq-prayer-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.esabaq-prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.esabaq-prayer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11, 61, 46, 0.08);
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.esabaq-prayer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(11, 61, 46, 0.1);
}
.esabaq-prayer-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f6ee, #f7d781);
  color: #0b3d2e;
  flex-shrink: 0;
}
.esabaq-prayer-card__name {
  font-weight: 600;
  color: #1f2d28;
  margin-bottom: 2px;
}
.esabaq-prayer-card__time span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f7a4c;
}
.esabaq-prayer-card.is-next {
  background: linear-gradient(135deg, #50bc84, #f7d781);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(15, 122, 76, 0.22);
}
.esabaq-prayer-card.is-next .esabaq-prayer-card__name,
.esabaq-prayer-card.is-next .esabaq-prayer-card__time span {
  color: #0b3d2e !important;
}
.esabaq-prayer-page .makkah-timezone {
  color: #5C7B10;
  font-size: 0.92rem;
}
@media (max-width: 991px) {
  .esabaq-prayer-hero {
    grid-template-columns: 1fr;
  }
  .esabaq-prayer-controls__grid {
    grid-template-columns: 1fr 1fr;
  }
  .esabaq-prayer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .esabaq-prayer-page {
    padding-top: 40px !important;
    padding-bottom: 50px !important;
  }
  .esabaq-prayer-hero__copy,
  .esabaq-prayer-controls {
    padding: 18px;
  }
  .esabaq-prayer-controls__grid,
  .esabaq-prayer-grid {
    grid-template-columns: 1fr;
  }
  .esabaq-prayer-actions {
    flex-direction: column;
  }
  .esabaq-prayer-actions .theme-btn,
  .esabaq-prayer-actions .theme-btn .btn-wrap {
    width: 100%;
  }
  .esabaq-prayer-next-card .counter-column {
    flex: 1;
    min-width: 0;
  }
}

/* legacy helpers kept for compatibility */
.esabaq-prayer-controls .form-label {
  font-weight: 600;
  color: #234;
  margin-bottom: 6px;
}
.esabaq-prayer-controls .theme-btn {
  margin: 0;
}
.prayer-daytime.is-next {
  background: linear-gradient(135deg, #50bc84, #f7d781);
  color: #123 !important;
  box-shadow: 0 10px 24px rgba(15, 122, 76, 0.18);
}
.prayer-daytime.is-next span {
  color: #0b3d2e !important;
}
.time-countdown .count_title {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  text-transform: capitalize;
  opacity: .9;
}

.course-detail_overview-html {
  margin-bottom: 24px;
  line-height: 1.75;
}
.course-detail_overview-html p:last-child {
  margin-bottom: 0;
}
.course-widget .course-appy_btn {
  display: block;
  text-align: center;
  width: 100%;
}
.helpline-widget {
  margin-top: 30px;
}

/* Blog grid cards */
.esabaq-eq-row .news-block_one-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.esabaq-eq-row .news-block_one-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.esabaq-eq-row .news-block_one-text {
  flex: 1;
}
.esabaq-eq-row .news-block_one-image {
  height: 220px;
  overflow: hidden;
}
.esabaq-eq-row .news-block_one-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-detail_body {
  line-height: 1.8;
  margin-bottom: 28px;
  color: #2a3531;
  font-size: 1.05rem;
}
.blog-detail_body p {
  color: #2f3d37 !important;
  opacity: 1 !important;
  margin-bottom: 1.1rem;
  line-height: 1.8;
}
.blog-detail_body h1,
.blog-detail_body h2,
.blog-detail_body h3,
.blog-detail_body h4,
.blog-detail_body h5,
.blog-detail_body h6 {
  color: #121a17 !important;
  opacity: 1 !important;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.6rem 0 0.75rem;
}
.blog-detail_body h1 { font-size: 1.75rem; }
.blog-detail_body h2 { font-size: 1.5rem; }
.blog-detail_body h3 { font-size: 1.3rem; }
.blog-detail_body h4 { font-size: 1.15rem; }
/* Kill pale/white inline colors from editor paste */
.blog-detail_body [style*="color:#fff"],
.blog-detail_body [style*="color: #fff"],
.blog-detail_body [style*="color:#ffffff"],
.blog-detail_body [style*="color: #ffffff"],
.blog-detail_body [style*="color:white"],
.blog-detail_body [style*="color: white"],
.blog-detail_body [style*="color:#f"],
.blog-detail_body [style*="color:rgb(255"],
.blog-detail_body [style*="color: rgba(255"] {
  color: #121a17 !important;
}
.blog-detail_body a {
  color: #0f7a4c;
  text-decoration: underline;
}
.blog-detail_body ul,
.blog-detail_body ol {
  margin: 0 0 1.15rem 1.25rem;
  padding: 0;
  color: #2f3d37;
}
.blog-detail_body li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
  color: #2f3d37 !important;
}
.blog-detail_body strong,
.blog-detail_body b {
  color: #121a17;
  font-weight: 700;
}
.blog-detail_body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
}
.blog-detail_body th,
.blog-detail_body td {
  border: 1px solid #dce8e1;
  padding: 0.65rem 0.85rem;
  vertical-align: top;
  color: #2f3d37 !important;
}
.blog-detail_body th {
  background: #f3faf6;
  font-weight: 700;
  color: #121a17 !important;
}
.blog-detail_body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem auto;
  border-radius: 12px;
}
.blog-detail_body blockquote {
  color: #0b3d2e !important;
  border-left: 4px solid #0f7a4c;
  background: #f7fbf8;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.esabaq-captcha-group .esabaq-captcha-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.esabaq-captcha-code {
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Lexend', sans-serif;
  color: #0b3d2e;
  background: linear-gradient(135deg, #f7d781, #e8f6ee);
  border-radius: 6px;
  user-select: none;
}
.esabaq-captcha-refresh {
  width: 48px;
  border: 0;
  border-radius: 6px;
  background: #0f7a4c;
  color: #fff;
  cursor: pointer;
}
.esabaq-captcha-refresh:hover {
  background: #0b3d2e;
}
.esabaq-captcha-group input[name="captcha_code"] {
  flex: 1;
  min-width: 180px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Enroll / registration form */
.esabaq-enroll-intro { font-size: 15px; line-height: 1.6; }
.esabaq-enroll-label {
  display: block !important;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #1f2d28;
}
.esabaq-enroll-label span { color: #c0392b; }
.esabaq-enroll-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  min-height: 50px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 5px;
}
.esabaq-enroll-radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}
.esabaq-enroll-form .form-group {
  display: block;
  float: left;
  width: 100%;
}
@media (min-width: 768px) {
  .esabaq-enroll-form .form-group.col-md-6 {
    width: 50%;
  }
}
@media (min-width: 992px) {
  .esabaq-enroll-form .form-group.col-lg-6 {
    width: 50%;
  }
  .esabaq-enroll-form .form-group.col-lg-12 {
    width: 100%;
  }
}
.esabaq-enroll-form input[type="text"],
.esabaq-enroll-form input[type="email"],
.esabaq-enroll-form input[type="tel"],
.esabaq-enroll-form input[type="date"],
.esabaq-enroll-form input.esabaq-date-input,
.esabaq-enroll-form select,
.esabaq-enroll-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  line-height: 30px !important;
  padding: 8px 18px !important;
  height: 50px !important;
  min-height: 50px !important;
  font-weight: 400 !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  color: #555 !important;
  background-color: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  appearance: none;
  -webkit-appearance: none;
}
.esabaq-enroll-form input[type="date"],
.esabaq-enroll-form input.esabaq-date-input {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.esabaq-enroll-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.65;
  cursor: pointer;
  padding: 4px;
}
.esabaq-enroll-form .form-group textarea {
  min-height: 120px !important;
  height: auto !important;
  padding-top: 14px !important;
}
.esabaq-enroll-form .esabaq-captcha-group input[name="captcha_code"] {
  height: 50px !important;
}

/* Feedback PDF homepage polish */
.esabaq-why-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.esabaq-why-list li {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  position: relative;
}
.esabaq-why-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--esabaq-green);
  position: absolute;
  left: 0;
  top: 0.45em;
}
.esabaq-why-list strong {
  display: block;
  color: var(--esabaq-dark);
  font-weight: 700;
}
.esabaq-why-list span {
  display: block;
  color: #4b5c56;
  font-size: 0.95rem;
  line-height: 1.45;
}
.esabaq-whatsapp-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.esabaq-whatsapp-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.esabaq-nav-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0 auto 2px;
}
.esabaq-nav-has-icon > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.esabaq-nav-label {
  font-size: 0.78rem;
}
.esabaq-course-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}
.esabaq-course-groups a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 122, 76, 0.25);
  color: var(--esabaq-dark);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}
.esabaq-course-groups a.is-active,
.esabaq-course-groups a:hover {
  background: var(--esabaq-green);
  border-color: var(--esabaq-green);
  color: #fff;
}

/* ========== FAQ page (Frequently asked questions) ========== */
.esabaq-faq-page.faq-one {
  padding: 80px 0 90px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(28, 142, 90, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(243, 184, 21, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 45%, #faf8f2 100%);
}
.esabaq-faq-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.esabaq-faq-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f7a4c;
  background: rgba(28, 142, 90, 0.1);
  border: 1px solid rgba(28, 142, 90, 0.18);
}
.esabaq-faq-page .esabaq-faq-intro h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  font-weight: 700;
  color: #1c2b26;
  letter-spacing: -0.02em;
}
.esabaq-faq-panel {
  position: relative;
  padding: 28px 28px 22px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(28, 60, 48, 0.08);
  box-shadow:
    0 1px 2px rgba(28, 43, 38, 0.04),
    0 18px 40px -20px rgba(15, 90, 55, 0.28);
  overflow: hidden;
}
.esabaq-faq-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1c8e5a 0%, #f3b815 55%, #1c8e5a 100%);
}
.esabaq-faq-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(28, 60, 48, 0.08);
}
.esabaq-faq-panel-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0f7a4c;
  font-size: 1.15rem;
  background: linear-gradient(145deg, #e8f6ee, #f5fbf7);
  border: 1px solid rgba(28, 142, 90, 0.16);
}
.esabaq-faq-panel-head h4 {
  margin: 0 0 4px !important;
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #1c2b26 !important;
  text-transform: none !important;
}
.esabaq-faq-panel-sub {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7c74;
  line-height: 1.4;
}
.esabaq-faq-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.esabaq-faq-list.accordion-box .block {
  margin: 0 !important;
  border: 1px solid rgba(28, 60, 48, 0.1);
  border-radius: 14px;
  background: #fbfcfb;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.esabaq-faq-list.accordion-box .block:hover {
  border-color: rgba(28, 142, 90, 0.28);
  background: #fff;
}
.esabaq-faq-list.accordion-box .block.active-block {
  border-color: rgba(28, 142, 90, 0.35);
  background: #fff;
  box-shadow: 0 8px 24px -12px rgba(15, 90, 55, 0.35);
}
.esabaq-faq-q.acc-btn {
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 16px 18px !important;
  font-family: var(--faq-font, Lexend, sans-serif) !important;
  font-size: var(--faq-q-size, 17px) !important;
  font-weight: var(--faq-q-weight, 600) !important;
  line-height: 1.4 !important;
  color: #1c2b26 !important;
  text-transform: none !important;
  background: transparent !important;
  transition: color 0.2s ease;
}
.esabaq-faq-q.acc-btn:hover,
.esabaq-faq-q.acc-btn.active {
  color: #0f5c3a !important;
}
.esabaq-faq-q .icon-outer {
  display: none !important;
}
.esabaq-faq-index {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f7a4c;
  background: rgba(28, 142, 90, 0.1);
  border: 1px solid rgba(28, 142, 90, 0.16);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.esabaq-faq-item.active-block .esabaq-faq-index {
  color: #fff;
  background: linear-gradient(145deg, #1c8e5a, #0f7a4c);
  border-color: transparent;
}
.esabaq-faq-q-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.esabaq-faq-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: #0f7a4c;
  background: #fff;
  border: 1px solid rgba(28, 142, 90, 0.2);
  transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}
.esabaq-faq-item.active-block .esabaq-faq-chevron {
  transform: rotate(180deg);
  color: #fff;
  background: #1c8e5a;
  border-color: #1c8e5a;
}
.esabaq-faq-a.acc-content {
  border-top: 1px solid rgba(28, 60, 48, 0.06);
}
.esabaq-faq-a .content {
  padding: 0 18px 18px 68px !important;
}
.esabaq-faq-a .text {
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px;
  font-family: var(--faq-font, Lexend, sans-serif) !important;
  font-size: var(--faq-a-size, 15px) !important;
  font-weight: var(--faq-a-weight, 400) !important;
  line-height: 1.75 !important;
  color: #3d4f47 !important;
  white-space: pre-line;
  background: linear-gradient(135deg, rgba(232, 246, 238, 0.65), rgba(255, 250, 235, 0.55));
  border: 1px solid rgba(28, 142, 90, 0.08);
}
.esabaq-faq-empty {
  padding: 12px 4px 8px;
  color: #6b7c74;
}
.esabaq-faq-helpline .widget-content {
  border-radius: 18px;
}
@media (max-width: 767px) {
  .esabaq-faq-page.faq-one {
    padding: 56px 0 64px;
  }
  .esabaq-faq-panel {
    padding: 20px 16px 16px !important;
  }
  .esabaq-faq-q.acc-btn {
    padding: 14px 12px !important;
    gap: 10px;
  }
  .esabaq-faq-a .content {
    padding: 0 12px 14px 12px !important;
  }
  .esabaq-faq-index {
    width: 32px;
    height: 32px;
  }
}
