
/* Footer */
.csy-footer {
    width: 100%;
    background: #11233b;
    color: #c4cbd5;
}

.csy-footer-main {
    display: grid;
    grid-template-columns: 1.9fr 1.05fr .95fr 1.85fr;
    gap: 45px;
    padding: 38px 0 32px;
}

/* Company */
.csy-footer-company {
    min-width: 0;
}

.csy-footer-logo {
    display: inline-block;
}

.csy-footer-logo img {
    display: block;
    width: 173px;
    height: auto;
    max-width: 100%;
}

.csy-footer-description {
    max-width: 380px;
    margin: 30px 0 0;
    color: #c4cbd5;
    font-size: 12px;
    line-height: 19px;
}

/* Social */
.csy-footer-social {
    margin-top: 48px;
}

.csy-footer-social h4 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.csy-footer-social-list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.csy-footer-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    transition: color .2s ease;
}

.csy-footer-social-list a:hover {
    color: #69aaff;
}

/* Certifications */
.csy-footer-certifications {
    margin-top: 28px;
}

.csy-footer-certifications img {
    display: block;
  width: 100%;
    height: auto;
}

/* Footer Columns */
.csy-footer-column {
    min-width: 0;
}

.csy-footer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 19px;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    cursor: default;
}

.csy-footer-title i {
    display: none;
}

.csy-footer-content ul {
    margin: 0;
    padding: 0;
}

.csy-footer-content ul li {
    margin: 0 0 11px;
    list-style: none;
}

.csy-footer-content a {
    color: #c4cbd5;
    font-size: 14px;
    line-height: 21px;
    text-decoration: none;
    transition: color .2s ease;
}

.csy-footer-content a:hover {
    color: #69aaff;
}

/* Keep Quick Links on one line on desktop */
@media screen and (min-width: 768px) {
    .csy-footer-main > .csy-footer-column:nth-child(2) .csy-footer-content a {
        white-space: nowrap;
    }
}

/* Contact */
.csy-footer-contact .csy-footer-content p {
    margin: 0 0 11px;
    color: #c4cbd5;
    font-size: 14px;
    line-height: 21px;
}

.csy-footer-contact .csy-footer-content a {
    overflow-wrap: anywhere;
}

/* Copyright */
.csy-footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.22);
    color: #fff;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }

    .csy-footer-company {
        grid-column: 1 / -1;
    }

    .csy-footer-social {
        margin-top: 25px;
    }

    .csy-footer-certifications {
        margin-top: 20px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-footer-main {
        display: block;
        padding: 30px 0 25px;
    }

    .csy-footer-company {
        margin-bottom: 25px;
    }

    .csy-footer-logo img {
        width: 155px;
    }

    .csy-footer-description {
        max-width: 100%;
        margin-top: 18px;
        font-size: 12px;
        line-height: 21px;
    }

    .csy-footer-social {
        margin-top: 25px;
    }

    .csy-footer-social h4 {
        margin-bottom: 12px;
    }

    .csy-footer-social-list {
        gap: 25px;
    }

    .csy-footer-social-list a {
        font-size: 23px;
    }

    .csy-footer-certifications {
        margin-top: 25px;
    }

    .csy-footer-certifications img {
        width: 100%;
        max-width: 380px;
    }

    /* Accordion columns */
    .csy-footer-column {
        border-top: 1px solid rgba(255,255,255,.16);
    }

    .csy-footer-title {
        min-height: 49px;
        margin: 0;
        padding: 12px 0;
        font-size: 14px;
        line-height: 24px;
        cursor: pointer;
    }

    .csy-footer-title i {
        display: block;
        color: #fff;
        font-size: 17px;
        transition: transform .25s ease;
    }

    .csy-footer-column.is-open .csy-footer-title i {
        transform: rotate(180deg);
    }

    .csy-footer-content {
        display: none;
        padding: 0 0 15px;
    }

    .csy-footer-column.is-open .csy-footer-content {
        display: block;
    }

    .csy-footer-content ul li {
        margin-bottom: 10px;
    }

    .csy-footer-content a,
    .csy-footer-contact .csy-footer-content p {
        font-size: 13px;
        line-height: 22px;
    }

    .csy-footer-bottom {
        padding: 14px 0;
        font-size: 12px;
        line-height: 21px;
    }
}



.csy-floating-contact {
    position: fixed;
    top: 50%;
    right: 15px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    width: 54px;
    transform: translateY(-50%);
}

/* Base Styles */

.csy-floating-contact *,
.csy-floating-contact *::before,
.csy-floating-contact *::after {
    box-sizing: border-box;
}

.csy-floating-contact .csy-floating-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #eaf2ff;
    color: #0663de;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .25s ease,
                color .25s ease,
                box-shadow .25s ease;
}

/* Standalone Links */

.csy-floating-contact .csy-floating-link {
    cursor: pointer;
}

.csy-floating-contact .csy-floating-link > .fa {
    display: block;
    color: inherit;
    font-size: 26px;
    line-height: 1;
}

.csy-floating-contact .csy-floating-link:hover i {
    color: #fff;
}

/* Expandable Buttons */

.csy-floating-contact .csy-floating-expand {
    cursor: default;
}

.csy-floating-contact .csy-floating-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

.csy-floating-contact .csy-floating-icon .fa {
    display: block;
    color: inherit;
    font-size: 26px;
    line-height: 1;
}

/* Button Hover */

.csy-floating-contact .csy-floating-item:hover,
.csy-floating-contact .csy-floating-item:focus-within {
    background: #0663de;
    color: #fff;
    box-shadow: 0 7px 18px rgba(6, 99, 222, .2);
}

.csy-floating-contact .csy-floating-icon:hover,
.csy-floating-contact .csy-floating-link:hover {
    color: inherit;
}

/* Contact Panel */

.csy-floating-contact .csy-floating-panel {
    position: absolute;
    top: 0;
    right: calc(100% + 6px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    width: max-content;
    min-width: 185px;
    max-width: min(260px, calc(100vw - 95px));
    height: 54px;
    margin: 0;
    padding: 7px 14px;
    border: none;
    border-radius: 10px;
    background: #eaf2ff;
    color: #0663de;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(6, 99, 222, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    pointer-events: none;
    transition: opacity .25s ease,
                visibility .25s ease,
                transform .25s ease;
}

.csy-floating-contact .csy-floating-panel span {
    display: block;
    margin: 0;
    padding: 0;
    color: #667085;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.csy-floating-contact .csy-floating-panel strong {
    display: block;
    margin: 0;
    padding: 0;
    color: #0663de;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Hover Bridge */

.csy-floating-contact .csy-floating-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    width: 8px;
    height: 100%;
}

/* Reveal Panel */

.csy-floating-contact .csy-floating-expand:hover .csy-floating-panel,
.csy-floating-contact .csy-floating-expand:focus-within .csy-floating-panel,
.csy-floating-contact .csy-floating-expand.is-open .csy-floating-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Panel Hover */

.csy-floating-contact .csy-floating-panel:hover {
    background: #0663de;
}

.csy-floating-contact .csy-floating-panel:hover span,
.csy-floating-contact .csy-floating-panel:hover strong {
    color: #fff;
}

/* Back to Top */

.csy-floating-contact #back-to-top .fa {
    font-size: 29px;
}

.csy-floating-contact #back-to-top:hover {
    color: #fff;
}

/* Mobile Toggle Hidden on Desktop */

.csy-floating-contact .csy-floating-toggle {
    display: none;
}

/* Tablet */

@media screen and (max-width: 1024px) {
    .csy-floating-contact {
        right: 10px;
    }
}

/* Mobile */

@media screen and (max-width: 767px) {

    .csy-floating-contact {
        top: auto;
        right: 9px;
        bottom: 90px;
        gap: 6px;
        width: 46px;
        transform: none;
    }

    /* Hide Contact Items by Default */

    .csy-floating-contact .csy-floating-item {
        display: none;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        border-radius: 9px;
    }

    /* Show Items When Expanded */

    .csy-floating-contact.is-expanded .csy-floating-item {
        display: flex;
        animation: csyFloatingShow .22s ease both;
    }

    /* Mobile Icons */

    .csy-floating-contact .csy-floating-link > .fa,
    .csy-floating-contact .csy-floating-icon .fa {
        font-size: 22px;
    }

    /* Sliding Contact Panel */

    .csy-floating-contact .csy-floating-panel {
        right: calc(100% + 5px);
        min-width: 170px;
        max-width: calc(100vw - 75px);
        height: 46px;
        padding: 5px 11px;
        border-radius: 9px;
    }

    .csy-floating-contact .csy-floating-panel span {
        font-size: 10px;
    }

    .csy-floating-contact .csy-floating-panel strong {
        font-size: 11px;
    }

    .csy-floating-contact #back-to-top .fa {
        font-size: 25px;
    }

    /* Mobile Toggle */

    .csy-floating-contact .csy-floating-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: #0663de;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 5px 18px rgba(6, 99, 222, .25);
        transition: background-color .25s ease,
                    color .25s ease,
                    transform .25s ease;
    }

    .csy-floating-contact .csy-floating-toggle .fa {
        color: inherit;
        font-size: 23px;
        line-height: 1;
    }

    .csy-floating-contact .csy-floating-toggle:hover {
        background: #044fb5;
        color: #fff;
    }

    .csy-floating-contact.is-expanded .csy-floating-toggle {
        background: #1e2e61;
        color: #fff;
    }

    .csy-floating-contact.is-expanded .csy-floating-toggle:hover {
        background: #15234e;
        color: #fff;
    }
}

/* Mobile Entrance Animation */

@keyframes csyFloatingShow {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .csy-floating-contact .csy-floating-item,
    .csy-floating-contact .csy-floating-panel,
    .csy-floating-contact .csy-floating-toggle {
        transition: none;
        animation: none;
    }
}
