/**
 * CrossIC homepage styles (polished).
 * Loaded only on the front page. Everything is prefixed .cic- and the <body>
 * carries .cic-home, so these rules never touch other pages.
 */

.cic-home {
	--cic-green: #7fb539;
	--cic-green-d: #5f9122;
	--cic-green-dd: #4e7a1b;
	--cic-navy: #0c2138;
	--cic-navy-2: #0f2a44;
	--cic-heading: #14263a;
	--cic-text: #56687a;
	--cic-muted: #8a99a8;
	--cic-border: #e7edf2;
	--cic-border-2: #eef2f6;
	--cic-soft: #f4f8ee;
	--cic-card: #ffffff;
	--cic-radius: 14px;
	--cic-radius-sm: 10px;
	--cic-shadow-sm: 0 1px 2px rgba(16, 39, 61, .04), 0 2px 6px rgba(16, 39, 61, .05);
	--cic-shadow: 0 6px 20px rgba(16, 39, 61, .07);
	--cic-shadow-lg: 0 20px 44px rgba(16, 39, 61, .13);
	--cic-ring: 0 0 0 4px rgba(127, 181, 57, .16);

	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--cic-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* guard against stray horizontal scroll; does not break position:sticky */
}

.cic-home * { box-sizing: border-box; }

/* Allow grid/flex children to shrink below their content size (prevents mobile overflow). */
.cic-hero__inner > *, .cic-apps > *, .cic-why__inner > *, .cic-section__head > div { min-width: 0; }

.cic-home h1, .cic-home h2, .cic-home h3, .cic-home h4 {
	font-family: "Poppins", "Inter", sans-serif;
	color: var(--cic-heading);
	margin: 0;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

.cic-home a { text-decoration: none; color: inherit; transition: color .18s ease; }
.cic-home img, .cic-home svg { max-width: 100%; }

.cic-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.cic-green { color: var(--cic-green-d); }

.cic-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cic-muted);
	margin-bottom: 14px;
}
.cic-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--cic-green);
}
.cic-eyebrow--green { color: var(--cic-green-d); }

/* ---------- Buttons ---------- */
.cic-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
	white-space: nowrap;
}
.cic-btn .cic-ico { width: 18px; height: 18px; transition: transform .18s ease; }
.cic-btn:hover .cic-ico { transform: translateX(3px); }
.cic-btn--green { background: linear-gradient(180deg, #86bd40, var(--cic-green-d)); color: #fff; box-shadow: 0 6px 16px rgba(95, 145, 34, .28); }
.cic-btn--green:hover { background: linear-gradient(180deg, #7cb236, var(--cic-green-dd)); box-shadow: 0 10px 22px rgba(95, 145, 34, .34); transform: translateY(-1px); }
.cic-btn--outline { background: #fff; color: var(--cic-green-d); border-color: var(--cic-border); box-shadow: var(--cic-shadow-sm); }
.cic-btn--outline:hover { border-color: var(--cic-green); color: var(--cic-green-dd); transform: translateY(-1px); box-shadow: var(--cic-shadow); }

/* ---------- Icons ---------- */
.cic-ico { display: inline-block; vertical-align: middle; }

/* ==================== HEADER ==================== */
.cic-topbar { background: var(--cic-navy); color: #c3d1df; font-size: 13px; }
.cic-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 16px; }
.cic-topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.cic-topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: #c3d1df; }
.cic-topbar__contact a:hover { color: #fff; }
.cic-topbar__contact .cic-ico { width: 15px; height: 15px; opacity: .8; }
.cic-topbar__right { display: flex; align-items: center; gap: 20px; }
.cic-topbar__badge { font-size: 12px; color: #93a6ba; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 20px; }

.cic-social { display: flex; gap: 14px; }
.cic-social a { display: inline-flex; color: #c3d1df; }
.cic-social a:hover { color: var(--cic-green); transform: translateY(-1px); }
.cic-social .cic-ico { width: 16px; height: 16px; }
.cic-social--light a { color: #8ea2b6; }

.cic-navbar { background: #fff; border-bottom: 1px solid var(--cic-border); position: sticky; top: 0; z-index: 50; }
.cic-navbar__inner { display: flex; align-items: center; gap: 26px; min-height: 80px; }

.cic-logo { display: inline-flex; align-items: center; gap: 12px; }
.cic-logo__mark { display: inline-flex; }
.cic-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.cic-logo__name { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 23px; letter-spacing: .01em; color: var(--cic-heading); }
.cic-logo__name strong { color: var(--cic-green); }
.cic-logo__tag { font-size: 8.5px; font-weight: 600; letter-spacing: .13em; color: var(--cic-muted); margin-top: 2px; }
.cic-logo--light .cic-logo__name { color: #fff; }
.cic-logo--light .cic-logo__tag { color: #7589a0; }

.cic-primary-nav { margin-left: 6px; }
.cic-menu { display: flex; list-style: none; gap: 32px; margin: 0; padding: 0; }
.cic-menu a { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px; color: var(--cic-heading); padding: 8px 0; position: relative; }
.cic-menu a:hover, .cic-menu .current-menu-item > a { color: var(--cic-green-d); }
.cic-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--cic-green); border-radius: 2px; transition: right .22s ease; }
.cic-menu a:hover::after, .cic-menu .current-menu-item > a::after { right: 0; }

.cic-header-search { display: flex; align-items: center; margin-left: auto; background: #f5f7f9; border: 1px solid var(--cic-border); border-radius: 10px; overflow: hidden; min-width: 280px; transition: border-color .18s ease, box-shadow .18s ease; }
.cic-header-search:focus-within { border-color: var(--cic-green); box-shadow: var(--cic-ring); background: #fff; }
.cic-header-search input { flex: 1; border: 0; background: transparent; padding: 11px 15px; font-size: 14px; color: var(--cic-heading); outline: none; }
.cic-header-search button { border: 0; background: var(--cic-green); color: #fff; padding: 0 18px; align-self: stretch; cursor: pointer; display: inline-flex; align-items: center; transition: background .18s ease; }
.cic-header-search button:hover { background: var(--cic-green-d); }

.cic-nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--cic-border); border-radius: 10px; background: #fff; cursor: pointer; margin-left: auto; align-items: center; justify-content: center; }
.cic-nav-toggle span { width: 20px; height: 2px; background: var(--cic-heading); border-radius: 2px; transition: .2s; }

/* ==================== HERO ==================== */
.cic-hero { position: relative; background:
	radial-gradient(1100px 460px at 78% -8%, rgba(127, 181, 57, .10), transparent 60%),
	linear-gradient(180deg, #f6faf0 0%, #ffffff 72%);
	padding: 64px 0 0; }
.cic-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.cic-hero__title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.022em; line-height: 1.1; margin-bottom: 20px; }
.cic-hero__lead { font-size: 16.5px; line-height: 1.72; max-width: 530px; margin: 0 0 28px; }

.cic-hero__search { display: flex; align-items: center; background: #fff; border: 1px solid var(--cic-border); border-radius: 14px; padding: 8px 8px 8px 18px; box-shadow: var(--cic-shadow); max-width: 560px; transition: border-color .18s ease, box-shadow .18s ease; }
.cic-hero__search:focus-within { border-color: var(--cic-green); box-shadow: var(--cic-shadow-lg); }
.cic-hero__search .cic-ico { color: var(--cic-muted); width: 20px; height: 20px; flex: none; }
.cic-hero__search input { flex: 1; border: 0; outline: none; padding: 13px 14px; font-size: 15px; color: var(--cic-heading); background: transparent; }
.cic-hero__search .cic-btn { padding: 14px 30px; }

.cic-hero__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: 13px; }
.cic-hero__tags > span { color: var(--cic-muted); font-weight: 600; }
.cic-hero__tags a { background: #eef3f7; color: var(--cic-heading); padding: 7px 14px; border-radius: 30px; font-size: 12.5px; font-weight: 500; border: 1px solid transparent; transition: all .18s ease; }
.cic-hero__tags a:hover { background: #fff; border-color: var(--cic-green); color: var(--cic-green-d); box-shadow: var(--cic-shadow-sm); }

.cic-hero__media { position: relative; }
.cic-hero__card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 56px rgba(12, 33, 56, .22); aspect-ratio: 520 / 360; }
.cic-hero__card::after { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(127, 181, 57, .25); pointer-events: none; }
.cic-hero__card svg { display: block; width: 100%; height: 100%; }
.cic-hero__script { position: absolute; top: 22px; right: 24px; text-align: right; color: #eafbe9; font-family: "Poppins", cursive; font-size: 19px; line-height: 1.35; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.cic-hero__script em { font-style: italic; color: #a8e6b0; }

/* Hero feature badges — cohesive bordered strip */
.cic-hero__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--cic-border); padding: 26px 0 30px; }
.cic-hbadge { display: flex; align-items: center; gap: 14px; padding: 0 26px; position: relative; }
.cic-hbadge:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 38px; background: var(--cic-border); }
.cic-hbadge:first-child { padding-left: 0; }
.cic-hadge__ring { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(127, 181, 57, .12); color: var(--cic-green-d); flex: none; box-shadow: inset 0 0 0 1px rgba(127, 181, 57, .2); }
.cic-hbadge__txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; gap: 2px; }
.cic-hbadge__txt strong { color: var(--cic-heading); font-weight: 700; font-size: 14.5px; }

/* ==================== SECTIONS ==================== */
.cic-section { padding: 72px 0; }
.cic-section--soft { background: linear-gradient(180deg, #f3f8ec, #f7fbf2); border-top: 1px solid #eaf0e2; border-bottom: 1px solid #eaf0e2; }
.cic-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.cic-section__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.cic-section__sub { font-size: 15px; line-height: 1.6; max-width: 580px; margin: 0; }

/* Brands grid */
.cic-brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cic-brand { display: flex; align-items: center; justify-content: center; min-height: 78px; padding: 16px; background: #fff; border: 1px solid var(--cic-border); border-radius: var(--cic-radius); box-shadow: var(--cic-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cic-brand:hover { border-color: var(--cic-green); box-shadow: var(--cic-shadow-lg); transform: translateY(-3px); }
.cic-brand__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15.5px; color: var(--cic-heading); text-align: center; letter-spacing: .01em; transition: color .18s ease; }
.cic-brand:hover .cic-brand__name { color: var(--cic-green-d); }

/* Applications */
.cic-apps { display: grid; grid-template-columns: 1fr 1.42fr; gap: 48px; align-items: center; }
.cic-apps__intro .cic-btn { margin-top: 26px; }
.cic-apps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cic-app { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px 12px; background: #fff; border: 1px solid var(--cic-border); border-radius: var(--cic-radius); box-shadow: var(--cic-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; min-height: 124px; }
.cic-app:hover { border-color: var(--cic-green); box-shadow: var(--cic-shadow-lg); transform: translateY(-3px); }
.cic-app__ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; background: rgba(127, 181, 57, .11); color: var(--cic-green-d); transition: background .18s ease, color .18s ease; }
.cic-app:hover .cic-app__ico { background: var(--cic-green); color: #fff; }
.cic-app__label { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; color: var(--cic-heading); line-height: 1.35; }

/* Parts */
.cic-part-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cic-part { display: flex; align-items: center; gap: 11px; padding: 15px 16px; background: #fff; border: 1px solid var(--cic-border); border-radius: var(--cic-radius-sm); box-shadow: var(--cic-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cic-part:hover { border-color: var(--cic-green); box-shadow: var(--cic-shadow); transform: translateY(-2px); }
.cic-part__ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(127, 181, 57, .11); color: var(--cic-green-d); flex: none; }
.cic-part__ico .cic-ico { width: 18px; height: 18px; }
.cic-part__name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; color: var(--cic-heading); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cic-part__arrow { color: var(--cic-muted); display: inline-flex; flex: none; transition: color .18s ease, transform .18s ease; }
.cic-part__arrow .cic-ico { width: 16px; height: 16px; }
.cic-part:hover .cic-part__arrow { color: var(--cic-green); transform: translateX(2px); }

/* ==================== WHY CHOOSE + ENQUIRY ==================== */
.cic-why { position: relative; padding: 80px 0; background:
	linear-gradient(90deg, rgba(10, 25, 40, .97), rgba(10, 25, 40, .88)),
	radial-gradient(circle at 12% 18%, rgba(127, 181, 57, .28), transparent 42%),
	var(--cic-navy); color: #c2d0de; overflow: hidden; }
.cic-why::before { content: ""; position: absolute; inset: 0; background-image:
	linear-gradient(rgba(127, 181, 57, .055) 1px, transparent 1px),
	linear-gradient(90deg, rgba(127, 181, 57, .055) 1px, transparent 1px);
	background-size: 46px 46px; opacity: .6; pointer-events: none; }
.cic-why__inner { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 54px; align-items: center; }
.cic-why .cic-eyebrow--green { color: var(--cic-green); }
.cic-why .cic-eyebrow--green::before { background: var(--cic-green); }
.cic-why .cic-why__title { color: #fff; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin-bottom: 34px; letter-spacing: -0.02em; line-height: 1.25; }
.cic-why__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; }
.cic-why__feat { display: flex; align-items: center; gap: 15px; }
.cic-why__ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(127, 181, 57, .16); color: var(--cic-green); flex: none; box-shadow: inset 0 0 0 1px rgba(127, 181, 57, .22); }
.cic-why__feat span:last-child { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; gap: 1px; }
.cic-why__feat strong { color: #fff; font-weight: 700; font-size: 15px; }

.cic-enquiry { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 24px 54px rgba(0, 0, 0, .28); }
.cic-enquiry h3 { font-size: 21px; margin-bottom: 5px; }
.cic-enquiry > p { font-size: 13px; color: var(--cic-muted); margin: 0 0 20px; }
.cic-enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.cic-enquiry input, .cic-enquiry select, .cic-enquiry textarea {
	width: 100%; border: 1px solid var(--cic-border); border-radius: 10px; padding: 13px 14px;
	font-size: 14px; font-family: inherit; color: var(--cic-heading); background: #fff; outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.cic-enquiry input::placeholder, .cic-enquiry textarea::placeholder { color: #9aa8b5; }
.cic-enquiry input:focus, .cic-enquiry select:focus, .cic-enquiry textarea:focus { border-color: var(--cic-green); box-shadow: var(--cic-ring); }
.cic-enquiry textarea { resize: vertical; margin-bottom: 16px; }
.cic-enquiry .cic-btn { width: 100%; justify-content: center; padding: 15px; }
.cic-notice { padding: 12px 15px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.cic-notice--ok { background: #eaf7e1; color: #3f7014; border: 1px solid #c5e6a6; }
.cic-notice--err { background: #fdecea; color: #a4342a; border: 1px solid #f5c6c2; }

/* ==================== FOOTER ==================== */
.cic-footer { background: var(--cic-navy); color: #93a6ba; padding-top: 58px; }
.cic-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 44px; padding-bottom: 42px; }
.cic-footer__about p { font-size: 14px; line-height: 1.75; margin: 20px 0 0; max-width: 370px; }
.cic-footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-family: "Poppins", sans-serif; letter-spacing: .01em; }
.cic-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.cic-footer__col a:hover { color: var(--cic-green); }
.cic-footer__col li { font-size: 14px; }
.cic-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.65; }
.cic-footer__contact .cic-ico { width: 17px; height: 17px; color: var(--cic-green); flex: none; margin-top: 2px; }
.cic-footer__bar { border-top: 1px solid rgba(255, 255, 255, .09); }
.cic-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 13px; gap: 16px; }

/* WhatsApp float */
.cic-whatsapp { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .5); z-index: 90; transition: transform .2s ease; }
.cic-whatsapp:hover { transform: scale(1.09); }
.cic-whatsapp .cic-ico { width: 30px; height: 30px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
	.cic-hero__inner { grid-template-columns: 1fr; gap: 38px; }
	.cic-hero__media { max-width: 560px; }
	.cic-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cic-part-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cic-apps { grid-template-columns: 1fr; }
	.cic-why__inner { grid-template-columns: 1fr; }
	.cic-topbar__badge { display: none; }
}

@media (max-width: 860px) {
	.cic-primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--cic-border); box-shadow: var(--cic-shadow); display: none; }
	.cic-primary-nav.is-open { display: block; }
	.cic-menu { flex-direction: column; gap: 0; padding: 8px 24px; }
	.cic-menu li { border-bottom: 1px solid var(--cic-border); }
	.cic-menu li:last-child { border-bottom: 0; }
	.cic-menu a { display: block; padding: 15px 0; }
	.cic-menu a::after { display: none; }
	.cic-nav-toggle { display: inline-flex; }
	.cic-header-search { order: 3; min-width: 0; width: 100%; margin: 0 0 14px; }
	.cic-navbar__inner { flex-wrap: wrap; position: relative; padding-bottom: 0; }
	.cic-navbar__inner .cic-logo { margin-right: auto; }
	.cic-hero__badges { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
	.cic-hbadge:nth-child(2)::after { display: none; }
	.cic-hbadge:nth-child(odd) { padding-left: 0; }
	.cic-section__head { flex-direction: column; align-items: flex-start; }
	.cic-apps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cic-why__feats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.cic-hero { padding-top: 44px; }
	.cic-section { padding: 52px 0; }
	.cic-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cic-part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cic-apps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cic-hero__badges { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
	.cic-hbadge::after { display: none !important; }
	.cic-hbadge { padding: 0 !important; }
	.cic-why__feats { grid-template-columns: 1fr; }
	.cic-enquiry__row { grid-template-columns: 1fr; }
	.cic-topbar__contact { gap: 14px; font-size: 12px; }
	.cic-topbar__inner { flex-wrap: wrap; padding: 8px 0; }
	.cic-hero__search { flex-wrap: wrap; }
	.cic-hero__search input { min-width: 0; width: 100%; }
	.cic-hero__search .cic-btn { width: 100%; justify-content: center; margin-top: 6px; }
	.cic-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.cic-footer__bar-inner { flex-direction: column; text-align: center; }
}
