﻿:root {
    --maroon: #800000;
    --maroon-dark: #600000;
    --light-gray: #f6f6f6;
    --white: #fff;
    --text: #222;
    --accent: #B22222;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--light-gray);
    color: var(--text);
}

.site-header {
    background: var(--maroon);
    color: var(--white);
    padding: 1.5rem 0 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .site-header .logo-area {
        margin-left: 2.7rem;
    }

    .site-header img {
        height: 54px;
        width: auto;
        display: block;
    }

.site-title-group {
    margin-left: 1.2rem;
}

    .site-title-group h1 {
        margin: 0 0 0.2em 0;
        color: var(--white);
    }

    .site-title-group p {
        color: var(--white);
        margin: 0;
        font-size: 1rem;
    }

nav {
    background: var(--maroon-dark);
    display: flex;
    justify-content: center;
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

    nav a {
        color: var(--white);
        text-decoration: none;
        margin: 0 1.1rem;
        font-weight: 500;
        transition: color 0.2s;
    }

        nav a:hover {
            color: var(--accent);
        }

.hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 2rem;
    display: block;
}

.image-row {
    display: flex;
    gap: 2%;
    margin: 2rem 0;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .image-row img {
        flex: 1 1 31%;
        max-width: 31%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

.container {
    max-width: 1100px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    padding: 2rem 2.5rem;
}

h1, h2, h3 {
    color: var(--maroon);
}

.button {
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 0.8rem 2rem;
    margin: 1rem 0.4rem 1rem 0;
    font-size: 1.04rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
}

    .button:hover {
        background: var(--accent);
    }

.roles-list,
.faqs-list,
.locations-list {
    list-style: none;
    padding: 0;
}

    .roles-list li,
    .faqs-list li,
    .locations-list li {
        padding-left: 1em;
        position: relative;
        margin-bottom: 0.5em;
    }

        .roles-list li::before,
        .locations-list li::before {
            content: "•";
            color: var(--maroon);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

.services {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.service-box {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 6px;
    min-width: 180px;
    flex: 1 1 150px;
}

blockquote {
    background: #f2e8e8;
    border-left: 6px solid var(--maroon);
    margin: 1.4em 0;
    padding: 1em 2em;
    font-style: italic;
    color: #442222;
}

footer {
    background: var(--maroon-dark);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

.section-title {
    margin-top: 2.4rem;
}

.auto-style1 {
    float: right;
}

.checklist-style {
    width: 650px;
    height: 600px;
}

/* --- NEW STYLES FOR THE CONTACT SECTION --- */
.tm-contact-main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
    align-items: flex-start;
}

.tm-contact-title {
    color: var(--maroon);
    text-align: center;
}

.map-outer,
.contact-info-outer {
    flex: 1;
    min-width: 300px;
}

.map-outer {
    display: flex;
    justify-content: center;
}

    .map-outer iframe {
        width: 100%;
        height: 600px;
        border: 0;
        border-radius: 10px;
        box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    }

.contact-info-outer iframe {
    width: 100%;
    height: 600px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 900px) {
    .image-row {
        flex-direction: column;
    }

        .image-row img {
            max-width: 100%;
            margin-bottom: 1.2rem;
            height: 180px;
        }

    .tm-contact-main {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1rem;
    }

        .site-header .logo-area {
            margin-left: 0;
        }

    .site-title-group {
        margin-left: 0.9rem;
    }

    .container {
        padding: 1rem;
    }

    .services {
        flex-direction: column;
    }

    .hero-image {
        height: 150px;
    }

    .tm-contact-main {
        flex-direction: column;
    }
}

/* New Footer Styles */
.footer-social-icons {
    margin-top: 1rem;
}

    .footer-social-icons a {
        display: inline-block;
        margin: 0 0.5rem;
        transition: transform 0.2s;
    }

        .footer-social-icons a:hover {
            transform: scale(1.1);
        }

    .footer-social-icons img {
        width: 32px;
        height: 32px;
    }

/* --- Back to Top Button Styles --- */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 25px;
    display: none;
    /* Hidden by default */
    background-color: var(--maroon);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
    border: none;
}

    .back-to-top:hover {
        background-color: var(--accent);
        transform: scale(1.1);
    }

/* Adding the initial anchor point */
#top {
    position: absolute;
    top: 0;
}

.softwares {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.product-box {
    width: 350px;
    border-radius: 15px;
    margin: 20px;
    background: #f8f8f8;
    box-shadow: 0 2px 6px #ccc;
    padding: 15px 20px;
    border: 2px solid #d50000;
    position: relative;
}

.product-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #d50000;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #222;
    margin-bottom: 28px;
}

.disclaimer {
    font-size: 0.95em;
    margin: 18px auto;
    max-width: 700px;
    text-align: center;
    color: #333;
}

width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .product-box {
        width: 90vw;
    }
}



    .role    .container .roles-list {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 1rem 0;
    }

        .container .roles-list li {
            background-color: #f1f1f1;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 8px 15px;
            font-weight: 500;
            text-align: center;
            margin: 5px;
        }