/* Custom CSS for AICA Chatbot website */
body {
    padding-top: 0px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    margin: 0;
    min-height: 100vh;
    
}
h1, h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-nav .nav-item {
    margin-left: 10px;
    font-weight: bold;
}

.navbar-brand {
    font-weight: bold;
}
.hero-header {
    background: url('images/hero-background.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
}
header {
    background-color: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}

.hero {
    padding: 100px 20px;
    text-align: center;
    background: url('images/hero-background.jpg') no-repeat center center/cover;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;

}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #28a745;
    padding: 15px 30px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section p {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section a.cta-button {
    margin-top: 20px;
}

.industry-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.industry-buttons a {
    margin: 0 15px;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
}
.customer-types {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.customer-box {
    flex: 1 1 30%;
    background-color: #ecf0f1;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.customer-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.navbar {
    background-color: rgba(49, 7, 238, 0); /* Semi-transparent background for the navbar */
}

.navbar .nav-link {
    color: rgb(56, 15, 243) !important;
}

.navbar .nav-link:hover {
    color: #12a8ce !important; 
}
.navbar .navbar-brand:hover {
    color: #ddd !important; /* Slightly lighter color on hover */
}
.list-group-item {
    background-color: #f8f9fa;
}

.form-control {
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
    font-size: x-large;
}

.header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

.main-content {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
}

.faq-container {
    flex: 1;
    background-color: white;
    border: 1px solid #ddd;
    padding: 0; /* Remove padding */
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.faq-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.faq-container p,
.faq-container ul {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.faq-row, .chat-row {
    background-color: #FFFF00;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 18px;
    height: auto; /* Allow height to adjust */
    display: flex; /* Flexbox for equal height */
    align-items: top; /* Vertically center content */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
}

.faq-item, .chat-item {
    margin-top: 30px;
}

/* Card container */
.card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Left side of the card (Text) */
.card-left {
    flex: 1;
    padding-right: 20px;
    font-family: Arial, sans-serif;
}

.card-left h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-left p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Right side of the card (Image) */
.card-right {
    flex: 1;
    text-align: right;
}

.card-right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Button to open the chat */
.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0088cc;
    color: white;
    border: none;
    border-radius: 40px; /* Increased the border radius for a rounder shape */
    padding: 20px 30px; /* Increased padding for a larger button */
    font-size: 20px; /* Increased font size */
    cursor: pointer;
}

.chat-btn:hover {
    background-color: #0077b5;
}

/* Chat pop-up container */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 1000px;
    max-width: 90%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

/* Chat header */
.chat-header {
    background-color: #0088cc;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chat body */
.chat-container {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-row {
    margin-bottom: 10px;
}

.chat-item .messages {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.chat-item .message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

.chat-item .user {
    background-color: #0088cc;
    color: white;
    text-align: right;
}

.chat-item .bot {
    background-color: #f1f1f1;
    text-align: left;
}

.input-container {
    display: flex;
}

.input-container input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.input-container button {
    background-color: #0088cc;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    margin-left: 5px;
}

.input-container button:hover {
    background-color: #0077b5;
}

footer {
    background-color: #333;
    color: white !important;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #28a745;
    text-decoration: none;
}
