/* Professional Color Scheme - Quick Dental Logo Colors */
:root {
    --primary: #2a5354;      /* Dark Teal - Main brand color */
    --primary-dark: #1f3e3f; /* Darker teal for hover states */
    --secondary: #f48323;    /* Orange - Accent color */
    --accent: #ec1c24;       /* Red - Call-to-action color */
    --text: #2d3748;         /* Dark gray for text */
    --light: #f7fafc;        /* Light background */
    --white: #ffffff;
    --gray: #718096;
    --border: #e2e8f0;
    --whatsapp: #25D366;     /* WhatsApp green */
}

/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.6; color: var(--text); background: var(--light); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Styles */
header { 
    background: var(--white); 
    box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 0; 
}
.logo { height: 50px; width: auto; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { 
    color: var(--text); 
    text-decoration: none; 
    font-weight: 500; 
    transition: all 0.3s; 
    padding: 0.5rem 0; 
    position: relative; 
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover:after { width: 100%; }
.main-nav a:after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--primary); 
    transition: width 0.3s; 
}

.header-cta { display: flex; gap: 1rem; align-items: center; }
.whatsapp-link, .phone-link {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.whatsapp-link {
    background: var(--whatsapp);
    color: white;
}
.phone-link {
    background: var(--primary);
    color: white;
}
.whatsapp-link:hover, .phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: white; 
    padding: 8rem 0 4rem; 
    text-align: center; 
    margin-top: 80px; 
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; }
.hero-subtitle { 
    font-size: 1.3rem; 
    margin-bottom: 2rem; 
    opacity: 0.9; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}
.hero-features { 
    display: flex; 
    justify-content: center; 
    gap: 3rem; 
    margin: 2rem 0; 
    flex-wrap: wrap; 
}
.feature-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    background: rgba(255,255,255,0.1); 
    padding: 1rem 1.5rem; 
    border-radius: 50px; 
    backdrop-filter: blur(10px); 
}
.feature-item i { font-size: 1.2rem; }

/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 12px 30px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    margin: 0.5rem; 
    border: none; 
    cursor: pointer; 
}
.btn-primary { background: var(--white); color: var(--secondary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--secondary); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

/* Services Section */
.services { padding: 5rem 0; background: var(--white); }
.services h2 { text-align: center; font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--gray); margin-bottom: 3rem; font-size: 1.1rem; }
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
}
.service-card { 
    background: var(--white); 
    padding: 2.5rem 2rem; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: all 0.3s ease; 
    border: 1px solid var(--border); 
    position: relative; 
    overflow: hidden; 
}
.service-card:before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
}
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}
.service-icon { 
    font-size: 3rem; 
    color: var(--primary); 
    margin-bottom: 1.5rem; 
    height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.service-card h3 { color: var(--secondary); margin-bottom: 1rem; font-size: 1.4rem; }
.service-card p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.6; }
.service-link { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    transition: gap 0.3s; 
}
.service-link:hover { gap: 1rem; }

/* Reviews Section */
.reviews { padding: 5rem 0; background: var(--light); }
.reviews-stats { text-align: center; margin-bottom: 3rem; }
.stats-card { 
    display: inline-block; 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: white; 
    padding: 2rem 3rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(12, 184, 182, 0.3); 
}
.rating-display { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 1rem; 
    margin-bottom: 0.5rem; 
}
.rating-display .stars { font-size: 1.8rem; }
.rating-number { font-size: 3rem; font-weight: 700; }
.reviews-count { font-size: 1.1rem; opacity: 0.9; }

/* Multi-Review Slider Styles */
.reviews-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    padding: 1rem 0.5rem;
}

.review-slide {
    flex: 0 0 calc(20% - 1.2rem);
    min-width: 260px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.review-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
    min-width: 0;
}

.reviewer-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-time {
    font-size: 0.85rem;
    color: var(--gray);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text);
    line-height: 1.5;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.review-text:before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    opacity: 0.3;
    line-height: 1;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.slider-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(12, 184, 182, 0.3);
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(12, 184, 182, 0.4);
}

.slider-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--primary);
}

/* WhatsApp CTA Section */
.whatsapp-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: white;
    text-align: center;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.whatsapp-icon {
    font-size: 4rem;
}

.whatsapp-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.whatsapp-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.btn-whatsapp-large {
    background: white;
    color: var(--whatsapp);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-preview { padding: 5rem 0; background: var(--white); }
.faq-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 3rem; 
}
.faq-item { 
    background: var(--white); 
    padding: 2rem; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    border-left: 4px solid var(--primary);
}
.faq-item h3 { color: var(--secondary); margin-bottom: 1rem; font-size: 1.2rem; }
.faq-cta { text-align: center; }

/* CTA Section */
.cta-section { 
    padding: 4rem 0; 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: white; 
    text-align: center; 
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.cta-buttons { 
    margin-top: 2rem; 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
    flex-wrap: wrap; 
}

/* Footer */
footer { background: var(--secondary); color: white; padding: 3rem 0 1rem; }
.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 3rem; 
    margin-bottom: 2rem; 
}
.footer-section h3 { margin-bottom: 1.5rem; color: white; }
.footer-section a { 
    color: #cbd5e1; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-bottom: 0.8rem; 
    transition: color 0.3s; 
}
.footer-section a:hover { color: white; }
.footer-logo { height: 40px; margin-bottom: 1rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    transition: all 0.3s; 
}
.social-links a:hover { 
    background: var(--primary); 
    transform: translateY(-2px); 
}
.whatsapp-footer, .call-footer, .email-footer {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: block;
}
.whatsapp-footer:hover { background: var(--whatsapp); }
.call-footer:hover { background: var(--primary); }
.email-footer:hover { background: var(--accent); }
.footer-bottom { 
    border-top: 1px solid #475569; 
    padding-top: 1rem; 
    text-align: center; 
    color: #cbd5e1; 
}

/* ========== CHAT SYSTEM STYLES ========== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 10000;
    border: 2px solid var(--primary);
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.chat-widget.open {
    display: flex;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close:hover {
    background: rgba(255,255,255,0.2);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

/* Scrollbar styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.bot-message .message-avatar {
    background: var(--primary);
    color: white;
}

.user-message .message-avatar {
    background: var(--secondary);
    color: white;
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 5px;
    color: var(--text);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-top-right-radius: 5px;
}

.message-content p {
    margin: 0;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    display: block;
}

.quick-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-question {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-align: left;
    line-height: 1.2;
}

.quick-question:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.chat-input-container {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border);
    gap: 0.5rem;
    background: #f8fafc;
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
    background: white;
}

#chatInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(42, 83, 84, 0.1);
}

.send-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chat-footer {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    text-align: center;
}

.chat-footer small {
    color: var(--gray);
    font-size: 0.75rem;
}

/* Chat Toggle Button */
/* Ensure chat toggle button is visible and clickable */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(42, 83, 84, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(42, 83, 84, 0.6);
}

/* Ensure admin toggle is properly positioned */
.admin-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(236, 28, 36, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
}

.admin-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(236, 28, 36, 0.6);
}

/* Make sure chat widget has proper z-index */
.chat-widget {
    z-index: 10000 !important;
}

/* Ensure quick question buttons are clickable */
.quick-question {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.quick-question:hover {
    transform: translateY(-2px) !important;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: none;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10001;
    display: none;
    border: 2px solid var(--primary);
}

.admin-panel.open {
    display: block;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.admin-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 13px 13px 0 0;
}

.admin-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#adminClose {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-content {
    padding: 1.5rem;
}

.admin-section {
    margin-bottom: 1.5rem;
}

.admin-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

#adminMessage {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 1rem;
}

.btn-admin {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-admin:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-admin.test {
    background: var(--secondary);
}

.btn-admin.test:hover {
    background: #e5671a;
}

.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-settings label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.notification-settings input[type="checkbox"] {
    margin: 0;
}

.notification-log {
    max-height: 200px;
    overflow-y: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.notification-item {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 5px;
}

.notification-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Admin Toggle Button */
.admin-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(236, 28, 36, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
}

.admin-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(236, 28, 36, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .chat-widget {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 80px;
    }
    
    .admin-panel {
        width: 90vw;
    }
    
    .quick-questions {
        grid-template-columns: 1fr;
    }
    
    .chat-toggle {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .admin-toggle {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-float {
        right: 80px;
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .chat-widget {
        width: 95vw;
        right: 2.5vw;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .whatsapp-float {
        right: 20px;
        bottom: 100px;
    }
}

/* Loading state */
.reviews-loading {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.review-skeleton {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 260px;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border);
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-text.long { width: 100%; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive design */
@media (max-width: 1400px) {
    .review-slide { flex: 0 0 calc(25% - 1.2rem); }
}

@media (max-width: 1200px) {
    .review-slide { flex: 0 0 calc(33.333% - 1.2rem); }
    .whatsapp-content { flex-direction: column; text-align: center; }
}

@media (max-width: 992px) {
    .review-slide { flex: 0 0 calc(50% - 1.2rem); min-width: 280px; }
    .header-content { flex-direction: column; gap: 1rem; }
    .main-nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .review-slide { flex: 0 0 calc(100% - 1.2rem); min-width: 300px; padding: 1.5rem; }
    .slider-track { gap: 1rem; padding: 0.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-features { flex-direction: column; gap: 1rem; }
    .stats-card { padding: 1.5rem 2rem; }
    .rating-display { flex-direction: column; gap: 0.5rem; }
    .rating-number { font-size: 2.5rem; }
    .slider-controls { gap: 1rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .review-slide { min-width: 280px; padding: 1.25rem; }
    .review-header { flex-direction: column; text-align: center; gap: 0.5rem; }
    .reviewer-info { text-align: center; }
}

/* ========== ADMIN CHAT INTERFACE STYLES ========== */
.chats-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}

.chat-item {
    padding: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: white;
}

.chat-item:hover {
    background: #f7fafc;
    border-color: #2a5354;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chat-item.active {
    background: #e6fffa;
    border-color: #2a5354;
    box-shadow: 0 2px 8px rgba(42, 83, 84, 0.2);
}

.chat-item:last-child {
    margin-bottom: 0;
}

#adminChatMessages {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

#adminChatInput {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

#adminChatInput:focus {
    outline: none;
    border-color: #2a5354;
    box-shadow: 0 0 0 2px rgba(42, 83, 84, 0.1);
}

.quick-reply-btn {
    background: #f48323 !important;
    margin: 3px !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
}

.quick-reply-btn:hover {
    background: #e5671a !important;
    transform: translateY(-1px);
}