/* ==========================================================================
   LIDAVI Technologies -- consolidated stylesheet
   Replaces the old Joomla page-builder CSS export (14 separate framework
   files) with a single hand-written, responsive stylesheet.
   ========================================================================== */

@import url("fonts/yantramanav-400.css");
@import url("fonts/yantramanav-500.css");
@import url("fonts/yantramanav-700.css");

:root {
	--main-color: #104cba;
	--main-color-dark: #0c3990;
	--second-color: #091d3e;
	--gradient: linear-gradient(to right, #02218f, #0e72e3, #02218f);
	--text-color: #4a5568;
	--heading-color: #091d3e;
	--bg-alt: #f5f8fc;
	--border-color: #e6ebf2;
	--radius: 10px;
	--container-width: 1140px;
	--font: "Yantramanav", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.7;
	background: #fff;
}

img { max-width: 100%; display: block; }

a { color: var(--main-color); text-decoration: none; }
a:hover { color: var(--main-color-dark); }

h1, h2, h3, h4, h5, h6 {
	color: var(--heading-color);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
}

h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 500; }
h4 { font-size: 20px; }

p { margin: 0 0 16px; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-lead { color: var(--text-color); font-size: 17px; }

.eyebrow {
	display: inline-block;
	color: var(--main-color);
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 10px;
}

/* Icons (inline SVG, replaces Font Awesome to avoid a cross-origin font CORS/
   preflight failure -- some clients send a Signature-Agent request header on
   the font preflight that cdnjs.cloudflare.com's Access-Control-Allow-Headers
   does not permit, blocking the load) */
.icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	vertical-align: -0.125em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 50px;
	font-weight: 700;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all .2s ease;
	text-align: center;
}
.btn-primary { background: var(--main-color); color: #fff; }
.btn-primary:hover { background: var(--main-color-dark); color: #fff; }

/* Topbar */
.topbar { background: var(--second-color); color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; flex-wrap: wrap; gap: 6px; }
.topbar-item { color: #cbd5e1; }
.topbar-item .icon { margin-right: 6px; color: var(--main-color); }
a.topbar-item:hover { color: #fff; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--border-color);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo img { height: 42px; }

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { color: var(--heading-color); font-weight: 500; }
.main-nav a:hover { color: var(--main-color); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--heading-color); }

/* Hero */
.hero { background: var(--gradient); padding: 90px 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-copy h1, .hero-copy h2.hero-sub { color: #fff; }
.hero-copy .eyebrow { color: #8fc0ff; }
.hero-copy .eyebrow-alt { margin-top: 24px; }
.hero-copy h1 { margin-bottom: 6px; }
.hero-sub { font-size: 26px; margin-bottom: 30px; }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-badge {
	position: absolute;
	left: -30px;
	bottom: -30px;
	background: #fff;
	border-radius: var(--radius);
	padding: 18px 20px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 320px;
	box-shadow: 0 15px 40px rgba(0,0,0,.2);
}
.hero-badge img { width: 34px; flex-shrink: 0; }
.hero-badge strong { display: block; color: var(--heading-color); margin-bottom: 6px; }
.hero-badge p { margin: 0; font-size: 13px; color: var(--text-color); }

/* About */
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-card {
	background: var(--bg-alt);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 26px;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; }

.feature-card-icon { display: flex; gap: 18px; align-items: flex-start; background: #fff; }
.feature-card-icon img { width: 44px; flex-shrink: 0; }

/* Card grids */
.card-grid { display: grid; gap: 26px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 30px 26px;
	text-align: left;
	transition: transform .2s ease, box-shadow .2s ease;
}
.section-alt .service-card { background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(9,29,62,.1); }
.service-card img { width: 48px; margin-bottom: 18px; }
.service-card h4 { margin-bottom: 10px; font-size: 18px; }
.service-card p { margin: 0; font-size: 14px; }

.industry-card {
	background: var(--bg-alt);
	border-radius: var(--radius);
	padding: 26px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.industry-card img { width: 22px; }
.industry-card h4 { margin: 0; }

/* Data protection strip */
.data-protection { background: var(--second-color); color: #cbd5e1; }
.data-protection .eyebrow { color: #8fc0ff; }
.data-protection-inner { display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: center; }
.data-protection p { color: #cbd5e1; margin: 0; }
.data-protection-shape { opacity: .85; }

/* Who we work with */
.who-inner-single { max-width: 700px; margin: 0 auto; text-align: center; }
.who-inner-single .eyebrow { display: block; }
.checklist { list-style: none; margin: 24px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--heading-color); }
.checklist img { width: 20px; }
.checklist-center { align-items: center; }
.checklist-center li { justify-content: center; }

/* Careers */
.careers-inner { text-align: center; max-width: 700px; }

/* Footer */
.site-footer { background: var(--second-color); color: #cbd5e1; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; }
.footer-logo { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-col p { color: #9fb0c9; font-size: 14px; }
.footer-col p .icon { margin-right: 6px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #9fb0c9; font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9fb0c9; }
.footer-bottom a { color: #9fb0c9; }
.footer-bottom-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-bottom-links a { font-size: 13px; }

/* Back to top */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--main-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(16,76,186,.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .25s ease;
	z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; background: var(--main-color-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
	.hero-inner, .about-inner { grid-template-columns: 1fr; }
	.card-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.card-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-badge { position: static; margin-top: -40px; max-width: none; }
	h1 { font-size: 36px; }
}

@media (max-width: 767px) {
	.topbar-inner { justify-content: center; text-align: center; }
	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border-color);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}
	.main-nav.open { max-height: 400px; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
	.main-nav li { border-top: 1px solid var(--border-color); }
	.main-nav a { display: block; padding: 14px 0; }
	.nav-toggle { display: flex; }

	.card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
	.data-protection-inner { grid-template-columns: 1fr; text-align: center; }
	.data-protection-shape { margin: 0 auto; width: 100px; }
	.footer-grid { grid-template-columns: 1fr; }
	.section { padding: 56px 0; }
	h1 { font-size: 30px; }
	h2 { font-size: 26px; }
}
