/* Floating button styling */
.translate-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #007bff;
	color: #fff;
	padding: 10px 15px;
	border-radius: 50px;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	transition: 0.3s ease-in-out;
	z-index: 9999;
}

.translate-btn:hover {
	background: #0056b3;
}

/* Translate dropdown styling */
.translate-container {
	position: fixed;
	bottom: 70px;
	right: 20px;
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	display: none;
	z-index: 9999;
}

/* Hide Google Translate tooltip */
.goog-te-banner-frame.skiptranslate,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-balloon-frame {
	display: none !important;
}


/*master file css*/

.custom-badge {
	display: inline-block;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	background-color: var(--primary-color);
	/* Or any color */
	border-radius: 12px;
	text-transform: uppercase;
}

.btn {
	background: linear-gradient(45deg, var(--yellow-color), var(--green-color), var(--primary-color), var(--coral-color));
	background-size: 300% 300%;
	animation: gradientAnimation 12s ease-in-out infinite;
	/* Slower gradient animation */

	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.6s ease;
	/* Slower hover effect transition */
}

.btn:hover {
	transform: scale(1.05);
}

/* Keyframes to animate the gradient */
@keyframes gradientAnimation {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}


/*end*/

/*sidebar fixed for activity or project*/
.sticky-sidebar {
	position: sticky;
	top: 100px;
	/* adjust based on your fixed header height */
}


/*end*/


.news-event {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    background: #e977421f;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.scroll-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-news {
    display: flex;
    flex-direction: column;
    animation: scrollUpLinear 15s linear infinite;
}

.scrolling-news ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.scrolling-news li {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-bottom: 2px dotted var(--thm-topbar-bg-color, #007bff);;
    width: 100%;
}

.news-date {
    background-color: var(--thm-topbar-bg-color, #007bff);
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    margin-right: 10px;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.news-date small {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.news-text a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

/* Infinite seamless scroll keyframes */
@keyframes scrollUpLinear {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
