/**
 * KiyoKart frontend shared styles
 * Loaded on all public marketing pages via header.blade.php
 */

/* Breadcrumb H1 (SEO) — matches theme .breadcumb-title h4 styling */
.breadcumb-title h1 {
	padding-bottom: 25px;
	font-size: 35px;
	color: #0b7574;
	font-weight: 600;
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-top: 20px;
	line-height: 1.2;
}

.breadcumb-title h1::before {
	position: absolute;
	z-index: -1;
	content: "";
	bottom: 11px;
	height: 12px;
	width: 66%;
	background: url(../../assets/images/home_3/hero_border.png) no-repeat;
	margin: auto;
	left: 0;
	right: 0;
}

/* Home hero */
.kk-hero {
	position: relative;
	padding: 30px 0 45px;
	background: radial-gradient(1200px 600px at 25% 10%, rgba(34, 197, 94, 0.12), transparent 60%),
		radial-gradient(900px 500px at 95% 40%, rgba(16, 185, 129, 0.10), transparent 55%),
		linear-gradient(180deg, #ffffff 0%, #f6fffb 100%);
	overflow: hidden;
}

.kk-hero__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: 0.2px;
	color: #0f172a;
}

.kk-hero__logo-badge {
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
	border: 1px solid rgba(34, 197, 94, 0.25);
}

.kk-hero__title {
	margin: 18px 0 14px;
	font-family: "Fira Sans", sans-serif;
	/* font-size: clamp(32px, 3.2vw, 46px);*/
	line-height: 1.2;
	font-weight: 600;
	font-style: normal;
	color: #063232;
}

.kk-hero__title em {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	color: #0c6e6d;
}

.kk-hero__subtitle {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(15, 23, 42, 0.72);
	margin-bottom: 22px;
	max-width: 520px;
}

.kk-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 26px;
}

.kk-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
	color: #0f172a;
	font-weight: 700;
	font-size: 13px;
}

.kk-pill__icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
}

.kk-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 4px;
}

.kk-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 18px;
	border-radius: 999px;
	background: #16a34a;
	color: #fff !important;
	font-weight: 800;
	box-shadow: 0 18px 36px rgba(22, 163, 74, 0.20);
}

.kk-btn-primary:hover {
	background: #12833b;
}

.kk-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 18px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a !important;
	font-weight: 800;
}

.kk-hero__trust {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	align-items: center;
	color: rgba(15, 23, 42, 0.72);
	font-weight: 700;
}

.kk-hero__stars {
	color: #f59e0b;
}

.kk-hero__right {
	position: relative;
}

.kk-hero__device {
	max-width: 620px;
	margin-left: auto;
	filter: drop-shadow(0 30px 55px rgba(15, 23, 42, 0.18));
}

.kk-hero__secure {
	position: absolute;
	top: 0px;
	right: -10px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
	padding: 10px 12px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.kk-hero__secure i {
	color: #16a34a;
	font-size: 20px;
}

@media (max-width: 991px) {
	.kk-hero {
		padding: 70px 0 40px;
	}
	.kk-hero__device {
		margin: 26px auto 0;
	}
	.kk-hero__secure {
		right: 50%;
		transform: translateX(50%);
	}
}

/* India mobile (+91 prefix) */
.front-mobile-input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.front-mobile-input-group .front-mobile-prefix {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	padding: 0 14px;
	height: 54px;
	background-color: #f3f4f6;
	border: 1px solid #e6eaea;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	color: #063232;
	font-size: 15px;
	font-weight: 600;
}

.front-mobile-input-group .front-mobile-number {
	flex: 1;
	min-width: 0;
	height: 54px;
	border-radius: 0 4px 4px 0 !important;
	border-left: 0 !important;
}

.front-mobile-input-group .front-mobile-number:focus {
	border-color: #0c6e6d !important;
	box-shadow: 0 0 0 1px rgba(12, 110, 109, 0.2);
}

.front-mobile-input-group .front-mobile-number.front-otp-phone-locked {
	background-color: #f3f4f6 !important;
}

/* OTP verification */
.front-otp-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
	flex-wrap: wrap;
}

.front-otp-row .form-box {
	flex: 1;
	min-width: 140px;
	margin-bottom: 0 !important;
}

.front-otp-row .front-otp-send-btn {
	height: 54px;
	padding: 0 18px;
	border-radius: 4px;
	border: 1px solid #0c6e6d;
	background: #fff;
	color: #0c6e6d;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	cursor: pointer;
}

.front-otp-row .front-otp-send-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.front-otp-status {
	font-size: 13px;
	margin-top: 8px;
	display: block;
}

.front-otp-status.is-success {
	color: #16a34a;
}

.front-otp-status.is-error {
	color: #dc2626;
}

.front-otp-phone-locked {
	background-color: #f3f4f6 !important;
	cursor: not-allowed;
}

.front-otp-change-mobile {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: #0c6e6d;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.front-otp-change-mobile:hover {
	color: #095856;
}

/* WhatsApp floating button */
.whatsapp-float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 30px;
	right: 30px;
	background-color: #25d366;
	color: white;
	border-radius: 50%;
	text-align: center;
	font-size: 30px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-float a {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.whatsapp-float a:hover {
	color: white;
	text-decoration: none;
}

.whatsapp-float i {
	font-size: 30px;
	line-height: 1;
}

@media (max-width: 768px) {
	.whatsapp-float {
		width: 50px;
		height: 50px;
		bottom: 20px;
		right: 20px;
		font-size: 24px;
	}
	.whatsapp-float i {
		font-size: 24px;
	}
}

@keyframes kk-whatsapp-pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.whatsapp-float:not(:hover) {
	animation: kk-whatsapp-pulse 2s infinite;
}
