:root {
    --indigo: #a12eb7;

    --navbarHeight: 200px;
}

.background_logo {
    width: 25%;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.1s ;
}

.hidelogo {
    opacity: 0;
}

.UfcNavbar {
    background-image: none !important;
    background-color: var(--header-bg) !important;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    margin: 0 auto;
    width: 100%;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    transition: padding-top 0.3s ease;
    /* top:20px; */
}

.navbar-light {
    background-color: var(--header-bg) !important;
}

.navbar {
    background-color: var(--header-bg) !important;
}

/* Header Shrink on Scroll */
.UfcNavbar.scrolled {
    padding-top: 5px !important;
}

.UfcNavbar.scrolled .SearchDiv {
    height: 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
    opacity: 0;
}

.UfcNavbar.scrolled .background_logo {
    opacity: 0 !important;
}

.UfcNavbar .SearchDiv {
    transition: height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
}

.ufc-container {
    max-width: 100% !important;
}

.backgroud_white {
    background-color: white;
    height: 60px;
    width: 100%;
}

.navItemForm {
    width: 100%;
}

.mainlink {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.mainlink span {
    color: white;
}

/* Dynamic header page links - default white color */
.dynamic-header-link span,
.dynamic-header-link .change_ka,
.dynamic-header-link .change_en {
    color: white !important;
}

.nav-link.active > span{
    color: #a84498 !important;
}
.nav_ul {
    width: 100%;

    justify-content: flex-end;
}

.language_parent {
    margin-left: 20px;
}

.nav-link.active {
    background-color: white;
    border-radius: 10px;
    box-shadow: none;
    color: #a30f97 !important;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    font-weight: bold;
    opacity: 1 !important;
}

.nav-link.active:hover {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.nav-link {
    opacity: 0.7;
    transition: 0.1s ease;
    font-size: 17px;
    font-family: mtavruli;
}

.hide {
    display: none;
}

.LangBtn {
    font-size: 12px;
    opacity: 0.7;
    font-family: mtavruli;
}

.nav-link:hover,
.LangBtn:hover {
    opacity: 0.9;
    transform: scale(1.04);
}

.pagehref,
.pagehref:hover {
    color: white;
    font-weight: bold;
}

.langDiv {
    display: flex;
}

/* .language_parent{

    /* width:100%;

    text-align: right; */

/* } */

.LangBtn {
    outline: 0 !important;
    border: none !important;
}

.LangBtn:focus,
.LangBtn:active {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    outline: 0 !important;
    border: none !important;
}

.SearchDiv {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    width: 100%;
    height: var(--navbarHeight);
    margin-left: 40px;
    overflow: hidden;
    margin-top: 60px;
}

.result_always {
    font-size: 53px;
    color: white;
    font-family: mtavruli;
}

.showheader {
    animation: changershow 0.3s linear forwards;
    overflow: visible;
}

@keyframes changershow {
    0% {
        height: 0px;

        margin-top: 0px;
    }

    100% {
        height: var(--navbarHeight);

        margin-top: 50px;
    }
}

.hideheader {
    animation: changerhide 0.3s ease forwards;
    overflow: hidden;
}

@keyframes changerhide {
    0% {
        height: var(--navbarHeight);

        margin-top: 50px;
    }

    100% {
        height: 0px;

        margin-top: 0px;
    }
}

.Searchinput {
    border-radius: 13px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 400px !important;
    padding: 0px;
    height: 30px;
    border: 0px !important;
    white-space: nowrap;
    transition: width ease 0.25ms;
    overflow: hidden;
    padding: 18px;
    padding-left: 35px !important;
    padding-right: 25px;
}

.search_div {
    display: flex;
    position: relative;
    margin-bottom: 10px;
    overflow: visible;
    margin-top: 90px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;

    appearance: none;
}

.search_enter {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    right: -55px;
    padding: 3px;
    transition: 0.5s ease;
    background-color: grey;
    color: White;
    padding-right: 10px;
    cursor: pointer;
}

.lets_search {
    transform: translateX(-54px);
}

.SearchIcon {
    color: white;
    margin-top: 5px;
    position: absolute;
    left: 10px;
    color: grey;
    font-size: 27px;
}

.navbarToggler {
    margin-left: 10px;
}

.dropdown:hover > div {
    display: block;
}

.dropdown-parent {
    position: absolute;
    display: none;
}

.dropdown-content {
    width: auto;
    margin-top: 2px;
    border-radius: 10px;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    animation: growDown 300ms ease forwards;
    transform-origin: top center;
}

.visible {
    display: block !important;
}

@keyframes growDown {
    0% {
        transform: scaleY(0);

        opacity: 0;
    }

    100% {
        transform: scaleY(1);

        opacity: 1;
    }
}

.dropdown-content > a {
    text-decoration: none;
}

.dropdown-content > a > p {
    color: var(--indigo) !important;
    margin-bottom: 5px;
    cursor: pointer;
    font-family: mtavruli;
    /* border-bottom: 1px solid rgb(206, 206, 206); */
}

.dropdown-content > a > p:hover {
    font-weight: bold;
}


.dropdown-content > section > a {
    text-decoration: none;
}

.dropdown-content > section > a > p {
    color: var(--indigo) !important;
    margin-bottom: 5px;
    cursor: pointer;
    font-family: mtavruli;
    /* border-bottom: 1px solid rgb(206, 206, 206); */
}

.dropdown-content > section > a > p:hover {
    font-weight: bold;
}

.absolute {
    position: absolute;
}

.toggler-icon {
    color: white !important;
    font-size: 35px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.MainSpan {
    display: none;
}

.navbarLogo img{
    height: 65px;
}

.searchInfo{
    position: fixed;
    top: 50%;
    right: 0px;
    background-color: #ffffff;
    z-index: 2;
    width: 0px;
    height: 40px;
    /* padding: 10px; */
    /* border-radius: 10px; */
    display: block;
    transition: width 0.5s;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
    border-top-right-radius: 11px;
    border-bottom-right-radius: 11px;
}

.searchInfo input{
    background-color: rgba(255, 255, 255, 0.7);
    height: 40px;
    border: 0px !important;
    transition: width ease 0.25ms;
    padding-left: 12px !important;
    padding-right: 25px;
}

.searchDivSecond{
    display: none;
    position: fixed;
    top: 54%;
    height: 400px;
    overflow: auto;
    width: 40%;
    background-color: white;
    right: 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
}
.searchDivStyle{
    display: flex;
    width: 350px;
    justify-content: flex-end;
}
.searchDiv{
    max-height: 400px;
    overflow: auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    position: absolute;
    top: 335px;
}

.searchDivSecond div,
.searchDiv div{
    width: 100%;
    padding: 10px;
}
.searchDivSecond a,
.searchDiv a{
    text-decoration: none;
    color:  rgb(33,37,41);
}
.titleDiv h3{
    color: #a12eb7 !important;
    font-weight: bold;
    font-size: 16px;
    font-family: mtavruli;
}

.aboutcard div{
    color: #636363;
    font-weight: bold;
    overflow: hidden;
    transition: height 0.3s;
}

/* .searchDivSecond div ul,
.searchDivSecond div span, */
.searchDiv div ul,
.searchDiv div span,
.parentDiv p{
    background-color: white !important;
    color:  rgb(33,37,41);
    font-size: 13px;
}
.activecard{
    transform: scale(1.03);
    border-left: 4px solid #a12eb7;
    border-right: 4px solid #a12eb7;
}

.showSearchDiv{
    display: none;
}
.SearchInputDiv{

    width: 40px;
    height: 40px;
    background-color: #a12eb7;
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 20;
    cursor: pointer;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
    box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
}

.SearchInputDiv span{
    color: white;
    vertical-align: middle;
    position: relative;
    transform: translate(40%, 35%);
    font-size: 25px;
}

.scrollTopDiv{
    display: none;
    position: fixed;
    right: 6px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    background-color: #a12eb7;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
    z-index: 4;
}

.scrollTopDiv span{
    color: white;
    vertical-align: middle;
    position: relative;
    transform: translate(35%, 40%);
    font-size: 30px;
    font-weight: bold;
}

.CLearInput{
    position: relative;
    right: 30px;
    top: 5px;
    float: right;
    font-weight: bold;
    color: #a12eb7;
    cursor: pointer;
    outline: none;
}

.searchInfo span{
    position: absolute;
    top: 8px;
    right: 1px;
    font-weight: bold;
    color: #a12eb7;
    cursor: pointer;
    outline: none;
}

.closeInput{
    display: none;
}
@media screen and (max-width: 1434px) {
    .searchDivStyle {
        width: 300px;
    }
}

@media screen and (max-width: 1340px) {
    .searchDivStyle {
        width: 215px;
    }
}

@media screen and (max-width: 1192px) {
    .nav-link {
        font-size: 20px;
    }
}

@media screen and (max-width: 1192px) {
    .navbarToggler {
        flex-direction: column;
    }

    .navItemForm {
        width: 100%;

        justify-content: flex-end;
    }

    .langDiv {
        float: right;
    }

    .navItemForm {
        margin-right: 40px !important;

        margin-top: 5px;
    }

    .nav-link {
        font-size: 15px !important;
    }

    .Searchinput {
        padding-left: 40px !important;
    }

    .SearchDiv {
        margin-top: 15px;
    }

    .navbar-brand {
        margin-right: 0px;
    }
    .searchDiv{
        top: 330px;
    }

    .searchDiv div{
        padding: 10px;
        margin: 0;
    }

}

@media screen and (max-width: 1130px) {
    .nav-link {
        font-size: 14px !important;
        padding: 9px;
    }
    .searchDivStyle {
        width: 165px;
    }

}

@media screen and (max-width: 900px) {
    .UfcNavbar {
        background-size: 104%;
    }
}

@media screen and (min-width: 991px) {
    .language_parent {
        position: relative !important;
    }
}

@media screen and (max-width: 991px) {
    :root {
        --navbarHeight: 30px;
    }

    .search_div {
        width: 200px;
        margin-top: 10px;
    }

    body {
        padding-top: 100px;
    }

    .dropdown-parent {
        opacity: 0;
    }

    .navbar-brand {
        margin-top: 0px;
    }

    .MainSpan {
        display: block;
    }

    .result_always {
        font-size: 20px;
        margin-top: -40px;
    }

    .navItemForm {
        justify-content: flex-start;
        margin-left: 0px !important;
    }

    .nav_ul {
        flex-direction: column !important;

        width: 94%;
    }

    .language_parent {
        margin-right: 60px;
    }

    .nav-link {
        text-align: center;
    }

    .nav-item {
        box-sizing: content-box !important;
    }


    .SearchDiv {
        margin-left: 30px;
        /* overflow: visible; */
    }

    .language_parent {
        margin-right: 30px;
        bottom: 10px;
        right: 20px;
    }

    .searchDiv{
        top: 170px;
    }

    .searchDiv div{
        padding: 10px;
        margin: 0;
    }
    .searchDivStyle {
        display: flex;
        width: 165px;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 465px) {
    .language_parent {
        position:fixed;
        margin-right: 0px;
        right: 10px;
        top:17px;
        height: 30px;
    }

    .ufc-container {
        padding-left: 0px;
        justify-content: initial !important;
    }

    .navbar-brand {
        padding-right: 6px;
    }

    .navbar-brand{
        display:none;
    }

    .LangBtn {
        font-size: 12px;
    }

    .SearchDiv {
        margin-left: 15px;
    }
    .searchDiv{
        top: 145px;
    }

    .searchDiv div{
        padding: 10px;
        margin: 0;
    }

    .searchDivStyle {
        display: flex;
        width: 170px;
        /* height: 74px; */
        justify-content: flex-end;
        margin-top: -9px;
    }

    .searchInfo,
    .SearchInputDiv{
        top: 25%;
    }
    .searchDivSecond{
        width: 90%;
        top: 31%;
        height: 290px;
    }

    .search_div {
        margin-top: 10px;
    }

}

/* ===========================================
   SERVICE DROPDOWN MENU STYLES
   =========================================== */

.dropdown-service {
    position: relative;
}

.dropdown-service .dropdown {
    position: relative;
}

.dropdown-toggle-service {
    cursor: pointer;
    position: relative;
}

.dropdown-toggle-service::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown-service:hover .dropdown-toggle-service::after {
    transform: rotate(-135deg);
}

.dropdown-parent-service {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding-top: 10px;
    z-index: 1000;
}

.dropdown-service:hover .dropdown-parent-service {
    display: block;
}

.dropdown-content-service {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 220px;
    animation: dropdownFadeIn 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item-service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: mtavruli;
    font-size: 0.9rem;
}

.dropdown-item-service:hover {
    background: linear-gradient(135deg, rgba(161, 46, 183, 0.1), rgba(102, 126, 234, 0.1));
    color: var(--indigo);
    transform: translateX(5px);
}

.dropdown-item-service .material-icons {
    font-size: 20px;
    color: var(--indigo);
    opacity: 0.8;
}

.dropdown-item-service:hover .material-icons {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .dropdown-parent-service {
        position: static;
        padding-top: 0;
        display: none;
    }
    
    .dropdown-service:hover .dropdown-parent-service,
    .dropdown-service.active .dropdown-parent-service {
        display: block;
    }
    
    .dropdown-content-service {
        box-shadow: none;
        border: none;
        padding: 0;
        padding-left: 1rem;
        background: transparent;
        min-width: auto;
    }
    
    .dropdown-item-service {
        padding: 8px 12px;
        color: white;
    }
    
    .dropdown-item-service:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: none;
    }
    
    .dropdown-item-service .material-icons {
        color: white;
    }
}
