/* =======================================================
   TECHNOLOGY MARKETING PAGE — STYLES (marketing.css)
   Adheres to Plus Jakarta Sans typography and TNTTFC theme
   Colors: #003670, #004aad, #ff6500, #ffb707, #1a1a2e
   ======================================================= */

/* --- Navbar Overrides (no inline CSS) --- */
.navbar-light .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
    padding: 13px;
    font-size: 17px;
    font-weight: 600;
}

nav .nav-link:hover {
    color: rgb(255, 116, 26) !important;
}

header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px #0006;
}

.navbar-brand img {
    max-height: 80px;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu :hover {
    color: rgb(255, 116, 26) !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: transparent !important;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 13px;
        font-size: 16px;
    }
}

/* --- Hero Banner --- */
.tm-banner {
    background: linear-gradient(135deg, #003670f0 0%, #004aadf0 55%, #003670df 100%);
    position: relative;
    overflow: hidden;
}

.tm-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tm-banner::after {
    content: "";
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 183, 7, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tm-banner .ban-content {
    position: relative;
    z-index: 2;
}

.tm-banner .ban-content p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    opacity: 0.92;
}

/* --- Section Base --- */
.tm-section {
    padding-block: 60px;
}

.tm-section-sm {
    padding-block: 55px;
}

/* --- Section Title --- */
.tm-section-title {
    text-align: left;
    margin-bottom: 0px;
}

.tm-section-title h4 {
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #1a1a2e;
    display: inline-block;
    position: relative;
}

.tm-section-title .underline {
    margin: 4px 0 0;
}

.tm-section-title p {
    font-size: 16px;
    color: #555;
    max-width: 880px;
    margin: 15px 0 0;
    line-height: 1.85;
    text-align: left;
}

/* --- Background Alternates --- */
.tm-bg-light {
    background: #fafbff;
}

.tm-bg-warm {
    background: linear-gradient(171deg, #fff9f0 0%, #fff3e0 100%);
}

.tm-bg-soft-blue {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
}

.tm-bg-premium-dark {
    background: linear-gradient(135deg, #0a1628 0%, #102040 50%, #0d1a30 100%);
}

.tm-bg-gradient-warm {
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 50%, #ffebd4 100%);
}


/* ====================================================
   SECTION 1 — INTRO
   ==================================================== */
.tm-intro-section {
    padding-block: 60px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.tm-intro-text {
    font-size: 16px;
    line-height: 1.9;
    max-width: 960px;
    margin: 0;
    text-align: left;
    color: #444;
}




/* ====================================================
   SECTION 2 — WHAT IS A TECHNOLOGY BRIEF?
   ==================================================== */
.tm-brief-section {
    padding-block: 60px;
    background: linear-gradient(135deg, #fdf8f5 0%, #f6e6dc 60%, #faf0e6 100%);
    position: relative;
    overflow: hidden;
}

.tm-brief-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tm-brief-section .underline {
    margin: 4px 0 0;
}



.tm-brief-description {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 35px;
}

.tm-brief-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tm-brief-feature-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    border: 1px solid rgba(0, 74, 173, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.tm-brief-feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffb707, #ff5f00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tm-brief-feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(255, 101, 0, 0.12);
    border-color: rgba(255, 101, 0, 0.2);
}

.tm-brief-feature-item:hover::before {
    opacity: 1;
}

.tm-brief-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    transition: transform 0.3s ease;
}

.tm-brief-feature-item:hover .tm-brief-feature-icon {
    transform: scale(1.12) rotate(5deg);
}

.tm-brief-feature-icon.icon-orange {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ff6500;
}

.tm-brief-feature-icon.icon-blue {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #004aad;
}

.tm-brief-feature-icon.icon-teal {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00796b;
}

.tm-brief-feature-icon.icon-gold {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57f17;
}

.tm-brief-feature-icon.icon-purple {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #6a1b9a;
}

.tm-brief-feature-icon.icon-red {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: #c62828;
}

.tm-brief-feature-item h6 {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 0;
}

/* --- Brief Image Wrapper --- */
.tm-brief-image-wrapper {
    position: relative;
    text-align: center;
}

.tm-brief-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 74, 173, 0.15);
    max-width: 100%;
    height: auto;
}

.tm-brief-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}


/* ====================================================
   SECTION 3 — WHAT WE DO (Services Grid)
   ==================================================== */
.tm-services-section {
    padding-block: 90px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    position: relative;
    overflow: hidden;
}

.tm-services-section::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tm-services-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tm-process-container {
    margin-top: 40px;
    position: relative;
}

.tm-process-selector {
    position: relative;
    padding-left: 55px;
}

.tm-process-selector::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 43px;
    height: var(--timeline-height, calc(100% - 82px));
    width: 3px;
    background: #e2e8f0;
    border-radius: 4px;
}

.tm-process-line-progress {
    position: absolute;
    left: 15px;
    top: 43px;
    width: 3px;
    background: linear-gradient(to bottom, #ff6500, #004aad);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    z-index: 1;
    height: 0px;
}

/* Individual timeline step */
.tm-process-step {
    position: relative;
    z-index: 2;
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 74, 173, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
}

.tm-process-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: linear-gradient(to bottom, #ff6500, #ffb707);
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tm-process-step:last-child {
    margin-bottom: 0;
}

/* Timeline bullet dot/number icon */
.tm-process-step-bullet {
    position: absolute;
    left: -55px;
    top: 28px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tm-process-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.tm-process-step-content {
    flex: 1;
}

.tm-process-step-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.tm-process-step-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    text-align: left !important;
    word-spacing: normal !important;
}

/* HOVER & ACTIVE STATES (Color Theme Based) */
.tm-process-step:hover {
    transform: translateX(8px);
    background: #ffffff;
    border-color: rgba(255, 101, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.tm-process-step:hover::before,
.tm-process-step.active::before {
    opacity: 1;
}

.tm-process-step.active {
    background: #ffffff;
    border-color: rgba(0, 74, 173, 0.25);
    box-shadow: 0 15px 40px rgba(0, 74, 173, 0.08);
}

.tm-process-step.active .tm-process-step-content h5 {
    color: #0f172a;
}

.tm-process-step.active .tm-process-step-bullet {
    transform: scale(1.15);
    background: #ffffff;
    border-width: 4px;
}

/* Compensate hover movement to keep bullet circles stationary */
.tm-process-step:hover .tm-process-step-bullet {
    transform: translateX(-8px);
}

.tm-process-step.active:hover .tm-process-step-bullet {
    transform: translateX(-8px) scale(1.15);
}

/* Theme 1: Orange (Onboarding) */
.tm-process-step[data-step="1"].active .tm-process-step-bullet {
    border-color: #ff6500;
    color: #ff6500;
}

.tm-process-step[data-step="1"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ff6500;
}

/* Theme 2: Blue (Brief Prep) */
.tm-process-step[data-step="2"].active .tm-process-step-bullet {
    border-color: #004aad;
    color: #004aad;
}

.tm-process-step[data-step="2"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #004aad;
}

/* Theme 3: Teal (Showcase) */
.tm-process-step[data-step="3"].active .tm-process-step-bullet {
    border-color: #00796b;
    color: #00796b;
}

.tm-process-step[data-step="3"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00796b;
}

/* Theme 4: Gold (Outreach) */
.tm-process-step[data-step="4"].active .tm-process-step-bullet {
    border-color: #f57f17;
    color: #f57f17;
}

.tm-process-step[data-step="4"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57f17;
}

/* Theme 5: Purple (Lead Development) */
.tm-process-step[data-step="5"].active .tm-process-step-bullet {
    border-color: #6a1b9a;
    color: #6a1b9a;
}

.tm-process-step[data-step="5"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #6a1b9a;
}

/* Theme 6: Red (Spotlight) */
.tm-process-step[data-step="6"].active .tm-process-step-bullet {
    border-color: #c62828;
    color: #c62828;
}

.tm-process-step[data-step="6"].active .tm-process-step-icon {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: #c62828;
}


/* RIGHT COLUMN: Interactive Display Panel */
.tm-process-display {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 74, 173, 0.08);
    overflow: hidden;
    height: auto;
    transition: all 0.5s ease;
}

.tm-process-display-inner {
    padding: 40px;
    position: relative;
    z-index: 2;
}



.tm-process-display-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 240px;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.tm-process-display-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tm-process-display:hover .tm-process-display-image-wrapper img {
    transform: scale(1.05);
}

/* Content Pane with Animation Support */
.tm-process-pane {
    display: none;
}

.tm-process-pane.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.tm-process-pane h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}


.tm-process-pane p.desc {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 24px;
}

/* Key Deliverables */
.tm-process-deliverables {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

.tm-process-deliverables h6 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 16px;
}

.tm-process-deliverables-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tm-process-deliverables-list li {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.tm-process-deliverables-list li:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.tm-process-deliverables-list li i {
    font-size: 18px;
    flex-shrink: 0;
}



.check-orange {
    color: #ff6500;
}

.check-blue {
    color: #004aad;
}

.check-teal {
    color: #00796b;
}

.check-gold {
    color: #f57f17;
}

.check-purple {
    color: #6a1b9a;
}

.check-red {
    color: #c62828;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .tm-process-selector {
        padding-left: 45px;
    }

    .tm-process-selector::before {
        left: 16px;
        top: 43px;
        width: 2px;
        height: var(--timeline-height, calc(100% - 150px));
    }

    .tm-process-line-progress {
        left: 16px;
        top: 43px;
        width: 2px;
    }

    .tm-process-step-bullet {
        left: -40px;
        top: 31px;
        width: 24px;
        height: 24px;
        font-size: 10px;
        border-width: 2px;
    }

    .tm-process-step {
        padding: 20px;
        background: #ffffff;
        border: 1px solid #eef1f6;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        margin-bottom: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .tm-process-step:hover {
        transform: none;
    }

    .tm-process-step:hover .tm-process-step-bullet {
        transform: none;
    }

    .tm-process-step.active:hover .tm-process-step-bullet {
        transform: scale(1.15);
    }

    .tm-process-step-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
        margin-right: 0;
    }

    .tm-process-step-content h5 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .tm-process-step-content p {
        -webkit-line-clamp: unset;
        overflow: visible;
        margin-bottom: 16px;
    }

    .tm-process-step-mobile-details {
        display: none;
        width: 100%;
        margin-top: 15px;
        border-top: 1px solid #f1f5f9;
        padding-top: 15px;
    }

    .tm-process-step.active .tm-process-step-mobile-details {
        display: block;
        animation: fadeInUp 0.4s ease forwards;
    }

    .tm-process-step-mobile-image {
        width: 100%;
        height: 180px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .tm-process-step-mobile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tm-process-deliverables {
        padding-top: 16px;
    }

    .tm-process-deliverables h6 {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .tm-process-deliverables-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tm-process-deliverables-list li {
        padding: 10px 14px;
        font-size: 13px;
    }

    .tm-process-display {
        display: none;
    }
}

@media (min-width: 992px) {
    .tm-process-step-mobile-details {
        display: none;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ====================================================
   SECTION — LICENSING SECTION OVERRIDE
   (tt-licensing-section from tech.css but for marketing)
   ==================================================== */
.tm-licensing-section {
    padding-block: 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fafcff 0%, #f0f4ff 100%);
}

.tm-licensing-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 101, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 74, 173, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
    .tm-brief-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tm-section {
        padding-block: 50px;
    }

    .tm-section-sm {
        padding-block: 40px;
    }



    .tm-brief-section {
        padding-block: 60px;
    }

    .tm-services-section {
        padding-block: 60px;
    }
}

@media (max-width: 767px) {
    .tm-brief-features {
        grid-template-columns: 1fr;
    }

    .tm-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tm-section-title h4 {
        font-size: 22px !important;
    }

    .tm-intro-text {
        font-size: 15px;
    }

    .tm-intro-section p,
    .tm-brief-section p,
    .tm-services-section p {
        text-align: justify !important;
        word-spacing: -0.8px !important;
        word-break: break-word;
        hyphens: auto;
    }

    .tm-process-step[data-step="3"] .tm-process-step-content p {
        text-align: left !important;
        word-spacing: normal !important;
    }



    section.titleh4,
    .tm-intro-section,
    .tm-brief-section,
    .tm-services-section,
    .tm-section {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .tm-service-card-body {
        padding: 22px 20px;
    }

    .tm-service-card-body h5 {
        font-size: 17px;
    }

    .tm-brief-description {
        margin-bottom: 5px !important;
    }

    @media (max-width: 575px) {
        .ban-content h1 {
            font-size: 32px;
        }

        .tm-section {
            padding-block: 40px;
        }

        .tm-brief-feature-item {
            padding: 20px 18px;
        }
    }
}