/* ============================================
   WEB DESIGN PAGE - UNIQUE DESIGN
   Brand Color: Grape #7A1E4F ONLY
   ============================================ */

: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 */
.browser-mockup {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.browser-mockup::before {
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(122, 30, 79, 0.18) 0%, rgba(122, 30, 79, 0.08) 100%);
	border-radius: 1.5rem;
	z-index: -1;
	filter: blur(12px);
}

.browser-content img {
	display: block;
	width: 100%;
}

.quick-stat h4 {
	font-size: 1.75rem;
	font-weight: 900;
}

.quick-stat p {
	color: var(--text-navy);
	font-size: 0.9rem;
	font-weight: 600;
}

/* Problem Boxes */
.problem-box {
	background: #fff;
	border-radius: 1.25rem;
	padding: 2.5rem 2rem;
	height: 100%;
	transition: all 0.3s ease;
	border: 1px solid rgba(122, 30, 79, 0.08);
}

.problem-box:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.12);
	transform: translateY(-5px);
}

.problem-header {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.problem-icon {
	width: 60px;
	height: 60px;
	background: var(--grape-soft-md);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.problem-icon i {
	font-size: 1.75rem;
	color: var(--grape-primary);
}

/* Process Step Cards */
.process-step-card {
	background: #fff;
	border-radius: 1.5rem;
	padding: 2.5rem 2.25rem;
	position: relative;
	height: 100%;
	transition: all 0.3s ease;
	border: 1px solid rgba(122, 30, 79, 0.08);
}

.process-step-card:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.12);
}

.step-number-badge {
	position: absolute;
	top: 2rem;
	right: 2rem;
	width: 60px;
	height: 60px;
	background: var(--grape-soft-md);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--grape-primary);
}

.process-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.process-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--text-navy);
}

.process-checklist i {
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Technology Cards */
.tech-card {
	background: #fff;
	border-radius: 1.25rem;
	padding: 2rem 1.5rem;
	transition: all 0.3s ease;
	border: 1px solid rgba(122, 30, 79, 0.08);
}

.tech-card:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 12px 30px rgba(122, 30, 79, 0.1);
	transform: translateY(-5px);
}

.tech-icon-wrapper {
	width: 70px;
	height: 70px;
	background: var(--grape-soft-md);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-wrapper {
	background: var(--grape-primary);
}

.tech-icon-wrapper i {
	font-size: 2rem;
	color: var(--grape-primary);
	transition: color 0.3s ease;
}

.tech-card:hover .tech-icon-wrapper i {
	color: #fff;
}

/* Small Technology Cards */
.tech-card-sm {
	background: #fff;
	border-radius: 1rem;
	padding: 1.25rem 0.75rem;
	transition: all 0.3s ease;
	border: 1px solid rgba(122, 30, 79, 0.08);
	height: 100%;
}

.tech-card-sm:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 8px 20px rgba(122, 30, 79, 0.1);
	transform: translateY(-3px);
}

.tech-icon-wrapper-sm {
	width: 50px;
	height: 50px;
	background: var(--grape-soft-md);
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75rem;
	transition: all 0.3s ease;
}

.tech-card-sm:hover .tech-icon-wrapper-sm {
	background: var(--grape-primary);
}

.tech-icon-wrapper-sm i {
	font-size: 1.5rem;
	color: var(--grape-primary);
	transition: color 0.3s ease;
}

.tech-card-sm:hover .tech-icon-wrapper-sm i {
	color: #fff;
}

.tech-card-sm:hover .tech-icon-wrapper-sm img {
	filter: brightness(0) invert(1) !important;
}

.tech-card-sm h6 {
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: var(--text-navy);
}

.tech-card-sm p {
	font-size: 0.7rem;
	color: #6c757d;
	margin-bottom: 0;
}

.fs-xs {
	font-size: 0.7rem !important;
}

/* Feature Cards Elegant */
.feature-card-elegant {
	background: #fff;
	border-radius: 1.25rem;
	padding: 2.5rem 2rem;
	height: 100%;
	transition: all 0.3s ease;
	border: 1px solid rgba(122, 30, 79, 0.08);
}

.feature-card-elegant:hover {
	border-color: var(--grape-primary);
	box-shadow: 0 15px 40px rgba(122, 30, 79, 0.12);
	transform: translateY(-5px);
}

.feature-icon-elegant {
	width: 65px;
	height: 65px;
	background: var(--grape-primary);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}

.feature-card-elegant:hover .feature-icon-elegant {
	transform: scale(1.1);
}

.feature-icon-elegant i {
	font-size: 1.75rem;
	color: #fff;
}

/* Case Study Showcase */
.case-showcase-wrapper {
	background: #fff;
	border-radius: 2rem;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.case-visual-half {
	height: 100%;
	min-height: 500px;
}

.case-visual-half img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-content-half {
	padding: 3.5rem 3rem;
}

.case-type-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;
}

.results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.result-item {
	text-align: center;
	padding: 1.5rem 1rem;
	background: var(--grape-soft);
	border-radius: 1rem;
}

.result-item h3 {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
}

.result-item p {
	color: var(--text-navy);
	font-size: 0.85rem;
	font-weight: 600;
}

.case-solution-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.solution-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.solution-item i {
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.solution-item span {
	font-size: 0.95rem;
	color: var(--text-navy);
	line-height: 1.5;
}

/* Final CTA */
.cta-final-wrapper {
	background: var(--grape-soft);
	border-radius: 2rem;
	overflow: hidden;
}

.cta-final-content {
	padding: 4rem 3.5rem;
}

.cta-benefits-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cta-benefits-list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1rem;
	color: var(--text-navy);
}

.cta-benefits-list i {
	font-size: 1.25rem;
}

.cta-final-visual {
	padding: 4rem 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.visual-elements {
	position: relative;
	width: 200px;
	height: 200px;
}

.element-circle {
	position: absolute;
	border-radius: 50%;
	border: 3px solid var(--grape-primary);
}

.circle-1 {
	width: 120px;
	height: 120px;
	top: 0;
	left: 0;
	animation: pulse1 3s ease-in-out infinite;
}

.circle-2 {
	width: 160px;
	height: 160px;
	top: 20px;
	left: 20px;
	animation: pulse2 3s ease-in-out infinite;
	animation-delay: 1s;
}

.circle-3 {
	width: 200px;
	height: 200px;
	top: 0;
	left: 0;
	animation: pulse3 3s ease-in-out infinite;
	animation-delay: 2s;
}

@keyframes pulse1 {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.7;
	}
}

@keyframes pulse2 {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.05);
		opacity: 0.8;
	}
}

@keyframes pulse3 {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.08);
		opacity: 0.6;
	}
}

/* Modal Styling */
#modal-project .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) {
	.badge-top {
		left: 0;
	}

	.badge-bottom {
		right: 0;
	}

	.case-content-half {
		padding: 2.5rem 2rem;
	}

	.results-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.cta-final-content {
		padding: 3rem 2rem;
	}

	.cta-final-visual {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Section padding */
	.wrapper .container {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	/* Hero */
	.display-2 {
		font-size: 1.75rem !important;
		line-height: 1.25;
	}

	.lead.fs-lg {
		font-size: 1rem !important;
	}

	.browser-mockup {
		margin-bottom: 2rem;
	}

	.browser-mockup::before {
		display: none;
	}

	.quick-stat h4 {
		font-size: 1.5rem;
	}

	/* Buttons */
	.d-flex.flex-wrap.gap-3 .btn-lg {
		width: 100%;
		justify-content: center;
	}

	.badge-top,
	.badge-bottom {
		position: static;
		margin: 1rem 0;
	}

	/* Problem boxes */
	.problem-box {
		padding: 2rem 1.5rem;
	}

	.problem-header {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.problem-icon {
		width: 50px;
		height: 50px;
	}

	.problem-icon i {
		font-size: 1.5rem;
	}

	/* Process step cards */
	.process-step-card {
		padding: 2rem 1.5rem;
	}

	.step-number-badge {
		top: 1.5rem;
		right: 1.5rem;
		width: 50px;
		height: 50px;
		font-size: 1.25rem;
	}

	.process-checklist li {
		font-size: 0.9rem;
	}

	/* Tech cards */
	.tech-card-sm {
		padding: 1rem 0.5rem;
	}

	.tech-icon-wrapper-sm {
		width: 44px;
		height: 44px;
	}

	.tech-card-sm h6 {
		font-size: 0.8rem;
	}

	/* Feature cards */
	.feature-card-elegant {
		padding: 2rem 1.5rem;
	}

	/* Case study */
	.case-visual-half,
	.case-image-section {
		min-height: 250px;
	}

	.case-content-half {
		padding: 2rem 1.5rem;
	}

	.case-content-half h4 {
		font-size: 1.25rem !important;
	}

	.results-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.result-item {
		padding: 1.25rem 1rem;
	}

	.result-item h3 {
		font-size: 1.75rem;
	}

	/* CTA */
	.cta-final-content {
		padding: 2rem 1.5rem;
	}

	.cta-final-content .display-5 {
		font-size: 1.5rem !important;
	}

	.cta-benefits-list li {
		font-size: 0.95rem;
	}
}

@media (max-width: 575px) {
	.wrapper .container {
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.display-2 {
		font-size: 1.5rem !important;
	}

	.display-4 {
		font-size: 1.35rem !important;
	}

	.quick-stat h4 {
		font-size: 1.35rem;
	}

	.problem-box,
	.process-step-card {
		padding: 1.5rem 1.25rem;
	}

	footer .d-md-flex {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 1rem;
	}
}


/* 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;
}


/* Makes the custom Angular icon match Unicon sizing and coloring */
.tech-icon-wrapper-sm i svg {
	display: inline-block;
	vertical-align: middle;
	/* This ensures it uses the 'color' property from your tech-card styles */
	fill: currentColor;
}

.uil-angular-custom {
	font-size: 1.5rem;
	/* Matches the WordPress uil icon size */
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}


.case-image-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 450px;
}

.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;
}
