
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body, .scroll-container {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: #000000 !important;
    background-color: #eef4fa !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.9' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M-5 15 L15 35 L35 15 L55 35 L75 15'/%3E%3Cpath d='M-5 45 L15 65 L35 45 L55 65 L75 45'/%3E%3Cpath d='M-5 -15 L15 5 L35 -15 L55 5 L75 -15'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: 60px 60px !important;
    background-repeat: repeat !important;
}

p, span, li, .school-desc, .coach-list, .contact-value-compact {
    color: #000000 !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
}

h1, h2, h3, .section-title, .navbar-brand {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #000000 !important;
}

.section-title {
    font-size: 1.6rem;
}

.screen-section,
.scroll-container .container,
.scroll-container .row,
.about-mobile-flex,
.mobile-contact-layout {
    background-color: transparent !important;
}

.scroll-container {
    height: calc(100vh - 48px);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.screen-section {
    height: calc(100vh - 48px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px 0;
    position: relative;
    box-sizing: border-box;
}

.navbar-compact-wrapper {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap;
    width: 100%;
}

.navbar-brand {
    font-size: 1.1rem !important;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
}

.navbar-brand h1,
.navbar-brand span {
    color: #ffffff !important;
}

.navbar-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
    display: flex;
    justify-content: space-around !important;
}

.navbar-nav-scroll::-webkit-scrollbar {
    display: none;
}

.navbar-nav-scroll .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: space-around !important;
    width: 100%;
    padding-bottom: 0;
    margin: 0;
}

.navbar-nav-scroll .navbar-nav .nav-link,
.navbar-nav-scroll .nav-link,
.navbar-nav-scroll .nav-link span {
    font-size: 0.85rem;
    white-space: nowrap;
    padding-right: 4px !important;
    padding-left: 4px !important;
    color: #ffffff !important;
    flex: 1;
    text-align: center !important;
    font-weight: 800 !important;
    transition: color 0.2s ease;
}

.navbar-nav-scroll .nav-link:hover {
    color: #ffc107 !important;
}

.hero-section {
    background: linear-gradient(rgba(20, 35, 55, 0.75), rgba(20, 35, 55, 0.75)),
                url('../images/main.jpg') no-repeat center center;
    background-size: cover;
    justify-content: center !important;
}

.hero-subtitle {
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900 !important;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.hero-description {
    max-width: 600px;
    font-weight: 700 !important;
    font-size: 0.95rem;
    color: #ffffff !important;
    opacity: 1 !important;
}

.scroll-hint-wrapper {
    position: absolute;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    width: 100% !important;
    text-align: center !important;
}

.scroll-hint-text {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 15px auto 0 auto !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    text-align: center !important;
}

.scroll-hint-wrapper .scroll-hint-text {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #ffc107 !important;
    margin-bottom: 6px;
    max-width: 300px;
    text-shadow: none !important;
    opacity: 1 !important;
    --bs-text-opacity: 1 !important;
    display: block !important;
}

.arrow-yellow {
    color: #ffc107 !important;
    font-weight: 900 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.arrow-left {
    animation: bounceLeft 2s infinite ease-in-out !important;
}

.arrow-right {
    animation: bounceRight 2s infinite ease-in-out !important;
}

.scroll-arrow {
    width: 14px !important;
    height: 14px !important;
    border-right: 3px solid #ffc107 !important;
    border-bottom: 3px solid #ffc107 !important;
    transform: rotate(45deg);
    animation: pulse-arrow 2s infinite;
    margin: 8px auto 0 auto !important;
    filter: none !important;
}

@keyframes bounceLeft {
    0%, 100% { transform: translateY(-3px) translateX(0); }
    50%      { transform: translateY(-3px) translateX(-5px); }
}

@keyframes bounceRight {
    0%, 100% { transform: translateY(-3px) translateX(0); }
    50%      { transform: translateY(-3px) translateX(5px); }
}

@keyframes pulse-arrow {
    0% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translate(6px, 6px); opacity: 0; }
}

footer.bg-dark, footer.bg-dark p, body > footer, body > footer p {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.btn-social-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    transition: opacity 0.2s ease;
}
.btn-social-sm:hover {
    color: #ffffff !important;
    opacity: 0.85;
}
.btn-social-sm i, .btn-social-sm svg {
    color: #ffffff !important;
    margin-right: 5px !important;
}
.btn-vk { background-color: #0077FF !important; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
.btn-tamtam { background: linear-gradient(135deg, #00C6FF 0%, #0072FF 50%, #9B51E0 100%) !important; }
.btn-telegram { background-color: #24A1DE !important; }
.btn-whatsapp { background-color: #25D366 !important; }


.btn-custom-warning {
    background-color: #ffc107 !important; /* Желтый цвет кнопки */
    color: #1a1a1a !important;            /* Темно-серый цвет текста */
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

/* Эффект при наведении курсора (ховер) */
.btn-custom-warning:hover, 
.btn-custom-warning:focus { 
    background-color: #e0a800 !important; /* Чуть более темный желтый при наведении */
    color: #1a1a1a !important;
}


@media (min-width: 1024px) {
    .hero-title {
        color: #ffffff !important;
        font-size: 5.5rem !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
        margin-bottom: 25px !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.2em !important;
        color: #f6ad55 !important;
        margin-bottom: 15px !important;
    }

    .hero-description {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        max-width: 800px !important;
        margin: 0 auto 35px auto !important;
        color: #ffffff !important;
    }

    .hero-section .btn-warning,
    .hero-section .btn {
        font-family: 'Nunito', sans-serif !important;
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        padding: 16px 40px !important;
        border-radius: 50px !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .hero-section .btn-warning:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(246, 173, 85, 0.4) !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    .about-mobile-flex {
        display: block !important;
        height: auto !important;
    }

    .about-main-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .about-main-row .col-lg-6.order-1 {
        order: 1 !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        text-align: left !important;
        padding-right: 40px !important;
    }

    .about-main-row .school-desc {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        text-align: left !important;
        color: #000000 !important;
    }

    .about-main-row .about-img-container {
        order: 2 !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        text-align: right !important;
        margin-top: 65px !important;
    }

    .school-promo-img {
        height: auto !important;
        max-height: 480px !important;
        width: 100% !important;
        max-width: 500px !important;
        border-radius: 16px !important;
        object-fit: cover !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-img-container .d-flex.flex-column.flex-sm-row {
        align-items: baseline !important;
    }

    .coaches-title {
        font-size: 1.3rem !important;
        font-weight: 400 !important;
        margin-top: 15px !important;  
        margin-bottom: 0px !important;
        text-align: center !important;  
        width: 100% !important;       
        display: block !important;
        font-style: italic !important;
    }


    .coach-list {
        align-items: flex-start !important;
        text-align: left !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        line-height: 1.5 !important;
        color: #000000 !important;
        margin-top: 2px !important;
    }

    .navbar-compact-wrapper {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
        margin-right: auto !important;
        text-align: left !important;
        width: auto !important;
    }

    .navbar-nav-scroll {
        overflow-x: visible !important;
        width: auto !important;
        flex-grow: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .navbar-nav-scroll .navbar-nav {
        width: auto !important;
        justify-content: flex-end !important;
    }

    .navbar-nav-scroll .nav-link {
        font-size: 1rem !important;
        padding: 0 12px !important;
        flex: none !important;
        text-align: right !important;
    }

    .scroll-container,
    .screen-section {
        height: calc(100vh - 62px) !important;
    }

    #contacts.screen-section {
        justify-content: center !important;
        padding-top: 40px !important;
    }

    .mobile-contact-layout {
        display: grid !important;
        grid-template-columns: 5fr 7fr !important;
        gap: 40px !important;
        align-items: center !important;
        height: auto !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 20px auto 0 auto !important;
    }

    .contact-info-block {
        text-align: left !important;
    }

    .contact-row-group {
        display: block !important;
        margin-bottom: 0 !important;
    }

    .contact-item-compact {
        margin-bottom: 25px !important;
        text-align: left !important;
    }

    .contact-label-compact {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }

    .contact-value-compact {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        text-align: left !important;
    }

    .social-buttons-compact {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        margin-top: 30px !important;
        gap: 12px !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    .btn-social-sm {
        flex: 0 0 auto !important;
        font-size: 0.9rem !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        gap: 8px !important;
    }

    .map-container-compact {
        height: 380px !important;
        width: 100% !important;
        border-radius: 16px !important;
        margin-top: 0 !important;
    }

    #gallery.screen-section {
        justify-content: center !important;
        padding-top: 30px !important;
    }

    .scroll-gallery {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 24px !important;
        margin-top: 25px !important;
        padding-left: 10% !important;
        padding-right: 10% !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        width: 100% !important;
    }

    .scroll-gallery::-webkit-scrollbar {
        height: 8px !important;
    }

    .scroll-gallery::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .scroll-gallery::-webkit-scrollbar-thumb {
        background: #cbd5e0 !important;
        border-radius: 4px !important;
    }

    .gallery-item-wrapper {
        flex: 0 0 550px !important;
        max-width: 550px !important;
        width: 100% !important;
        scroll-snap-align: center !important;
    }

    .gallery-img {
        width: 100% !important;
        height: 380px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
        background-color: transparent !important;
    }

    .stylish-card {
        padding: 40px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto !important;
    }

    .gallery-hint {
        margin-top: 25px !important;
    }

    .gallery-hint .hint-text {
        font-size: 1.1rem !important;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 3.5rem; }
    .gallery-item-wrapper { width: 300px; }
    .gallery-img { height: 220px; }
}