/* General Styles */
body {
    margin: 0;
   font-family: "League Spartan", sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

header {
  font-family: "League Spartan", sans-serif;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

header .logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

main {
  font-family: "League Spartan", sans-serif;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Section */
.features {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.features h2 {
    margin-top: 0;
    font-family: "League Spartan", sans-serif;
    font-size: 2em;
    color: #4A90E2;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    margin: 15px 0;
    font-size: 18px;
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: bold;
}



/* Buttons */
button {
  font-family: "League Spartan", sans-serif;
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "League Spartan", sans-serif;
}

button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Demo Buttons */
.demos {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.demos button {
  font-family: "League Spartan", sans-serif;
    width: 120px;
}

/* Chatbot Styles */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 550px;
    z-index: 1000;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hidden {
    display: none;
}

.chat-header {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 15px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "League Spartan", sans-serif;
}

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

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chat-header button:hover {
    color: #ffdddd;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

/* Messages */
.message {
    margin: 15px 0;
    padding: 12px 20px;
    border-radius: 20px;
    max-width: 80%;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    font-family: "League Spartan", sans-serif;
}

.bot-message {
    background-color: #e1f5fe;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-message {
    background-color: #c8e6c9;
    align-self: flex-end;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer and Input */
.chat-footer {
    display: flex;
    border-top: 1px solid #ddd;
    background-color: #f1f1f1;
    padding: 10px 15px;
}

.chat-footer input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    font-family: "League Spartan", sans-serif;
}

.chat-footer input:focus {
    border-color: #4A90E2;
}

.chat-footer button {
    margin-left: 10px;
    padding: 12px 18px;
    border: none;
    background-color: #4A90E2;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-footer button:hover {
    background-color: #357ABD;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Buttons */
.chat-contact {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    border-top: 1px solid #ddd;
    background-color: #f1f1f1;
}

.chat-contact button {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-contact button img {
    width: 20px;
    height: 20px;
}

.chat-contact button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.chat-contact button:nth-child(1) {
    background-color: #25D366; /* WhatsApp Green */
}

.chat-contact button:nth-child(2) {
    background-color: #D44638; /* Email Red */
}

.chat-contact button:nth-child(3) {
    background-color: #34B7F1; /* Call Blue */
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .chat-container {
        width: 400px;
    }
}

@media (max-width: 600px) {
    .features, .demos button {
        font-size: 14px;
    }
    button {
        padding: 10px 18px;
        font-size: 15px;
    }
}
