@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --bg-primary: #0066CC;
    --bg-secondary: #CC0000;
    --white-color: white;
    --black-color: black;
    --primary-font: "Poppins", sans-serif;
    --secondary-font: "Bebas Neue", sans-serif;
    --third-font: "Manrope", sans-serif;
    --font-size: 0.9375rem;
}


/* Chat Icon Styling */
.chat-icon {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;

}

/* Chatbox Styling */
.chatbox {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 90vw;
    /* Make the chatbox width 90% of the viewport width */
    max-width: 400px;
    /* Optional: limit the width to a maximum of 400px */
    height: auto;
    max-height: 500px;
    /* Set max height to 400px */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow-y: auto;
    /* Enable vertical scrolling if content exceeds 400px */
}


.chat-header {
    background-color: var(--bg-primary);
    color: white;
    padding: 10px;
    font-weight: 500;
}

.chat-content {
    padding: 10px;
    overflow-y: auto;
    height: calc(100% - 50px);
}


.message.bot-message {
    font-family: var(--primary-font);
    max-width: 100%;
    /* Ensure the container is responsive */
    padding: 10px 10px;
    line-height: 32px;
    background-color: #007bff0d;
    margin-bottom: 20px;
}

.message.bot-message iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
}


/* Category Section Styling */
.category-section {
    margin-top: 15px;
}

.category-title {
    font-size: var(--font-size);
    font-weight: normal;
    margin-bottom: 10px;
}

.category-item .card {
    background-color: white;
    padding: 0px;
}

.category-item {
    text-align: left;
    color: black;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    padding: 0px;
}

.category-item h6 {
    font-size: 0.85rem;
    padding: 10px;
    margin: 0px;
}

/* Question Section Styling */
.question-list {
    margin-top: 15px;
}

.question-item {
    background: none;
    border: 1px dotted var(--bg-primary);
    text-align: center;
    color: var(--bg-primary);
    cursor: pointer;
    padding: 4px 10px;
    width: 100%;
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}

.question-item:hover {
    background-color: #ddeeff;
}

/* Go Back Button Styling */
.go-back-btn {
    background-color: white;
    color: var(--bg-secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
}



.minimize-btn {
    font-size: 18px;
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 5px;
}


/* Style for the contact button */
.contact-button {
    display: inline-block;
    background-color: var(--bg-primary);
    /* Blue background for the button */
    color: white;
    /* White text color */
    font-size: 14px;
    /* Adjust font size */
    padding: 4px 8px;
    /* Padding for the button */
    border: none;
    /* Remove any border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Show a pointer cursor on hover */
    margin-top: 10px;
    /* Add some space above the button */
    text-decoration: none;
    /* Remove underline for <a> if wrapping around */
    text-align: center;
    /* Center the text inside the button */
}

/* Hover effect */
.contact-button:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
}

/* Card Layout for Contact Us Section */
.contact-card {
    background-color: #f9f9f9;
    /* Light grey background */
    border: 1px solid #ddd;
    /* Light border */
    border-radius: 10px;
    /* Rounded corners */
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: #333;
    /* Darker color for the headings */
    font-size: 15px;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: #555;
    /* Lighter text color */
}

.contact-card strong {
    color: #007bff;
    /* Blue color for phone and email labels */
}

.chat-content .contact-us a {
    background-color: white;
    color: var(--bg-primary);
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px dotted var(--bg-primary);
    font-size: 0.85rem;
    text-decoration: none;
    /* Let the button adjust width based on content */
}

.chat-content .contact-us {
    display: flex;
    /* Enable flexbox on parent */
    justify-content: center;
    /* Center the child elements horizontally */
    align-items: center;
    /* Center the child elements vertically if needed */
    text-align: center;
    /* Center the content inside */
}