.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.6;
    opacity: 0.9;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.jlcs-menu-container {
    background-color: white;
    border-radius: 12px;
//box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
//width: 100%;
//max-width: 350px;
}

.menu-title {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jlcs-vertical-menu, .jlcs-vertical-menu ul {
    list-style: none;
    margin:0;
    padding:0 !important;
}

.jlcs-menu-item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.jlcs-menu-item:last-child {
    border-bottom: none;
}

.jlcs-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: white;
}

.jlcs-menu-link:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
    color: #2980b9;
}

.jlcs-menu-link i:first-child {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

.chevron {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.jlcs-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #f8f9fa;
}

.jlcs-submenu.show {
    max-height: 800px;
}

.submenu-item {
    border-top: 1px solid #eaeaea;
}

.submenu-link {
    display: block;
    padding: 14px 20px 14px 56px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background-color: #eef5ff;
    color: #2980b9;
    padding-left: 60px;
}

.submenu-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.demo-panel {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.demo-title {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-content {
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.features {
    margin-top: 30px;
}

.features h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.features ul {
    list-style-position: inside;
    color: #555;
}

.features li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.jlcs-active-menu {
    color: #e74c3c;
    font-weight: 600;
}

footer {
    margin-top: 40px;
    color: white;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .jlcs-menu-container, .demo-panel {
        max-width: 100%;
    }

    h1 {
        font-size: 2.2rem;
    }
}

/* Анимация для активного пункта меню */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.jlcs-submenu.show .submenu-item {
    animation: fadeIn 0.3s ease forwards;
}

.jlcs-submenu.show .submenu-item:nth-child(1) { animation-delay: 0.05s; }
.jlcs-submenu.show .submenu-item:nth-child(2) { animation-delay: 0.1s; }
.jlcs-submenu.show .submenu-item:nth-child(3) { animation-delay: 0.15s; }
.jlcs-submenu.show .submenu-item:nth-child(4) { animation-delay: 0.2s; }

.jsclIcon{
    max-height: 25px;
    padding: 0 5px;
}
.jlcs-menu-container a{
    text-decoration:none !important;
}