:root {
    --bmo-blue: #0079c1;
    --bmo-dark-blue: #005587;
    --bmo-red: #e4002b;
    --text-color: #333333;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bmo-logo {
    height: 75px;
    width: auto;
}

.lang-btn {
    background: none;
    border: 1px solid var(--bmo-blue);
    color: var(--bmo-blue);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--bmo-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 121, 193, 0.85) 0%, rgba(0, 85, 135, 0.9) 100%), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.profile-card {
    background: var(--white);
    color: var(--text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--bmo-blue);
}

.specialist-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--bmo-blue);
}

.specialist-title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--bmo-blue);
}

.cta-btn {
    background-color: var(--bmo-red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #c00024;
}

.hero-text {
    flex: 2;
    min-width: 300px;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--bmo-blue);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--bmo-blue);
    margin-bottom: 15px;
}

/* BMO Links Section */
.bmo-links {
    padding: 60px 0;
    background-color: #e8f2f7;
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.bmo-link-card {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--bmo-blue);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.bmo-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bmo-link-card:hover .link-icon svg {
    stroke: var(--bmo-blue);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bmo-blue);
}

.link-icon svg {
    stroke: var(--bmo-blue);
    transition: all 0.3s ease;
}

/* Footer */
.site-footer {
    background-color: var(--bmo-dark-blue);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Chatbot */
.chat-toggle-btn-inline {
    background-color: var(--white);
    color: var(--bmo-blue);
    border: 2px solid var(--bmo-blue);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-toggle-btn-inline:hover {
    background-color: var(--bmo-blue);
    color: var(--white);
}

.chat-toggle-btn-inline:hover svg {
    stroke: var(--white);
}

.chat-toggle-btn-inline svg {
    stroke: var(--bmo-blue);
    transition: stroke 0.3s ease;
}

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.chat-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chat-header {
    background-color: var(--bmo-blue);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 10px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.message.bot {
    background-color: #eef7fc;
    color: var(--text-color);
    border-bottom-left-radius: 2px;
}

.message.user {
    background-color: var(--bmo-blue);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input-area button {
    background-color: var(--bmo-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .chat-window {
        width: 300px;
        right: 10px;
        bottom: 10px;
    }
}

/* Modal Styles */
.modal {
    display: flex;
    /* Hidden by default via .hidden class, flex when active */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.chat-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chat-header {
    background-color: var(--bmo-blue);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 10px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.message.bot {
    background-color: #eef7fc;
    color: var(--text-color);
    border-bottom-left-radius: 2px;
}

.message.user {
    background-color: var(--bmo-blue);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input-area button {
    background-color: var(--bmo-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .chat-window {
        width: 300px;
        right: 10px;
        bottom: 10px;
    }
}

/* Modal Styles */
.modal {
    display: flex;
    /* Hidden by default via .hidden class, flex when active */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bmo-blue);
    box-shadow: 0 0 0 2px rgba(0, 121, 193, 0.2);
}

/* Custom Notification Modal */
.notification-modal {
    display: flex;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.notification-modal.hidden {
    display: none;
    opacity: 0;
}

.notification-content {
    background-color: var(--white);
    padding: 40px 30px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: notificationSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
}

@keyframes notificationSlideIn {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.notification-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.notification-icon.success {
    background-color: #d4edda;
    color: #28a745;
}

.notification-icon.error {
    background-color: #f8d7da;
    color: #dc3545;
}

.notification-icon.warning {
    background-color: #fff3cd;
    color: #ffc107;
}

.notification-icon.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

#notification-title {
    color: var(--bmo-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#notification-message {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 10px;
}

.notification-btn {
    background-color: var(--bmo-blue);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.notification-btn:hover {
    background-color: var(--bmo-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 121, 193, 0.3);
}

.notification-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .notification-content {
        padding: 30px 20px 25px;
        max-width: 90%;
    }

    .notification-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    #notification-title {
        font-size: 1.3rem;
    }

    #notification-message {
        font-size: 0.95rem;
    }
}/* Add this to the END of your styles.css file */

/* Custom Notification Modal */
.notification-modal {
    display: flex;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.notification-modal.hidden {
    display: none;
    opacity: 0;
}

.notification-content {
    background-color: var(--white);
    padding: 40px 30px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: notificationSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
}

@keyframes notificationSlideIn {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.notification-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.notification-icon.success {
    background-color: #d4edda;
    color: #28a745;
}

.notification-icon.error {
    background-color: #f8d7da;
    color: #dc3545;
}

.notification-icon.warning {
    background-color: #fff3cd;
    color: #ffc107;
}

.notification-icon.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

#notification-title {
    color: var(--bmo-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#notification-message {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 10px;
}

.notification-btn {
    background-color: var(--bmo-blue);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.notification-btn:hover {
    background-color: var(--bmo-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 121, 193, 0.3);
}

.notification-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .notification-content {
        padding: 30px 20px 25px;
        max-width: 90%;
    }

    .notification-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    #notification-title {
        font-size: 1.3rem;
    }

    #notification-message {
        font-size: 0.95rem;
    }
}
