body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b7280, #3b82f6, #8b5cf6);
    z-index: -1;
}
.hero, .services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
    text-align: center;
    padding: 0 16px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.services {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}
.section-hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}
.section-visible {
    opacity: 1;
    transform: translateY(0);
    display: flex;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
}
.navbar a:hover {
    background-color: #3b82f6;
}
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}
.mobile-menu.active {
    display: flex;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 16px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.message-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4caf50, #0078d7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.message-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}
.message-widget img {
    width: 35px;
    height: 35px;
}
.dropdown-menu {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
    z-index: 1000;
    width: 80px;
    padding: 10px;
}
.dropdown-menu a {
    text-decoration: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.dropdown-menu a:hover {
    background: linear-gradient(135deg, #4caf50, #0078d7);
    transform: scale(1.1);
}
.dropdown-menu img {
    width: 45px;
    height: 45px;
}
.ai-chat-frame {
    position: fixed;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
    background: #ffffff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.5s ease;
    z-index: 1100;
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    overflow: hidden;
}
.ai-chat-frame.open {
    right: 20px;
}
.toolbar {
    width: 60px;
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 5px 0;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.toolbar button:hover {
    background: #e0e0e0;
}
.toolbar img {
    width: 30px;
    height: 30px;
}
.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: #ffffff;
}
.chat-box {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
}
.chat-box p {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
}
.user-message {
    background: #0078d7;
    color: #fff;
    align-self: flex-end;
}
.ai-message {
    background: #f3f3f3;
    color: #333;
    align-self: flex-start;
    font-size: 18px;
    margin-bottom: 20px;
}
.chat-input {
    display: flex;
    gap: 10px;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}
.chat-input button {
    padding: 10px 20px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.chat-input button:hover {
    background: #3e8e41;
}
.contact-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1200;
}
.contact-form-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}
.contact-form-content h2 {
    margin-top: 0;
    text-align: center;
}
.contact-form-content label {
    display: block;
    margin: 10px 0 5px;
}
.contact-form-content input,
.contact-form-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}
.contact-form-content button {
    width: 100%;
    padding: 10px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form-content button:hover {
    background: #3e8e41;
}
.close-contact-form {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.menu-options {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-options li {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.menu-options li:hover {
    background-color: #0056b3;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
    .services h2 {
        font-size: 2rem;
    }
    .service-card h2 {
        font-size: 1.5rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 600px) {
    .ai-chat-frame {
        width: 90vw;
        height: 80vh;
        max-height: 500px;
        top: auto;
        bottom: 10px;
        transform: none;
    }
    .ai-chat-frame.open {
        right: 5px;
    }
}