/* Contact Button Styles - Dark Blue Theme */

/* Contact Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.whatsapp-float:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Popup Modal */
.whatsapp-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    bottom: 120px;
    right: 40px;
    background: #0f172a;
    padding: 0;
    border-radius: 20px;
    width: 420px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid #1e293b;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    color: white;
    padding: 25px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #f1f5f9;
}

.popup-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    border: none;
    background: transparent;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Form Section */
.form-section {
    padding: 25px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.form-section h4 {
    margin-bottom: 15px;
    color: #f1f5f9;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #475569;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: #334155;
    color: #f1f5f9;
    font-family: inherit;
    box-sizing: border-box;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #94a3b8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.required {
    color: #f87171;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #334155;
    border-radius: 8px;
    border: 1px solid #475569;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-item:hover {
    border-color: #60a5fa;
    background: #475569;
}

.checkbox-item:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25);
    outline: none;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #60a5fa;
}

.checkbox-item input[type="checkbox"]:focus {
    outline: none;
}

.checkbox-item label {
    margin: 0;
    font-size: 0.9rem;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* Send Message Button */
.send-message-section {
    margin-top: 20px;
    text-align: center;
}

.send-message-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.send-message-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

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

/* Contact Options */
.popup-body {
    padding: 0;
    background: #0f172a;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #1e293b;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-option:hover {
    background: #1e293b;
    border-left: 4px solid #60a5fa;
}

.contact-option:focus {
    outline: 2px solid #60a5fa;
    outline-offset: -2px;
    background: #1e293b;
}

.contact-option:last-child {
    border-bottom: none;
}

.option-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: white;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
}

.option-text h4 {
    margin: 0 0 4px 0;
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
}

.option-text p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup-content {
        bottom: 80px;
        right: 20px;
        left: 20px;
        width: auto;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .popup-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        bottom: 20px;
        right: 10px;
        left: 10px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .contact-option {
        padding: 15px 20px;
    }
}