/* ========================================================================
   VANAN TRANSLATION SERVICES - COMPLETE BUTTON STYLES
   Desktop: Hover shows text | Mobile: Icons only, no hover
   ======================================================================== */

/* === EXISTING CTA BUTTON STYLES === */
.c-button--gooey2 {
    /* Keep your existing CTA button styles */
}

/* === MAIN CONTAINER === */
.banr_rev_sec_translation {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 15px;
}

/* === DIVIDER === */
.vanan-divider-wrapper {
    display: inline-flex;
    align-items: center;
    margin: 0 5px;
}

.vanan-divider-wrapper img {
    display: block;
    width: auto;
    height: 30px;
}

/* === CONTACT BUTTONS WRAPPER === */
.vanan-contact-buttons-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    vertical-align: middle;
}

/* === BASE BUTTON STYLE === */
.vanan-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 50%;
    cursor: pointer;
    overflow: visible !important;
    height: 60px;
    width: 60px;
    min-width: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    padding: 0;
    border: none;
    background-clip: padding-box;
}

/* === DESKTOP HOVER EFFECT ONLY === */
@media (hover: hover) and (pointer: fine) {
    .vanan-contact-btn:hover {
        border-top-left-radius: 20px;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 20px;
        width: 180px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
        justify-content: flex-start;
    }

    .vanan-sms-btn:hover {
        background: linear-gradient(145deg, #48c770 0%, #1fa043 100%);
    }

    .vanan-whatsapp-btn:hover {
        background: linear-gradient(145deg, #22d650 0%, #0aa83e 100%);
    }

    .vanan-contact-btn:hover .vanan-btn-icon {
        transform: scale(1.05);
    }

    .vanan-contact-btn:hover .vanan-btn-text {
        opacity: 1 !important;
        width: auto !important;
        padding-right: 20px;
        padding-left: 8px;
        visibility: visible !important;
    }
}

/* === ACTIVE STATE === */
.vanan-sms-btn:active,
.vanan-whatsapp-btn:active {
    transform: scale(0.95);
}

/* === ICON CONTAINER === */
.vanan-btn-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 0;
}

/* === IMAGE STYLING === */
.vanan-btn-icon img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    display: block !important;
    object-fit: contain !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* === TEXT LABEL - HIDDEN BY DEFAULT === */
.vanan-btn-text {
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block !important;
    visibility: hidden;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* === RIPPLE EFFECT === */
.vanan-contact-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.vanan-contact-btn:active::after {
    width: 100px;
    height: 100px;
}

/* === TRUST MESSAGE === */
.trusted_desc {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-top: 16px;
    width: 100%;
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================================================== */

/* === TABLET (991px and below) === */
@media (max-width: 991px) {
    .banr_rev_sec_translation {
        gap: 10px;
        padding: 10px;
    }

    .vanan-contact-btn {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .vanan-btn-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .vanan-btn-icon img {
        width: 45px !important;
        height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
    }
}

/* === TABLET PORTRAIT (768px and below) === */
@media (max-width: 768px) {
    .banr_rev_sec_translation {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 10px;
    }

    .vanan-contact-buttons-wrapper {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .vanan-divider-wrapper {
        display: none;
    }

    .vanan-contact-btn {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .vanan-btn-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .vanan-btn-icon img {
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
    }
}

/* === MOBILE LANDSCAPE (576px and below) === */
@media (max-width: 576px) {
    .banr_rev_sec_translation {
        padding: 12px 8px;
        gap: 12px;
    }

    .vanan-contact-buttons-wrapper {
        gap: 8px;
    }

    .vanan-contact-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .vanan-btn-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .vanan-btn-icon img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
}

/* === MOBILE PORTRAIT (480px and below) === */
@media (max-width: 480px) {
    .banr_rev_sec_translation {
        padding: 10px 5px;
    }

    .vanan-contact-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .vanan-btn-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .vanan-btn-icon img {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
}

/* === SMALL MOBILE (380px and below) === */
@media (max-width: 380px) {
    .vanan-contact-buttons-wrapper {
        gap: 6px;
    }

    .vanan-contact-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .vanan-btn-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .vanan-btn-icon img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
}

/* === EXTRA SMALL MOBILE (320px and below) === */
@media (max-width: 320px) {
    .banr_rev_sec_translation {
        padding: 8px 5px;
        gap: 10px;
    }

    .vanan-contact-buttons-wrapper {
        gap: 5px;
    }

    .vanan-contact-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .vanan-btn-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .vanan-btn-icon img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
    }

    .vanan-contact-btn:active::after {
        width: 70px;
        height: 70px;
    }

    .trusted_desc {
        font-size: 12px;
    }
}

/* ========================================================================
   TOUCH DEVICES - NO HOVER, ICONS ONLY
   ======================================================================== */

@media (hover: none) and (pointer: coarse) {
    /* Force circular buttons on touch devices */
    .vanan-contact-btn {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        border-radius: 50% !important;
    }

    /* Hide text completely on touch devices */
    .vanan-btn-text {
        display: none !important;
    }

    /* No hover expansion on touch devices */
    .vanan-contact-btn:hover {
        width: 52px !important;
        border-radius: 50% !important;
        box-shadow: none !important;
    }

    /* Active tap effect */
    .vanan-contact-btn:active {
        transform: scale(0.95);
    }
}

/* Touch devices - smaller screens */
@media (hover: none) and (pointer: coarse) and (max-width: 480px) {
    .vanan-contact-btn,
    .vanan-contact-btn:hover {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 380px) {
    .vanan-contact-btn,
    .vanan-contact-btn:hover {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 320px) {
    .vanan-contact-btn,
    .vanan-contact-btn:hover {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }
}

/* ========================================================================
   SAFARI iOS SPECIFIC FIXES
   ======================================================================== */

@supports (-webkit-touch-callout: none) {
    .vanan-contact-btn {
        -webkit-tap-highlight-color: transparent;
    }

    .vanan-btn-icon img {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}