/* Color theme overrides according to the green GMD logo */
.section-title span,
.gallery_enlarge_icon,
.double-bounce1,
.double-bounce2,
.topcontrol,
.video_btn a:hover {
	background-color: #8cc63f !important;
}

.portfolio_filter .active {
	color: #8cc63f !important;
}

.btn_one:hover {
	background: #8cc63f !important;
	border-color: #8cc63f !important;
	color: #fff !important;
}

/* =========================================
		   HERO SECTION
		========================================= */
.hero-section {
	position: relative;
	width: 100%;
	background-color: #f0f5fb;
	margin-top: 80px;
	/* Push section BELOW the fixed navbar */
	overflow: hidden;
}

/* Image: 1672x941 — constrained to viewport height, anchored to top-center */
.hero-section img {
	display: block;
	width: 100%;
	height: calc(100vh - 80px);
	/* Exactly fills remaining screen after navbar */
	object-fit: cover;
	object-position: 50% 20%;
	/* Anchor 20% from top so COSMED logo + features all visible */
}

.hero-section .carousel-item {
	position: relative;
	width: 100%;
}

/* Text overlay sits on the left side of the image */
.hero-overlay-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	display: flex;
	align-items: flex-start;
	/* Align to top */
	padding-top: 60px;
	/* Push text down from the very top edge */
}

.hero-new-title {
	font-size: 48px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	margin-bottom: 18px !important;
}

.hero-new-title .text-blue {
	color: #1b2f4f !important;
}

.hero-new-title .text-green {
	color: #8cc63f !important;
}

.hero-new-divider {
	width: 60px;
	height: 3px;
	background-color: #1b2f4f;
	margin-bottom: 18px;
}

.hero-new-desc {
	color: #4a5568 !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	margin-bottom: 28px !important;
	font-weight: 500 !important;
}

.hero-new-btn {
	display: inline-flex;
	align-items: center;
	background: #8cc63f !important;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	padding: 10px 10px 10px 25px;
	border-radius: 50px;
	text-decoration: none !important;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(140, 198, 63, 0.4);
}

.hero-new-btn .btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #8cc63f;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-left: 15px;
	font-size: 14px;
}

.hero-new-btn:hover {
	background: #1b2f4f !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(27, 47, 79, 0.4);
}

.hero-new-btn:hover .btn-icon {
	color: #1b2f4f;
}

.hero-cta-btn {
	background: #8cc63f !important;
	color: #ffffff !important;
	padding: 14px 40px !important;
	border-radius: 40px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none !important;
	display: inline-block !important;
	box-shadow: 0 8px 25px rgba(140, 198, 63, 0.4) !important;
	border: 2px solid #8cc63f !important;
	transition: all 0.3s ease !important;
}

.hero-cta-btn:hover {
	background: transparent !important;
	border-color: #ffffff !important;
	color: #ffffff !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
	width: 5%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
	opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.hero-cta-btn {
		padding: 10px 30px !important;
		font-size: 13px !important;
	}

	.hero-carousel-content h1.hero-title {
		font-size: 32px !important;
		margin-bottom: 15px !important;
	}

	.hero-carousel-content h2.hero-subtitle {
		font-size: 16px !important;
	}
}

.progress-bar-linear .progress-bar span {
	background: #8cc63f !important;
}

.single-gallery h4 a:hover,
.about_project_details ul li a,
.blog_title_info h2 a:hover,
.home_b_btn:hover,
.single_footer ul li a:hover,
.categories ul li a:hover,
.site-menu li.active>a,
.site-menu li a:hover {
	color: #8cc63f !important;
}

.site-menu li a.active,
.site-navigation .site-menu .active,
.site-mobile-menu .site-nav-wrap li a:hover {
	color: #8cc63f !important;
}

.topcontrol:hover {
	background: #1b2032 !important;
}

/* =========================================
		   HEADER & TOP BAR STYLING
		========================================= */
.top-bar {
	background-color: #1b2f4f;
	/* Dark blue from mockup */
	padding: 8px 0;
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
}

.top-bar .top-bar-text {
	color: #e2e8f0;
}

.top-bar a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s;
}

.top-bar a:hover {
	color: #8cc63f;
}

.site-navbar {
	padding: 10px 0 !important;
	background-color: #1b2032 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	position: fixed !important;
	/* Always fixed at top — banner will never hide behind it */
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	z-index: 9999 !important;
	transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.site-navbar .site-logo img {
	max-height: 65px !important;
	width: auto;
	transition: all 0.3s ease;
	filter: none !important;
}

/* When sticky, navbar stays fixed (already fixed above — just ensure shadow updates) */
.sticky-wrapper.is-sticky .site-navbar {
	padding: 10px 0 !important;
	background-color: #1b2032 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure menu links are white on dark background */
.site-navbar .site-navigation .site-menu>li>a {
	color: #ffffff !important;
	font-weight: 600;
}

.site-navbar .site-navigation .site-menu>li>a:hover,
.site-navbar .site-navigation .site-menu>li>a.active {
	color: #8cc63f !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu>li>a {
	color: #ffffff !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu>li>a:hover {
	color: #8cc63f !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu>li>a:hover {
	color: #8cc63f !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-logo img {
	filter: none !important;
}

/* Fix hero banner fitting and preserve main subject across devices */
#kenburns_061,
#kenburns_061 .carousel-item {
	max-height: 90vh !important;
	height: 90vh !important;
}

#kenburns_061>.carousel-inner>.carousel-item>img {
	width: 100% !important;
	height: 90vh !important;
	object-fit: cover !important;
	object-position: center top !important;
	opacity: 0.9 !important;
	display: block !important;
}

.kenburns_061_slide {
	top: 25% !important;
}

/* Tablet: reduce hero height and nudge focal point up */
@media (max-width: 991px) {

	#kenburns_061,
	#kenburns_061 .carousel-item {
		max-height: 65vh !important;
		height: 65vh !important;
	}

	#kenburns_061>.carousel-inner>.carousel-item>img {
		height: 65vh !important;
		object-position: 30% 40% !important;
	}

	.kenburns_061_slide {
		top: 18% !important;
	}
}

/* Mobile: further reduce height and shift focal point up to keep subject visible */
@media (max-width: 767px) {

	#kenburns_061,
	#kenburns_061 .carousel-item {
		max-height: 50vh !important;
		height: 50vh !important;
	}

	#kenburns_061>.carousel-inner>.carousel-item>img {
		height: 50vh !important;
		object-position: 25% 30% !important;
	}

	/* Very small screens: show whole subject when possible */
	@media (max-width: 480px) {
		#kenburns_061>.carousel-inner>.carousel-item>img {
			object-fit: contain !important;
			object-position: left center !important;
			height: auto !important;
			max-height: 60vh !important;
		}
	}

	.kenburns_061_slide {
		top: 12% !important;
		padding: 0 15px !important;
	}
}


/* Preloader fallback override */
.double-bounce1,
.double-bounce2 {
	background-color: #8cc63f !important;
}

/* Custom Premium Specialities Cards styling */
.feature_area {
	margin-top: -60px !important;
	padding-bottom: 80px !important;
	position: relative;
	z-index: 10;
}

.feature_bg .section-title p {
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.feature_bg {
	background: #ffffff !important;
	box-shadow: 0px 25px 60px rgba(0, 0, 0, 0.15) !important;
	padding: 50px 30px 20px !important;
	border-radius: 20px !important;
	border-top: 5px solid #8cc63f !important;
	margin: 5px !important;
}

/* Speciality Circular Card Design */
.speciality-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 60px;
}

@keyframes floatCard {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-8px);
	}

	100% {
		transform: translateY(0px);
	}
}

.speciality-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 0 0 30px;
	text-align: center;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
	position: relative;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.4s ease;
	height: auto;
	/* Allow flex stretch to work */
	align-self: stretch;
	/* Force stretch */
	border: none;
	text-decoration: none !important;
	overflow: hidden;
	animation: floatCard 4s ease-in-out infinite;
}

.speciality-card:hover {
	transform: translateY(-12px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.speciality-header-bg {
	height: 120px;
	width: 100%;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(135deg, #8cc63f, #4d9c2d);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	clip-path: ellipse(100% 100% at 50% 0%);
}

/* Marquee overrides for equal height */
.speciality-marquee-track {
	padding: 15px 0 35px 0;
	/* space for shadow */
}

.speciality-marquee-track .speciality-card {
	width: 320px;
	margin: 0 15px;
	flex-shrink: 0;
	min-height: 480px;
	/* To make them equal height */
}

@media (max-width: 768px) {
	.speciality-marquee-track .speciality-card {
		width: 280px;
	}
}

/* Add variations for different cards by using nth-child in PHP if possible or default to a cool gradient */
.speciality-img-wrapper {
	width: 130px;
	height: 130px;
	margin: 50px auto 20px;
	border-radius: 50%;
	background: #fff;
	padding: 6px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	z-index: 2;
	position: relative;
}

.speciality-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff;
}

.speciality-content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	padding: 0 25px;
	z-index: 2;
	position: relative;
}

.speciality-title {
	font-size: 22px;
	font-weight: 800;
	color: #1b2032;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.speciality-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin-bottom: 15px;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.speciality-brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
	min-height: 50px;
	max-height: 105px;
	overflow-y: auto;
	padding: 5px;
}

/* Custom scrollbar for speciality brands */
.speciality-brands::-webkit-scrollbar {
	width: 6px;
}

.speciality-brands::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.speciality-brands::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.speciality-brands::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.speciality-brand-logo {
	height: 40px;
	max-width: 90px;
	object-fit: contain;
	transition: all 0.3s ease;
}

.speciality-card:hover .speciality-brand-logo {
	transform: scale(1.1);
}

.speciality-btn {
	background: #8cc63f;
	color: #ffffff !important;
	border-radius: 25px;
	padding: 12px 25px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-block;
	transform: translateY(-2px);
	border: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(140, 198, 63, 0.3);
}

.speciality-btn:hover {
	background: #7bb534;
	box-shadow: 0 8px 20px rgba(140, 198, 63, 0.4);
	transform: translateY(-4px);
}

@media (max-width: 1199px) {
	.speciality-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 991px) {
	.speciality-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.speciality-grid {
		grid-template-columns: 1fr;
	}
}

.smooth-contact-area {
	background: #fcfcfd;
	padding: 100px 0;
}

.smooth-contact-form {
	background: #ffffff;
	border-radius: 24px;
	padding: 60px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.smooth-contact-form .form-control {
	background: #f8f9fa;
	border: 1px solid transparent;
	border-radius: 12px;
	height: 60px;
	padding: 0 20px;
	font-size: 15px;
	color: #333;
	box-shadow: none;
	transition: all 0.3s ease;
}

.smooth-contact-form textarea.form-control {
	height: auto;
	padding: 20px;
}

.smooth-contact-form .form-control:focus {
	background: #ffffff;
	border-color: #8cc63f;
	box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.1);
}

.smooth-contact-btn {
	background: #8cc63f;
	color: #ffffff;
	border: none;
	border-radius: 12px;
	height: 60px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	width: 100%;
}

.smooth-contact-btn:hover {
	background: #1b2032;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Premium Impact Section */
.premium-impact {
	background: linear-gradient(135deg, #1b2032 0%, #2a324b 100%);
	padding: 80px 0;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.premium-impact::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(140, 198, 63, 0.05) 0%, transparent 60%);
	z-index: 1;
}

.impact-item {
	position: relative;
	z-index: 2;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-item:last-child {
	border-right: none;
}

.impact-number {
	font-size: 54px;
	font-weight: 800;
	color: #8cc63f;
	margin-bottom: 10px;
	line-height: 1;
}

.impact-text {
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.8);
}

/* Premium Why Choose Us */
.premium-why {
	padding: 100px 0;
	background: #fdfdfd;
}

.premium-why-content h2 {
	font-size: 42px;
	font-weight: 800;
	color: #1b2032;
	margin-bottom: 25px;
	line-height: 1.2;
}

.premium-why-content p {
	font-size: 16px;
	color: #666;
	line-height: 1.8;
	margin-bottom: 30px;
}

.premium-why-img {
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	position: relative;
	z-index: 2;
}

.premium-why-img-container::after {
	content: '';
	position: absolute;
	top: 20px;
	left: -20px;
	right: 20px;
	bottom: -20px;
	border: 4px solid #8cc63f;
	border-radius: 20px;
	z-index: 0;
}

/* Premium Partners */
.premium-partners {
	background: #f4f5f7;
	padding: 100px 0;
}

.partner-glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	padding: 40px 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
	text-align: left;
	margin-bottom: 30px;
	height: 100%;
}

.partner-glass-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.partner-quote {
	font-size: 16px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 20px;
	font-style: italic;
}

.partner-author {
	font-size: 18px;
	font-weight: 700;
	color: #1b2032;
	margin-bottom: 5px;
}

.partner-role {
	font-size: 14px;
	color: #8cc63f;
	font-weight: 600;
}

@media (max-width: 991px) {
	.impact-item {
		border-right: none;
		margin-bottom: 40px;
	}

	.impact-item:last-child {
		margin-bottom: 0;
	}

	.premium-why-img-container::after {
		display: none;
	}

	.premium-why-img-container {
		margin-top: 50px;
	}
}



/* Continuous Marquee Carousel */
.marquee-container {
	overflow: hidden;
	position: relative;
	width: 100%;
	padding: 20px 0;
	-webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
	mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: scroll-marquee 40s linear infinite;
}

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

.marquee-track .partner-glass-card {
	width: 380px;
	margin: 0 15px;
	flex-shrink: 0;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	white-space: normal;
}

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

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

@media (max-width: 768px) {
	.marquee-track .partner-glass-card {
		width: 300px;
	}
}

/* Mobile Responsiveness for Hero Banner */
@media (max-width: 767px) {
	.hero-slide-img {
		height: 60vh !important;
		aspect-ratio: auto !important;
		object-fit: cover;
		object-position: 75% center !important;
	}
	.hero-overlay-content {
		padding-top: 0px !important;
		align-items: center !important;
	}
	.hero-new-title {
		font-size: 32px !important;
		margin-bottom: 12px !important;
	}
	.hero-new-desc {
		font-size: 14px !important;
		margin-bottom: 20px !important;
	}
	.hero-new-btn {
		padding: 8px 10px 8px 20px !important;
		font-size: 12px !important;
	}
	.hero-new-divider {
		margin-bottom: 12px !important;
	}
}