/* Contact Widget Styles */
.contact-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    font-family: 'Poppins', sans-serif;
}

.contact-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-widget-toggle:hover {
    transform: scale(1.1);
    background-color: var(--secondary-green);
}

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

.contact-widget-content {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transform: scale(0);
    transform-origin: bottom left;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-widget.active .contact-widget-content {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.contact-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-widget-header h4 {
    color: var(--secondary-green);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.contact-widget-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-widget-close:hover {
    background-color: #e0e0e0;
}

.contact-widget-close i {
    font-size: 14px;
    color: #666;
}

.contact-widget-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-widget-item:hover {
    color: var(--primary-green);
}

.contact-widget-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.contact-widget-item:hover i {
    background-color: var(--primary-green);
    color: white;
}

.contact-widget-item span {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Social media specific colors */
.contact-widget-item.facebook:hover i {
    background-color: #3b5998;
}

.contact-widget-item.instagram:hover i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-widget-item.youtube:hover i {
    background-color: #FF0000;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .contact-widget {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-widget-toggle {
        width: 50px;
        height: 50px;
    }
    
    .contact-widget-content {
        width: 260px;
    }
}
