/* Floating Customer Service Widget - Footer */
.floating-cs {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.cs-main-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0E384C, #1A5F7A);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(14,56,76,0.35);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 2;
}
.cs-main-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(14,56,76,0.45);
}
.cs-main-btn i {
    font-size: 24px;
    color: #fff;
    transition: transform 0.4s;
}
.floating-cs.active .cs-main-btn i {
    transform: rotate(135deg);
}
.cs-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
    pointer-events: none;
}
.floating-cs.active .cs-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.cs-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    position: relative;
}
.cs-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.cs-btn i {
    font-size: 20px;
    color: #fff;
}
.cs-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.cs-email    { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.cs-form-btn     { background: linear-gradient(135deg, #F59E0B, #D97706); }
.cs-btn .cs-tooltip {
    position: absolute;
    right: 60px;
    background: #1E293B;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    pointer-events: none;
}
.cs-btn:hover .cs-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.cs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14,56,76,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}
.cs-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cs-modal-dialog {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 30px 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s;
}
.cs-modal-overlay.active .cs-modal-dialog {
    transform: translateY(0) scale(1);
}
.cs-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748B;
    transition: background 0.2s, color 0.2s;
}
.cs-modal-close:hover { background: #e2e8f0; color: #0E384C; }
.cs-modal-dialog h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0E384C;
    margin-bottom: 6px;
    text-align: center;
}
.cs-modal-dialog .cs-subtitle {
    font-size: 14px;
    color: #64748B;
    text-align: center;
    margin-bottom: 24px;
}
.cs-form-group {
    margin-bottom: 16px;
}
.cs-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0E384C;
    margin-bottom: 6px;
}
.cs-form-group input,
.cs-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0E384C;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: #fff;
    font-family: inherit;
}
.cs-form-group input:focus,
.cs-form-group textarea:focus {
    outline: none;
    border-color: #0E384C;
    box-shadow: 0 0 0 3px rgba(14,56,76,0.08);
}
.cs-form-group textarea { resize: none; min-height: 100px; }
.cs-submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #0E384C, #1A5F7A);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.02em;
}
.cs-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14,56,76,0.3);
}
.cs-quick-contact {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.cs-quick-contact a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}
.cs-quick-contact a:hover { opacity: 0.9; }
.cs-quick-wa { background: #25D366; }
.cs-quick-em { background: #2563EB; }

@media (max-width: 576px) {
    .floating-cs {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }
    .cs-main-btn {
        width: 48px;
        height: 48px;
    }
    .cs-main-btn i { font-size: 20px; }
    .cs-btn {
        width: 42px;
        height: 42px;
    }
    .cs-btn i { font-size: 18px; }
    .cs-modal-dialog {
        padding: 28px 18px 22px;
    }
    .cs-quick-contact { flex-direction: column; }
}

/* ===== Footer Social Media Icons ===== */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.footer-social .social-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    font-size: 14px !important;
    line-height: 1 !important;
    padding: 0 !important;
    border: none !important;
    background: #666;
}
.footer-social .social-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
    color: #fff !important;
}
.footer-social .social-btn i {
    color: #fff !important;
    font-size: 14px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer-social .social-whatsapp  { background: #25D366 !important; }
.footer-social .social-facebook  { background: #1877F2 !important; }
.footer-social .social-linkedin  { background: #0A66C2 !important; }
.footer-social .social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }

@media (max-width: 576px) {
    .footer-social {
        margin-top: 14px;
    }
    .social-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}
