.consultation-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 79, 79, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.consultation-modal-content {
    background-color: var(--neutral-bg);
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(47, 79, 79, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
    border: 1px solid var(--neutral-light);
}

.consultation-close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.consultation-close:hover,
.consultation-close:focus {
    color: var(--primary-dark);
}

.consultation-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--neutral-light);
    background: linear-gradient(135deg, var(--neutral-bg) 0%, var(--neutral-light) 100%);
    border-radius: 12px 12px 0 0;
}

.consultation-header h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 600;
}

.consultation-header p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.4;
}

#consultation-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--neutral-light);
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: var(--neutral-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(243, 218, 131, 0.2);
}

.consultation-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark), #1e3535);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.consultation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 79, 79, 0.3);
    background: linear-gradient(135deg, #1e3535, var(--primary-dark));
}

.consultation-submit-btn:active {
    transform: translateY(0);
}

.consultation-success {
    padding: 30px;
    text-align: center;
}

.consultation-success h4 {
    color: var(--primary-dark);
    margin: 0 0 10px;
    font-weight: 600;
}

.consultation-success p {
    color: #555;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .consultation-modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .consultation-header,
    #consultation-form {
        padding: 20px;
    }

    .consultation-header h3 {
        font-size: 20px;
    }
}

/*********BUBBLE************/
.consultation-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-dark), #1e3535);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(47, 79, 79, 0.4);
    transition: all 0.3s ease;
    user-select: none;
    border: 2px solid var(--primary-accent);
}

.consultation-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(47, 79, 79, 0.6);
    border-color: #f0d45a;
}

.bubble-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
}

.bubble-icon {
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
    color: var(--primary-accent);
}

.bubble-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bubble-title {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.bubble-subtitle {
    font-size: 12px;
    opacity: 0.9;
    color: var(--primary-accent);
}

.bubble-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(243, 218, 131, 0.3);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

/* Animations */
@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .consultation-bubble {
        bottom: 20px;
        right: 20px;
    }

    .bubble-content {
        padding: 12px 16px;
        gap: 8px;
    }

    .bubble-text {
        display: none;
    }

    .bubble-icon {
        font-size: 28px;
    }
}

.consultation-bubble.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}