/* ==========================================================================
   GetOnData — pages/home.css (front page only)
   Mirrors the live getondata.com home page (values measured at 1440px).
   Sections: hero · services · industries · process · clients · cases ·
             insights · contact
   ========================================================================== */

/* ---------- Hero ---------- */
.home-hero { position: relative; background: var(--gd-ink); }
.home-hero__slide {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Fills the screen but grows with its content, so the box never runs into the dots. */
	min-height: clamp(640px, 100vh, 900px);
	padding: 107px 80px 110px;
	overflow: hidden;
}
.home-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.home-hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .5); }

.home-hero__box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	width: 100%;
	max-width: 1100px;
	padding: 45px 25px;
	border: 2px solid #18073b;
	border-radius: 10px;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	color: #fff;
}
.home-hero__box:not(:has(.home-hero__visual)) { grid-template-columns: minmax(0, 620px); justify-content: center; }
.home-hero__visual img { display: block; width: 100%; height: auto; border-radius: 6px; }
.home-hero__title { margin: 0 0 15px; color: #fff; font: 700 28px/44px var(--gd-font); }
.home-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.home-hero__stats strong { display: block; margin-bottom: 20px; color: var(--gd-orange); font: 700 36px/36px var(--gd-font); }
.home-hero__stats span { display: block; color: #fff; font: 600 18px/28px var(--gd-font); }
.home-hero__btn { gap: 10px; }

/* Grey round arrows outside the box + orange/blue dots. */
.home-hero__nav { position: absolute; top: 50%; left: 50%; width: min(1260px, calc(100% - 40px)); justify-content: space-between; pointer-events: none; transform: translate(-50%, -50%); }
.home-hero__nav .carousel-nav__btn {
	width: 37px;
	height: 37px;
	border: 0;
	background: #7b7b7b;
	color: #000;
	pointer-events: auto;
}
.home-hero__nav .carousel-nav__btn:hover:not(:disabled) { background: var(--gd-orange); color: #fff; }
/* Dots sit in the reserved bottom padding, ~40px under the box (live). */
.home-hero__dots { position: absolute; left: 0; right: 0; bottom: 60px; margin: 0; }

@media (max-width: 1279px) { .home-hero__nav { display: none; } }
@media (max-width: 1023px) {
	.home-hero__slide { padding-inline: 20px; }
	.home-hero__box { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
	.home-hero__dots { bottom: 30px; }
}
@media (max-width: 767px) {
	/* Live mobile hero: no bordered box, dashboard image on top. */
	.home-hero__slide { align-items: flex-start; height: auto; min-height: 0; max-height: none; padding: 126px 20px 110px; }
	.home-hero__box { gap: 20px; padding: 0; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.home-hero__visual { display: block; }
	.home-hero__visual img { border-radius: 6px; }
	.home-hero__title { margin-bottom: 8px; font-size: 20px; line-height: 30px; }
	.home-hero__stats { gap: 16px; margin-bottom: 20px; }
	.home-hero__stats strong { margin-bottom: 13px; font-size: 28px; line-height: 34px; }
	.home-hero__stats span { font-size: 14px; line-height: 18px; }
	.home-hero__dots { bottom: 60px; }
}

/* ---------- Services ---------- */
.home-services { padding-top: 60px; }
.home-services__list { display: flex; gap: 20px; margin-bottom: 25px; }
.home-services__tab {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-height: 126px;
	padding: 20px;
	border: 3px solid transparent;
	border-radius: 10px;
	background: rgba(53, 63, 232, .1);
	color: var(--gd-grey);
	font: 700 22px/25px var(--gd-font);
	transition: background-color .3s, border-color .3s, color .3s;
}
.home-services__tab:hover { color: #000; }
.home-services__tab[aria-selected="true"] { border-color: rgba(255, 136, 31, .56); background: rgba(255, 136, 31, .1); color: #000; }
.home-services__icon { width: 40px; height: 40px; object-fit: contain; }

.home-services__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
	align-items: center;
	gap: 25px;
	padding: 20px;
	border: 3px solid rgba(255, 136, 31, .56);
	border-radius: 10px;
	background: rgba(255, 136, 31, .1);
}
.home-services__content { padding: 0 0 0 3px; }
.home-services__heading { margin: 0 0 10px; color: #000; font: 700 28px/38px var(--gd-font); letter-spacing: .32px; text-transform: capitalize; }
.home-services__text { margin: 0 0 20px; color: var(--gd-text-80); font: 500 20px/29px var(--gd-font); }
.home-services__list-title { margin: 0 0 10px; color: #000; font: 700 22px/30px var(--gd-font); letter-spacing: .32px; text-transform: capitalize; }
.home-services__btn { margin-top: 30px; }
.home-services__media img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 12px; }

@media (max-width: 1023px) {
	.home-services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.home-services__tab { min-height: 100px; font-size: 22px; } /* As live. */
	.home-services__content { text-align: center; }
	.home-services__content ul { text-align: left; }
	.home-services__panel { grid-template-columns: 1fr; }
	.home-services__media { order: -1; }
}
@media (max-width: 575px) {
	.home-services__tab { flex-direction: row; justify-content: flex-start; min-height: 64px; padding: 12px 14px; font-size: 15px; line-height: 20px; text-align: left; }
	.home-services__icon { width: 28px; height: 28px; }
	.home-services__heading { font-size: 22px; line-height: 30px; }
	.home-services__text { font-size: 17px; line-height: 26px; }
}

/* ---------- Industries ---------- */
.home-industries { padding-block: 50px; background: var(--gd-ink); color: #fff; }
.home-industries .section-heading { margin-bottom: 20px; }
.home-industries__list {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
	border-bottom: 3px solid #4d5157;
}
.home-industries__list::-webkit-scrollbar { display: none; }
.home-industries__tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 10px;
	margin-bottom: -3px;
	padding: 10px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: #fff;
	font: 700 22px/30px var(--gd-font);
	white-space: nowrap;
}
.home-industries__tab:hover,
.home-industries__tab[aria-selected="true"] { color: var(--gd-orange); }
.home-industries__tab[aria-selected="true"] { border-bottom-color: var(--gd-orange); }
/* Orange triangle under the active tab. */
.home-industries__tab[aria-selected="true"]::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -20px;
	border-top: 20px solid var(--gd-orange);
	border-inline: 15px solid transparent;
	transform: translateX(-50%);
}
.home-industries__icon { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.home-industries__tab[aria-selected="true"] .home-industries__icon,
.home-industries__tab:hover .home-industries__icon {
	filter: brightness(0) saturate(100%) invert(62%) sepia(76%) saturate(1500%) hue-rotate(345deg) brightness(101%) contrast(101%);
}
.home-industries__panel { padding: 30px; border-radius: 16px; background: #fff; color: var(--gd-text); }
.home-industries__heading { margin: 0 0 20px; color: #000; font: 700 22px/30px var(--gd-font); letter-spacing: .32px; }
.home-industries__text { margin: 20px 0 0; color: var(--gd-text-80); font: 500 18px/30px var(--gd-font); }
.home-industries__footer { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 25px; }
.home-industries__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.home-industries__cta p { margin: 0; color: var(--gd-ink); font: 600 26px/32px var(--gd-font); }
@media (max-width: 1199px) {
	.home-industries__list { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.home-industries__tab[aria-selected="true"]::before { display: none; }
}
@media (max-width: 767px) {
	.home-industries__tab { font-size: 17px; }
	.home-industries__panel { padding: 18px; }
	.home-industries__cta p { font-size: 20px; line-height: 28px; }
}

/* ---------- Process ---------- */
.home-process { padding-block: 70px 50px; }
.home-process__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.home-process__step { position: relative; padding: 0 10px; }
.home-process__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 110px;
	height: 110px;
	margin: 0 auto 40px;
	border: 6px solid #ffe7d2;
	border-radius: 50%;
	background: #fff;
}
.home-process__step--3 .home-process__icon { border-color: #e8e9fd; }
.home-process__icon img { width: 40px; height: 40px; object-fit: contain; } /* 40px as live. */
/* Dashed curved arrow between steps. */
.home-process__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% + 85px);
	width: calc(100% - 150px);
	height: 42px;
	border-top: 2px dashed #c9cdf5;
	border-radius: 50% 50% 0 0;
}
.home-process__title { margin: 0 0 8px; color: var(--gd-ink); font: 700 22px/30px var(--gd-font); letter-spacing: .32px; text-transform: capitalize; }
.home-process__text { margin: 0; color: rgba(2, 1, 1, .8); font: 500 18px/28px var(--gd-font); }
@media (max-width: 899px) {
	.home-process__steps { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
	.home-process__icon { margin-bottom: 20px; }
	.home-process__step::after { display: none; }
}

/* Clients ("Trusted by") and CTA band: shared, see components.css. */

/* Case studies, insights, contact: shared, see components.css. */

/* ---------- Hover states (copied from the live site) ---------- */
/* Hero "View Case Study": no colour change on hover (live widget setting). */
.home-hero__btn:hover,
.home-hero__btn:focus-visible { background: var(--gd-blue); }

/* Service tabs: inactive tab gets the orange tint + black text. */
.home-services__tab[aria-selected="false"]:hover { background: rgba(255, 136, 31, .1); color: #000; }

/* Industry tabs: inactive tab gets an orange underline, soft shadow, orange text/icon. */
.home-industries__tab[aria-selected="false"]:hover {
	border-bottom-color: var(--gd-orange);
	box-shadow: 0 0 34px 5px rgba(0, 0, 0, .07);
	color: var(--gd-orange);
}

/* "Know more about …" link: no hover change on live. */
.home-industries .text-link:hover { color: var(--gd-ink); }

/* ==========================================================================
   Responsive refinements (tested at 320 / 360 / 390 / 414 / 768 / 1024 / 1280)
   ========================================================================== */

/* ≤1199: side-by-side layouts get too narrow — stack them. */
@media (max-width: 1199px) {
	.home-services__panel { grid-template-columns: 1fr; }
	.home-services__media { order: -1; }
	.home-services__media img { aspect-ratio: 16 / 9; }

	.home-industries .embed { height: min(var(--embed-h, 600px), 520px); }
}

/* ≤767: phones. */
@media (max-width: 767px) {
	.home-services__media img { aspect-ratio: 4 / 3; }
}

/* Phone, as live: services read like an accordion - full-width service cards
   with the open panel right under its card (CSS order, same markup); panel
   and industry panel text centred. */
@media (max-width: 767px) {
	.home-services__tabs { display: flex; flex-direction: column; gap: 12px; }
	.home-services__list { display: contents; }
	#svc-tab-0 { order: 0; } #svc-panel-0 { order: 1; }
	#svc-tab-1 { order: 2; } #svc-panel-1 { order: 3; }
	#svc-tab-2 { order: 4; } #svc-panel-2 { order: 5; }
	#svc-tab-3 { order: 6; } #svc-panel-3 { order: 7; }
	#svc-tab-4 { order: 8; } #svc-panel-4 { order: 9; }
	#svc-tab-5 { order: 10; } #svc-panel-5 { order: 11; }
	#svc-tab-6 { order: 12; } #svc-panel-6 { order: 13; }
	#svc-tab-7 { order: 14; } #svc-panel-7 { order: 15; }
	.home-services__tab { flex-direction: column; justify-content: center; min-height: 100px; padding: 20px; font-size: 22px; line-height: 25px; text-align: center; }
	.home-services__icon { width: 40px; height: 40px; }
	.home-services__content { text-align: center; }
	.home-services__heading { font-size: 28px; line-height: 38px; }
	.home-services__text { font-size: 20px; line-height: 29px; }
	.home-services__content ul { text-align: left; }
	.home-industries__panel { text-align: center; }
	.home-industries__footer,
	.home-industries__cta { align-items: center; justify-content: center; }
	.home-industries__cta p { font-size: 26px; line-height: 32px; }
}
/* Industries panel text: #262626 at 80%, as live. */
.home-industries__text { color: rgba(38, 38, 38, .8); }
/* Desktop, as live: when the industry tabs don't fit (7+), they wrap onto a
   centred second row; each tab carries its own grey line. */
@media (min-width: 1200px) {
	.home-industries__list { flex-wrap: wrap; justify-content: center; border-bottom: 0; }
	.home-industries__tab { margin-bottom: 0; border-bottom-color: #4d5157; }
	.home-industries__tab[aria-selected="true"] { border-bottom-color: var(--gd-orange); }
}