﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

.tc {
    --tc-bg: #080E1A;
    --tc-bg-alt: #0B1422;
    --tc-cyan: #0EA5E9;
    --tc-text: #E8F4FF;
    --tc-text-dim: #7A9CBB;
    --tc-border: #1A2E44;
    background: var(--tc-bg);
    color: var(--tc-text);
    font-family: 'Montserrat',sans-serif;
}

/* container */
.tc .tc-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* sections */
.tc .tc-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--tc-border);
}

.tc .tc-alt {
    background: var(--tc-bg-alt);
}

.text-center {
    text-align: center
}

/* headings */
.tc-gradient-heading {
    font-size: clamp(30px,5vw,48px);
    font-weight: 800;
    background: linear-gradient(135deg,#fff 20%,var(--tc-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* subtitle */
.tc-subheadline {
    color: var(--tc-text-dim);
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 18px;
}

.tc-subtitle {
    color: var(--tc-text-dim);
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 16px;
    margin-top:20px;
}



.tc-trust {
    color: var(--tc-text-dim);
    margin-top: 20px;
}

/* buttons */
.tc-btn-primary {
    background: var(--tc-cyan);
    color: #fff;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.tc-btn-outline {
    border: 1px solid var(--tc-border);
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    margin-left: 10px;
}

.tc-cta-group {
    margin-top: 25px
}

/* icon list */
.tc-icon-list {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 40px !important;
}

    .tc-icon-list li {
        background: var(--tc-bg-alt) !important;
        border: 1px solid var(--tc-border) !important;
        padding: 18px 20px !important;
        border-radius: 12px !important;
        transition: 0.3s !important;
        display: flex !important; /* flex container */
        align-items: flex-start !important; /* aligns checkmark with first line */
        gap: 15px !important; /* space between checkmark and text */
        text-align: left !important;
        position: relative !important;
    }

        .tc-icon-list li:hover {
            transform: translateY(-6px) !important;
            border-color: var(--tc-cyan) !important;
        }

        .tc-icon-list li::before {
            content: "✓" !important;
            flex-shrink: 0 !important; /* prevents icon from shrinking */
            width: 28px !important;
            height: 28px !important;
            border-radius: 50% !important;
            background: linear-gradient(135deg, #0EA5E9, #0284C7) !important;
            color: #fff !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-weight: bold !important;
            font-size: 14px !important;
        }


/* cards */
.tc-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    margin-top: 50px;
}

.tc-card {
    background: #0D1B2E;
    border: 1px solid var(--tc-border);
    padding: 40px;
    border-radius: 16px;
    transition: .3s;
}

    .tc-card:hover {
        transform: translateY(-5px);
        border-color: var(--tc-cyan);
    }

    .tc-card i {
        color: var(--tc-cyan);
        margin-right: 10px;
        font-size:26px;
    }

/* animation */
.tc-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: .9s ease;
}

    .tc-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }


/* ================= FAQ ACCORDION ================= */

.tc-faq {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.tc-faq-item {
    background: #0B1422;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.tc-faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

    .tc-faq-question:hover {
        background: rgba(255,255,255,0.04);
    }

.tc-faq-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.tc-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #cbd5e1;
    line-height: 1.6;
    transition: all 0.35s ease;
}

/* Active State */
.tc-faq-item.active .tc-faq-answer {
    max-height: 200px;
    padding: 15px 20px 20px;
}

.tc-faq-item.active .tc-faq-icon {
    transform: rotate(45deg);
}









/* responsive */
@media(max-width:992px) {
    .tc-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   TRANSPORT ACCOUNTING — MOBILE RESPONSIVE (TC)
   SAFE SCOPED MOBILE CSS
===================================================== */

@media screen and (max-width: 768px) {

    /* ---------- Container ---------- */
    .tc-container {
        width: 100%;
        padding: 20px 15px;
        margin: 0 auto;
    }

    /* ---------- Sections ---------- */
    .tc-section {
        padding: 30px 15px;
    }

    /* ---------- Headings ---------- */
    .tc-gradient-heading {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .tc-subheadline {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 12px;
    }

    .tc-trust {
        font-size: 0.9rem;
        margin-top: 15px;
    }

    /* ---------- CTA Buttons ---------- */
    .tc-cta-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .tc-btn-primary,
    .tc-btn-outline {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 0.95rem;
    }

    /* ---------- Lists ---------- */
    .tc-icon-list {
        padding-left: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

        .tc-icon-list li {
            font-size: 0.95rem;
            line-height: 1.6;
            word-break: break-word;
        }

        .tc-icon-list a {
            display: inline-block;
            word-break: break-word;
        }

    /* ---------- Feature Grid ---------- */
    .tc-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .tc-card {
        padding: 16px;
        text-align: center;
        border-radius: 10px;
    }

        .tc-card h3 {
            font-size: 1.05rem;
            line-height: 1.4;
            margin-top: 8px;
        }

        .tc-card p {
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .tc-card i {
            font-size: 1.4rem;
        }

    /* ---------- FAQ ---------- */
    /*.tc-faq {
        margin-top: 15px;
    }

    .tc-faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .tc-faq-question {
        width: 100%;
        padding: 14px 12px;
        font-size: 1rem;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tc-faq-icon {
        font-size: 1.2rem;
    }

    .tc-faq-answer {
        padding: 10px 12px 15px;
        font-size: 0.95rem;
        line-height: 1.6;
    }*/

    /* =====================================================
   TC FAQ ACCORDION FIX (Scoped)
   ===================================================== */

    .tc-faq {
        margin-top: 15px;
    }

    /* FAQ item */
    .tc-faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    /* QUESTION */
    .tc-faq-question {
        width: 100%;
        padding: 14px 12px;
        font-size: 1rem;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        background: transparent;
        border: none;
    }

    /* PLUS ICON */
    .tc-faq-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    /* ANSWER — hidden initially */
    .tc-faq-answer {
        max-height: 0; /* hides content */
        overflow: hidden; /* prevents visible line */
        opacity: 0;
        padding: 0 12px; /* remove vertical padding */
        font-size: 0.95rem;
        line-height: 1.6;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    }

    /* ACTIVE STATE */
    .tc-faq-item.active .tc-faq-answer {
        max-height: 300px;
        opacity: 1;
        padding: 10px 12px 15px;
    }

    /* ICON ROTATION */
    .tc-faq-item.active .tc-faq-icon {
        transform: rotate(45deg);
    }

    /* ---------- Alternate Sections ---------- */
    .tc-alt {
        padding: 30px 15px;
    }
}


/* =====================================================
   SMALL PHONES (<480px)
===================================================== */

@media screen and (max-width: 480px) {

    .tc-gradient-heading {
        font-size: 1.4rem;
    }

    .tc-subheadline {
        font-size: 0.9rem;
    }

    .tc-card h3 {
        font-size: 1rem;
    }

    .tc-card p {
        font-size: 0.9rem;
    }

    .tc-btn-primary,
    .tc-btn-outline {
        font-size: 0.9rem;
        padding: 11px 0;
    }

    .tc-icon-list li {
        font-size: 0.9rem;
    }
}