/* Contact Page Styles */

.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-lavender);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card > p {
    color: var(--text-mid);
    margin-bottom: 2rem;
}

/* Chatbot Styles */
.chatbot {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 80%;
    padding: 1rem 1.25rem;
    border-radius: 15px;
    line-height: 1.5;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: var(--primary-lavender);
    color: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--accent-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-options {
    padding: 1.5rem;
    background: var(--off-white);
    border-top: 1px solid rgba(0,0,0,0.05);
    min-height: 100px;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--primary-lavender);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.chat-textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--primary-lavender);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
}

.chat-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.chat-submit {
    align-self: flex-end;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-button {
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--primary-lavender);
    border-radius: 10px;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-button:hover {
    background: var(--primary-lavender);
    color: var(--white);
    transform: translateX(5px);
}

.completion-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-dark);
}

.completion-message p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Calendly Styling */
.calendly-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Direct Contact */
.direct-contact {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--off-white);
    border-radius: 15px;
}

.direct-contact h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.direct-contact a {
    color: var(--primary-lavender);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.direct-contact a:hover {
    color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        height: 300px;
    }
    
    .chat-message {
        max-width: 90%;
    }
}
