/* Shivanya Tech shared footer */
.cs-footer {
    --footer-text: #f5f8ff;
    --footer-muted: #a8b5c9;
    --footer-line: rgba(177, 201, 230, .14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 58px 0 22px;
    border-top: 1px solid rgba(56, 189, 248, .42);
    background: linear-gradient(145deg, #071321 0%, #091827 48%, #07111d 100%);
    color: var(--footer-text);
}

.cs-footer-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cs-footer-grid {
    position: absolute; inset: 0; opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.cs-footer-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; filter: blur(110px); opacity: .13; }
.cs-footer-glow-one { top: -340px; left: 8%; background: #0ea5e9; }
.cs-footer-glow-two { right: -250px; bottom: -300px; background: #2563eb; opacity: .10; }

.cs-footer-top {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    margin-bottom: 58px; padding: 30px 34px;
    border: 1px solid rgba(125, 211, 252, .20); border-radius: 18px;
    background: linear-gradient(105deg, rgba(15, 43, 68, .96), rgba(11, 32, 53, .78));
    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}
.cs-footer-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 10px; color: #8bdcf6; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cs-footer-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 14px rgba(56,189,248,.8); }
.cs-footer-top h2 { margin: 0; color: var(--footer-text); font-family: var(--cs-font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 750; letter-spacing: -.035em; }
.cs-footer-top-copy p { max-width: 610px; margin: 9px 0 0; color: var(--footer-muted); font-size: 13px; line-height: 1.7; }
.cs-footer-top-cta {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 12px;
    min-height: 48px; padding: 0 19px; border: 1px solid #38bdf8; border-radius: 9px;
    background: #38bdf8; color: #071321; font-size: 12px; font-weight: 750; text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cs-footer-top-cta:hover { transform: translateY(-2px); background: #7dd3fc; color: #071321; box-shadow: 0 10px 28px rgba(56,189,248,.18); }
.cs-footer-top-cta i { font-size: 15px; }

.cs-footer-main {
    display: grid; grid-template-columns: minmax(220px, 1.45fr) minmax(145px, .8fr) minmax(130px, .7fr) minmax(235px, 1.1fr);
    gap: 42px; padding: 0 8px 48px;
}
.cs-footer-brand { max-width: 300px; }
.cs-footer-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--footer-text); text-decoration: none; }
.cs-footer-logo:hover { color: var(--footer-text); }
.cs-footer-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(125,211,252,.55); border-radius: 12px; background: linear-gradient(145deg, #123c5b, #0c263f); color: #7dd3fc; font-family: var(--cs-font-heading); font-size: 13px; font-weight: 800; letter-spacing: -.04em; }
.cs-footer-wordmark { font-family: var(--cs-font-heading); font-size: 18px; font-weight: 800; letter-spacing: -.035em; }
.cs-footer-wordmark span { color: #55c9f0; }
.cs-footer-tagline { margin: 18px 0 17px; color: var(--footer-muted); font-size: 13px; line-height: 1.75; }
.cs-footer-location { display: flex; align-items: center; gap: 8px; color: #8497ae; font-size: 11px; }
.cs-footer-location i { color: #55c9f0; font-size: 13px; }
.cs-footer-column { min-width: 0; }
.cs-footer-heading { margin: 4px 0 20px; color: #e9f2fc; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cs-footer-links { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; }
.cs-footer-links li { margin: 0; padding: 0; }
.cs-footer-links a { display: inline-flex; color: #9eafc3; font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.cs-footer-links a:hover { transform: translateX(3px); color: #7dd3fc; }
.cs-footer-contact { padding: 20px; border: 1px solid var(--footer-line); border-radius: 14px; background: rgba(255,255,255,.035); }
.cs-footer-contact .cs-footer-heading { margin-top: 0; margin-bottom: 17px; }
.cs-footer-contact-link { display: flex; align-items: center; gap: 12px; margin-top: 13px; text-decoration: none; }
.cs-footer-contact-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid rgba(125,211,252,.18); border-radius: 10px; background: rgba(56,189,248,.08); color: #7dd3fc; }
.cs-footer-contact-link > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.cs-footer-contact-link small { color: #8497ae; font-size: 10px; }
.cs-footer-contact-link strong { overflow-wrap: anywhere; color: #e6f0fb; font-size: 12px; font-weight: 600; }
.cs-footer-contact-link:hover strong { color: #7dd3fc; }
.cs-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 8px 0; border-top: 1px solid var(--footer-line); }
.cs-footer-copyright { color: #8394a9; font-size: 11px; line-height: 1.5; }
.cs-footer-copyright span { color: #687b92; }
.cs-footer-bottom-links { display: flex; align-items: center; gap: 22px; color: #71849b; font-size: 10px; }
.cs-footer-bottom-links a { display: inline-flex; align-items: center; gap: 6px; color: #a8b8ca; text-decoration: none; transition: color .18s ease; }
.cs-footer-bottom-links a:hover { color: #7dd3fc; }
.cs-footer a:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 4px; border-radius: 3px; }

@media (max-width: 991.98px) {
    .cs-footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px 28px; }
    .cs-footer-brand { grid-column: 1 / -1; max-width: 460px; }
    .cs-footer-contact { grid-column: 2 / -1; }
}
@media (max-width: 767.98px) {
    .cs-footer { padding-top: 38px; }
    .cs-footer-top { align-items: flex-start; flex-direction: column; margin-bottom: 42px; padding: 25px 22px; }
    .cs-footer-top-cta { width: 100%; }
    .cs-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding: 0 2px 34px; }
    .cs-footer-brand { grid-column: 1 / -1; }
    .cs-footer-contact { grid-column: 1 / -1; }
    .cs-footer-bottom { align-items: flex-start; flex-direction: column; padding-right: 2px; padding-left: 2px; }
    .cs-footer-bottom-links { flex-wrap: wrap; gap: 10px 18px; }
}
@media (max-width: 420px) {
    .cs-footer-main { grid-template-columns: 1fr; gap: 27px; }
    .cs-footer-brand, .cs-footer-contact { grid-column: auto; }
    .cs-footer-contact { padding: 17px; }
    .cs-footer-top h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .cs-footer *, .cs-footer *::before, .cs-footer *::after { scroll-behavior: auto !important; transition: none !important; }
}
