/* ============================================
   SOCIAL MEDIA PAGE - UNIQUE DESIGN
   Brand Color: Grape #7A1E4F ONLY
   ============================================ */

/* Prevent horizontal scroll on mobile */
@media (max-width: 991px) {
	body,
	.content-wrapper {
		overflow-x: hidden;
	}
}

:root {
	--grape-primary: #7A1E4F;
	--grape-hover: #5d1a3d;
	--grape-soft: rgba(122, 30, 79, 0.05);
	--grape-soft-md: rgba(122, 30, 79, 0.1);
	--text-navy: #343f52;
}

/* Global Utilities */
.text-grape {
	color: var(--grape-primary) !important;
}

.btn-grape {
	background-color: var(--grape-primary) !important;
	border-color: var(--grape-primary) !important;
	color: #fff !important;
	font-weight: 700;
}

.btn-grape:hover {
	background-color: var(--grape-hover) !important;
	border-color: var(--grape-hover) !important;
	transform: translateY(-2px);
}

.btn-outline-grape {
	color: var(--grape-primary) !important;
	border-color: var(--grape-primary) !important;
	background: transparent !important;
	font-weight: 700;
}

.btn-outline-grape:hover {
	background-color: var(--grape-primary) !important;
	color: #fff !important;
}

.hover-grape:hover {
	color: var(--grape-primary) !important;
}

/* Hero Section */
.hero-image-container {
	position: relative;
}

.hero-image-container::before {
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(122, 30, 79, 0.15) 0%, rgba(122, 30, 79, 0.05) 100%);
	border-radius: 1.5rem;
	z-index: -1;
}

.hero-image-container img {
	position: relative;
	z-index: 1;
}

.hero-floating-stats {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.floating-stat-compact {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 100px;
	padding: 0.65rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	box-shadow: 0 8px 20px rgba(122, 30, 79, 0.15);
	transition: all 0.3s ease;
}

.floating-stat-compact:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(122, 30, 79, 0.2);
}

.floating-stat-compact i {
	font-size: 1.25rem;
}

.floating-stat-offset {
	margin-left: 2rem;
}

.stat-text {
	font-size: 0.9rem;
	color: var(--text-navy);
	white-space: nowrap;
}

.stat-text strong {
	color: var(--grape-primary);
	font-weight: 800;
}

.result-card {
	background: #fff;
	border-radius: 1rem;
	padding: 1.75rem 1.5rem;
	text-align: center;
	transition: all 0.3s ease;
}

.result-card:hover {
	box-shadow: 0 10px 30px rgba(122, 30, 79, 0.1);
	transform: translateY(-5px);
}

.result-card h3 {
	font-size: 2rem;
	font-weight: 900;
}

.result-card p {
	color: var(--text-navy);
	font-size: 0.9rem;
	font-weight: 600;
}

/* Challenge Cards - Vertical Style */
.challenge-card-vertical {
	background: #fff;
	border: 1px solid rgba(122, 30, 79, 0.08);
	border-radius: 1.5rem;
	padding: 2.5rem 2rem;
	position: relative;
	height: 100%;
	transition: all 0.3s ease;
}

.challenge-card-vertical:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.1);
	transform: translateY(-5px);
}

.challenge-number {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-size: 3rem;
	font-weight: 900;
	color: var(--grape-soft-md);
	line-height: 1;
}

.challenge-icon-box {
	width: 65px;
	height: 65px;
	background: var(--grape-soft-md);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.challenge-icon-box i {
	font-size: 1.75rem;
	color: var(--grape-primary);
}

/* Platform Feature Boxes */
.platform-feature-box {
	background: #fff;
	border: 1px solid rgba(122, 30, 79, 0.08);
	border-radius: 1.5rem;
	padding: 2.5rem 2rem;
	height: 100%;
	transition: all 0.3s ease;
}

.platform-feature-box:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.1);
	transform: translateY(-5px);
}

.platform-icon-large {
	width: 70px;
	height: 70px;
	background: var(--grape-primary);
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}

.platform-feature-box:hover .platform-icon-large {
	transform: scale(1.1) rotate(5deg);
}

.platform-icon-large i {
	font-size: 2rem;
	color: #fff;
}

.platform-tactics {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tactic-badge {
	background: var(--grape-soft-md);
	color: var(--grape-primary);
	padding: 0.35rem 0.85rem;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Process Timeline */
.process-timeline {
	max-width: 900px;
	margin: 0 auto;
}

.timeline-item {
	display: flex;
	gap: 2rem;
	margin-bottom: 2.5rem;
	position: relative;
	align-items: stretch;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-marker {
	position: relative;
	flex-shrink: 0;
	height: 100%;
}

.timeline-dot {
	width: 50px;
	height: 50px;
	background: var(--grape-primary);
	border-radius: 50%;
	position: relative;
	z-index: 2;
}


.timeline-line {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	height: calc(100% + 2.5rem - 50px);
	background: var(--grape-soft-md);
	z-index: 1;
}

/* Removed last-child line hiding to show line on final step */

.timeline-content {
	background: #fff;
	border: 1px solid rgba(122, 30, 79, 0.08);
	border-radius: 1.25rem;
	padding: 2rem 2.5rem;
	flex: 1;
	transition: all 0.3s ease;
}

.timeline-content:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 10px 30px rgba(122, 30, 79, 0.1);
}

.timeline-step {
	display: inline-block;
	background: var(--grape-soft-md);
	color: var(--grape-primary);
	padding: 0.35rem 1rem;
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

/* Included Services Cards */
.included-service-card {
	background: #fff;
	border: 1px solid rgba(122, 30, 79, 0.08);
	border-radius: 1.25rem;
	padding: 2rem 1.75rem;
	text-align: center;
	height: 100%;
	transition: all 0.3s ease;
}

.included-service-card:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 12px 30px rgba(122, 30, 79, 0.1);
	transform: translateY(-5px);
}

.service-icon-circle {
	width: 60px;
	height: 60px;
	background: var(--grape-soft-md);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
}

.service-icon-circle i {
	font-size: 1.5rem;
	color: var(--grape-primary);
}

/* Case Study */
.case-study-wrapper {
	background: #fff;
	border-radius: 2rem;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.case-image-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 450px;
}

.case-text-section {
	padding: 3.5rem 3rem;
}

.case-label {
	display: inline-block;
	background: var(--grape-soft-md);
	color: var(--grape-primary);
	padding: 0.5rem 1.25rem;
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.case-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.case-metric-box {
	text-align: center;
	padding: 1.5rem 1rem;
	background: var(--grape-soft);
	border-radius: 1rem;
}

.case-metric-box h3 {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.case-highlights {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.highlight-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.highlight-item i {
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.highlight-item span {
	font-size: 0.95rem;
	color: var(--text-navy);
	line-height: 1.5;
}

/* Final CTA Split Box */
.cta-box-split {
	background: var(--grape-soft);
	border-radius: 2rem;
	overflow: hidden;
}

.cta-content-side {
	padding: 4rem 3.5rem;
}

.cta-visual-side {
	padding: 4rem 3rem;
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-icons-cluster {
	position: relative;
	width: 100%;
	height: 100%;
}

.social-icon-float {
	position: absolute;
	width: 60px;
	height: 60px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(122, 30, 79, 0.15);
	animation: floatIcon 3s ease-in-out infinite;
}

.social-icon-float i {
	font-size: 1.5rem;
	color: var(--grape-primary);
}

.social-icon-float:nth-child(1) {
	animation-delay: 0s;
}

.social-icon-float:nth-child(2) {
	animation-delay: 0.5s;
}

.social-icon-float:nth-child(3) {
	animation-delay: 1s;
}

.social-icon-float:nth-child(4) {
	animation-delay: 1.5s;
}

.social-icon-float-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: var(--grape-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.25);
}

.social-icon-float-center i {
	font-size: 2rem;
	color: #fff;
}

@keyframes floatIcon {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-15px);
	}
}

/* Modal Styling */
#modal-strategy .form-control:focus {
	border-color: var(--grape-primary);
	box-shadow: 0 0 0 0.25rem rgba(122, 30, 79, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
	.case-text-section {
		padding: 2.5rem 2rem;
	}

	.case-metrics-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.cta-content-side {
		padding: 3rem 2rem;
	}

	.cta-visual-side {
		min-height: 300px;
		padding: 3rem 2rem;
	}

	.timeline-item {
		gap: 1.5rem;
	}

	.timeline-content {
		padding: 1.75rem 2rem;
	}
}

@media (max-width: 767px) {
	/* Section padding */
	section.wrapper .container,
	.wrapper.bg-soft-primary .container,
	.wrapper.bg-light .container {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		max-width: 100%;
	}

	/* Ensure no overflow */
	.row {
		margin-left: -0.5rem;
		margin-right: -0.5rem;
	}

	.row > [class*="col-"] {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	img.img-fluid {
		max-width: 100%;
		height: auto;
	}

	/* Hero typography */
	.display-2 {
		font-size: 1.75rem !important;
		line-height: 1.2;
	}

	.display-3 {
		font-size: 1.5rem !important;
	}

	.lead.fs-lg br {
		display: none;
	}

	/* Result cards - stack on mobile */
	.result-card {
		padding: 1.25rem 1rem;
	}

	.result-card h3 {
		font-size: 1.5rem;
	}

	/* Challenge cards */
	.stat-card-modern {
		padding: 1.75rem 1.25rem;
	}

	.challenge-card-vertical {
		padding: 2rem 1.5rem;
	}

	.challenge-number {
		font-size: 2rem;
	}

	.challenge-icon-box {
		width: 55px;
		height: 55px;
	}

	.challenge-icon-box i {
		font-size: 1.5rem;
	}

	/* Platform boxes */
	.platform-feature-box {
		padding: 2rem 1.5rem;
	}

	.platform-icon-large {
		width: 60px;
		height: 60px;
	}

	.platform-icon-large i {
		font-size: 1.75rem;
	}

	/* Case study section */
	.case-image-section img {
		min-height: 250px;
	}

	.case-text-section {
		padding: 2rem 1.5rem;
	}

	.case-metrics-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.case-metric-box {
		padding: 1rem;
	}

	.case-metric-box h3 {
		font-size: 1.5rem;
	}

	/* CTA */
	.cta-content-side {
		padding: 2rem 1.5rem;
	}

	.cta-visual-side {
		display: none;
	}

	.cta-box-split .display-5 {
		font-size: 1.5rem !important;
	}

	.cta-box-split .btn-lg {
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
	}

	/* Timeline */
	.timeline-item {
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.timeline-dot {
		width: 40px;
		height: 40px;
	}

	.timeline-line {
		height: 80px;
	}

	.timeline-content {
		padding: 1.5rem 1.25rem;
	}

	.timeline-step {
		font-size: 0.8rem;
	}

	/* Included service cards */
	.included-service-card {
		padding: 1.5rem 1.25rem;
	}

	/* Buttons */
	.d-flex.flex-wrap.gap-3 .btn-lg {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 575px) {
	.wrapper .container {
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.display-2 {
		font-size: 1.5rem !important;
	}

	.display-3 {
		font-size: 1.35rem !important;
	}

	.result-card h3 {
		font-size: 1.35rem;
	}

	.case-text-section h4 {
		font-size: 1.25rem !important;
	}

	footer .d-md-flex {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 1rem;
	}
}


/* Fix for Twitter/X Logo Visibility */
.uil-twitter::before,
.uil-twitter-alt::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;
}
