:root {
    --primary-blue: #4A90E2;
    --light-blue: #E3F2FD;
    --primary-green: #4CAF50;
    --light-green: #E8F5E9;
}

.lpPage {
    font-size: 16px;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #fff;
    color: #333;
    padding-top: 80px;
}

.header-actions {
    padding-top: 2px;
}

.container {
    max-width: 1300px;
}

/* Шапка */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    padding: 15px 0;
}

.navbar-brand {
    padding: 0;
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
}

.navbar-right {
    margin-right: 0px;
    padding-top: 5px;
}

.logo-img {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar-nav > li > a {
    color: #333;
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s;
}

.navbar-nav > li > a:hover {
    color: var(--primary-blue);
}

.header-phone {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-right: 30px;
    margin-left: 30px;
    padding-top: 9px;
}

.btn-call {
    background-color: var(--primary-green);
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s;
}

.btn-call:hover {
    background-color: #3d8c40;
    color: white;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 30px;
    padding: 6px 18px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Слайдер */
.carousel {
    height: 500px;
    margin-bottom: 0px;
    margin-top: 35px;
    overflow: hidden;
    border-radius: 30px;
}

.carousel-inner, .item {
    height: 100%;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: 10%;
}

.carousel-caption h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.slide-1 {
    background: linear-gradient(135deg, #f2c705, #f2c705); /*#6AA8E8*/
}

.slide-2 {
    background: linear-gradient(135deg, var(--primary-green), #6BC46E);
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 150px;
}

.slide-text {
    color: white;
    max-width: 70%;
}

.slide-image {
    max-width: 30%;
    text-align: center;
}

.slide-image img {
    max-height: 350px;
}

/* Общие стили блоков */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.card {
    border-radius: 30px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 30px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.blue-bg {
    background-color: var(--light-blue);
}

.green-bg {
    background-color: var(--light-green);
}

.card-icon i {
    font-size: 36px;
    color: var(--primary-blue);
}

.green-icon i {
    color: var(--primary-green);
}

.card-title {
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

/* О школе */
.about-section {
    background-color: #f9f9f9;
}

.about-image {
    text-align: center;
    margin-top: 15px
}

.about-image img {
    max-width: 100%;
    border-radius: 30px;
}

.about-text {
    padding-left: 30px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary-blue);
}

/* Программы */
.program-tabs {
    margin-bottom: 30px;
}

.nav-tabs {
    border-bottom: 0px;
    display: flex;
    justify-content: center;
}

.nav-tabs > li {
    float: none;
    display: inline-block;
}

.nav-tabs > li > a {
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    margin: 0 5px;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}

.tab-content {
    padding: 30px 0;
    border: 0px 
}

.level-card {
    background-color: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
    transition: all 0.3s;
}

.level-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.level-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.level-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-beginner {
    background-color: #4CAF50;
}

.badge-intermediate {
    background-color: #2196F3;
}

.badge-advanced {
    background-color: #9C27B0;
}

/* Онлайн обучение */
.online-section {
    background-color: var(--light-blue);
}

.online-features {
    margin-top: 40px;
}

.online-card {
    background-color: white;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.btn.btn-lg {
    border-radius: 30px !important
}

#branches {
    background: #FFFFFF
}

/* Филиалы */
.branches-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.panel-group {
    margin-bottom: 0;
}

.panel {
    border-radius: 30px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.panel-heading {
    background-color: white;
    border: none;
    padding: 0;
    border-radius: 30px;
}

.panel-title a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.panel-title a:after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.panel-title a.collapsed:after {
    transform: translateY(-50%) rotate(-90deg);
}

.panel-body {
    padding: 20px;
    border-top: 1px solid #eee;
}

.branch-info {
    display: flex;
    margin-bottom: 15px;
}

.branch-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.branch-icon i {
    color: var(--primary-blue);
}

/* Форма регистрации */
.registration-section {
    background-color: var(--light-green);
}

.registration-form {
    background-color: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 30px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    height: auto;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.btn-register {
    background-color: var(--primary-green);
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    width: 100%;
    font-size: 18px;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #3d8c40;
    color: white;
}

/* Контакты */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 24px;
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: var(--primary-blue);
    font-size: 20px;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
}

/* Футер */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .slide-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 35px;
    }
    
    .slide-text {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .slide-image {
        max-width: 70%;
        display: none !important
    }
    
    .about-text {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .level-card, .online-card {
        margin-bottom: 20px
    }
    
    .nav-tabs {
        justify-content: left;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }
    
}

@media (max-width: 767px) {
    .navbar-header {
        float: none;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    
    .navbar-collapse.collapse {
        display: none !important;
    }
    
    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }
    
    .navbar-nav > li {
        float: none;
    }
    
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    
    .header-actions {
        text-align: center;
        margin-top: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .registration-form {
        padding: 25px;
    }
}