/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #3498db;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 60px 20px;
    background-color: #e8f4fe;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0d7dc7;
}

.cta-button.secondary {
    background-color: #fff;
    color: #3498db;
    border: 2px solid #3498db;
}

.cta-button.secondary:hover {
    background-color: #f8f9fa;
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.features-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #7f8c8d;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.about-image {
    flex: 1;
    max-width: 50%;
    padding-right: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 20px;
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #e8f4fe;
}

.testimonial-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-content {
    font-style: italic;
    color: #34495e;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #7f8c8d;
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #3498db;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: #fff;
    color: #3498db;
}

.cta-section .cta-button:hover {
    background-color: #f8f9fa;
}

.cta-section .cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-section .cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
}

.form-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #2980b9;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section, .about-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-image, .about-image {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .hero-content h2, .about-content h2, .features-section h2, .testimonial-section h2, .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

#faq-chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(52,152,219,0.18);
  border: 1.5px solid #e3eafc;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: all 0.3s;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#faq-chatbot-widget.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#faq-chatbot-header {
  background: #3498db;
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#faq-chatbot-close {
  cursor: pointer;
  font-size: 1.3rem;
}
#faq-chatbot-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafd;
  font-size: 1rem;
}
.faq-bot-msg {
  background: #eaf6ff;
  color: #217dbb;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 90%;
  word-break: break-word;
}
.faq-user-msg {
  background: #d4edda;
  color: #217a21;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  align-self: flex-end;
  max-width: 90%;
  word-break: break-word;
  text-align: right;
}
#faq-chatbot-form {
  display: flex;
  border-top: 1px solid #e3eafc;
  background: #fff;
}
#faq-chatbot-input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 0 0 0 16px;
  outline: none;
}
#faq-chatbot-form button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 1rem;
  border-radius: 0 0 16px 0;
  cursor: pointer;
  transition: background 0.2s;
}
#faq-chatbot-form button:hover {
  background: #217dbb;
}
#faq-chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #3498db;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(52,152,219,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 9999;
  transition: background 0.2s;
}
#faq-chatbot-button:hover {
  background: #217dbb;
}

/* Hide the chat widget unless open */
#faq-chatbot-widget {
  display: none;
}
#faq-chatbot-widget.open {
  display: flex;
}
/* FAQ question buttons */
.faq-question-btn {
  display: block;
  width: 100%;
  background: #f1f6fa;
  color: #217dbb;
  border: 1px solid #e3eafc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.faq-question-btn:hover {
  background: #3498db;
  color: #fff;
}
