/**
 * C.P. Rawat Softwares — global theme + homepage redesign
 * Palette: Primary #1A3C5E, Accent #00B4D8, BG #F8FAFC, Text #1E293B
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700&display=swap');

html {
	scroll-behavior: smooth;
}

body.cp-body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: #1E293B;
	background-color: #F8FAFC;
}
body.cp-body a {
	transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.cp-body h1, body.cp-body h2, body.cp-body h3, body.cp-body .cp-font-display {
	font-family: 'Poppins', 'Inter', sans-serif;
}

/* ——— Sticky navbar ——— */
.cp-nav-wrap.navbar-fixed {
	z-index: 9999 !important;
}
.cp-nav-wrap nav.cp-nav-main {
	background-color: #fff !important;
	box-shadow: 0 1px 0 rgba(30, 41, 59, 0.08);
	transition: box-shadow 0.3s ease, background 0.3s ease;
	min-height: 64px;
	line-height: normal;
	height: auto;
}
.cp-nav-wrap nav.cp-nav-main.cp-nav--scrolled {
	box-shadow: 0 4px 24px rgba(26, 60, 94, 0.12);
}
.cp-nav-wrap .nav-wrapper.cp-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0 16px 0 12px;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	height: 64px;
}
.cp-nav-wrap .cp-nav-brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}
.cp-nav-wrap .cp-nav-brand .brand-logo {
	position: relative !important;
	transform: none !important;
	left: auto !important;
	height: 64px;
	display: flex;
	align-items: center;
}
.cp-nav-wrap .cp-nav-brand .brand-logo-img {
	margin-top: 0 !important;
	height: 44px !important;
	max-height: 44px;
	width: auto !important;
	max-width: 200px;
}
.cp-nav-links {
	display: flex;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	justify-content: flex-end;
	gap: 0;
	float: none !important;
	margin-left: auto;
	align-self: stretch;
	min-height: 64px;
}
.cp-nav-wrap .cp-nav-links > li {
	display: flex;
	align-items: center;
	align-self: stretch;
	min-height: 64px;
}
.cp-nav-links > li > a {
	color: #1E293B !important;
	font-weight: 500;
	font-size: 14px;
	padding: 0 12px !important;
	height: 64px;
	line-height: 64px !important;
	display: inline-flex;
	align-items: center;
	transition: color 0.3s ease, background 0.3s ease;
}
.cp-nav-links > li > a:hover {
	color: #00B4D8 !important;
	background-color: rgba(0, 180, 216, 0.06) !important;
}
.cp-nav-links > li > a i.material-icons {
	height: auto !important;
	line-height: 1 !important;
	font-size: 18px;
}
.cp-nav-cta {
	margin-left: 8px;
}
.cp-nav-cta a.cp-btn-quote {
	background: linear-gradient(135deg, #00B4D8 0%, #0096c7 100%) !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding: 0 18px !important;
	min-height: 40px;
	height: 40px !important;
	line-height: 1 !important;
	border-radius: 8px !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.cp-nav-cta a.cp-btn-quote:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 180, 216, 0.45);
	color: #fff !important;
}
/* Dropdown */
.cp-nav-wrap .dropdown-content {
	margin-top: 64px !important;
	min-width: 260px !important;
	width: auto !important;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(26, 60, 94, 0.15) !important;
	overflow: hidden;
	padding: 8px 0 !important;
}
.cp-nav-wrap .dropdown-content li > a {
	color: #1E293B !important;
	font-size: 14px;
	padding: 10px 20px !important;
	transition: all 0.3s ease !important;
}
.cp-nav-wrap .dropdown-content li > a:hover {
	background: rgba(0, 180, 216, 0.08) !important;
	color: #1A3C5E !important;
	border-left: 3px solid #00B4D8 !important;
}
/* Mobile side nav */
.cp-side-nav-header {
	padding: 16px;
	text-align: center;
	border-bottom: 1px solid #e2e8f0;
}
.cp-side-nav-header img {
	max-height: 48px;
	width: auto;
}
.cp-side-nav .collapsible-header {
	padding-left: 24px !important;
	color: #1E293B;
	font-weight: 600;
}
.cp-side-nav .collapsible-body { padding: 0 !important; }
.cp-side-nav .collapsible-body ul li a {
	padding-left: 40px !important;
	color: #475569 !important;
	font-size: 14px;
}
.cp-side-nav > li > a {
	color: #1E293B !important;
	font-weight: 500;
}
.cp-side-nav-cta {
	padding: 16px;
}
.cp-side-nav-cta a {
	display: block;
	text-align: center;
	background: linear-gradient(135deg, #00B4D8, #0096c7);
	color: #fff !important;
	padding: 12px;
	border-radius: 8px;
	font-weight: 600;
}
.button-collapse {
	margin: 0 8px;
}

/* ——— Homepage ——— */
.cp-home-main {
	min-height: auto !important;
	padding-top: 0;
}
/* Hero */
.cp-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #0f2744 0%, #1A3C5E 42%, #0d3d4d 78%, #0a2f3c 100%);
	min-height: 520px;
	display: flex;
	align-items: center;
	padding: 72px 0 80px;
	margin-top: 0;
}
.cp-hero-particles {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.15) 0%, transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.12) 0%, transparent 40%);
	pointer-events: none;
	animation: cp-hero-shift 12s ease-in-out infinite alternate;
}
@keyframes cp-hero-shift {
	0% { opacity: 0.85; transform: scale(1); }
	100% { opacity: 1; transform: scale(1.03); }
}
.cp-hero-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	opacity: 0.5;
	pointer-events: none;
}
.cp-hero .container { position: relative; z-index: 2; }
.cp-hero-tagline {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #67e8f9;
	margin: 0 0 12px;
}
.cp-hero h1 {
	color: #fff;
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 16px;
	max-width: 720px;
}
.cp-hero h1 .cp-hero-keywords {
	display: block;
	font-size: clamp(0.95rem, 2vw, 1.15rem);
	font-weight: 600;
	color: #bae6fd;
	margin-top: 12px;
	line-height: 1.5;
}
.cp-hero-sub {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.6;
	max-width: 640px;
	margin: 0 0 28px;
}
.cp-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.cp-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	background: #00B4D8;
	color: #fff !important;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none !important;
	box-shadow: 0 8px 28px rgba(0, 180, 216, 0.35);
	transition: all 0.3s ease;
	border: 2px solid transparent;
}
.cp-btn-primary:hover {
	background: #0096c7;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 180, 216, 0.45);
	color: #fff !important;
}
.cp-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	background: transparent;
	color: #fff !important;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none !important;
	border: 2px solid rgba(255, 255, 255, 0.55);
	transition: all 0.3s ease;
}
.cp-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff !important;
}
.cp-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}
.cp-hero-svg-float {
	width: 100%;
	max-width: 380px;
	animation: cp-float 5s ease-in-out infinite;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}
@keyframes cp-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* Stats */
.cp-stats {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 36px 0;
}
.cp-stats .row { margin-bottom: 0; }
.cp-stats-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 28px 36px;
}
.cp-stat {
	text-align: center;
	padding: 12px 8px;
	flex: 1 1 140px;
	max-width: 200px;
	min-width: 120px;
}
.cp-stat-icon {
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 8px;
}
.cp-stat-num {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #1A3C5E;
	line-height: 1.2;
}
.cp-stat-label {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
	margin-top: 4px;
}

/* Section shells */
.cp-section {
	padding: 72px 0;
}
.cp-section--alt {
	background: #F8FAFC;
}
.cp-section-title {
	text-align: center;
	font-size: clamp(1.65rem, 3vw, 2.1rem);
	font-weight: 700;
	color: #1A3C5E;
	margin: 0 0 12px;
}
.cp-section-lead {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
	color: #475569;
	font-size: 1.05rem;
	line-height: 1.65;
}

/* Service cards */
.cp-svc-card {
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px;
	height: 100%;
	box-shadow: 0 4px 24px rgba(26, 60, 94, 0.08);
	border-top: 3px solid transparent;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}
.cp-svc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(26, 60, 94, 0.12);
	border-top-color: #00B4D8;
}
.cp-svc-emoji {
	font-size: 2.25rem;
	line-height: 1;
	margin-bottom: 14px;
}
.cp-svc-card h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #1A3C5E;
	margin: 0 0 12px;
	line-height: 1.35;
}
.cp-svc-card p {
	flex: 1;
	margin: 0 0 16px;
	font-size: 0.95rem;
	color: #475569;
	line-height: 1.6;
}
.cp-svc-card .cp-svc-more {
	font-weight: 600;
	color: #00B4D8 !important;
	text-decoration: none !important;
	transition: color 0.3s ease;
}
.cp-svc-card .cp-svc-more:hover {
	color: #1A3C5E !important;
}

/* How we work */
.cp-process {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0;
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}
.cp-process-step {
	flex: 1 1 200px;
	max-width: 260px;
	text-align: center;
	padding: 20px 16px;
	position: relative;
}
.cp-process-step::after {
	content: '';
	position: absolute;
	top: 36px;
	right: -20px;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, #00B4D8, rgba(0,180,216,0.2));
	display: none;
}
@media (min-width: 993px) {
	.cp-process-step:not(:last-child)::after {
		display: block;
	}
}
.cp-process-icon {
	font-size: 2rem;
	margin-bottom: 10px;
}
.cp-process-step h3 {
	font-size: 1.1rem;
	color: #1A3C5E;
	margin: 0 0 8px;
}
.cp-process-step p {
	margin: 0;
	font-size: 0.92rem;
	color: #64748b;
	line-height: 1.55;
}

/* Products */
.cp-products-section {
	background: linear-gradient(180deg, #1A3C5E 0%, #152d49 100%);
	padding: 72px 0;
}
.cp-products-section .cp-section-title,
.cp-products-section .cp-section-lead {
	color: #fff;
}
.cp-products-section .cp-section-lead {
	color: rgba(255, 255, 255, 0.85);
}
.cp-product-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px 20px;
	height: 100%;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.cp-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.cp-product-card .cp-prod-emoji {
	font-size: 2rem;
	margin-bottom: 10px;
}
.cp-product-card h3 {
	font-size: 1.05rem;
	color: #1A3C5E;
	margin: 0 0 8px;
	font-weight: 600;
}
.cp-product-card p {
	font-size: 0.88rem;
	color: #64748b;
	margin: 0 0 16px;
	line-height: 1.5;
	min-height: 2.6em;
}
.cp-product-card .cp-btn-product {
	display: inline-block;
	padding: 8px 18px;
	background: #1A3C5E;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none !important;
	transition: all 0.3s ease;
}
.cp-product-card .cp-btn-product:hover {
	background: #00B4D8;
	color: #fff !important;
}

/* Testimonials */
.cp-testimonials {
	padding-bottom: 72px;
}
/* Owl: equal-height columns (overrides default float layout) */
.cp-testimonials-carousel.owl-carousel .owl-stage {
	display: flex;
	align-items: stretch;
}
.cp-testimonials-carousel.owl-carousel .owl-item {
	display: flex;
	float: none;
	min-height: 100%;
}
.cp-testimonials-carousel.owl-carousel .owl-item > .item {
	display: flex;
	width: 100%;
	height: 100%;
	padding: 4px 6px;
	box-sizing: border-box;
}
.cp-testimonial-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px 22px 22px;
	width: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 24px rgba(26, 60, 94, 0.08);
	border: 1px solid #e2e8f0;
	transition: box-shadow 0.35s ease, transform 0.35s ease;
	box-sizing: border-box;
}
.cp-testimonial-card:hover {
	box-shadow: 0 12px 36px rgba(26, 60, 94, 0.1);
}
/* Full-bleed photo background + brand overlay */
.cp-testimonial-card--bg {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background-color: #1A3C5E;
	box-shadow: 0 10px 40px rgba(15, 40, 68, 0.35);
}
.cp-testimonial-card--bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #1A3C5E;
	background-image:
		linear-gradient(165deg, rgba(26, 60, 94, 0.93) 0%, rgba(15, 35, 58, 0.72) 38%, rgba(0, 100, 130, 0.55) 100%),
		var(--cp-testimonial-bg, none);
	background-size: cover;
	background-position: center;
	transition: transform 0.55s ease, filter 0.35s ease;
	will-change: transform;
}
.cp-testimonial-card--bg:hover {
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
	transform: translateY(-2px);
}
.cp-testimonial-card--bg:hover::before {
	transform: scale(1.08);
	filter: brightness(1.05);
}
.cp-testimonial-card-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 100%;
	width: 100%;
	padding: 24px 22px 22px;
	box-sizing: border-box;
}
.cp-testimonial-card .cp-quote {
	color: #00B4D8;
	font-size: 1.75rem;
	line-height: 1;
	margin-bottom: 8px;
	opacity: 0.7;
	flex-shrink: 0;
}
.cp-testimonial-card--bg .cp-quote {
	color: #7dd3fc;
	opacity: 1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.cp-stars {
	color: #f59e0b;
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 12px;
	flex-shrink: 0;
	line-height: 1.2;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.cp-testimonial-text {
	font-size: 0.95rem;
	color: #334155;
	line-height: 1.65;
	margin: 0 0 20px;
	font-style: italic;
	flex: 1 1 auto;
	min-height: 5.5em;
}
.cp-testimonial-card--bg .cp-testimonial-text {
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.cp-testimonial-footer {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	flex-shrink: 0;
}
.cp-testimonial-card--bg .cp-testimonial-footer {
	border-top-color: rgba(255, 255, 255, 0.22);
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 100%);
	margin-left: -22px;
	margin-right: -22px;
	margin-bottom: -22px;
	padding-left: 22px;
	padding-right: 22px;
	padding-bottom: 20px;
	border-radius: 0 0 14px 14px;
}
.cp-testimonial-avatar-wrap {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #e2e8f0;
	background: linear-gradient(135deg, #e0f2fe, #bae6fd);
	box-shadow: 0 2px 8px rgba(26, 60, 94, 0.08);
}
.cp-testimonial-card--bg .cp-testimonial-avatar-wrap {
	border-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.cp-testimonial-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	vertical-align: top;
}
.cp-testimonial-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
}
.cp-testimonial-name {
	font-weight: 600;
	color: #1A3C5E;
	font-size: 0.95rem;
	margin: 0;
	line-height: 1.35;
}
.cp-testimonial-card--bg .cp-testimonial-name {
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.cp-testimonial-role {
	font-size: 0.8rem;
	color: #64748b;
	margin: 4px 0 0;
	line-height: 1.4;
}
.cp-testimonial-card--bg .cp-testimonial-role {
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Testimonials carousel: 1 slide mobile, 3 desktop */
.cp-testimonials-carousel-wrap {
	padding: 0 12px;
	max-width: 1140px;
	margin: 0 auto;
}
.cp-testimonials-carousel-wrap .owl-nav button.owl-prev,
.cp-testimonials-carousel-wrap .owl-nav button.owl-next {
	background: #fff !important;
	width: 40px;
	height: 40px;
	border-radius: 50% !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.1);
	margin-top: 8px;
}
.cp-testimonials-carousel-wrap .owl-dots { margin-top: 20px; }

@media (max-width: 992px) {
	.cp-testimonials-carousel.owl-carousel .owl-stage {
		align-items: flex-start;
	}
	.cp-testimonial-text {
		min-height: 0;
	}
}

/* CTA banner */
.cp-cta-banner {
	background: linear-gradient(120deg, #00B4D8 0%, #1A3C5E 55%, #0e7490 100%);
	padding: 56px 24px;
	text-align: center;
	color: #fff;
}
.cp-cta-banner h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 12px;
	color: #fff;
}
.cp-cta-banner p {
	margin: 0 auto 24px;
	max-width: 520px;
	opacity: 0.95;
	font-size: 1.05rem;
}
.cp-cta-banner .cp-btn-light {
	display: inline-block;
	padding: 14px 32px;
	background: #fff;
	color: #1A3C5E !important;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none !important;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}
.cp-cta-banner .cp-btn-light:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
	color: #0f172a !important;
}

@media (max-width: 992px) {
	.cp-hero { padding: 56px 0 48px; min-height: auto; }
	.cp-hero-visual { margin-top: 32px; min-height: 200px; }
	.cp-nav-links { display: none; }
	.cp-nav-cta { display: none; }
}
