:root {
    --navy: #1A2B4A;
    --navy-dark: #162d57;
    --red: #C0272D;
    --red-light: #F7EDED;
    --grey-bg: #F4F5F7;
    --grey-mid: #E8E9EC;
    --muted: #6B7280;
    --border: #DDE0E6;
    --text: #1A1F2E;
    --white: #ffffff;
    --container: 85%;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

@font-face {
    font-family: 'TrinityFont';
    src: url('https://storage.googleapis.com/giffycms-trinitytradex.appspot.com/5633592017289216') format('truetype');
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'TrinityFont', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.container::before,
.container::after {
    display: none;
}

/* =========================
    HEADER
========================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.tx-header-spacer {
    height: 81px;
}

@media (max-width: 767px) {
    .tx-header-spacer {
        height: 69px;
    }
}


.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}


.brand-mark {
    width: 42px;
    height: 42px;
    border: 2px solid var(--red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    color: var(--navy);
    letter-spacing: -1px;
}


.brand-name {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .3px;
}


.brand-name span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.3px;
}


.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}


.main-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease;
}


.main-nav a:hover {
    color: var(--navy);
}


.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 7px;
}


.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: .2s ease;
}


/* =========================
    FOOTER
========================= */
.site-footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 35px 0;
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}


.footer-mark {
    width: 29px;
    height: 29px;
    border: 1px solid var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 11px;
}


.footer-name {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    font-weight: 600;
}


.footer-name span {
    display: block;
    color: rgba(255, 255, 255, .35);
    font-size: 10px;
    letter-spacing: .8px;
    margin-top: 2px;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}


.footer-links a {
    color: rgba(255, 255, 255, .48);
    font-size: 16px;
}


.footer-links a:hover {
    color: #fff;
}


.copyright {
    color: rgba(255, 255, 255, .3);
    font-size: 15px;
}


.footer-inner {
    flex-wrap: wrap;
    row-gap: 14px;
}


.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}


.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.footer-social img {
    width: 20px;
    height: 20px;
    opacity: .55;
    filter: brightness(0) invert(1);
    transition: opacity .2s ease;
}


.footer-social a:hover img {
    opacity: 1;
}


.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
}


.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
}


.powered-by a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .45);
    transition: color .2s ease;
}


.powered-by a:hover {
    color: #fff;
}


.powered-by .giffy-logo {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    filter: none;
    opacity: 1;
}


.powered-by .divider {
    color: rgba(255, 255, 255, .2);
}




@media (max-width: 991px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }


    .header-inner {
        min-height: 68px;
    }


    .main-nav {
        gap: 17px;
    }




    .footer-inner {
        flex-wrap: wrap;
    }
}


@media (max-width: 767px) {
    .container {
        width: calc(100% - 28px);
    }


    .main-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 1px);
        background: #fff;
        border: 1px solid var(--border);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
    }


    .main-nav.open {
        display: flex;
    }


    .main-nav a {
        display: block;
        padding: 12px 16px;
    }


    .main-nav a:hover {
        background: var(--grey-bg);
    }


    .mobile-menu-btn {
        display: block;
    }




    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    .footer-links {
        justify-content: center;
    }


    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* NEW */
.tx-header-inner {
    margin: 0 auto;
    width: 90%;
    max-width: none;
    padding: 0 24px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.brand-logo {
    height: 60px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
    padding-right: 40px;
}

.main-nav>a,
.tx-dd-toggle {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    background: none;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}

.main-nav>a:hover,
.tx-dd-toggle:hover {
    color: var(--red);
}

/* ACTIVE MENU (current page) - red */
.main-nav>a.active,
.tx-dd-toggle.active {
    color: var(--red);
}

.tx-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    margin-top: 2px;
}

.tx-dd {
    position: relative;
}

.tx-dd-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
    padding: 6px 0;
    z-index: 1100;
}

.tx-dd-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    color: var(--text);
}

.tx-dd-menu a:hover {
    background: var(--grey-bg);
    color: var(--red);
}

/* ACTIVE DROPDOWN ITEM (current page) - red */
.tx-dd-menu a.active {
    color: var(--red);
    font-weight: 600;
}

@media (min-width: 768px) {
    .tx-dd:hover .tx-dd-menu {
        display: block;
    }
}

.tx-dd.open .tx-dd-menu {
    display: block;
}

@media (max-width: 991px) {
    .main-nav {
        gap: 24px;
        padding-right: 0;
    }

    .main-nav>a,
    .tx-dd-toggle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .tx-header-inner {
        padding: 0 14px;
        min-height: 68px;
    }

    .brand-logo {
        height: 46px;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
        margin: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav>a,
    .tx-dd-toggle {
        width: 100%;
        padding: 12px 16px;
        justify-content: space-between;
    }

    .tx-dd-menu {
        position: static;
        box-shadow: none;
        border: 0;
        background: var(--grey-bg);
    }
}

.tx-dd-menu {
    max-height: 70vh;
    overflow-y: auto;
}

.tx-dd-msg {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--muted);
}


.navbar {
    display: none;
}