.card-wrapper {
    background: #eef4ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    will-change: transform;
}

.card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-title {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.card-title::after {
    content: '\25BC';
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-wrapper.active .card-title::after {
    transform: rotate(180deg);
}

.dropdown-section {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 10px;
    text-align: left;
    visibility: hidden;
    transition: 
        max-height 0.4s ease,
        opacity 0.3s ease 0.1s,
        visibility 0s linear 0.4s;
    will-change: max-height, opacity;
}

.dropdown-section.active {
    opacity: 1;
    max-height: 1000px;
    visibility: visible;
    transition: 
        max-height 0.4s ease,
        opacity 0.3s ease,
        visibility 0s linear;
}

.dropdown-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #eef4ff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dropdown-section li {
    margin: 8px 0;
    padding: 5px 10px;
    transition: background 0.2s ease;
}

.dropdown-section li:hover {
    background: #dde8ff;
    border-radius: 6px;
}

.dropdown-section a {
    color: #2c5282;
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: color 0.2s ease;
}

.dropdown-section a:hover {
    color: #1a3c87;
}

.dropdown-section a strong {
    color: #1a3c87;
    font-weight: 600;
}

/* Стили для контактного блока */
.contact-section {
    background: #eef4ff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: sans-serif;
    color: #2c5282;
}

.contact-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a3c87;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.5;
}

.contact-info a {
    color: #2c5282;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #1a3c87;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 15px;
    }

    .contact-title {
        font-size: 16px;
    }

    .contact-info {
        font-size: 13px;
    }
}