.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.line-clamp-8 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 99;
}

.section-half {
  padding-top: 50px;
  padding-bottom: 50px;
}

.color-imperial-1 {
  color: #ff7c22 !important;
}

.color-imperial-2 {
  color: #2f92da !important;
}

.bg-imperial-1 {
  background-color: #ff7c22 !important;
}

.bg-imperial-2 {
  background-color: #2f92da !important;
}

.bg-imperial-1-muted {
  background-color: #fff0e6 !important;
}

.bg-imperial-2-muted {
  background-color: #eef7ff !important;
}

.border-imperial-1 {
  border-color: #ff7c22 !important;
}

.border-imperial-2 {
  border-color: #2f92da !important;
}

.text-justify {
  text-align: justify !important;
}

.no-dot::before {
  display: none;
  content: none;
}

body.light .butn-bord-sm.white {
  border-color: rgba(255, 255, 255, 0.5);
}

body.light .butn-bord-sm.white::before {
  background: #fff;
}

body.light .hero-style1.white-banner .tags a,
body.light .hero-style4.white-banner .tags a {
  border-color: rgba(225, 225, 225, 0.3);
}

body.light .hero-style1.white-banner p {
  color: #585858;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(1px);
}

.hero-style1.white-banner .banner-text {
  font-size: min(7.5dvh, 75px);
}

@media screen and (max-width: 768px) {
  .hero-style1.white-banner .banner-text {
    font-size: 4.5dvh;
  }
}

.hero-style1.white-banner {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

body.light .hero-style1.white-banner:after {
  display: none;
}

.bg-img.element-img {
  background-size: contain !important;
  background-position: bottom !important;
  background-repeat: no-repeat !important;
}

.blur-div {
  opacity: 1;
  transition: opacity 0.4s ease;
  /* smooth fade */
  pointer-events: auto;
}

.blur-div.hidden {
  opacity: 0;
  pointer-events: none;
  /* prevent interaction when hidden */
}

body.light .features .item {
  background: #ffffff;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, "●");
  color: #ffffff80;
}

.breadcrumb-item.active {
  color: var(--bs-breadcrumb-item-active-color);
}

.breadcrumb-wrap .breadcrumb {
  justify-content: center;
}

.imperial-image-background .col-lg-3.col-xl-3.col-xxl-2 {
  display: none;
}

.imperial-image-background .col-lg-3.col-xl-3.col-xxl-3 {
  display: none;
}

.imperial-image-background .breadcrumb-text {
  text-align: center;
}

.imperial-image-background {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/breadcrumb.jpg") no-repeat center center;
  background-size: cover;
  z-index: 999;
  position: relative;
}

.icon-text-wrapper span {
  min-width: 45px;
  max-width: 45px;
}

.events-slider .mitem {
  border-radius: 15px;
  background-color: #ffffff;
  padding: 30px;
}

.stackCard__profile {
  min-width: 150px;
}

.object-contain {
  object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: #ff7a00;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #fff;
}

.team-style1 .item h6 {
  line-height: 1.2;
}

.footer-style1 .fo-box {
  border-radius: 15px;
  overflow: hidden;
}

.footer-style1 .fo-box .tags a {
  font-size: 14px;
  padding: 12px 25px;
  border: 1px solid rgb(0, 0, 0, 0.1);
  border-radius: 30px;
  margin: 4px 0;
}

.footer-style1 .fo-box .tags a:hover {
  border-color: #111012;
}

@media screen and (max-width: 992px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-style1.white-banner {
    padding: 0 0 120px;
    min-height: 100vh;
  }

  .bg-img.element-img {
    background-size: 150% !important;
    background-position: right bottom !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 575px) {
  .rest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .links .rest li {
    width: 50%;
    margin-right: 0 !important;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* =============================================================================
   ----------------------  Premium Leadership Styles  -----------------------
   ============================================================================= */

.leadership-section {
  padding: 100px 0;
  background-color: #fafbfc;
}

.leadership-title-box {
  margin-bottom: 50px;
}

.leadership-title-box h3 {
  font-size: 38px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.leadership-title-box h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ff7c22;
  border-radius: 2px;
}

.leader-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(47, 146, 218, 0.1);
  border-color: rgba(47, 146, 218, 0.15);
}

.leader-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  background-color: #f7f7f7;
}

.leader-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.leader-card:hover .leader-img-wrapper img {
  transform: scale(1.06);
}

.leader-info {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 30px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.leader-badge.badge-orange {
  background: rgba(255, 124, 34, 0.1);
  color: #ff7c22;
}

.leader-badge.badge-blue {
  background: rgba(47, 146, 218, 0.1);
  color: #2f92da;
}

.leader-card:hover .leader-badge.badge-orange {
  background: #ff7c22;
  color: #ffffff;
}

.leader-card:hover .leader-badge.badge-blue {
  background: #2f92da;
  color: #ffffff;
}

.leader-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.leader-card:hover .leader-name {
  color: #2f92da;
}

.leader-divider {
  width: 35px;
  height: 3px;
  background: #ff7c22;
  margin-bottom: 15px;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.leader-card:hover .leader-divider {
  width: 65px;
  background: #2f92da;
}

.leader-bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5a5a5a;
  margin-bottom: 0;
  text-align: justify;
}

@media screen and (max-width: 991px) {
  .leader-img-wrapper {
    min-height: 320px;
  }
}

@media screen and (max-width: 575px) {
  .leader-info {
    padding: 20px;
  }
}

/* ============================================================
   Team Grid Cards — Imperial Overseas / B2B / Partnerships /
   Digital Marketing / HR & Tech sections
   ============================================================ */

.team-style1 h4.mb-30px {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  padding-bottom: 10px;
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

.team-style1 h4.mb-30px::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e87722, #2f92da);
}

/* Base card */
.team-style1 .item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-style1 .item:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 36px rgba(47, 146, 218, 0.14);
  border-color: rgba(47, 146, 218, 0.3);
}

/* Image container */
.team-style1 .item .fit-img {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
  background: #f0f4f8;
}

.team-style1 .item .fit-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.team-style1 .item:hover .fit-img img {
  transform: scale(1.07);
}

/* Info block */
.team-style1 .item .d-grid {
  padding: 16px 18px 20px;
  flex-grow: 1;
  display: flex !important;
  flex-direction: column;
  gap: 5px;
}

/* Name */
.team-style1 .item .d-grid h6 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 2px 0;
  line-height: 1.3;
  position: relative;
  padding-bottom: 8px;
  transition: color 0.25s ease;
}

.team-style1 .item:hover .d-grid h6 {
  color: #2f92da;
}

/* Animated underline under name */
.team-style1 .item .d-grid h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 28px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e87722, #2f92da);
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-style1 .item:hover .d-grid h6::after {
  width: 52px;
}

/* Role / designation */
.team-style1 .item .d-grid span.opacity-5 {
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.45;
  opacity: 1 !important;
  background: #f3f6fb;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 3px 11px;
  display: inline-block;
  margin-top: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
}

.team-style1 .item:hover .d-grid span.opacity-5 {
  background: rgba(47, 146, 218, 0.1);
  border-color: rgba(47, 146, 218, 0.35);
  color: #1a6fa8;
}

/* Mobile: tighten image height on small screens */
@media screen and (max-width: 767px) {
  .team-style1 .item .fit-img {
    height: 190px;
  }

  .team-style1 .item .d-grid {
    padding: 14px 14px 16px;
  }
}

@media screen and (max-width: 480px) {
  .team-style1 .item .fit-img {
    height: 170px;
  }
}

/* ============================================================
   Global Location Tabs & Click to Map Styles (Footer & Contact)
   ============================================================ */

.location-pills-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.location-pills-nav .nav-link {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.location-pills-nav .nav-link:hover,
.location-pills-nav .nav-link.active {
  background: #ff7c22 !important;
  color: #ffffff !important;
  border-color: #ff7c22 !important;
  box-shadow: 0 4px 12px rgba(255, 124, 34, 0.35);
}

.location-tab-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.location-tab-card:hover {
  border-color: rgba(255, 124, 34, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.butn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #ff7c22, #e0630b);
  color: #ffffff !important;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 124, 34, 0.3);
  white-space: nowrap;
}

.butn-map-link:hover {
  background: linear-gradient(135deg, #2f92da, #1d77be);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 146, 218, 0.4);
}

.contact-emails-bar a {
  transition: color 0.25s ease;
}

.contact-emails-bar a:hover {
  color: #2f92da !important;
}

.mr-2px { margin-right: 2px !important; }
.mr-4px { margin-right: 4px !important; }
.mr-6px { margin-right: 6px !important; }
.mr-8px { margin-right: 8px !important; }
.mr-12px { margin-right: 12px !important; }