/* =========================================================
   ARTHVEDAM FLOATING SOCIAL PANEL
   social-float.css
========================================================= */


/* =========================================================
   ROOT CONTAINER
========================================================= */

.av-social-float {
    position: fixed;

    right: 22px;
    bottom: 24px;

    z-index: 99990;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    pointer-events: none;
}


/* =========================================================
   FLOATING TRIGGER
========================================================= */

.av-social-trigger {

    pointer-events: auto;

    width: 150px;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #126b5b,
            #178a76
        );

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.av-social-trigger:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.25);

    background:
        linear-gradient(
            135deg,
            #0e5c4e,
            #126f60
        );
}


.av-social-trigger:focus-visible {

    outline:
        3px solid rgba(23, 138, 118, 0.35);

    outline-offset: 4px;
}


.av-social-trigger-icon {

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    font-size: 17px;
}


.av-social-trigger-text {
    white-space: nowrap;
}


/* =========================================================
   PANEL
========================================================= */

.av-social-panel {

    position: absolute;

    right: 0;
    bottom: 66px;

    width: 370px;
    max-width: calc(100vw - 32px);

    padding: 22px;

    background: #ffffff;

    border:
        1px solid #e6ecea;

    border-radius: 20px;

    box-shadow:
        0 24px 65px rgba(15, 50, 44, 0.22);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(12px)
        scale(0.97);

    transform-origin:
        bottom right;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    pointer-events: none;
}


/* OPEN STATE */

.av-social-float.is-open
.av-social-panel {

    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}


/* =========================================================
   PANEL HEADER
========================================================= */

.av-social-panel-header {

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}


.av-social-eyebrow {

    display: block;

    margin-bottom: 5px;

    color: #178a76;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.av-social-panel-header strong {

    display: block;

    color: #172b28;

    font-size: 22px;
    line-height: 1.2;
}


.av-social-close {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #f1f5f4;

    color: #52635f;

    font-size: 23px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.av-social-close:hover {

    background: #e4ece9;

    color: #173d35;
}


.av-social-close:focus-visible {

    outline:
        3px solid rgba(23, 138, 118, 0.25);

    outline-offset: 2px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.av-social-panel-description {

    margin:
        0 0 17px;

    color: #687874;

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.av-social-links {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   INDIVIDUAL LINK
========================================================= */

.av-social-link {

    min-height: 57px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        9px 11px;

    border:
        1px solid #e8efed;

    border-radius: 13px;

    background: #fbfcfc;

    color: #243633;

    text-decoration: none;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}


.av-social-link:hover {

    transform:
        translateX(-3px);

    background: #ffffff;

    border-color:
        #cbdcd7;

    box-shadow:
        0 5px 16px rgba(15, 50, 44, 0.08);
}


.av-social-link:focus-visible {

    outline:
        3px solid rgba(23, 138, 118, 0.22);

    outline-offset: 2px;
}


/* =========================================================
   ICON
========================================================= */

.av-social-icon {

    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    text-align: center;
}


/* =========================================================
   PLATFORM COLOURS
========================================================= */

.av-social-linkedin
.av-social-icon {

    background: #0a66c2;
}


.av-social-instagram
.av-social-icon {

    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
}


.av-social-facebook
.av-social-icon {

    background: #1877f2;
}


.av-social-x
.av-social-icon {

    background: #111111;
}


.av-social-youtube
.av-social-icon {

    background: #ff0000;
}


.av-social-whatsapp
.av-social-icon {

    background: #25d366;
}


.av-social-email
.av-social-icon {

    background: #52635f;
}


/* =========================================================
   LINK TEXT
========================================================= */

.av-social-link-text {

    min-width: 0;

    flex: 1;
}


.av-social-link-text strong {

    display: block;

    color: #243633;

    font-size: 15px;
    font-weight: 750;

    line-height: 1.25;
}


.av-social-link-text small {

    display: block;

    margin-top: 3px;

    overflow: hidden;

    color: #7a8884;

    font-size: 12px;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   ARROW
========================================================= */

.av-social-arrow {

    flex: 0 0 auto;

    color: #9aa8a4;

    font-size: 17px;

    transition:
        transform 0.18s ease,
        color 0.18s ease;
}


.av-social-link:hover
.av-social-arrow {

    color: #178a76;

    transform:
        translateX(3px);
}


/* =========================================================
   WHATSAPP EMPHASIS
========================================================= */

.av-social-whatsapp {

    border-color:
        rgba(37, 211, 102, 0.30);

    background:
        rgba(37, 211, 102, 0.055);
}


.av-social-whatsapp:hover {

    border-color:
        rgba(37, 211, 102, 0.55);

    background:
        rgba(37, 211, 102, 0.09);
}


/* =========================================================
   PANEL FOOTER
========================================================= */

.av-social-panel-footer {

    margin-top: 17px;

    padding-top: 14px;

    border-top:
        1px solid #edf1f0;

    text-align: center;
}


.av-social-panel-footer span {

    color: #83908d;

    font-size: 11px;

    letter-spacing: 0.2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .av-social-float {

        right: 16px;
        bottom: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .av-social-float {

        right: 14px;
        bottom: 14px;
    }


    .av-social-trigger {

        width: 52px;
        height: 52px;
        min-height: 52px;

        padding: 0;

        border-radius: 50%;
    }


    .av-social-trigger-text {

        display: none;
    }


    .av-social-trigger-icon {

        width: 34px;
        height: 34px;

        font-size: 18px;
    }


    .av-social-panel {

        right: 0;
        bottom: 62px;

        width:
            calc(100vw - 28px);

        max-width:
            calc(100vw - 28px);

        padding: 17px;

        border-radius: 17px;
    }


    .av-social-panel-header strong {

        font-size: 20px;
    }


    .av-social-panel-description {

        font-size: 13px;
    }


    .av-social-link {

        min-height: 54px;
    }


    .av-social-link-text strong {

        font-size: 14px;
    }


    .av-social-link-text small {

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */

@media (max-width: 380px) {

    .av-social-panel {

        padding: 14px;
    }


    .av-social-icon {

        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }


    .av-social-link {

        gap: 9px;

        padding:
            8px 9px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .av-social-panel,
    .av-social-trigger,
    .av-social-link,
    .av-social-arrow {

        transition: none;
    }

}