/* ==============================
   HRMS PROFESSIONAL FOOTER
================================ */

.site-footer {
    --footer-bg: #101b30;
    --footer-text: #aebbd0;
    --footer-heading: #ffffff;
    --footer-accent: #60a5fa;
    --footer-border: rgba(255, 255, 255, 0.10);

    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.footer-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 68px 0 52px;

    display: grid;
    grid-template-columns: 1.35fr 1.8fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Brand */

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo>img {
    height: 60px;
    border-radius: 8px;
    background-color: white;
}

.footer-description {
    max-width: 370px;
    margin: 0 0 20px;
    color: var(--footer-text);
    line-height: 1.9;
}

.footer-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.footer-industries span {
    padding: 5px 10px;
    border: 1px solid var(--footer-border);
    border-radius: 5px;
    color: #d4deec;
    font-size: 16px;
    font-weight: 600;
}

/* Social links */

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;

    color: #d7e3f5;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--footer-border);
    border-radius: 9px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-socials a:hover {
    background: var(--footer-accent);
    color: #101b30;
    transform: translateY(-3px);
}

/* Navigation */

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0px 25px;
}

.full-width-grid {
    grid-column: span 3;
}

.footer-column h3,
.footer-contact h3 {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0 22px;
    letter-spacing: 0.1px;
}

.footer-column h3::after,
.footer-contact h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
    margin-top: 11px;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a,
.footer-legal-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-legal-links a:hover,
.map-directions:hover {
    color: var(--footer-accent);
}

/* Contact */

.contact-intro {
    margin: -5px 0 20px;
    color: var(--footer-text);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;

    color: #e4ebf7;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer .contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    margin: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--footer-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--footer-accent);
    font-size: 17px;
}

.contact-item small {
    display: block;
    color: #91a3bd;
    font-size: 16px;
    margin-bottom: 2px;
}

.contact-item:hover {
    color: var(--footer-accent);
}

/* Google Map */

.footer-map {
    height: 155px;
    width: 100%;
    margin-top: 22px;
    overflow: hidden;

    border: 1px solid var(--footer-border);
    border-radius: 12px;
    background: #1a2941;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-directions {
    display: inline-block;
    margin-top: 12px;
    color: #dbeafe;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Copyright bar */

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    background: rgba(0, 0, 0, 0.13);
}

.footer-bottom-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 21px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 16px;
}

.footer-bottom-tagline {
    color: #c3d0e2;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    font-size: 16px;
}

/* Tablet */

@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 42px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        align-items: start;
    }

    .footer-contact h3,
    .footer-contact .contact-intro {
        grid-column: 1 / -1;
    }

    .footer-contact .footer-map {
        grid-column: 2;
        grid-row: 3 / span 2;
        margin-top: 0;
    }

    .footer-contact .map-directions {
        grid-column: 2;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .footer-container {
        width: min(100% - 36px, 520px);
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 45px 0 35px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .footer-contact {
        display: block;
    }

    .footer-contact .footer-map {
        height: 190px;
        margin-top: 20px;
    }

    .footer-bottom-inner {
        width: min(100% - 36px, 520px);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .logo-text strong {
        font-size: 17px;
    }
}



/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-4px);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .go-to-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;
        font-size: 23px;
    }
}



/* whatsapp icon css  */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    border-radius: 50%;

    color: #ffffff;
    background: #25D366;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: whatsapp-entrance 0.6s ease both;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 9px 26px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #14294b;
    outline-offset: 4px;
}

@keyframes whatsapp-entrance {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
        transition: none;
    }
}