
:root {
    --primary: #b89adc;
    --secondary: #2f3542;
    --light: #f8f9fa;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-style: normal;
   /* font-display: swap;*/
    font-size: 20px;
}

/* Навигация */
.navbar {
    padding: 15px 0;
    transition: all 0.3s;
    background: #000000;
    border-radius: 0px 0px 10px 10px;
}
.navbar.scrolled {
    background: var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: white;
}
.navbar-brand span {
    color: var(--primary);
}
.nav-link {
    font-weight: 500;
    margin: 0 0px;
    color: white;
}
.nav-link:hover {
    color: var(--primary);
}
.btn-custom {
    background-color: #ffc107;
    color: #212529;
    font-weight: 600;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #e0a800;
    color: #fff;
}
/* Hero-секция */
/*.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://images.unsplash.com/photo-1594381898411-846e7d193883?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center;
    background-size: cover;
    min-height: 80vh;
    color: white;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}
.btn-primary:hover {
    background: #ff5252;
}*/

/* Секция о нас */
.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Карточки курсов */
.course-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.course-img {
    height: 200px;
    overflow: hidden;
}
.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.course-card:hover .course-img img {
    transform: scale(1.1);
}
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}
.course-info {
    padding: 20px;
}
.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.course-features {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}
.course-features li {
    margin-bottom: 5px;
}
.course-features i {
    color: var(--primary);
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

/* Секция мастер-класса */
/*.step-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    border-left: 4px solid var(--primary);
}
.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}*/

/* FAQ */
.accordion-button:not(.collapsed) {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    font-weight: 600;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 107, 107, 0.2);
}

/* Причины */
.reason-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.reason-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.reason-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
}

/* Футер */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 30px;
    border-radius: 20px 20px 0 0;
}
.footer h4 {
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 16px;
}


 .counter-box {
     padding: 20px;
     border-radius: 10px;
     transition: all 0.3s;
 }
.counter-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.counter {
    color: #ff6b6b; /* Основной цвет вашего сайта */
}


 .hero-parallax {
     position: relative;
     height: 100vh;
     overflow: hidden;
 }

.hero-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    z-index: 1;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Это ключевое свойство для параллакса */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

<!-- CSS стили для анимированного навбара -->

 .navbar {
     transition: all 0.4s ease-in-out;
     padding: 20px 0;
     background: transparent !important;
 }

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(47, 53, 66, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    position: relative;
    padding: 8px 10px !important;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    position: relative;
    transition: all 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    left: 0;
    background: white;
    transition: all 0.3s;
}

.navbar-toggler-icon::before {
    transform: translateY(-6px);
}

.navbar-toggler-icon::after {
    transform: translateY(6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

 #courses {
     position: relative;
     overflow: hidden;
     background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
 }

#courses::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 25%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

#courses::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23ff6b6b" fill-opacity="0.03" d="M30,100 Q50,150 70,100 T110,100 T150,100 T190,100 L190,0 L30,0 Z"/></svg>') center/cover no-repeat;
    opacity: 0.4;
    z-index: 0;
}

#courses .container {
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Стили для карточек курсов */
.course-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.course-info {
    padding: 25px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.course-features li {
    margin-bottom: 8px;
    padding-left: 5px;
    border-left: 2px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s;
}

.course-card:hover .course-features li {
    border-left-color: var(--primary);
    padding-left: 10px;
}

.course-features i {
    color: var(--primary);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

     /* Стили для вертикального расположения */
 .vertical-steps-container {
     position: relative;
     max-width: 800px;
     margin: 0 auto;
 }

.vertical-step-card {
    position: relative;
    padding: 30px 0 30px 80px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.vertical-step-card.active {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: absolute;
    left: -14px;
    top: 30px;
    width: 50px;
    height: 50px;
    background: #000000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-right: 20px solid white;
    border-bottom: 15px solid transparent;
}

/* Линия между шагами */
.vertical-steps-container::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0.2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .vertical-step-card {
        padding-left: 60px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .step-content {
        padding: 20px;
    }

    .step-content::before {
        left: -15px;
        top: 30px;
        border-width: 10px 15px 10px 0;
    }
}
 .cta-with-image {
     background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
     position: relative;
     overflow: hidden;
 }

.cta-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.cta-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.cta-image-wrapper img {
    transition: transform 0.8s ease;
}

.cta-image-wrapper:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .cta-image-wrapper {
        transform: none;
    }
}

 .article-card {
     transition: all 0.3s ease;
     border-radius: 10px;
 }

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.article-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-img-wrapper img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.card-title {
    transition: color 0.3s;
}

.article-card:hover .card-title {
    color: var(--primary);
}

 .map-container {
     border: 1px solid rgba(0,0,0,0.1);
     transition: all 0.3s ease;
 }

.map-container:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.2);
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* .contact-icon {
     transition: all 0.3s ease;
 }
*/
/* .contact-item:hover .contact-icon {
     background: var(--primary) !important;
     color: white !important;
 }*/

iframe {
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.5s ease;
}

iframe:hover {
    filter: grayscale(0%) contrast(1);
}

@media (max-width: 992px) {
    .ratio-16x9 {
        --bs-aspect-ratio: 75%;
    }
}
.custom-day-cell {
    background-color: #fefefe;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    min-height: 80px;
    width: 100%;
    padding: 0.75rem 0.5rem;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.custom-day-cell:hover {
    background-color: #fff8e1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-day-cell strong {
    font-size: 1.25rem;
    color: #212529;
}

.custom-day-cell .badge {
    font-size: 0.7rem;
    padding: 0.4em 0.6em;
    border-radius: 0.5rem;
    background-color: #ffc107;
    color: #212529;
    font-weight: 500;
}

.calendar-heading {
    background: linear-gradient(to right, #000000, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.article-card-custom {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.article-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.article-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.article-footer {
    padding: 1.5rem;
    background-color: transparent;
}

.article-badge {
    background-color: #ffc107;
    color: #212529;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 0.25rem;
}

.btn-yellow-outline {
    border: 2px solid #ffc107;
    color: #212529;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-yellow-outline:hover {
    background-color: #ffc107;
    color: #fff;
}


.master-class-block {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    color: #fff;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.master-class-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.master-class-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.master-class-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
}

.master-class-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

.btn-yellow {
    background-color: #ff6f00;
    color: #000;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}


.section-title {
    color: #000;
    font-weight: 800;
}

.text-muted {
    color: #333 !important;
}
