/* ----------------------------------------------------------------
    Custom CSS

    Add all your Custom Styled CSS here for New Styles or
    Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

:root {
	--iosys-ink: #111111;
	--iosys-muted: #666666;
	--iosys-soft: #ececec;
	--iosys-card-bg: #ffffff;
}

#logo {
	scale: 1.8;
	transform-origin: left center;
	transition: transform 0.3s ease;
}

#logo:hover {
	transform: translateY(-2px);
}

#section-about,
#section-services,
#section-portfolio,
#section-contact {
	position: relative;
}

#section-about::after,
#section-portfolio::after {
	content: "";
	position: absolute;
	right: 0;
	top: -35px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle at center, rgba(17, 17, 17, 0.10), rgba(17, 17, 17, 0));
	pointer-events: none;
}

.line.mt-6.mb-6 {
	border-top: 1px solid transparent;
	background-image: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.22), transparent);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: center;
	opacity: 1;
}

.hero-headline {
	position: relative;
	max-width: 92%;
}

.hero-headline > .hero-kicker {
	display: inline-block;
	margin-bottom: 18px;
	margin-top: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f3f3f3;
	color: var(--iosys-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.hero-description {
	display: block;
	font-family: "Merriweather", serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 2;
	color: #999;
	margin-top: 40px;
	max-width: 80%;
	margin-bottom: 0;
}

.hero-cta {
	padding-left: 32px;
	padding-right: 32px;
	box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 32px rgba(17, 17, 17, 0.2);
}

.section-title {
	font-size: 44px;
	line-height: 1.15;
	letter-spacing: -1px;
	margin-bottom: 12px;
}

.section-subtitle {
	max-width: 760px;
	font-family: "Merriweather", serif;
	font-size: 15px;
	line-height: 1.9;
	color: #888;
	margin-bottom: 28px;
}

.service-card {
	padding: 28px 24px 24px;
	background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
	border: 1px solid var(--iosys-soft);
	border-radius: 14px;
	height: 100%;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: #d7d7d7;
	box-shadow: 0 18px 34px rgba(17, 17, 17, 0.10);
}

.service-card .fbox-icon {
	margin-bottom: 18px;
}

.service-card .fbox-icon a {
	display: inline-block;
	background: transparent;
	color: var(--iosys-ink);
	border-radius: 0;
	font-size: 34px;
	line-height: 1;
	transition: transform 0.25s ease, color 0.25s ease;
}

.service-card:hover .fbox-icon a {
	transform: translateX(4px);
	color: #000;
}

.service-card .fbox-content h3 {
	font-size: 21px;
	line-height: 1.35;
}

.service-card .fbox-content p {
	font-family: "Merriweather", serif;
	font-size: 15px;
	line-height: 1.9;
	color: var(--iosys-muted);
}

.about-accordion {
	background: #fff;
	border: 1px solid var(--iosys-soft);
	border-radius: 14px;
	padding: 12px;
	box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}

.about-accordion .accordion-header {
	padding: 16px 14px;
	border-radius: 10px;
	transition: background-color 0.2s ease;
}

.about-accordion .accordion-header:hover {
	background-color: #f8f8f8;
}

.about-accordion .accordion-content {
	padding: 2px 14px 18px;
	font-family: "Merriweather", serif;
	font-size: 14px;
	line-height: 1.9;
	color: var(--iosys-muted);
}

.solutions-grid {
	margin-top: 8px;
}

.solution-card {
	height: 100%;
	padding: 34px 30px 30px;
	background: var(--iosys-card-bg);
	border: 1px solid var(--iosys-soft);
	border-radius: 14px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(17, 17, 17, 0.10);
	border-color: var(--iosys-ink);
}

.solution-icon {
	width: 58px;
	height: 58px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--iosys-ink);
	color: #fff;
	font-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.solution-card h3 {
	font-size: 21px;
	line-height: 1.35;
	letter-spacing: 0;
	margin-bottom: 14px;
}

.solution-card p {
	margin-bottom: 0;
	font-family: "Merriweather", serif;
	font-size: 15px;
	line-height: 1.9;
	color: var(--iosys-muted);
}

.contact-card,
.contact-details-card {
	background: #fff;
	border: 1px solid var(--iosys-soft);
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}

.contact-card {
	padding: 26px;
}

.contact-details-card {
	padding: 24px;
	height: 100%;
}

.contact-details-card > div {
	font-size: 16px;
	line-height: 1.7;
}

.contact-card .form-control.border-form-control {
	background: #fafafa;
	border: 1px solid #e4e4e4;
	border-bottom-width: 1px;
	border-radius: 10px;
	padding: 12px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card .form-control.border-form-control:focus {
	border-color: var(--iosys-ink);
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
	background: #fff;
}

#template-contactform-submit {
	padding-left: 30px;
	padding-right: 30px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#template-contactform-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 22px rgba(17, 17, 17, 0.16);
}

.reveal-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 991px) {
	#logo {
		scale: 1.35;
	}

	.section-title {
		font-size: 35px;
	}

	.contact-details-card {
		margin-top: 18px;
	}
}

@media (max-width: 767px) {
	.section-title {
		font-size: 30px;
		letter-spacing: -0.4px;
	}

	.section-subtitle {
		font-size: 14px;
		line-height: 1.8;
	}

	.hero-description {
		font-size: 14px;
		max-width: 100%;
	}

	.hero-cta {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.reveal-up {
		opacity: 1;
		transform: none;
	}
}
