/* ============================================
	CUSTOM CSS - UPAMNYU GROUP
	All inline styles moved to this file
	============================================ */

/* Palette variables (defaults) - change in admin settings to override site-wide */
:root{
	 --primary: #1d4ed8; /* blue */
	 --accent: #ef4444;  /* red */
	 --text: #0f172a;
	 --muted: #6b7280;
	 --page-bg: #f8fafc;
	 --hero-title-color: #ffffff;
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */

/* Smooth fade carousel with enhanced transitions */
#carousel.carousel-fade .carousel-item {
	transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
}
#carousel.carousel-fade .carousel-item.active,
#carousel.carousel-fade .carousel-item-next.carousel-item-left,
#carousel.carousel-fade .carousel-item-prev.carousel-item-right {
	opacity: 1;
}

/* Carousel image sizing with overlay gradient */
#carousel .carousel-item img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	object-position: center;
	transition: transform 8s ease-out;
}
#carousel .carousel-item:hover img {
	transform: scale(1.08);
}

/* Enhanced Carousel Caption Animations */
.carousel-caption p {
	animation: fadeInUp 1s ease-out 0.3s both;
}
.carousel-caption h1 {
	animation: fadeInUp 1s ease-out 0.5s both;
}
.carousel-caption .btn {
	animation: fadeInUp 1s ease-out 0.7s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   FEATURE BOX DESIGN
   ============================================ */

/* Modern Feature Box Design */
.feature .feature-item {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.feature .feature-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}
.feature .feature-item:hover::before {
	left: 100%;
}
.feature .feature-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.feature .feature-icon {
	transition: transform 0.4s ease;
}
.feature .feature-item:hover .feature-icon {
	transform: scale(1.1) rotate(5deg);
}

/* Ensure anchor tags are on top */
.service .service-item a {
    position: relative;
    z-index: 1;
}

/* Disable pointer events on the overlay or background pseudo-element */
.service .service-item::after {
    pointer-events: none;
}

/* Ensure the image and content are clickable */
.service .service-img,
.service .service-text {
    pointer-events: auto;
}

/* Overlay z-index set to ensure it doesn’t cover the anchor link */
.service .service-item::after {
    z-index: 1;
}


/* ============================================
   SERVICE/PRODUCT CARDS
   ============================================ */

/* Enhanced Service/Product Cards */
.service .service-item,
.explore-products .service-item {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	position: relative;
}
.service .service-item::after,
.explore-products .service-item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 16px;
	padding: 2px;
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.4s;
}
.service .service-item:hover::after,
.explore-products .service-item:hover::after {
	opacity: 1;
}
.service .service-item:hover,
.explore-products .service-item:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(31, 42, 122, 0.15);
}

/* Service Image with Zoom Effect */
.service .service-img,
.explore-products .service-img {
	overflow: hidden;
	position: relative;
}
.service .service-img img,
.explore-products .service-img img {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service .service-item:hover .service-img img,
.explore-products .service-item:hover .service-img img {
	transform: scale(1.12);
}

/* Enhanced Service Overlay */
.service .service-overlay {
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.95), rgba(0, 179, 230, 0.9));
	backdrop-filter: blur(4px);
	transition: all 0.4s ease;
	text-align: center;
}
.service .service-item:hover .service-overlay {
	opacity: 1;
	transform: scale(1);
}

/* Service Content Panel */
.service .service-text,
.explore-products .service-text {
	padding: 18px 24px;
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.08), rgba(0, 179, 230, 0.08));
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
	min-height: 110px;
	transition: background 0.4s ease;
}
.service .service-item:hover .service-text,
.explore-products .service-item:hover .service-text {
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.12), rgba(0, 179, 230, 0.18));
}
.service .service-text h3,
.explore-products .service-text h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1f2a7a;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.service .service-text p,
.explore-products .service-text p {
	margin: 0;
	color: #4a4f63;
	font-size: 0.92rem;
	line-height: 1.5;
}

/* Product Card Specific Styles */
.product-card {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.05);
}
.product-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 16px;
	padding: 2px;
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.product-card:hover::after {
	opacity: 1;
}
.product-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(31, 42, 122, 0.15);
}
.product-card .image-wrap {
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, #f7f7f9, #e8e8ea);
	overflow: hidden;
	display: block;
	position: relative;
}
.product-card .image-wrap::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(31, 42, 122, 0.2) 100%);
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 1;
}
.product-card:hover .image-wrap::before {
	opacity: 1;
}
.product-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover img {
	transform: scale(1.12);
}
.product-card .card-body {
	transition: all 0.3s ease;
}
.product-card:hover .card-body {
	background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}
.product-card .card-title a {
	transition: color 0.3s;
}
.product-card:hover .card-title a {
	color: #1f2a7a !important;
}
.product-card .text-primary {
	font-size: 1.25rem;
	font-weight: 700;
	color: #00b3e6 !important;
	transition: color 0.3s;
}
.product-card:hover .text-primary {
	color: #1f2a7a !important;
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Modern Blog Card Design */
.blog .blog-item {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	position: relative;
}
.blog .blog-item:hover {
	transform: translateY(-12px);
	box-shadow: 0 24px 48px rgba(31, 42, 122, 0.2);
}
.blog .blog-img {
	overflow: hidden;
	position: relative;
}
.blog .blog-img::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(31, 42, 122, 0.3) 100%);
	opacity: 0;
	transition: opacity 0.4s;
}
.blog .blog-item:hover .blog-img::after {
	opacity: 1;
}
.blog .blog-img img {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
	height: 250px;
	object-fit: cover;
}
.blog .blog-item:hover .blog-img img {
	transform: scale(1.1);
}
.blog .blog-title {
	transition: all 0.3s ease;
	position: relative;
}
.blog .blog-item:hover .blog-title {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
}
.blog .blog-item:hover .blog-title h3 {
	color: #ffffff;
	transform: translateX(5px);
}

/* Blog Page Specific */
.blog-page .blog-item-link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.blog-page .blog-item {
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(18, 31, 67, 0.08);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
}
.blog-page .blog-item::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 18px;
	padding: 2px;
	background: linear-gradient(140deg, rgba(31, 42, 122, 0.25), rgba(0, 179, 230, 0.25));
	opacity: 0;
	transition: opacity 0.45s ease;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.blog-page .blog-item:hover {
	transform: translateY(-12px);
	box-shadow: 0 26px 54px rgba(18, 31, 67, 0.18);
}
.blog-page .blog-item:hover::after {
	opacity: 1;
}
.blog-page .blog-img {
	position: relative;
	overflow: hidden;
}
.blog-page .blog-img img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-page .blog-item:hover .blog-img img {
	transform: scale(1.12);
}
.blog-page .blog-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 15, 60, 0) 0%, rgba(6, 15, 60, 0.65) 100%);
	opacity: 0;
	transition: opacity 0.45s ease;
}
.blog-page .blog-item:hover .blog-img::after {
	opacity: 1;
}
.blog-page .blog-title {
	padding: 18px 22px 0;
}
.blog-page .blog-title h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1f2a7a;
	line-height: 1.4;
}
.blog-page .blog-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 12px 22px 0;
	font-size: 0.85rem;
	color: #6c7389;
}
.blog-page .blog-meta p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}
.blog-page .blog-meta i {
	color: #00b3e6;
}
.blog-page .blog-text {
	padding: 12px 22px 24px;
	color: #4a4f63;
	font-size: 0.95rem;
	line-height: 1.6;
	flex-grow: 1;
}
.blog-page .blog-item:hover .blog-title h3 {
	color: #10205f;
}

/* Blog Detail Page */
.single .single-content {
	background: #ffffff;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 18px 48px rgba(18, 31, 67, 0.12);
	border: 1px solid rgba(16, 32, 95, 0.08);
}
.single .single-content img {
	border-radius: 16px;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}
.single .single-content h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #1f2a7a;
	line-height: 1.3;
}
.single .blog-body {
	color: #4a4f63;
	font-size: 1rem;
	line-height: 1.8;
}
.single .blog-body p {
	margin-bottom: 1.2rem;
}
.single .blog-body ul,
.single .blog-body ol {
	padding-left: 1.4rem;
}
.single .single-comment,
.single .comment-form {
	background: #ffffff;
	border-radius: 18px;
	padding: 26px 28px;
	box-shadow: 0 12px 32px rgba(16, 32, 95, 0.08);
	border: 1px solid rgba(16, 32, 95, 0.06);
}
.single .single-comment h2,
.single .comment-form h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2a7a;
	margin-bottom: 1.5rem;
}
.single .comment-item {
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(16, 32, 95, 0.08);
}
.single .comment-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.single .comment-img img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.single .comment-text h3 {
	font-size: 1.05rem;
	margin-bottom: 4px;
	color: #10205f;
	font-weight: 600;
}
.single .comment-text span {
	display: block;
	font-size: 0.85rem;
	color: #6c7389;
	margin-bottom: 8px;
}
.single .comment-text p {
	margin: 0;
	color: #3e445a;
	line-height: 1.6;
}
.single .comment-form .form-control {
	border-radius: 10px;
	border: 1px solid rgba(16, 32, 95, 0.12);
	padding: 12px 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.single .comment-form .form-control:focus {
	border-color: #00b3e6;
	box-shadow: 0 0 0 0.2rem rgba(0, 179, 230, 0.2);
}
.single .comment-form .btn-primary {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	border: none;
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;
}
.single .comment-form .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(31, 42, 122, 0.25);
}
.sidebar .sidebar-widget {
	background: #ffffff;
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 14px 36px rgba(18, 31, 67, 0.1);
	border: 1px solid rgba(16, 32, 95, 0.06);
	margin-bottom: 24px;
}
.sidebar .widget-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1f2a7a;
	margin-bottom: 1rem;
}
.sidebar .search-widget input {
	border-radius: 999px;
	padding: 12px 18px;
	border: 1px solid rgba(16, 32, 95, 0.12);
}
.sidebar .search-widget .btn {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	color: #00b3e6;
}
.sidebar .recent-post .post-item {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}
.sidebar .recent-post .post-img img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 12px;
}
.sidebar .recent-post .post-text a {
	display: block;
	color: #10205f;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.4;
	transition: color 0.3s;
}
.sidebar .recent-post .post-text a:hover {
	color: #00b3e6;
}
.sidebar .category-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
.sidebar .category-widget li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
	border-radius: 12px;
	background: rgba(31, 42, 122, 0.06);
	color: #1f2a7a;
	font-weight: 600;
	transition: background 0.3s, transform 0.3s;
}
.sidebar .category-widget li:hover {
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.15), rgba(0, 179, 230, 0.15));
	transform: translateX(4px);
}
.sidebar .category-widget a {
	color: inherit;
	text-decoration: none;
}

/* ============================================
   TEAM STYLES
   ============================================ */

/* Enhanced Team Card Design */
.team .team-item {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
}
.team .team-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(31, 42, 122, 0.2);
}
.team .team-img {
	overflow: hidden;
	position: relative;
}
.team .team-img::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(31, 42, 122, 0.4) 100%);
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 1;
}
.team .team-item:hover .team-img::before {
	opacity: 1;
}
.team .team-img img {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team .team-item:hover .team-img img {
	transform: scale(1.15);
}
.team .team-text {
	transition: all 0.4s ease;
	position: relative;
}
.team .team-item:hover .team-text {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	transform: translateY(0);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
	position: relative;
	margin-bottom: 50px;
}
.section-header p {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.section-header h2 {
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
}
.section-header h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #1f2a7a, #00b3e6);
	border-radius: 2px;
}

/* ============================================
   UNIFORM IMAGE BOXES
   ============================================ */

.uniform-img {
	position: relative;
	width: 100%;
	padding-top: 66.66%; /* 3:2 ratio */
	overflow: hidden;
	background: linear-gradient(135deg, #f7f7f9, #e8e8ea);
}
.uniform-img > img {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PRODUCT SLIDER
   ============================================ */

.slider-explore {
	margin-left: -10px;
	margin-right: -10px;
	padding: 20px 0;
}
.slider-explore .slick-slide {
	padding: 0 10px;
}

/* Enhanced Slick arrows/dots */
.slider-explore .slick-prev,
.slider-explore .slick-next {
	width: 50px;
	height: 50px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}
.slider-explore .slick-prev:hover,
.slider-explore .slick-next:hover {
	background: #1f2a7a;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(31, 42, 122, 0.3);
}
.slider-explore .slick-prev:before,
.slider-explore .slick-next:before {
	color: #1f2a7a;
	font-size: 24px;
	opacity: 1;
	transition: color 0.3s;
}
.slider-explore .slick-prev:hover:before,
.slider-explore .slick-next:hover:before {
	color: #ffffff;
}
.slider-explore .slick-dots {
	bottom: -40px;
}
.slider-explore .slick-dots li button:before {
	color: #1f2a7a;
	font-size: 12px;
	opacity: 0.5;
	transition: all 0.3s;
}
.slider-explore .slick-dots li.slick-active button:before {
	color: #00b3e6;
	opacity: 1;
	font-size: 14px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about .about-img {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transition: transform 0.4s ease;
}
.about .about-img:hover {
	transform: scale(1.02);
}
.about .about-img img {
	transition: transform 0.6s ease;
}
.about .about-img:hover img {
	transform: scale(1.08);
}
.about .container .row > .col-lg-7 {
	line-height: 1.8;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
	position: relative;
	overflow: hidden;
}
.page-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.1), rgba(0, 179, 230, 0.1));
	opacity: 0.5;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */

/* Filter Sidebar Enhancement */
.card {
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s;
}
.card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card-header {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	color: #ffffff;
	border-radius: 16px 16px 0 0 !important;
	font-weight: 600;
}

/* Form Controls Enhancement */
.form-control {
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}
.form-control:focus {
	border-color: #00b3e6;
	box-shadow: 0 0 0 0.2rem rgba(0, 179, 230, 0.15);
}

/* Button Enhancement */
.btn {
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}
.btn-primary {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	border: none;
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(31, 42, 122, 0.3);
}

/* Badge Enhancement */
.badge {
	border-radius: 6px;
	padding: 4px 10px;
	font-weight: 600;
}

/* Sidebar Scrollbar */
.card .custom-scroll::-webkit-scrollbar {
	width: 6px;
}
.card .custom-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 6px;
}
.card .custom-scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	border-radius: 6px;
}
.card .custom-scroll::-webkit-scrollbar-thumb:hover {
	background: #1f2a7a;
}

/* Alert Enhancement */
.alert {
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================================
   SERVICE DETAILS PAGE
   ============================================ */

.overlay {
	transition: all 0.3s ease-in-out;
}
.overlay:hover {
	opacity: 0.5 !important;
}
.service-card img {
	transition: all 0.3s ease;
}
.service-card:hover img {
	transform: scale(1.05);
}
.service-card:hover .overlay {
	opacity: 0.6 !important;
}
.page-header .overlay {
	border-radius: 0;
}

/* Service details slider styles */
.service-swiper {
	position: relative;
}
.service-swiper .swiper-slide img {
	object-fit: cover;
	width: 100%;
	height: 520px;
	border-radius: .5rem;
}

.service-details-content {
	background: #ffffff;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 20px 60px rgba(18, 31, 67, 0.14);
	border: 1px solid rgba(16, 32, 95, 0.08);
}
.service-details-content h2 {
	color: #10205f;
	font-weight: 700;
	font-size: 2rem;
}
.service-details-content .lead {
	color: #4a4f63;
	line-height: 1.8;
}
.service-details-content .service-description {
	line-height: 1.8;
}
.cta-section {
	transition: transform .15s ease, box-shadow .15s ease;
}
.cta-section:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Page Header Gradient */
.page-header.gradient-header {
	background: linear-gradient(135deg, #0b1e7b 0%, #162a9a 60%, #fdbe33 160%);
	color: #fff;
}

/* Service Details Additional Styles */
.service-details-content .service-description p {
	margin-bottom: 1.2rem;
}
.service-details-content .features .fa-check-circle {
	color: #00b3e6;
	font-size: 1.1rem;
}
.cta-section {
	transition: transform .25s ease, box-shadow .25s ease;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.08), rgba(0, 179, 230, 0.18));
}
.cta-section:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(31, 42, 122, 0.2);
}
aside .sidebar-widget {
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(18, 31, 67, 0.12);
	border: 1px solid rgba(16, 32, 95, 0.06);
}
aside .sidebar-widget ul li a {
	padding: 10px 0;
	transition: color 0.3s, transform 0.3s;
}
aside .sidebar-widget ul li a:hover {
	color: #00b3e6 !important;
	transform: translateX(4px);
}
.sidebar-widget.bg-primary {
	background: linear-gradient(135deg, #1f2a7a, #00b3e6) !important;
}
.related-services .service-card {
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	border: 1px solid rgba(16, 32, 95, 0.08);
}
.related-services .service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 24px 54px rgba(18, 31, 67, 0.18);
}
.related-services .service-card .card-body {
	padding: 24px;
}
.related-services .service-card h5 {
	font-weight: 700;
	font-size: 1.1rem;
	color: #10205f;
}
.related-services .service-card p {
	color: #4a4f63;
	line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
	position: relative;
	padding: 80px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.why-choose-us::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(31,42,122,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.5;
}
.why-choose-us .container {
	position: relative;
	z-index: 1;
}
.why-choose-item {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: 0 8px 24px rgba(31, 42, 122, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	border: 2px solid transparent;
}
.why-choose-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1f2a7a, #00b3e6);
	transform: scaleX(0);
	transition: transform 0.4s ease;
}
.why-choose-item:hover::before {
	transform: scaleX(1);
}
.why-choose-item:hover {
	transform: translateY(-12px);
	box-shadow: 0 20px 48px rgba(31, 42, 122, 0.15);
	border-color: rgba(31, 42, 122, 0.1);
}
.why-choose-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 25px;
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.1), rgba(0, 179, 230, 0.1));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s ease;
	position: relative;
}
.why-choose-icon::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1f2a7a, #00b3e6);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}
.why-choose-item:hover .why-choose-icon::after {
	opacity: 0.2;
}
.why-choose-item:hover .why-choose-icon {
	transform: scale(1.1) rotate(5deg);
	background: linear-gradient(135deg, rgba(31, 42, 122, 0.15), rgba(0, 179, 230, 0.15));
}
.why-choose-icon i {
	font-size: 48px;
	color: #1f2a7a;
	transition: all 0.4s ease;
}
.why-choose-item:hover .why-choose-icon i {
	color: #00b3e6;
	transform: scale(1.1);
}
.why-choose-item h4 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2a7a;
	margin-bottom: 15px;
	transition: color 0.3s;
}
.why-choose-item:hover h4 {
	color: #00b3e6;
}
.why-choose-item p {
	color: #4a4f63;
	line-height: 1.8;
	margin: 0;
	font-size: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: slideInUp 0.8s ease-out both;
}

/* Enhanced Button Styles */
.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
	width: 300px;
	height: 300px;
}
.btn span {
	position: relative;
	z-index: 1;
}

/* Product Price Badge Enhancement */
.explore-products .service-text strong {
	font-size: 1.25rem;
	color: #00b3e6;
	font-weight: 700;
	transition: color 0.3s;
}
.explore-products .service-item:hover .service-text strong {
	color: #1f2a7a;
}

/* Product Name Styling */
.explore-products .service-text .product-name {
	font-size: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 70%;
}

/* Loading Animation for Images */
@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

.uniform-img::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	background-size: 1000px 100%;
	animation: shimmer 2s infinite;
	opacity: 0;
	transition: opacity 0.3s;
}

.uniform-img.loading::before {
	opacity: 1;
}

/* Ripple Effect */
.btn .ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	transform: scale(0);
	animation: ripple-animation 0.6s ease-out;
	pointer-events: none;
}

@keyframes ripple-animation {
	to {
		transform: scale(4);
		opacity: 0;
	}
}

/* Scroll Animation */
.product-card {
	animation: slideInUp 0.6s ease-out both;
}
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.service .service-item:hover,
	.explore-products .service-item:hover,
	.blog .blog-item:hover,
	.team .team-item:hover {
		transform: translateY(-5px);
	}
	.section-header h2::after {
		width: 40px;
	}
	.service-swiper .swiper-slide img {
		height: 320px;
	}
	.blog-page .blog-img img {
		height: 200px;
	}
	.single .single-content {
		padding: 24px;
	}
	.single .single-content h2 {
		font-size: 1.65rem;
	}
	.why-choose-us {
		padding: 60px 0;
	}
	.why-choose-item {
		padding: 30px 20px;
		margin-bottom: 20px;
	}
}

@media (max-width: 991.98px) {
	.single .single-content {
		padding: 24px;
	}
	.single .single-content h2 {
		font-size: 1.65rem;
	}
}

