
/* ==============================
   TTK PRECAST BRAND COLORS
================================ */

 /*body * {
        outline: 1px solid rgba(255, 0, 0, 0.12);
    }*/
:root {
    --ttk-green: #456b2c;
    --ttk-green-dark: #304d1d;
    --ttk-gold: #d6a900;
    --ttk-navy: #243047;
    --ttk-white: #ffffff;
    --ttk-light: #f6f7f2;
    --ttk-text: #555b53;
}

/* ==============================
   TOP CONTACT BAR
================================ */
.ttk-topbar {
    background: var(--ttk-green);
    color: var(--ttk-white);
    font-size: 13px;
    padding: 9px 0;
}

.ttk-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ttk-topbar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.ttk-topbar a {
    color: var(--ttk-white);
    text-decoration: none;
}

.ttk-topbar a i {
    margin-right: 7px;
    color: var(--ttk-gold);
}

.ttk-topbar-tagline {
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* ==============================
   MAIN HEADER
================================ */
.ttk-header {
    background: var(--ttk-white);
    border-bottom: 3px solid var(--ttk-gold);
    position: relative;
    z-index: 1000;
}

.ttk-navbar {
    min-height: 75px;
    padding: 0;
}

.ttk-brand {
    display: flex;
    align-items: center;
    
    margin-right: 25px;
    white-space: normal;
}

.ttk-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.ttk-brand-text {
    display: flex;
    flex-direction: column;
}

.ttk-brand-text strong {
    color: #370303;
    font-size: 20px;
    font-weight: 800; 
    line-height: 1.2;
}

.ttk-brand-text small {
    color: var(--ttk-green);
    font-size: 10px;
    margin-top: 5px;
    letter-spacing: 0.3px;
}

.ttk-navbar .navbar-nav {
    gap: 3px;
}

.ttk-navbar .nav-link {
    color: var(--ttk-navy);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 10px !important;
    transition: color 0.25s ease;
}

.ttk-navbar .nav-link:hover,
.ttk-navbar .nav-link.active {
    color: var(--ttk-green);
}

.ttk-navbar .nav-link.active {
    position: relative;
}

.ttk-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    background: var(--ttk-gold);
}

.ttk-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 17px;
    background: var(--ttk-green);
    color: var(--ttk-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.ttk-quote-btn:hover {
    background: var(--ttk-green-dark);
    color: var(--ttk-white);
}

.ttk-toggler {
    border: 1px solid var(--ttk-green);
}

.ttk-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(69, 107, 44, 0.2);
}

/* ==============================
   FOOTER CTA
================================ */
.ttk-footer-cta {
    background: var(--ttk-green);
    color: var(--ttk-white);
    padding: 45px 0;
    border-top: 5px solid var(--ttk-gold);
}

.ttk-footer-eyebrow {
    color: var(--ttk-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ttk-footer-cta h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
    font-weight: 700;
    margin: 10px 0;
}

.ttk-footer-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

.ttk-footer-cta-btn {
    display: inline-block;
    background: var(--ttk-gold);
    color: var(--ttk-navy);
    padding: 14px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ttk-footer-cta-btn:hover {
    background: var(--ttk-white);
    color: var(--ttk-green-dark);
}

/* ==============================
   MAIN FOOTER
================================ */
.ttk-footer-main {
    background: #202a21;
    color: #d8ded5;
    padding: 60px 0 45px;
}

/* Footer Logo */
.ttk-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ttk-white);
    text-decoration: none;
    margin-bottom: 22px;
    max-width: 100%;
}

.ttk-footer-logo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgb(255, 255, 255);
}

.ttk-footer-brand strong {
    display: block;
    font-size: 21px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.ttk-footer-brand small {
    display: block;
    font-size: 10px;
    color: #bdc9b6;
    margin-top: 4px;
    line-height: 1.5;
}

/* Mobile logo */
@media (max-width: 575.98px) {
    .ttk-footer-logo {
        width: 42px;
        height: 42px;
    }

    .ttk-footer-brand {
        gap: 9px;
    }

    .ttk-footer-brand strong {
        font-size: 18px;
    }

    .ttk-footer-brand small {
        font-size: 9px;
    }
}

.ttk-footer-description {
    font-size: 13px;
    line-height: 1.9;
    color: #c3ccc0;
    margin-bottom: 20px;
}

.ttk-footer-heading {
    color: var(--ttk-white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    position: relative;
}

.ttk-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--ttk-gold);
}

.ttk-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ttk-footer-links li {
    margin-bottom: 13px;
}

.ttk-footer-links a {
    color: #c3ccc0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s ease;
}

.ttk-footer-links a:hover {
    color: var(--ttk-gold);
    padding-left: 4px;
}

.ttk-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
}

.ttk-footer-contact-item i {
    color: var(--ttk-gold);
    margin-top: 3px;
}

.ttk-footer-contact-item a {
    color: #d8ded5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ttk-footer-contact-item a:hover {
    color: var(--ttk-gold);
}

.ttk-footer-address {
    margin-bottom: 23px;
}

.ttk-footer-address h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ttk-white);
    margin-bottom: 8px;
}

.ttk-footer-address h4 i {
    color: var(--ttk-gold);
    margin-right: 8px;
}

.ttk-footer-address p {
    color: #c3ccc0;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* ==============================
   COPYRIGHT BAR
================================ */
.ttk-footer-bottom {
    background: #172019;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.ttk-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ttk-footer-bottom p {
    margin: 0;
    color: #c3ccc0;
    font-size: 12px;
}

.ttk-footer-bottom a {
    color: var(--ttk-gold);
    text-decoration: none;
    font-weight: 600;
}

/* ==============================
   TABLET RESPONSIVENESS
================================ */
@media (max-width: 1199px) {
    .ttk-brand-text strong {
        font-size: 18px;
    }

    

    .ttk-navbar .nav-link {
        padding: 10px 7px !important;
        font-size: 13px;
    }

    .ttk-quote-btn {
        padding: 11px 12px;
    }
}

/* ==============================
   MOBILE RESPONSIVENESS
================================ */
@media (max-width: 991.98px) {
    .ttk-navbar {
        min-height: 65px;
    }

    .ttk-navbar .navbar-collapse {
        background: var(--ttk-white);
        padding: 15px 0 20px;
        border-top: 1px solid #e8ebdf;
        margin-top: 12px;
    }

    .ttk-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 0;
    }

    .ttk-navbar .nav-link {
        padding: 12px 8px !important;
        border-bottom: 1px solid #edf0e8;
        font-size: 14px;
    }

    .ttk-navbar .nav-link.active::after {
        display: none;
    }

    .ttk-quote-btn {
        width: 100%;
        margin-top: 5px;
    }

    .ttk-footer-main {
        padding: 45px 0 30px;
    }

    .ttk-footer-cta {
        padding: 35px 0;
    }
}

@media (max-width: 575.98px) {
    .ttk-topbar {
        font-size: 11px;
    }

    .ttk-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .ttk-topbar-contact {
        gap: 12px;
    }

   

    .ttk-navbar {
        min-height: 65px;
    }

    .ttk-brand {
        gap: 8px;
        margin-right: 8px;
    }

    .ttk-logo {
        width: 60px;
        height: 60px;
    }

    .ttk-brand-text strong {
        font-size: 14px;
    }

    .ttk-brand-text small {
        font-size: 9px;
    }

    .ttk-footer-cta h2 {
        font-size: 25px;
    }

    .ttk-footer-cta-btn {
        width: 100%;
        text-align: center;
    }

    .ttk-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 767.98px) {
    .ttk-topbar-tagline {
        display: none !important;
    }
}


/* =========================================
   RESPONSIVE IMPROVEMENTS - TTK PRECAST
========================================= */

/* Tablet and smaller laptops */
@media (max-width: 991.98px) {

    /* Navigation */
    .ttk-navbar .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .ttk-navbar .navbar-nav {
        width: 100%;
    }

    .ttk-navbar .nav-item {
        width: 100%;
    }

    .ttk-quote-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    /* Footer CTA */
    .ttk-footer-cta .row {
        row-gap: 20px;
    }

    /* Footer columns */
    .ttk-footer-main .row {
        row-gap: 30px;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {

    /* Hide tagline on mobile and tablet */
    .ttk-logo {
        width: 70px !important;
        height: 70px !important;
    }
    .ttk-navbar{
        padding:0;
    }
    .ttk-topbar-tagline {
        display: none !important;
    }

    /* Top contact bar */
    .ttk-topbar {
        padding: 9px 0;
    }

    .ttk-topbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 15px;
    }

    .ttk-topbar-contact {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 15px;
    }

    /* Brand and navigation */
    .ttk-navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ttk-brand {
        min-width: 0;
        max-width: calc(100% - 65px);
    }

    .ttk-brand-text {
        min-width: 0;
    }

    .ttk-brand-text strong {
        overflow-wrap: anywhere;
        line-height: 1.3;
    }

    /* Footer CTA */
    .ttk-footer-cta {
        padding: 35px 0;
    }

    .ttk-footer-cta h2 {
        font-size: clamp(23px, 5vw, 30px);
    }

    .ttk-footer-cta p {
        font-size: 13px;
    }

    .ttk-footer-cta-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 14px 18px;
        text-align: center;
    }

    /* Main footer */
    .ttk-footer-main {
        padding: 40px 0 25px;
    }

    .ttk-footer-heading {
        margin-bottom: 18px;
    }

    .ttk-footer-brand strong {
        font-size: 19px;
    }

    .ttk-footer-description,
    .ttk-footer-address p,
    .ttk-footer-contact-item,
    .ttk-footer-links a {
        overflow-wrap: anywhere;
    }

    /* Copyright */
    .ttk-footer-bottom {
        padding: 16px 0;
    }

    .ttk-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }
}

/* Small mobile phones */
@media (max-width: 575.98px) {

    .ttk-topbar {
        font-size: 11px;
    }

    .ttk-topbar-contact {
        gap: 7px 12px;
    }

    .ttk-topbar-contact a {
        overflow-wrap: anywhere;
    }

    .ttk-navbar {
        min-height: 72px;
    }

    .ttk-brand {
        gap: 7px;
        margin-right: 5px;
    }

    .ttk-logo {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .ttk-brand-text strong {
        font-size: 13px;
        letter-spacing: 0;
    }

    .ttk-brand-text small {
        font-size: 8px;
        line-height: 1.4;
    }

    .ttk-navbar .navbar-toggler {
        flex-shrink: 0;
        padding: 7px 9px;
        font-size: 14px;
    }

    .ttk-footer-logo-mark {
        width: 42px;
        height: 42px;
        font-size: 22px;
        flex-shrink: 0;
    }

    .ttk-footer-brand strong {
        font-size: 17px;
    }

    .ttk-footer-cta h2 {
        font-size: 24px;
    }

    .ttk-footer-heading {
        font-size: 16px;
    }

    .ttk-footer-links li {
        margin-bottom: 11px;
    }
}

/* Extra-small phones */
@media (max-width: 360px) {

    .ttk-topbar-contact {
        gap: 7px;
    }

    .ttk-topbar-contact a {
        font-size: 10px;
    }

    .ttk-brand-text strong {
        font-size: 12px;
    }

    .ttk-brand-text small {
        font-size: 7px;
    }

    .ttk-logo {
        width: 42px;
        height: 42px;
    }

    .ttk-footer-cta h2 {
        font-size: 22px;
    }
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #6f3121;
    color: #ffffff;

    border: 2px solid #d4af37;
    border-radius: 50%;

    font-size: 18px;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #d4af37;
    color: #ffffff;
    transform: translateY(-4px);
}

.back-to-top:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

@media (max-width: 576px) {
    .back-to-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;
        font-size: 16px;
    }
}