/* UX Enhancement Styles */

/* Enhanced Communication Panel */
.communication-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    min-width: 60px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.floating-btn i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-text {
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.floating-btn:hover .btn-text {
    opacity: 1;
    max-width: 100px;
    margin-left: 5px;
}

/* Enhanced Tooltips */
.btn-tooltip {
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10002;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.btn-tooltip small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 130%;
}

/* Specific button colors */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20BA5A);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background: linear-gradient(135deg, #007BFF, #0056B3);
}

.call-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.quote-btn {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(245, 166, 35, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3); }
}

/* Quick Quote Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f5a623;
}

.modal h2 {
    color: #2c2c2c;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.modal h2 i {
    color: #f5a623;
    margin-right: 10px;
}

/* Service Selector */
.service-selector h3 {
    color: #2c2c2c;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-options {
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.service-option:hover {
    border-color: #f5a623;
    background: #fff8f0;
    transform: translateX(5px);
}

.service-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
    accent-color: #f5a623;
}

.service-option input[type="radio"]:checked + .service-info {
    color: #f5a623;
}

.service-option:has(input:checked) {
    border-color: #f5a623;
    background: #fff8f0;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.service-info {
    flex: 1;
}

.service-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.service-info small {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Info Form */
.contact-info {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-info input:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

/* Submit Button */
.submit-quote-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.submit-quote-btn i {
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.trust-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e8941a, #f5a623);
}

.trust-indicators h3 {
    color: #2c2c2c;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.trust-indicators h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #e8941a);
    border-radius: 2px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e8941a);
    border-radius: 15px 15px 0 0;
}

.trust-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 166, 35, 0.3);
}

.trust-item .icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5a623, #e8941a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}

.trust-item .icon-wrapper::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(245, 166, 35, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    80% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.trust-item i {
    font-size: 2.2rem;
    color: white;
    z-index: 2;
}

.trust-item h4 {
    color: #2c2c2c;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.trust-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

/* Service Areas */
.service-areas {
    background: #2c2c2c;
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e8941a, #f5a623);
}

.service-areas h3 {
    color: #f5a623;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}

.service-coverage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.coverage-info {
    text-align: left;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.area-tag {
    background: rgba(245, 166, 35, 0.2);
    color: #f5a623;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 2px solid rgba(245, 166, 35, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.area-tag.primary {
    background: linear-gradient(135deg, #f5a623, #e8941a);
    color: white;
    border-color: #f5a623;
    font-weight: 600;
}

.area-tag:hover {
    background: rgba(245, 166, 35, 0.3);
    border-color: #f5a623;
    transform: translateY(-2px);
}

.map-container {
    position: relative;
}

.service-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(245, 166, 35, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.coverage-radius {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coverage-radius i {
    font-size: 0.8rem;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.coverage-note {
    margin-top: 40px;
    text-align: center;
    grid-column: 1 / -1;
}

.coverage-note p {
    background: rgba(245, 166, 35, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(245, 166, 35, 0.3);
    font-size: 1rem;
    line-height: 1.6;
}

.coverage-note i {
    color: #f5a623;
    margin-right: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .communication-panel {
        bottom: 10px;
        right: 10px;
    }

    .floating-btn {
        padding: 12px 15px;
        min-width: 50px;
    }

    .floating-btn:hover .btn-text {
        max-width: 80px;
    }

    .modal-content {
        margin: 10px auto;
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }

    .service-options {
        gap: 8px;
    }

    .service-option {
        padding: 12px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .trust-item {
        padding: 25px 15px;
    }

    .trust-item .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .trust-item i {
        font-size: 1.8rem;
    }

    .service-coverage {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .coverage-info {
        text-align: center;
    }

    .service-map iframe {
        height: 250px;
    }

    .areas-list {
        gap: 8px;
        justify-content: center;
    }

    .area-tag {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .coverage-note p {
        padding: 15px;
        font-size: 0.9rem;
    }

    .trust-indicators h3 {
        font-size: 1.8rem;
    }

    .service-areas h3 {
        font-size: 1.8rem;
    }

    /* Mobile tooltips - show as text expansion instead */
    .btn-tooltip {
        display: none;
    }

    .floating-btn:hover .btn-text {
        max-width: 120px;
        font-size: 0.8rem;
    }

    /* Mobile navigation dots and arrows already handled in critical.css */
}

/* ========== SIMPLE EXPAND HOVER EFFECTS ========== */

/* Floating Button Expand on Hover */
.floating-btn {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn i {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.floating-btn .btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-left: 0;
}

/* Hover Effect - Expand and Show Text */
.floating-btn:hover {
    width: auto;
    min-width: 140px;
    padding-left: 20px;
    padding-right: 20px;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover .btn-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* WhatsApp Button Colors */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20BA5A);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Call Button Colors */
.call-btn {
    background: linear-gradient(135deg, #007BFF, #0056B3);
}

.call-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Quote Button Colors */
.quote-btn {
    background: linear-gradient(135deg, #f5a623, #e8941a);
}

.quote-btn:hover {
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

/* Social Media Hover Colors */
.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    border: 2px solid transparent;
}

.social-links a i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Facebook Hover */
.social-links a[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Instagram Hover */
.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    border-color: #E1306C;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

/* WhatsApp Hover */
.social-links a[href*="whatsapp"]:hover,
.social-links a[href*="wa.me"]:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* TikTok Hover */
.social-links a[href*="tiktok"]:hover {
    background: #000;
    border-color: #ff0050;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.4);
}

.social-links a[href*="tiktok"]:hover i {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* General hover effect for all social icons */
.social-links a:hover i {
    transform: scale(1.1);
}