       .chat-button {
            position: fixed; /* Makes the button stay in place when scrolling */
            bottom: 20px;    /* 20px from the bottom of the viewport */
            right: 20px;     /* 20px from the right of the viewport */
            z-index: 1000;   /* Ensures it stays on top of other content */
            border-radius: 50%; /* Makes it circular */
            width: 60px;     /* Fixed width */
            height: 60px;    /* Fixed height */
            display: flex;   /* Use flexbox for centering content */
            justify-content: center; /* Center horizontally */
            align-items: center;     /* Center vertically */
            box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Adds a subtle shadow */
            transition: transform 0.2s; /* Smooth transition for hover effect */
        }
        .chat-button:hover {
            transform: scale(1.05); /* Slightly enlarge on hover */
        }
        .chat-button i {
            font-size: 1.8rem; /* Icon size */
        }
        .chat-modal-body {
            height: 400px; /* Set a fixed height for the chat display area */
            overflow-y: auto; /* Adds scrollbar if content overflows vertically */
            border: 1px solid #dee2e6; /* Light border */
            border-radius: .375rem; /* Rounded corners */
            padding: 1rem; /* Inner spacing */
            display: flex; /* Use flexbox for message arrangement */
            flex-direction: column; /* Stack messages vertically */
            justify-content: flex-end; /* Keep new messages at the bottom */
        }
        .message-bubble {
            max-width: 80%; /* Messages won't take full width */
            padding: 8px 12px; /* Padding inside message bubbles */
            border-radius: 15px; /* Rounded corners for bubbles */
            margin-bottom: 10px; /* Space between messages */
            word-wrap: break-word; /* Prevents long words from overflowing */
        }
        .user-message {
            background-color: #0d6efd; /* Bootstrap primary blue for user */
            color: white; /* White text for user messages */
            align-self: flex-end; /* Aligns user messages to the right */
        }
        .ai-message {
            background-color: #e2e6ea; /* Light gray for AI messages */
            color: #212529; /* Dark text for AI messages */
            align-self: flex-start; /* Aligns AI messages to the left */
        }
        
        
        
        

/* General Body & Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Or another professional font */
    color: #212529; /* Darker text for headings */
    font-weight: 700;
}

/* Customizing Bootstrap Colors (Optional: For brand colors) */
/* You can replace 'primary' with your brand's main color code */
.btn-primary, .bg-primary, .text-primary {
    --bs-primary-rgb: 0, 100, 179; /* Example Kistar Blue: RGB value for #0064*/
    background-color: #0064B3 !important; /* Kistar Blue */
    border-color: #0064B3 !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: #0064B3 !important;
    border-color: #0064B3 !important;
}
.btn-outline-primary:hover {
    background-color: #0064B3 !important;
    color: #fff !important;
}

/* Navbar Customization */
.navbar-brand img {
    margin-right: 8px; /* Space between logo and text */
}

/* Hero Section */
.hero-section {
    background: url('../img/kistar-hero-bg.jpg') no-repeat center center; /* Replace with your actual hero image */
    background-size: cover;
    min-height: 600px; /* Adjust height as needed */
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds readability to text over image */
}

.hero-section::before { /* Optional: Dark overlay for better text contrast */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 50% black overlay */
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2; /* Ensures text is above the overlay */
}

/* Page Header (for inner pages) */
.page-header {
    background-color: #f8f9fa; /* Light background for inner page headers */
    border-bottom: 1px solid #e9ecef;
}

/* Section Spacing */
section {
    padding: 80px 0; /* Consistent vertical padding for sections */
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}


/* Card Styles (e.g., for services or portfolio) */
.card {
    border-radius: 8px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; /* More prominent shadow on hover */
}

.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 200px; /* Fixed height for portfolio images */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.card-body .fa-3x {
    color: #0064B3; /* Icon color consistent with brand primary */
}

/* Call to Action Section */
.cta-section {
    background-color: #343a40; /* Dark background */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/cta-bg.jpg'); /* Optional: background image with overlay */
    background-size: cover;
    background-position: center;
    color: white;
}

/* Footer Customization */
footer {
    background-color: #212529 !important; /* Deeper dark for footer */
    color: #adb5bd; /* Lighter grey text */
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #ffffff; /* White on hover */
}

footer .fab {
    font-size: 1.8rem; /* Size for social media icons */
    transition: color 0.2s ease-in-out;
}

footer .fab:hover {
    color: #0064B3; /* Kistar blue on hover for social icons */
}

/* Contact Page Specific */
.contact-info-list li {
    font-size: 1.1rem;
}
.contact-info-list li i {
    width: 25px; /* Align icons vertically */
}

/* Ensure images in About/Services sections scale correctly */
.section img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    .hero-section h1.display-3 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    section {
        padding: 40px 0;
    }
    .my-5, .py-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}