:root {
    --primary: #2c7ae0;
    --primary-dark: #143fdd;
    --secondary: #ff6b35;
    --dark: #2d3748;
    --light: #f8f9fa;
    --gray: #718096;
    --success: #48bb78;
    --yelow: #ffdf1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.yelow {
    color: var(--yelow);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f9fafb;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}
    /* Стили для модального окна с зумом */
    .zoom-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        cursor: grab;
        overflow: hidden;
        user-select: none;
    }
    
    .zoom-modal.grabbing {
        cursor: grabbing;
    }
    
    .zoom-modal-content {
        display: block;
        position: absolute;
        transition: transform 0.1s ease;
        transform-origin: 0 0;
        max-width: none;
        cursor: grab;
    }
    
    .zoom-modal-content.grabbing {
        cursor: grabbing;
    }
    
    .zoom-modal-close {
        position: fixed;
        top: 20px;
        right: 30px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        z-index: 1001;
        background: rgba(0,0,0,0.5);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    .zoom-modal-close:hover {
        background: rgba(0,0,0,0.7);
    }
    
    .zoom-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 1001;
        background: rgba(0,0,0,0.5);
        padding: 10px;
        border-radius: 25px;
    }
    
    .zoom-control {
        background: rgba(255,255,255,0.2);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .zoom-control:hover {
        background: rgba(255,255,255,0.3);
    }
    
    .zoom-reset {
        background: rgba(255,255,255,0.3);
        font-size: 16px;
    }
    
    /* Указываем курсор pointer для изображений, чтобы показать, что их можно увеличить */
    .case-img img {
        cursor: zoom-in;
        transition: transform 0.2s ease;
    }
    
    .case-img img:hover {
        transform: scale(1.02);
    }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
}

/* Header */
/*header {*/
/*    color: #333;*/
/*    padding: 20px 0;*/
/*    position: fixed;*/
/*    width: 100%;*/
/*    top: 0;*/
/*    z-index: 1000;*/
/*}*/

/*header .container {*/
/*    background-color: #fff;*/
/*    padding: 20px;*/
/*    border-radius: 20px;*/
/*}*/

/*nav {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    position: relative;*/
/*    gap:30px*/
/*}*/
/*.header-contacts {*/
/*        display: flex;*/
/*    gap: 30px;*/
/*        align-items: center;*/
/*}*/
/*.header-phone {*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*    font-size: 1.1rem;*/
/*}*/
/* Бургер всегда видим */
/*.burger {*/
/*    display: none*/
/*}*/


/*.burger span {*/
/*    width: 25px;*/
/*    height: 3px;*/
/*    background: #333;*/
/*    margin: 3px 0;*/
/*    transition: 0.3s;*/
/*}*/

/* Анимация бургера */
/*.burger.active span:nth-child(1) {*/
/*    transform: rotate(-45deg) translate(-5px, 6px);*/
/*}*/

/*.burger.active span:nth-child(2) {*/
/*    opacity: 0;*/
/*}*/

/*.burger.active span:nth-child(3) {*/
/*    transform: rotate(45deg) translate(-5px, -6px);*/
/*}*/

/* Мобильное меню (всегда скрыто по умолчанию) */
/*.nav-links {*/
/*    position: absolute;*/
/*    top: 70px;*/
/*    right: -200%;*/
/*    width: 100%;*/
    /*height: calc(80vh - 80px);*/
/*    background: #fff;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 20px;*/
/*    transition: left 0.3s ease;*/
/*    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);*/
/*    display: block;*/
/*    list-style: none;*/
/*    z-index: 1000;*/
/*    padding:20px;*/
/*    border-radius:20px;*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    flex-wrap: wrap;*/
/*    gap:10px;*/
/*    justify-content: flex-start;*/
/*}*/

/*.nav-links.active {*/
/*    right: 0;*/
/*}*/

/*.nav-links li {*/
    /*margin-bottom: 10px;*/
/*    border: 1px solid; */
/*    border-radius:4px;*/
/*    padding:5px;*/
/*}*/

/*.nav-links a {*/
/*    color: #333;*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*    transition: all 0.3s ease;*/
/*    font-size: 18px;*/
    /*padding: 10px 20px;*/
/*}*/

/*.nav-links a:hover,*/
/*.nav-links a.active {*/
/*    color: #ffd700;*/
/*}*/

/*.logo {*/
/*    font-size: 1.2rem;*/
/*    font-weight: 600;*/
/*    display: flex;*/
/*    flex-direction:column;*/
/*    align-items: flex-start;*/
/*    white-space: nowrap;*/
/*}*/
/*.logo img {*/
/*    width:100%;*/
/*}*/
/*.logo i {*/
/*    margin-right: 10px;*/
/*    color: #ffd700;*/
/*}*/
/* Ваши старые стили + новые для мобильного меню */
header {
    color: #333;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 30px;
}

.header-contacts {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-phone {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Бургер всегда видим */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Анимация бургера */
.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Основное меню для ПК */
.nav-main {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main li {
    position: relative;
}

.nav-main a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-main a:hover,
.nav-main a.active {
    color: #ffd700;
}

/* Выпадающее меню "Услуги" для ПК */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    min-width: 250px;
    display: none;
    flex-direction: column;
    padding: 20px;
    z-index: 1000;
    margin-top: 10px;
    list-style: none;
}

.dropdown-menu.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.dropdown-menu li {
    border: 1px solid;
    border-radius: 4px;
    padding: 5px;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: #ffd700;
}

/* Стрелка для выпадающего меню ПК */
.dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.dropdown-menu.active ~ .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

/* Мобильное меню (всплывающее окно) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.close-menu {
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-dropdown-menu {
    display: none;
    background: #f8f9fa;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    padding: 10px;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu li {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    margin: 5px 0;
}

.mobile-dropdown-menu a {
    padding: 10px;
    color: #666;
    font-size: 16px;
    text-decoration: none;
    display: block;
}

.mobile-dropdown-menu a:hover {
    color: #ffd700;
}

/* Стрелка для мобильного аккордеона */
.mobile-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-contacts {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.mobile-phone {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 15px;
}

.mobile-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
}

.logo img {
    width: 100%;
}

.logo i {
    margin-right: 10px;
    color: #ffd700;
}
.logo-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: normal;
}
/* Блокировка скролла */
body.no-scroll {
    overflow: hidden;
}
.fa-telegram-plane:before, .fa-telegram:before {
    color: #007bff;
    font-size: 25px;
}
/* Адаптивность */
@media (max-width: 768px) {
    .nav-main,
    .header-right {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    .mobile-nav-links {
    flex-direction: column!important;
}
}

@media (min-width: 769px) {
    .mobile-menu,
    .burger {
        display: none;
    }
    
    .nav-main {
        display: flex;
    }
    
    .header-right {
        display: flex;
    }
    
}

/* Hero Section */
.hero {
    background: url('/img/bg.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 160px 0 100px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    text-align: left;
    color: #fff;

}

.hero p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease;
    text-align: left;
    color: #fff;
}

.offer-wrapper {
    margin-top: 50px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(21, 64, 221, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.offer {
    padding: 30px;
    border-radius: 15px;
    animation: fadeIn 1.5s ease;
}

.offer h2 {
    color: #ffd700;
    margin-bottom: 15px;
}

.offer ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.offer li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.offer li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Form */
.form-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease;
    min-width: 450px;
    height:fit-content;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 122, 224, 0.2);
}

.btn {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Cases Section */
.cases {
    background: var(--light);
}
.case-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
        align-items: center;
    justify-content: center;
    }
.ico img {
    width: 80px;
}
#ed img {
    width:100%;
    margin-top:30px;
}
#team .ico img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.blue {
       color: var(--primary-dark);
       font-weight:700;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.case-grid {
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333
}

.case-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.case-img {
    position: relative;
    margin: 20px 0;
}

.case-img img,
.offer-img img {
    width: 100%;
    border-radius: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p,
.footer-column a {
    color: #cbd5e0;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Form Styles */
.footer-form, .midle-form {
    background: url(/img/form-bg.png) center/cover;
    position: relative;
    padding: 60px 0;
    color: white;
}

.footer-form::before, .midle-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.8;
    z-index: 1;
}

.footer-form .container, .midle-form .container {
    position: relative;
    z-index: 2;
}

.footer-form .form-container, .midle-form .form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-form .form-title, .midle-form .form-title {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.footer-form .form-group label, .midle-form .form-group label {
    color: white;
}

.footer-form .form-control, .midle-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-form .form-control:focus, .midle-form .form-control:focus {
    background: white;
    border-color: #667eea;
}

.footer-form .btn, .midle-form .btn {
    background: var(--primary-dark);
    border: none;
    margin-top: 15px;
}

.footer-form .btn:hover, .footmidleer-form .btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}
.midle-form .form-container {
    width:100%;
    max-width: 100%;
    display:flex;
    padding: 30px 30px 0 30px;
    gap:150px
}
.midle-form img {
        width: 100%;
    height: 100%;
    object-fit: cover;
} 
.form-container-wrapper, .form-photo {
    flex:1;
}
/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.7rem;
        width: 100%;
    }
    .header-contacts {
        display:none;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .offer-wrapper {
        flex-direction: column;
    }

    .form-container {
        min-width: auto;
    }

    .testimonials-grid {
        display: block;
    }

    .ico {
        width: 80px;
    }
    #team .ico  {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

    .case-stats {
        flex-direction: column;
    }

    .case-card {
        margin-bottom: 30px;
    }
    
    .case-box {
        display: grid;
    grid-template-columns: repeat(2, 1fr);
    }
}
#free .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
}
#free .ico {
    width:100%;
}
#free img {
    width:100%;
    height:250px;
    object-fit:cover
}
@media (max-width: 480px) {
    .case-box, #free .testimonials-grid {
        display: grid;
    grid-template-columns: repeat(1, 1fr);
    }
    .midle-form .form-container{
        padding:20px 20px 0 20px;
        flex-direction:column;
        gap:30px
    }
    .course {
        display:none;
        flex-direction:column;
    }
    .burger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    .logo {
        font-size: 18px;
    }
    .city-badge {
        display:none;
    }
    .nav-links a {
    font-size: 14px;

}
}
/* Убираем медиа-запрос для бургера, так как он теперь всегда видим */
/* Добавляем отступ для контента под фиксированным хедером */
main {
    margin-top: 120px; /* Подстраиваем под высоту хедера */
}
.cases.owl {
    overflow: hidden;
}
/* Стили для карусели */
.cases.owl .case-grid {
    display: none;
}

.cases.owl .owl-carousel {
    position: relative;
    padding: 40px 0;
}

.cases.owl .owl-stage-outer {
    overflow: visible;
}

.cases.owl .owl-item {
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.85);
    filter: blur(1px);
}

.cases.owl .owl-item.active.center {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

/* Прогресс-бар */
.cases.owl .owl-progress {
    height: 4px;
    background: rgba(0,0,0,0.1);
    margin: 30px auto 0;
    max-width: 300px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.cases.owl .owl-progress-bar {
    height: 100%;
    background: #4a6cf7;
    width: 0%;
    transition: width 0.3s ease;
}

/* Полукруглый эффект */
.cases.owl .owl-stage {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.cases.owl .owl-item .case-card {
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.cases.owl .owl-item.active.center .case-card {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-10px);
}

/* Навигация */
.cases.owl .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 20px;
    z-index: 20;
}

.cases.owl .owl-nav button {
    pointer-events: all;
    background: linear-gradient(135deg, #4a6cf7, #6a11cb) !important;
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    transition: all 0.3s ease;
    border: none !important;
}

.cases.owl .owl-nav button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.5);
}

.cases.owl .owl-nav button span {
    font-size: 28px;
    line-height: 1;
    color: white;
    font-weight: bold;
}
.course {
    display:flex;
    gap:20px
}
.course img {
    width:100%;
}
/* Адаптивность */
@media (max-width: 768px) {
    .cases.owl .owl-item {
        opacity: 0.9;
        transform: scale(0.95);
    }
    .cases.owl .owl-nav button {
        width: 35px;
    height: 35px;
    }
    /*.cases.owl .owl-nav {*/
    /*    display: none;*/
    /*}*/
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #4a6cf7;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    margin-right: 16px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #4a6cf7;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
}

.faq-answer-content {
    padding: 0 0 24px 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Анимация открытия */
.faq-answer[aria-hidden="false"] {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer-content {
        font-size: 14px;
        padding-bottom: 20px;
    }
    nav {
    gap: 8px;
}
}
  /* Стили для мультигородской системы */
.city-badge {
    background: #3a32c5;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    vertical-align: middle;
    font-weight:500;
}

.header-right {
    display: flex;
        align-items: center;
    gap: 10px;

}
.mobile-nav-links {
    display: flex;
    flex-direction: row;
    gap:20px;
    list-style:none;
}
.mobile-nav-links a {
    text-decoration:none;
    color:#333;
}

/* Переключатель городов */
.city-switcher {
    position: relative;
}

.city-current {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    min-width: 180px;
}

.city-current:hover {
    background: #e9ecef;
}

.city-current i:first-child {
    margin-right: 8px;
    color: #007bff;
}

.city-current i:last-child {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.city-switcher.active .city-current i:last-child {
    transform: rotate(180deg);
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
}

.city-switcher.active .city-dropdown {
    display: block;
}

.city-list {
    max-height: 300px;
    overflow-y: auto;
}

.city-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.3s ease;
}

.city-item:hover {
    background: #f8f9fa;
}

.city-item.current {
    background: #007bff;
    color: white;
}

.city-item.current .city-region {
    color: #e0e0e0;
}

.city-item:last-child {
    border-bottom: none;
}

.city-region {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}