/* ===== Global Styles ===== */
body {
    font-family: Arial, sans-serif;
    /* margin: 0; */
    padding: 0;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient background */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    text-align: center;
}



/* Header Styling */
header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

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

/* ===== Chat Animation Section ===== */
#chat-animation {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Default alignment for chat bubbles */
    width: 100%;
}

/* Chat Bubble Styling */
.chat-bubble {
    background: rgba(211, 221, 213, 0.205); /* Light transparent background */
    padding: 10px 20px;
    border-radius: 20px; /* Rounded corners */
    max-width: 70%; /* Limits width */
    position: relative;
}

/* Align chat bubbles dynamically */
.chat-bubble.left, 
.chat-bubble.leftA, 
.chat-bubble.leftB {
    align-self: flex-start; /* Align to left */
    background-color: #2575fc; /* Blue */
}

.chat-bubble.right, 
.chat-bubble.rightA, 
.chat-bubble.rightB {
    align-self: flex-end; /* Align to right */
    background-color: #6a11cb; /* Purple */
}

/* ===== Call-to-Action Button ===== */
#cta-button {
    background: #ff6f61; /* Red button */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    transition: background 0.3s ease; /* Smooth hover effect */
}

/* Hover effect for button */
#cta-button:hover {
    background: #ff4a3d; /* Darker red on hover */
}
