/*!
Theme Name: maw
Author: featherwebs
Author URI: https://featherwebs.com.np/
Description: Description
Version: 1.0.0
Tested up to: 8.2
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maw
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body.admin-bar header {
	margin-top: 32px;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* HOME SWIPER */
.home-swiper-pagination {
    text-align: left !important;
}

.home-swiper-progress-bar {
    position: relative;
    width: 100%;
    display: block;
    z-index: 1;
    height: 3px;
}

.home-swiper-progress-bar .slide_progress-bar {
    position: absolute;
    height: 3px;
    background: #7a7a7a;
    width: auto;
    clear: both;
    opacity: 0;
    bottom: 0px;
    left: 0;
    right: 0;
}

.home-swiper-progress-bar .slide_progress-bar:after {
    position: absolute;
    top: 0;
    left: 0;
    background: #F0F2F0;
    height: 100%;
    width: 0;
    content: "";
    transition: 0.1s width linear;
}

.home-swiper-progress-bar.active .slide_progress-bar {
    opacity: 1;
}

.home-swiper-progress-bar.animate .slide_progress-bar:after {
    transition: width linear;
    transition-delay: unset;
    width: 100%;
    /* Remove fixed duration - will be set dynamically via JavaScript */
    /* transition-duration: 30s; */
}

/* swiper csr ans skills */
.swiper-pagination-progressbar {
	background: gray !important;
}

.swiper-pagination-progressbar-fill {
	background: #fff !important;
}

.swiper-slide-visible {
	/* padding: 6px 18px !important; */
	cursor: pointer !important;
}

.swiper-slide-thumb-active {
	background: #0058EC !important;
	border-radius: 10px !important;
	color: white !important;
	width: fit-content !important;
}

.swiper-pagination {
	text-align: left !important;
}

.swiper-progress-bar {
	position: relative;
	width: 100%;
	display: block;
	z-index: 1;
	height: 3px;

	.slide_progress-bar {
		position: absolute;
		height: 3px;
		background: #7a7a7a;
		width: auto;
		clear: both;
		opacity: 0;
		bottom: 0px;
		left: 0;
		right: 0;

		&:after {
			position: absolute;
			top: 0;
			left: 0;
			background: #F0F2F0;
			height: 100%;
			width: 0;
			content: "";
			transition: 0.1s width linear;
		}
	}

	&.active {
		.slide_progress-bar {
			opacity: 1;
		}
	}

	&.animate {
		.slide_progress-bar {
			&:after {
				transition: width linear;
				transition-delay: unset;
				width: 100%;
				transition-duration: 4s;
			}
		}
	}
}

/* brands */
#brandPopup.active {
	opacity: 1;
	pointer-events: auto;
}

#brandPopup.active>div {
	transform: scale(1);
}

.scroll-locked {
	overflow: hidden;
	/* padding-right: 17px; */
}

.about-text {
	color: #DEE2E6
		/* Tailwind's text-gray-500 */
}

.word {
	display: inline-block;
	color: #DEE2E6
		/* Tailwind gray-500 */
}

.progress-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background: #000;
	transition: width 0.1s linear;
}

/* megamenu */
body.mega-open .menu-items--js {
	color: black !important;
}

.wpcf7-not-valid-tip {
	font-size: 10px !important;
}


body.scroll-locked {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

.scroll-locked {
	overflow: hidden;
}

.job-card {
	display: none;
}

/* Enhanced popup scrolling styles */
.popup-overlay {
	overscroll-behavior: contain;
}

.scrollable-content {
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	overscroll-behavior: contain;
	/* Ensure the scrollable area is focusable for keyboard/mouse events */
	outline: none;
	/* Improve scrollbar visibility if needed */
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Webkit scrollbar styling for better visibility */
.scrollable-content::-webkit-scrollbar {
	width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.5);
}

/* Ensure popup content doesn't interfere with scrolling */
.popup-overlay.active {
	overflow: hidden;
}

.popup-overlay .scrollable-content {
	/* Force hardware acceleration for smoother scrolling */
	transform: translateZ(0);
	will-change: scroll-position;
}

/* Mobile touch scrolling improvements */
@media (max-width: 768px) {
	.scrollable-content {
		-webkit-overflow-scrolling: touch;
		/* Prevent bounce scrolling from interfering */
		overscroll-behavior-y: contain;
	}
}

/*added by ayush*/
@media only screen and (max-width:768px){
	
	a.md\:w-1\/2.lg\:w-full.lg\:pb-5.xl\:pb-10.mb-6.lg\:mb-5.xl\:mb-10.lg\:border-b.border-\[\#DEE2E6\].last\:border-none {
    padding: 5px;
}	
}