/* Quick Actions Floating Button - Reusable Component */

.quick-actions-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.quick-actions-toggle {
    background: linear-gradient(135deg, #013A5B 0%, #025a8a 100%);
    color: #fff;
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(1, 58, 91, 0.4);
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: pulse-glow 2s infinite;
}

.quick-actions-toggle:hover {
    background: linear-gradient(135deg, #025a8a 0%, #0378b8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(1, 58, 91, 0.6);
}

.quick-actions-toggle.active {
    background: linear-gradient(135deg, #025a8a 0%, #0378b8 100%);
}

.quick-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(1, 58, 91, 0.4);
    }
    50% {
        box-shadow: 0 6px 35px rgba(1, 58, 91, 0.7);
    }
}

.quick-actions-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.quick-actions-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
    white-space: nowrap;
}

.quick-actions-menu.active .quick-action-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-actions-menu.active .quick-action-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-actions-menu.active .quick-action-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.quick-actions-menu.active .quick-action-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.call-btn {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.call-btn:hover {
    background: linear-gradient(135deg, #005f8c 0%, #004466 100%);
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

.calculator-btn {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
    color: #fff;
}

.calculator-btn:hover {
    background: linear-gradient(135deg, #FF6347 0%, #FF4500 100%);
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.enquiry-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #C92A2A 100%);
}

.enquiry-btn:hover {
    background: linear-gradient(135deg, #C92A2A 0%, #A61E1E 100%);
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.quick-action-btn i {
    font-size: 20px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enquiry Modal */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.enquiry-modal.active {
    display: flex;
}

.enquiry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.enquiry-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

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

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

.enquiry-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.enquiry-close:hover {
    background: #013A5B;
    color: #fff;
    transform: rotate(90deg);
}

.enquiry-header {
    background: linear-gradient(135deg, #013A5B 0%, #025a8a 100%);
    color: #fff;
    padding: 40px 30px 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.enquiry-header i {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
    color: #fff;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.enquiry-header h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #fff;
}

.enquiry-header p {
    margin: 0;
    opacity: 1;
    font-size: 14px;
    color: #fff;
}

.enquiry-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    color: #013A5B;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: #025a8a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #013A5B;
    box-shadow: 0 0 0 3px rgba(1, 58, 91, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #013A5B 0%, #025a8a 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #025a8a 0%, #0378b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 58, 91, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Message */
.enquiry-success {
    padding: 60px 30px;
    text-align: center;
}

.enquiry-success i {
    font-size: 80px;
    color: #25D366;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.enquiry-success h3 {
    color: #013A5B;
    font-size: 28px;
    margin-bottom: 15px;
}

.enquiry-success p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.close-success-btn {
    background: linear-gradient(135deg, #013A5B 0%, #025a8a 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-success-btn:hover {
    background: linear-gradient(135deg, #025a8a 0%, #0378b8 100%);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quick-actions-floating {
        bottom: 20px;
        right: 20px;
    }

    .quick-actions-toggle {
        padding: 14px 20px;
        font-size: 14px;
    }

    .quick-text {
        display: none;
    }

    .quick-action-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .quick-action-btn span {
        display: none;
    }

    .quick-action-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .enquiry-modal-content {
        width: 95%;
        margin: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enquiry-header {
        padding: 30px 20px 20px;
    }

    .enquiry-header h3 {
        font-size: 22px;
    }

    .enquiry-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .enquiry-header i {
        font-size: 36px;
    }

    .enquiry-success i {
        font-size: 60px;
    }
}
