/* Floating Contact Button Styles */
/* Color scheme: #212832 (dark) / #FF6F00 (orange) */

.floating-contact-btn {
    position: fixed;
    /* top: 95vH;
    left: 80vW; */
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6F00, #FF8F00);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.6);
}

.floating-contact-btn:active {
    transform: scale(0.95);
}

.floating-contact-btn .icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Phone icon SVG */
.floating-contact-btn .phone-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Contact Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 40, 50, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.contact-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 380px;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(33, 40, 50, 0.3);
    position: absolute;
    animation: modalSlideIn 0.3s ease;
    bottom: 20px;
    right: 20px;
}

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

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    color: #212832;
}

.contact-modal h3 {
    color: #212832;
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
}

.contact-info {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #FF6F00;
}

.contact-info h4 {
    color: #212832;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-phone {
    color: #FF6F00;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.contact-phone:hover {
    color: #FF8F00;
}

.contact-form {
    margin-top: 20px;
}

.contact-form h4 {
    color: #212832;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #212832;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #FF6F00;
}

.form-group input.error {
    border-color: #f44336;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FF6F00, #FF8F00);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FF8F00, #FFA000);
    transform: translateY(-1px);
}

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

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .contact-modal {
        margin: 20px;
        padding: 25px;
    }
    
    .contact-modal h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .floating-contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-contact-btn .phone-icon {
        width: 20px;
        height: 20px;
    }
    
    .contact-modal {
        margin: 15px;
        padding: 20px;
    }
}