/* Header polish only — dynamic menu markup/logic remains unchanged. */
.headerkk {
    background: linear-gradient(120deg, #3F51B5, #148c86);
    box-shadow: 0 6px 24px rgba(3,84,39,.18)
}

.top-menusec {
    height: 78px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16,35,28,.09)
}

    .top-menusec:before {
        width: 100%;
        border-radius: 0
    }

.menubar nav > ul > li {
    margin-top: 19px;
    padding-right: 3px
}

    .menubar nav > ul > li > a {
        padding: 7px 13px;
        border-radius: 7px;
        font-weight: 600;
        color: #17233f;
        background: transparent
    }

        .menubar nav > ul > li > a:hover, .menubar nav > ul > li > a.default {
            background: #d98608;
            color: #fff;
            box-shadow: 0 7px 18px rgba(7,139,66,.22)
        }

.menubar nav > ul ul {
    border-top-color: #fda31b;
    border-radius: 0 0 9px 9px;
    overflow: visible;
    background: #d98608;
    box-shadow: 0 15px 35px rgba(0,0,0,.18)
}

.thebtnnkk {
    top: 11px
}

    .thebtnnkk .theme-btn {
        border-radius: 999px;
        background: linear-gradient(135deg,#ffae22,#ff8b0b);
        box-shadow: 0 8px 20px rgba(255,139,11,.28)
    }

.mces-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #152552
}

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 690px
    }

.mces-hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden
}

.mces-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(7,24,18,.26) 0%,rgba(5,24,38,.77) 48%,rgba(3,17,27,.68) 100%)
}

.mces-hero-left {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 46%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0,100% 0,82% 100%,0 100%)
}

.mces-hero-separator {
    position: absolute;
    z-index: 3;
    left: 43.7%;
    top: -5%;
    height: 110%;
    width: 22px;
    background: #fff;
    transform: skewX(-15deg);
    box-shadow: 9px 0 0 #16338f
}

.mces-hero-copy {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    width: 44%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,.35)
}

.mces-hero-copy-wide {
    left: 12%;
    width: 70%;
    max-width: 850px
}

.mces-hero-copy h2 {
    margin: 0 0 8px;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 800;
    color: #fff
}

.mces-hero-copy h3 {
    margin: 0 0 16px;
    font-size: 39px;
    line-height: 1.1;
    font-weight: 800;
    color: #fda31b
}

.mces-hero-rule {
    display: block;
    width: 82px;
    height: 6px;
    margin: 18px 0;
    border-radius: 9px;
    background: #ffc21c
}

.mces-hero-description, .mces-hero-description p {
    font-size: 19px;
    line-height: 1.65;
    color: #fff;
    margin-bottom: 0
}

.mces-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px
}

.mces-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 27px;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    transition: .25s;
    text-shadow: none
}

    .mces-hero-btn.primary {
        background: #d98608;
        color: #fff
    }

    .mces-hero-btn.secondary {
        background: #fff;
        color: #142338
    }

    .mces-hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(0,0,0,.24);
        color: black;
    }

.mces-hero-control.carousel-control {
    top: 50%;
    bottom: auto;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border-radius: 50%;
    background: rgba(9,18,27,.62);
    opacity: 1;
    text-shadow: none
}

.mces-hero-control.left {
    left: 28px
}

.mces-hero-control.right {
    right: 28px
}

.mces-hero-control i {
    font-size: 34px;
    line-height: 56px;
    color: #fff
}

@media(max-width:1199px) {
    .mces-hero .carousel-inner, .mces-hero .item {
        height: 620px
    }

    .mces-hero-copy h2 {
        font-size: 38px
    }

    .mces-hero-copy h3 {
        font-size: 31px
    }

    .mces-hero-description, .mces-hero-description p {
        font-size: 16px
    }

    .menubar nav > ul > li > a {
        padding: 7px 8px;
        font-size: 13px
    }
}

@media(max-width:900px) {
    .top-menusec {
        height: auto
    }

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 620px
    }

    .mces-hero-left {
        width: 100%;
        height: 44%;
        clip-path: none
    }

    .mces-hero-separator {
        left: -5%;
        top: 41%;
        width: 110%;
        height: 15px;
        transform: skewY(-2deg);
        box-shadow: 0 7px 0 #16338f
    }

    .mces-hero-copy, .mces-hero-copy-wide {
        left: 8%;
        top: 49%;
        width: 84%;
        transform: none
    }

        .mces-hero-copy h2 {
            font-size: 31px
        }

        .mces-hero-copy h3 {
            font-size: 26px
        }

    .mces-hero-control.left {
        left: 12px
    }

    .mces-hero-control.right {
        right: 12px
    }
}

@media(max-width:575px) {
    .mces-hero .carousel-inner, .mces-hero .item {
        height: 650px
    }

    .mces-hero-left {
        height: 36%
    }

    .mces-hero-separator {
        top: 34%
    }

    .mces-hero-copy, .mces-hero-copy-wide {
        top: 40%;
        left: 7%;
        width: 86%
    }

        .mces-hero-copy h2 {
            font-size: 27px
        }

        .mces-hero-copy h3 {
            font-size: 23px
        }

    .mces-hero-description, .mces-hero-description p {
        font-size: 14px;
        line-height: 1.5
    }

    .mces-hero-btn {
        padding: 10px 17px;
        font-size: 12px
    }

    .mces-hero-control.carousel-control {
        width: 44px;
        height: 44px
    }

    .mces-hero-control i {
        font-size: 27px;
        line-height: 44px
    }
}
