﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: var(--navbar-height, 90px);
    overflow-x: hidden;
}


.footer-20192 {
    position: relative;
    color: #fff;
    padding: 7rem 0;
    background: linear-gradient(180deg, #141d2a 50%, #8186d5 100%);
}

.footer-20192 .container {
    position: relative;
}

.footer-20192 h3 {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.5;
}

.footer-20192 .links li {
    margin-bottom: 10px;
    line-height: 1.5;
    display: block;
}

.footer-20192 .links li a {
    text-decoration: none;
    color: #c9c9cd;
}

.footer-20192 .links li a:hover {
    color: #F5875D;
}

.footer-20192 .social li {
    display: inline-block;
    position: relative;
}

.footer-20192 .social li a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    padding: 0;
    background-color: #8186d5;
    color: #fff;
}

.footer-20192 .social li a > span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.footer-20192 .footer-logo {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: .1rem;
}

.footer-20192 .copyright {
    color: #666873;
}

.footer-20192 .cta {
    -webkit-box-shadow: -20px -20px 0 0 rgba(52, 58, 64, 0.2);
    box-shadow: -20px -20px 0 0 rgba(52, 58, 64, 0.2);
    padding: 20px;
    background-color: #8186d5;
    top: -150px;
    position: relative;
}

.footer-20192 .cta h2, .footer-20192 .cta h3 {
    line-height: 1.5;
}

.footer-20192 .cta h3 {
    font-size: 20px;
}

.FooterContainer {
    padding-left: 10%;
    padding-right: 10%;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; /* size of the circle */
    height: 48px;
    font-size: 1.1rem; /* icon size */
    color: #fff;
    border-radius: 50%;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    text-decoration: none
}

/* hover “lift” */
.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
    text-decoration: none; /* remove underline in some browsers */
    filter: brightness(1.1); /* subtle glow */
}

/* brand palettes */
.social-icon.facebook {
    background: #3b5998;
}

.social-icon.instagram {
    background: linear-gradient(45deg,
    #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.PhoneMidText {
    padding-left: 5%;
}

/* Google Maps */

.map-label {
    white-space: nowrap;
    text-shadow: 1px 1px 2px white, -1px -1px 2px white, 1px -1px 2px white, -1px 1px 2px white;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.map-label span {
    display: block;
}

/* Стил за училището */
.school-label {
    font-size: 16px;
    font-weight: 650;
    color: #F5875D;
}

/* Стил за Проксима */
.proxima-label {
    font-size: 13px;
    font-weight: 500;
    color: #8186d5;
}

.gm-style-iw-tc {
    display: none !important;
}

.gm-style-iw-c {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
    padding: 2px 4px !important;
    background: transparent !important;
}

.gm-ui-hover-effect {
    display: none !important;
}

.gm-style-iw {
    background: transparent !important;
}

.gm-style-iw-t::after {
    display: none !important;
}

@media (max-width: 500px) {
    .footer-20192 .cta {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 16px;
        top: -130px;
    }

    .footer-20192 .cta h2 {
        font-size: 0.90rem;
        line-height: 1.35;
    }

    .footer-20192 .cta h3 {
        font-size: 0.80rem;
        margin-bottom: 0;
    }

    .footer-20192 .cta .admission-cta-text {
        flex: 1;
        min-width: 0;
    }

    .footer-20192 .cta .admission-cta-action {
        margin-top: 0 !important;
        margin-left: 0;
        flex-shrink: 0;
    }

    .footer-20192 .cta .admission-cta-action .btn-gradient-border {
        padding: 0.5rem 1rem !important;
        font-size: 0.82rem;
        white-space: nowrap;
    }
}

/* ===== Footer: 2x2 grid on mobile ===== */
@media (max-width: 1640px) {
    .footer-sections-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 1.5rem 0 !important;
    }

    /* Map stays full width */
    .footer-sections-wrapper > .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100%;
    }

    /* 4 sections: 2 per row */
    .footer-sections-wrapper > .PhoneMidContainer {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        box-sizing: border-box !important;
    }

    /* Reorder: УЧЕНИЦИ | ИНФОРМАЦИЯ / ЗА НАС | ПОСЛЕДВАЙ НИ */
    .footer-sections-wrapper > .PhoneMidContainer:nth-child(2) { order: 1; }
    .footer-sections-wrapper > .PhoneMidContainer:nth-child(4) { order: 2; }
    .footer-sections-wrapper > .PhoneMidContainer:nth-child(3) { order: 3; }
    .footer-sections-wrapper > .PhoneMidContainer:nth-child(5) { order: 4; }

    .footer-20192 .PhoneMidContainer {
        text-align: center;
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    .footer-20192 .PhoneMidContainer ul {
        justify-content: center;
    }

    .footer-20192 .PhoneMidContainer .d-flex.gap-3 {
        justify-content: center;
    }
}
