﻿/* ========================================
   GLOBAL RESETS & UTILITIES
======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    position: relative;
    overflow-x: hidden;
}

body {
    background-color: #f9f9f9;
    color: #333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        top: 50%;
        right: -200px;
        transform: translateY(-50%);
        width: 800px;
        height: 800px;
        background: url("/images/shared/TliGlobe_blueTrans.png") no-repeat center;
        background-size: contain;
        opacity: 0.05;
        pointer-events: none;
        z-index: -0;
    }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.body-content {
    margin-top: 15px;
    padding: 0 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

/* Text Z-index Protection */
h1, h2, h3, h4, h5, p {
    position: relative;
    z-index: 1;
}



/* ========================================
   HEADER & NAVIGATION
======================================== */
/*.header {
    background-color: #ffffff;
    padding: 1rem 0;
    position: relative;
}

.nav-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}*/

.logo {
    align-items: center;
    color: white;
    display: flex;
    font-weight: bold;
    text-decoration: none;
}

    .logo img {
        display: block;
        height: 75px;
        width: auto;
    }

        .logo img:not([src]) + span,
        .logo img[src=""] + span {
            display: inline;
        }

    .logo span {
        color: white;
        display: none;
        font-weight: bold;
    }

.brand-text {
    display: none;
}

/* Show text ONLY if image fails to load */
.brand-logo:not([src]),
.brand-logo[src=""] {
    display: none;
}

    .brand-logo:not([src]) + .brand-text,
    .brand-logo[src=""] + .brand-text {
        display: inline;
    }

.navbar {
    z-index: 1030; /* Bootstrap sticky standard */
}

.navbar-nav .nav-link {
    font-size: 1.1rem; /* try 1.1–1.25 */
    font-weight: 600;
}


/*.nav {
    position: relative;
    z-index: 50;
}

    .nav ul {
        display: flex;
        gap: 1.5rem;
        list-style: none;
    }

    .nav a {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
    }
*/
/* ========================================
   DROPDOWN MENU
======================================== */
/*.dropdown {
    position: relative;
}

.dropdown-menu {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    list-style: none;
    margin: 0;
    min-width: 180px;
    padding: 0.5rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
}

    .dropdown-menu li a {
        color: #333;
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        white-space: nowrap;
    }

        .dropdown-menu li a:hover {
            background: #f2f2f2;
        }

@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}
*/
/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('/images/Home/HeroImage-ChatGPT.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35) );
    z-index: 1;
}


.hero::before {
    background: rgba(0,0,0,0.5);
    content: '';
    inset: 0;
    position: absolute;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #ffffff;
}

    .hero-content h1 {
        font-size: clamp(2.25rem, 4vw, 3.25rem);
        line-height: 1.15;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 600px;
        color: rgba(255, 255, 255, 0.9);
    }


.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: #f5a623; /* or brand color */
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

    .btn-primary:hover {
        background-color: #e0961e;
    }

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        text-align: left;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}


/* ========================================
   SERVICES
======================================== */
.services-overview {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

    .services-overview h2 {
        text-align: center;
        margin-bottom: 3rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

    .service-card h3 {
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

    .service-card p {
        line-height: 1.6;
        color: #555;
    }

    .service-card.highlight {
        border-top: 4px solid #f5a623; /* brand accent */
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
.services-overview {
    background-color: #f8f9fa;
}

.service-card-v2 {
    background: #fff;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 2;
    overflow: hidden; /* this is the key */
}

    .service-card-v2:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

.service-card-media img {
    width: 100%;
    object-fit: contain;
    display:block;
}

.service-card-body {
    padding: 1.25rem;
}

.service-card-footer {
    padding: 0 1.25rem 1.25rem;
}

    .service-card-footer .learn-more {
        font-weight: 500;
        color: #0d6efd;
    }

.service-card-v2.highlight {
    border-color: #0d6efd;
}

/* ========================================
   AUDIENCE SECTION
======================================== */
.fit-section {
    background-color: #ffffff;
}

.fit-list {
    list-style: none;
    padding-left: 0;
}

    .fit-list li {
        padding-left: 2rem;
        margin-bottom: 1.25rem;
        position: relative;
        line-height: 1.7;
        color: #444;
    }

        .fit-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.6em;
            width: 10px;
            height: 10px;
            background-color: #f5a623; /* brand accent */
            border-radius: 50%;
        }


/* ========================================
   CTA SECTION
======================================== */
.cta-banner {
    position: relative;
    z-index: 1;
}
/* ========================================
   ABOUT SECTION
======================================== */
.about {
    background-color: #e5e7eb;
    padding: 3rem 0;
    text-align: center;
    z-index: 1;
}

.about-image {
    height: 200px;
    margin-top: 1.5rem;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    background-color: #fff;
    padding: 3rem 0;
}

#contact .container {
    max-width: 1000px;
}

.contact-container h2 {
    margin: 0 auto 20px;
    max-width: 900px;
    padding-left: 2px;
    text-align: left;
}

.contact-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px auto 0;
    max-width: 900px;
    width: 100%;
}

    .contact-form input,
    .contact-form textarea {
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1.05rem;
        padding: 14px 18px;
        width: 100%;
        z-index: 2;
    }

    .contact-form button {
        width: 15em;
        position: relative;
        z-index: 2;
    }

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: #002f6c;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

/* ========================================
   HAMBURGER MENU (MOBILE)
======================================== */
/*.hamburger {
    background: none;
    border: none;
    color: rgb(88, 88, 88);
    cursor: pointer;
    display: none;
    font-size: 1.8rem;
}
*/





/* ========================================
   RESPONSIVE
======================================== */


@media (max-width: 600px) {
    /*    .hamburger {
        display: block;
        margin-right: 1rem;
    }

    .nav {
        background-color: #002f6c;
        border-radius: 5px;
        display: none;
        flex-direction: column;
        padding: 1rem;
        position: relative;
        right: 20px;
        top: 70px;
        width: 200px;
        z-index: 11;
    }

        .nav.open {
            display: flex;
        }

        .nav ul {
            flex-direction: column;
            gap: 1rem;
        }*/

    .logo img {
        height: 3rem;
    }
}
/* ========================================
   SERVICES
======================================== */
.service-hero {
    background-color: #ffffff;

}

    .service-hero h1 {
        font-weight: 700;
    }

    .service-hero .lead {
        line-height: 1.6;
    }

.problem-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

    .problem-list li::before {
        content: "–";
        position: absolute;
        left: 0;
        color: #f5a623; /* brand accent */
        font-weight: 600;
    }

.process-list {
    padding-left: 1.25rem;
}

    .process-list li {
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .process-list strong {
        display: block;
        margin-bottom: 0.25rem;
        font-weight: 600;
    }

.impact-list li {
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.impact-list strong {
    display: inline-block;
    margin-right: 0.25rem;
    font-weight: 600;
}

.service-human {
    background-color: #ffffff;
}

.service-training {
    background-color: #f8f9fa; /* subtle Bootstrap light */
}

.service-context {
    background-color: #ffffff;
}

.service-cta h2 {
    font-weight: 700;
}

.service-cta p {
    line-height: 1.6;
}
/* Tech & Visibility page images */

/*.service-hero-image {
    max-height: 360px;
    object-fit: cover;
    z-index: 2;
}*/

.service-hero img,
.service-process img {
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    height: auto;
    z-index: 2;
    filter: saturate(0.9);
}
.service-hero img {
    max-width: 90%;
    max-height: 500px;
    height: auto;
    margin-left: auto;
    display: block;
    object-fit: contain;
    position: relative;
}
.service-process-image {
    max-width: 90%;
    max-height: 420px;
    height: auto;
    margin-left: auto;
    margin-top: 0.75rem;
    display: block;
    object-fit: contain;
}


.service-process img {
    margin-top: 0.5rem;
}

.service-hero-visual {
    position: relative; /* creates a stacking context */
    z-index: 2;
}

.service-hero-image {
    position: relative; /* allows z-index to apply */
    z-index: 3;
}

.service-hero-visual {
    position: relative;
    z-index: 2;
}

.service-hero .btn {
    position: relative;
    z-index: 3;
}



/* ========================================
   SERVICES HOME PAGE - OPERATING GROUP CARDS
======================================== */
.services-group-card {
    transition: border-color 0.15s ease;
    position: relative;
    overflow: hidden;
}

    .services-group-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #C8152A;
        border-radius: 8px 8px 0 0;
        opacity: 0;
        transition: opacity 0.15s ease;
    }

    .services-group-card:hover {
        border-color: rgba(200, 21, 42, 0.4) !important;
    }

    .services-group-card:hover::before {
        opacity: 1;
    }

/* ========================================
   MODALS
======================================== */
.modal-overlay {
    align-items: center;
    background: rgba(0,0,0,0.6);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 5000;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    width: 90%;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    right: 15px;
    top: 10px;
}

.modal-title {
    margin-bottom: 1em;
}


.coverage {
    position: relative;
    z-index: 20;
}

#leaflet-map {
    position: relative;
    z-index: 20;
}

#leaflet-map,
.coverage-map {
    height: 400px; /* adjust to your design */
    width: 100%;
    border-radius: 10px; /* optional */
}

.hero-video {
    height: 70vh; /* hero height */
    min-height: 520px; /* keeps it big enough on desktop */
    background: #111; /* fallback */
}

.hero-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes it behave like a background image */
    object-position: center;
    z-index: 0;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* adjust tint */
    z-index: 1;
}

/* Everything inside container stays on top */
.hero-video .container {
    z-index: 2;
}

/* Mobile behavior */
@media (max-width: 768px) {
    .hero-video {
        height: 55vh;
        min-height: 420px;
    }
}

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
    .hero-video__bg {
        display: none;
    }

    .hero-video {
        background: url("/Content/video/hero-poster.jpg") center/cover no-repeat;
    }
}
