﻿/* ============================================================
   SAVE THE BEES ZAMBIA – COMPLETE STYLESHEET
   Honey Theme | Professional | Responsive
   ============================================================ */

/* ----- Imports ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans:wght@400;600;700&display=swap');

/* ----- CSS Variables (Honey Theme) ----- */
:root {
    --honey-gold: #F5A623;
    --honey-dark: #D4893B;
    --honey-light: #FDE8C4;
    --honey-pale: #FFF8EE;
    --brown-dark: #3D1F0A;
    --brown-medium: #6B4226;
    --cream: #FDF5E6;
    --white: #FFFFFF;
    --shadow: rgba(107, 66, 38, 0.2);
    --deep-green: #2E5A3B; /* used for header/accents */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    background: var(--honey-pale);
    color: var(--brown-dark);
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FDE8C4' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--brown-dark);
}
h1 { font-size: 3rem; margin-bottom: 0.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; position: relative; }
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--honey-gold);
    margin-top: 8px;
    border-radius: 2px;
}
.text-center { text-align: center; }
.text-gold { color: var(--honey-gold); }

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow);
}
.btn-primary {
    background: var(--honey-gold);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--honey-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}
.btn-secondary {
    background: var(--brown-medium);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--honey-gold);
    color: var(--brown-dark);
}
.btn-outline:hover {
    background: var(--honey-gold);
    color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

/* ----- Header & Navigation ----- */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 3px solid var(--honey-gold);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}
.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    letter-spacing: -0.5px;
}
.brand-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--honey-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}
nav ul li a {
    color: var(--brown-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--honey-gold);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
nav ul li a:hover {
    color: var(--honey-dark);
}
nav ul li.cta-btn {
    margin-left: 10px;
}
nav ul li.cta-btn a {
    background: var(--honey-gold);
    color: var(--white);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(245,166,35,0.3);
}
nav ul li.cta-btn a:hover {
    background: var(--honey-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
nav ul li.cta-btn a::after { display: none; }

/* Dropdown */
nav ul li.dropdown { position: relative; }
nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    border-top: 3px solid var(--honey-gold);
}
nav ul li.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--brown-dark);
    font-weight: 500;
}
.dropdown-menu li a:hover {
    background: var(--honey-light);
    color: var(--brown-dark);
}
.dropdown-menu li a::after { display: none; }

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--brown-dark);
}

/* ----- Hero Section ----- */
.hero {
    background: linear-gradient(135deg, var(--honey-pale) 0%, var(--honey-light) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: var(--brown-dark);
}
.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--brown-medium);
}
.hero .btn { margin: 0 10px; }

/* ----- Cards & Grids ----- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--honey-gold);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
}
.card .icon {
    font-size: 3rem;
    color: var(--honey-gold);
    margin-bottom: 15px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--brown-medium); }

/* ----- Stats ----- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat .stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--honey-dark);
    display: block;
}
.stat .stat-label {
    font-size: 1rem;
    color: var(--brown-medium);
}

/* ----- Testimonials ----- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.testimonial {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}
.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--honey-gold);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}
.testimonial p { font-style: italic; margin-bottom: 10px; }
.testimonial h4 { color: var(--brown-dark); }

/* ----- Partners ----- */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}
.partner-logos img {
    max-height: 70px;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}
.partner-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ----- Forms ----- */
input, textarea, select {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--honey-light);
    border-radius: 30px;
    font-family: var(--font-body);
    background: var(--white);
    margin-bottom: 15px;
    transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--honey-gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
textarea { min-height: 120px; }

/* ----- Page Content ----- */
.page-content { padding: 60px 0; }
.page-content h1 { margin-bottom: 20px; }

/* ----- Utility ----- */
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }

/* ----- Footer ----- */
footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-logo-img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}
.footer-about h3 {
    font-family: var(--font-heading);
    color: var(--honey-gold);
    font-size: 1.3rem;
}
.footer-about p {
    margin: 10px 0 15px;
    line-height: 1.6;
    color: var(--honey-light);
    opacity: 0.9;
}
.footer-credit {
    color: var(--honey-gold);
    font-weight: 600;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.footer-social a:hover {
    background: var(--honey-gold);
    color: var(--brown-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245,166,35,0.3);
}

.footer-links h4 {
    font-family: var(--font-heading);
    color: var(--honey-gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    color: var(--honey-light);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.85;
}
.footer-links ul li a:hover {
    color: var(--honey-gold);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--honey-gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--honey-light);
    opacity: 0.85;
}
.footer-contact p i {
    color: var(--honey-gold);
    width: 20px;
    text-align: center;
}
.footer-contact a {
    color: var(--honey-light);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--honey-gold);
}

.footer-chat {
    margin-top: 15px;
}
.chat-footer-btn {
    background: var(--honey-gold);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(245,166,35,0.3);
}
.chat-footer-btn:hover {
    background: var(--honey-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.chat-footer-btn i {
    font-size: 1.1rem;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: 20px;
}
.footer-newsletter h4 {
    font-family: var(--font-heading);
    color: var(--honey-gold);
    margin-bottom: 8px;
    font-size: 1rem;
}
.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--honey-light);
    opacity: 0.85;
}
.newsletter-input-group {
    display: flex;
    gap: 8px;
}
.newsletter-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transition: background 0.3s;
}
.newsletter-input-group input::placeholder {
    color: rgba(255,255,255,0.5);
}
.newsletter-input-group input:focus {
    background: rgba(255,255,255,0.2);
    outline: none;
}
.newsletter-input-group .btn {
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 0.85rem;
}
.newsletter-response {
    margin-top: 8px;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
    display: none;
}
.newsletter-response.success {
    display: block;
    color: #4CAF50;
    background: rgba(76,175,80,0.1);
}
.newsletter-response.error {
    display: block;
    color: #f44336;
    background: rgba(244,67,54,0.1);
}

/* Footer Bottom Bar */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-bottom-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    color: var(--honey-light);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.footer-legal a:hover {
    opacity: 1;
    color: var(--honey-gold);
}

/* ============================================================
   CHAT POPUP (Virtual Assistant)
   ============================================================ */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    width: 380px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: none;
    font-family: var(--font-body);
}
.chat-popup.active {
    display: block;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-popup-header {
    background: var(--deep-green);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}
.chat-popup-header span i {
    margin-right: 8px;
}
.chat-popup-header .close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
    opacity: 0.8;
}
.chat-popup-header .close-chat:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.chat-messages {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-messages .message {
    display: flex;
    max-width: 85%;
}
.chat-messages .message.assistant {
    align-self: flex-start;
}
.chat-messages .message.user {
    align-self: flex-end;
}
.message-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.message.assistant .message-bubble {
    background: var(--white);
    color: var(--brown-dark);
    border-bottom-left-radius: 4px;
    border: 1px solid #e9ecef;
}
.message.user .message-bubble {
    background: var(--honey-gold);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid #e9ecef;
}
.chat-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.chat-form input[type="text"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ced4da;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.chat-form input[type="text"]:focus {
    border-color: var(--honey-gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
.chat-send-btn {
    background: var(--honey-gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-send-btn:hover {
    background: var(--honey-dark);
    transform: scale(1.05);
}
.chat-response {
    margin-top: 8px;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    display: none;
}
.chat-response.success {
    display: block;
    color: #2e7d32;
    background: #e8f5e9;
}
.chat-response.error {
    display: block;
    color: #c62828;
    background: #ffebee;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets & small laptops */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header & Navigation */
    header .container {
        padding: 8px 15px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 3px solid var(--honey-gold);
        z-index: 999;
    }
    nav ul.show { display: flex; }
    nav ul li { width: 100%; text-align: center; }
    nav ul li a { padding: 10px 0; display: block; }
    nav ul li.cta-btn { margin: 10px 0 0; }
    nav ul li.cta-btn a { display: inline-block; width: auto; }
    .menu-toggle { display: block; }
    .logo-text .brand-name { font-size: 1.1rem; }
    .logo-text .brand-sub { font-size: 0.65rem; }
    .logo-img { height: 40px; }

    /* Hero */
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .footer-chat { text-align: center; }
    .newsletter-input-group {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-input-group input {
        width: 100%;
        max-width: 300px;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Chat popup */
    .chat-popup {
        bottom: 20px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 400px;
        border-radius: 12px;
    }
    .chat-messages {
        max-height: 220px;
    }
    .chat-popup-header {
        font-size: 1rem;
        padding: 12px 16px;
    }
}

/* Very small screens (phones) */
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .logo-text { display: none; }
    .logo-img { height: 40px; }
    .footer-logo-img { height: 35px; }
    .footer-social a { width: 34px; height: 34px; font-size: 0.8rem; }
    .chat-footer-btn { width: 100%; justify-content: center; }
}
/* ============================================================
   VIRTUAL ASSISTANT – FLOATING IN MAIN CONTENT
   ============================================================ */

/* ----- Floating Chat Button ----- */
.chat-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: var(--honey-gold);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.8rem;
}
.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(245,166,35,0.5);
}
.chat-float-btn .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* ----- Chat Popup ----- */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    width: 380px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: none;
    font-family: var(--font-body);
}
.chat-popup.active {
    display: block;
}

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

/* ----- Popup Header ----- */
.chat-popup-header {
    background: var(--deep-green);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}
.chat-popup-header span i {
    margin-right: 8px;
}
.chat-popup-header .close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
    opacity: 0.8;
}
.chat-popup-header .close-chat:hover {
    transform: rotate(90deg);
    opacity: 1;
}

/* ----- Messages Area ----- */
.chat-messages {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-messages .message {
    display: flex;
    max-width: 85%;
}
.chat-messages .message.assistant {
    align-self: flex-start;
}
.chat-messages .message.user {
    align-self: flex-end;
}
.message-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.message.assistant .message-bubble {
    background: var(--white);
    color: var(--brown-dark);
    border-bottom-left-radius: 4px;
    border: 1px solid #e9ecef;
}
.message.user .message-bubble {
    background: var(--honey-gold);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

/* ----- Input Area ----- */
.chat-input-area {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid #e9ecef;
}
.chat-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.chat-form input[type="text"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ced4da;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.chat-form input[type="text"]:focus {
    border-color: var(--honey-gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
.chat-send-btn {
    background: var(--honey-gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-send-btn:hover {
    background: var(--honey-dark);
    transform: scale(1.05);
}
.chat-response {
    margin-top: 8px;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    display: none;
}
.chat-response.success {
    display: block;
    color: #2e7d32;
    background: #e8f5e9;
}
.chat-response.error {
    display: block;
    color: #c62828;
    background: #ffebee;
}

/* ----- Responsive ----- */
@media (max-width: 480px) {
    .chat-float-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .chat-popup {
        bottom: 80px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 400px;
        border-radius: 12px;
    }
    .chat-messages {
        max-height: 220px;
    }
    .chat-popup-header {
        font-size: 1rem;
        padding: 12px 16px;
    }
}
/* ============================================================
   HOME PAGE – CUSTOM STYLES
   ============================================================ */

/* ----- Hero Section ----- */
.hero {
    background: linear-gradient(135deg, var(--honey-pale) 0%, var(--honey-light) 100%);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '🐝';
    position: absolute;
    bottom: 20px;
    left: 10%;
    font-size: 4rem;
    opacity: 0.15;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: var(--brown-dark);
    line-height: 1.2;
}
.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--brown-medium);
}
.hero-buttons .btn {
    margin: 0 10px;
}
.text-gold {
    color: var(--honey-gold);
}

/* ----- About Preview Grid ----- */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-preview-grid h2 {
    font-size: 2.5rem;
}
.about-preview-grid p {
    font-size: 1.05rem;
    color: var(--brown-medium);
    line-height: 1.8;
}
.about-image-placeholder {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow);
    border: 2px dashed var(--honey-light);
}
.about-image-placeholder i {
    display: block;
    margin-bottom: 10px;
}

/* ----- Grid 3 (reusable) ----- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ----- Cards ----- */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--honey-gold);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
}
.card .icon {
    font-size: 3rem;
    color: var(--honey-gold);
    margin-bottom: 15px;
}
.card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.card p {
    color: var(--brown-medium);
    font-size: 0.95rem;
}

/* ----- Stats Grid ----- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat .stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--honey-dark);
    display: block;
}
.stat .stat-label {
    font-size: 1rem;
    color: var(--brown-medium);
}

/* ----- Testimonials ----- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.testimonial {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}
.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--honey-gold);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.2;
}
.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}
.testimonial h4 {
    color: var(--brown-dark);
    font-weight: 600;
}

/* ----- Partners ----- */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}
.partner-logos img {
    max-height: 70px;
    width: auto;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}
.partner-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ----- Call to Action ----- */
.cta-buttons .btn {
    min-width: 200px;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image-placeholder {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    .hero-buttons .btn {
        display: inline-block;
        margin: 5px;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .partner-logos {
        gap: 25px;
    }
    .partner-logos img {
        max-height: 50px;
    }
    .cta-buttons .btn {
        min-width: unset;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 50px 0 60px;
    }
    .hero::after {
        font-size: 3rem;
        bottom: 10px;
        left: 5%;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .about-preview-grid h2 {
        font-size: 2rem;
    }
}
/* ============================================================
   VIRTUAL ASSISTANT – FLOATING CHAT BUTTON & POPUP
   ============================================================ */

/* ----- Floating Chat Button (bottom-right) ----- */
.chat-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: var(--honey-gold);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 25px rgba(245, 166, 35, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.8rem;
}
.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(245, 166, 35, 0.6);
}
.chat-float-btn .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* ----- Chat Popup (hidden by default) ----- */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    width: 420px;
    max-width: 90vw;
    max-height: 600px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: none;  /* Hidden by default */
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: 2px solid var(--honey-gold);
    font-family: var(--font-body);
}
.chat-popup.active {
    display: flex;  /* Shown when .active class is added */
    flex-direction: column;
}

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

/* ----- Popup Header ----- */
.chat-popup-header {
    background: var(--deep-green);
    color: var(--white);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}
.chat-popup-header span i {
    margin-right: 8px;
}
.header-actions {
    display: flex;
    gap: 8px;
}
.header-actions button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.header-actions button:hover {
    opacity: 1;
}

/* ----- Messages Area ----- */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    max-height: 400px;
    min-height: 250px;
}
.chat-messages::-webkit-scrollbar {
    width: 4px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: var(--honey-light);
    border-radius: 2px;
}
.chat-messages .message {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chat-messages .message.user {
    flex-direction: row-reverse;
}
.message-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--honey-gold);
    color: var(--white);
    font-size: 0.9rem;
}
.message.user .message-avatar {
    background: var(--brown-medium);
}
.message-content {
    max-width: 80%;
}
.message-bubble {
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    word-wrap: break-word;
}
.message.assistant .message-bubble {
    background: var(--white);
    color: var(--brown-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.message.user .message-bubble {
    background: var(--honey-gold);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

/* ----- Quick Replies ----- */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.quick-reply {
    background: var(--honey-light);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s;
}
.quick-reply:hover {
    background: var(--honey-gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* ----- Typing Indicator ----- */
.typing-indicator {
    display: none;
    gap: 4px;
    padding: 8px 16px;
    align-items: center;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--brown-medium);
    border-radius: 50%;
    animation: typing 1.4s infinite both;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ----- Input Area ----- */
.chat-input-area {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}
.chat-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.chat-form input[type="text"] {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: var(--font-body);
}
.chat-form input[type="text"]:focus {
    border-color: var(--honey-gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.chat-send-btn {
    background: var(--honey-gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-send-btn:hover {
    background: var(--honey-dark);
    transform: scale(1.05);
}
.chat-response {
    margin-top: 8px;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    display: none;
}
.chat-response.success {
    display: block;
    color: #2e7d32;
    background: #e8f5e9;
}
.chat-response.error {
    display: block;
    color: #c62828;
    background: #ffebee;
}

/* ----- Mobile Responsive ----- */
@media (max-width: 480px) {
    .chat-float-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .chat-popup {
        bottom: 80px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 400px;
        border-radius: 16px;
        max-height: 500px;
    }
    .chat-messages {
        max-height: 280px;
        min-height: 180px;
        padding: 15px;
    }
    .chat-popup-header {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    .message-content {
        max-width: 90%;
    }
    .quick-replies {
        gap: 4px;
    }
    .quick-reply {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}