/* Shared across every Eway Infratech page — load after the page's own code.css */

/* Readability: Tailwind slate-500 body copy and font-light paragraphs were too faint on white */
.text-slate-500 { color: #475569; }
p.font-light { font-weight: 400; }

/* Custom cursor stays hidden until the mouse first moves (otherwise it sits in the top-left corner) */
.custom-cursor, .cursor-follower { opacity: 0; }
.custom-cursor { transition: transform 0.1s ease, opacity 0.3s ease; }
.cursor-follower { transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease; }
.cursor-ready .custom-cursor, .cursor-ready .cursor-follower { opacity: 1; }

/* Site footer — dark brand footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #16133F 0%, #1E1A55 55%, #12284F 100%);
    color: #B8BCD9;
    padding: 5rem 1.5rem 2rem;
    font-size: 0.95rem;
}
.site-footer-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -220px;
    border-radius: 9999px;
    background: rgba(44, 177, 166, 0.18);
    filter: blur(140px);
    pointer-events: none;
}
.site-footer-inner {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding-bottom: 3.5rem;
}
.site-footer-logo img {
    height: 2.6rem;
    width: auto;
}
.site-footer-tagline {
    margin: 1.5rem 0 1.75rem;
    max-width: 22rem;
    line-height: 1.65;
}
.site-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.site-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.site-footer-contact span {
    padding: 0.45rem 0;
}
.site-footer-contact svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: #2CB1A6;
    flex-shrink: 0;
}
.site-footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.site-footer .site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.site-footer-social svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: #E7E9F7;
}
.site-footer .site-footer-social a:hover {
    background: #2CB1A6;
    border-color: #2CB1A6;
    transform: translateY(-2px);
}
.site-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-footer-heading {
    margin: 0 0 0.9rem;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.site-footer a {
    display: inline-block;
    padding: 0.45rem 0;
    color: #B8BCD9;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: #ffffff;
}
.site-footer a:focus-visible {
    outline: 2px solid #2CB1A6;
    outline-offset: 3px;
    border-radius: 4px;
}
.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8C90B3;
    font-size: 0.82rem;
}
.site-footer-bottom p {
    margin: 0;
}
@media (max-width: 1023px) {
    .site-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .site-footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 639px) {
    .site-footer {
        padding-top: 3.5rem;
    }
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-footer a, .site-footer .site-footer-social a { transition: none; }
}
