/* ========================================== */
/* TESTIMONIALS PAGE STYLES                   */
/* ========================================== */

.testimonials-hero {
    padding: 60px 20px 20px;
    background: var(--white, #ffffff);
}

.testimonials-section {
    padding: 20px 30px 80px;
    background: var(--bg-light, #f8fafc);
    border-top: 1px solid var(--border, #e2e8f0);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-top: 4px solid var(--green, #22c55e);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.08);
}

.empty-card {
    border-style: dashed;
    opacity: 0.7;
}

.star-rating {
    color: #CBD5E1;
    font-size: 18px;
    margin-bottom: 15px;
}

.quote {
    color: var(--text-muted, #64748b);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-light, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    color: var(--slate, #475569);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.client-info h4 {
    color: var(--navy, #0f172a);
    font-size: 15px;
    margin-bottom: 2px;
}

.client-info small {
    color: var(--slate, #475569);
    font-size: 13px;
}

/* Responsiveness */
@media (max-width: 1000px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================== */
/* AI CHATBOT STYLES                          */
/* ========================================== */

.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green, #22c55e);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
    background: var(--blue, #2563eb);
}

.chat-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(11, 31, 58, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border, #e2e8f0);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--navy, #0f172a);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--green, #22c55e);
    border-radius: 50%;
}

.chat-header h4 {
    font-size: 15px;
    margin: 0;
}

.chat-header small {
    color: var(--slate, #94a3b8);
    font-size: 12px;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #F8FAFC;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.bot {
    background: var(--ice-blue, #e0f2fe);
    color: var(--navy, #0f172a);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: var(--green, #22c55e);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border, #e2e8f0);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--green, #22c55e);
}

.chat-send-btn {
    background: var(--navy, #0f172a);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.chat-send-btn:hover {
    background: var(--blue, #2563eb);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* =========================
   COOKIE CONSENT BANNER
========================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy, #0f172a);
    color: white;
    padding: 20px 30px;
    z-index: 2500;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    font-size: 14px;
    color: var(--text-light, #f1f5f9);
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-cookie-accept {
    background: var(--green, #22c55e);
    color: var(--navy, #0f172a);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-accept:hover {
    background: var(--blue, #2563eb);
    color: white;
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-light, #f1f5f9);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-decline:hover {
    border-color: var(--green, #22c55e);
    color: var(--green, #22c55e);
}

@media(max-width: 700px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        flex: 1;
    }
}