/* ==========================================================================
   TG Logistics (BD) Ltd. - Unified Master Design System (tgl-master.css)
   Brand Colors: Navy (#0d213f), Emerald (#42B574), Light Surface (#f4f7fb)
   ========================================================================== */

:root {
    --tgl-navy: #0d213f;
    --tgl-navy-deep: #071324;
    --tgl-navy-mid: #16335b;
    --tgl-emerald: #42B574;
    --tgl-emerald-dark: #25854f;
    --tgl-surface: #ffffff;
    --tgl-bg: #f4f7fb;
    --tgl-bg-soft: #eef2f6;
    --tgl-text: #1e293b;
    --tgl-muted: #52637a;
    --tgl-border: #e2e8f0;
    --tgl-radius-lg: 16px;
    --tgl-radius-md: 12px;
    --tgl-radius-sm: 8px;
    --tgl-shadow-sm: 0 6px 18px rgba(13, 33, 63, 0.05);
    --tgl-shadow-md: 0 14px 34px rgba(13, 33, 63, 0.08);
    --tgl-shadow-lg: 0 22px 48px rgba(13, 33, 63, 0.14);
}

.tgl-portal {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    color: var(--tgl-text);
    background-color: var(--tgl-surface);
    overflow-x: hidden;
}

.tgl-portal h1,
.tgl-portal h2,
.tgl-portal h3,
.tgl-portal h4 {
    font-family: 'Montserrat', 'Hind Siliguri', sans-serif;
    color: var(--tgl-navy);
    letter-spacing: -0.015em;
}

/* Shared Section Rhythm */
.tgl-sec {
    padding: 68px 0;
}

.tgl-sec-gray {
    background-color: var(--tgl-bg);
}

.tgl-sec-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 42px;
}

.tgl-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--tgl-emerald-dark);
    background: rgba(66, 181, 116, 0.12);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.tgl-sec-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.tgl-sec-sub {
    font-size: 0.95rem;
    color: var(--tgl-muted);
    line-height: 1.65;
    margin: 0;
}

/* Unified Buttons */
.tgl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--tgl-emerald-dark), var(--tgl-emerald));
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 22px;
    border-radius: var(--tgl-radius-sm);
    border: none;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 133, 79, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tgl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 133, 79, 0.34);
}

.tgl-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: var(--tgl-radius-sm);
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tgl-btn-outline:hover {
    background: #ffffff;
    color: var(--tgl-navy) !important;
}

/* Unified Cards */
.tgl-card {
    background: var(--tgl-surface);
    border: 1px solid var(--tgl-border);
    border-radius: var(--tgl-radius-md);
    box-shadow: var(--tgl-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tgl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tgl-shadow-md);
    border-color: rgba(66, 181, 116, 0.45);
}

/* Hero Section */
.tgl-hero {
    background: linear-gradient(135deg, var(--tgl-navy-deep) 0%, var(--tgl-navy) 58%, #133b4c 100%);
    color: #ffffff;
    padding: 58px 0 64px;
}

.tgl-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 181, 116, 0.16);
    border: 1px solid rgba(110, 231, 183, 0.4);
    color: #6ee7b7;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.tgl-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 14px;
}

.tgl-hero h1 span {
    color: #6ee7b7;
}

.tgl-hero-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 590px;
}

.tgl-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 26px;
    font-size: 0.86rem;
    color: #e2e8f0;
}

.tgl-hero-meta i {
    color: #6ee7b7;
    margin-right: 6px;
}

.tgl-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Quote Box */
.tgl-quote-box {
    background: var(--tgl-surface);
    color: var(--tgl-text);
    border-radius: var(--tgl-radius-lg);
    padding: 24px;
    box-shadow: var(--tgl-shadow-lg);
    border-top: 4px solid var(--tgl-emerald);
}

.tgl-quote-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.tgl-quote-box p {
    font-size: 0.84rem;
    color: var(--tgl-muted);
    margin-bottom: 14px;
}

.tgl-quote-box .form-control,
.tgl-quote-box .form-select {
    font-size: 0.86rem;
    padding: 10px 12px;
    border-radius: var(--tgl-radius-sm);
    border: 1px solid #cbd5e1;
    margin-bottom: 10px;
}

/* Stats Strip */
.tgl-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.tgl-stat-box {
    background: var(--tgl-bg);
    border: 1px solid var(--tgl-border);
    border-bottom: 3px solid var(--tgl-emerald);
    border-radius: var(--tgl-radius-md);
    padding: 14px 12px;
    text-align: center;
}

.tgl-stat-box strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tgl-navy);
}

.tgl-stat-box span {
    font-size: 0.78rem;
    color: var(--tgl-muted);
    font-weight: 600;
}

/* Services Grid */
.tgl-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .tgl-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .tgl-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tgl-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    .tgl-services-grid,
    .tgl-stats-row {
        grid-template-columns: 1fr;
    }
}

.tgl-service-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tgl-service-img {
    width: 100%;
    height: 158px;
    object-fit: cover;
    display: block;
    background: var(--tgl-navy);
}

.tgl-service-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tgl-service-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.tgl-service-body p {
    font-size: 0.83rem;
    color: var(--tgl-muted);
    line-height: 1.55;
    margin: 0 0 12px;
    flex-grow: 1;
}

.tgl-service-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tgl-emerald-dark);
    text-decoration: none !important;
}

.tgl-service-link:hover {
    color: var(--tgl-navy);
}

/* Clean Logo Marquee */
.tgl-marquee-wrap {
    background: var(--tgl-surface);
    border: 1px solid var(--tgl-border);
    border-radius: var(--tgl-radius-lg);
    padding: 18px 14px;
    overflow: hidden;
    box-shadow: var(--tgl-shadow-sm);
}

.tgl-marquee-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: tglScrollLogos 30s linear infinite;
}

.tgl-marquee-wrap:hover .tgl-marquee-track {
    animation-play-state: paused;
}

.tgl-logo-item {
    flex: 0 0 auto;
    width: 156px;
    height: 76px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--tgl-radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgl-logo-item img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes tglScrollLogos {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Bottom CTA Banner */
.tgl-cta-strip {
    background: linear-gradient(135deg, var(--tgl-navy) 0%, var(--tgl-navy-mid) 100%);
    color: #ffffff;
    border-radius: var(--tgl-radius-lg);
    padding: 32px 28px;
    border-left: 5px solid var(--tgl-emerald);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tgl-cta-strip h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.tgl-cta-strip p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.92rem;
}