/* TracknGo Premium Footer Styles */
.trackngo-footer {
    background: #000818;
    /* Very Dark Blue */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 0, 0, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 0, 0.05), transparent 25%);
    color: #fff;
    position: relative;
    padding-top: 0;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.trackngo-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M10 10h80v80h-80z" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/%3E%3C/svg%3E') repeat;
    opacity: 0.5;
    pointer-events: none;
}

.trackngo-footer-top {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 0, 0, 0.85);
    background: rgba(255, 0, 0, 0.85);
    position: relative;
    z-index: 10;
}

.tgo-brand-block {
    background: #f4f4f4;
    /* Light Grey */
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    min-width: 320px;
}

.tgo-brand-block .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000818;
    /* Dark Blue for contrast on light grey */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tgo-brand-block .logo img {
    max-height: 90px;
    width: auto;
}

.tgo-description-block {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 50px 0 20px;
}

.tgo-description-text {
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 950px;
}

.tgo-newsletter-form {
    display: flex;
    width: 100%;
    max-width: 600px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tgo-newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: #fff;
    font-size: 1.5rem;
    outline: none;
}

.tgo-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.tgo-newsletter-form button {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.tgo-newsletter-form button:hover {
    background: #b30000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

.trackngo-footer-main {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.trackngo-footer-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tgo-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
}

.tgo-col h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: #fff;
}

.tgo-contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tgo-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.tgo-contact-item:last-child {
    border-bottom: none;
}

.tgo-contact-item .icon {
    color: #ff0000;
    margin-top: 3px;
}

.tgo-contact-content {
    display: flex;
    flex-direction: column;
}

.tgo-contact-content strong {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 5px;
}

.tgo-contact-content span {
    font-size: 1.5rem;
    color: #9ba4b5;
    line-height: 1.5;
}

.tgo-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tgo-links-list li {
    margin-bottom: 18px;
}

.tgo-links-list a {
    color: #9ba4b5;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.tgo-links-list a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid #ff0000;
    border-right: 2px solid #ff0000;
    transform: rotate(45deg);
    margin-right: 12px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tgo-links-list a:hover {
    color: #ff0000;
    transform: translateX(5px);
}

.tgo-links-list a:hover::before {
    opacity: 1;
    border-color: #fff;
}

.trackngo-footer-bottom {
    background: #00040d;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.tgo-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tgo-copyright {
    color: #9ba4b5;
    font-size: 1.4rem;
}

.tgo-copyright span {
    color: #ff0000;
}

.tgo-socials {
    display: flex;
    gap: 15px;
}

.tgo-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tgo-social-btn:hover {
    background: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .trackngo-footer-top {
        flex-direction: column;
    }

    .tgo-brand-block {
        clip-path: none;
        width: 100%;
        padding: 30px;
        min-width: auto;
    }

    .tgo-description-block {
        padding: 30px;
        text-align: center;
        display: block;
    }

    .tgo-description-text {
        text-align: center;
        max-width: 100%;
    }

    .tgo-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .tgo-brand-block {
        padding: 15px 20px;
    }

    .tgo-brand-block .logo {
        font-size: 2.0rem;
    }

    .tgo-brand-block .logo img {
        max-height: 60px;
    }

    .tgo-description-block {
        padding: 15px 20px;
        text-align: left;
    }

    .tgo-description-text {
        font-size: 1.4rem;
        text-align: left;
    }

    .trackngo-footer-main {
        padding: 32px 0 26px;
    }

    .trackngo-footer-main .container,
    .tgo-bottom-inner {
        padding-left: 20px;
        padding-right: 92px;
    }

    .tgo-row {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .tgo-col h4 {
        font-size: 1.9rem;
        margin-bottom: 16px;
        text-align: left;
    }

    .tgo-contact-list {
        gap: 16px;
    }

    .tgo-contact-item {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        padding-bottom: 14px;
        gap: 12px;
    }

    .tgo-contact-sub-item {
        justify-content: flex-start !important;
    }

    .tgo-contact-content strong {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .tgo-contact-content span {
        font-size: 1.4rem;
    }

    .tgo-contact-content {
        align-items: flex-start;
    }

    .tgo-contact-item .icon {
        margin-top: 4px;
        flex: 0 0 auto;
    }

    .tgo-contact-sub-item strong {
        font-size: 1.45rem;
        line-height: 1.5;
    }

    .tgo-links-list li {
        margin-bottom: 10px;
    }

    .tgo-links-list a {
        justify-content: flex-start;
        font-size: 1.45rem;
        line-height: 1.45;
        text-align: left;
    }

    .tgo-links-list a::before {
        margin-right: 10px;
        flex: 0 0 7px;
    }

    .trackngo-footer-bottom {
        padding: 16px 0 18px;
    }

    .tgo-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .tgo-copyright {
        font-size: 1.25rem;
        line-height: 1.6;
        text-align: center;
    }

    .tgo-copyright img {
        width: 80px !important;
        margin-top: 5px;
    }

    .tgo-socials {
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tgo-social-btn {
        width: 38px;
        height: 38px;
    }
}
