/* ===== NAVBAR BASE STYLES ===== */
.kt-navbar {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
    background: rgba(0, 0, 0, 0.137);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
}

.kt-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 12px 24px; */
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
    /* width: 100%; */
}

/* ===== LOGO SECTION ===== */
.kt-navbar-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kt-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.kt-logo-desktop {
    height: 40px;
    display: none;
}

.kt-logo-mobile {
    height: 40px;
    display: block;
}

/* ===== MENU TOGGLE BUTTONS ===== */
.kt-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    background-color: #f7921a;
    border-radius: 5px;
}

.kt-hamburger {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.kt-close {
    color: white;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
}

/* ===== DESKTOP MENU ===== */
.kt-desktop-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    /* flex: 1; */
    margin: 0 32px;
}

.kt-menu-item,
.kt-menu-dropdown {
    position: relative;
}

.kt-menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15.2px;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kt-menu-link:hover {
    color: #f7921a;
}

.kt-dropdown-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.kt-menu-dropdown:hover .kt-dropdown-toggle::after {
    transform: rotate(225deg);
}

.kt-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    padding: 8px 0;
    z-index: 1001;
}

.kt-menu-dropdown:hover .kt-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kt-dropdown-item {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 14.4px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.kt-dropdown-item:hover {
    background-color: #f5f5f5;
    border-left-color: #f7921a;
    padding-left: 28px;
}

.kt-vip-badge .kt-menu-link {
    gap: 4.8px;
}

.kt-crown-icon {
    margin-left: 4.8px;
}

.kt-is-mobile-only {
    display: none;
}

/* ===== NAVBAR ACTIONS (Desktop) ===== */
.kt-desktop-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kt-search-wrapper {
    display: flex;
}

.kt-search-input {
    padding: 9.6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: rgb(24, 2, 2);
    font-size: 14.4px;
    width: 180px;
    transition: all .3s;
    /* background: #ededed url(/cdn/others/sch.png) no-repeat 1px center;
        border: solid 1px #ccc;
        color: #3c3c3c;
        padding: 9px 10px 9px 32px;
        height: 45px;
        -webkit-border-radius: 10em;
        -moz-border-radius: 10em;
        border-radius: 10em;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        transition: all .5s; */
}

.kt-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6)!important;
}

.kt-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: #f7921a;
    /* width: 100%;
        background-color: #fff;
        border-color: #6dcff6;
        -webkit-box-shadow: 0 0 5px rgba(109, 207, 246, .5);
        -moz-box-shadow: 0 0 5px rgba(109, 207, 246, .5);
        box-shadow: 0 0 5px rgba(109, 207, 246, .5); */
}

.kt-auth-btn {
    padding: 9.6px 19.2px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14.4px;
    transition: all 0.3s ease;
    cursor: pointer;

    color: #fff;
    background-color: #f7921a;
    display: inline-flex;
    align-items: center;
    justify-items: center;
}

.kt-login-btn {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.kt-login-btn:hover {
    border-color: #f7921a;
    color: #f7921a;
}

.kt-signup-btn {
    background-color: #f7921a;
    color: white;
    border: none;
}

.kt-signup-btn:hover {
    background-color: #ff9f1c;
    transform: translateY(-2px);
}

/* ===== MOBILE & TABLET STYLES ===== */
.kt-mobile-actions,
.kt-tablet-actions {
    display: none;
}

.kt-search-btn {
    /* background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: white; */
    height: 43px;
    width: 43px;
    background-color: #9f9fcd;
    border-radius: 50%;
    display: inline-block;
    color: #f7921a;
}

.kt-search-icon {
    width: 20px;
    height: 20px;
}

.kt-mobile-login-btn {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kt-mobile-login-btn:hover {
    color: #f7921a;
}

/* ===== MOBILE MENU ===== */
.kt-mobile-menu {
    position: fixed;
    left: 0;
    top: 65px;
    width: 100%;
    height: calc(100vh - 65px);
    background: white;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.kt-mobile-menu.kt-active {
    transform: translateX(0);
}

.kt-mobile-menu-content {
    padding: 24px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.kt-mobile-menu-section {
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    /* padding-bottom: 1.5rem; */
}

.kt-mobile-menu-section:last-child {
    border-bottom: none;
}

.kt-mobile-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 16px 0;
    position: relative;
    display: block;
    text-decoration: none;
}

.kt-caret {
    position: absolute;
    right: 18px;
    display: none;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.kt-mobile-menu-link {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14.4px;
    transition: color 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 8px;
}

.kt-mobile-menu-link:hover {
    color: #f7921a;
    border-left-color: #f7921a;
}

/* ===== SEARCH OVERLAY ===== */
.kt-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.kt-search-overlay.kt-active {
    opacity: 1;
    visibility: visible;
}

.kt-search-overlay-content {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 16px;
    z-index: 999;
}

.kt-search-overlay-input {
    flex: 1;
    padding: 12.8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.kt-search-overlay-input:focus {
    outline: none;
    border-color: #f7921a;
}

.kt-search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TABLET STYLES ===== */
@media (max-width: 1200px) {
    .kt-navbar-container {
        padding: 12px 16px;
    }

    .kt-desktop-menu {
        margin: 0 16px;
        gap: 24px;
    }

    .kt-menu-link {
        font-size: 14.4px;
    }

    .kt-dropdown-menu {
        min-width: 170px;
    }

    .kt-desktop-actions {
        gap: 12px;
    }

    .kt-search-input {
        width: 140px;
    }

    .kt-auth-btn {
        padding: 8px 16px;
        font-size: 13.6px;
    }

    .kt-desktop-menu {
        display: none;
    }

    .kt-desktop-actions {
        display: none;
    }

    .kt-menu-toggle {
        display: flex;
    }

    .kt-logo-desktop {
        display: none;
    }

    .kt-logo-mobile {
        display: block;
    }

    .kt-tablet-actions {
        display: flex;
        /* flex-direction: column;
            flex: 1; */
        gap: 12px;
        /* margin: 0 16px; */
    }

    .kt-tablet-auth {
        display: flex;
        gap: 12px;
    }
}

@media (max-width: 1000px) {
    .kt-mobile-menu-section {
        width: 25%;
    }

    .kt-signup-btn-tablet,
    .kt-login-btn-tablet {
        padding: 11.2px 16px;
        font-size: 13.6px;
    }

    .kt-search-input-tablet {
        padding: 8px 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 13.6px;
        /* width: 100%;
            max-width: 200px; */
        transition: all .3s;
        width: 100%;
        max-width: 45px;
        background: #ededed url(/cdn/others/sch.png) no-repeat 1px center;
        border: solid 1px #ccc;
        /* color: #3c3c3c; */
        padding: 9px 10px 9px 32px;
        height: 45px;
        -webkit-border-radius: 10em;
        -moz-border-radius: 10em;
        border-radius: 10em;
    }

    .kt-search-input-tablet::placeholder {
        /* color: rgba(255, 255, 255, 0.6); */
        color: #3c3c3c;
    }

    .kt-search-input-tablet:focus {
        outline: none;
        /* background-color: rgba(255, 255, 255, 0.2); */
        color: #3c3c3c;
        border-color: #f7921a;
        max-width: 220px;
        padding-left: 45px;
        /* box-shadow: 0 0 5px rgba(109, 207, 246, .5); */
    }
}

@media (max-width: 768px) {
    .kt-mobile-menu-section {
        width: 33.3%;
    }
}

@media (max-width: 600px) {
    .kt-navbar-container {
        padding: 8px 12px;
    }

    .kt-navbar-logo {
        gap: 8px;
    }

    .kt-logo-mobile {
        /* height: 30px; */
    }

    .kt-menu-toggle {
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .kt-mobile-menu-section {
        width: 100%;
    }

    .kt-mobile-menu-section:hover .kt-caret {
        transform: rotate(5deg);
    }

    .kt-is-mobile-only {
        display: inline;
    }

    .kt-caret {
        display: inline-block;
    }

    .kt-mobile-menu-title {
        cursor: pointer;
        display: flex;
    }
    .kt-mobile-menu-section:hover .kt-mobile-menu-title {
        color: #f7921a;
    }

    .kt-mobile-menu-items {
        transition: all .5s;
        height: 0px;
        opacity: 0;
        transform: translateX(-1000px);
    }

    .kt-mobile-menu-items.kt-mobile-menu-active {
        height: auto;
        opacity: 1;
        transform: translateX(0);
    }

    .kt-hamburger {
        /* width: 20px; */
    }

    .kt-tablet-actions {
        /* flex-direction: row;
            gap: 0.5rem; */
        display: none;
    }

    .kt-tablet-auth {
        flex-direction: column;
        gap: 8px;
    }

    .kt-signup-btn-tablet,
    .kt-login-btn-tablet {
        padding: 6.4px 12.8px;
        font-size: 12.8px;
    }

    .kt-search-input-tablet {
        max-width: 150px;
        padding: 6.4px 12.8px;
        font-size: 12.8px;
    }

    .kt-mobile-actions {
        display: flex;
        gap: 9.6px;
        align-items: center;
    }

    .kt-search-btn {
        padding: 10px;
    }

    .kt-search-icon {
        width: 18px;
        height: 18px;
    }

    .kt-search-overlay-content {
        width: 95%;
        top: 60px;
        flex-direction: column;
    }

    .kt-search-overlay-input {
        padding: 12px;
    }

    .kt-mobile-menu-link {
        padding: 7px 3px;
    }
}