/*--------------------------------------------------------------
# IISPL additions for the CoreBiz theme
# Every colour/font comes from the theme variables in main.css
--------------------------------------------------------------*/

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--accent-color);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* Header logo image */
.header .logo img {
  max-height: 48px;
  margin-right: 0;
}

@media (max-width: 575px) {
  .header .logo img {
    max-height: 38px;
  }
}

/* Hero */
.hero .hero-content .content h1 .accent {
  color: var(--accent-color);
}

.hero .hero-content .hero-image img {
  border-radius: 0;
  box-shadow: none;
}

.hero .hero-features a.feature-item,
.hero .hero-features a.feature-item:hover {
  color: inherit;
}

/* Institution ERP section (uses the theme "about" layout) */
.about.light-background .image-container.erp-visual {
  min-height: 0;
  background: var(--surface-color);
  border-radius: 8px;
  padding: 30px 30px 110px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .image-container.erp-visual img {
  object-fit: contain;
  height: auto;
}

.about .content .erp-modules {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.about .content .erp-modules li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.about .content .erp-modules li i {
  color: var(--accent-color);
  font-size: 1.05rem;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .about .content .erp-modules {
    grid-template-columns: 1fr;
  }
}

/* E-Learning tabs */
.elearning .elearning-tabs {
  border: 0;
  margin-bottom: 40px;
}

.elearning .elearning-tabs .nav-link {
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  background: var(--surface-color);
  color: var(--heading-color);
  padding: 20px 10px;
  text-align: center;
  transition: 0.3s;
}

.elearning .elearning-tabs .nav-link i {
  font-size: 1.8rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}

.elearning .elearning-tabs .nav-link h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}

.elearning .elearning-tabs .nav-link:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.elearning .elearning-tabs .nav-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.elearning .elearning-tabs .nav-link.active i {
  color: var(--contrast-color);
}

.elearning .elearning-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.elearning .elearning-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.elearning .elearning-content ul li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  line-height: 1.6;
}

.elearning .elearning-content ul li i {
  color: var(--accent-color);
  line-height: 1.6;
}

.elearning .elearning-content .tab-img {
  max-height: 300px;
  object-fit: contain;
}

.elearning .btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.elearning .btn-learn:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  color: var(--contrast-color);
}

.elearning .btn-learn i {
  transition: transform 0.3s;
}

.elearning .btn-learn:hover i {
  transform: translateX(4px);
}

/* Expert card */
.team .member-bio a {
  font-weight: 500;
}

/* Contact form extras */
.contact .hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .contact-form {
  position: relative;
}

.contact .form-flash {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
}

.contact .form-flash.ok {
  background: #059652;
}

.contact .form-flash.err {
  background: #df1529;
}

.contact .contact-details a {
  color: inherit;
}

/* Footer logo */
.footer .footer-logo img {
  max-height: 52px;
}

.footer .credits {
  font-size: 13px;
  padding-top: 4px;
}

/* Launch Notice window */
#launchNotice .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

#launchNotice .modal-header {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-bottom: 0;
  padding: 16px 22px;
}

#launchNotice .modal-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 20px;
  color: var(--contrast-color);
}

#launchNotice .modal-title i {
  margin-right: 8px;
}

#launchNotice .notice-tag {
  display: inline-block;
  background: var(--contrast-color);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

#launchNotice .modal-body {
  padding: 22px;
  font-family: var(--default-font);
  color: var(--default-color);
  line-height: 1.7;
}

#launchNotice .notice-lead {
  font-size: 16px;
  margin-bottom: 16px;
}

#launchNotice .panel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  color: var(--default-color);
  transition: 0.3s;
}

#launchNotice .panel-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#launchNotice .panel-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

#launchNotice .panel-card h5 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 2px;
  color: var(--heading-color);
}

#launchNotice .panel-card span {
  font-size: 13px;
  color: var(--accent-color);
  word-break: break-all;
}

#launchNotice .cert-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  border-left: 4px solid var(--accent-color);
}

#launchNotice .cert-box h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--heading-color);
}

#launchNotice .badge-soon,
#launchNotice .badge-free {
  white-space: nowrap;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  vertical-align: middle;
}

#launchNotice .badge-soon {
  background: #ffc107;
  color: #222222;
  margin-left: 6px;
}

#launchNotice .badge-free {
  background: var(--accent-color);
  color: var(--contrast-color);
  margin-left: 4px;
}

#launchNotice .mission {
  margin: 16px 0 0;
  font-style: italic;
}

#launchNotice .mission i {
  color: var(--accent-color);
  margin-right: 6px;
}

#launchNotice .modal-footer {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 12px 22px;
}

#launchNotice .btn-notice {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600;
}

#launchNotice .btn-notice:hover {
  opacity: 0.9;
  color: var(--contrast-color);
}

/* Footer contact link: keep normal text size (theme styles .footer-about a as the site name) */
.footer .footer-about .footer-contact a {
  display: inline;
  font-size: inherit;
  font-weight: 500;
  font-family: var(--default-font);
  color: var(--accent-color);
  letter-spacing: normal;
}

@media (max-width: 991px) {
  .elearning .elearning-content .tab-img {
    max-height: 180px;
  }
}

/* Expert profile (wide card) */
.team .expert-card {
  text-align: left;
}

.team .expert-card .member-image-wrapper {
  height: 100%;
}

.team .expert-card .member-image-wrapper img {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

.team .expert-card .member-content {
  padding: 36px 40px;
  height: 100%;
}

.team .expert-card .member-name {
  font-size: 1.6rem;
}

.team .expert-card .member-role {
  margin-bottom: 0.4rem;
}

.team .expert-card .expert-title {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1.25rem;
}

.team .expert-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team .expert-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--default-color);
}

.team .expert-stats strong,
.team .expert-stats i {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-color);
  flex-shrink: 0;
}

.team .expert-card .member-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  margin-bottom: 1.25rem;
  flex-grow: 0;
}

@media (min-width: 1200px) {
  .team .expert-card .member-bio {
    text-align: justify;
  }
}

.team .expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.team .expert-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--accent-color);
}

.team .expert-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.team .expert-footer .member-socials {
  margin: 0;
  padding: 0;
  border: 0;
}

.team .expert-research {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.team .expert-research i {
  font-size: 1.5rem;
}

.team .expert-research small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

@media (max-width: 575px) {
  .team .expert-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .team .expert-card .member-image-wrapper img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .team .expert-card .member-content {
    padding: 24px 20px;
  }
}

/* Expert: books */
.team .expert-books {
  margin-bottom: 1.5rem;
}

.team .expert-books h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team .expert-books h5 i {
  color: var(--accent-color);
}

.team .book-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  background: var(--surface-color);
  transition: 0.3s;
}

.team .book-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--default-color), transparent 88%);
  transform: translateY(-2px);
}

.team .book-card .book-title {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--heading-color);
}

.team .book-card .book-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-color);
}
