:root {
    --primary-color: #1a1a1a;
    --accent-gold: #c5a059;
    --accent-blue: #2c3e50;
    --text-light: #f4f4f4;
    --text-dark: #333;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links li a:hover {
    color: var(--accent-gold);
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Split Landing */
.split-landing {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.split {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: width var(--transition-speed) ease-in-out;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem;
}

.split.left {
    background: radial-gradient(circle at 30% 50%, #4a3b2a 0%, #1a1a1a 70%);
    /* Simulate gold sheen with a pseudo-element or multiple backgrounds */
    position: relative;
}

.split.left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
    /* Subtle texture pattern */
    opacity: 0.3;
}

.split.right {
    background: radial-gradient(circle at 70% 50%, #2c3e50 0%, #0f172a 80%);
}

.split.right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.2) 0%, rgba(52, 152, 219, 0.2) 50%, rgba(155, 89, 182, 0.2) 100%);
    mix-blend-mode: overlay;
}

.split .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
    z-index: 1;
}

.split h1 {
    font-size: 4rem;
    z-index: 2;
    margin-bottom: 1rem;
    font-style: italic;
    white-space: nowrap;
}

.split p {
    font-size: 1.2rem;
    z-index: 2;
    margin-bottom: 2rem;
    max-width: 400px;
}

.btn {
    z-index: 2;
    padding: 1rem 3rem;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn:hover {
    background: white;
    color: black;
}

/* Hover Effects for Split */
.split-landing:hover .split {
    width: 40%;
}

.split-landing .split:hover {
    width: 60%;
}

.split:hover .overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* About */
.about p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

/* Products */
.product-category {
    margin-bottom: 5rem;
}

.product-category h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* STRICT 3 COLUMNS */
    gap: 2rem;
}

.product-card {
    background: white;
    /* border: 1px solid #eee; */
    padding-bottom: 1rem;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    margin-bottom: 1.5rem;
    position: relative;
    /* For image content */
}

/* Placeholder colors for now */
.placeholder-gold {
    background: linear-gradient(45deg, #FFD700, #B8860B);
}

.placeholder-silver {
    background: linear-gradient(45deg, #C0C0C0, #708090);
}

.placeholder-copper {
    background: linear-gradient(45deg, #b87333, #8b4513);
}

.placeholder-cotton {
    background: linear-gradient(45deg, #e6e6fa, #f4f4f4);
}

.placeholder-silk {
    background: linear-gradient(45deg, #ff69b4, #db7093);
}

.placeholder-poly {
    background: linear-gradient(45deg, #4682b4, #5f9ea0);
}

.product-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-card p {
    color: #777;
    font-size: 0.95rem;
}

/* Location */
.location {
    background-color: #f9f9f9;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.address-box {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.address-box i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.address-box h3 {
    margin-bottom: 1rem;
}

.address-box p {
    line-height: 1.8;
    color: #666;
}

.map-placeholder {
    flex: 1;
    min-width: 300px;
    background: #e0e0e0;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

/* Customers */
.client-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
}

.client-logos span {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Client Logos */
.client-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo-item {
    text-align: center;
    color: #888;
    font-weight: 600;
    transition: all 0.3s;
    opacity: 0.7;
}

.client-logo-item:hover {
    color: var(--accent-gold);
    transform: translateY(-5px);
    opacity: 1;
}

.client-logo-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

/* Energetic Animations */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

.pulse-anim {
    animation: pulse-gold 2s infinite;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a, #4a3b2a);
    color: white;
    padding: 8rem 5% 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-info-card,
.address-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    /* Softer, modern corners */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Deeper shadow for depth */
    transition: transform 0.3s;
}

.contact-info-card:hover,
.address-card:hover {
    transform: translateY(-10px);
    /* Lift effect */
}

.contact-info-card h3,
.address-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-gold);
    /* Bold underline */
    display: inline-block;
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: white;
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* Circular icons */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent-gold);
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    flex: 1;
    padding: 1rem;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background: #25D366;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* About - Why Choose Us */
.about-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-box {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 5px solid transparent;
}

.feature-box:hover {
    border-top: 5px solid var(--accent-gold);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Footer Social */
.social-links-footer {
    margin-top: 1rem;
}

.social-links-footer a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links-footer a:hover {
    color: var(--accent-gold);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent-gold);
}

.badge {
    background: #ff4757;
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.placeholder-rose {
    background: linear-gradient(45deg, #B76E79, #E0BFB8);
}

/* Responsive */
@media (max-width: 768px) {
    .split-landing {
        flex-direction: column;
        height: auto;
    }

    .split {
        width: 100% !important;
        height: 50vh;
    }

    .split h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation later */
    }

    .menu-toggle {
        display: block;
    }
}

/* --- RSI Chatbot Styles --- */
.rsi-chatbot-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color, #1a1a1a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.rsi-chatbot-launcher:hover {
    transform: scale(1.1);
    background-color: #333;
}

.rsi-chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rsi-chatbot-header {
    background: var(--primary-color, #1a1a1a);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rsi-chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f5f7f9;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-msg.bot {
    align-self: flex-start;
    background: white;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-color, #1a1a1a);
    color: white;
    border-bottom-right-radius: 2px;
}

.rsi-chatbot-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.rsi-chatbot-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 20px;
    outline: none;
}

.rsi-chatbot-input-area button {
    background: var(--primary-color, #1a1a1a);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.option-btn {
    background: white;
    border: 1px solid var(--primary-color, #1a1a1a);
    color: var(--primary-color, #1a1a1a);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn:hover {
    background: var(--primary-color, #1a1a1a);
    color: white;
}

.business-info {
    font-size: 12px;
    background: #fff8e1;
    padding: 10px;
    border-radius: 10px;
    border-left: 3px solid #ffc107;
    margin-top: 5px;
    color: #555;
}

/* Scrollbar for messages */
.rsi-chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.rsi-chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .rsi-chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 90px;
        height: 70vh;
    }
}

/* --- Leads Management Styles --- */
.leads-table-container {
    margin-top: 2rem;
    overflow-x: auto;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.leads-table th,
.leads-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.leads-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

.leads-table tr:hover {
    background-color: #fcfcfc;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-received {
    background: #e3f2fd;
    color: #1976d2;
}

.status-called {
    background: #fff3e0;
    color: #f57c00;
}

.status-success {
    background: #e8f5e9;
    color: #388e3c;
}

.status-closed {
    background: #ffebee;
    color: #d32f2f;
}

.leads-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    outline: none;
}

.date-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-filter-group input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* --- Chatbot Bubble Nudge --- */
.rsi-chatbot-bubble {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    color: #333;
    z-index: 9998;
    display: none;
    animation: bounceIn 0.5s ease;
    cursor: pointer;
}

.rsi-chatbot-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8) translateY(10px);
        opacity: 0;
    }

    70% {
        transform: scale(1.05) translateY(-2px);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}