/* Brand Identity */
:root {
    --brand-green: #1a3628;
    --brand-gold: #cfa144;
    --brand-gold-hover: #e5b85a;
}

/* Base Refinements */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom UI Components */
.flag-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    background-color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.flag-ball:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--brand-gold);
}

.flag-ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

/* Chat Box UI */
#chat-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #007bff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

.chat-box {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    max-height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-direction: column;
}

.chat-box-header {
    background: #007bff;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
}

.chat-box-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    width: 80%;
    border: none;
    outline: none;
}

/* --- NEW: Buy Now Button with Arrow --- */
.buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between text and arrow */
    text-decoration: none;
    background-color: var(--brand-gold); /* Uses your brand gold color */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
    background-color: var(--brand-gold-hover);
}

/* The Arrow Icon */
.buy-now-btn::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.25s ease-in-out;
}

/* Sliding animation on hover */
.buy-now-btn:hover::after {
    transform: translateX(5px);
}


/* --- ISBAH CHATBOT STYLES --- */
#chat-circle {
    position: fixed !important;
    bottom: 115px !important;
    right: 40px !important;
    background: #1a3628 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    color: #cfa144 !important;
    border: 2px solid #cfa144 !important;
    cursor: pointer !important;
    font-size: 24px !important;
    z-index: 999999 !important; /* Forces it above all Tailwind overlays */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important; /* Guarantees clickability */
}
.chat-box {
    display: none;
    position: fixed !important;
    bottom: 40px !important;
    right: 110px !important;
    width: 320px !important;
    max-height: 480px !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
    flex-direction: column;
    z-index: 999999 !important; /* Forces it above all Tailwind overlays */
    overflow: hidden !important;
    border: 1px solid #eee !important;
}
.chat-box-header { background: #1a3628; color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.chat-box-toggle { cursor: pointer; font-size: 24px; line-height: 1; }
.chat-box-body { padding: 15px; height: 320px; overflow-y: auto; background: #f9fafb; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { padding: 10px 14px; border-radius: 15px; max-width: 80%; font-size: 14px; line-height: 1.4; }
.chat-msg.bot { background: #e5e7eb; align-self: flex-start; color: #1f2937; border-bottom-left-radius: 2px; }
.chat-msg.user { background: #1a3628; color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-input { padding: 15px; border-top: 1px solid #eee; background: white; }
.chat-input form { display: flex; gap: 8px; }
.chat-input input { flex-grow: 1; border: 1px solid #ddd; padding: 8px 12px; border-radius: 20px; outline: none; font-size: 14px; }
.chat-submit { background: #1a3628; color: #cfa144; border: none; padding: 8px 15px; border-radius: 20px; font-weight: bold; cursor: pointer; }