body {
    font-family: 'Barlow', sans-serif;
    background-color: #F5F6F5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    transition: background-color 0.3s ease;

}




/* Body overlay için pseudo element kullan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 998;
}

body.menu-active::before {
    background-color: #00000088;
}

/* Navbar ve menüler daha yüksek z-index olmalı */
.navbar {
    position: relative;
    z-index: 999;
}

.submenu {
    z-index: 1000;
}

.submenu .submenu {
    z-index: 1001;
}





header {
    position: relative;
    z-index: 999;
}



a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0px;
}


.a1 {
    background-color: #ED1C23 !important;
}

.a2 {
    color: #F9F5EC !important;
}

.a2:hover {
    color: #E0E7F0 !important;
}

.a3 {
    background-color: #1425B4 !important;
}

.a4 {
    width: 160px;
}

.a5 {
    background: #231F20 !important;
    border: 1px solid #ED1C23 !important;
}

.a6 {
    background: #ED1C23;
    padding: 17px;
}

.a7 {
    margin-left: 6px;
}

.a8 {
    background-color: #1425B4 !important;
}

.a9 {
    color: #F9F8F6;
}

.a10 {
    background: #F0F0F0 !important;
    border: 1px solid #1A1A1A;
}

.a11 {
    font-size: 3rem;
}

.a12 {
    color: #1A1A1A;
    font-size: 2rem;
}


.a13 {
    color: #1A1A1A;
}

.a14 {
    background-color: #084FC2;
}

.a15 {
    font-family: "Big Shoulders", sans-serif;
    font-size: 10rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
}

.a16 {
    font-family: 'Barlow', sans-serif;
    font-weight: 500 !important;
    font-size: 1rem !important;
    margin-top: 0;
    margin-top: -10px;
}

.a17 {
    font-family: "Big Shoulders", sans-serif;
    font-size: 4rem !important;
    font-weight: 800 !important;
}


.a18 {
    background-color: rgb(82 109 128 / 5%) !important;
}

.a19 {
    color: #084FC2;
}

.a20 {
    background-color: #084FC2 !important;
}


.a21 {
    color: #526d80 !important;
}

.a22 {
    font-size: 13px !important;
    color: #526d80 !important;
}



.a23 {
    color: #1A1818 !important;
}

.a23:hover {
    color: #1425B4 !important;
}

.mt130 {margin-top: 130px;}

.mobilMenuBG {background: #1425b4;
    color: white !important;
    padding: 10px;}

.w-75 {
    width: 93% !important;
}

hr {
    margin: 1rem auto;
    color: #F9F8F6;
    border: 0;
    border-top: 1px solid #F9F8F6;
    opacity: 1;
    width: 50% !important;
}

.hr {
    margin: 0rem auto;
    color: #1A1A1A;
    border: 0;
    border-top: 1px solid #1A1A1A;
    opacity: 1;
    width: 100% !important;
}

.hr2 {
    margin: 0rem auto;
    color: #1A1A1A;
    border: 0;
    border-top: 1px solid #1A1A1A;
    opacity: 1;
    width: 100% !important;
}


.carousel-center-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}


/* Ana kapsayıcı */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Metin bandının yüksekliğini belirler */
    height: 3rem;
}

/* Kayan metnin kendisi */
.marquee-content {
    margin-top: 10px;
    display: inline-block;
    animation: marquee 15s linear infinite;
    /* Animasyon hızını buradan ayarlayın */
}

/* Animasyon efekti */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
        /* Metnin yarısı kadar kaydır */
    }
}

/* Fare üzerine gelindiğinde animasyonu duraklatır */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Haber başlıkları arasındaki boşluk */
.news-item {
    text-decoration: none;
    color: inherit;
    padding-right: 20px;
}



.tool-marquee {
    margin-top: 40px;
    display: flex;
    overflow: hidden;
    width: 100%;
}

.tool-marquee .all-tools {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    will-change: transform;
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

.tool-marquee .all-tools:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}




.card-with-zoom {
    overflow: hidden;
    /* Görselin kapsayıcıdan taşmasını engeller */
}

.card-with-zoom img {
    transition: transform 0.5s ease-in-out;
    /* Yumuşak geçiş efekti sağlar */
    transform: scale(1);
    /* Başlangıç boyutu */
}

/* Fare görselin üzerine geldiğinde */
.card-with-zoom:hover img {
    transform: scale(1.1);
    /* %10 yakınlaştırma */
}

.card-with-square {
    position: relative;
    overflow: hidden;
}

.card-with-square::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 20px;
    background-color: #084FC2;
    transform: translateY(50%);
}


/* Kapsayıcıya zoom efekti için overflow özelliği eklenir. */
.zoom-container {
    overflow: hidden;
}

/* Görselin geçiş efektleri ve başlangıç boyutu ayarlanır. */
.zoom-container img {
    transition: transform 0.5s ease;
    /* Yumuşak bir geçiş sağlar */
    transform: scale(1);
    /* Başlangıçta normal boyutunda olur */
}

/* Kapsayıcının üzerine gelindiğinde görseli yakınlaştırır. */
.zoom-container:hover img {
    transform: scale(1.1);
    /* %10 oranında yakınlaştırma */
}



.effect-1 {
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.effect-1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1A1818;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.effect-1:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.effect-2 {
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.effect-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.effect-2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* ---- 3. Renk Değiştirme ve Altı Çizgi Efekti ---- */
.effect-3 {
    position: relative;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.effect-3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 0;
    left: 0;
    background-color: #084FC2;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.effect-3:hover {
    color: #084FC2;
}

.effect-3:hover::after {
    transform: scaleX(1);
}


.bi::before,
[class*=" bi-"]::before,
[class^=bi-]::before {
    font-weight: 800 !important;
}




.card-with-overflow {
    position: relative;
    top: -50px;
}

.solution-steps {
    background-color: #004085;
    padding: 100px 0;
}


@media (min-width: 992px) {
    .absolute-desktop {
        position: absolute;
    }
}



.contact-section {
    background: url(images/footer-bg.png) no-repeat right top, #e0e0e0;
    padding: 30px 0;
    /* Üstten ve alttan boşluk */
}

.contact-section h2 {
    font-size: 3rem;
}

.contact-card {
    background-color: transparent;
    /* Kart arka planını şeffaf yap */
    border: none;
    /* Kenarlık kaldırma */
}

.google-maps-btn {
    background-color: #F5F6F5;
    color: #333;
    border: 0px solid #ccc;
    transition: all 0.3s ease;
}

.google-maps-btn:hover {
    background-color: #f0f0f0;
    color: #000;
}


.pdfBtn {
    /* background-color: #ED1C23 !important; */
    color: #ED1C23 !important;
    border: 1px solid #ED1C23 !important;
    transition: all 0.3s ease;
    font-size: 14px !important;
}

.pdfBtn:hover {
    background-color: #b80f14;
    color: #fff !important;
    border-radius: 6px !important;
    border: 1px solid #b80f14 !important;
    font-size: 14px !important;
}


.wwwBtn {
    /* background-color: #084FC2 !important; */
    color: #084FC2 !important;
    border: 1px solid #084FC2 !important;
    transition: all 0.3s ease;
    font-size: 14px !important;
}

.wwwBtn:hover {
    background-color: #042f74 !important;
    color: #fff !important;
    border-radius: 6px !important;
    border: 1px solid #042f74 !important;
    font-size: 14px !important;
}







.reveal-box {
    position: relative;
    margin: px auto;
    overflow: hidden;
    text-align: center;
}

.reveal-img {
    width: 100%;
    display: block;
    filter: grayscale(1);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-size: 200% 100%;
    mask-position: right;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    -webkit-mask-position: right;
    transition: mask-position 1.5s ease, -webkit-mask-position 1.5s ease, filter 1.5s ease;
}




.masked-text {
    display: block;
    opacity: 0;
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-size: 200% 100%;
    mask-position: right;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    -webkit-mask-position: right;
    transition: mask-position 1.2s ease, -webkit-mask-position 1.2s ease, opacity 1.2s ease;
}

.reveal-box.revealed .reveal-img {
    filter: grayscale(0);
    mask-position: left;
    -webkit-mask-position: left;
}

.reveal-box.revealed .masked-text {
    opacity: 1;
    mask-position: left;
    -webkit-mask-position: left;
}

.reveal-box p.masked-text {
    transition-delay: 1s;
    font-size: 1.5em;
}



.text {

    white-space: pre-wrap;
    border-right: 2px solid rgb(255, 255, 255);
    padding-right: 5px;
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
}



.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* Zoom Animasyonu */
.carousel-innerX {
    animation: zoom 10s ease-in-out infinite;
}

@keyframes zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}



#yt-widget .yt-servicelink {

    display: none !important;

}

#yt-widget .yt-button_type_left {

    display: none !important;
}




.pdf-modal .modal-dialog {
    max-width: 90%;
    height: 90vh;
}

.pdf-modal .modal-content {
    height: 100%;
}

.pdf-modal .modal-body {
    padding: 0;
    height: calc(100% - 60px);
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-buttons {
    margin: 20px 0;
    text-align: center;
}

.pdf-buttons .btn {
    margin: 0 10px;
}

.modal-header {
    background-color: #084FC2;
    color: white;
    border-bottom: none;
}

.btn-closeIptal {
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-modal .modal-dialog {
        max-width: 95%;
        height: 95vh;
        margin: 2.5vh auto;
    }
}





.dr-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.dr-form-section {
    background: white;
    padding: 40px;

}

.dr-form-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.dr-form-description {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.dr-form-group {
    margin-bottom: 24px;
}

.dr-form-group input,
.dr-form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #f8f9fa;
}

.dr-form-group input:focus,
.dr-form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    background-color: white;
}

.dr-form-group input::placeholder,
.dr-form-group textarea::placeholder {
    color: #a0aec0;
}

.dr-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.dr-submit-btn {
    width: 100%;
    background-color: #084fc2;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dr-submit-btn:hover {
    background-color: #084fc2;
}

.dr-contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dr-contact-card {
    background: white;
    padding: 30px;

    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.dr-contact-icon {
    background-color: #084fc2;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dr-contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.dr-contact-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.dr-contact-details p {
    color: #718096;
    line-height: 1.6;
}

.dr-contact-details a {
    color: #4299e1;
    text-decoration: none;
}

.dr-contact-details a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dr-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dr-form-section {
        padding: 30px 20px;
    }

    .dr-form-section h2 {
        font-size: 2rem;
    }

    .dr-contact-card {
        padding: 20px;
    }
}


p {
    font-size: larger !important;

}



/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #212529;
    text-decoration: none;

    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {

    color: #212529;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 6px;
    color: #1A1818;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* First Level Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: -10px;
}

.nav-item:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    list-style: none;
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;

    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: #f8f9fa;
    color: #212529;
}

/* Second Level Arrow */
.submenu-arrow {
    font-size: 0.7rem;
    color: #6c757d;
    margin-left: 8px;
}

/* Dropdown item */
.dropdown-item {
    position: relative;
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
}

.fw-bold {
    font-weight: bold;
}

/* Submenu (Alt Kategori) */
.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 350px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.dropdown-item:hover>.submenu {
    display: block;
}

/* Submenu item */
.submenu-item {
    position: relative;
}

.submenu-link {
    display: block;
    padding: 10px 15px;
    white-space: break-spaces !important;
    color: #495057;
}

.submenu-link:hover {
    background-color: #f5f5f5;
}

/* Alt-Alt Kategori (3. seviye) */
.submenu-item:hover>.submenu {
    display: block;
}

/* Ok işareti */
.submenu-arrow {
    float: right;
    margin-left: 10px;
}


/* Responsive */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 30px;
    }

    .main-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-link {
        padding: 12px 12px;
        font-size: 0.85rem;
    }

    .dropdown {
        min-width: 200px;
    }

    .submenu {
        min-width: 180px;
    }

    .content h1 {
        font-size: 2.2rem;
    }

    .content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 5px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 10px;
    }

    .content {
        margin-top: 140px;
        padding: 40px 20px;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 1rem;
    }
}



.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    margin: 0;
}

.page-item {
    margin: 0 1px;
}

.page-link {
    color: #666;
    background-color: #e8e8e8;
    border: 1px solid #e8e8e8;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.page-link:hover {
    color: #333;
    background-color: #d4d4d4;
    border-color: #d4d4d4;
}

.page-item.active .page-link {
    background-color: #333;
    border-color: #333;
    color: white;
}

.page-item.active .page-link:hover {
    background-color: #333;
    border-color: #333;
    color: white;
}

.page-item.disabled .page-link {
    color: #999;
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    cursor: not-allowed;
}







:root {
    --mm-ocd-width: 80%;
    --mm-ocd-min-width: 200px;
    --mm-ocd-max-width: 440px
}

body.mm-ocd-opened {
    overflow-y: hidden;
    -ms-scroll-chaining: none;
    overscroll-behavior: none
}

.mm-ocd {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 100%;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
    background: rgba(0, 0, 0, 0);
    -webkit-transition-property: bottom, background-color;
    -o-transition-property: bottom, background-color;
    transition-property: bottom, background-color;
    -webkit-transition-duration: 0s, .3s;
    -o-transition-duration: 0s, .3s;
    transition-duration: 0s, .3s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-delay: .45s, .15s;
    -o-transition-delay: .45s, .15s;
    transition-delay: .45s, .15s
}

.mm-ocd--open {
    bottom: 0;
    background: rgba(0, 0, 0, .25);
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s
}

.mm-ocd__content {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: var(--mm-ocd-width);
    min-width: var(--mm-ocd-min-width);
    max-width: var(--mm-ocd-max-width);
    background: #fff;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease
}

.mm-ocd--left .mm-ocd__content {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0)
}

.mm-ocd--right .mm-ocd__content {
    right: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0)
}

.mm-ocd--open .mm-ocd__content {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.mm-ocd__backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: clamp(calc(100% - var(--mm-ocd-max-width)), calc(100% - var(--mm-ocd-width)), calc(100% - var(--mm-ocd-min-width)));
    background: rgba(3, 2, 1, 0)
}

.mm-ocd--left .mm-ocd__backdrop {
    right: 0
}

.mm-ocd--right .mm-ocd__backdrop {
    left: 0
}

.mm-spn,
.mm-spn a,
.mm-spn li,
.mm-spn span,
.mm-spn ul {
    display: block;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

:root {
    --mm-spn-item-height: 50px;
    --mm-spn-item-indent: 20px;
    --mm-spn-line-height: 24px;
    --mm-spn-panel-offset: 30%
}

.mm-spn {
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0)
}

.mm-spn ul {
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    left: 100%;
    bottom: 0;
    z-index: 2;
    width: calc(100% + var(--mm-spn-panel-offset));
    padding-right: var(--mm-spn-panel-offset);
    line-height: var(--mm-spn-line-height);
    overflow: visible;
    overflow-y: auto;
    background: inherit;
    -webkit-transition: left .3s ease 0s;
    -o-transition: left .3s ease 0s;
    transition: left .3s ease 0s;
    cursor: default
}

.mm-spn ul:after {
    content: "";
    display: block;
    height: var(--mm-spn-item-height)
}

.mm-spn>ul {
    left: 0
}

.mm-spn ul.mm-spn--open {
    left: 0
}

.mm-spn ul.mm-spn--parent {
    left: calc(-1 * var(--mm-spn-panel-offset));
    overflow: visible
}

.mm-spn li {
    position: relative;
    background: inherit;
    cursor: pointer
}

.mm-spn li:before {
    content: "";
    display: block;
    position: absolute;
    top: calc(var(--mm-spn-item-height)/ 2);
    right: calc(var(--mm-spn-item-height)/ 2);
    z-index: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
    -webkit-transform: rotate(45deg) translate(0, -50%);
    -ms-transform: rotate(45deg) translate(0, -50%);
    transform: rotate(45deg) translate(0, -50%);
    opacity: .4
}

.mm-spn li:after {
    content: "";
    display: block;
    margin-left: var(--mm-spn-item-indent);
    border-top: 1px solid;
    opacity: .15
}

.mm-spn a,
.mm-spn span {
    position: relative;
    z-index: 1;
    padding: calc((var(--mm-spn-item-height) - var(--mm-spn-line-height))/ 2) var(--mm-spn-item-indent)
}

.mm-spn a {
    background: inherit;
    color: inherit;
    text-decoration: none
}

.mm-spn a:not(:last-child) {
    width: calc(100% - var(--mm-spn-item-height))
}

.mm-spn a:not(:last-child):after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-right: 1px solid;
    opacity: .15
}

.mm-spn span {
    background: 0 0
}

.mm-spn.mm-spn--navbar {
    cursor: pointer
}

.mm-spn.mm-spn--navbar:before {
    content: "";
    display: block;
    position: absolute;
    top: calc(var(--mm-spn-item-height)/ 2);
    left: var(--mm-spn-item-indent);
    width: 10px;
    height: 10px;
    margin-top: 2px;
    border-top: 2px solid;
    border-left: 2px solid;
    -webkit-transform: rotate(-45deg) translate(50%, -50%);
    -ms-transform: rotate(-45deg) translate(50%, -50%);
    transform: rotate(-45deg) translate(50%, -50%);
    opacity: .4
}

.mm-spn.mm-spn--navbar.mm-spn--main {
    cursor: default
}

.mm-spn.mm-spn--navbar.mm-spn--main:before {
    content: none;
    display: none
}

.mm-spn.mm-spn--navbar:after {
    content: attr(data-mm-spn-title);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mm-spn-item-height);
    padding: 0 calc(var(--mm-spn-item-indent) * 2);
    line-height: var(--mm-spn-item-height);
    opacity: .4;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis
}

.mm-spn.mm-spn--navbar.mm-spn--main:after {
    padding-left: var(--mm-spn-item-indent)
}

.mm-spn.mm-spn--navbar ul {
    top: calc(var(--mm-spn-item-height) + 1px)
}

.mm-spn.mm-spn--navbar ul:before {
    content: "";
    display: block;
    position: fixed;
    top: inherit;
    z-index: 2;
    width: 100%;
    border-top: 1px solid currentColor;
    opacity: .15
}

.mm-spn.mm-spn--light {
    color: #444;
    background: #f3f3f3
}

.mm-spn.mm-spn--dark {
    color: #ddd;
    background: #333
}

.mm-spn.mm-spn--vertical {
    overflow-y: auto
}

.mm-spn.mm-spn--vertical ul {
    width: 100%;
    padding-right: 0;
    position: static
}

.mm-spn.mm-spn--vertical ul ul {
    display: none;
    padding-left: var(--mm-spn-item-indent)
}

.mm-spn.mm-spn--vertical ul ul:after {
    height: calc(var(--mm-spn-item-height)/ 2)
}

.mm-spn.mm-spn--vertical ul.mm-spn--open {
    display: block
}

.mm-spn.mm-spn--vertical li.mm-spn--open:before {
    -webkit-transform: rotate(135deg) translate(-50%, 0);
    -ms-transform: rotate(135deg) translate(-50%, 0);
    transform: rotate(135deg) translate(-50%, 0)
}

.mm-spn.mm-spn--vertical ul ul li:last-child:after {
    content: none;
    display: none
}



/* ============================================
   BRAND CATEGORIES MODAL
   ============================================ */

/* Modal Overlay */
.brand-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.brand-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Container */
.brand-modal {
    background: white;
    border-radius: 12px;
    width: 96%;
    max-width: 96%;
    max-height: 96vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

/* Modal Header */
.brand-modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-modal-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-modal-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.brand-modal-close {
    background: rgba(255, 255, 255, 0);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.brand-modal-close:hover {
    background: rgba(255, 255, 255, 0);
 
}

/* Modal Body */
.brand-modal-body {
    padding: 30px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

/* Categories Grid (Multi-Column) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Category Card */
.category-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.15);
}

.category-card-title {
    font-weight: bold;
    
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc3545;
}

/* Subcategories List */
.subcategories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategories-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.subcategories-list li:last-child {
    border-bottom: none;
}

.subcategories-list a {
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    
}

.subcategories-list a:hover {
    color: #dc3545;
    padding-left: 5px;
}

.subcategories-list a::before {
    content: "→";
    color: #dc3545;
    font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
.brand-modal-body::-webkit-scrollbar {
    width: 8px;
}

.brand-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.brand-modal-body::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 4px;
}

.brand-modal-body::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-modal {
        width: 95%;
        max-height: 90vh;
    }
}


/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .brand-modal {
        width: 95%;
        max-height: 100vh;
        margin: 10px;
    }
    
    .brand-modal-header {
        padding: 20px;
    }
    
    .brand-modal-title {
        font-size: 18px;
    }
    
    .brand-modal-logo {
        width: 35px;
        height: 35px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}




/* Modal Search Box */
.modal-search-container {
    padding: 20px 30px 10px 30px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.modal-search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.modal-search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
}

.modal-search-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.modal-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    pointer-events: none;
}

.search-result-count {
    text-align: center;
    padding: 10px;
    color: #6c757d;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 50px;
    color: #dc3545;
    font-size: 16px;
}

/* Highlight search results */
.category-card.hidden {
    display: none;
}

.subcategories-list li.hidden {
    display: none;
}

.category-card.highlighted {
    border-color: #dc3545;
    background: #fff;
}