/* Sticky Contact Buttons Styles */

.sticky-contact-container {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sticky-contact {
    position: relative;
}

/* The Button */
.contact-button {
    background: linear-gradient(180deg, #9db8cb 0%, #164B79 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-button i {
    font-size: 24px;
    color: #fffbfb;
}

/* Contact Details Panel */
.contact-details {
    position: absolute;
    right: 80px;
    top: 0;
    background: white;
    color: #164B79;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #164B79;
    white-space: nowrap;
}

.sticky-contact:hover .contact-details {
    opacity: 1;
    visibility: visible;
    right: 66px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: -2px;
    color: #000000;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: #164B79;
}

.contact-value a {
    color: #164B79;
    text-decoration: none;
    transition: opacity 0.2s;
    font-size: 14px !important;
}

.contact-value a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Arrow pointing to button */
.contact-details::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 15px;
    width: 0;
    height: 0;
    border-left: 12px solid #164b7999;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Single item layout (email and services) */
.single-item .contact-value {
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .sticky-contact-container {
        right: 15px;
        gap: 12px;
        display: none;
    }

    .contact-button {
        width: 50px;
        height: 50px;
    }

    .contact-button i {
        font-size: 24px;
    }

    .contact-details {
        right: 70px;
        min-width: 240px;
        padding: 15px 20px;
    }

    .sticky-contact:hover .contact-details {
        right: 75px;
    }
}