/* ==========================================================================
   Aethonyx Digital - Custom overrides
   (icon fixes, hero typing animation, founder quote styling, responsive fixes)
   ========================================================================== */

/* Prevent any accidental horizontal scroll on small screens */
html, body {
	max-width: 100%;
	overflow-x: hidden;
}

/* ---- Fix for missing feature / work-process icon images ---- */
.feature-single-item .feature-icon {
	display: inline-block;
	font-size: 50px;
	line-height: 1;
	color: #0b5d52;
	margin-bottom: 22px;
}

.workprocess-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
}

.workprocess-icon-box .workprocess-icon {
	font-size: 34px;
	line-height: 1;
	color: #0b5d52;
}

/* ---- Founder message block (about section) ---- */
.founder-message h3 {
	color: #0b0b31;
	font-size: 24px;
	margin-bottom: 15px;
}

.founder-message p {
	margin-bottom: 15px;
}

.founder-message blockquote {
	margin: 20px 0;
	padding: 15px 20px;
	border-left: 4px solid #f5a623;
	background-color: #f7f8f9;
	font-style: italic;
	color: #0b5d52;
}

/* ---- Hero rotating headline + typing animation ---- */
.main-banner-content .typed-text {
	color: #f5a623;
}

.typed-cursor {
	display: inline-block;
	color: #f5a623;
	margin-left: 2px;
	animation: aethonyx-cursor-blink 0.8s steps(1) infinite;
}

@keyframes aethonyx-cursor-blink {
	50% {
		opacity: 0;
	}
}

.banner-rotating-text {
	transition: opacity 0.3s ease-in-out;
	min-height: 3.6em;
}

/* ---- Contrast fix: contact-section now sits on the dark teal gradient ---- */
.contact-section .section-title h2 {
	color: #ffffff;
}

.contact-section.home-1-contact-section .form-control {
	color: #ffffff;
}

.contact-section.home-1-contact-section .form-control::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.contact-section.home-1-contact-section .home-contact-box-info p,
.contact-section.home-1-contact-section .home-contact-box-info .color-text {
	color: rgba(255, 255, 255, 0.85);
}

/* ---- Center-align services cards (icon, text, read-more) ---- */
.single-services-item {
	text-align: center;
}

.single-services-item .services-btn {
	display: flex;
	justify-content: center;
}

/* ---- Floating WhatsApp chat + call widget ---- */
.floating-contact-widget {
	position: fixed;
	left: 25px;
	bottom: 25px;
	z-index: 999;
}

.floating-buttons {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.floating-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #ffffff;
	border: none;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease;
}

.floating-btn:hover {
	transform: scale(1.08);
	color: #ffffff;
}

.floating-call-btn {
	background-color: #0b5d52;
}

.floating-whatsapp-btn {
	background-color: #25d366;
}

.whatsapp-chat-popup {
	position: absolute;
	left: 0;
	bottom: 80px;
	width: 300px;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-chat-popup.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.whatsapp-chat-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background-color: #0b5d52;
}

.whatsapp-chat-header img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #ffffff;
	padding: 4px;
	flex-shrink: 0;
}

.whatsapp-chat-header-info h4 {
	color: #ffffff;
	font-size: 15px;
	margin: 0;
}

.whatsapp-chat-header-info span {
	display: block;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	margin-top: 2px;
}

.whatsapp-chat-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.whatsapp-chat-body {
	padding: 16px;
	max-height: 260px;
	overflow-y: auto;
}

.whatsapp-chat-body p {
	font-size: 14px;
	color: #404040;
	margin-bottom: 12px;
}

.whatsapp-chat-services {
	list-style: none;
	margin: 0;
	padding: 0;
}

.whatsapp-chat-services li {
	font-size: 13px;
	font-weight: 500;
	color: #0b5d52;
	background-color: #f7f8f9;
	border-left: 3px solid #f5a623;
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 6px;
}

.whatsapp-chat-footer {
	padding: 0 16px 16px;
}

.whatsapp-start-chat-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #25d366;
	color: #ffffff;
	font-weight: 600;
	padding: 12px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.whatsapp-start-chat-btn:hover {
	background-color: #1ebe5b;
	color: #ffffff;
}

/* ---- Scrolling services marquee ---- */
.marquee-section {
	position: relative;
	background-color: #0b5d52;
	overflow: hidden;
	padding: 14px 0;
}

.marquee-track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	animation: aethonyx-marquee 30s linear infinite;
}

.marquee-track span {
	display: inline-block;
	padding: 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.marquee-track .marquee-dot {
	color: #f5a623;
	font-size: 20px;
	padding: 0 8px;
}

.marquee-section:hover .marquee-track {
	animation-play-state: paused;
}

@keyframes aethonyx-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	.marquee-track span {
		font-size: 13px;
		padding: 0 8px;
	}
}

/* ---- Mobile responsive tweaks ---- */
@media (max-width: 767px) {
	.main-banner-content h1 {
		font-size: 32px;
		line-height: 1.3;
	}

	.banner-rotating-text {
		min-height: 4.8em;
		font-size: 15px;
	}

	.feature-single-item .feature-icon {
		font-size: 40px;
	}

	.workprocess-icon-box .workprocess-icon {
		font-size: 28px;
	}
}

@media (max-width: 575px) {
	.main-banner-content h1 {
		font-size: 26px;
	}

	.banner-rotating-text {
		min-height: 6em;
	}

	.floating-contact-widget {
		left: 15px;
		bottom: 15px;
	}

	.floating-btn {
		width: 48px;
		height: 48px;
		font-size: 21px;
	}

	.whatsapp-chat-popup {
		width: calc(100vw - 30px);
		bottom: 68px;
	}
}
