/*
 * IMS Corp theme styles
 */

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.ims-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(10, 37, 64, 0.08);
}

.ims-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.35rem 0.75rem;
}

.ims-hero {
	position: relative;
	overflow: hidden;
}

.ims-hero .wp-block-cover__background {
	background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(0, 102, 153, 0.85) 100%) !important;
}

.ims-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

.ims-stat-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ims-stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
}

.ims-service-card {
	border: 1px solid var(--wp--preset--color--gray-100);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ims-service-card:hover {
	border-color: var(--wp--preset--color--teal);
	box-shadow: 0 8px 24px rgba(0, 136, 204, 0.12);
}

.ims-cta-banner {
	background: linear-gradient(135deg, #006699 0%, #0088CC 100%);
}

.ims-footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.ims-footer a:hover {
	color: var(--wp--preset--color--white);
}

@media (max-width: 781px) {
	.ims-hero .wp-block-columns {
		flex-direction: column;
	}
}
