* {
    font-family: kalpurushregular;
}

.mainbg {
    background-image: url('../assets/images/bg_main.gif');
    width: 75%;
}

@media screen and (max-width: 1680px) {
    .mainbg {
        background-image: url('../assets/images/bg_main.gif');
        width: 88%;
    }
}

@media screen and (max-width: 1440px) {
    .mainbg {
        background-image: url('../assets/images/bg_main.gif');
        width: 100%;
    }
}

@media screen and (max-width: 1366px) {
    .mainbg {
        background-image: url('../assets/images/bg_main.gif');
        width: 105%;
    }
}

/* Menu for Large Device */
.menu-item {
    position: relative;
    margin: 2px;
}

.menu-item a {
    text-decoration: none;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.submenu a {
    margin: 10px;
    color: rgb(22, 163, 74);
}

.submenu a:hover {
    text-decoration: underline;
}

.menu-item:hover .submenu {
    display: flex;
    flex-direction: column;
}

/* navbar marquee text */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    border: none;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-animation 25s linear infinite;
    animation-play-state: running;
    padding: 10px;
}

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

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

.marquee-text:hover {
    animation-play-state: paused;
}


.nav-button .active {
    background-color: #22C55E;
    color: #fff;
    padding-left: 0.5rem;
    padding-right: 0.5rem
}

.menu-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem
}



/* Responsive map  */
.map {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    max-width: 100%;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .map {
        padding-bottom: 75%;
        /* Adjust aspect ratio for mobile devices */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .map {
        padding-bottom: 66.66%;
        /* Adjust aspect ratio for tablets */
    }
}
