/* ============================================================
   BATCH 4: Bottom Page Polish — Partners Ticker, Contact, Footer
   ============================================================ */

/* ============================================================
   1. PARTNER TICKER — Continuous horizontal scroll
   ============================================================ */

.partner-ticker-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Fade edges for seamless look */
.partner-ticker-wrap::before,
.partner-ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partner-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.partner-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.partner-ticker {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}


.partner-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    padding: 10px 20px;
    text-decoration: none;
    transition: filter 0.35s ease, transform 0.3s ease;
}

.partner-ticker-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.35s ease, transform 0.3s ease;
}

.partner-ticker-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   2. CONTACT SECTION — 50/50 Split Layout
   ============================================================ */

.contact-split {
    padding: 0 !important;
    max-width: 100% !important;
}

.contact-map-col {
    position: relative;
    min-height: calc(100vh - 86px);
}

.contact-map-col iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: calc(100vh - 86px);
}

.contact-form-inner {
    width: 100%;
    max-width: 500px;
}

.contact-form-inner h1 {
    color: #ffffff !important;
}

/* Override batch2 contact section rules for new layout */
#Contact-us {
    padding: 0 !important;
}

#Contact-us > .container-fluid {
    padding: 0 !important;
}

/* ============================================================
   3. FOOTER — Multi-column layout
   ============================================================ */

#site-footer {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

#site-footer .container.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 2rem !important;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.footer-address,
.footer-email {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.4rem;
}

.footer-email a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-email a:hover {
    color: #06b6d4;
}

/* Footer links */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.6rem;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a:hover {
    color: #06b6d4;
    padding-left: 4px;
}

.footer-link-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.7;
}

/* Copyright bar */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   4. MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    /* Ticker: faster on mobile */
    .partner-ticker {
        gap: 40px;
        animation-duration: 20s;
    }

    .partner-ticker-item {
        width: 120px;
        height: 60px;
        padding: 8px 12px;
    }

    .partner-ticker-item img {
        max-height: 45px;
    }

    .partner-ticker-wrap::before,
    .partner-ticker-wrap::after {
        width: 40px;
    }

    /* Contact: stack on mobile */
    .contact-map-col {
        min-height: 300px;
        position: relative;
    }

    .contact-map-col iframe {
        position: relative;
        min-height: 300px;
        height: 300px;
    }

    .contact-form-col {
        min-height: auto;
        padding: 40px 20px;
    }

    /* Footer: stack columns */
    #site-footer .row.g-5 > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partner-ticker-item {
        width: 140px;
        height: 70px;
    }

    .contact-form-col {
        padding: 40px 30px;
    }
}