/* =========================================================
   MODERN OVERRIDES – PГОТ / SCHOOL TEMPLATE
   Допълнителен CSS – НЕ променя style3.css
   Зарежда се СЛЕД style3.css и responsive.css
   ========================================================= */

:root{
    --modern-primary:#087f83;
    --modern-primary-dark:#075e62;
    --modern-accent:#b68c45;
    --modern-bg:#f5f7f8;
    --modern-surface:#ffffff;
    --modern-text:#182326;
    --modern-muted:#333333;
    --modern-border:rgba(24,35,38,.09);
    --modern-shadow:0 12px 35px rgba(16,37,40,.10);
    --modern-shadow-hover:0 20px 50px rgba(16,37,40,.16);
    --modern-radius:18px;
    --modern-radius-sm:12px;
    --modern-transition:.28s ease;
}

/* ---------- Base ---------- */
html{
    scroll-behavior:smooth;
}
body{
    background:var(--modern-bg);
    color:var(--modern-text);
}
body,
button,
input,
textarea,
select{
    font-family:'Raleway',sans-serif;
}
p{
    color:var(--modern-muted);
}
a{
    transition:color var(--modern-transition),background var(--modern-transition),transform var(--modern-transition),box-shadow var(--modern-transition);
}


/* ---------- Top bar ---------- */
.topbar{
    background:linear-gradient(135deg,var(--modern-primary-dark),var(--modern-primary)) !important;
    padding:7px 0;
    position:relative;
    z-index:1002;
    box-shadow:0 2px 12px rgba(0,0,0,.10);
}
.topbar .left-side ul,
.topbar .right-side ul{
    display:flex;
    align-items:center;
}
.topbar .left-side li{
    margin-right:24px;
}
.topbar .left-side li a,
.topbar .right-side li a{
    font-size:13px;
    opacity:.92;
}
.topbar .left-side li a:hover,
.topbar .right-side li a:hover{
    opacity:1;
    color:#fff !important;
}
.topbar .left-side li a i{
    color:#fff !important;
    margin-right:7px;
}
.topbar .right-side{
    display:flex;
    justify-content:flex-end;
}

/* ---------- Main header ---------- */
.menu-style{
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--modern-border);
    box-shadow:0 5px 25px rgba(15,35,38,.07);
    position:relative;
    z-index:1001;
}
.menu-style.sticky,
.menu-style.fixed-header{
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(14px);
    box-shadow:0 8px 30px rgba(15,35,38,.12);
}
.menu-style .header{
    min-height:105px;
    align-items:center;
}
.menu-style .header>.logo{
    flex:0 0 235px;
}
.menu-style .header>.logo img{
    max-height:86px !important;
    min-height:0 !important;
    width:auto;
    margin-top:0 !important;
    transition:transform var(--modern-transition);
}
.menu-style .header>.logo:hover img{
    transform:scale(1.025);
}

.menu-style .header .right-side .navigation{
    align-items:center;
}

.main-menu{
    align-items:center;
    justify-content:flex-end;
    gap:2px;
}
.main-menu>li.menu-item{
    padding:0 !important;
}
.main-menu>li.menu-item>a{
    position:relative;
    padding:15px 14px !important;
    border-radius:10px;
    font-size:14px !important;
    font-weight:700 !important;
    letter-spacing:.25px;
}
.main-menu>li.menu-item>a:after{
    height:3px !important;
    bottom:4px !important;
    width:0 !important;
    border-radius:10px;
    background:var(--modern-primary) !important;
}
.main-menu>li.menu-item:hover>a,
.main-menu>li.menu-item.active>a{
    color:var(--modern-primary) !important;
    background:#f1f7f7;
}
.main-menu>li.menu-item:hover>a:after,
.main-menu>li.menu-item.active>a:after{
    width:55% !important;
}
.menu-item-has-children>.sub-menu{
    top:calc(100% - 2px) !important;
    left:auto !important;
    right:auto !important;
    min-width:360px !important;
    width:auto !important;
    padding:10px !important;
    background:rgba(255,255,255,.98) !important;
    border:1px solid var(--modern-border);
    border-radius:14px;
    box-shadow:var(--modern-shadow);
    overflow:hidden;
}
.menu-item-has-children>.sub-menu>li>a{
    display:block;
    padding:11px 14px !important;
    border-radius:9px;
    font-size:14px;
    font-weight:600;
}
.menu-item-has-children>.sub-menu>li>a:hover{
    background:#eef7f7;
    color:#bac6c6;
    padding-left:18px !important;
}

/* =========================================
   ТРЕТО НИВО НА МЕНЮТО
   ========================================= */

/* Елементите от второ ниво са отправна точка */
.main-menu .sub-menu > li.menu-item-has-children {
    position: relative;
}

/* Трето ниво */
.main-menu .sub-menu > li.menu-item-has-children > ul {
    position: absolute;
    top: 0;
    left: calc(100% + 0px);

    min-width: 230px;
    width: max-content;
    max-width: 300px;

    margin: 0;
    padding: 10px;

    list-style: none;

    background: rgba(255,255,255,.98);
    border: 1px solid var(--modern-border);
    border-radius: 14px;
    box-shadow: var(--modern-shadow);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-6px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 9999;
}

/* Показване на третото ниво */
.main-menu .sub-menu > li.menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

/* Линкове в третото ниво */
.main-menu .sub-menu > li.menu-item-has-children > ul > li > a {
    display: block;

    padding: 11px 14px !important;

    color: #333;
    background: transparent;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        padding .2s ease;
}

/* Hover */
.main-menu .sub-menu > li.menu-item-has-children > ul > li > a:hover {
    background: #eef7f7;
    color: var(--modern-primary);
    padding-left: 18px !important;
}

/* Стрелка за елемент, който има трето ниво */
.main-menu .sub-menu > li.menu-item-has-children > a {
    position: relative;
    padding-right: 36px !important;
}

.main-menu .sub-menu > li.menu-item-has-children > a {
    position: relative;
    padding-right: 36px !important;
}

/* Много важно:
   позволява третото ниво да излезе извън второто */
.main-menu .menu-item-has-children > .sub-menu {
    overflow: visible !important;
}

/* =====================================================
   MOBILE MENU – 2-ро и 3-то ниво
   ===================================================== */

@media (max-width: 991.98px) {

    /* Основното мобилно меню */
    .main-menu {
        display: block !important;
        width: 100%;
    }

    .main-menu > li.menu-item {
        display: block;
        width: 100%;
        position: relative;
    }

    .main-menu > li.menu-item > a {
        display: block;
        width: 100%;
        padding: 13px 45px 13px 15px !important;
        border-radius: 8px;
    }


    /* =========================================
       ВТОРО НИВО
       ========================================= */

    .main-menu .menu-item-has-children > .sub-menu {
        position: static !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 4px 0 8px 0 !important;
        padding: 5px 0 5px 12px !important;

        background: #f7fafa !important;

        border: 0 !important;
        border-left: 2px solid var(--modern-primary) !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* Линкове второ ниво */

    .main-menu .sub-menu > li {
        display: block;
        width: 100%;
        position: relative;
    }

    .main-menu .sub-menu > li > a {
        display: block;
        width: 100%;

        padding: 10px 40px 10px 12px !important;

        font-size: 14px !important;
        font-weight: 600;

        border-radius: 7px;
    }


    /* =========================================
       ТРЕТО НИВО
       ========================================= */

    .main-menu .sub-menu > li.menu-item-has-children > ul {
        position: static !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 4px 0 5px 0 !important;
        padding: 4px 0 4px 15px !important;

        background: #fff !important;

        border: 0 !important;
        border-left: 2px solid #d8e7e7 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* Линкове трето ниво */

    .main-menu .sub-menu > li.menu-item-has-children > ul > li {
        display: block;
        width: 100%;
    }

    .main-menu .sub-menu > li.menu-item-has-children > ul > li > a {
        display: block;
        width: 100%;

        padding: 9px 12px !important;

        font-size: 13px !important;
        font-weight: 500;

        white-space: normal !important;

        border-radius: 6px;
    }


    /* Hover ефектите от desktop да не местят текста */

    .main-menu .sub-menu > li > a:hover,
    .main-menu .sub-menu > li.menu-item-has-children > ul > li > a:hover {
        padding-left: 12px !important;
    }

}

/* ---------- Generic sections ---------- */
.section-padding{
    padding:90px 0;
}
.section-padding2{
    padding:70px 0;
}
.section-header{
    max-width:850px;
    margin:0 auto 48px;
}
.section-header .section-heading h5{
    color:var(--modern-primary) !important;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
}
.section-header .section-heading h3{
    color:var(--modern-text);
    font-size:clamp(30px,3vw,44px);
    line-height:1.15;
    padding-bottom:22px;
}
.section-header .section-heading:after{
    width:55px;
    height:4px;
    border-radius:10px;
    background:var(--modern-accent);
}
.bg-light-white,
.bg-light-white_2,
.bg-light-white_3{
    background:var(--modern-bg) !important;
}

/* ---------- About ---------- */
.about-us{
    background:linear-gradient(180deg,#fff 0%,#f5f7f8 100%);
}
.about-us .about-right-side{
    min-height:430px;
    padding:18px;
    background:#fff;
    border:1px solid var(--modern-border);
    border-radius:var(--modern-radius);
    box-shadow:var(--modern-shadow);
    overflow:hidden;
}
.about-us .about-right-side>pre{
    margin:0;
    padding:0;
    background:transparent;
    border:0;
    white-space:normal;
}
.about-us .about-right-side>pre img{
    width:100% !important;
    height:430px;
    object-fit:cover;
    object-position:center;
    margin:0 !important;
    float:none !important;
    border-radius:13px;
}
.about-us .about-meta{
    display:none;
}
.about-us .about-left-side{
    padding:20px 20px 20px 50px;
}
.about-us .about-desc p{
    font-size:16px;
    line-height:1.9;
}
.about-us .about-desc p:first-child{
    color:#bac6c6;
    font-size:19px;
}
.about-us .btn-submit{
    margin-top:15px;
    border-radius:10px !important;
    line-height:46px !important;
    padding:0 24px !important;
    background:var(--modern-primary);
    color:#fff !important;
    border-color:#bac6c6;
    box-shadow:0 7px 20px rgba(8,127,131,.22);
}
.about-us .btn-submit:before{
    display:none;
}
.about-us .btn-submit:hover{
    background:var(--modern-primary-dark);
    border-color:var(--modern-primary-dark);
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(8,127,131,.28);
}

/* ---------- Patron / Botev section ---------- */
.full-services-sec{
    margin:10px 0 0;
    overflow:hidden;
    background:#102f31 !important;
}
.full-services-sec .right-side{
    padding:90px clamp(35px,6vw,100px) !important;
    background:linear-gradient(135deg,#075e62,var(--modern-primary)) !important;
}
.full-services-sec .right-side .text-wrapper{
    max-width:720px;
    margin:0 auto;
}
.full-services-sec .right-side .text-wrapper h2{
    font-size:clamp(32px,4vw,54px);
    line-height:1.15 !important;
    margin-bottom:28px;
}
.full-services-sec .right-side .text-wrapper h2:after{
    content:"";
    display:block;
    width:60px;
    height:4px;
    margin-top:18px;
    border-radius:10px;
    background:var(--modern-accent);
}
.full-services-sec .right-side .text-wrapper p{
    color:rgba(255,255,255,.86) !important;
    line-height:1.9;
}
.full-services-sec .col-lg-5{
    min-height:100%;
}
.full-services-sec .left-side{
    min-height:560px;
}
.full-services-sec .left-side img{
    width:100%;
    height:100%;
    min-height:560px;
    object-fit:cover;
    object-position:center;
    filter:saturate(.92);
}
.full-services-sec .left-side:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(7,94,98,.22),transparent 55%);
    pointer-events:none;
}

/* ---------- News ---------- */
.our_articles{
    background:var(--modern-bg);
}
.our_articles .post{
    margin-bottom:28px;
}
.our_articles .post .post-wrapper{
    height:100%;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--modern-border);
    border-radius:var(--modern-radius);
    box-shadow:0 7px 24px rgba(16,37,40,.07);
    transition:transform var(--modern-transition),box-shadow var(--modern-transition);
}
.our_articles .post:hover .post-wrapper{
    transform:translateY(-8px);
    box-shadow:var(--modern-shadow-hover);
}
.our_articles .post .post-wrapper .blog-img{
    height:250px;
    overflow:hidden;
    margin:0;
}
.our_articles .post .post-wrapper .blog-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.our_articles .post:hover .post-wrapper .blog-img img{
    transform:scale(1.06);
}
.our_articles .post .post-wrapper .blog-meta{
    padding:22px 24px 14px !important;
    background:#fff !important;
}
.our_articles .post .post-wrapper .blog-meta .cat-box .cats a{
    color:#bac6c6;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
}
.our_articles .post .post-wrapper .blog-meta .post-title{
    margin:10px 0 0;
}
.our_articles .post .post-wrapper .blog-meta .post-title a{
    font-size:20px;
    line-height:25px;
    font-weight:700;
    color:var(--modern-text) !important;
}
.our_articles .post .post-wrapper .blog-meta .post-title a:hover{
    color:var(--modern-primary) !important;
}
.our_articles .post .post-wrapper .blog-footer-meta{
    padding:13px 24px 20px !important;
    background:#fff !important;
    border-top:1px solid var(--modern-border);
}
.our_articles .post .post-wrapper .post-link a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 12px;
    border-radius:8px;
    background:#eef7f7;
    color:var(--modern-primary) !important;
}
.our_articles .post .post-wrapper .post-link a:hover{
    background:var(--modern-primary);
    color:#fff !important;
}

/* ---------- Gallery CTA ---------- */
.download-app{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#075e62 0%,#087f83 55%,#0a686c 100%) !important;
}
.download-app:before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-170px;
    top:-220px;
    border:70px solid rgba(255,255,255,.06);
    border-radius:50%;
}
.download-app:after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    left:-120px;
    bottom:-150px;
    border:45px solid rgba(255,255,255,.05);
    border-radius:50%;
}
.download-app .section-header{
    position:relative;
    z-index:2;
}
.download-app .section-heading h3{
    color:#fff !important;
}
.download-app .section-description p{
    max-width:700px;
    margin:0 auto 25px;
    color:rgba(255,255,255,.86) !important;
}
.download-app .btn-border{
    border-radius:10px !important;
    padding:0 25px !important;
    line-height:48px !important;
    background:#fff;
    color:var(--modern-primary) !important;
    border-color:#fff !important;
    font-weight:800;
}
.download-app .btn-border:hover{
    background:transparent;
    color:#fff !important;
    transform:translateY(-2px);
}

/* ---------- Admission ---------- */
.section-padding.bg-light-white.intro:has(.section-heading h3){
    background:#fff !important;
}
.section-padding.bg-light-white.intro .section-description p{
    color:var(--modern-muted) !important;
}
.section-padding.bg-light-white.intro .btn-submit{
    border-radius:10px !important;
    background:var(--modern-primary);
    color:#fff !important;
    border-color:#bac6c6;
    line-height:48px !important;
}
.section-padding.bg-light-white.intro .btn-submit:before{
    display:none;
}
.section-padding.bg-light-white.intro .btn-submit:hover{
    background:var(--modern-primary-dark);
    transform:translateY(-2px);
}

/* ---------- Contact ---------- */
.contact-us{
    padding-top:90px !important;
    padding-bottom:70px;
    background:#fff !important;
}
.contact-us .contact-us-form{
    background:linear-gradient(145deg,#075e62,#087f83) !important;
    padding:55px clamp(28px,5vw,60px) !important;
    margin:0 !important;
    border-radius:var(--modern-radius) 0 0 var(--modern-radius);
    box-shadow:var(--modern-shadow);
}
.contact-us .contact-us-form h4{
    font-size:34px;
}
.contact-us .contact-us-form .form-control-custom{
    color:#fff;
    border:1px solid rgba(255,255,255,.24) !important;
    border-radius:10px !important;
    background:rgba(255,255,255,.09) !important;
    padding:0 16px !important;
    transition:border var(--modern-transition),background var(--modern-transition);
}
.contact-us .contact-us-form textarea.form-control-custom{
    padding-top:14px !important;
}
.contact-us .contact-us-form .form-control-custom:focus{
    border-color:rgba(255,255,255,.8) !important;
    background:rgba(255,255,255,.14) !important;
}
.contact-us .contact-us-form .btn-border{
    border-radius:10px !important;
    line-height:46px !important;
    padding:0 25px !important;
    background:#fff;
    color:var(--modern-primary) !important;
    border-color:#fff !important;
    font-weight:800;
}
.contact-us .contact-us-form .btn-border:hover{
    background:transparent;
    color:#fff !important;
}
.contact-us .contact-info{
    height:100%;
    padding:48px clamp(28px,4vw,55px) !important;
    border:1px solid var(--modern-border);
    border-left:0;
    border-radius:0 var(--modern-radius) var(--modern-radius) 0;
    box-shadow:var(--modern-shadow);
}
.contact-us .contact-info h4{
    font-size:34px;
    margin-bottom:28px;
}
.contact-us .contact-info li{
    padding:12px 0;
}
.contact-us .contact-info li hr{
    border:0;
    border-top:1px solid var(--modern-border);
}
.contact-us .contact-info h5{
    font-size:16px !important;
    font-weight:800;
}
.contact-us .contact-info h5 i{
    color:var(--modern-primary) !important;
}
.contact-us .contact-info p,
.contact-us .contact-info a{
    color:var(--modern-muted) !important;
}
.contact-us .contact-info a:hover{
    color:var(--modern-primary) !important;
}
.contact-map,
.contact-map iframe{
    height:430px !important;
}
.contact-map{
    padding:0 0 70px;
    background:#fff;
}
.contact-map iframe{
    display:block;
    border-radius:0;
}

/* ---------- Useful links / sidebar ---------- */
.sidebar_widgets{
    background:#fff;
    border:1px solid var(--modern-border);
    border-radius:var(--modern-radius-sm);
    padding:22px;
    box-shadow:0 7px 25px rgba(16,37,40,.06);
}
.sidebar_widgets .widget_title{
    margin-bottom:12px;
}
.sidebar_widgets .widget_title h5{
    font-size:18px;
    font-weight:800;
}
.left_menu{
    border-top:1px solid var(--modern-border);
}
.left_menu a{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:8px 4px;
    font-weight:650;
    color:var(--modern-text);
}
.left_menu a:hover{
    color:#bac6c6;
    padding-left:10px;
}
.left_menu a img{
    margin-top:0 !important;
    margin-right:10px !important;
    border-radius:7px;
}

/* ---------- Footer ---------- */
.footer{
    background:#102f31 !important;
    padding:75px 0 45px !important;
}
.footer .footer-box{
    padding-right:25px;
}
.footer .footer-heading{
    margin-bottom:22px;
}
.footer .footer-heading h4{
    font-size:19px;
    font-weight:800;
    color:#fff !important;
}
.footer .footer-heading:after{
    content:"";
    display:block;
    width:38px;
    height:3px;
    margin-top:12px;
    border-radius:10px;
    background:var(--modern-accent);
}
.footer .links li{
    margin-bottom:8px;
}
.footer .links li a{
    display:inline-block;
    color:rgba(255,255,255,.72) !important;
    padding:4px 0;
}
.footer .links li a:hover{
    color:#fff !important;
    transform:translateX(5px);
}
.copyright{
    background:#0b2527 !important;
    padding:17px 0 !important;
}
.copyright p{
    color:rgba(255,255,255,.62) !important;
    font-size:12px;
}
.copyright a{
    color:rgba(255,255,255,.82) !important;
}
.copyright a:hover{
    color:#fff !important;
}

/* ---------- Back to top ---------- */
#back-top a{
    width:48px;
    height:48px;
    padding:0 !important;
    border:0 !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    background:var(--modern-primary) !important;
    box-shadow:0 8px 22px rgba(8,127,131,.30) !important;
}
#back-top a:hover{
    transform:translateY(-4px);
    background:var(--modern-primary-dark) !important;
}
#back-top a .d-block{
    display:none !important;
}

/* ---------- Selection / focus ---------- */
::selection{
    background:var(--modern-primary);
    color:#fff;
}
input:focus,
textarea:focus,
select:focus{
    outline:none;
}

/* ---------- Responsive ---------- */
@media (max-width:1199px){
    .custom-container{
        padding-left:35px !important;
        padding-right:35px !important;
    }
    .menu-style .header>.logo{
        flex-basis:190px;
    }
    .main-menu>li.menu-item>a{
        padding-left:9px !important;
        padding-right:9px !important;
        font-size:13px !important;
    }
    .about-us .about-left-side{
        padding-left:25px;
    }
}

@media (max-width:991px){
    .topbar .left-side li{
        margin-right:12px;
    }
    .topbar .left-side li a{
        font-size:12px;
    }
    .menu-style .header{
        min-height:82px;
    }
    .menu-style .header>.logo{
        flex-basis:150px;
    }
    .menu-style .header>.logo img{
        max-height:68px !important;
    }
    .about-us .about-right-side{
        margin-bottom:35px;
    }
    .about-us .about-left-side{
        padding:0;
    }
    .full-services-sec .right-side{
        padding:65px 35px !important;
    }
    .full-services-sec .left-side,
    .full-services-sec .left-side img{
        min-height:430px;
    }
    .contact-us .contact-us-form{
        border-radius:var(--modern-radius) var(--modern-radius) 0 0;
    }
    .contact-us .contact-info{
        border-left:1px solid var(--modern-border);
        border-top:0;
        border-radius:0 0 var(--modern-radius) var(--modern-radius);
    }
}

@media (max-width:767px){
    .custom-container{
        padding-left:18px !important;
        padding-right:18px !important;
    }
    .topbar{
        display:none;
    }
    .section-padding{
        padding:60px 0;
    }
    .section-padding2{
        padding:50px 0;
    }
    .section-header{
        margin-bottom:32px;
    }
    .section-header .section-heading h3{
        font-size:30px;
    }
    .simple-banner .main-banner{
        border-radius:0 0 16px 16px;
    }
    .simple-banner .slide-item,
    .simple-banner .slide-item img{
        min-height:300px;
        height:52vh;
        max-height:430px;
    }
    .simple-banner .slider-btn{
        right:15px !important;
        bottom:15px;
    }
    .simple-banner .slider-btn .swiper-button-next,
    .simple-banner .slider-btn .swiper-button-prev,
    .simple-banner .slider-btn .swiper-button-next span,
    .simple-banner .slider-btn .swiper-button-prev span{
        width:42px;
        height:42px;
    }
    .about-us .about-right-side{
        min-height:0;
        padding:10px;
        border-radius:14px;
    }
    .about-us .about-right-side>pre img{
        height:300px;
    }
    .about-us .about-desc p{
        text-align:left !important;
    }
    .full-services-sec .right-side{
        padding:55px 22px !important;
    }
    .full-services-sec .left-side,
    .full-services-sec .left-side img{
        min-height:330px;
    }
    .our_articles .post .post-wrapper .blog-img{
        height:220px;
    }
    .contact-us{
        padding-top:60px !important;
    }
    .contact-us .contact-us-form,
    .contact-us .contact-info{
        padding:35px 22px !important;
    }
    .contact-map,
    .contact-map iframe{
        height:320px !important;
    }
    .footer{
        padding:55px 0 30px !important;
    }
    .footer .footer-box{
        padding-right:0;
        margin-bottom:35px;
    }
    .copyright p{
        text-align:center !important;
    }
}

@media (max-width:575px){
    .menu-style .header>.logo img{
        max-width:135px;
    }
    .simple-banner .slide-item,
    .simple-banner .slide-item img{
        height:42vh;
        min-height:260px;
    }
    .section-header .section-heading h3{
        font-size:27px;
    }
    .our_articles .post .post-wrapper .blog-img{
        height:200px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
    *,
    *:before,
    *:after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}


/* ---------- Modern about image ---------- */
.about-us .about-right-side{
    position:relative;
    padding:24px;
    min-height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.about-us .about-right-side > pre{
    position:relative;
    z-index:2;
    width:100%;
    margin:0 !important;
    padding:0 !important;
    white-space:normal;
    overflow:visible;
}

.about-us .about-right-side pre img{
    display:block;
    position:relative;
    z-index:2;
    width:100%;
    max-width:520px;
    max-height:680px;
    object-fit:cover;
    object-position:center;
    margin:0 auto !important;
    float:none !important;
    border:10px solid #ffffff;
    border-radius:28px;
    box-shadow:
        0 12px 25px rgba(16,37,40,.10),
        0 28px 60px rgba(16,37,40,.16);
    transform:rotate(-3deg);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.about-us .about-right-side > pre img:hover{
    transform:rotate(0deg) scale(1.025);
    box-shadow:
        0 28px 60px rgba(15,35,38,.24),
        0 6px 18px rgba(15,35,38,.10);
}

/* Декоративни цветни елементи зад снимката */
.about-us .about-right-side:before{
    content:"";
    position:absolute;
    top:4px;
    left:4px;
    width:145px;
    height:145px;
    border-radius:35px;
    background:var(--modern-primary);
    opacity:.16;
    transform:rotate(12deg);
    z-index:0;
}

.about-us .about-right-side:after{
    content:"";
    position:absolute;
    right:0;
    bottom:18px;
    width:190px;
    height:190px;
    border-radius:50%;
    background:var(--modern-accent);
    opacity:.16;
    z-index:0;
}

/* Етикетът под снимката */
.about-us .about-meta{
    position:absolute;
    left:0;
    right:28px;
    bottom:0;
    z-index:4;
    display:flex;
    align-items:center;
    gap:14px;
    width:auto;
    min-height:78px;
    padding:14px 22px;
    background:rgba(8,127,131,.96);
    border-radius:14px 24px 14px 4px;
    box-shadow:0 12px 28px rgba(8,127,131,.22);
}

.about-us .about-meta .meta-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    padding:8px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
}

.about-us .about-meta .meta-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.about-us .about-meta .meta-text{
    flex:1;
}

.about-us .about-meta .meta-text h4{
    margin:0 !important;
    color:#fff !important;
    font-size:17px !important;
    line-height:1.35;
}

/* Леко отделяне на текстовата част */
.about-us .about-left-side{
    padding:34px 30px 34px 42px;
    border-left:4px solid rgba(8,127,131,.12);
}

.about-us .about-left-side .section-heading h5{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    color:var(--modern-primary) !important;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.about-us .about-left-side .section-heading h5:before{
    content:"";
    display:inline-block;
    width:34px;
    height:3px;
    border-radius:5px;
    background:var(--modern-accent);
}

.about-us .about-left-side .section-heading h3{
    margin-bottom:24px !important;
    font-size:clamp(28px,3vw,42px) !important;
    line-height:1.12;
}

.about-us .about-desc p{
    color:var(--modern-muted);
    font-size:15px;
    line-height:1.85;
}

.about-us .about-desc p strong{
    color:var(--modern-text);
    font-size:17px;
}

.about-us .about-left-side .btn-first{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:12px;
    padding:14px 24px !important;
    border-radius:12px;
    background:var(--modern-primary) !important;
    box-shadow:0 8px 20px rgba(8,127,131,.18);
    transition:all .28s ease;
}

.about-us .about-left-side .btn-first:after{
    content:"→";
    font-size:20px;
    line-height:1;
    transition:transform .28s ease;
}

.about-us .about-left-side .btn-first:hover{
    background:var(--modern-primary-dark) !important;
    transform:translateY(-3px);
    box-shadow:0 14px 28px rgba(8,127,131,.26);
}

.about-us .about-left-side .btn-first:hover:after{
    transform:translateX(4px);
}

/* Responsive */
@media (max-width:1199px){
    .about-us .about-right-side{
        min-height:390px;
        padding:18px;
    }

    .about-us .about-right-side > pre img{
        height:350px;
    }

    .about-us .about-meta{
        right:18px;
    }

    .about-us .about-left-side{
        padding-left:25px;
    }
}

@media (max-width:767px){
    .about-us .about-right-side{
        min-height:350px;
        margin-bottom:55px;
        padding:12px;
    }

    .about-us .about-right-side > pre img{
        height:310px;
        border-width:7px;
        border-radius:22px 22px 22px 6px;
    }

    .about-us .about-meta{
        left:0;
        right:8px;
        bottom:-28px;
        padding:12px 15px;
    }

    .about-us .about-meta .meta-text h4{
        font-size:14px !important;
    }

    .about-us .about-left-side{
        padding:0;
        border-left:0;
    }

    .about-us .about-left-side .section-heading h3{
        font-size:30px !important;
    }
}

/* =========================================================
   ACTIVE MENU ITEM
   Активната страница изглежда като hover
   ========================================================= */

.menu-style .main-menu > li.menu-item > a{
    position:relative;
}

/* Активен основен елемент */
.menu-style .main-menu > li.menu-item.active > a,
.menu-style .main-menu > li.menu-item.current-menu-item > a,
.menu-style .main-menu > li.menu-item.current_page_item > a{
    color:var(--modern-primary) !important;
    background:#f1f7f7 !important;
}

/* Underline на активния елемент */
.menu-style .main-menu > li.menu-item.active > a:after,
.menu-style .main-menu > li.menu-item.current-menu-item > a:after,
.menu-style .main-menu > li.menu-item.current_page_item > a:after{
    width:55% !important;
    opacity:1 !important;
}

/* Ако активната страница е подменю,
   оцветяваме и родителското меню */
.menu-style .main-menu > li.menu-item.active-parent > a{
    color:var(--modern-primary) !important;
    background:#f1f7f7 !important;
}

.menu-style .main-menu > li.menu-item.active-parent > a:after{
    width:55% !important;
    opacity:1 !important;
}

/* Активен елемент вътре в падащо меню */
.menu-style .sub-menu > li.menu-item.active > a,
.menu-style .sub-menu > li.menu-item.current-menu-item > a{
    color:var(--modern-primary) !important;
    background:#eef7f7 !important;
}

/* Еднакъв размер на всички снимки в галерията */
.thumb-isotope .image-fit {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Контейнерът на снимката */
.thumb-isotope figure {
    width: 100%;
    height: 250px;
    margin: 0;
    overflow: hidden;
	margin-bottom: 20px !important;
}

/* По-малки екрани */
@media (max-width: 767px) {
    .image-fit,
    .thumb-isotope figure {
        height: 220px;
    }
}

/* ---------- Gallery ---------- */

.thumb-isotope figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
}

/* Снимка */
.thumb-isotope .image-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s ease;
}

/* Тъмен overlay */
.thumb-isotope figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

/* Лупичка */
.thumb-isotope figure em {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.7);
    
    width: 54px;
    height: 54px;
    border-radius: 50%;
    
    background: rgba(255, 255, 255, .95);
    
    opacity: 0;
    transition: all .3s ease;
    
    z-index: 2;
}

/* Лупичка чрез CSS */
.thumb-isotope figure em::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 3px solid #333;
    border-radius: 50%;
    left: 15px;
    top: 13px;
}

/* Дръжка на лупичката */
.thumb-isotope figure em::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 3px;
    background: #333;
    transform: rotate(45deg);
    left: 31px;
    top: 33px;
    border-radius: 2px;
}

/* ---------- Hover ---------- */

.thumb-isotope a:hover .image-fit {
    transform: scale(1.08);
}

.thumb-isotope a:hover figure::after {
    opacity: 1;
}

.thumb-isotope a:hover figure em {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Малко повдигане на цялата снимка */
.thumb-isotope {
    transition: transform .3s ease;
}

.thumb-isotope:hover {
    transform: translateY(-4px);
}

/* =========================================================
   MODERN SIDEBAR
   ========================================================= */

.sidebar_wrap{
    position:relative;
}

.sidebar_wrap .sidebar{
    position:relative;
}

/* Основна карта на widget-а */
.sidebar_wrap .sidebar .sidebar_widgets{
    padding:0 !important;
    margin-bottom:24px;
    background:#fff !important;
    border:1px solid rgba(24,35,38,.08) !important;
    border-radius:18px !important;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(16,37,40,.08);
    transition:box-shadow .3s ease, transform .3s ease;
}

.sidebar_wrap .sidebar .sidebar_widgets:hover{
    box-shadow:0 16px 40px rgba(16,37,40,.12);
}

/* Заглавие на sidebar widget */
.sidebar_wrap .sidebar .sidebar_widgets .widget_title{
    margin:0 !important;
    padding:18px 20px 17px 22px !important;
    background:linear-gradient(135deg,#f1f8f8,#fff);
    border-bottom:1px solid rgba(8,127,131,.08);
    position:relative;
}

/* Цветна вертикална линия */
.sidebar_wrap .sidebar .sidebar_widgets .widget_title:after{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:5px;
    );
}

/* Заглавие */
.sidebar_wrap .sidebar .sidebar_widgets .widget_title h5{
    margin:0 !important;
    color:var(--modern-text) !important;
    font-size:18px !important;
    line-height:1.3;
    font-weight:800 !important;
}

/* Съдържание на widget-а */
.sidebar_wrap .sidebar .sidebar_widgets > *:not(.widget_title){
    padding-left:20px;
    padding-right:20px;
}

.sidebar_wrap .sidebar .sidebar_widgets ul{
    margin:0;
    padding-top:18px;
    padding-bottom:18px;
}

/* Категории / меню */
.sidebar_wrap .sidebar .sidebar_widgets .categories li,
.sidebar_wrap .sidebar .sidebar_widgets .listing-categories li{
    position:relative;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid rgba(24,35,38,.07) !important;
    display:block;
}

/* Последен елемент */
.sidebar_wrap .sidebar .sidebar_widgets .categories li:last-child,
.sidebar_wrap .sidebar .sidebar_widgets .listing-categories li:last-child{
    border-bottom:0 !important;
}

/* Линкове */
.sidebar_wrap .sidebar .sidebar_widgets .categories li a,
.sidebar_wrap .sidebar .sidebar_widgets .listing-categories li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    padding:10px 4px 10px 8px !important;
    color:#425154;
    font-size:14px;
    font-weight:600;
    transition:
        color .25s ease,
        padding-left .25s ease,
        background .25s ease;
}

/* Малка стрелка/икона пред линка */
.sidebar_wrap .sidebar .sidebar_widgets .categories li a:before{
    content:"›";
    display:flex;
    align-items:center;
    justify-content:center;
    width:25px;
    height:25px;
    min-width:25px;
    margin-right:10px;
    border-radius:8px;
    background:#eef7f7;
    color:var(--modern-primary);
    font-size:18px;
    font-weight:700;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

/* Hover */
.sidebar_wrap .sidebar .sidebar_widgets .categories li:hover a{
    padding-left:12px !important;
    color:var(--modern-primary) !important;
}

.sidebar_wrap .sidebar .sidebar_widgets .categories li:hover a:before{
    background:var(--modern-primary);
    color:#fff;
    transform:translateX(2px);
}

/* Listing categories */
.sidebar_wrap .sidebar .sidebar_widgets .listing-categories li:after{
    content:"›" !important;
    left:auto !important;
    right:8px !important;
    top:50%;
    transform:translateY(-50%);
    font-family:inherit !important;
    color:var(--modern-primary) !important;
    font-size:20px !important;
}

.sidebar_wrap .sidebar .sidebar_widgets .listing-categories li a{
    padding-right:30px !important;
}

/* Популярни публикации */
.sidebar_wrap .sidebar .sidebar_widgets .popular_post{
    padding-top:15px;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post li{
    padding:0 0 14px;
    margin-bottom:14px;
    border-bottom:1px solid rgba(24,35,38,.07);
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post li:last-child{
    padding-bottom:0;
    margin-bottom:0;
    border-bottom:0;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post li .post .post-wrapper{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    box-shadow:none !important;
    background:transparent;
}

/* Снимка на популярна новина */
.sidebar_wrap .sidebar .sidebar_widgets .popular_post_img{
    width:72px;
    min-width:72px;
    height:60px;
    overflow:hidden;
    border-radius:10px;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post_img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post li:hover .popular_post_img img{
    transform:scale(1.08);
}

/* Текст на популярна новина */
.sidebar_wrap .sidebar .sidebar_widgets .popular_post .post-meta{
    flex:1;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post .post-meta h6,
.sidebar_wrap .sidebar .sidebar_widgets .popular_post .post-meta h5{
    margin:0;
    font-size:14px;
    line-height:1.4;
    font-weight:700;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post .post-meta h6 a,
.sidebar_wrap .sidebar .sidebar_widgets .popular_post .post-meta h5 a{
    color:var(--modern-text);
    transition:color .25s ease;
}

.sidebar_wrap .sidebar .sidebar_widgets .popular_post li:hover h6 a,
.sidebar_wrap .sidebar .sidebar_widgets .popular_post li:hover h5 a{
    color:var(--modern-primary);
}

/* Sidebar бутон */
.sidebar_wrap .sidebar .sidebar_widgets .btn-first{
    margin:15px 20px 20px;
    border-radius:10px;
}

/* Форми / търсене */
.sidebar_wrap .sidebar .sidebar_widgets input,
.sidebar_wrap .sidebar .sidebar_widgets select,
.sidebar_wrap .sidebar .sidebar_widgets textarea{
    border:1px solid rgba(24,35,38,.12);
    border-radius:10px;
    background:#fafcfc;
    min-height:44px;
    padding:8px 12px;
    transition:border-color .25s ease, box-shadow .25s ease;
}

.sidebar_wrap .sidebar .sidebar_widgets input:focus,
.sidebar_wrap .sidebar .sidebar_widgets select:focus,
.sidebar_wrap .sidebar .sidebar_widgets textarea:focus{
    border-color:var(--modern-primary);
    box-shadow:0 0 0 3px rgba(8,127,131,.08);
    outline:none;
}

/* Малко по-стегнат sidebar на лаптоп */
@media (max-width:1199px){
    .sidebar_wrap .sidebar .sidebar_widgets .widget_title{
        padding:16px 18px 16px 20px !important;
    }

    .sidebar_wrap .sidebar .sidebar_widgets > *:not(.widget_title){
        padding-left:18px;
        padding-right:18px;
    }
}

/* Mobile */
@media (max-width:991px){
    .sidebar_wrap{
        margin-top:35px;
    }

    .sidebar_wrap .sidebar .sidebar_widgets{
        border-radius:15px !important;
    }
}

.box_end {display:none;}