
﻿body {
    font-family: 'Montserrat',sans-serif;
    color: #000000;
    font-weight: 400;
}

header, footer { min-width: 380px; }

/* Битрикс‑панель администратора поверх, меню под панелью */
#bx-panel {
    z-index: 999999 !important; /* всегда поверх шапки сайта */
}

/* когда есть панель, меню идет в обычном потоке сразу ПОД ней, а не fixed */
#bx-panel ~ header .navbar.fixed-top {
    position: relative;
    top: 0;
}

/* Навигация — поверх контента и видеоплеера при прокрутке */
header .navbar.fixed-top {
    z-index: 1050;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: #2D53CE;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: #EB7D64;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #EB7D64;
}

.nav-link.active {
  color: #EB7D64 !important; /* Bootstrap primary */
}

.submenu-link.active {
  color: #EB7D64 !important;

}

/* На десктопе - раскрытие при наведении */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s ease;
    }
    
    .navbar-nav .dropdown-menu {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: block;
        pointer-events: none;
    }
    
    .navbar-nav .dropdown:hover .dropdown-menu {
        pointer-events: auto;
    }
    
    .navbar-nav .dropdown:hover > .nav-link {
        color: #0d6efd !important;
        background-color: rgba(13, 110, 253, 0.05);
    }
    
    .dropdown-menu .dropdown-item:hover {
        background-color: #0d6efd;
        color: white;
    }
}

/* Общий стиль кнопок «Регистрация» и «Трансляция» в шапке */
.navbar-nav .btn-cta,
.navbar-nav .btn-stream {
    margin: 0 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    border: 1px solid transparent;
    line-height: 1.4;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cta {
    background: #2D53CE;
    color: white;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
}

.btn-cta:hover {
    background: #EB7D64;
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.3);
}

.btn-stream {
    background: #EB7D64;
    color: white;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
}

.btn-stream:hover {
    background: white;
    border: 1px solid #EB7D64;
    color: #EB7D64;
}

/* Блок пользователя в шапке (авторизованный пользователь) */
.ln-user {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #2D53CE;
    white-space: nowrap;
}

.ln-user__name {
    font-weight: 600;
}

.ln-user__logout {
    font-size: 0.8rem;
    color: #2D53CE;
    text-decoration: underline;
}

.ln-user__logout:hover {
    color: #EB7D64;
    text-decoration: none;
}

/* Баннер на главной*/
.hero_main {
    font-family: "Nunito";
    background-image: url('/local/assets/img/ln/1920_1080_fon.png');
    background-size: cover;
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

/* Баннер */
.hero {
    font-family: "Nunito";
    background-image: url('/local/assets/img/ln/1920_1080_fon.png');
    background-size: cover;
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.speakers .container {
    background-image: url('/local/assets/img/ln/fon/Vector.png');
    background-size: 15% auto;   
    background-position: 0% 15rem;   
    background-origin: padding-box;
    background-repeat: no-repeat;
}

.partners .partners_fon{
    background-image: url('/local/assets/img/ln/fon/Vector\ \(1\).png');
    background-size: 30% auto;    
    background-position: right 0rem;   
    background-origin: padding-box;
    background-repeat: no-repeat;
}

.registr_fon .container {
    background-image: url('fon/Group\ 223.png');
    background-size: cover;   
    background-position: 0 -10rem;    
    background-repeat: no-repeat;
    background-origin: padding-box;
}

.tech-support .container {
     background-image: url('/local/assets/img/ln/fon/Vector\ 4.png');
    background-size: 20% auto;    
    background-position: right 15rem;   
    background-origin: padding-box;
    background-repeat: no-repeat;
}


@media (max-width: 768px) {
    .speakers .container {
        background-size: 50% auto; 
        background-position: 0% 10rem; 
    }
     .partners .partners_fon{
        background-size: 60% auto;
        background-position: right 5rem; 
    }
    .registr_fon .container {
        background-size: 100% auto; 
        background-position: right 0rem; 
    }
    .tech-support .container {
        background-size: 50% auto;    
        background-position: right 20rem;   
    }
}

.banner-date-text {
    z-index: 10;
    top: 1rem !important;
    left: 3.5rem !important;
}



.stats {
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    font-weight: 900;
    color:#468BE0;
    background: linear-gradient(to right, 
    transparent 0%, 
    rgba(255, 255, 255, 0.6) 50%, 
    transparent 100%);

    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 2rem;
}

/* Секции */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: "Nunito";
    font-size: 3.1rem;
    color: #2D53CE;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
h1 {
     font-size: 3.1rem;
}

.custom-list {
    list-style-type: none;
    padding-left: 0;
  }
  
  .custom-list li {
    position: relative;
    padding-left: 25px;
  }
  
  .custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(217.82deg, #4644CF 17.66%, #4AAADD 83.48%);
    border-radius: 50%;
  }

.custom-list-two li::before{
    background: linear-gradient(217.82deg, #E97C68 17.66%, #C76DAB 83.48%);
}


/* Условия участия */
.step-line {
    width: 78%; 
    height: 3px; 
    background: linear-gradient(90deg, #2D53CE 0%, #7B23BA 100%); 
    position: absolute; 
    top: 11%; 
    left: 0; 
    transform: translateY(-50%);          
}
 /* Регистрация и подключчение к трансляции  */
.timeline-line {
    width: 3px; 
    background: #2D53CE; 
    position: absolute; 
    top: 1rem; 
    bottom: 10rem; 
    left: 47%;
    margin-left: 0.45rem;
}


    
/* Стили для блоков участия */
.participation-start {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 4rem;
}
.participation-end {
        position: relative;
        z-index: 2;
        display: flex;
        margin-bottom: 4rem;
        justify-content: flex-end;
}

.conditions-text-block {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-conditions {
    text-align: center;
    position: relative;
    z-index: 2; 
    /* width: 33.33%; */
}


/* Хедлайнеры */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card {
    text-align: center;
    transition: transform 0.3s;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2D53CE;
    box-shadow:  0 5px 15px rgba(0,0,0,0.2);
    box-sizing: border-box;
    margin: 0 auto 1.5rem;
}

.speaker-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2D53CE;
}

.speaker-title{
    font-size: 0.8rem;
}

.btn-view-all {
    background: #2D53CE;
    color: white;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s;
}


.btn-view-all:hover {
    background: #EB7D64;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
} 


/* Партнеры */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    height: 100px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #333;
    text-align: center;
}

/* Контакты */
.contacts {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.contact-section {
    margin-bottom: 2rem;
}

.contact-section h4 {
    color: #1e88e5;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.with-line::after {
    content: '';
    display: block;
    width: 65%;
    height: 1px;
    background:#2D53CE;
    margin-top: 10px;
}

.contact-info {
}

.contact-info p {
    line-height: 1.5;
}

.contact-info a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Футер */
.footer {
    background: url('/local/assets/img/ln/1920_1080_fon.png');
    background-size: cover;
    padding: 3rem 0 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}


.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link:hover i {
    color: #2D53CE;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #2D53CE ;
    background: #fff;
    color: #2D53CE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 100;
}

.back-to-top:hover {
    background: #EB7D64;
    transform: translateY(-5px);
    color: #fff;
    border: 1px solid #EB7D64 ;
}


.marker-container {
        position: relative;
        width: 2rem;
        height: 2rem;
    }
    
    .outer-circle {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 1px solid #2D53CE;
        border-radius: 50%;
        box-sizing: border-box;
    }
    
    .inner-circle {
        position: absolute;
        width: 1rem;
        height: 1rem;
        background-color: #2D53CE;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.astra77{
    scale: 45%;
}

.a_hover_blue {
    color: #2D53CE;
}
.a_hover_blue:hover {
    color: #EB7D64;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .tagline {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    .astra77 {
        scale: 30%;
    }
}

@media (max-width: 768px) {
    .fs-5 {
        font-size: 1rem !important;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        font-size: 1.2rem;
    }
    .banner-date-text {
        top: -0.6rem !important;
        left: 1.7rem !important;
    }
    .step-line {
    width: 3px;
    height: 80%;           
    position: absolute;
    top: 0;
    left: 1.9rem;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #2D53CE, #7B23BA);
    }

    .conditions-text-block {
        flex-direction: column;
    }
    .step-conditions {
        display: flex;
        justify-items: start;
        width: 100%;
    }
    .step-text {
        width: 80%;
    }

    .participation-start {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        margin-bottom: 4rem;
        flex-direction: row-reverse;
    }
    .participation-end {
            position: relative;
            z-index: 2;
            display: flex;
            margin-bottom: 4rem;
            justify-content: space-between;
    }
    .timeline-line {
        left: 6%;
        margin-left: 0.5rem;
        bottom: 14rem;
    }

}

/* QR‑баннер под видео трансляции */
.ln-qr-banner {
    background: #f5f7ff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ln-qr-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ln-qr-banner__text {
    max-width: 420px;
}

.ln-qr-banner__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D53CE;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.ln-qr-banner__descr {
    font-size: 0.9rem;
    color: #495057;
}

.ln-qr-banner__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ln-qr-banner__qr-box {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    color: #6c757d;
}

.ln-qr-banner__qr-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}


/* Общие стили для подменю */
.has-submenu {
    position: relative;
}

.submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.submenu-link {
    display: block;
    padding: 0.3rem 0;
    color:#2D53CE;;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.submenu-link:hover {
    color: #EB7D64;

}
    
    
    /* Мобильные стили - подменю всегда открыты */
    @media (max-width: 991.98px) {
        .navbar-nav {
            flex-direction: column;
            width: 100%;
        }
        
        .navbar-nav .nav-item {
            width: 100%;
        }
        
        .navbar-nav .nav-link {
            width: 100%;
            text-align: left;
        }

        .nav-link{
            padding: 0;
        }
        
        /* Подменю всегда видны на мобильных */
        .submenu {
            display: block !important;
            padding-left: 1.5rem !important;
        }
        
        /* Кнопки внизу меню на мобильных */
        .navbar-collapse .d-flex {
            flex-direction: column;
            margin-top: 1rem;
            margin-bottom: 1rem;
            width: 100%;
        }
        
        .navbar-collapse .btn {
            width: 100%;
            margin-bottom: 0.5rem;
            text-align: center;
        }
    }
    
    /* Десктопные стили - подменю скрыты по умолчанию */
    @media (min-width: 992px) {
        .submenu {
            display: none;
        }
        
        .has-submenu:hover .submenu {
            display: block;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            min-width: 400px;
            padding: 0.5rem 0;
            z-index: 1000;
        }
        
        .submenu .submenu-link {
            padding: 0.5rem 1.5rem;
            color: #2D53CE !important;
            font-size: 1.2rem;
        }
        
        .submenu .submenu-link:hover {
            background-color: #f8f9fa;
            color: #EB7D64 !important;
        }
        
    }

