/* 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;
}

/* Links */
div.text-start a {
    color: var(--tj-color-theme-primary);
    font-weight: bold !important;
}
.anchortag {color: var(--tj-color-theme-primary) !important;
    font-weight: bold !important;}

/* 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;
}

.sec-title {
    padding-bottom: 40px;
}

/* 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%;
}

.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%;
}

.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;
}

.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;
}

.ec-career-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.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);
}

.ec-career-btn i {
    font-size: 1.1rem;
}

.ec-gov-heading {
    padding-bottom: 1rem;
}

/* 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%);
    z-index: 2;
}

.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;
}

.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: 120px;
    height: auto;
    padding: 14px 10px;
    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: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
}

/* 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;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.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;
    text-align: center;
}

.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);
}

.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;
}

.ec-core-card-icon i {
    font-size: 24px;
    color: var(--tj-color-theme-primary, #12284b);
    line-height: 1;
}

.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;
}

/* ── Services Grid (Our Core Business — 2-column) ── */
.ec-svc-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
}

.ec-svc-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.ec-svc-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--tj-color-heading-primary);
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-svc-title a {
    color: inherit;
    text-decoration: none;
}

.ec-svc-title a:hover {
    color: var(--tj-color-theme-primary);
}

.ec-svc-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tj-color-text-body);
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .ec-svc-img img {
        height: 260px;
    }

    .ec-svc-title {
        font-size: 20px;
        white-space: normal;
    }
}

/* Lead heading + para block (replaces cards + summary) */
.ec-core-lead-heading {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--tj-color-heading-primary);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.ec-core-lead-para {
    font-size: 17px;
    line-height: 1.85;
    color: var(--tj-color-text-body);
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .ec-core-lead-heading {
        font-size: 21px;
    }

    .ec-core-lead-para {
        font-size: 15px;
    }
}

/* 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);
}

.h6-service-item .h6-service-thumb img {
    transition: none !important;
    transform-origin: none !important;
    transform: none !important;
}

/* 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;
    mix-blend-mode: normal !important;
}

.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;
    }
}

/* ── Hero Stats Widget ── */
.ec-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 22px 32px;
    z-index: 3;
    animation: ec-stats-glow 4s ease-in-out infinite alternate;
}

.ec-hero-stats--left {
    position: relative;
    margin-top: 36px;
    display: inline-flex;
}

@keyframes ec-stats-glow {
    0% {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    }

    100% {
        box-shadow: 0 8px 40px rgba(13, 27, 62, 0.25);
    }
}

.ec-hero-stat-item {
    text-align: center;
    min-width: 64px;
}

.ec-hero-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: inline;
    letter-spacing: -0.02em;
}

.ec-hero-stat-plus {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.ec-hero-stat-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

.ec-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media only screen and (max-width: 767px) {
    .ec-hero-stats {
        margin-top: 20px;
        justify-content: center;
        background: rgba(13, 27, 62, 0.85);
        backdrop-filter: blur(12px);
    }
}

/* ── Hero Orbit Animation ── */
.ec-hero-orbit {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 140px;
    height: 140px;
    z-index: 3;
}

.ec-hero-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-hero-orbit-ring--1 {
    inset: 10px;
    border-color: rgba(255, 255, 255, 0.25);
    animation: ec-orbit-pulse 3s ease-in-out infinite;
}

.ec-hero-orbit-ring--2 {
    inset: 0;
    animation: ec-orbit-pulse 3s ease-in-out 1.5s infinite;
}

@keyframes ec-orbit-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.ec-hero-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -4px;
    animation: ec-dot-orbit 8s linear infinite;
}

.ec-hero-orbit-dot--1 {
    animation-delay: 0s;
    --orbit-r: 60px;
    background: rgba(255, 255, 255, 0.9);
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
}

.ec-hero-orbit-dot--2 {
    animation-delay: -2.66s;
    --orbit-r: 60px;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    background: rgba(255, 255, 255, 0.6);
}

.ec-hero-orbit-dot--3 {
    animation-delay: -5.33s;
    --orbit-r: 60px;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    background: rgba(255, 255, 255, 0.75);
}

@keyframes ec-dot-orbit {
    0% {
        transform: translate(calc(var(--orbit-r) * 1), 0);
    }

    25% {
        transform: translate(0, calc(var(--orbit-r) * -1));
    }

    50% {
        transform: translate(calc(var(--orbit-r) * -1), 0);
    }

    75% {
        transform: translate(0, calc(var(--orbit-r) * 1));
    }

    100% {
        transform: translate(calc(var(--orbit-r) * 1), 0);
    }
}

.ec-hero-orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-hero-orbit-core img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media only screen and (max-width: 991px) {
    .ec-hero-orbit {
        display: none;
    }
}

/* ── Full-width hero banner (Our Core Business page) ── */
.ec-banner-fullwidth {
    padding-top: 20px;
}

.ec-banner-fullwidth .banner-area {
    display: block;
    min-height: 0;
}

.ec-banner-fullwidth .banner-right-box {
    width: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.ec-banner-fullwidth .ec-hero-orbit {
    right: auto;
    left: 30px;
    bottom: 30px;
}

.ec-banner-fullwidth.ec-banner-orbit-right .ec-hero-orbit {
    left: auto;
    right: 30px;
}

/* Fixed-height variant for pages like International Real Estate */
.ec-banner-fullwidth.ec-banner-fixed-height .banner-right-box {
    height: 420px;
    min-height: 0;
}

.ec-banner-fullwidth.ec-banner-fixed-height .banner-img,
.ec-banner-fullwidth.ec-banner-fixed-height .banner-img img {
    height: 420px;
    object-fit: cover;
}

@media only screen and (min-width: 1400px) and (max-width: 1600px),
only screen and (min-width: 1200px) and (max-width: 1399px) {
    .ec-banner-fullwidth .banner-right-box {
        min-height: 420px;
    }

    .ec-banner-fullwidth.ec-banner-fixed-height .banner-right-box {
        height: 360px;
        min-height: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ec-banner-fullwidth .banner-right-box {
        min-height: 340px;
    }

    .ec-banner-fullwidth.ec-banner-fixed-height .banner-right-box {
        height: 300px;
        min-height: 0;
    }
}

@media only screen and (max-width: 767px) {
    .ec-banner-fullwidth .banner-right-box {
        min-height: 260px;
    }

    .ec-banner-fullwidth.ec-banner-fixed-height .banner-right-box {
        height: 220px;
        min-height: 0;
    }
}

/* ── Core Values Accordion Gradient Animation ── */
.h7-faq .tj-faq.style-2 .accordion-item.active {
    background: linear-gradient(135deg, #0f1f42, #12244a, #142850, #12244a, #0f1f42) !important;
    background-size: 400% 400% !important;
    animation: ec-accordion-gradient 24s linear infinite;
    border-radius: 12px;
    transition: all 0.4s ease;
}

@keyframes ec-accordion-gradient {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.h7-faq .tj-faq.style-2 .accordion-item {
    border-radius: 12px;
    transition: all 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ecf2, #edf0f5, #e8ecf2, #ebeef4) !important;
    background-size: 400% 400% !important;
    animation: ec-accordion-gradient-idle 24s linear infinite;
}

@keyframes ec-accordion-gradient-idle {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.h7-faq .tj-faq.style-2 .accordion-item.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    animation: ec-accordion-shimmer 16s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ec-accordion-shimmer {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15%, 15%);
    }

    100% {
        transform: translate(0, 0);
    }
}

.h7-faq .tj-faq.style-2 .accordion-item.active .faq-title {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.h7-faq .tj-faq.style-2 .accordion-item.active .faq-title::after {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ── Core Values Animated SVG Icons ── */
.h7-faq .tj-faq .accordion-item {
    position: relative;
}

.ec-value-body {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ec-value-body p {
    margin: 0;
    flex: 1 1 auto;
}

.ec-value-icon {
    position: static;
    transform: none;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    pointer-events: none;
    flex: 0 0 72px;
}

.ec-value-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .ec-value-body {
        display: block;
    }

    .ec-value-icon {
        display: none;
    }
}

/* Shield — draw in */
.ec-svg-shield {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
}

.accordion-item.active .ec-svg-shield {
    animation: ec-draw 1.6s ease forwards;
}

.ec-svg-check {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}

.accordion-item.active .ec-svg-check {
    animation: ec-draw 0.6s ease 1s forwards;
}

/* Star — draw in + pulse ring */
.ec-svg-star {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.accordion-item.active .ec-svg-star {
    animation: ec-draw-long 1.4s ease forwards;
}

.ec-svg-pulse {
    transform-origin: center;
    opacity: 0;
}

.accordion-item.active .ec-svg-pulse {
    animation: ec-ring-pulse 2.5s ease-in-out 1.2s infinite;
}

@keyframes ec-ring-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    40% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Eye — draw + blink */
.ec-svg-eye-outer {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
}

.accordion-item.active .ec-svg-eye-outer {
    animation: ec-draw-long 1.2s ease forwards;
}

.ec-svg-eye-iris {
    stroke-dasharray: 64;
    stroke-dashoffset: 64;
}

.accordion-item.active .ec-svg-eye-iris {
    animation: ec-draw 0.8s ease 0.6s forwards;
}

.ec-svg-eye-pupil {
    transform-origin: center;
    opacity: 0;
}

.accordion-item.active .ec-svg-eye-pupil {
    animation: ec-fade-in 0.4s ease 1s forwards, ec-blink 4s ease-in-out 2s infinite;
}

@keyframes ec-blink {

    0%,
    42%,
    50%,
    100% {
        transform: scaleY(1);
    }

    46% {
        transform: scaleY(0.1);
    }
}

/* Clipboard — draw + tick marks appear sequentially */
.ec-svg-clipboard {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.accordion-item.active .ec-svg-clipboard {
    animation: ec-draw-long 1.2s ease forwards;
}

.ec-svg-line1,
.ec-svg-line2,
.ec-svg-line3 {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
}

.accordion-item.active .ec-svg-line1 {
    animation: ec-draw-short 0.4s ease 0.8s forwards;
}

.accordion-item.active .ec-svg-line2 {
    animation: ec-draw-short 0.4s ease 1s forwards;
}

.accordion-item.active .ec-svg-line3 {
    animation: ec-draw-short 0.4s ease 1.2s forwards;
}

.accordion-item.active .ec-svg-tick1 {
    animation: ec-fade-in 0.3s ease 1.4s forwards;
}

.accordion-item.active .ec-svg-tick2 {
    animation: ec-fade-in 0.3s ease 1.7s forwards;
}

.accordion-item.active .ec-svg-tick3 {
    animation: ec-fade-in 0.3s ease 2s forwards;
}

/* Shared keyframes */
@keyframes ec-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ec-draw-long {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ec-draw-short {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ec-fade-in {
    to {
        opacity: 1;
    }
}

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

/* ── Match em colour in core business heading to the rest of the title ── */
.ec-core-heading em {
    color: inherit;
    font-style: normal;
}

/* ── Reduce bottom gap on Investment Strategy section after removing bottom text ── */
.tj-service-section-5.section-gap {
    padding-bottom: 40px;
}

/* ── Choose section: image column min-height on mobile ── */
.tj-choose-section .countup-item.style-2.flex-grow-1 {
    min-height: 400px;
}

/* ── Choose cards: disable hover animation ── */
.choose-box {
    transition: none;
}

.choose-box:hover {
    background-color: var(--tj-color-common-white);
}

.choose-box:hover .choose-icon {
    color: var(--tj-color-theme-primary);
    animation: none;
}

.choose-box:hover .btn-icon {
    background-color: inherit;
}

.choose-box:hover .btn-text,
.choose-box:hover .desc,
.choose-box:hover .title {
    color: inherit;
}

/* ── Real Estate Advisory: advisory services section — light background ── */
.h9-service {
    background-color: #eeece9 !important;
}

.h9-service .sec-heading.style-8 .sub-title {
    color: var(--tj-color-theme-dark) !important;
    border-color: var(--tj-color-theme-dark) !important;
}

.h9-service .sec-heading.style-8 .sub-title img {
    filter: none;
}

.h9-service .sec-heading.style-8 .sec-title {
    color: var(--tj-color-theme-dark) !important;
}

.h9-service .tj-scroll-progress {
    background-color: #eeece9 !important;
}

.h9-service .tj-scroll-progress::before {
    background: linear-gradient(180deg, #eeece9, transparent) !important;
}

.h9-service .tj-scroll-progress-item .tj-scroll-progress-sln {
    color: var(--tj-color-theme-dark) !important;
}

/* ── Fix overlap: Investment Strategy slides over sticky panel section ── */
.h7-project.tj-sticky-panel-container {
    position: relative;
    z-index: 1;
}

.tj-service-section-5 {
    position: relative;
    z-index: 2;
    background-color: var(--tj-color-light-1, #fff);
}


/* ── Real Estate Advisory Hero Height ── */
/* Suppress template's dark gradient overlay so the video background is visible */
.h4-banner-content {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.h4-banner-content::before {
    content: "";
    position: absolute;
    bottom: 0 !important;
    inset-inline-end: 0 !important;
    width: 0px !important;
    height: 0px !important;
    border-radius: 0 !important;
    background: none !important;
    -webkit-filter: none !important;
    filter: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
    backdrop-filter: blur(10px);
    display: none !important;
}

.h4-banner-content .banner-title {
    font-size: 58px;
}

.h9-hero .h9-hero-item::after {
    display: none;
}

.h9-hero .h9-hero-item {
    min-height: 20vh !important;
    height: auto !important;
    background: transparent !important;
}

@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    .h9-hero .h9-hero-item {
        height: 20vh !important;
    }
}

.h9-hero .h9-hero-item-wrapper {
    min-height: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
    .h4-banner-content .banner-title {
        font-size: 35px;
    }
}

/* Real Estate Advisory hero h1 colour */
.h9-hero .h9-hero-content h1 {
    color: #ffffff \!important;
}

/* ── Sustainability: remove sec-heading max-width constraint ── */
.tj-choose-section .sec-heading {
    max-width: none;
}

/* ── Sustainability: pillars section image ── */
.ec-sustainability-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ── Media Contact: image column wrapper ── */
.ec-media-img-wrap {
    background: #dde8f0;
    padding: 2rem;
    border-radius: 0.375rem;
}

/* Complaints download CTA banner */
.ec-download-cta-section {
    background-color: #f0ede8;
    background-image: url('../images/shape/ec/dots-grid.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
    padding: 3rem 0;
}

.ec-download-cta-text {
    font-size: 2rem;
    font-weight: 700;
    color: #0f1f42;
    margin: 0;
}


/* ── Disable card hover animations ── */

/* team-item — subsidiaries page */
.team-item .team-img img {
    transition: none !important;
}

.team-item:hover .team-img img {
    transform: none !important;
}

.team-item:hover .team-img::before {
    opacity: 0 !important;
}

.team-item:hover .team-img::after {
    transform: none !important;
}

/* project-item */
.project-area .project-item .project-img {
    transition: none !important;
}

.project-area .project-item:hover .project-img {
    transform: none !important;
}

.project-item:hover .project-img img {
    transform: none !important;
}

.project-slider .project-item:hover .project-img {
    transform: none !important;
}

/* blog-item */
.blog-item .blog-thumb img {
    transition: none !important;
}

.blog-item:hover .blog-thumb img {
    transform: none !important;
}

/* ── News Carousel Navigation ── */
.ec-news-swiper {
    overflow: hidden;
    padding-bottom: 0;
}

.ec-news-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.ec-news-prev,
.ec-news-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(18, 40, 75, 0.2);
    background: #fff;
    color: var(--tj-color-theme-dark, #12284b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ec-news-prev:hover,
.ec-news-next:hover {
    background: var(--tj-color-theme-primary, #12284b);
    border-color: var(--tj-color-theme-primary, #12284b);
    color: #fff;
}

/* Hero rating box – centre the experience descriptor text */
.h4-banner-section .banner-img-area .h4-rating-box .desc {
    text-align: center;
}

/* Hero rating box – reduce font size so "20+" fits between the full-height 42px wreaths */
/* mask-size: auto 100% forces the wreath SVG to scale to full element height (keeps aspect ratio) */
.h4-banner-section .banner-img-area .h4-rating-box .title::before,
.h4-banner-section .banner-img-area .h4-rating-box .title::after {
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
}

.h4-banner-section .banner-img-area .h4-rating-box .title {
    font-size: 58px;
    padding-inline: 46px;
}

/* 576–767 px */
@media (min-width: 576px) and (max-width: 767px) {
    .h4-banner-section .banner-img-area .h4-rating-box .title {
        font-size: 44px;
        padding-inline: 44px;
    }
}

/* ≤ 575 px */
@media (max-width: 575px) {
    .h4-banner-section .banner-img-area .h4-rating-box .title {
        font-size: 36px;
        padding-inline: 38px;
    }
}

/* Mobile hamburger drawer – lang switcher inside hamburger_top row */
.hamburger-area .hamburger_top .ec-lang-switcher-mobile {
    margin: 0;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.hamburger-area .hamburger_top .ec-lang-switcher-mobile a {
    color: rgba(255, 255, 255, 0.85);
}

.hamburger-area .hamburger_top .ec-lang-switcher-mobile a.active {
    color: #12284b;
    background-color: #ffffff;
}

.hamburger-area .hamburger_top .ec-lang-switcher-mobile span {
    color: rgba(255, 255, 255, 0.5);
}

/* Sticky header – keep active lang-switcher link legible (white on navy) */
.header-area.header-sticky.sticky .ec-lang-switcher a.active {
    color: #ffffff;
}

/* Disable button text scroll on hover – keep text static, arrow still animates */
.tj-primary-btn .btn-text span {
    text-shadow: none;
}

.tj-primary-btn:hover .btn-text span {
    transform: none;
}

/* Investment Strategy – equal 50/50 columns instead of fixed-width image */
.service-item.style-5 {
    flex-wrap: nowrap;
}

.service-item.style-5 .service-content-area {
    width: 50%;
    flex-shrink: 0;
}

.service-item.style-5 .service-content {
    max-width: none;
}

.service-item.style-5 .title {
    max-width: none;
}

.service-item.style-5 .service-img {
    width: 50%;
    max-width: none;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .service-item.style-5 {
        flex-wrap: wrap;
    }

    .service-item.style-5 .service-content-area,
    .service-item.style-5 .service-img {
        width: 100%;
    }
}

/* Hide arrow buttons on project/venture cards */
.project-item .tji-icon-btn,
.project-item .project-btn {
    display: none !important;
}

/* Venture slider – align card images vertically by fixing content height */
.project-slider-3 .project-item.h4-project-item {
    display: flex;
    flex-direction: column;
}

.project-slider-3 .project-item.h4-project-item .project-content {
    min-height: 120px;
}

/* Accordion body – remove max-width constraint for value descriptions */
.h7-faq-wrapper.style-2 .accordion-item .accordion-body {
    max-width: none;
}

.tj-faq .accordion-item .accordion-body p.fs-5 {
    font-size: 1.1rem;
}

/* Homepage banner stats overlay (on the banner image, alongside h4-rating-box) */
.h4-banner-section .banner-img-area .ec-banner-stats-overlay {
    position: absolute;
    bottom: 30px;
    inset-inline-end: 30px;
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px 10px;
    z-index: 2;
}
.ec-banner-stats-overlay .ec-stat-box {
    padding: 5px 18px;
    text-align: center;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
}
.ec-banner-stats-overlay .ec-stat-box:last-child {
    border-inline-end: none;
}
.ec-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.ec-stat-value {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
}
.ec-stat-unit {
    font-size: 16px;
    font-weight: 600;
}
.ec-stat-note {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .h4-banner-section .banner-img-area .ec-banner-stats-overlay {
        padding: 15px 8px;
    }
    .ec-stat-value {
        font-size: 32px;
    }
    .ec-banner-stats-overlay .ec-stat-box {
        padding: 5px 12px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .h4-banner-section .banner-img-area .ec-banner-stats-overlay {
        padding: 12px 6px;
    }
    .ec-stat-value {
        font-size: 28px;
    }
    .ec-stat-unit {
        font-size: 13px;
    }
    .ec-banner-stats-overlay .ec-stat-box {
        padding: 4px 10px;
    }
}
@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
    .h4-banner-section .banner-img-area .ec-banner-stats-overlay {
        flex-wrap: wrap;
        bottom: 15px;
        inset-inline-end: 15px;
        max-width: 200px;
        padding: 12px 8px;
    }
    .ec-banner-stats-overlay .ec-stat-box {
        width: 50%;
        padding: 8px 6px;
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .ec-banner-stats-overlay .ec-stat-box:nth-child(odd) {
        border-inline-end: 1px solid rgba(255, 255, 255, 0.15);
    }
    .ec-banner-stats-overlay .ec-stat-box:nth-child(n+3) {
        border-bottom: none;
    }
    .ec-stat-value {
        font-size: 24px;
    }
    .ec-stat-unit {
        font-size: 11px;
    }
    .ec-stat-label {
        font-size: 9px;
    }
}

/* Header menu & phone font sizes */
.mainmenu ul > li > a {
    font-size: 19px;
}
.header-contact {
    font-size: 19px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .header-wrapper {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .site_logo .logo {
        max-width: 110px;
    }
    .mainmenu ul > li > a {
        font-size: 14px;
        padding: 30px 0;
    }
    .mainmenu ul > li.has-dropdown > a,
    .mainmenu ul > li.menu-item-has-children > a {
        padding-inline-end: 14px;
    }
    .menu-area {
        gap: 8px;
    }
    .header-right-item {
        gap: 8px;
    }
    .header-contact {
        display: none;
    }
    .tj-primary-btn .btn-text span {
        font-size: 13px;
    }
}
/* Footer */
@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
    .footer-main-area {
        padding: 70px 20px !important;
    }
}
