/* ==========================================================
   BLACK HARBOR GROUP - ADVANCED INSTITUTIONAL DESIGN SYSTEM
   Premium aesthetics for the next-gen investment portal
   ----------------------------------------------------------
   Includes: Harbor Glass, Focus Pillar, and Metric Cards
   ========================================================== */

:root {
    --gold-primary: #b28c40;
    --gold-hover: #d4a84e;
    --navy-deep: var(--bg-navy);
    --navy-glass: rgba(var(--rgb-navy), 0.7);
    --white-soft: #0a0a0a;
    --transition-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-buttery: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- LEGACY RESET: Disable standard theme interference --- */
.ttm-vertical_sep>[class*='col-']:not(:last-child):before {
    display: none !important;
}

/* --- NAVIGATION: Active State Indicator --- */
.mega-menu-item.active>a {
    color: var(--gold-primary) !important;
    position: relative;
}


.featured-icon-box.style1,
.featured-icon-box.style2,
.featured-icon-box.style3 {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* --- GLOBAL: Full-width section foundations --- */
.credibility-section,
.sectors-section,
.criteria-section,
.differentiation-section,
.insights-section,
.cta-section,
.submit-project-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

/* --- Section Backgrounds with Subtle Noise/Grain --- */
.services-section.ttm-bgcolor-darkgrey,
.approach-section.ttm-bgcolor-darkgrey,
.submit-project-section {
    background: radial-gradient(circle at top right, var(--bg-navy-light), var(--bg-navy)) !important;
}

.services-section.ttm-bgcolor-darkgrey::before,
.approach-section.ttm-bgcolor-darkgrey::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ===================================================
   COMPONENT: HARBOR GLASS (Dark Mode Advanced)
   Features: Layered glass, border glow, micro-motion
=================================================== */
.harbor-glass {
    background: var(--navy-glass) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 45px 35px !important;
    transition: transform 0.6s var(--transition-buttery),
        box-shadow 0.6s var(--transition-buttery),
        border-color 0.6s var(--transition-buttery) !important;
    position: relative;
    overflow: hidden;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.harbor-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.9s var(--transition-premium);
}

.harbor-glass:hover::before {
    transform: translateX(100%);
}

.harbor-glass:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(178, 140, 64, 0.5) !important;
    box-shadow: 0 40px 80px -15px rgba(var(--rgb-navy), 0.6), 0 0 30px rgba(178, 140, 64, 0.15);
}

.harbor-glass .ttm-icon {
    background: transparent !important;
    border: 1px solid rgba(178, 140, 64, 0.4) !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 58px !important;
    border-radius: 12px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--transition-buttery) !important;
}

.harbor-glass .ttm-icon i {
    font-size: 26px !important;
    color: var(--gold-primary) !important;
    transition: transform 0.5s var(--transition-buttery), color 0.5s ease !important;
}

.harbor-glass:hover .ttm-icon {
    background: rgba(178, 140, 64, 0.1) !important;
    box-shadow: 0 10px 25px rgba(178, 140, 64, 0.2);
    border-color: var(--gold-primary) !important;
}

.harbor-glass:hover .ttm-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(178, 140, 64, 0.6));
}

.harbor-glass .featured-title h3 {
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.harbor-glass .featured-desc p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.harbor-subtitle {
    display: block;
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ===================================================
   COMPONENT: FOCUS PILLAR (Light Mode Advanced)
   Features: Offset shadow, pillar accent, clean aesthetic
=================================================== */
.focus-pillar {
    background: var(--bg-white) !important;
    border-radius: 16px !important;
    padding: 35px 32px !important;
    box-shadow: 0 4px 20px -4px rgba(var(--rgb-navy), 0.06);
    transition: transform 0.5s var(--transition-buttery),
        box-shadow 0.5s var(--transition-buttery),
        border-color 0.5s var(--transition-buttery) !important;
    border: 1px solid rgba(var(--rgb-navy), 0.06) !important;
    position: relative;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    height: 100%;
    overflow: hidden;
}

.focus-pillar.with-image {
    padding: 0 !important;
    position: relative;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(var(--rgb-navy), 0.1);
    background: var(--bg-navy) !important;
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.focus-pillar.with-image .pillar-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%!important;
    z-index: 1;
}

.focus-pillar.with-image .pillar-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--rgb-navy), 0.95) 0%, rgba(var(--rgb-navy),0.6) 40%, transparent 100%);
    pointer-events: none;
    transition: background 0.5s ease;
}

.focus-pillar.with-image:hover .pillar-image::after {
    background: linear-gradient(to top, rgba(var(--rgb-navy),0.95) 0%, rgba(var(--rgb-navy),0.7) 50%, rgba(var(--rgb-navy),0.2) 100%);
}

.focus-pillar.with-image .pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.focus-pillar.with-image:hover .pillar-image img {
    transform: scale(1.1);
}

.focus-pillar.with-image .pillar-content-wrap {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.focus-pillar.with-image .featured-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #b28c40;
    margin-bottom: 12px;
    position: relative;
}

.focus-pillar.with-image .featured-desc p {
    color: white!important;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.focus-pillar.with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold-primary);
    z-index: 3;
    transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.focus-pillar.with-image:hover::before {
    height: 100%;
}

.focus-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gold-primary), rgba(178, 140, 64, 0.3));
    border-radius: 0 4px 4px 0;
    transition: height 0.5s var(--transition-premium);
}

.focus-pillar:hover::before {
    height: 100%;
}

.focus-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 140, 64, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.focus-pillar:hover::after {
    opacity: 1;
}

.focus-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(17, 24, 39, 0.12);
    border-color: rgba(178, 140, 64, 0.25) !important;
}

.focus-pillar .featured-icon {
    flex-shrink: 0;
}

.focus-pillar .ttm-icon {
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    background: linear-gradient(135deg, rgba(178, 140, 64, 0.08), rgba(178, 140, 64, 0.15)) !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
    position: relative;
    transition: transform 0.5s var(--transition-buttery), background 0.5s ease-in-out !important;
}

.focus-pillar .ttm-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1.5px solid rgba(178, 140, 64, 0.1);
    border-radius: 20px;
    transition: all 0.5s var(--transition-buttery);
}

.focus-pillar:hover .ttm-icon {
    background: linear-gradient(135deg, rgba(178, 140, 64, 0.15), rgba(178, 140, 64, 0.25)) !important;
    transform: scale(1.08);
}

.focus-pillar:hover .ttm-icon::before {
    inset: -8px;
    border-color: rgba(178, 140, 64, 0.3);
}

.focus-pillar .ttm-icon i {
    font-size: 28px !important;
    color: var(--gold-primary) !important;
    transition: all 0.5s var(--transition-buttery) !important;
}

.focus-pillar .featured-content {
    flex: 1;
    min-width: 0;
}

.focus-pillar .featured-title h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.focus-pillar .featured-desc p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

/* ===================================================
   COMPONENT: CRITERIA METRIC (Advanced Statistical)
   Features: Horizontal flow, typographic emphasis
=================================================== */
.criteria-metric {
    background: var(--bg-white) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.5s var(--transition-buttery), box-shadow 0.5s ease !important;
    position: relative;
    height: 100%;
}

.criteria-metric::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(178, 140, 64, 0.1);
    border-radius: 4px 0 0 4px;
    transition: background 0.5s var(--transition-buttery);
}

.criteria-metric:hover::before {
    background: var(--gold-primary);
}

.criteria-metric:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(var(--rgb-navy), 0.08);
}

.criteria-metric .ttm-fid-icon-wrapper {
    margin-bottom: 16px !important;
}

.criteria-metric .ttm-fid-icon-wrapper i {
    font-size: 42px !important;
    color: var(--gold-primary) !important;
    transition: transform 0.5s var(--transition-buttery) !important;
}

.criteria-metric:hover .ttm-fid-icon-wrapper i {
    transform: scale(1.1) rotate(-5deg);
}

.criteria-metric .ttm-fid-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 4px !important;
    transition: color 0.4s ease;
}

.criteria-metric .ttm-fid-desc {
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    color: var(--gold-primary) !important;
    text-transform: uppercase;
    margin-bottom: 12px !important;
}

.criteria-metric .ttm-fid-detail {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* --- OVERRIDES FOR LEGACY DARK MODE LEAKAGE --- */
.ttm-bgcolor-darkgrey .criteria-metric,
.ttm-bgcolor-darkgrey .criteria-metric.h-100 {
    background-color: var(--text-dark) !important;
    border: none !important;
}

.ttm-bgcolor-darkgrey .criteria-metric .ttm-fid-title {
    color: var(--text-dark) !important;
}

.ttm-bgcolor-darkgrey .criteria-metric .ttm-fid-desc {
    color: var(--text-slate) !important;
}

.ttm-bgcolor-white .title-desc p,
.ttm-bgcolor-white .ttm-list-li-content {
    color: #444444 !important;
}

.ttm-bgcolor-white h2.title {
    color: var(--text-dark) !important;
}

/* --- Section Title Refinement --- */
.section-title h3 {
    letter-spacing: 4px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--gold-primary) !important;
}

.section-title h2.title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -1.8px !important;
    text-transform: none !important;
    color: inherit;
    transition: letter-spacing 0.8s var(--transition-premium);
}

/* ===================================================
   ANIMATIONS & PREMIUM TOUCHES
=================================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-gold {
    background-image: linear-gradient(90deg,
            rgba(178, 140, 64, 0) 0%,
            rgba(178, 140, 64, 0.4) 50%,
            rgba(178, 140, 64, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

/* Button Upgrades */
.ttm-btn.ttm-btn-color-darkgrey {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--transition-buttery), box-shadow 0.4s ease !important;
}

.ttm-btn.ttm-btn-color-darkgrey::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(178, 140, 64, 0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.8s var(--transition-premium);
}

.ttm-btn.ttm-btn-color-darkgrey:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(178, 140, 64, 0.25);
}

.ttm-btn.ttm-btn-color-darkgrey:hover::after {
    left: 100%;
    top: 100%;
}

/* Support for focus-pillar on article boxes */
.featured-imagebox-post.focus-pillar {
    text-align: left;
    padding: 35px !important;
    cursor: pointer;
}

.featured-imagebox-post.focus-pillar .post-title h3 a {
    color: var(--text-dark) !important;
    transition: color 0.4s ease;
}

.featured-imagebox-post.focus-pillar:hover .post-title h3 a {
    color: var(--gold-primary) !important;
}

/* ===================================================
   ABOUT US ADVANCED COMPONENTS
=================================================== */

/* Advanced Split Image Composition */
.advanced-split-image {
    position: relative;
    padding: 20px 30px 40px 20px;
    display: inline-block;
    z-index: 1;
}

/* Elegant Offset Border Frame */
.advanced-split-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20px;
    left: 40px;
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    z-index: 0;
    transition: all 0.6s var(--transition-buttery);
}

.advanced-split-image:hover::before {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 30px;
    background: rgba(178, 140, 64, 0.03);
}

.advanced-split-image img.main-img {
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(var(--rgb-navy), 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.6s var(--transition-buttery);
}

.advanced-split-image:hover img.main-img {
    transform: translateY(-10px);
}

/* Redesigned Floating Stats Card */
.advanced-split-image .floating-stats-card {
    position: absolute;
    bottom: 0;
    left: -30px;
    background: linear-gradient(135deg, rgba(var(--rgb-navy), 0.95), rgba(var(--rgb-navy), 0.85));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(178, 140, 64, 0.3);
    border-left: 4px solid var(--gold-primary);
    border-radius: 12px;
    padding: 25px 35px;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(var(--rgb-navy), 0.25);
    animation: float-card 6s ease-in-out infinite;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.advanced-split-image .floating-stats-card i {
    font-size: 45px;
    color: var(--gold-primary);
}

.advanced-split-image .floating-stats-card .stats-info h3 {
    color: var(--gold-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    margin-bottom: 2px;
    font-weight: 800;
    line-height: 1;
}

.advanced-split-image .floating-stats-card .stats-info p {
    color: var(--text-dark) !important;
    margin-bottom: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Advanced Leadership Card */
.advanced-leadership-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 15px 35px rgba(var(--rgb-navy), 0.05);
    transition: all 0.6s var(--transition-buttery);
    cursor: pointer;
    border: 1px solid rgba(var(--rgb-navy), 0.05);
    max-width: 340px;
    margin: 0 auto;
}

.advanced-leadership-card .leader-img {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.advanced-leadership-card .leader-img img {
    transition: transform 0.8s var(--transition-buttery), filter 0.8s ease;
    filter: grayscale(100%) contrast(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.advanced-leadership-card:hover .leader-img img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.0);
}

.advanced-leadership-card .leader-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--rgb-navy), 0.9) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.advanced-leadership-card:hover .leader-overlay {
    opacity: 1;
}

.advanced-leadership-card .social-links {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--transition-buttery);
}

.advanced-leadership-card:hover .social-links {
    transform: translateY(0);
    opacity: 1;
}

.advanced-leadership-card .social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.advanced-leadership-card .social-links a:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.advanced-leadership-card .leader-info {
    padding: 25px;
    text-align: left;
    background: var(--bg-white);
    position: relative;
    z-index: 2;
}

.advanced-leadership-card .leader-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--navy-deep);
}

.advanced-leadership-card .leader-info .designation {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.advanced-leadership-card .leader-info p {
    color: var(--text-slate);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.advanced-leadership-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(var(--rgb-navy), 0.15);
    border-color: rgba(178, 140, 64, 0.3);
}

/* Contact Info Block */
.contact-info-block {
    padding: 45px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(178, 140, 64, 0.1), rgba(178, 140, 64, 0.2));
    border: 1px solid rgba(178, 140, 64, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-info-item:hover .icon {
    background: var(--gold-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(178, 140, 64, 0.3);
}

.contact-info-item .content h4 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-item .content p,
.contact-info-item .content a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-info-item .content a:hover {
    color: var(--gold-primary);
}

/* Premium Gold Button */
.btn-premium-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s var(--transition-buttery);
    display: inline-block;
    border: none;
    box-shadow: 0 10px 20px rgba(178, 140, 64, 0.3);
}

.btn-premium-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(178, 140, 64, 0.4);
    color: #fff !important;
}

/* --- 11. PREMIUM MODAL: Submit Deal --- */
.harbor-glass-modal {
    background: linear-gradient(135deg, rgba(var(--rgb-navy), 0.98), rgba(20, 30, 45, 0.98)) !important;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(178, 140, 64, 0.25) !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 100px rgba(var(--rgb-navy), 0.5) !important;
    overflow-y: auto !important;
    max-height: 90vh !important;
}

.modal-backdrop.show {
    opacity: 0.92;
    background-color: #050a10;
}

.harbor-glass-modal .close:hover {
    color: var(--gold-primary) !important;
    opacity: 1 !important;
}

.harbor-glass-modal .modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(255, 255, 255, 0.05);
}

.harbor-glass-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.harbor-glass-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
}

@media (max-width: 575px) {
    .harbor-glass-modal {
        margin: 10px auto !important;
        width: 95% !important;
        max-height: 85vh !important;
    }

    .harbor-glass-modal .modal-body {
        padding: 30px 20px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===================================================
   LOGO ENHANCEMENT: Institutional 3D Visuals
=================================================== */
.site-branding .home-link,
.footer-logo-container {
    perspective: 1000px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#logo-img,
.footer-logo-container img {
    transition: all 0.6s var(--transition-premium);
    filter: drop-shadow(0 0 8px rgba(178, 140, 64, 0.15)) contrast(1.05) brightness(1.02);
    transform-style: preserve-3d;
    animation: logoEntrance 1.2s var(--transition-premium) forwards;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-10px) rotateX(-20deg) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

.site-branding .home-link:hover #logo-img,
.footer-logo-container:hover img {
    transform: rotateX(15deg) rotateY(-10deg) scale(1.08);
    filter: drop-shadow(0 20px 40px rgba(var(--rgb-navy), 0.4)) brightness(1.15) saturate(110%);
}

/* Shine Sweep Animation */
.site-branding .home-link::after,
.footer-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-35deg);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.site-branding .home-link:hover::after,
.footer-logo-container:hover::after {
    left: 200%;
    transition: all 0.9s var(--transition-premium);
}

/* Footer specific refinement */
.footer-logo-container {
    border-bottom: 2px solid var(--gold-primary) !important;
}

/* ===================================================
   MOBILE RESPONSIVENESS & ALIGNMENT FIXES
=================================================== */
@media (max-width: 991px) {
    #site-header-menu.site-header-menu {
        background: linear-gradient(115deg, var(--bg-navy) 65%, var(--bg-white) 65.1%) !important;
    }

    .menubar-inner,
    .menubar-inner::before,
    .menubar-inner::after {
        background-color: var(--gold-primary) !important;
    }

    .site-branding {
        padding-left: 25px !important;
        justify-content: flex-start !important;
    }

    /* Hero Sections & Banners */
    .hero-inner,
    .strategy-hero,
    .sc-hero,
    .cs-hero,
    .ttm-banner-text-inner,
    .ttm-banner-text-inner.text-left {
        text-align: center !important;
        padding: 80px 20px !important;
    }

    .ttm-banner-content .container .row .col-lg-12 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-inner h1,
    .strategy-hero h1,
    .sc-hero h1,
    .cs-hero h1,
    .ttm-banner-text-inner h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .hero-inner h2,
    .strategy-hero h2,
    .ttm-banner-text-inner h2 {
        font-size: 20px !important;
        text-align: center !important;
    }

    .hero-inner .hero-sub,
    .strategy-hero .hero-sub,
    .sc-hero .hero-sub,
    .cs-hero .hero-desc,
    .ttm-banner-text-inner p {
        font-size: 16px !important;
        margin: 0 auto 30px !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }

    /* Hero Buttons Container */
    .hero-inner .mt-5,
    .strategy-hero .mt-5,
    .ttm-banner-text-inner .mt-5 {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        margin-top: 30px !important;
        width: 100% !important;
    }

    /* Metric & Criteria Cards (Forced Centering) */
    .criteria-metric,
    .ttm-fid.criteria-metric,
    .ttm-fid.ttm-fid-view-lefticon {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 40px 20px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .criteria-metric .ttm-fid-icon-wrapper,
    .ttm-fid-icon-wrapper {
        margin: 0 0 20px 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .ttm-fid-icon-wrapper i {
        margin: 0 !important;
        float: none !important;
    }

    .ttm-fid-contents {
        text-align: center !important;
        width: 100% !important;
    }

    .ttm-fid-contents.text-left {
        text-align: center !important;
    }

    .criteria-metric .ttm-fid-title,
    .ttm-fid-title {
        font-size: 24px !important;
        text-align: center !important;
        display: block !important;
    }

    /* Global Sections Reset */
    .credibility-section,
    .sectors-section,
    .criteria-section,
    .differentiation-section,
    .insights-section,
    .cta-section {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Harbor Glass & Focus Pillar */
    .harbor-glass {
        text-align: center !important;
        padding: 40px 25px !important;
        margin-bottom: 30px !important;
    }

    .focus-pillar {
        padding: 25px 20px !important;
        margin-bottom: 20px !important;
        gap: 16px !important;
    }

    .focus-pillar .ttm-icon {
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        border-radius: 12px !important;
    }

    .focus-pillar .ttm-icon i {
        font-size: 22px !important;
    }

    .focus-pillar .featured-title h3 {
        font-size: 17px;
    }

    .focus-pillar .featured-desc p {
        font-size: 13.5px;
    }

    .harbor-glass .ttm-icon,
    .focus-pillar .ttm-icon {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* CTA Section */
    .cta-section .text-lg-right {
        text-align: center !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 575px) {

    .hero-inner h1,
    .strategy-hero h1 {
        font-size: 28px !important;
    }

    .section-title h2.title {
        font-size: 26px !important;
    }

    .advanced-split-image .floating-stats-card {
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        margin: 0 15px !important;
        bottom: -20px !important;
    }
}

/* ===================================================
   LENIS SMOOTH SCROLL OPTIMIZATION
=================================================== */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- CUSTOM CHECKBOX: Institutional Gold --- */
.custom-checkbox-gold {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 25px;
    text-align: left;
}

.custom-checkbox-gold input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-gold {
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(178, 140, 64, 0.4);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s var(--transition-buttery);
    margin-top: 2px;
}

.custom-checkbox-gold:hover input~.checkmark-gold {
    border-color: var(--gold-primary);
    background-color: rgba(178, 140, 64, 0.1);
}

.custom-checkbox-gold input:checked~.checkmark-gold {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(178, 140, 64, 0.3);
}

.checkmark-gold:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-gold input:checked~.checkmark-gold:after {
    display: block;
}

.checkbox-text-gold {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
}

.checkbox-text-gold a {
    color: var(--gold-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-text-gold a:hover {
    color: var(--gold-hover);
}

/* ===================================================
   HERO ADVANCED BUTTON
=================================================== */
.btn-hero-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #e6c57a 50%, var(--gold-hover) 100%);
    background-size: 200% auto;
    color: var(--navy-deep) !important;
    padding: 16px 30px;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s var(--transition-buttery);
    border: none;
    box-shadow: 0 15px 35px rgba(178, 140, 64, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    z-index: 1;
}

.btn-hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.7s var(--transition-buttery);
    z-index: -1;
}

.btn-hero-premium:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 25px 45px rgba(178, 140, 64, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.6);
    background-position: right center;
    color: #000 !important;
}

.btn-hero-premium:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.btn-hero-premium i {
    margin-left: 12px;
    font-size: 22px;
    transition: transform 0.4s var(--transition-buttery);
}

.btn-hero-premium:hover i {
    transform: translateX(6px);
}

/* ===================================================
   NEW ADVANCED SECTIONS (Why It Matters, Network, Transparency)
=================================================== */

/* Section Overrides */
.ttm-bgcolor-dark-navy { background-color: #0b111a !important; }

/* --- Advanced Why It Matters Cards --- */
.matter-card-adv {
    padding: 35px 30px !important;
    text-align: left;
    border-radius: 20px !important;
    border-left: 3px solid var(--gold-primary) !important;
}
.matter-icon-adv {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(178, 140, 64, 0.2), rgba(178, 140, 64, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 26px;
    margin-bottom: 25px;
    box-shadow: inset 0 0 20px rgba(178,140,64,0.1);
}
.matter-card-adv p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- Advanced Clean Network Flow Diagram --- */
.nd-center-clean {
    background: linear-gradient(135deg, var(--gold-primary), #d4a84e);
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(178,140,64,0.3);
}
.nd-center-clean span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    font-weight: 800;
    display: block;
}
.nd-center-clean h4 {
    color: #000;
    font-weight: 900;
    margin: 5px 0 0;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
}

.nd-node-clean {
    background: #152232;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(var(--rgb-navy),0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nd-node-clean:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--rgb-navy),0.4);
}
.nd-node-clean i {
    font-size: 36px;
    color: var(--gold-primary);
    margin-bottom: 15px;
    display: block;
}
.nd-node-clean span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.nd-node-clean.small {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.nd-node-clean.small i {
    margin-bottom: 0;
    margin-right: 15px;
    font-size: 24px;
}
.nd-node-clean.small span {
    font-size: 15px;
    text-align: left;
}

/* --- Advanced Transparency Panes --- */
.overlapping-panes-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}
.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }
.trans-pane {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 30px 60px rgba(var(--rgb-navy),0.08);
    height: 100%;
    position: relative;
    transition: all 0.5s ease;
}
.pane-do {
    border: 1px solid rgba(var(--rgb-navy),0.05);
}
.pane-dont {
    background: var(--bg-white);
    border: 1px solid rgba(var(--rgb-navy),0.03);
    transform: scale(0.95);
    transform-origin: center right;
}
.pane-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}
.pane-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 15px 30px rgba(var(--rgb-navy),0.05);
}
.do-icon {
    background: linear-gradient(135deg, var(--gold-primary), #e6c57a);
    color: #fff;
    box-shadow: 0 15px 30px rgba(178,140,64,0.3);
}
.dont-icon {
    background: var(--bg-white);
    color: #e11d48;
    border: 1px solid rgba(225,29,72,0.2);
}
.pane-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-slate);
    margin-bottom: 5px;
    font-weight: 700;
}
.pane-title {
    margin: 0;
    color: var(--text-dark);
    font-size: 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}
.pane-list {
    list-style: none;
    padding: 0; margin: 0;
}
.pane-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.pane-list li:last-child { margin-bottom: 0; }
.pane-list li p {
    margin: 0;
    color: var(--text-slate-darker);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}
.do-list li .num {
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 14px;
    margin-right: 20px;
    margin-top: 2px;
}
.dont-list li i {
    color: #e11d48;
    font-size: 18px;
    margin-right: 20px;
    margin-top: 3px;
}

@media (max-width: 991px) {
    .pane-dont {
        transform: scale(1);
        margin-top: 30px;
    }
    .matter-card-adv {
        margin-top: 20px !important;
    }
}