/* ============================================
   SERVICES HERO SECTION
   ============================================ */

.stat-simple {
	transition: all 0.3s ease;
}

.stat-simple:hover {
	transform: translateY(-5px);
}

.stat-simple h3 {
	transition: color 0.3s ease;
}

.stat-simple:hover h3 {
	color: #5d1a3d !important;
}

.text-grape {
	color: #7A1E4F !important;
}

.btn-grape {
	background-color: #7A1E4F;
	border-color: #7A1E4F;
}

.btn-grape:hover {
	background-color: #5d1a3d;
	border-color: #5d1a3d;
}

.btn-outline-grape {
	color: #7A1E4F;
	border-color: #7A1E4F;
}

.btn-outline-grape:hover {
	background-color: #7A1E4F;
	border-color: #7A1E4F;
}

/* ============================================
   SERVICES SECTION - ELEGANT GRAPE THEME STYLING
   ============================================ */

/* Services Intro Styling */
.services-for-banner {
	background: #ffffff;
	border: 2px solid rgba(122, 30, 79, 0.1);
	border-radius: 1rem;
	padding: 1.5rem 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

.services-for-banner:hover {
	border-color: rgba(122, 30, 79, 0.2);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.08);
}

.for-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(122, 30, 79, 0.05);
	border: 1px solid rgba(122, 30, 79, 0.1);
	border-radius: 2rem;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.for-badge i {
	color: #7A1E4F;
	font-size: 1.1rem;
}

.for-badge span {
	color: #343f52;
	font-weight: 600;
	font-size: 0.9rem;
}

.for-badge:hover {
	background: rgba(122, 30, 79, 0.1);
	border-color: #7A1E4F;
	transform: translateY(-2px);
}

/* Service Card Link - Remove default link styling */
.service-card-link {
	display: block;
	color: inherit;
	transition: transform 0.3s ease;
}

.service-card-link:hover {
	color: inherit;
}

/* Service Card Styling */
.service-card {
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(122, 30, 79, 0.08);
	border-radius: 1.25rem;
	padding: 2.5rem 2rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

/* Subtle gradient overlay */
.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(122, 30, 79, 0.02) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.service-card:hover::before {
	opacity: 1;
}

/* Top border accent that grows on hover */
.service-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #7A1E4F 0%, #a82d66 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.service-card:hover::after {
	transform: scaleX(1);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(122, 30, 79, 0.15);
	border-color: rgba(122, 30, 79, 0.2);
}

/* Service Number Badge */
.service-number {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 50px;
	height: 50px;
	background: rgba(122, 30, 79, 0.06);
	color: #7A1E4F;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	transition: all 0.4s ease;
	z-index: 1;
}

.service-card:hover .service-number {
	background: #7A1E4F;
	color: #ffffff;
	transform: rotate(360deg) scale(1.1);
}

/* Icon Wrapper */
.service-icon-wrapper {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, rgba(122, 30, 79, 0.08) 0%, rgba(122, 30, 79, 0.02) 100%);
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
}

.service-icon-wrapper i {
	font-size: 2.25rem;
	color: #7A1E4F;
	transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
	background: linear-gradient(135deg, #7A1E4F 0%, #5d1a3d 100%);
	transform: rotate(-5deg) scale(1.05);
	box-shadow: 0 10px 25px rgba(122, 30, 79, 0.25);
}

.service-card:hover .service-icon-wrapper i {
	color: #ffffff;
	transform: scale(1.15);
}

/* Service Title */
.service-card h4 {
	position: relative;
	z-index: 1;
	color: #343f52;
	transition: color 0.3s ease;
}

.service-card:hover h4 {
	color: #7A1E4F;
}

/* Service Description */
.service-card p {
	position: relative;
	z-index: 1;
	line-height: 1.7;
}

/* Service Features List */
.service-features {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 1;
}

.service-features li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: #60697b;
	transition: all 0.3s ease;
}

.service-features li:last-child {
	margin-bottom: 0;
}

.service-features li i {
	color: #7A1E4F;
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: 2px;
	transition: all 0.3s ease;
}

.service-card:hover .service-features li {
	color: #343f52;
}

.service-card:hover .service-features li i {
	transform: scale(1.2);
}

/* Learn More Link */
.learn-more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #7A1E4F;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	margin-top: 0.5rem;
}

.learn-more-link i {
	transition: transform 0.3s ease;
}

.service-card:hover .learn-more-link {
	gap: 0.75rem;
}

.service-card:hover .learn-more-link i {
	transform: translateX(5px);
}

/* Services CTA Card */
.services-cta-card {
	background: linear-gradient(135deg, #7A1E4F 0%, #5d1a3d 100%);
	border-radius: 1.5rem;
	padding: 4rem 3rem;
	box-shadow: 0 30px 60px rgba(122, 30, 79, 0.25);
	position: relative;
	overflow: hidden;
}

/* Decorative Pattern Overlay */
.services-cta-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.services-cta-card .row {
	position: relative;
	z-index: 1;
}

.services-cta-card .badge {
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.05rem;
}

/* CTA Button Styling */
.services-cta-card .btn-white {
	background-color: #ffffff !important;
	color: #7A1E4F !important;
	border: none !important;
	font-weight: 600;
	transition: all 0.3s ease;
}

.services-cta-card .btn-white:hover {
	background-color: #f8f9fa !important;
	color: #5d1a3d !important;
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
	.service-card {
		padding: 2rem 1.75rem;
	}

	.services-for-banner {
		padding: 1.25rem 1.5rem;
	}

	.for-badge {
		font-size: 0.85rem;
		padding: 0.4rem 0.85rem;
	}

	.services-cta-card {
		padding: 3rem 2rem;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.service-card {
		padding: 2rem 1.5rem;
	}

	.service-number {
		width: 45px;
		height: 45px;
		font-size: 1rem;
	}

	.service-icon-wrapper {
		width: 70px;
		height: 70px;
	}

	.service-icon-wrapper i {
		font-size: 2rem;
	}

	.services-for-banner .row {
		flex-direction: column;
		text-align: center;
	}

	.services-for-banner .col-auto {
		width: 100%;
	}

	.for-badge {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.services-cta-card {
		padding: 2.5rem 1.5rem;
	}

	.services-cta-card h3.display-5 {
		font-size: 1.75rem !important;
	}

	.services-cta-card .btn-white {
		width: 100%;
		justify-content: center;
	}
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (Reusing from previous section for consistency)
   ============================================ */

/* Base state for all reveal animations */
.reveal-from-left,
.reveal-from-right,
.reveal-from-bottom,
.reveal-fade-in,
.reveal-scale {
	opacity: 0;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reveal from Left */
.reveal-from-left {
	transform: translateX(-60px);
}

.reveal-from-left.revealed {
	opacity: 1;
	transform: translateX(0);
}

/* Reveal from Right */
.reveal-from-right {
	transform: translateX(60px);
}

.reveal-from-right.revealed {
	opacity: 1;
	transform: translateX(0);
}

/* Reveal from Bottom */
.reveal-from-bottom {
	transform: translateY(60px);
}

.reveal-from-bottom.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Fade In */
.reveal-fade-in {
	opacity: 0;
}

.reveal-fade-in.revealed {
	opacity: 1;
}

/* Scale In */
.reveal-scale {
	transform: scale(0.85);
}

.reveal-scale.revealed {
	opacity: 1;
	transform: scale(1);
}

/* ============================================
   UTILITIES & HELPERS
   ============================================ */

.text-gradient-grape {
	background: linear-gradient(135deg, #7A1E4F 0%, #a82d66 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.text-grape {
	color: #7A1E4F !important;
}

.text-navy {
	color: #343f52 !important;
}

.text-white-50 {
	color: rgba(255, 255, 255, 0.5) !important;
}

.ls-xl {
	letter-spacing: 0.2rem !important;
}

/* Ensure smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Additional spacing utilities */
.mb-12 {
	margin-bottom: 4rem !important;
}

.mb-14 {
	margin-bottom: 5rem !important;
}

@media (min-width: 768px) {
	.mb-md-14 {
		margin-bottom: 5rem !important;
	}

	.mb-md-16 {
		margin-bottom: 6rem !important;
	}

	.mb-md-17 {
		margin-bottom: 6.5rem !important;
	}
}

/* Prevent layout shift during load */
.service-card,
.services-for-banner,
.services-cta-card {
	will-change: transform;
}

/* Enhanced Focus States for Accessibility */
.service-card-link:focus-visible {
	outline: 2px solid #7A1E4F;
	outline-offset: 4px;
	border-radius: 1.25rem;
}

.for-badge:focus-visible,
.btn-white:focus-visible {
	outline: 2px solid #7A1E4F;
	outline-offset: 3px;
}



/* Fix for Twitter/X Logo Visibility */
.uil-twitter::before,
.x-social-icon i::before {
	content: "\edc5" !important;
	/* The 'X' icon Unicode for Unicons */
	font-family: "unicons" !important;
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	color: #ffffff;
	/* Ensures it's white */
	opacity: 1 !important;
}

/* Fix Space Inconsistency */
.offset-lg-1 {
	margin-left: 8.33333333% !important;
	/* Standard Bootstrap offset */
}

/* Ensure the container uses flexbox for alignment */
.nav.social.social-white {
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	/* This creates exactly equal 20px space between every icon */
}

/* Reset anchor tags to ensure they don't have inherited margins */
.nav.social.social-white a {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	line-height: 1 !important;
}

/* Align the SVG Twitter-X icon perfectly with FontIcons */
.x-social-icon {
	height: 14px;
	/* Matches the SVG height for a tight bounding box */
}

.x-social-icon svg {
	display: block;
	fill: #ffffff !important;
	/* Ensures the X is white */
}

/* Ensure Unicons match the visual center */
.nav.social.social-white i {
	font-size: 1rem;
	display: block;
	line-height: 1;
}


.widget-title {
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #ffffff !important;
}

footer .fs-sm,
footer address,
footer p,
footer li a {
    font-size: 0.85rem !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6) !important;
}
/* Hover effect */
.hover-grape:hover {
    color: #7a1e4f !important;
}

