﻿/* --- BRAND UI TOKENS & VIEWPORT PHYSICALS --- */
:root {
    --tm-navy-dark: #1E293B; /* Signature Midnight Slate */
    --tm-cyan-bright: #0ea5e9; /* Corporate Identity Cyan Accent */
    --tm-cyan-hover: #0284c7;
    --tm-transition-fluid: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --tm-transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--tm-navy-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- FIXED TOP NAVBAR DESIGN TOKENS --- */
.tm-nav.fixed-top {
    background-color: var(--tm-navy-dark) !important;
    z-index: 1050 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25) !important;
}

.tm-brand-icon {
    font-size: 1rem !important;
    line-height: 1 !important;
}

.tm-brand-logo-img {
    height: 46px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: all 0.25s ease-in-out;
}

.navbar-brand:hover .tm-brand-logo-img {
    transform: scale(1.025);
    filter: brightness(1.08);
}

/* --- FLEXIBLE TWO-BOX PORTAL LAYOUT SYSTEM --- */
.tm-portal-box {
    height: calc(50vh - 43px); /* Divides height evenly minus navbar height on mobile */
    will-change: background-color, transform;
    transition: var(--tm-transition-fluid);
}

@media (min-width: 992px) {
    .tm-portal-box {
        height: calc(100vh - 86px); /* Perfect desktop viewport balance minus navigation bar height */
    }
}

/* Column Variant A Ruleset configuration */
.tm-portal-box--navy {
    background-color: #0F172A; /* Extended ultra-dark slate base variant */
    border-bottom: 2px solid rgba(14, 165, 233, 0.1);
}

@media (min-width: 992px) {
    .tm-portal-box--navy {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Column Variant B Ruleset configuration */
.tm-portal-box--cyan {
    background-color: var(--tm-navy-dark);
}

/* --- BACKDROP TRANSITIONS & INTERACTIVE STATES --- */
.tm-portal-hover-accent {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0) 70%);
    opacity: 0;
    transition: var(--tm-transition-fluid);
    z-index: 1;
}

/* Interactive Hover Handshake Logic Loops */
.tm-portal-box:hover .tm-portal-hover-accent {
    opacity: 1;
    transform: scale(1.1);
}

.tm-portal-box:hover {
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3) !important;
}

/* --- TYPOGRAPHY GRAPHICS CLAMPING VARIABLES --- */
.tm-portal-badge {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: var(--tm-transition-fluid);
}

.tm-portal-box:hover .tm-portal-badge {
    transform: translateY(-6px) scale(1.1);
}

.tm-portal-content h1,
.tm-portal-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    letter-spacing: -0.5px;
    transition: var(--tm-transition-fluid);
}

.tm-portal-box:hover h1,
.tm-portal-box:hover h2 {
    color: var(--tm-cyan-bright) !important;
}

.tm-portal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
}

/* --- BRANDED BUSINESS & COMPLIANCE FOOTER REGIONS --- */
.tm-site-footer {
    /* Smoothly shifts background color from secondary slate into your primary brand navy */
    background-color: var(--tm-navy-dark) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.25) !important; /* Adds deep dimensional shading context */
}

    .tm-site-footer h4 {
        color: #ffffff !important;
        font-size: 0.9rem;
    }

.tm-footer-link {
    transition: var(--tm-transition-smooth);
    display: inline-block;
}

    .tm-footer-link:hover {
        color: var(--tm-cyan-bright) !important;
        transform: translateX(3px);
    }

@media (max-width: 767px) {
    .tm-footer-link:hover {
        transform: translateY(-1px);
    }
}

.fs-7 {
    font-size: 0.875rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}