/* Testimonial + Counter Section */
.tc-sec {
  --tc-accent: var(--primary);
  position: relative;
  padding-bottom: 100px;
}

.tc-banner {
  position: relative;
  padding: 100px 0 190px;
  background-size: cover;
  background-position: center;
}

.tc-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 14, 40, 0.72);
}

.tc-banner .container {
  position: relative;
  z-index: 1;
}

.tc-banner .sub-title {
  color: var(--secondary);
}

.tc-banner .sec-title {
  color: #fff;
  margin-bottom: 0;
}

.tc-row {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

.tc-row > div {
  display: flex;
}

.tc-counters,
.tc-box {
  width: 100%;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tc-counters {
  background-color: #fff;
}

.tc-counter {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tc-counter:first-child {
  padding-top: 0;
}

.tc-counter:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tc-counter .tc-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f4f6f5;
}

.tc-counter .tc-icon img {
  max-width: 36px;
  max-height: 36px;
}

.tc-counter .tc-icon i {
  font-size: 28px;
  color: var(--primary);
}

/* Home hero: ISBTI slider images (light illustrations, dark text) */
.isbt-hero .slide-entry {
  background-position: right center;
}

.isbt-hero .slide-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0) 65%);
}

.isbt-hero .slide-entry .slide-content {
  position: relative;
  z-index: 1;
}

.isbt-hero .slide-entry .slide-content {
  max-width: 600px;
}

.isbt-hero .slide-entry .slide-content h1 {
  color: var(--headings-color);
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 30px;
}

@media (max-width: 1199.98px) {
  .isbt-hero .slide-entry .slide-content h1 {
    font-size: 44px;
  }
}

@media (max-width: 767.98px) {
  .isbt-hero .slide-entry .slide-content h1 {
    font-size: 32px;
  }
}

.isbt-hero .slide-title .text-secondary {
  color: var(--secondary) !important;
}

.isbt-hero .swiper-pagination-bullet {
  border-color: rgba(var(--primary-rgb), 0.45);
}

@media (max-width: 991.98px) {
  .isbt-hero .slide-entry::before {
    background: rgba(255, 255, 255, 0.75);
  }
}

@media (max-width: 767.98px) {
  .isbt-hero .swiper-pagination {
    display: none;
  }
}

/* Sub-title side lines (CSS instead of template arrow images) */
.sub-title::before,
.sub-title::after {
  background: linear-gradient(90deg, transparent, var(--secondary)) center / 100% 2px no-repeat;
}

.sub-title::after {
  background: linear-gradient(90deg, var(--secondary), transparent) center / 100% 2px no-repeat;
}

/* 404 page */
.error-code {
  font-family: var(--font-family-headings, "Onest", sans-serif);
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

@media (max-width: 575.98px) {
  .error-code {
    font-size: 100px;
  }
}

.tc-counter h3 {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
}

.tc-counter p {
  margin: 0;
  color: var(--tc-accent);
  font-weight: 600;
}

.tc-box {
  background-color: var(--tc-accent);
  color: #fff;
  overflow: hidden;
}

.tc-box .tc-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--secondary);
  margin-bottom: 25px;
}

.tc-box .tc-slider {
  width: 100%;
}

.tc-box .tc-message {
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.tc-box .tc-name {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.tc-box .tc-name::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background-color: var(--secondary);
}

.tc-box .tc-pagination {
  position: static;
  margin-top: 30px;
  text-align: left;
}

.tc-box .tc-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.4;
}

.tc-box .tc-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary);
}

/* Blog Section */
.isbt-blog-sec .sec-title {
  margin-bottom: 50px;
}

.isbt-blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.isbt-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.isbt-blog-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.isbt-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.isbt-blog-card:hover .isbt-blog-thumb img {
  transform: scale(1.06);
}

.isbt-blog-body {
  flex: 1;
  padding: 30px;
}

.isbt-blog-body h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.isbt-blog-body h3 a {
  color: var(--headings-color);
  transition: color 0.3s ease;
}

.isbt-blog-body h3 a:hover {
  color: var(--primary);
}

.isbt-blog-body p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Text Editor Content */
.isbt-content {
  font-size: 17px;
  line-height: 1.8;
}

.isbt-content > *:last-child {
  margin-bottom: 0;
}

.isbt-content .lead {
  font-size: 21px;
  line-height: 1.7;
  color: var(--headings-color);
  padding-left: 20px;
  border-left: 4px solid var(--secondary);
  margin-bottom: 40px;
}

.isbt-content h3 {
  font-size: 26px;
  line-height: 1.4;
  margin: 45px 0 18px;
}

.isbt-content p {
  margin-bottom: 18px;
}

.isbt-content h1,
.isbt-content h2 {
  font-size: 30px;
  line-height: 1.35;
  margin: 45px 0 20px;
}

.isbt-content h4 {
  font-size: 22px;
  line-height: 1.4;
  margin: 35px 0 15px;
}

.isbt-content h1 strong,
.isbt-content h2 strong,
.isbt-content h3 strong,
.isbt-content h4 strong {
  font-weight: inherit;
}

.isbt-content h2[align="center"],
.isbt-content h1[align="center"] {
  font-size: 34px;
  text-align: center;
  margin: 0 0 10px;
}

.isbt-content h2[align="center"] em,
.isbt-content h1[align="center"] em {
  display: inline-block;
  margin-top: 4px;
  font-size: 26px;
  color: var(--secondary);
}

.isbt-content h2[align="center"] + h2:not([align="center"]),
.isbt-content h1[align="center"] + h2:not([align="center"]) {
  margin-top: 50px;
}

.isbt-content blockquote {
  position: relative;
  padding: 24px 28px;
  margin: 0 0 30px;
  border-radius: 14px;
  border-left: 4px solid var(--secondary);
  background-color: #f8faf9;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-color);
}

.isbt-content blockquote::before {
  display: none;
}

.isbt-content blockquote > div {
  margin-bottom: 10px;
}

.isbt-content blockquote > *:last-child {
  margin-bottom: 0;
}

.isbt-content blockquote ul {
  margin: 8px 0 14px;
}

.isbt-content a:not(.btn) {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.isbt-content ol,
.isbt-content ul {
  padding-left: 22px;
  margin-bottom: 22px;
}

.isbt-content li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.isbt-content li::marker {
  color: var(--primary);
  font-weight: 700;
}

.isbt-highlight {
  height: 100%;
  margin: 0;
  padding: 30px;
  border-radius: 16px;
  background-color: var(--primary);
}

.isbt-highlight::before {
  display: none;
}

.isbt-highlight h4 {
  color: var(--secondary);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.isbt-highlight p {
  color: #fff;
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 575.98px) {
  .isbt-content {
    font-size: 16px;
  }

  .isbt-content .lead {
    font-size: 18px;
  }

  .isbt-content h3 {
    font-size: 22px;
  }

  .isbt-content h1,
  .isbt-content h2 {
    font-size: 24px;
    margin-top: 35px;
  }

  .isbt-content h2[align="center"],
  .isbt-content h1[align="center"] {
    font-size: 26px;
  }

  .isbt-content h2[align="center"] em,
  .isbt-content h1[align="center"] em {
    font-size: 21px;
  }

  .isbt-content blockquote {
    padding: 18px 18px;
  }
}

/* Governing Body */
.gb-sec .team-wrap > div {
  display: flex;
}

.gb-card {
  --gb-bg: #FDF8EA;
  --gb-hover: #c6a343;
  width: 100%;
  padding: 30px 20px;
}

.gb-sec .team-wrap > div:nth-child(4n+1) .gb-card { --gb-bg: #FDF8EA; --gb-hover: #c6a343; }
.gb-sec .team-wrap > div:nth-child(4n+2) .gb-card { --gb-bg: #ddffe8; --gb-hover: #36b25e; }
.gb-sec .team-wrap > div:nth-child(4n+3) .gb-card { --gb-bg: #fde8c5; --gb-hover: #ce9944; }
.gb-sec .team-wrap > div:nth-child(4n+4) .gb-card { --gb-bg: #eaecff; --gb-hover: #3b438c; }

.gb-sec .team-wrap > div:nth-child(n) .gb-card::before {
  background: var(--gb-bg);
}

.gb-sec .team-wrap > div:nth-child(n) .gb-card:hover::before {
  background: var(--gb-hover);
}

.gb-card .team-thumb img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
}

.gb-card .team-txt {
  padding-top: 20px;
}

.gb-designation {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 30px;
  background-color: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s ease-in-out;
}

.gb-card .team-txt h3 {
  margin: 14px 0 4px;
  transition: color 0.4s ease-in-out;
}

.gb-quick {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}

.gb-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-size: 14px;
  color: var(--headings-color);
  word-break: break-all;
  transition: color 0.4s ease-in-out;
}

.gb-email i {
  color: var(--primary);
  transition: color 0.4s ease-in-out;
}

.gb-card:hover .team-txt h3,
.gb-card:hover .gb-quick,
.gb-card:hover .gb-email,
.gb-card:hover .gb-email i {
  color: #fff;
}

.gb-card:hover .gb-designation {
  background-color: #fff;
  color: var(--headings-color);
}

/* Meeting Minutes Tables */
.mt-block + .mt-block {
  margin-top: 90px;
}

.mt-table-wrap {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.mt-table {
  min-width: 720px;
  vertical-align: middle;
}

.mt-table thead th {
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-family-headings, "Onest", sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 20px 24px;
  border: 0;
  white-space: nowrap;
}

.mt-table tbody td {
  padding: 18px 24px;
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--headings-color);
  font-size: 16px;
}

.mt-table tbody tr:nth-child(even) td {
  background-color: #f8faf9;
}

.mt-table tbody tr:hover td {
  background-color: #eaf1f8;
}

.mt-table tbody tr:last-child td {
  border-bottom: 0;
}

.mt-table th:first-child,
.mt-table td:first-child {
  width: 100px;
  text-align: center;
  font-weight: 700;
}

.mt-table td:nth-child(2) {
  font-weight: 600;
}

.mt-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mt-date i {
  color: var(--secondary);
}

.mt-link,
.mt-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mt-link {
  color: var(--primary);
  border: 1px solid var(--primary);
}

.mt-link:hover {
  background-color: var(--primary);
  color: #fff;
}

.mt-file {
  background-color: var(--secondary);
  color: var(--headings-color);
}

.mt-file:hover {
  background-color: var(--primary);
  color: #fff;
}

.mt-table .mt-empty td {
  text-align: center;
  padding: 40px 24px;
  color: #888;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .mt-block + .mt-block {
    margin-top: 60px;
  }

  .mt-table-wrap {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .mt-table {
    min-width: 0;
  }

  .mt-table thead {
    display: none;
  }

  .mt-table,
  .mt-table tbody,
  .mt-table tr,
  .mt-table td {
    display: block;
    width: 100%;
  }

  .mt-table tbody tr {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }

  .mt-table tbody tr td,
  .mt-table tbody tr:nth-child(even) td,
  .mt-table tbody tr:hover td {
    background-color: transparent;
  }

  .mt-table tbody td,
  .mt-table td:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 14px 20px;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mt-table tbody td::before {
    content: attr(data-label);
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
  }

  .mt-table tbody tr td:first-child,
  .mt-table tbody tr:nth-child(even) td:first-child,
  .mt-table tbody tr:hover td:first-child {
    background-color: var(--primary);
    color: #fff;
  }

  .mt-table tbody td:first-child::before {
    color: #fff;
  }

  .mt-table .mt-empty td {
    justify-content: center;
  }

  .mt-table .mt-empty td::before {
    display: none;
  }
}

/* Event Table */
.mt-table.ev-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.mt-table.ev-table thead th,
.mt-table.ev-table tbody td {
  padding: 16px 12px;
  vertical-align: middle;
}

.mt-table.ev-table thead th {
  white-space: normal;
  font-size: 14px;
}

.mt-table.ev-table tbody td {
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.mt-table.ev-table th:first-child,
.mt-table.ev-table td:first-child {
  width: auto;
}

.ev-table-main th:nth-child(1) { width: 7%; }
.ev-table-main th:nth-child(2) { width: 11%; }
.ev-table-main th:nth-child(3) { width: 15%; }
.ev-table-main th:nth-child(4) { width: 26%; }
.ev-table-main th:nth-child(5) { width: 13%; }
.ev-table-main th:nth-child(6) { width: 18%; }
.ev-table-main th:nth-child(7) { width: 10%; }

.ev-table-reg th:nth-child(1) { width: 7%; }
.ev-table-reg th:nth-child(2) { width: 11%; }
.ev-table-reg th:nth-child(3) { width: 12%; }
.ev-table-reg th:nth-child(4) { width: 22%; }
.ev-table-reg th:nth-child(5) { width: 18%; }
.ev-table-reg th:nth-child(6) { width: 11%; }
.ev-table-reg th:nth-child(7) { width: 10%; }
.ev-table-reg th:nth-child(8) { width: 9%; }

.ev-table .mt-badge {
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

.ev-empty {
  color: #b0b5bb;
}

.ev-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 8px 10px;
  border-radius: 12px;
  background-color: #fdeceb;
  border: 1px solid rgba(var(--secondary-rgb), 0.35);
  line-height: 1.1;
}

.ev-date strong {
  font-family: var(--font-family-headings, "Onest", sans-serif);
  font-size: 24px;
  color: var(--primary);
}

.ev-date small {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--headings-color);
}

.ev-city {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}

.ev-city i {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--secondary);
}

.ev-table-main td:nth-child(6) {
  color: #666;
}

.ev-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ev-status-upcoming {
  background-color: var(--secondary);
  color: var(--headings-color);
}

.ev-status-done {
  background-color: #eef0f2;
  color: #5f6b76;
}

@media (max-width: 1199.98px) {
  .mt-table-wrap.ev-table-wrap {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .mt-table.ev-table,
  .mt-table.ev-table tbody,
  .mt-table.ev-table tr,
  .mt-table.ev-table td {
    display: block;
    width: 100%;
  }

  .mt-table.ev-table thead {
    display: none;
  }

  .mt-table.ev-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .mt-table.ev-table tbody tr {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }

  .mt-table.ev-table tbody tr td,
  .mt-table.ev-table tbody tr:nth-child(even) td,
  .mt-table.ev-table tbody tr:hover td {
    background-color: transparent;
  }

  .mt-table.ev-table tbody td,
  .mt-table.ev-table tbody tr:last-child td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 13px 20px;
    text-align: right;
    font-weight: 400;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mt-table.ev-table tbody td:last-child {
    border-bottom: 0;
  }

  .mt-table.ev-table tbody td::before {
    content: attr(data-label);
    flex-shrink: 0;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
  }

  .mt-table.ev-table tbody tr td:first-child,
  .mt-table.ev-table tbody tr:nth-child(even) td:first-child,
  .mt-table.ev-table tbody tr:hover td:first-child {
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
  }

  .mt-table.ev-table tbody td:first-child::before {
    color: #fff;
  }

  .ev-city {
    justify-content: flex-end;
  }

  .ev-date {
    flex-direction: row;
    gap: 6px;
    min-width: 0;
    padding: 6px 12px;
  }

  .ev-date strong {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .mt-table.ev-table tbody {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* Resources Table */
.rs-table {
  min-width: 560px;
}

.rs-table th:last-child,
.rs-table td:last-child {
  width: 180px;
  text-align: center;
}

.rs-topic {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.rs-topic i {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  background-color: #fdece6;
  color: #d24726;
}

.rs-files {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .rs-table {
    min-width: 0;
  }

  .rs-files {
    align-items: flex-end;
  }

  .rs-table td:last-child {
    width: 100%;
  }

  .rs-topic {
    text-align: left;
  }

  .rs-topic i {
    display: none;
  }
}

/* Forms (shared) */
.isbt-filter,
.isbt-form-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.isbt-filter {
  padding: 30px;
  margin-bottom: 30px;
  border-top: 4px solid var(--primary);
}

.isbt-filter .form-label,
.isbt-form .form-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--headings-color);
  margin-bottom: 8px;
}

.isbt-filter .form-control,
.isbt-filter .form-select,
.isbt-form .form-control,
.isbt-form .form-select {
  height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #e3e7e6;
  background-color: #f8faf9;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.isbt-form textarea.form-control {
  height: auto;
  padding: 15px 18px;
}

.isbt-form input[type="file"].form-control {
  padding: 13px 18px;
}

.isbt-filter .form-control:focus,
.isbt-filter .form-select:focus,
.isbt-form .form-control:focus,
.isbt-form .form-select:focus {
  border-color: var(--primary);
  background-color: #fff;
}

.isbt-filter .btn {
  height: 54px;
  justify-content: center;
}

.mt-result-info {
  margin-bottom: 15px;
  color: var(--headings-color);
}

.mt-result-info strong {
  color: var(--primary);
}

.mt-result-count {
  margin-left: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
}

.member-results {
  transition: opacity 0.2s ease;
}

.member-results.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.mt-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background-color: #eaf1f8;
  color: var(--primary);
}

.isbt-form-card {
  padding: 50px;
}

.isbt-form-title {
  font-size: 28px;
  margin-bottom: 25px;
}

.isbt-info-card {
  height: 100%;
  padding: 40px 35px;
  border-radius: 20px;
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}

.isbt-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 25px;
  font-size: 28px;
  background-color: var(--secondary);
  color: var(--headings-color);
}

.isbt-info-card h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 15px;
}

.isbt-info-card ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.isbt-info-card li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.isbt-info-card li i {
  color: var(--secondary);
  margin-top: 5px;
}

.isbt-info-contact {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.isbt-info-contact small {
  display: block;
  margin-bottom: 6px;
}

.isbt-info-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  word-break: break-all;
}

.m-inf-item .icon-lg i {
  font-size: 32px;
  color: var(--primary);
}

.isbt-alert {
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
}

.isbt-alert-success {
  background-color: #e3f6ea;
  color: #1e7a43;
}

.isbt-alert-error {
  background-color: #fdeaea;
  color: #b42318;
}

.cert-result {
  margin-top: 35px;
  padding: 30px;
  border-radius: 16px;
  border: 2px dashed var(--secondary);
  background-color: #fdeceb;
}

.cert-result-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.cert-result-head i {
  font-size: 40px;
  color: var(--secondary);
}

.cert-result-head small {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-result-head h4 {
  margin: 4px 0 0;
}

.cert-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.cert-meta li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cert-meta li span {
  color: #666;
}

.cert-result .btn {
  justify-content: center;
}

@media (max-width: 575.98px) {
  .isbt-filter,
  .isbt-form-card {
    padding: 25px 20px;
  }

  .isbt-form-title {
    font-size: 23px;
  }
}

@media (max-width: 991.98px) {
  .tc-banner {
    padding: 80px 0 160px;
  }

  .tc-counters,
  .tc-box {
    padding: 40px 30px;
  }
}

@media (max-width: 575.98px) {
  .tc-counter h3 {
    font-size: 36px;
  }

  .tc-box .tc-message {
    font-size: 17px;
  }
}

/* News & Update */
.isbt-news-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(2, 14, 40, 0.08);
  padding: 30px;
  height: 380px;
  overflow: hidden;
}

.isbt-news-box marquee {
  height: 320px;
}

.isbt-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.isbt-news-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(2, 14, 40, 0.12);
}

.isbt-news-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-size: 20px;
}

.isbt-news-content span {
  display: block;
  font-size: 14px;
  opacity: 0.7;
}

.isbt-news-content h4 {
  margin: 0;
  font-size: 18px;
}

.isbt-news-content h4 a {
  color: inherit;
}

.isbt-news-content h4 a:hover {
  color: var(--secondary);
}

/* Home: Chairman's Desk photo */
.about-sec4 .chairman-photo {
  margin: 20px 28px 28px 0;
}

.about-sec4 .chairman-photo::before {
  width: 100%;
  height: 100%;
  left: 24px;
  top: 24px;
}

.about-sec4 .chairman-photo img {
  display: block;
  width: 100%;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767.98px) {
  .about-sec4 .chairman-photo {
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* Site Logo / Header / Footer */
.site-logo {
  width: auto;
  max-width: 100%;
  max-height: 60px;
}

.canvas-menu .site-logo,
.offcanvas-nav .site-logo {
  max-height: 48px;
}

.navbar .navbar-brand img.site-logo {
  max-width: 300px;
}

@media (max-width: 575.98px) {
  .site-logo {
    max-height: 44px;
  }

  .header .navbar .logo .site-logo,
  .header .navbar-brand img.site-logo {
    max-width: calc(100vw - 150px);
  }

  .navbar .navbar-brand img.site-logo {
    max-width: 220px;
  }
}

/* Home header: compact email + single-line menu */
.header.header-2 .navbar-brand img.site-logo {
  max-height: 52px;
  max-width: 260px;
}

.header.header-2 .nav-cta {
  margin-left: 30px;
}

.header.header-2 .nav-cta::before {
  left: -15px;
}

.header.header-2 .nav-cta .d-flex {
  gap: 20px;
}

.header.header-2 .quick-call .icon-lg {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.header.header-2 .quick-call i {
  font-size: 18px;
}

.header.header-2 .quick-call small {
  font-size: 13px;
  line-height: 1.2;
}

.header.header-2 .nav-cta .d-flex .quick-call a {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.header .navbar .navbar-nav > li a.nav-link {
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .header.header-2 .navbar .navbar-nav > li a.nav-link {
    padding-left: 13px;
    padding-right: 13px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .header.header-2 .quick-call {
    display: none !important;
  }
}

/* Inner header: ISBTI logo on a white card instead of the template shape */
.header.header-1 .header-top::before {
  display: none;
}

.header.header-1 .logo-card {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.header.header-1 .logo-card .site-logo {
  max-height: 56px;
}

@media (min-width: 1200px) {
  .header.header-1 .header-top {
    padding: 10px 0 45px;
  }

  .header.header-1 .header-top .row {
    align-items: center !important;
  }
}

@media (max-width: 1199.98px) {
  .header.header-1 nav.navbar .logo .site-logo {
    max-height: 46px;
  }
}

.f-logo-box {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background-color: #fff;
}

.header-socials a {
  white-space: nowrap;
}

.header.header-2 .header-top .header-socials a {
  color: var(--white);
}

.header.header-2 .header-top .header-socials a:hover {
  color: var(--white);
  opacity: 0.8;
}

.canvas-contact a {
  word-break: break-all;
}

.footer.bg-cover {
  background-blend-mode: soft-light;
}

.footer-bottom {
  padding: 15px 0;
}

.footer-bottom.bg-primary .copy-right a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom.bg-primary .copy-right a:hover {
  opacity: 0.8;
}

.footer-address {
  font-size: 16px;
  line-height: 1.5;
}

.footer-top .subs-widget {
  text-align: right;
}

@media (max-width: 767.98px) {
  .footer-top .subs-widget {
    text-align: left;
  }
}

/* =================================
   Gallery
================================= */
.gf-filter {
  margin-bottom: 50px;
}

.gf-filter .nav {
  gap: 12px;
}

.gf-filter .nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 30px;
  background-color: var(--shade);
  color: var(--headings-color);
  font-weight: 600;
  text-transform: capitalize;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gf-filter .nav .nav-link.selected,
.gf-filter .nav .nav-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

.gf-filter-count {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  transition: inherit;
}

.gf-filter .nav .nav-link.selected .gf-filter-count,
.gf-filter .nav .nav-link:hover .gf-filter-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

#grid.gf-grid {
  min-height: 100px;
}

.gf-grid .media-box,
.gf-grid ~ .media-boxes-load-more-button {
  font-family: inherit;
}

.gf-grid .media-box-container {
  border-radius: 20px;
  box-shadow: none;
}

.gf-grid .media-box-image {
  cursor: pointer;
}

.gf-grid .media-box-image img {
  transition: transform 0.6s ease-in-out;
  transform-origin: bottom left;
}

.gf-grid .media-box-image:hover img {
  transform: scale(1.2) translate(-20px);
}

.gf-grid .thumbnail-overlay {
  background-color: rgba(var(--primary-rgb), 0.55);
}

.gf-grid .thumbnail-overlay > div.aligment > div.aligment {
  text-align: center;
}

.gf-zoom {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: var(--white);
  font-size: 20px;
}

.gf-grid ~ .media-boxes-load-more-button {
  width: auto;
  height: auto;
  display: table;
  margin: 20px auto 0;
  padding: 14px 34px;
  line-height: 1.4;
  border-radius: 30px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px !important;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.gf-grid ~ .media-boxes-load-more-button:hover {
  background-color: var(--secondary);
}

.gf-grid ~ .media-boxes-load-more-button.media-boxes-no-more-entries {
  display: none;
}

.gf-empty {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--shade);
  border-radius: 20px;
  color: var(--body-color);
}

.gf-empty i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 15px;
}

.gf-empty p {
  margin: 0;
  font-size: 17px;
}

@media (max-width: 575.98px) {
  .gf-filter .nav {
    gap: 8px;
  }

  .gf-filter .nav .nav-link {
    padding: 10px 18px;
    font-size: 14px;
  }
}
