/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 0 0 48px;
}

.footer-main {
    padding-top: 64px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 300px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #ffffff;
}

.social-item a {
    color: #7F56D9;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

.link-column h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    text-decoration: none;
    color: #e2e8f0;
    font-size: 16px;
    transition: color 0.2s ease;
}

.link-column a:hover {
    color: #7F56D9;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.footer-bottom .logo img {
    height: 40px;
}

.footer-bottom .footer-logo-text {
    font-size: 28px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.copyright p {
    font-size: 16px;
    color: #e2e8f0;
    margin: 0;
}

/* CTA Section */
.cta {
    background-image: url('../cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 450px !important;
    padding: 40px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta .cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-button {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.outline:hover {
    background: white;
    color: #7F56D9;
}

.cta-button.primary {
    background: #7F56D9;
    border: 2px solid white;
    color: white;
}

.cta-button.primary:hover {
    background: #6A46C2;
}

/* Contact Button */
.contact-button {
    position: fixed;
    bottom: 5%;
    right: 2%;
    width: 160px;
    height: 48px;
    background-color: #7F56D9;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(127, 86, 217, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(127, 86, 217, 0.4);
}

.contact-button svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: white;
}

.contact-button span {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    width: 360px;
    max-width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.modal-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 64px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #9ca3af;
}

.modal-body {
    text-align: center;
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.chat-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 10px;
}

.chat-message .bubble {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 75%;
    display: inline-block;
    margin: 4px 0;
    line-height: 1.5;
}

.chat-message.bot {
    text-align: left;
}

.chat-message.bot .bubble {
    background: #E8F1FF;
    color: #003366;
    border: 1px solid #D0E3FF;
}

.chat-message.user {
    text-align: right;
}

.chat-message.user .bubble {
    background: #DFFFE2;
    color: #0A4F26;
    border: 1px solid #B6F5C1;
}

.chat-message .bubble.question {
    background: #F0E6FF;
    color: #7F56D9;
    border: 1px solid #D9B8FF;
    cursor: pointer;
}

.chat-message .bubble.question:hover {
    background: #E6D6FF;
}

.modal-body input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.modal-footer {
    text-align: center;
    margin-top: 16px;
}

.modal-button {
    background: #7F56D9;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-button:hover {
    background: #7F56D9;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
