/* Estate Capital — Custom Styles
   ============================== */

/* ECI icon integration with template containers */
.choose-box .choose-icon [class^="eci-"],
.choose-box .choose-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.contact-item .contact-icon [class^="eci-"],
.contact-item .contact-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.service-item .service-icon [class^="eci-"],
.service-item .service-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.tj-primary-btn .btn-icon [class^="eci-"],
.tj-primary-btn .btn-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ec-contact-card .card-icon [class^="eci-"],
.ec-contact-card .card-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ec-principle-card .principle-icon [class^="eci-"],
.ec-principle-card .principle-icon [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ec-callout .callout-title [class^="eci-"],
.ec-callout .callout-title [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.sub-title [class^="eci-"],
.sub-title [class*=" eci-"] {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* EC brand icon in sub-titles (replaces tji-box cube) */
img.ec-sub-icon {
  width: auto !important;
  height: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 7px;
  object-fit: contain;
}
.sec-heading .sub-title,
.sec-heading-wrap .sub-title {
  padding: 6px 14px;
}

/* Callout / highlight box */
.ec-callout {
  background: var(--tj-color-light-3, #f5f5f8);
  border-left: 4px solid var(--tj-color-theme-1, #1a2b5f);
  border-radius: 0 8px 8px 0;
  padding: 24px 30px;
  margin: 20px 0;
}
.ec-callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tj-color-heading, #0d1b3e);
}
.ec-callout .callout-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tj-color-heading, #0d1b3e);
}
.ec-callout .callout-title i {
  font-size: 1.2rem;
  color: var(--tj-color-theme-1, #1a2b5f);
}

/* Contact cards with icon (standalone, outside .tj-contact-area) */
.ec-contact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 35px 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.ec-contact-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.ec-contact-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tj-color-light-3, #f5f5f8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--tj-color-theme-1, #1a2b5f);
}
.ec-contact-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tj-color-heading, #0d1b3e);
}
.ec-contact-card p,
.ec-contact-card a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--tj-color-body, #555);
}
.ec-contact-card a {
  color: var(--tj-color-theme-1, #1a2b5f);
  font-weight: 600;
}
.ec-contact-card a:hover {
  text-decoration: underline;
}

/* Social links row */
.ec-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.ec-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,.1);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tj-color-heading, #0d1b3e);
  transition: all 0.3s ease;
}
.ec-social-links a:hover {
  background: var(--tj-color-theme-1, #1a2b5f);
  color: #fff;
  border-color: var(--tj-color-theme-1, #1a2b5f);
}
.ec-social-links a i {
  font-size: 1.1rem;
}

/* Governance principle cards */
.ec-principle-card .principle-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--tj-color-theme-1, #1a2b5f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 18px;
}
.ec-principle-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 35px 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.ec-principle-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.ec-principle-card .principle-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tj-color-light-3, #e8e8ec);
  line-height: 1;
  margin-bottom: 15px;
}
.ec-principle-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tj-color-heading, #0d1b3e);
}
.ec-principle-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--tj-color-body, #555);
  margin: 0;
}

/* Equal-height contact cards */
.tj-contact-area .contact-item.style-2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Career image cards with hover effect */
.ec-career-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}
.ec-career-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ec-career-card:hover img {
  transform: scale(1.05);
}
.ec-career-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(13,27,62,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background 0.4s ease;
}
.ec-career-card:hover .ec-career-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(13,27,62,0.92) 100%);
}
.ec-career-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  transition: transform 0.4s ease;
}
.ec-career-card:hover .ec-career-title {
  transform: translateY(-10px);
}
.ec-career-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}
.ec-career-card:hover .ec-career-btn {
  opacity: 1;
  transform: translateY(0);
}
.ec-career-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.ec-career-card:hover .ec-career-btn i {
  transform: translateX(4px);
}

/* Governance CTA — dark background with globe imagery */
.ec-gov-cta.h7-cta {
  background: url('../images/pexels/gov-globe.webp') center center / cover no-repeat !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.ec-gov-cta.h7-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,22,48,.92) 0%, rgba(12,31,61,.82) 50%, rgba(8,22,48,.7) 100%);
  z-index: 0;
}
.ec-gov-cta .container-fluid,
.ec-gov-cta .container {
  position: relative;
  z-index: 1;
}
.ec-gov-cta .ec-gov-cta-content {
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 60px 0 70px;
}
.ec-gov-cta .ec-gov-cta-content .title {
  max-width: 100%;
  margin-bottom: 16px;
  font-size: 1.75rem;
  color: #fff;
}
.ec-gov-cta-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 0;
}
.ec-gov-cta .cta-btn {
  margin-top: 28px;
}
.ec-governance-book {
  padding: 30px 0;
}
.ec-governance-book img {
  max-width: 280px;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  transition: transform 0.3s ease;
}
.ec-governance-book img:hover {
  transform: scale(1.04) rotate(-1deg);
}
@media only screen and (max-width: 991px) {
  .ec-gov-cta .ec-gov-cta-content {
    padding: 40px 0 20px;
  }
  .ec-governance-book {
    padding: 10px 0 40px;
  }
}

/* Venture photos as circular thumbnails in hero banner */
.customers ul li img {
  object-fit: cover;
}

/* ── Subsidiary Sections (Apex UK / Apex US) ── */
.ec-subsidiary-section {
  position: relative;
  background: #fff;
}
.ec-subsidiary-section.ec-subsidiary-alt {
  background: #f6f8fb;
}

/* Divider between subsidiary blocks */
.ec-subsidiary-divider {
  position: relative;
  padding: 0;
  background: linear-gradient(to right, #fff 0%, #fff 50%, #f6f8fb 50%, #f6f8fb 100%);
}
.ec-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(18,40,75,.12) 20%, rgba(18,40,75,.12) 80%, transparent 100%);
}
.ec-divider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #f0f3f8;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px rgba(18,40,75,.08);
}
.ec-divider-icon img {
  opacity: 0.35;
}

.ec-subsidiary-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.ec-subsidiary-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ec-subsidiary-img:hover img {
  transform: scale(1.03);
}

.ec-subsidiary-content {
  padding-left: 40px;
}
.ec-subsidiary-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tj-color-heading-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.ec-subsidiary-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--tj-color-heading-primary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18, 40, 75, 0.1);
}
.ec-subsidiary-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--tj-color-text-body);
  margin-bottom: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ec-subsidiary-content {
    padding-left: 24px;
  }
  .ec-subsidiary-title {
    font-size: 34px;
  }
  .ec-subsidiary-lead {
    font-size: 16px;
  }
}
@media only screen and (max-width: 991px) {
  .ec-subsidiary-content {
    padding-left: 0;
    padding-top: 30px;
  }
  .ec-subsidiary-title {
    font-size: 30px;
  }
}

/* ── International RE — About Section ── */
.ec-intl-about {
  position: relative;
  overflow: hidden;
}

/* Image wrapper with accent stat badge */
.ec-intl-about-img-wrap {
  position: relative;
  padding-bottom: 20px;
  padding-right: 20px;
}
.ec-intl-about-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.ec-intl-about-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ec-intl-about-img:hover img {
  transform: scale(1.03);
}
.ec-intl-about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, transparent 50%, rgba(12,31,61,.25) 100%);
  pointer-events: none;
}

/* Floating stat badge */
.ec-intl-about-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}
.ec-intl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--tj-color-theme-primary, #12284b);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(12,31,61,.3);
}
.ec-intl-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ec-intl-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Content side */
.ec-intl-about-content {
  padding-left: 48px;
}
.ec-intl-about-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tj-color-heading-primary);
  margin-bottom: 0;
  letter-spacing: -0.02em;
}
.ec-intl-about-title em {
  font-style: italic;
  color: var(--tj-color-theme-primary, #12284b);
  opacity: 0.7;
}
.ec-intl-about-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--tj-color-theme-primary, #12284b), transparent);
  border-radius: 2px;
  margin: 20px 0 24px;
}
.ec-intl-about-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--tj-color-heading-primary);
  margin-bottom: 16px;
}
.ec-intl-about-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--tj-color-text-body);
  margin-bottom: 28px;
}

/* Highlight checklist */
.ec-intl-about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ec-intl-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ec-intl-highlight i {
  font-size: 18px;
  color: var(--tj-color-theme-primary, #12284b);
  flex-shrink: 0;
}
.ec-intl-highlight span {
  font-size: 14px;
  font-weight: 500;
  color: var(--tj-color-heading-primary);
  letter-spacing: 0.01em;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ec-intl-about-content {
    padding-left: 28px;
  }
  .ec-intl-about-title {
    font-size: 32px;
  }
}
@media only screen and (max-width: 991px) {
  .ec-intl-about-content {
    padding-left: 0;
    padding-top: 40px;
  }
  .ec-intl-about-title {
    font-size: 28px;
  }
  .ec-intl-about-img-wrap {
    padding-right: 0;
  }
  .ec-intl-about-highlights {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

/* ── Core Business — About Section ── */
.ec-core-about {
  position: relative;
  background: #f8f9fc;
}

.ec-core-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tj-color-heading-primary);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.ec-core-heading em {
  font-style: italic;
  opacity: 0.6;
}

/* Feature cards */
.ec-core-cards {
  margin-bottom: 40px;
}
.ec-core-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 32px;
  height: 100%;
  border: 1px solid rgba(18,40,75,.06);
  box-shadow: 0 4px 24px rgba(18,40,75,.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ec-core-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(18,40,75,.1);
}
.ec-core-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef1f8 0%, #dce3f0 100%);
  margin-bottom: 24px;
  transition: background 0.3s ease;
}
.ec-core-card:hover .ec-core-card-icon {
  background: linear-gradient(135deg, var(--tj-color-theme-primary, #12284b) 0%, #1e3a5f 100%);
}
.ec-core-card-icon i {
  font-size: 24px;
  color: var(--tj-color-theme-primary, #12284b);
  line-height: 1;
  transition: color 0.3s ease;
}
.ec-core-card:hover .ec-core-card-icon i {
  color: #fff;
}
.ec-core-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tj-color-heading-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.ec-core-card-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tj-color-text-body);
  margin-bottom: 0;
}

/* Summary block */
.ec-core-summary {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px 36px 56px;
  border: 1px solid rgba(18,40,75,.06);
  box-shadow: 0 4px 24px rgba(18,40,75,.04);
  overflow: hidden;
}
.ec-core-summary-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--tj-color-theme-primary, #12284b) 0%, rgba(18,40,75,.3) 100%);
  border-radius: 4px 0 0 4px;
}
.ec-core-summary p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--tj-color-heading-primary);
  font-weight: 400;
  margin: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ec-core-heading {
    font-size: 34px;
  }
  .ec-core-card {
    padding: 28px 24px;
  }
}
@media only screen and (max-width: 991px) {
  .ec-core-heading {
    font-size: 30px;
    margin-bottom: 36px;
  }
  .ec-core-summary {
    padding: 28px 28px 28px 44px;
  }
  .ec-core-summary p {
    font-size: 15px;
  }
}

/* ── Service Icons on Dark Backgrounds (style-5) ── */
.service-item.style-5 .service-icon {
  width: 64px;
  height: 64px;
  font-size: 28px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.service-item.style-5 .service-icon i {
  color: #fff;
  font-size: 28px;
}
.service-item.style-5:hover .service-icon {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
}

/* General service icons — tighten size for eci- custom font */
.service-item .service-icon i[class^="eci-"],
.service-item .service-icon i[class*=" eci-"] {
  font-size: inherit;
}

/* ── h6-about funfact counters — prevent wrapping ── */
.h6-about-funfact .countup-item .inline-content {
  white-space: nowrap;
  font-size: 56px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .h6-about-funfact .countup-item .inline-content {
    font-size: 48px;
  }
}
@media only screen and (max-width: 991px) {
  .h6-about-funfact .countup-item .inline-content {
    font-size: 44px;
  }
}

/* ── Section Backgrounds & Decorative Elements ── */

/* Alternating section background */
.ec-section-alt {
  background: #f6f8fb;
  position: relative;
  overflow: hidden;
}

/* Decorated sections (white bg with decorative shapes) */
.ec-section-decorated {
  position: relative;
  overflow: hidden;
}

/* Ensure content stays above decorations */
.ec-section-decorated > .container,
.ec-section-decorated > .container-fluid,
.ec-section-alt > .container,
.ec-section-alt > .container-fluid {
  position: relative;
  z-index: 1;
}

/* Base decoration element */
.ec-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: ec-deco-fade-in 1.8s ease forwards;
}
.ec-deco img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Dot grid — top right */
.ec-deco--dots-tr {
  width: 320px;
  height: 320px;
  top: 30px;
  right: -40px;
  animation: ec-deco-fade-in 1.8s ease forwards, ec-drift-down 18s ease-in-out infinite;
}

/* Dot grid — bottom left */
.ec-deco--dots-bl {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -30px;
  animation: ec-deco-fade-in 1.8s ease 0.3s forwards, ec-drift-up 16s ease-in-out infinite;
}

/* Corner accent circles — bottom left */
.ec-deco--corner-bl {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -120px;
  animation: ec-deco-fade-in 1.8s ease 0.2s forwards, ec-spin-slow 60s linear infinite;
}

/* Corner accent circles — top right */
.ec-deco--corner-tr {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -120px;
  animation: ec-deco-fade-in 1.8s ease 0.2s forwards, ec-spin-slow-reverse 60s linear infinite;
}

/* Cross pattern — top left */
.ec-deco--cross-tl {
  width: 260px;
  height: 260px;
  top: 20px;
  left: 10px;
  animation: ec-deco-fade-in 1.8s ease 0.2s forwards, ec-drift-right 20s ease-in-out infinite;
}

/* Cross pattern — bottom right */
.ec-deco--cross-br {
  width: 240px;
  height: 240px;
  bottom: 30px;
  right: 20px;
  animation: ec-deco-fade-in 1.8s ease 0.3s forwards, ec-drift-left 22s ease-in-out infinite;
}

/* Geometric lines — bottom right */
.ec-deco--geo-br {
  width: 350px;
  height: 350px;
  bottom: -60px;
  right: -60px;
  animation: ec-deco-fade-in 1.8s ease 0.4s forwards, ec-spin-slow 80s linear infinite;
}

/* Wave lines — bottom */
.ec-deco--wave-bottom {
  width: 100%;
  height: 180px;
  bottom: 0;
  left: 0;
  animation: ec-deco-fade-in 2s ease 0.5s forwards;
}

/* Wave lines — top */
.ec-deco--wave-top {
  width: 100%;
  height: 180px;
  top: 0;
  left: 0;
  transform: scaleY(-1);
  animation: ec-deco-fade-in 2s ease 0.3s forwards;
}

/* Decoration animations */
@keyframes ec-deco-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ec-drift-down {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}
@keyframes ec-drift-up {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes ec-drift-right {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(8px); }
}
@keyframes ec-drift-left {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-8px); }
}
@keyframes ec-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ec-spin-slow-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Full-width animated geometric band */
.ec-geo-band {
  position: absolute;
  left: 0;
  width: 200%;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: ec-deco-fade-in 2s ease 0.4s forwards, ec-geo-scroll 40s linear infinite;
}
.ec-geo-band--mid {
  top: 50%;
  transform: translateY(-50%);
}
.ec-geo-band--top {
  top: 0;
}
.ec-geo-band--bottom {
  bottom: 0;
  top: auto;
}
.ec-geo-band img {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes ec-geo-scroll {
  from { transform: translateX(0) translateY(-50%); }
  to   { transform: translateX(-50%) translateY(-50%); }
}
.ec-geo-band--top,
.ec-geo-band--bottom {
  animation: ec-deco-fade-in 2s ease 0.4s forwards, ec-geo-scroll-flat 40s linear infinite;
}
@keyframes ec-geo-scroll-flat {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Ventures Section Ornament ── */
.ec-ventures-ornament {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-left: auto;
}
.ec-ornament-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ec-ornament-ring--outer {
  inset: 0;
  border: 1px solid rgba(255,255,255,.18);
  animation: ec-ornament-spin 20s linear infinite;
}
.ec-ornament-ring--outer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: translateX(-50%);
}
.ec-ornament-ring--outer::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: translateX(-50%);
}
.ec-ornament-ring--inner {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: ec-ornament-spin-reverse 14s linear infinite;
}
.ec-ornament-ring--inner::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: translateY(-50%);
}
.ec-ornament-logo {
  opacity: .55;
  animation: ec-ornament-pulse 3s ease-in-out infinite;
}
.ec-ornament-rays {
  position: absolute;
  inset: 0;
  animation: ec-ornament-spin-reverse 30s linear infinite;
}
.ec-ornament-rays span {
  position: absolute;
  display: block;
  background: linear-gradient(to bottom, rgba(255,255,255,.2), transparent);
  border-radius: 1px;
}
.ec-ornament-rays span:nth-child(1) {
  width: 1px;
  height: 18px;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.ec-ornament-rays span:nth-child(2) {
  width: 18px;
  height: 1px;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to right, rgba(255,255,255,.2), transparent);
}
.ec-ornament-rays span:nth-child(3) {
  width: 1px;
  height: 18px;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgba(255,255,255,.2), transparent);
}
.ec-ornament-rays span:nth-child(4) {
  width: 18px;
  height: 1px;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to left, rgba(255,255,255,.2), transparent);
}
@keyframes ec-ornament-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ec-ornament-spin-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes ec-ornament-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.08); }
}
@media only screen and (max-width: 991px) {
  .ec-ventures-ornament {
    display: none;
  }
}

/* ── Clean Portrait Team Style (Board / Executive display) ── */
.ec-team-portrait .team-item {
  text-align: center;
  background: transparent !important;
  border: none;
  box-shadow: none;
}
.ec-team-portrait .team-item .team-img,
.ec-team-portrait .team-item .team-img-inner,
.ec-team-portrait .team-item > div:first-child {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0;
  overflow: visible;
  position: relative;
}
.ec-team-portrait .team-item .team-img .social-links,
.ec-team-portrait .team-item .team-img::before,
.ec-team-portrait .team-item .team-img::after,
.ec-team-portrait .team-item .mail-at {
  display: none !important;
}
.ec-team-portrait .team-item:hover .team-img img {
  transform: none !important;
}
.ec-team-portrait .team-item img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
}
.ec-team-portrait .team-content {
  text-align: center;
  padding-top: 18px;
}
.ec-team-portrait .team-content .title,
.ec-team-portrait .team-content .title a {
  font-size: 24px;
  font-weight: 700;
  width: 100%;
  color: var(--tj-color-heading-primary, #0d1b3e);
  text-decoration: none;
  pointer-events: none;
  line-height: 1.333;
}
.ec-team-portrait .team-content .designation {
  display: block;
  font-size: 15px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Force White Background (e.g. Leadership Page) ── */
body.ec-bg-white {
  background-color: #fff;
}
body.ec-bg-white .tj-team-section {
  background-color: #fff;
}

/* ── YouTube Video Background for Hero Banner ── */
.ec-video-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0c1f3d;
}
.ec-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
.ec-video-bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 48, 0.55);
  z-index: 1;
}

/* ── Real Estate Advisory Hero Title Size ── */
.h9-hero-content .h9-hero-title {
  font-size: 90px !important;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .h9-hero-content .h9-hero-title { font-size: 72px !important; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .h9-hero-content .h9-hero-title { font-size: 60px !important; }
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .h9-hero-content .h9-hero-title { font-size: 44px !important; }
}

/* ── Custom Leaflet Map Pin ── */
.ec-map-pin {
  background: none !important;
  border: none !important;
}
