/* Footer Styles */
.footer {
    background-color: #00072D; 
    padding: 40px 20px; 
    border-top: 2px solid #007bff; 
}

.footer-container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

.row {
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
}

.col {
    flex: 1; 
    margin: 10px; 
    min-width: 220px; 
}

.single_footer h4 {
    color: blue; 
    margin-bottom: 10px;
    font-size: 18px;
}

.single_footer ul {
    list-style: none; 
    padding: 0; 
}

.single_footer li {
    margin-bottom: 8px; /* Space between list items */
}

.single_footer a {
    color: #fff; /* White color for links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.single_footer a:hover {
    color: #007bff; /* Blue color on hover */
}

.social_profile {
    text-align: center; /* Center align the social media section */
    margin-top: 20px; /* Space above */
}

.social_profile ul {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    display: flex; /* Flexbox for horizontal layout */
    justify-content: center; /* Center align items */
}

.social_profile li {
    margin: 0 10px; /* Space between icons */
}

.social_profile a {
    font-size: 24px; /* Increase icon size */
    color: #fff; /* White color */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.social_profile a:hover {
    color: #007bff; /* Blue on hover */
}

.single_footer h4 {
    cursor: pointer;
    transition: color 0.3s ease;
}

.single_footer h4:hover {
    color: #007bff;
}

.chatbot-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.chatbot-header {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: red;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.chatbot-header button:hover {
    background: darkred;
}

.chatbot-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 20px;
    background-color: #f9f9f9;
}

.chatbot-body p{
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ffcc00;
    border-radius: 5px;
    background-color: #fff8e1;
    color: blue;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.chatbot-footer {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.chatbot-footer input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    margin-right: 10px;
    font-size: 14px;
}

.chatbot-footer button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.chatbot-footer button:hover {
    background: #0056b3;
}

/* Chatbot Icon Styling */
.chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chatbot-icon img {
    width: 24px;
    height: 24px;
}

.chatbot-icon:hover {
    background: #0056b3;
}


.chatbot-disclaimer {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ffcc00;
    border-radius: 5px;
    background-color: #fff8e1;
    color: #d48806;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Chat Messages Layout */
.chat-message {
    display: flex;
    margin: 5px 0;
    align-items: center;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

/* Message Bubble Styling */
.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.user-message .message-bubble {
    background-color: #007bff;
    color: white;
    border-bottom-right-radius: 5px;
}

.bot-message .message-bubble {
    background-color: #f1f1f1;
    color: black;
    border-bottom-left-radius: 5px;
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    width: 400px;
}

/* Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Close button for popup */
.popup-close-btn {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: red;
}

/* Style for the h4 to display text and checkbox horizontally */
.popup-container h4 {
    display: flex;
    align-items: center;
    font-size: 1em;
    justify-content: flex-start; /* Aligns the content to the left */
}


/* Style the wrapper */
.checkbox-wrapper-1 {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
  }
  
  /* Style the checkbox */
  .checkbox-wrapper-1 input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* Space between checkbox and label */
    margin-top: 15px;
    border: 2px solid #000;
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
  }
  
  /* Style the checkbox when checked */
  .checkbox-wrapper-1 input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  /* Style the label */
  .checkbox-wrapper-1 label {
    font-size: 16px;
    cursor: pointer;
    color:blue;
  }
  
  /* Change label text color when checkbox is checked */
  .checkbox-wrapper-1 input[type="checkbox"]:checked + label {
    color: #007bff;
  }
  


/* Form inputs */
.popup-container input,
.popup-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Submit button */
.popup-container button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.popup-container button:hover {
    background: #0056b3;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px; /* Ensure padding on smaller screens */
    }

    .row {
        flex-direction: column; /* Stack footer columns vertically */
        align-items: center; /* Center-align items */
    }

    .col {
        width: 100%; /* Allow each column to take up full width */
        margin: 15px 0; /* Margin for spacing between stacked columns */
    }

    .social_profile ul {
        flex-direction: row; /* Align social icons horizontally */
        justify-content: center; /* Center the icons */
    }

    .social_profile li {
        margin: 0 8px; /* Space between icons on smaller screens */
    }

    .copyright {
        font-size: 12px; /* Smaller font for mobile */
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px; /* Adjust padding for smaller screens */
    }

    .single_footer h4 {
        font-size: 16px; /* Slightly smaller headings */
    }

    .social_profile a {
        font-size: 20px; /* Smaller icons for mobile */
    }

    .copyright {
        font-size: 12px; /* Smaller copyright text on mobile */
    }
}
