/* ============================
   Teambuild - Minimal Custom CSS
   Uses Bootstrap 5 utilities maximally
   ============================ */

:root {
  --tb-primary: #1763C6;
  --tb-primary-dark: #0E4A9C;
  --tb-primary-light: #4A9EFF;
  --tb-orange: #F58220;
  --tb-orange-dark: #E36F11;
  --tb-dark: #0E1A2B;
  --tb-text: #1F2A3D;
  --tb-muted: #6B7280;
  --tb-bg-light: #F6F4EF;
  --tb-border: #E5E7EB;
  --tb-black: #07101E;
}

html,
body {
  font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--tb-text);
}

.html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 80px;
}

/* Theme colors */
.text-tb-primary {
  color: var(--tb-primary) !important;
}

.text-tb-orange {
  color: var(--tb-orange) !important;
}

.bg-tb-primary {
  background-color: var(--tb-primary) !important;
}

.bg-tb-primary-dark {
  background-color: #0A2540 !important;
}

.bg-tb-primary-light {
  background-color: #85BBFA1F !important;
}

.bg-tb-orange {
  background-color: var(--tb-orange) !important;
}

.bg-tb-dark {
  background-color: var(--tb-dark) !important;
}

.bg-tb-light {
  background-color: var(--tb-bg-light) !important;
}

/* Top bar */
.topbar {
  background: var(--tb-dark);
  font-size: .85rem;
}

.topbar a,
.topbar span {
  color: #fff;
  text-decoration: none;
}

/* Navbar */
.navbar {
  background: #fff;
}

.navbar .nav-link {
  color: var(--tb-text);
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar .nav-link.active {
  color: var(--tb-primary);
  border-bottom: 2px solid var(--tb-primary);
}

.btn-apply {
  background: var(--tb-primary);
  color: #fff;
  font-weight: 600;
  padding: .6rem 1.4rem;
  border-radius: 6px;
}

.btn-apply:hover {
  background: var(--tb-primary-dark);
  color: #fff;
}

/* Buttons */
.btn-tb-orange {
  background: var(--tb-orange);
  color: #fff;
  font-weight: 600;
}

.btn-tb-orange:hover {
  background: var(--tb-orange-dark);
  color: #fff;
}

.btn-tb-primary {
  background: var(--tb-primary);
  color: #fff;
  font-weight: 600;
}

.btn-tb-primary:hover {
  background: var(--tb-primary-dark);
  color: #fff;
}

.btn-tb-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  background: transparent;
}

.btn-tb-outline-light:hover {
  background: #fff;
  color: var(--tb-dark);
}

/* Hero / Banners */
.hero-title {
  font-weight: 800;
  line-height: 1.1;
}

.hero-title .text-orange {
  color: var(--tb-orange);
}

.banner-overlay {
  position: relative;
}

.banner-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  /* z-index: 10; */
}

.banner-overlay.banner-image-only::after {
  background: transparent;
}

.banner-overlay.banner-image-only {
  min-height: 420px;
  height: clamp(420px, 75vh, 820px);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .banner-overlay.banner-image-only {
    min-height: 340px;
    height: clamp(340px, 60vh, 680px);
  }
}

.banner-overlay div {
  width: 100%;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 100%); */
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, .65) 50%, rgba(0, 0, 0, 0) 100%);

  padding: 30px;
}

/* Course card */
.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .3s;
}

.course-card:hover img {
  transform: scale(1.2);
}

.course-card .label {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: var(--tb-primary);
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
}

/* Section heading underline */
.section-title {
  font-weight: 700;
  color: var(--tb-text);
}

.section-title-underline {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--tb-orange);
  margin: .5rem auto 0;
}

.org-leaders,
.org-operations,
.org-divider,
.org-connector {
  position: relative;
}

.team-card,
.org-node {
  position: relative;
  z-index: 2;
}

.org-line {
  position: absolute;
  background: #b88b25;
  border-radius: 2px;
  z-index: 0;
}

.org-line-leaders {
  top: 74%;
  left: 10%;
  right: 10%;
  height: 3px;
}

.org-line-operations {
  top: 50%;
  left: 18%;
  right: 18%;
  height: 3px;
}

.org-line-training {
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
}

.org-connector {
  height: 60px;
}

.org-connector .org-line-vertical {
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
}

.org-connector.leader-ops {
  height: 45px;
}

.org-connector.ops-training {
  height: 50px;
}

.org-divider {
  height: 40px;
}

/* Process steps */
.process-step .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tb-primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.process-line {
  height: 2px;
  background: #cbd5e1;
  flex: 1;
  margin-top: 22px;
}

.custom-card {
  border: 1px solid #37383857;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.014);
  transition: all 0.3s ease;
}

.custom-card:hover {
  border-top: 5px solid var(--tb-primary);
  transform: translateY(-5px);
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); */
  box-shadow: 0px 4px 15px 0px #1565C040 !important;
}

.custom-card span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #cfe2ff;
  background: #eef5ff;
  color: var(--tb-primary);
  border-radius: 999px;
  transition: all 0.3s ease;
  border-color: var(--tb-primary);

}

.custom-card:hover a {
  background: var(--tb-primary);
  border-color: var(--tb-primary);
  color: #fff;
}

.section-head h5 {
  color: var(--tb-primary-light);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  width: 95%;
  border-bottom: 2px solid var(--tb-primary);
}

.section-head .sub-head {
  font-size: 12px;
  letter-spacing: 2px;
}

.section-head ul {
  list-style: none;
}

.section-head li {
  width: 90%;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
  color: #FFFFFFD1;
  border-bottom: 1px solid var(--tb-muted);
}

.section-head li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #2d7ef7;
  border-radius: 50%;
  position: absolute;
  left: -20px;
  top: 8px;
}

/* Feature highlight bar */
.feature-strip {
  background: var(--tb-primary-dark);
  color: #fff;
}

.feature-strip .feature {
  padding: .85rem 1rem;
}

.feature-strip .feature+.feature {
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.feature-strip .feature small {
  opacity: .8;
}

/* Footer */
.tb-footer {
  background: var(--tb-black);
  color: #B3C5DB;
}

.tb-footer h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}

.tb-footer a {
  color: #B3C5DB;
  text-decoration: none;
}

.tb-footer a:hover {
  color: #fff;
}

.tb-footer li {
  margin-bottom: 4px;
}

.tb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Social bar */
.social-bar {
  background: #0F2C52;
  color: #fff;
}

.social-btn {
  color: #fff;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.social-btn.fb {
  background: #1877F2;
}

.social-btn.ig {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn.yt {
  background: #FF0000;
}

/* CTA dark block */
.cta-dark {
  background: linear-gradient(135deg, #0F1B2D 0%, #1A2A44 100%);
  color: #fff;
  border-radius: 8px;
}

.cta-dark p {
  color: #FFFFFFD9;
}

/* Trade row */
.trade-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 20px 0;
}

.trade-item {
  text-align: center;
  min-width: 140px;
}

.trade-item:hover .trade-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 8px 8px #0000001a;
}

.trade-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: #fff;
}

.trade-circle img {
  width: 52px;
  height: 52px;
}

.trade-item p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  color: #111;
}

.trade-arrow {
  margin-top: -40px;
  color: #AAB4CC;
  transform-origin: center;
}

.trade-arrow path {
  stroke: currentColor;
  transition: all 0.3s ease;
}

.trade-item:hover .trade-circle.trade-blue {
  box-shadow: 0 0 20px rgba(31, 87, 195, 0.5);
}

.trade-item:hover .trade-circle.trade-green {
  box-shadow: 0 0 20px rgba(44, 160, 67, 0.5);
}

.trade-item:hover .trade-circle.trade-orange {
  box-shadow: 0 0 20px rgba(230, 122, 31, 0.5);
}

.trade-item:hover .trade-circle.trade-purple {
  box-shadow: 0 0 20px rgba(116, 66, 200, 0.5);
}

.trade-item:hover .trade-circle.trade-teal {
  box-shadow: 0 0 20px rgba(29, 162, 168, 0.5);
}

.trade-item:hover .trade-circle.trade-yellow {
  box-shadow: 0 0 20px rgba(220, 163, 0, 0.5);
}

/* Hover: Arrow gets color from its own class */
.trade-item:hover+.trade-arrow.trade-blue {
  color: #1f57c3;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(31, 87, 195, 0.5));
}

.trade-item:hover+.trade-arrow.trade-green {
  color: #2ca043;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(44, 160, 67, 0.5));
}

.trade-item:hover+.trade-arrow.trade-orange {
  color: #e67a1f;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(230, 122, 31, 0.5));
}

.trade-item:hover+.trade-arrow.trade-purple {
  color: #7442c8;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(116, 66, 200, 0.5));
}

.trade-item:hover+.trade-arrow.trade-teal {
  color: #1da2a8;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(29, 162, 168, 0.5));
}

.trade-item:hover+.trade-arrow.trade-yellow {
  color: #dca300;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(220, 163, 0, 0.5));
}

.trade-item:hover+.trade-arrow.trade-navy {
  color: #1e3a5f;
  transform: scale(1.5);
  filter: drop-shadow(0 0 20px rgba(30, 58, 95, 0.5));
}

/* Circle Colors */
.trade-blue {
  border-color: #1f57c3;
}

.trade-green {
  border-color: #2ca043;
}

.trade-orange {
  border-color: #e67a1f;
}

.trade-purple {
  border-color: #7442c8;
}

.trade-teal {
  border-color: #1da2a8;
}

.trade-yellow {
  border-color: #dca300;
}

.trade-navy {
  border-color: #1f3f8f;
}

/* Mobile */
@media (max-width: 768px) {
  .trade-flow {
    flex-direction: column;
    gap: 20px;
  }

  .trade-circle {
    width: 100px;
    height: 100px;
  }

  .trade-circle img {
    width: 40px;
    height: 40px;
  }

  .trade-item {
    min-width: 110px;
  }

  .trade-item p {
    font-size: 14px;
  }

  .trade-arrow,
  .trade-item:hover+.trade-arrow {
    transform: rotate(90deg) !important;
    margin: 0;
  }
}


/*  */
.trade-row {
  padding: 30px 40px;
  position: relative;
}

.trade-row+.trade-row {
  margin-top: 0;
}

.trade-content {
  position: relative;
  padding: 30px;
}

/* Large Background Number */
.trade-bg-number {
  position: absolute;
  top: -20px;
  left: 10px;
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  color: #E8F1FA;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Tag - Gold uppercase */
.trade-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tb-orange);
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

/* Title */
.trade-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: #142033;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Description */
.trade-desc {
  color: #5a6a7a;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

/* The Role Box */
.trade-role-box {
  border-left: 4px solid var(--tb-primary);
  background: #f4f6f8;
  padding: 20px 24px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.trade-role-box:hover {
  border-left: 4px solid var(--tb-orange);
}

.trade-role-box:hover .role-title {
  color: var(--tb-orange);
}

.role-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tb-primary);
  margin-bottom: 12px;
}

.trade-role-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #5a6a7a;
}

/* Bullet List */
.trade-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.trade-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #5a6a7a;
  font-size: 15px;
  line-height: 1.6;
}

.trade-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #2d7ef7;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* Image Styling */
.trade-image-wrap {
  overflow: hidden;
  border-radius: 8px;
}

.trade-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .trade-section {
    padding: 60px 0;
  }

  .trade-row {
    padding: 40px 0;
  }

  .trade-content {
    order: 2 !important;
  }

  .trade-image-wrap {
    order: 1 !important;
    margin-bottom: 30px;
  }

  .trade-bg-number {
    font-size: 120px;
    top: -10px;
  }

  .trade-title {
    font-size: 36px;
  }

  .trade-img {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .trade-bg-number {
    font-size: 80px;
    top: 0;
  }

  .trade-title {
    font-size: 28px;
  }

  .trade-img {
    height: 280px;
  }
}

/* About foundation cards */
.foundation-card {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.foundation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--tb-primary);
}

.foundation-card .ic {
  width: 45px;
  height: 45px;
  padding: 10px;
  background-color: #EAF2FF;
  border-radius: 50%;
}

/* Team avatar */
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.team-card {
  background: #fff;
  padding: 24px 16px;
  border-bottom: 3px solid var(--tb-dark);
  transition: all 0.3s ease;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 8px 5px #00000040;
}

@media (max-width: 576px) {
  .team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Org tree */
.org-node {
  background: #fff;
  border: 1px solid var(--tb-border);
  border-radius: 8px;
  padding: .85rem 1rem;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  position: relative;
  z-index: 2;
}

.org-pill {
  background: var(--tb-primary);
  color: #fff;
  padding: .4rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  display: inline-block;
}

.org-pill-dark {
  background: var(--tb-dark);
}

.org-leaders-wrapper {
  position: relative;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-connector hr {
  height: 3px;
  color: #C9933A;
  border-bottom: 3px solid #C9933A;
  opacity: 1;
  width: 50%;
  margin: 0px auto;
}

.flow-connector.wide hr {
  width: 80%;
}

.flow-connector i {
  color: #C9933A;
  font-size: 28px;
  font-weight: bold;
  margin-top: -7px;
}

/* .org-horizontal-line {
  position: absolute;
  height: 3px;
  background: #b88b25;
  border-radius: 2px;
  z-index: 0;
}

.org-horizontal-line-leaders {
  left: 5%;
  right: 5%;
  bottom: 2.4rem;
}

.org-horizontal-line-leaders::before,
.org-horizontal-line-leaders::after,
.org-horizontal-line-operations::before,
.org-horizontal-line-operations::after,
.org-horizontal-line-training::before,
.org-horizontal-line-training::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b88b25;
  transform: translateY(-50%);
}

.org-horizontal-line-leaders::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.org-horizontal-line-leaders::after {
  right: 0;
  transform: translate(50%, -50%);
}

.org-horizontal-line-operations {
  left: 20%;
  right: 20%;
  top: 0;
}

.org-horizontal-line-operations::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.org-horizontal-line-operations::after {
  right: 0;
  transform: translate(50%, -50%);
} */

.org-training-bar {
  position: relative;
  height: 28px;
}

/* .org-horizontal-line-training {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  transform: translateY(-50%);
  height: 3px;
}

.org-horizontal-line-training::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.org-horizontal-line-training::after {
  right: 0;
  transform: translate(50%, -50%);
} */

.org-operations-wrapper {
  position: relative;
  /* padding-top: 3rem; */
}

.org-chart-node {
  position: relative;
  z-index: 2;
}

/* .org-chart-node::before {
  content: "";
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 12px;
  background: #b88b25;
}

.org-chart-node::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #b88b25;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(184, 139, 37, .08);
}

.org-node::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 28px;
  background: #b88b25;
}

.org-node::after {
  content: "";
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #b88b25;
  border-radius: 50%;
} */

.org-connector-down {
  position: relative;
  height: 40px;
}

.org-connector-down .org-vertical-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #b88b25;
}

.org-div-card {
  position: relative;
}

/* .org-div-card::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 28px;
  background: #b88b25;
}

.org-div-card::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #b88b25;
  border-radius: 50%;
} */

.org-divisions {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .75rem;
}

@media (max-width: 992px) {
  .org-divisions {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .org-divisions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.div-card {
  background: #fff;
  border: 1px solid var(--tb-border);
  border-radius: 8px;
  padding: .75rem .5rem;
  text-align: center;
  font-size: .8rem;
}

.div-card .ic {
  width: 28px;
  height: 28px;
  margin-bottom: .35rem;
}

/* Info tables */
.info-section h5 {
  color: var(--tb-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--tb-primary);
  padding-bottom: .5rem;
}

.info-row {
  display: flex;
  padding: .5rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: .92rem;
}

.info-row .k {
  flex: 0 0 45%;
  font-weight: 600;
}

.info-row .v {
  flex: 1;
  color: var(--tb-text);
  font-weight: 400;
}

/* Base card */
.office-card {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: #F7FAFF;
  transition: all 0.3s ease;
}

/* BLUE CARD */
.office-card-1 {
  border: 1px solid #1e66ff;
  border-left: 4px solid #1e66ff;
  background: #f6f9ff;
}

/* ORANGE CARD */
.office-card-2 {
  border: 1px solid #f28c28;
  border-left: 4px solid #f28c28;
  background: #fff7ed;
}

/* Label styling */
.office-card .label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.25rem;
}

/* Email pill button */
.email-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 0.8rem;
  background: #e8f0ff;
  color: #1e66ff;
  font-weight: 500;
  transition: 0.3s;
}

.office-card-2 .email-pill {
  background: #ffe9d2;
  color: #f28c28;
}

/* Hover effect like screenshot */
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* Cert page badge */
.badge-soft {
  background: #EEF2F7;
  color: var(--tb-primary);
  font-weight: 600;
  letter-spacing: 1px;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
}

.cert-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
}

.cert-hero h1 .text-orange {
  color: var(--tb-orange);
}

.check-list span {
  color: var(--tb-text);
  font-size: .95rem;
}

.check-list i {
  color: #1A6B4A;
}

/* Director name banner end */
.director-text {
  font-weight: 600;
}

.director-text .name {
  color: #F0E438;
  font-size: large;
}

.director-text .role {
  color: #fff;
  font-size: large;
}

/* Why teambuild numbered list */
.why-item .num {
  /* color: var(--tb-orange); */
  font-weight: 800;
  font-size: 1.5rem;
  min-width: 36px;
}

.why-item h6 {
  transition: color 0.3s ease;
}

.why-item:hover .num,
.why-item:hover h6 {
  color: var(--tb-primary);
}

.why-item h6 {
  font-weight: 700;
}

/* Util */
.object-cover {
  object-fit: cover;
}

.cursor-pointer {
  cursor: pointer;
}
/* ==============================================================
   Certificate verification page
   ============================================================== */
.cert-search {
  max-width: 540px;
}
.cert-search .form-control:focus {
  box-shadow: none;
  border-color: var(--tb-primary);
}
.verify-card {
  background: #fff;
  border-radius: 12px;
  max-width: 760px;
  border: 1px solid #e5e7eb;
}
.verify-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.verify-icon-ok {
  background: var(--tb-primary, #2d6baf);
}
.verify-icon-fail {
  background: #dc3545;
}
.verify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #f0f1f3;
}
.verify-grid dt {
  padding: 12px 8px 4px;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
}
.verify-grid dd {
  padding: 0 8px 12px;
  margin: 0;
  color: #111827;
  font-weight: 600;
  border-bottom: 1px solid #f0f1f3;
}
@media (min-width: 640px) {
  .verify-grid {
    grid-template-columns: 200px 1fr;
    row-gap: 0;
    column-gap: 16px;
  }
  .verify-grid dt {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid #f0f1f3;
  }
  .verify-grid dd {
    padding: 14px 16px;
  }
}
.verify-grid dd:last-of-type,
.verify-grid dt:last-of-type {
  border-bottom: 0;
}

/* Candidate photo on the verification result card */
.verify-photo {
  width: 130px;
  height: 170px;          /* 3:4 ratio, matches the cert photo */
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--tb-primary, #2d6baf);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}
