/* Connect Section */
.connect-section {
    padding: 6rem 0;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connect-content {
    max-width: 650px;
    z-index: 10;
    position: relative;
}

.connect-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.connect-highlight {
    color: var(--secondary-color);
}

.floating-avatars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.avatar-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floating 6s ease-in-out infinite;
}

.avatar-1 { top: 20%; left: 15%; animation-delay: 0s; }
.avatar-2 { top: 12%; right: 20%; animation-delay: 1s; }
.avatar-3 { top: 65%; right: 10%; animation-delay: 2s; }
.avatar-4 { bottom: 15%; left: 20%; animation-delay: 1.5s; }
.avatar-5 { bottom: 25%; right: 30%; animation-delay: 0.5s; }

.avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 4px solid #fff;
}

.chat-bubble {
    background: var(--primary-light, #e8f4f8);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    white-space: nowrap;
    position: relative;
    border: 1px solid rgba(14,65,91,0.05);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--primary-light, #e8f4f8) transparent;
}

@keyframes floating {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@media (max-width: 991px) {
    .connect-section {
        min-height: 450px;
        padding: 4rem 0;
    }
    .connect-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }
    .avatar-wrapper {
        animation: floatingMobile 6s ease-in-out infinite;
    }
    @keyframes floatingMobile {
        0%   { transform: scale(0.8) translateY(0); }
        50%  { transform: scale(0.8) translateY(-10px); }
        100% { transform: scale(0.8) translateY(0); }
    }
    .avatar-1 { top: 10%; left: 0%; }
    .avatar-2 { top: 5%; right: 5%; }
    .avatar-3 { top: 55%; right: 5%; }
    .avatar-4 { bottom: 10%; left: 5%; }
    .avatar-5 { bottom: 15%; right: 30%; }
}
