:root {
    --ts-navy: #183b5b;
    --ts-orange: #d98b2b;
    --ts-cream: #f7f5f0;
}

body {
    color: #293744;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(22px);
        transition:
            opacity 520ms ease-out,
            transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: var(--scroll-reveal-delay, 0ms);
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-reveal-image {
        overflow: hidden;
    }

    .scroll-reveal-image img {
        transform: scale(1.045);
        transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .scroll-reveal-image.is-visible img {
        transform: scale(1);
    }
}

@media (min-width: 992px) {
    html {
        font-size: 95%;
    }
}

main p {
    font-size: 1rem !important;
    line-height: 1.6;
}

main p.fs-6 {
    font-size: 1rem !important;
}

header {
    position: relative;
    z-index: 5;
    max-height: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9edf0;
    background: #fff;
}

header .logo img {
    max-height: 150px;
    width: auto;
}

header .logo {
    box-sizing: border-box;
    width: 140px;
}

header .main-nav ul li a::after,
.section-title::after {
    background: var(--ts-orange);
}

header .main-nav ul li a:hover {
    color: var(--ts-navy);
}

.banner-section {
    overflow: hidden;
}

.banner-section h1 {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.banner-section .row > [class*="col-"] {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.contact-banner h1 {
    text-transform: uppercase;
}

.banner-section.home-banner {
    background-image:
        linear-gradient(90deg, rgba(10, 31, 51, 0.62), rgba(10, 31, 51, 0.04)),
        url("../img/home-banner.png");
}

.banner-section.inner-banner {
    background-blend-mode: multiply;
}

.banner-section.about-banner,
.banner-section.whyTrueshine-banner,
.banner-section.productpage-banner,
.banner-section.contact-banner {
    background-color: rgba(24, 59, 91, 0.16);
}

.section-title::after {
    height: 4px;
    border-radius: 4px;
}

.product-color-card {
    overflow: hidden;
    border: 1px solid #d5dce1;
    background: #fff;
}

.product-color-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3.9;
}

.product-color-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.product-color-preview .product-brand-print {
    position: absolute;
    top: 38%;
    left: 50%;
    width: clamp(34px, 3.8vw, 48px);
    height: auto;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(1) brightness(0);
    opacity: 0.62;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.product-color-caption {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid #d5dce1;
    font-size: 1.1rem;
    line-height: 1.3;
    text-align: center;
}

.product-color-swatch {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sheet-color);
}

.welcome-section .bg-white,
.whyChooseUsBox,
.product-feature-section figure,
.location-details {
    border-radius: 12px;
}

.welcome-section .bg-white,
.whyChooseUsBox {
    box-shadow: 0 10px 28px rgba(24, 59, 91, 0.08);
}

.whyChooseUsBox {
    border-color: #d6e0e8 !important;
    background: #fff;
}

.bg-light {
    background-color: var(--ts-cream) !important;
}

.btn-secondary {
    --bs-btn-bg: var(--ts-orange);
    --bs-btn-border-color: var(--ts-orange);
    --bs-btn-hover-bg: #c97b1d;
    --bs-btn-hover-border-color: #c97b1d;
    --bs-btn-active-bg: #b86f1b;
    --bs-btn-active-border-color: #b86f1b;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
}

.btn {
    border-radius: 6px;
}

footer .bg-primary {
    background-color: var(--ts-navy) !important;
}

@media (max-width: 991.98px) {
    header .logo img {
        max-height: 92px;
    }

    .banner-section.home-banner {
        background-position: center;
    }
}

.trueshine-contact-form {
    height: 100%;
    padding: 2rem;
    border-radius: 10px;
    background: #f6f7f8;
}

.contact-page-section .trueshine-contact-form {
    max-width: 760px;
    margin: 0 auto;
}

.trueshine-contact-form h2,
.office-details h2 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-form-field {
    margin-bottom: 1.25rem;
}

.contact-form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-field input,
.contact-form-field textarea {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
    border: 0;
    border-bottom: 1px solid #87909a;
    border-radius: 0;
    background: transparent;
    color: #293744;
    font-size: 1rem;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-bottom-color: var(--ts-navy);
    outline: 0;
}

.office-details {
    margin-bottom: 0.9rem;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
}

.office-details address {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.office-details p {
    margin-bottom: 0.65rem;
}

.office-details p span {
    color: #7b858e;
    font-size: 0.9rem;
}

.office-details a {
    color: var(--ts-navy);
    font-weight: 600;
    text-decoration: none;
}

.office-details a:hover {
    text-decoration: underline;
}

.office-map {
    width: 100%;
    min-height: 280px;
    border: 0;
}

.whatsapp-float {
    position: fixed;
    top: auto;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--ts-navy);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .trueshine-contact-form {
        padding: 1.5rem;
    }

    .whatsapp-float {
        top: auto;
        bottom: 20px;
        right: 12px;
        width: 58px;
        height: 58px;
    }

    .whatsapp-float img {
        width: 33px;
        height: 33px;
    }
}

header .menu-toggle {
    display: none !important;
}

header .main-nav .nav {
    display: block !important;
    position: static !important;
    height: auto;
    left: auto;
    top: auto;
    z-index: auto;
    background: transparent;
    box-shadow: none;
    transition: none;
}

header .main-nav .nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    header .col-md-10 {
        justify-content: flex-start !important;
    }

    header .main-nav {
        width: 100%;
        margin-left: 0 !important;
    }

    header .main-nav .nav,
    header .main-nav .nav ul {
        width: 100%;
    }

    header .main-nav .nav ul {
        justify-content: flex-end;
        gap: 0.5rem 1rem !important;
    }

    header .main-nav .nav ul li a {
        font-size: 1.1rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    header .header-contact-details {
        display: none !important;
    }

    header .col-9 {
        display: block !important;
    }

    header .main-nav {
        width: 100%;
        margin-left: 0 !important;
    }

    header .main-nav .nav,
    header .main-nav .nav ul {
        width: 100%;
    }

    header .main-nav .nav ul {
        justify-content: flex-start;
        gap: 0.35rem 0.8rem !important;
    }

    header .main-nav .nav ul li a {
        font-size: 1rem;
    }

    header .row > .col-3 {
        min-height: 92px;
    }

    header .logo {
        width: 90px;
        transform: none !important;
    }
}

@media (min-width: 768px) {
    header .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    header .row > .col-md-2 {
        min-height: 150px;
    }

    header .logo {
        width: 140px;
        transform: none;
    }
}

@media (min-width: 992px) {
    header.pt-md-5 {
        padding-top: 1rem !important;
    }

    header .container {
        position: relative;
    }

    header .main-nav {
        position: absolute;
        top: 43%;
        left: 50%;
        width: auto;
        margin: 0 !important;
        transform: translate(-50%, -50%);
    }

    header .main-nav .nav,
    header .main-nav .nav ul {
        width: auto;
    }

    header .main-nav .nav ul {
        justify-content: center;
    }
}

.why-trueshine-page .whyChooseUsBox {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background-color: var(--ts-navy);
    background-position: center;
    background-size: cover;
}

.why-trueshine-page .row > div:nth-child(1) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-2.png");
}

.why-trueshine-page .row > div:nth-child(2) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-3.png");
}

.why-trueshine-page .row > div:nth-child(3) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-4.png");
}

.why-trueshine-page .row > div:nth-child(4) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-3.png");
}

.why-trueshine-page .row > div:nth-child(5) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-2.png");
}

.why-trueshine-page .row > div:nth-child(6) .whyChooseUsBox {
    background-image: linear-gradient(90deg, rgba(15, 36, 57, 0.82), rgba(15, 36, 57, 0.32)), url("../img/product-4.png");
}

.why-trueshine-page .whyChooseUsBox figure {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    max-width: none;
    place-items: center;
    padding: 9px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    z-index: 1;
}

.why-choose-us-section.why-trueshine-page .whyChooseUsBox figure img {
    filter: none;
}

.why-trueshine-page .whyChooseUsBox p {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
