/* General Body and Container Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Navigation Bar */
.top-nav {
    background-color: #17a2b8;
    color: white;
    padding: 5px 0;
    font-size: 0.9em;
}
.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main Header Section */
.main-header {
    background-color: #004d40;
    color: white;
    padding: 15px 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-section {
    display: flex;
    align-items: center;
}
.pgrkam-logo {
    height: 60px;
    margin-right: 15px;
}
.header-text h1 {
    margin: 0;
    font-size: 1.5em;
    font-weight: normal;
}
.header-text h2 {
    margin: 0;
    font-size: 1em;
    font-weight: normal;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-nav ul li {
    margin-left: 25px;
}
.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Alert Bar */
.alert-bar {
    background-color: #ffc107;
    color: #333;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
}

/* Main Search Section */
.search-section {
    background-color: #007bff;
    color: white;
    padding: 40px 0;
    text-align: center;
}
.search-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.form-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}
.search-form input, .search-form select, .search-form button {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
.search-btn {
    background-color: #28a745;
    color: white;
    cursor: pointer;
}
.help-text a {
    color: white;
}

/* Stats Boxes */
.stats-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.stat-box {
    background-color: #ffc107;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    width: 200px;
}

/* Icon Navigation */
.icon-nav {
    background-color: #fff;
    padding: 30px 0;
}
.icon-nav .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.icon-item {
    font-size: 1.1em;
    color: #004d40;
    font-weight: bold;
}
.icon-item i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #007bff;
}

/* Chatbot Floating Container */
.chatbot-floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}
.chat-header-chatbot {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}
.close-chatbot {
    font-size: 1.5em;
    font-weight: bold;
}
.chat-box {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.chat-box p {
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}
.user-message {
    background-color: #e0f7fa;
    align-self: flex-end;
}
.assistant-message {
    background-color: #e6e6e6;
    align-self: flex-start;
}
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}
#user-input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 12px;
}
#send-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin-left: 8px;
    cursor: pointer;
}