/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.is-expanded-menu .full-header #logo {
	padding-right: 30px;
	border-right: 0px;
}

.is-expanded-menu .full-header .primary-menu .menu-container {
	padding-right: 0.5rem;
	margin-right: 0.5rem;
	border-right: 0px;
}

.service-img {
	height: 200px; /* fixed height */
	width: auto; /* width adjusts automatically */
	object-fit: contain; /* keep whole image visible */
	display: block;
	margin-left: auto;
	margin-right: auto; /* center inside column */
}

.gallery-item {
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 12px;
	margin-bottom: 20px;
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	text-align: center;
	transition: all 0.25s ease;
}

	.gallery-item:hover {
		transform: translateY(-4px);
		box-shadow: 0 10px 22px rgba(0,0,0,0.1);
	}

.gallery-caption {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #555;
}


.bg-alternate-one {
	background-color: #f7f7f8 !important;
	border: 1px solid #e5e5e7;
}

.bg-alternate-two {
	background-color: #eeeeef !important;
	border: 1px solid #dcdce0;
}


.services-section {
	width: 90%;
	max-width: 1200px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

/* Box styling */
.service-box {
	height: 180px; /* reduced height */
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	text-align: center;
	padding: 20px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
	position: relative;
	overflow: hidden;
	transition: all 0.35s ease;
	cursor: pointer;
}

	/* Shine effect */
	.service-box::before {
		content: "";
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.35), transparent );
		transition: 0.6s;
	}

	.service-box:hover::before {
		left: 100%;
	}

	.service-box:hover {
		transform: translateY(-8px) scale(1.03);
		box-shadow: 0 22px 45px rgba(0,0,0,0.25);
	}

	.service-box span {
		position: relative;
		z-index: 1;
		line-height: 1.0; /* keeps current line gap */
	}

	/* Repeating colors: 7 colors, then repeat */
	.service-box:nth-child(7n+1) {
		background: linear-gradient(135deg,#00c6ff,#0072ff);
		color: #ffffff;
	}

	.service-box:nth-child(7n+2) {
		background: linear-gradient(135deg,#f7971e,#ffd200);
		color: #1b1b1b;
	}

	.service-box:nth-child(7n+3) {
		background: linear-gradient(135deg,#8e2de2,#4a00e0);
		color: #ffffff;
	}

	.service-box:nth-child(7n+4) {
		background: linear-gradient(135deg,#11998e,#38ef7d);
		color: #0f2a22;
	}

	.service-box:nth-child(7n+5) {
		background: linear-gradient(135deg,#ff416c,#ff4b2b);
		color: #ffffff;
	}

	.service-box:nth-child(7n+6) {
		background: linear-gradient(135deg,#396afc,#2948ff);
		color: #ffffff;
	}

	.service-box:nth-child(7n+7) {
		background: linear-gradient(135deg,#232526,#414345);
		color: #ffffff;
	}

.gradient-dark2,
.h-gradient-dark2:hover {
	background-image: linear-gradient(to right, rgba(0,0,0,0.15),#535353) !important;
}



