/* Shared public-page helpers for Alqotr theme */
.account-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(32, 72, 109, 0.08);
}

.account-form .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.account-form .form-group input[type="text"],
.account-form .form-group input[type="email"],
.account-form .form-group input[type="password"],
.account-form .form-group input[type="tel"],
.contact-form .form-control,
.shop-cart .coupon-form input {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fff;
}

.shop-cart .cart-top table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.shop-cart .cart-top th,
.shop-cart .cart-top td {
  padding: 1rem;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.shop-cart .cart-checkout-box {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(32, 72, 109, 0.08);
}

.shop-cart .coupon-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.shop-cart .coupon-form input {
  flex: 1;
  min-width: 180px;
}

.wsus__single_payment {
  display: block;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wsus__single_payment:hover,
.wsus__single_payment.active {
  border-color: #20486d;
  box-shadow: 0 6px 18px rgba(32, 72, 109, 0.12);
}

.pageheader-section .breadcrumb {
  background: transparent;
  margin-top: 0.75rem;
}

.pageheader-section .breadcrumb a {
  color: inherit;
}

.widget_search .search-wrapper {
  display: flex;
  gap: 0.5rem;
}

.widget_search .search-wrapper input {
  flex: 1;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.widget_search .search-wrapper button {
  border: 0;
  border-radius: 8px;
  background: #20486d;
  color: #fff;
  width: 44px;
}

.contact-form textarea.form-control {
  resize: vertical;
}

.account-form .form-control,
.account-form .form-select,
.account-form select,
.account-form textarea {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fff;
}

.account-form textarea {
  min-height: 110px;
}

html[dir="rtl"] .shop-cart .coupon-form,
html[dir="rtl"] .widget_search .search-wrapper {
  flex-direction: row;
}

html[dir="rtl"] .pageheader-section .breadcrumb {
  direction: rtl;
}

.instructor__details-area .list-wrap,
.instructor__details-info {
  word-break: break-word;
}

/* Course archive sidebar filters */
.archive-sidebar-panel {
  margin-bottom: 24px;
}

.archive-sidebar {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(32, 72, 109, 0.06);
}

.archive-sidebar .courses-widget + .courses-widget,
.archive-sidebar .sub-category-holder + .courses-widget {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf2f7;
}

.archive-sidebar .widget-title {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #20486d;
}

.archive-sidebar .list-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-sidebar .list-wrap li + li {
  margin-top: 0.55rem;
}

.archive-sidebar .form-check-label {
  cursor: pointer;
}

.courses__sidebar_button {
  display: none;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: #20486d;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.courses__sidebar_button h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .courses__sidebar_button {
    display: block;
  }

  .archive-sidebar {
    display: none;
  }

  .archive-sidebar-panel.is-open .archive-sidebar {
    display: block;
  }
}

.courses-top-wrap {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.courses-top-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.courses-top-right .orderby {
  min-width: 180px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: #fff;
}

.preloader-two {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
}

.preloader-two .loader-icon-two img {
  width: 64px;
  height: auto;
}

#courseCatalog .pagination-wrap {
  margin-top: 28px;
}

.pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.instructor-single-content .lab-ul a,
.instructor-single-content .lab-ul i {
  color: #20486d;
}

/* Keep the topbar currency list above the cart bar */
.header-top {
  position: relative;
  z-index: 30;
  overflow: visible;
}

.header-bottom {
  position: relative;
  z-index: 20;
}

.header-top-area .social-icons li.top-currency-switch {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.header-top-area .social-icons li.top-currency-switch .nice-select .list {
  z-index: 41;
  background: #fff;
  color: #13283d;
}

.header-top-area .social-icons li.top-currency-switch .nice-select .option {
  color: #13283d;
  background: #fff;
}

.header-top-area .social-icons li.top-currency-switch .nice-select .option:hover,
.header-top-area .social-icons li.top-currency-switch .nice-select .option.focus,
.header-top-area .social-icons li.top-currency-switch .nice-select .option.selected {
  color: #20486d;
  background: #f4f7fa;
}

@media (max-width: 991px) {
  .header-top,
  .header-top.open,
  .internal-page .header-section:not(.header-fixed) .header-top,
  .internal-page .header-section:not(.header-fixed) .header-top.open,
  .course-archive-page .header-section:not(.header-fixed) .header-top,
  .contact-page .header-section:not(.header-fixed) .header-top,
  .about-page .header-section:not(.header-fixed) .header-top,
  .blog-page .header-section:not(.header-fixed) .header-top {
    background: rgba(32, 72, 109, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-top-area {
    flex-direction: column;
    align-items: stretch;
  }

  .header-top-area .left,
  .header-top-area .social-icons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-top-area .left li,
  .header-top-area .left li a,
  .header-top-area .left li span,
  .header-top-area .left li i,
  .header-top-area .social-icons li,
  .header-top-area .social-icons li p,
  .header-top-area .social-icons li a,
  .internal-page .header-section:not(.header-fixed) .header-top-area,
  .internal-page .header-section:not(.header-fixed) .header-top-area a,
  .internal-page .header-section:not(.header-fixed) .header-top-area span,
  .internal-page .header-section:not(.header-fixed) .header-top-area p,
  .internal-page .header-section:not(.header-fixed) .header-top-area select,
  .internal-page .header-section:not(.header-fixed) .header-top-area i {
    color: #fff;
  }

  .header-top-area .social-icons li.top-language-switch,
  .header-top-area .social-icons li.top-currency-switch {
    flex-grow: 0;
    min-width: 0;
    height: 40px;
    z-index: 2;
  }

  .header-top-area .social-icons li.top-currency-switch .nice-select {
    height: 40px;
    line-height: 38px;
    min-width: 58px;
    color: #fff;
    background: transparent;
  }

  .header-top-area .social-icons li.top-currency-switch .nice-select:after {
    border-color: #fff;
  }

  .header-top-area .social-icons li.top-currency-switch .nice-select .current {
    color: #fff;
  }

  .header-top-area .social-icons li.top-currency-switch .nice-select .list,
  .header-top-area .social-icons li.top-currency-switch .nice-select .option,
  .internal-page .header-section:not(.header-fixed) .header-top-area .nice-select .list,
  .internal-page .header-section:not(.header-fixed) .header-top-area .nice-select .option {
    color: #13283d;
    background: #fff;
  }

  .header-section .header-bottom:has(.header-bar.active) {
    background: rgba(32, 72, 109, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-section .header-bottom:has(.header-bar.active) .logo .logo-color {
    display: none;
  }

  .header-section .header-bottom:has(.header-bar.active) .logo .logo-light {
    display: block;
  }

  .header-section .header-bottom:has(.header-bar.active) .header-bar span {
    background: #ffffff;
  }

  .header-section .header-bottom:has(.header-bar.active) .ellepsis-bar i {
    color: #ffffff;
  }
}

/* Header cart badge */
.mini-cart-icon {
  position: relative;
}

.mini-cart-count {
  position: absolute;
  top: -6px;
  inset-inline-end: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e5a323;
  color: #20486d;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.mini-cart-count.is-zero {
  display: none;
}

/* Archive search */
.archive-search-form {
  display: flex;
  gap: 0.5rem;
}

.archive-search-form input {
  flex: 1;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
}

.archive-search-form button {
  width: 44px;
  border: 0;
  border-radius: 8px;
  background: #20486d;
  color: #fff;
}

/* Pagination */
.pagination-wrap .pagination {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-wrap .page-item .page-link,
.pagination-wrap .page-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.7rem;
  border-radius: 8px;
  border: 1px solid #d9e2ec;
  background: #fff;
  color: #20486d;
  text-decoration: none;
}

.pagination-wrap .page-item.active .page-link,
.pagination-wrap .page-item .page-link:hover {
  background: #20486d;
  border-color: #20486d;
  color: #fff;
}

.pagination-wrap .page-item.disabled > span {
  opacity: 0.45;
}

/* Floating WhatsApp */
.alqotr-whatsapp-float {
  position: fixed;
  bottom: 90px;
  inset-inline-end: 24px;
  z-index: 1040;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.alqotr-whatsapp-float:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

html[dir="rtl"] .pagination-wrap .page-item .fas.fa-chevron-left,
html[dir="rtl"] .pagination-wrap .page-item .fas.fa-chevron-right {
  display: inline-block;
  transform: scaleX(-1);
}

.fab.fa-x-twitter {
  font-family: inherit !important;
}
.fab.fa-x-twitter::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.725-8.835L1.254 2.25H8.08l4.253 5.622L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.725-8.835L1.254 2.25H8.08l4.253 5.622L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Course application modal */
.alqotr-application-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(32, 72, 109, 0.18);
}

.alqotr-application-modal .alqotr-modal-body {
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
}

.alqotr-application-modal .title {
  margin: 0 0 0.35rem;
  color: #20486d;
  font-size: 1.5rem;
  font-weight: 700;
}

.alqotr-application-modal .alqotr-modal-desc {
  margin-bottom: 1.25rem;
  color: #6b7c93;
  font-size: 0.95rem;
}

.alqotr-application-modal .alqotr-modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #20486d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.alqotr-application-modal .alqotr-modal-close:hover {
  background: #20486d;
  color: #fff;
}

.alqotr-application-modal .account-form .form-group {
  margin-bottom: 1rem;
  text-align: start;
}

.alqotr-application-modal .account-form .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #20486d;
}

.alqotr-application-modal .account-form input,
.alqotr-application-modal .account-form select {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #27364b;
  height: 48px;
}

.alqotr-application-modal .account-form input:focus,
.alqotr-application-modal .account-form select:focus {
  outline: none;
  border-color: #20486d;
  box-shadow: 0 0 0 3px rgba(32, 72, 109, 0.12);
}

.alqotr-application-modal .alqotr-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.alqotr-application-modal .alqotr-modal-cancel {
  border: 1px solid #d9e2ec;
  background: #fff;
  color: #6b7c93;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.alqotr-application-modal .alqotr-modal-cancel:hover {
  border-color: #20486d;
  color: #20486d;
}

.alqotr-application-modal .lab-btn {
  margin: 0;
}

@media (max-width: 575.98px) {
  .alqotr-application-modal .alqotr-modal-body {
    padding: 1.5rem 1.15rem 1.25rem;
  }

  .alqotr-application-modal .alqotr-modal-actions {
    flex-direction: column-reverse;
  }

  .alqotr-application-modal .alqotr-modal-actions .lab-btn,
  .alqotr-application-modal .alqotr-modal-cancel {
    width: 100%;
  }
}

/* Contact page */
.contact-page-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}
.contact-page-grid.is-form-only {
  grid-template-columns: minmax(0, 1fr);
}
.contact-page-info,
.contact-page-form-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.contact-page-info {
  padding: 32px;
}
.contact-page-info .archive-section-heading,
.contact-page-form-card .archive-section-heading {
  margin-bottom: 18px;
}
.contact-page-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--brand-border);
}
.contact-page-card:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.contact-page-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  background: #eaf1f7;
  border-radius: 14px;
  font-size: 22px;
}
.contact-page-card__body h3 {
  margin: 0 0 6px;
  color: var(--brand-text);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.contact-page-card__body p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}
.contact-page-card__body a,
.contact-page-card__body a:visited {
  color: var(--brand-primary);
}
.contact-page-card__body a[href^="tel:"],
.contact-page-card__body a[href^="mailto:"] {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}
.contact-page-card__body a:hover {
  color: var(--brand-accent-dark);
}
.contact-page-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.contact-page-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand-primary);
  border-radius: 12px;
}
.contact-page-social a:hover {
  color: #ffffff;
  background: var(--brand-accent);
}
.contact-page-form-card {
  padding: 36px;
}
.contact-page-form-intro {
  margin: 0 0 22px;
  color: var(--brand-muted);
  line-height: 1.7;
}
.contact-page-form .form-group {
  width: 100%;
  margin-bottom: 0;
}
.contact-page-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-text);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}
.contact-page-form .form-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  color: var(--brand-text);
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  box-shadow: none;
  font-size: 14px;
  outline: none;
}
.contact-page-form textarea.form-control {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}
.contact-page-form .form-control:focus {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(32, 72, 109, 0.1);
}
.contact-page-form .lab-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
}
.contact-page-map {
  margin-top: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.contact-page-map iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

@media (max-width: 991px) {
  .contact-page-section {
    padding: 54px 0;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-info,
  .contact-page-form-card {
    padding: 28px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .contact-page-form .lab-btn {
    width: 100%;
  }
  .contact-page-map iframe {
    min-height: 280px;
  }
}

/* About page */
.about-page-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.about-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: stretch;
}
.about-page-intro.is-copy-only {
  grid-template-columns: minmax(0, 1fr);
}
.about-page-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #eaf1f7;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.about-page-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.about-page-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.about-page-copy .archive-section-heading {
  margin-bottom: 18px;
}
.about-page-lead {
  margin: 0 0 16px;
  color: var(--brand-text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}
.about-page-desc {
  color: var(--brand-muted);
  line-height: 1.8;
}
.about-desc {
  color: var(--brand-muted);
  line-height: 1.8;
}
.about-desc > strong {
  display: block;
  margin: 1.15em 0 0.45em;
  color: var(--brand-text);
}
.about-desc > strong:first-child {
  margin-top: 0;
}
.about-page-desc p:last-child {
  margin-bottom: 0;
}
.about-desc ul,
.about-desc ol,
.about-page-desc ul,
.about-page-desc ol,
.about-page-values .alqotr-value-card ul,
.about-page-values .alqotr-value-card ol {
  margin: 0 0 1em;
  padding-left: 0;
  padding-right: 0;
  padding-inline-start: 1.2em;
  padding-inline-end: 0;
  list-style-position: outside;
}
.about-desc ul:last-child,
.about-desc ol:last-child {
  margin-bottom: 0;
}
.about-desc li,
.about-page-desc li,
.about-page-values .alqotr-value-card li {
  margin-bottom: 0.55em;
}
.about-desc li:last-child,
.about-page-desc li:last-child,
.about-page-values .alqotr-value-card li:last-child {
  margin-bottom: 0;
}
.about-section .about-right .section-wrapper ul li .sr-left {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  overflow: hidden;
}
.about-section .about-right .section-wrapper ul li .sr-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 100%;
}
@media (max-width: 575px) {
  .about-section .about-right .section-wrapper ul li .sr-left {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }
}
.about-page-copy .lab-btn {
  align-self: flex-start;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 26px;
  border-radius: 14px;
}
.about-page-values .alqotr-value-card > div {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}
.about-page-values .alqotr-value-icon img {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}
.about-page-newsletter .archive-help-card {
  align-items: center;
}
.about-page-newsletter .archive-help-card img {
  width: min(280px, 100%);
  border-radius: 18px;
  object-fit: cover;
}
.about-page-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about-page-newsletter-form input {
  flex: 1 1 220px;
  height: 52px;
  padding: 0 16px;
  color: var(--brand-text);
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  outline: none;
}
.about-page-newsletter-form input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(32, 72, 109, 0.1);
}
.about-page-newsletter-form .lab-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 14px;
}

@media (max-width: 991px) {
  .about-page-section {
    padding: 54px 0;
  }
  .about-page-intro {
    grid-template-columns: 1fr;
  }
  .about-page-media,
  .about-page-media img {
    min-height: 280px;
  }
  .about-page-copy {
    padding: 28px 22px;
  }
  .about-page-newsletter .archive-help-card img {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .about-page-copy .lab-btn,
  .about-page-newsletter-form .lab-btn {
    width: 100%;
  }
}

/* Shared inner-page hero (CMS pages, auth, cart, 404) */
.page-hero {
  padding: 188px 0 76px;
}
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 52px);
}

/* Custom CMS pages */
.custom-page-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.custom-page-card {
  padding: 40px 44px;
  color: var(--brand-muted);
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
  line-height: 1.85;
}
.custom-page-card > *:first-child {
  margin-top: 0;
}
.custom-page-card h1,
.custom-page-card h2,
.custom-page-card h3,
.custom-page-card h4,
.custom-page-card h5,
.custom-page-card h6 {
  margin: 1.35em 0 0.55em;
  color: var(--brand-text);
  line-height: 1.35;
}
.custom-page-card p {
  margin: 0 0 1em;
}
.custom-page-card p:last-of-type {
  margin-bottom: 0;
}
.custom-page-card ul,
.custom-page-card ol {
  margin: 0 0 1em;
  padding-inline-start: 1.2em;
}
.custom-page-card li {
  margin-bottom: 0.45em;
}
.custom-page-card a:not(.lab-btn) {
  color: var(--brand-primary);
}
.custom-page-card .lab-btn {
  margin-top: 28px;
}

@media (max-width: 991px) {
  .page-hero {
    padding: 160px 0 56px;
  }
  .custom-page-section {
    padding: 54px 0;
  }
  .custom-page-card {
    padding: 28px 22px;
  }
}

@media (max-width: 575px) {
  .custom-page-card .lab-btn {
    width: 100%;
  }
}

.internal-page .header-section:not(.header-fixed) .header-top,
.internal-page .header-section:not(.header-fixed) .header-bottom {
  background: rgba(8, 29, 47, 0.1);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  backdrop-filter: blur(6px) saturate(110%);
}
.internal-page .header-section:not(.header-fixed) .header-top-area,
.internal-page .header-section:not(.header-fixed) .header-top-area a,
.internal-page .header-section:not(.header-fixed) .header-top-area p,
.internal-page .header-section:not(.header-fixed) .header-top-area select,
.internal-page .header-section:not(.header-fixed) .menu > ul > li > a {
  color: rgba(255, 255, 255, 0.94);
}
.internal-page .header-section:not(.header-fixed) .header-top-area .nice-select .list,
.internal-page .header-section:not(.header-fixed) .header-top-area .nice-select .option {
  color: #13283d;
}
.internal-page .header-section:not(.header-fixed) .header-top-area i,
.internal-page .header-section:not(.header-fixed) .menu > ul > li > a.active,
.internal-page .header-section:not(.header-fixed) .menu > ul > li > a:hover {
  color: #f0bd4d;
}
.header-wrapper .logo .logo-light {
  display: none;
}

.internal-page .header-section:not(.header-fixed) .logo .logo-color,
.course-detail-page .header-section:not(.header-fixed) .logo .logo-color,
.course-archive-page .header-section:not(.header-fixed) .logo .logo-color,
.contact-page .header-section:not(.header-fixed) .logo .logo-color,
.about-page .header-section:not(.header-fixed) .logo .logo-color,
.blog-page .header-section:not(.header-fixed) .logo .logo-color,
body:has(.course-archive-hero) .header-section:not(.header-fixed) .logo .logo-color {
  display: none;
}

.internal-page .header-section:not(.header-fixed) .logo .logo-light,
.course-detail-page .header-section:not(.header-fixed) .logo .logo-light,
.course-archive-page .header-section:not(.header-fixed) .logo .logo-light,
.contact-page .header-section:not(.header-fixed) .logo .logo-light,
.about-page .header-section:not(.header-fixed) .logo .logo-light,
.blog-page .header-section:not(.header-fixed) .logo .logo-light,
body:has(.course-archive-hero) .header-section:not(.header-fixed) .logo .logo-light {
  display: block;
}
.internal-page .header-section:not(.header-fixed) .header-bar span {
  background: #ffffff;
}
.internal-page .header-section:not(.header-fixed) .ellepsis-bar i {
  color: #ffffff;
}

@media (max-width: 991px) {
  .internal-page .header-section:not(.header-fixed) .header-top-area,
  .internal-page .header-section:not(.header-fixed) .header-top-area a,
  .internal-page .header-section:not(.header-fixed) .header-top-area span,
  .internal-page .header-section:not(.header-fixed) .header-top-area p,
  .internal-page .header-section:not(.header-fixed) .header-top-area i,
  .course-archive-page .header-section:not(.header-fixed) .header-top-area a,
  .course-archive-page .header-section:not(.header-fixed) .header-top-area span,
  .contact-page .header-section:not(.header-fixed) .header-top-area a,
  .contact-page .header-section:not(.header-fixed) .header-top-area span,
  .about-page .header-section:not(.header-fixed) .header-top-area a,
  .about-page .header-section:not(.header-fixed) .header-top-area span,
  .blog-page .header-section:not(.header-fixed) .header-top-area a,
  .blog-page .header-section:not(.header-fixed) .header-top-area span {
    color: #fff;
  }
}

@media (min-width: 992px) {
  .header-section .menu-item-has-children > a::before,
  .header-section .menu-item-has-children > a::after {
    background-color: currentColor;
  }
}

/* Blog article */
.blog-details-hero h1,
.course-details-hero h1 {
  font-size: clamp(30px, 3.8vw, 48px);
}
.course-details-hero .course-archive-hero__eyebrow {
  color: #f0bd4d;
  text-decoration: none;
}
.course-details-hero .archive-breadcrumb span,
.blog-details-hero .archive-breadcrumb span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.blog-details-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.blog-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: start;
}
.blog-details-card {
  overflow: hidden;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.blog-details-card:last-child {
  margin-bottom: 0;
}
.blog-details-thumb img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.blog-details-body {
  padding: 36px 40px 40px;
  color: var(--brand-muted);
  line-height: 1.85;
}
.blog-details-body > *:first-child {
  margin-top: 0;
}
.blog-details-body h1,
.blog-details-body h2,
.blog-details-body h3,
.blog-details-body h4,
.blog-details-body h5,
.blog-details-body h6 {
  margin: 1.35em 0 0.55em;
  color: var(--brand-text);
  line-height: 1.35;
}
.blog-details-body p {
  margin: 0 0 1em;
}
.blog-details-body ul,
.blog-details-body ol {
  margin: 0 0 1em;
  padding-inline-start: 1.2em;
}
.blog-details-body a:not(.lab-btn) {
  color: var(--brand-primary);
}
.blog-details-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.blog-details-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--brand-border);
}
.blog-details-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--brand-text);
}
.blog-details-tags span {
  padding: 6px 12px;
  color: var(--brand-primary);
  background: #eaf1f7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.blog-details-author {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 32px;
}
.blog-details-author img {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
}
.blog-details-author span {
  display: block;
  margin-bottom: 6px;
  color: #f0bd4d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.blog-details-author h2 {
  margin: 0 0 8px;
  color: var(--brand-text);
  font-size: 22px;
}
.blog-details-author p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}
.blog-details-comments {
  padding: 32px;
}
.blog-details-comments > h2,
.blog-details-respond > h2 {
  margin: 0 0 18px;
  color: var(--brand-text);
  font-size: 22px;
}
.blog-details-comment {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}
.blog-details-comment:last-of-type {
  margin-bottom: 0;
}
.blog-details-comment img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
}
.blog-details-comment h3 {
  margin: 0 0 4px;
  color: var(--brand-text);
  font-size: 16px;
}
.blog-details-comment time {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-muted);
  font-size: 13px;
}
.blog-details-comment p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}
.blog-details-respond {
  margin-top: 28px;
}
.blog-details-respond > p {
  margin: 0 0 18px;
  color: var(--brand-muted);
}
.blog-details-form .form-group {
  margin-bottom: 16px;
}
.blog-details-form .form-control {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  color: var(--brand-text);
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  box-shadow: none;
  outline: none;
  resize: vertical;
}
.blog-details-form .form-control:focus {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(32, 72, 109, 0.1);
}
.blog-details-form .lab-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 14px;
}
.blog-details-login-note {
  margin: 0;
  padding: 16px 18px;
  color: var(--brand-primary);
  background: #eaf1f7;
  border-radius: 14px;
  font-weight: 700;
}
.blog-page .widget-area .widget {
  padding: 24px;
  margin: 0 0 18px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.blog-page .widget-area .widget:last-child {
  margin-bottom: 0;
}
.blog-page .widget-area .widget-title {
  margin: 0 0 16px;
  color: var(--brand-text);
  font-size: 18px;
  line-height: 1.3;
}
.blog-page .widget_search .search-wrapper {
  gap: 8px;
}
.blog-page .widget_search .search-wrapper input {
  height: 48px;
  border-color: var(--brand-border);
  border-radius: 12px;
  background: #f8fafc;
}
.blog-page .widget_search .search-wrapper input:focus {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(32, 72, 109, 0.1);
}
.blog-page .widget_search .search-wrapper button {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: 12px;
}
.blog-page .widget-category .widget-wrapper li {
  margin: 0;
}
.blog-page .widget-category .widget-wrapper li a {
  display: block;
  padding: 10px 0;
  color: var(--brand-muted);
  border-bottom: 1px solid var(--brand-border);
}
.blog-page .widget-category .widget-wrapper li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}
.blog-page .widget-category .widget-wrapper li a:hover,
.blog-page .widget-category .widget-wrapper li a.is-active {
  color: var(--brand-primary);
}
.blog-page .widget-post .widget-wrapper li {
  align-items: flex-start;
  margin: 0 0 14px;
}
.blog-page .widget-post .widget-wrapper li:last-child {
  margin-bottom: 0;
}
.blog-page .widget-post .widget-wrapper li img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}
.blog-page .widget-post .widget-wrapper li a {
  color: var(--brand-text);
  font-weight: 700;
  line-height: 1.45;
}
.blog-page .widget-post .widget-wrapper li a:hover {
  color: var(--brand-primary);
}
.blog-page .widget-post .widget-wrapper li .small {
  color: var(--brand-muted);
}

.blog-listing-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.blog-listing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.blog-listing-card__media {
  display: block;
  overflow: hidden;
  background: var(--brand-primary-deep);
}
.blog-listing-card__media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-listing-card:hover .blog-listing-card__media img {
  transform: scale(1.04);
}
.blog-listing-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.blog-listing-card__category {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 12px;
  color: var(--brand-primary);
  background: #eaf1f7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.blog-listing-card__category:hover,
.blog-listing-card__category:visited {
  color: var(--brand-primary);
}
.blog-listing-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
}
.blog-listing-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--brand-text);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-listing-card h2 a:hover {
  color: var(--brand-primary);
}
.blog-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: auto;
  color: var(--brand-muted);
  font-size: 13px;
}
.blog-listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-listing-card__meta i {
  margin: 0;
  color: var(--brand-primary);
}
.blog-listing-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
}
.blog-listing-card__read:hover {
  color: var(--brand-primary-dark);
}
.blog-listing-section .pagination-wrap {
  margin-top: 28px;
}

/* Course details */
.course-details-section {
  padding: 76px 0;
  background: var(--brand-page);
}
.course-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}
.course-details-sidebar {
  position: sticky;
  top: 150px;
  z-index: 1;
}
.course-details-section .course-content-sidebar,
.course-details-sidebar .course-purchase-card {
  width: 100%;
  margin: 0;
  padding: 0;
}
.course-details-sidebar .course-purchase-card {
  position: static;
  margin-bottom: 18px;
  border: 1px solid var(--brand-border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 42, 64, 0.08);
}
.course-details-card .course-tabs {
  padding: 16px 16px 0;
}
.course-details-card .course-tabs__list {
  margin-bottom: 0;
}
.course-details-card .course-tabs__button.active,
.course-details-card .course-tabs__button[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, #173a59, #24577e);
  border-color: #173a59;
  box-shadow: 0 9px 20px rgba(23, 58, 89, 0.2);
}
.course-details-card .course-tabs__button.active > i,
.course-details-card .course-tabs__button[aria-selected="true"] > i {
  color: #f2b632;
}
.course-details-body {
  padding: 24px 32px 36px;
  color: var(--brand-muted);
  line-height: 1.85;
}
.course-details-body > *:first-child,
.course-details-body .tab-pane > *:first-child {
  margin-top: 0;
}
.course-details-body h2,
.course-details-body h3,
.course-details-body h4 {
  margin: 1.35em 0 0.55em;
  color: var(--brand-text);
  line-height: 1.35;
}
.course-details-body p {
  margin: 0 0 1em;
}
.course-details-body ul,
.course-details-body ol {
  margin: 0 0 1em;
  padding-inline-start: 1.2em;
}
.course-details-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.course-details-agenda .accordion-item {
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
}
.course-details-agenda .accordion-item:last-child {
  margin-bottom: 0;
}
.course-details-agenda .accordion-button {
  color: var(--brand-text);
  background: #f8fafc;
  box-shadow: none;
  font-weight: 700;
}
.course-details-agenda .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--brand-primary);
}
.course-details-agenda .accordion-button:focus {
  box-shadow: none;
  border-color: var(--brand-border);
}
.course-details-agenda .accordion-body li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--brand-text);
}
.course-details-agenda .accordion-body li:last-child {
  margin-bottom: 0;
}
.course-details-agenda .accordion-body i {
  color: var(--brand-primary);
}
.course-details-agenda .icofont-lock {
  margin-inline-start: auto;
  color: var(--brand-muted);
}
.course-details-review {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}
.course-details-review:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.course-details-review h3 {
  margin: 0 0 6px;
  color: var(--brand-text);
  font-size: 16px;
}
.course-details-review__stars {
  margin-bottom: 8px;
  color: #f0bd4d;
}
.course-details-review p {
  margin: 0;
}
.course-details-share-card {
  padding: 24px;
}
.course-details-share-card h5 {
  margin: 0 0 14px;
  color: var(--brand-text);
  font-size: 18px;
}
.course-details-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
}
.course-details-sidebar .course-state-panel {
  margin: 12px 18px 0;
  padding: 16px 18px;
  box-shadow: none;
}
.course-details-sidebar .course-state-panel h5 {
  margin: 0 0 6px;
  color: var(--brand-text);
  font-size: 16px;
}
.course-details-sidebar .course-state-panel p {
  margin: 0;
  color: var(--brand-muted);
}

@media (max-width: 991px) {
  .blog-details-section,
  .blog-listing-section,
  .course-details-section {
    padding: 54px 0;
  }
  .blog-details-grid,
  .course-details-grid {
    grid-template-columns: 1fr;
  }
  .course-details-sidebar {
    position: static;
  }
  .course-details-body {
    padding: 18px 20px 28px;
  }
  .course-details-card .course-tabs {
    padding: 12px 12px 0;
  }
  .blog-details-body {
    padding: 24px 22px 28px;
  }
  .blog-details-author,
  .blog-details-comments {
    padding: 24px 22px;
  }
}

@media (max-width: 767px) {
  .blog-listing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .blog-details-author {
    flex-direction: column;
  }
  .blog-details-form .lab-btn {
    width: 100%;
  }
}

