/* =========================================================
   DIGITAL YAARANA — FOOTER + FLOATING CONTACT
   Brand palette: Navy Blue #0B3B8F | Orange #FF7A00 | White
   Responsive, clean, modern styling
========================================================= */

:root {
    --dy-blue: #0B3B8F;
    --dy-blue-dark: #082B59;
    --dy-orange: #FF7A00;
    --dy-orange-dark: #E96800;
    --dy-text: #1E293B;
    --dy-muted: #64748B;
    --dy-border: #E2E8F0;
    --dy-soft: #F7F9FC;
    --dy-white: #FFFFFF;
    --dy-shadow: 0 16px 40px rgba(8, 43, 89, 0.08);
}

/* Legacy footer selectors, retained for compatibility */
footer {
    padding: 64px 0 18px;
    background: var(--dy-white);
    color: var(--dy-muted);
}

.foot {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding-bottom: 42px;
}

.lightbrand strong {
    color: var(--dy-blue);
}

.foot p {
    max-width: 360px;
    color: var(--dy-muted);
    font-size: 14px;
    line-height: 1.8;
}

.foot h4 {
    color: var(--dy-blue);
    font-size: 15px;
    font-weight: 700;
}

.foot a {
    display: block;
    margin: 9px 0;
    color: var(--dy-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.foot a:hover {
    color: var(--dy-orange);
    transform: translateX(3px);
}

.bottom {
    padding-top: 18px;
    border-top: 1px solid var(--dy-border);
    color: var(--dy-muted);
    font-size: 12px;
}

.bottom span {
    float: right;
}

/* Main footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 68px 0 0;
    background: var(--dy-white);
    color: var(--dy-muted);
    border-top: 1px solid var(--dy-border);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 3px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, var(--dy-blue), var(--dy-orange));
}

.site-footer .wrap {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Footer grid */
.footer-main {
    display: grid;
    grid-template-columns: minmax(230px, 1.55fr) repeat(3, minmax(150px, 1fr)) minmax(150px, 1fr);
    gap: 30px;
    padding-bottom: 48px;
}

.footer-brand-col,
.footer-column {
    min-width: 0;
}

.footer-brand-col .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-brand-col .brand img {
    display: block;
    width: 78px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand,
.footer-brand-mark,
.footer-brand-text {
    text-decoration: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--dy-orange), #FF9638);
    color: var(--dy-white);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255, 122, 0, .20);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-brand-text strong {
    color: var(--dy-blue);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.footer-brand-text small {
    margin-top: 5px;
    color: var(--dy-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.footer-description {
    max-width: 360px;
    margin: 0 0 22px;
    color: var(--dy-muted);
    font-size: 13px;
    line-height: 1.85;
}

/* Contact details */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 100%;
    color: var(--dy-muted);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-contact-item:hover {
    color: var(--dy-blue);
    transform: translateX(3px);
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid #DCE7F6;
    border-radius: 11px;
    background: #F1F6FF;
    color: var(--dy-blue);
    font-size: 15px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    border-color: var(--dy-orange);
    background: var(--dy-orange);
    color: var(--dy-white);
}

.footer-contact-item > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-contact-item small {
    margin-bottom: 3px;
    color: #94A3B8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.footer-contact-item strong {
    overflow-wrap: anywhere;
    color: var(--dy-text);
    font-size: 12px;
    font-weight: 600;
}

/* Social links */
.footer-social {
    margin-top: 8px;
}

.footer-social-title {
    display: block;
    margin-bottom: 11px;
    color: var(--dy-blue);
    font-size: 12px;
    font-weight: 800;
}

.footer-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--dy-border);
    border-radius: 11px;
    background: var(--dy-white);
    color: var(--dy-blue);
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-social-links a:hover {
    transform: translateY(-3px);
    border-color: var(--dy-orange);
    background: var(--dy-orange);
    color: var(--dy-white);
}

/* Footer columns */
.footer-column-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 3px 0 22px;
    padding-bottom: 12px;
    color: var(--dy-blue);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.footer-column-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 3px;
    border-radius: 10px;
    background: var(--dy-orange);
}

.footer-service-heading {
    color: var(--dy-blue);
}

.footer-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid #FCE2CC;
    border-radius: 10px;
    background: #FFF5EB;
    color: var(--dy-orange);
}

.footer-heading-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 0;
    color: var(--dy-muted);
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a i {
    margin-top: 4px;
    color: var(--dy-orange);
    font-size: 10px;
    transition: transform .2s ease;
}

.footer-links a:hover {
    color: var(--dy-blue);
    transform: translateX(3px);
}

.footer-links a:hover i {
    transform: translateX(2px);
}

.footer-service-links a {
    font-size: 12px;
}

.footer-service-links a i {
    font-size: 10px;
}

/* Footer bottom bar */
.footer-bottom-wrap {
    border-top: 1px solid var(--dy-border);
    background: var(--dy-soft);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 66px;
    padding-block: 15px;
}

.footer-copy {
    color: var(--dy-muted);
    font-size: 11px;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
    color: #94A3B8;
    font-size: 11px;
}

.footer-legal a {
    color: var(--dy-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal a:hover {
    color: var(--dy-orange);
}

.footer-legal span {
    color: #CBD5E1;
}

/* Legacy floating button */
.float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--dy-orange);
    color: var(--dy-white);
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(255, 122, 0, .28);
    transition: background .2s ease, transform .2s ease;
}

.float:hover {
    transform: translateY(-3px);
    background: var(--dy-blue);
    color: var(--dy-white);
}

/* Floating chat + WhatsApp buttons */
.floating-contact-buttons {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid var(--dy-white);
    border-radius: 50%;
    color: var(--dy-white);
    font-size: 21px;
    text-decoration: none;
    box-shadow: 0 9px 24px rgba(8, 43, 89, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.floating-contact-btn:hover {
    transform: translateY(-4px) scale(1.04);
    color: var(--dy-white);
    box-shadow: 0 14px 28px rgba(8, 43, 89, .23);
}

.floating-chat {
    background: var(--dy-blue);
}

.floating-chat:hover {
    background: var(--dy-orange);
}

.floating-whatsapp {
    background: #20C86A;
}

.floating-whatsapp:hover {
    background: #16A957;
}

/* Floating tooltip */
.floating-tooltip {
    position: absolute;
    top: 50%;
    right: calc(100% + 11px);
    padding: 8px 11px;
    border: 1px solid var(--dy-border);
    border-radius: 8px;
    background: var(--dy-white);
    color: var(--dy-blue);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(5px);
    box-shadow: 0 8px 22px rgba(8, 43, 89, .10);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--dy-border);
    border-right: 1px solid var(--dy-border);
    background: var(--dy-white);
    transform: translateY(-50%) rotate(45deg);
}

.floating-contact-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Tablet */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 26px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 620px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .site-footer {
        padding-top: 48px;
    }

    .site-footer .wrap {
        width: min(100% - 32px, 1180px);
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding-bottom: 34px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.75;
    }

    .footer-column-title {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-service-links a {
        font-size: 12px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-block: 17px;
    }

    .footer-legal {
        justify-content: flex-start;
        gap: 7px;
    }

    .floating-contact-buttons {
        right: 14px;
        bottom: 14px;
        gap: 9px;
    }

    .floating-contact-btn {
        width: 47px;
        height: 47px;
        font-size: 19px;
    }

    .floating-tooltip {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-contact-item strong {
        font-size: 11px;
    }

    .footer-bottom {
        gap: 12px;
    }

    .footer-legal {
        font-size: 10px;
    }

    .floating-contact-buttons {
        right: 10px;
        bottom: 10px;
    }

    .floating-contact-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
